/* =====================================================================
   GTE Electrical Service — foglio di stile
   Palette e tipografia da Brand Guideline 1.0
   ===================================================================== */

@font-face { font-family: 'Montserrat'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  /* Brand */
  --orange: #F17B0A;
  --orange-hover: #FF8C1F;
  --black: #0A0A0A;
  --graphite: #382F29;
  --white: #FAFAFA;
  --grey: #A9A19A;
  /* Derivati: superfici più scure della base, mai più chiare */
  --deep: #050505;
  --surface: #111111;
  --surface-2: #181818;
  --line: rgba(250, 250, 250, 0.08);
  --line-strong: rgba(250, 250, 250, 0.14);
  --text: #FAFAFA;
  --text-2: #B8B8B8;
  --text-3: #8C8C8C;
  /* Stati funzionali */
  --error: #FF7A66;
  --success: #6CCB94;

  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: 20px;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--black); }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--orange); color: var(--black); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.narrow-form { max-width: 960px; }

/* ------------------------------------------------------------- Tipografia */
.h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6em; }
.h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5em; }
.lead { font-size: 1.02rem; line-height: 1.65; color: var(--text-2); }
.small { font-size: .875rem; }
.muted { color: var(--text-3); }
.accent { color: var(--orange); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 1rem;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); }
.eyebrow:has(.live-dot)::before { display: none; }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; display: inline-block; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ------------------------------------------------------------- Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 46px; padding: .7em 1.3em;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--orange); color: var(--black); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--lg { min-height: 50px; padding: .8em 1.4em; font-size: .92rem; }
.btn--sm { min-height: 38px; padding: .45em .9em; font-size: .82rem; }
.btn--block { display: flex; width: 100%; }
.btn:active { transform: translateY(1px); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--orange); font-size: .95rem; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------- Topbar + Header */
.topbar { background: #050505; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--text-2); }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .55em; }
.topbar__item strong { color: var(--white); font-weight: 600; }
.topbar__zones { color: var(--text-3); }
.topbar__phone { margin-left: auto; display: inline-flex; align-items: center; gap: .45em; color: var(--orange); font-weight: 600; letter-spacing: .02em; }
.topbar__phone:hover { color: var(--orange-hover); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 10, 10, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 80px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3em;
  padding: 10px 12px; border-radius: var(--radius);
  font-size: .92rem; font-weight: 500; color: var(--text-2);
  transition: color .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link.is-active { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav__link .icon { opacity: .6; }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  padding: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__sub a { display: block; padding: 9px 12px; border-radius: var(--radius); font-size: .9rem; color: var(--text-2); }
.nav__sub a:hover { background: rgba(250,250,250,.05); color: var(--white); }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.btn--call { min-height: 46px; }
.btn--call__label small { font-size: .7rem; font-weight: 800; padding: 2px 5px; margin-right: 4px; border-radius: 2px; background: var(--black); color: var(--orange); letter-spacing: .06em; vertical-align: 1px; }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ------------------------------------------------------------- Sezioni */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--graphite { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--line { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h2 { margin-bottom: .4em; }
.section-head__lead { color: var(--text-2); font-size: 1.08rem; margin: 0; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .h2 { margin: 0; }

/* ------------------------------------------------------------- Hero home */
.hero { position: relative; isolation: isolate; min-height: min(calc(100svh - var(--header-h)), 680px); display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.9) 34%, rgba(10,10,10,.45) 62%, rgba(10,10,10,.1) 100%),
    linear-gradient(0deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,0) 30%);
}
.hero__content { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero__title { max-width: 20ch; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: .6em; }
.hero__lead { max-width: 520px; font-size: 1rem; color: var(--text-2); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(40px, 6vw, 72px); }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 28px; }
.hero__facts li { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.hero__facts strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.hero__facts span { font-size: .85rem; color: var(--text-2); line-height: 1.4; display: block; }

/* ------------------------------------------------------------- Banda emergenza */
.emergency { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.emergency__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); align-items: center; }
.emergency__head .h2 { margin-bottom: .5em; }
.emergency__head p:not(.eyebrow) { color: var(--text-2); margin-bottom: 1.6rem; }
.emergency__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.emergency__list li { display: flex; gap: 14px; padding: 20px; background: var(--surface); }
.emergency__mark { flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--orange); }
.emergency__list strong { display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 2px; }
.emergency__list span { font-size: .9rem; color: var(--text-3); line-height: 1.5; }

/* ------------------------------------------------------------- Schede servizio */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-grid--full { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s var(--ease); }
.service-card:hover { border-color: rgba(241, 123, 10, .5); }
.service-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.03); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.service-card__title { font-size: 1.15rem; margin-bottom: .5em; }
.service-card__title a:hover { color: var(--orange); }
.service-card__text { color: var(--text-3); font-size: .92rem; line-height: 1.55; }
.service-card__actions { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.service-card--cta { justify-content: flex-end; gap: 10px; padding: 26px; background: var(--surface); border-color: rgba(241, 123, 10, .35); min-height: 300px; }
.service-card--cta .eyebrow { margin-bottom: auto; }
.service-card--cta__title { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; line-height: 1.15; }
.service-card--cta__text { color: var(--text-2); font-size: .92rem; margin-bottom: 8px; }

.ticks { display: grid; gap: 10px; margin: 0 0 1.5rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { flex: none; margin-top: 4px; color: var(--orange); }
.ticks--compact { gap: 6px; margin-bottom: 1rem; font-size: .9rem; color: var(--text-2); }
.ticks--compact .icon { margin-top: 3px; }
.ticks--grid { grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-bottom: 3rem; }

/* ------------------------------------------------------------- Split / modello */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; }
.split__media picture, .split__media img { width: 100%; height: 100%; }
.split__media img { object-fit: cover; object-position: 32% 50%; }
.split--reverse .split__media { order: 2; }
.split__content .h2 { margin-bottom: .6em; }
.split__content > p { color: var(--text-2); }

.steps { display: grid; gap: 0; margin: 28px 0 28px; border-top: 1px solid var(--line-strong); }
.steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps__n { flex: none; font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: .95rem; padding-top: 1px; min-width: 28px; }
.steps strong { display: block; font-family: var(--font-head); }
.steps span:not(.steps__n) { color: var(--text-3); font-size: .93rem; }

/* ------------------------------------------------------------- Audience / valori */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.audience li { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.audience li:last-child { border-right: 0; margin-right: 0; }
.audience__n { display: block; font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: .85rem; margin-bottom: 18px; }
.audience strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; }
.audience p { color: var(--text-3); font-size: .93rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.values li { background: var(--surface); padding: 30px 28px; }
.values__n { display: block; font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: .85rem; margin-bottom: 14px; }
.values strong { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 8px; }
.values p { color: var(--text-2); font-size: .93rem; margin: 0; }

/* ------------------------------------------------------------- Zone */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zone-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; min-height: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s var(--ease); }
.zone-card:hover { border-color: rgba(241, 123, 10, .5); }
.zone-card__sigla { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(241, 123, 10, .7); margin-bottom: auto; }
.zone-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-top: 18px; }
.zone-card__areas { color: var(--text-3); font-size: .88rem; margin-bottom: 8px; }

/* ------------------------------------------------------------- Join / band */
.section--join { background: var(--surface); border-top: 1px solid var(--line); }
.join, .band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.join > div, .band > div { max-width: 680px; }
.join .h2, .band .h2 { margin-bottom: .4em; }
.join p:not(.eyebrow), .band p:not(.eyebrow) { color: var(--text-2); margin: 0; }

/* ------------------------------------------------------------- Page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--deep); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.page-hero--img::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.9) 45%, rgba(10,10,10,.55) 100%); }
.page-hero__content { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero__title { max-width: 24ch; font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: .5em; }
.page-hero__lead { max-width: 600px; color: var(--text-2); font-size: 1rem; margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.page-hero--contact { background: var(--surface); }
.page-hero--emergency::before { background: linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.88) 50%, rgba(10,10,10,.5) 100%); }

.crumbs { margin-bottom: 28px; font-size: .82rem; color: var(--text-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: var(--text-2); }

.call-xl { display: inline-flex; align-items: center; gap: 18px; margin-top: 2rem; padding: 16px 28px 16px 16px; background: var(--orange); color: var(--black); border-radius: var(--radius); transition: background-color .2s; }
.call-xl:hover { background: var(--orange-hover); }
.call-xl__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--black); color: var(--orange); }
.call-xl small { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.call-xl strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: .01em; line-height: 1.1; }

/* ------------------------------------------------------------- Dettaglio servizio */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 72px); align-items: start; }
.detail__main > .lead { margin-bottom: 2.5rem; }
.points { display: grid; gap: 0; margin-bottom: 2.5rem; border-top: 1px solid var(--line-strong); }
.points li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.points__n { flex: none; font-family: var(--font-head); font-weight: 800; color: var(--orange); min-width: 30px; }
.points strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.points p { color: var(--text-3); margin: 0; font-size: .95rem; }

.notice { display: flex; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius); font-size: .92rem; color: var(--text-2); }
.notice .icon { flex: none; color: var(--orange); margin-top: 2px; }
.notice p { margin: 0; }

.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.aside-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: .4em; }
.aside-card > p { color: var(--text-3); font-size: .93rem; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-card__sep { height: 1px; background: var(--line); margin: 22px 0; }
.aside-card__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.aside-card__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--orange); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: .84rem; color: var(--text-2); }
.tags a:hover { color: var(--orange); }

.subservices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 2.5rem; }
.subservice { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.subservice .h3 { font-size: 1.2rem; }
.subservice > p { color: var(--text-2); font-size: .94rem; }
.subservice .link-arrow { margin-top: auto; }

.mini-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mini-links li { background: var(--black); }
.mini-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; transition: color .2s, background-color .2s; }
.mini-links a .icon { color: var(--orange); flex: none; transition: transform .2s var(--ease); }
.mini-links a:hover { background: var(--surface); color: var(--orange); }
.mini-links a:hover .icon { transform: translateX(4px); }
.mini-links--stack { grid-template-columns: 1fr; margin-top: 24px; }

/* ------------------------------------------------------------- Pronto intervento */
.emergency-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.emergency-grid li { background: var(--black); padding: 26px 24px; }
.emergency-grid .icon { color: var(--orange); margin-bottom: 16px; }
.emergency-grid strong { display: block; font-family: var(--font-head); font-size: 1.08rem; margin-bottom: 6px; }
.emergency-grid p { color: var(--text-3); font-size: .92rem; margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.two-col--wide { grid-template-columns: 7fr 5fr; }
.two-col .h2 { margin-bottom: .6em; }
.two-col p { color: var(--text-2); }
.safety { padding: 30px; background: var(--black); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius-lg); }
.safety__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--white) !important; }
.safety__title .icon { color: var(--orange); }
.safety ul { display: grid; gap: 12px; }
.safety li { position: relative; padding-left: 20px; color: var(--text-2); font-size: .95rem; }
.safety li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--orange); }

.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; color: var(--orange); transition: transform .2s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--orange); }
.faq__item p { color: var(--text-2); padding-bottom: 22px; margin: 0; max-width: 70ch; }
.other-zones { margin-top: 32px; color: var(--text-3); }
.other-zones a { color: var(--orange); font-weight: 600; }

/* ------------------------------------------------------------- Zona */
.context-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.context-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--orange); border-radius: var(--radius-lg); }
.context-card p { color: var(--text-2); font-size: .95rem; margin: 0; }
.areas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.areas__label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--text-2); }
.areas__label .icon { color: var(--orange); }

/* ------------------------------------------------------------- Chi siamo */
.brand-box { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius-lg); }
.brand-box__label { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange) !important; }
.brand-box p { font-size: .95rem; }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 24px; border-top: 1px solid var(--line-strong); }
.roles li { padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.roles li::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--orange); }
.why { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.why__list { display: grid; gap: 20px; }
.why__list strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.why__list p { color: var(--text-3); font-size: .93rem; margin: 0; }

/* ------------------------------------------------------------- Contatti */
.contact { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__info { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-card--primary { background: var(--surface); border-color: rgba(241, 123, 10, .35); }
.contact-card--muted { background: transparent; }
.contact-card__label { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.contact-card--primary .contact-card__label { color: var(--orange); }
.contact-card__phone { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.3rem); line-height: 1.1; margin-bottom: 18px; letter-spacing: .01em; }
.contact-card__phone:hover { color: var(--orange); }
.contact-card .small { color: var(--text-3); margin: 14px 0 0; }
.contact-card__link { font-weight: 600; color: var(--orange); word-break: break-all; }
.contact-zones { display: grid; gap: 4px; }
.contact-zones a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--text-2); }
.contact-zones a:hover { color: var(--orange); }
.contact-zones__sigla { display: grid; place-items: center; width: 36px; height: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--orange); }

.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: -1px; position: relative; z-index: 1; }
.form-tabs__tab { padding: 16px 18px; background: transparent; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--text-3); cursor: pointer; transition: color .2s, background-color .2s; }
.form-tabs__tab[aria-selected="true"] { background: var(--surface); color: var(--white); box-shadow: inset 0 3px 0 var(--orange); }
.form-tabs__tab:hover { color: var(--white); }
.form-tabs:not([hidden]) + .form { border-top-left-radius: 0; border-top-right-radius: 0; }
.form-tabs:not([hidden]) + .form [data-form-title] { display: none; }

/* ------------------------------------------------------------- Form */
.form { padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form--dark { background: var(--black); }
.form__head { margin-bottom: 24px; }
.form__head .h3 { margin-bottom: .2em; }
.form__section { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.form__section legend { padding: 0 0 14px; margin-bottom: 18px; width: 100%; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .88rem; font-weight: 600; color: var(--text-2); }
.req { color: var(--orange); }
.opt { font-weight: 400; color: var(--text-3); }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--surface-2); border: 1px solid #363636; border-radius: var(--radius);
  color: var(--white); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.form--dark .field input[type="text"], .form--dark .field input[type="email"], .form--dark .field input[type="tel"], .form--dark .field select, .form--dark .field textarea { background: var(--surface); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E6E; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #555555; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241, 123, 10, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .file, .field.has-error .chips { border-color: var(--error); }
.field__error { margin: 0; font-size: .85rem; color: var(--error); font-weight: 500; }
.field__hint { margin: 0; font-size: .8rem; color: var(--text-3); }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); pointer-events: none; }
.select option { background: var(--surface-2); color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid transparent; border-radius: var(--radius); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid #363636; border-radius: 100px; font-size: .9rem; color: var(--text-2); transition: all .15s; user-select: none; }
.chip:hover span { border-color: #555555; color: var(--white); }
.chip input:checked + span { background: rgba(241, 123, 10, .14); border-color: var(--orange); color: var(--white); }
.chip input:checked + span::before { content: ''; width: 6px; height: 10px; margin-right: 8px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg) translateY(-2px); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.file { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px dashed #444444; border-radius: var(--radius-lg); background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s; }
.file:hover, .file.is-drag { border-color: var(--orange); background: rgba(241, 123, 10, .05); }
.file .icon { flex: none; color: var(--orange); }
.file__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file__text strong { font-size: .95rem; color: var(--white); }
.file__text span { font-size: .85rem; color: var(--text-3); font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.file.has-file { border-style: solid; border-color: rgba(108, 203, 148, .6); }
.file.has-file [data-file-label] { color: var(--success); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; font-weight: 400 !important; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); cursor: pointer; }
.check a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin-top: 24px; padding: 16px 18px; border-radius: var(--radius); font-size: .95rem; border: 1px solid; }
.form__status.is-ok { border-color: rgba(108, 203, 148, .5); background: rgba(108, 203, 148, .08); color: #CFF0DC; }
.form__status.is-ko { border-color: rgba(255, 122, 102, .5); background: rgba(255, 122, 102, .08); color: #FFD9D2; }
.form__footer { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.form__footer .small { margin: 0; color: var(--text-3); }
.form__footer .small a { color: var(--orange); font-weight: 600; }

.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(10, 10, 10, .3); border-top-color: var(--black); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form.is-sent .form__grid, .form.is-sent .form__section, .form.is-sent .form__footer, .form.is-sent > .small { display: none; }
.form.is-sent .form__status { margin-top: 0; padding: 28px; font-size: 1.05rem; }

/* ------------------------------------------------------------- Esito */
.result { text-align: center; }
.result__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 24px; border: 2px solid; }
.result--ok .result__icon { color: var(--success); }
.result--ko .result__icon { color: var(--error); }
.result .h2 { margin-bottom: .5em; }
.result .lead { color: var(--text-2); }
.result__errors { display: inline-grid; gap: 6px; text-align: left; margin-bottom: 20px; color: var(--error); }
.result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0; }
.result .small a { color: var(--orange); }

/* ------------------------------------------------------------- Prose (legali) */
.prose { max-width: 800px; color: var(--text-2); }
.prose h2 { font-size: 1.35rem; color: var(--white); margin: 2.4em 0 .7em; }
.prose h2:first-of-type { margin-top: 1em; }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--orange); }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--white); }
.legal-box { padding: 20px 24px; margin: 0 0 1.4em; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius); }
.legal-box p { margin: 0 0 .35em; }
.legal-box p:last-child { margin: 0; }
mark.todo { background: rgba(241, 123, 10, .16); color: var(--orange); padding: 1px 6px; border-radius: 2px; font-weight: 600; font-size: .9em; }

/* ------------------------------------------------------------- Footer */
.site-footer { background: var(--black); border-top: 1px solid var(--line); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.footer-cta__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; margin: 0; max-width: 20ch; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: 190px; }
.footer-brand p { color: var(--text-3); font-size: .92rem; max-width: 340px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: var(--text-2); background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.14); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--orange); border-color: rgba(241,123,10,.55); background: rgba(241,123,10,.08); transform: translateY(-1px); }
.footer-social svg { display: block; }
.footer-col__title { font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; color: var(--white); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-3); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-contacts li { display: grid; gap: 4px; }
.footer-contacts a, .footer-zones { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .92rem; }
.footer-contacts .icon { color: var(--orange); flex: none; }
.footer-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem !important; color: var(--white) !important; }
.footer-contacts span:not(.footer-zones) { font-size: .8rem; color: var(--text-3); padding-left: 28px; }
.footer-legal { border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: .82rem; color: var(--text-3); }
.footer-legal__note { max-width: 980px; line-height: 1.6; }
.footer-legal__note strong { color: var(--text-2); }
.footer-legal__note a { color: var(--orange); }
.footer-legal__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.footer-legal__bottom p { margin: 0; }
.footer-legal__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal__bottom a:hover { color: var(--orange); }

/* ------------------------------------------------------------- Barra mobile */
.mobile-bar { display: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1240px) {
  .nav__link { padding: 10px 9px; font-size: .88rem; }
  .btn--call__label small { display: none; }
}

@media (max-width: 1140px) {
  :root { --header-h: 76px; }
  .brand img { height: 66px; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
    background: var(--black); padding: 12px var(--gutter) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { display: flex; justify-content: space-between; padding: 18px 0; font-size: 1.1rem; font-family: var(--font-head); font-weight: 600; color: var(--white); }
  .nav__link.is-active { box-shadow: none; color: var(--orange); }
  .nav__link .icon { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; border: 0; padding: 0 0 14px; min-width: 0; }
  .nav__sub a { padding: 8px 0 8px 14px; border-left: 1px solid var(--line-strong); border-radius: 0; font-size: .95rem; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
  .contact { grid-template-columns: 1fr; }
  .contact { gap: 16px; }
  .contact__info { display: contents; }
  .contact__info .contact-card--primary { order: 0; }
  .contact__form { order: 1; margin: 12px 0; }
  .contact__info .contact-card:not(.contact-card--primary) { order: 2; }
  .mini-links { grid-template-columns: repeat(2, 1fr); }
  .emergency-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar__zones { display: none; }
  .emergency__inner, .split, .two-col, .two-col--wide { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; }
  .service-grid--full, .zones, .context-grid, .values { grid-template-columns: 1fr 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
  .audience li:nth-child(2) { border-right: 0; margin-right: 0; }
  .audience li { border-bottom: 1px solid var(--line); }
  .subservices { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; --header-h: 68px; }
  body { padding-bottom: 68px; }
  .topbar { display: none; }
  .brand img { height: 58px; }
  .btn--call { width: 46px; padding: 0; }
  .btn--call__label { display: none; }
  .hero { min-height: 0; align-items: flex-end; }
  .hero__bg img { object-position: 60% 20%; }
  .hero::before { background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,.93) 50%, rgba(10,10,10,.55) 100%); }
  .hero__content { padding-top: 120px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero__facts strong { font-size: 1.5rem; }
  .hero__facts span { font-size: .76rem; }
  .emergency__list, .service-grid, .service-grid--full, .zones, .context-grid, .values, .audience, .emergency-grid, .mini-links, .ticks--grid, .roles, .form__grid, .footer-grid { grid-template-columns: 1fr; }
  .audience li { border-right: 0; margin-right: 0; padding-right: 0; }
  .page-hero__actions .btn, .footer-cta__actions .btn, .join .btn, .band .btn { width: 100%; }
  .call-xl { width: 100%; padding-right: 16px; }
  .call-xl__icon { width: 52px; height: 52px; }
  .form-tabs__tab { font-size: .85rem; padding: 14px 10px; }
  .form__footer .btn { width: 100%; }
  .section-head--row { align-items: flex-start; }

  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, .97); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
  .mobile-bar__call { background: var(--orange); color: var(--black); }
  .mobile-bar__quote { border: 1px solid var(--line-strong); color: var(--white); }
}

/* =====================================================================
   v2 — impaginazione essenziale: meno riquadri, gerarchia più calma
   ===================================================================== */
.hero__note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .85rem; color: var(--text-2); }
.hero__actions { margin-bottom: 28px; }

/* Servizi in home: immagine + lista */
.svc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__intro .h2 { margin-bottom: .5em; }
.svc__img { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 44px 1fr 20px; gap: 16px; align-items: center; padding: 20px 4px; transition: background-color .2s var(--ease); }
.svc-list__n { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--text-3); }
.svc-list__body strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin-bottom: 2px; transition: color .2s; }
.svc-list__body span { display: block; font-size: .87rem; color: var(--text-3); line-height: 1.5; }
.svc-list .icon { color: var(--text-3); transition: transform .2s var(--ease), color .2s; }
.svc-list a:hover strong, .svc-list a:hover .icon { color: var(--orange); }
.svc-list a:hover .icon { transform: translateX(4px); }
.svc-list a.is-h24 .svc-list__n { color: var(--orange); }

/* Province in linea */
.zone-line { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.zone-line li + li { border-left: 1px solid var(--line); }
.zone-line a { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 24px 0; height: 100%; }
.zone-line li + li a { padding-left: 24px; }
.zone-line__sigla { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--orange); margin-bottom: 6px; }
.zone-line strong { font-family: var(--font-head); font-weight: 600; font-size: 1rem; transition: color .2s; }
.zone-line span:last-child { font-size: .85rem; color: var(--text-3); }
.zone-line a:hover strong { color: var(--orange); }
.join-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.join-line p { margin: 0; color: var(--text-2); }
.join-line strong { color: var(--white); font-weight: 600; }

/* Split più compatto */
.split__media { aspect-ratio: 1 / 1; max-height: 520px; }
.split__content > p { font-size: .95rem; }
.steps { margin: 24px 0; }
.steps li { padding: 14px 0; }

/* Pagine interne: componenti alleggeriti (niente box pieni) */
.service-card, .zone-card, .context-card, .subservice, .why, .brand-box, .aside-card, .contact-card, .safety, .notice {
  background: transparent;
}
.service-card { border: 0; border-radius: 0; }
.service-card__media { border-radius: var(--radius-lg); }
.service-card__body { padding: 18px 0 0; }
.service-card__title { font-size: 1.02rem; }
.service-card__text { font-size: .87rem; }
.service-card__actions { justify-content: flex-start; gap: 20px; }
.service-card__actions .btn { display: none; }
.service-grid--full { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.ticks--compact { font-size: .85rem; }

.context-card, .subservice, .zone-card { border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 22px 0 0; }
.context-grid, .subservices { gap: 32px; }
.zone-card { min-height: 0; }
.zone-card__sigla { font-size: .78rem; color: var(--orange); -webkit-text-stroke: 0; margin: 0; }
.zone-card__title { margin-top: 4px; font-size: 1rem; }

.values, .emergency-grid { background: none; border: 0; gap: 0 32px; }
.values li, .emergency-grid li { background: none; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.values strong, .emergency-grid strong { font-size: 1rem; }
.emergency-grid .icon { margin-bottom: 10px; }

.why, .brand-box, .aside-card, .safety { border: 0; border-left: 2px solid var(--orange); border-radius: 0; padding: 4px 0 4px 24px; }
.contact-card { border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 20px 0 4px; }
.contact-card--primary { border-top: 2px solid var(--orange); }
.notice { border: 0; border-left: 2px solid var(--orange); border-radius: 0; padding: 4px 0 4px 18px; }

.mini-links { background: none; border: 0; border-top: 1px solid var(--line-strong); gap: 0 32px; }
.mini-links li { background: none; border-bottom: 1px solid var(--line); }
.mini-links a { padding: 16px 0; font-size: .92rem; font-weight: 500; }
.mini-links a:hover { background: none; }

.emergency__list { background: none; border: 0; border-top: 1px solid var(--line-strong); gap: 0 32px; }
.emergency__list li { background: none; padding: 16px 0; border-bottom: 1px solid var(--line); }

/* Numeri grandi ridimensionati */
.call-xl strong { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.call-xl__icon { width: 48px; height: 48px; }
.contact-card__phone { font-size: 1.6rem; }
.aside-card__phone { font-size: 1.25rem; }
.footer-phone { font-size: 1.1rem !important; }
.aside-card__title { font-size: 1.05rem; }
.form__section legend { font-size: .95rem; }
.faq__item summary { font-size: .95rem; padding: 18px 0; }
.prose h2 { font-size: 1.1rem; }
.section-head__lead { font-size: .95rem; }
.footer-grid { padding-top: clamp(48px, 6vw, 64px); }
.footer-logo img { width: 150px; }

@media (max-width: 1140px) {
  .svc { grid-template-columns: 1fr; }
  .svc__intro { position: static; }
  .svc__img { display: none; }
}
@media (max-width: 900px) {
  .split__media { aspect-ratio: 16 / 10; }
  .service-grid--full { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero__title { font-size: 1.75rem; }
  .zone-line { grid-template-columns: 1fr; }
  .zone-line li + li { border-left: 0; border-top: 1px solid var(--line); }
  .zone-line a, .zone-line li + li a { padding: 18px 0; }
  .svc-list a { grid-template-columns: 36px 1fr 18px; padding: 16px 0; }
  .service-grid--full { grid-template-columns: 1fr; }
  .join-line { margin-top: 32px; }
}

/* Foto più scure e uniformi con il fondo */
.hero::before {
  background:
    linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.9) 38%, rgba(10,10,10,.55) 65%, rgba(10,10,10,.35) 100%),
    linear-gradient(0deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,0) 35%);
}
.svc__img img, .split__media img, .service-card__media img { filter: brightness(.86) saturate(.9); }
@media (max-width: 700px) {
  .hero::before { background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,.92) 55%, rgba(10,10,10,.6) 100%); }
}

/* Pagina servizi: righe */
.svc-rows { border-top: 1px solid var(--line-strong); }
.svc-rows li { display: grid; grid-template-columns: 240px 1fr auto; gap: 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.svc-rows__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
.svc-rows__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.86) saturate(.9); }
.svc-rows__n { font-family: var(--font-head); font-weight: 700; font-size: .75rem; color: var(--orange); }
.svc-rows__title { font-size: 1.1rem; font-weight: 600; margin: 4px 0 6px; }
.svc-rows__title a:hover { color: var(--orange); }
.svc-rows__body p { margin: 0; font-size: .9rem; color: var(--text-2); max-width: 62ch; }
.svc-rows__body .svc-rows__apps { margin-top: 6px; font-size: .82rem; color: var(--text-3); }
@media (max-width: 700px) {
  .svc-rows li { grid-template-columns: 1fr; gap: 14px; }
  .svc-rows__cta { margin-top: -4px; }
}

/* =====================================================================
   v3 — logo leggibile, movimento, meno immagini ripetute
   ===================================================================== */
:root { --header-h: 108px; }
.eyebrow::before { display: none; }

/* Header: logo grande, si compatta scorrendo */
.site-header { transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.site-header__inner { height: var(--header-h); transition: height .35s var(--ease); }
.brand img { height: 92px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 78px; }
.site-header.is-scrolled .brand img { height: 64px; }

/* Home: header trasparente sopra la foto */
.is-home .site-header { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,0) 100%); border-bottom-color: transparent; backdrop-filter: none; }
.is-home .site-header.is-scrolled { background: rgba(10,10,10,.94); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.is-home .hero { min-height: min(100svh, 860px); }
.is-home .hero__content { padding-top: calc(var(--header-h) + 48px); }

/* Ingresso hero */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__bg img { animation: kenburns 14s cubic-bezier(.2,.6,.2,1) both; transform-origin: 70% 40%; }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > *:nth-child(1) { animation-delay: .15s; }
.hero__content > *:nth-child(2) { animation-delay: .3s; }
.hero__content > *:nth-child(3) { animation-delay: .45s; }
.hero__content > *:nth-child(4) { animation-delay: .6s; }
.hero__content > *:nth-child(5) { animation-delay: .75s; }
.page-hero__content > * { animation: rise .9s var(--ease) both; }
.page-hero__content > *:nth-child(2) { animation-delay: .1s; }
.page-hero__content > *:nth-child(3) { animation-delay: .2s; }
.page-hero__content > *:nth-child(4) { animation-delay: .3s; }
.page-hero__content > *:nth-child(5) { animation-delay: .4s; }

/* Fascia scorrevole */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--deep); padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.ticker span::after { content: ''; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Comparsa allo scroll (classe aggiunta via JS: senza JS tutto resta visibile) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.split__media.reveal { transform: scale(.96); }
.split__media.reveal.is-in { transform: none; }

/* Liste: linea arancione che si traccia al passaggio */
.svc-list a, .svc-rows li, .zone-line a, .mini-links a { position: relative; }
.svc-list a::after, .svc-rows li::after, .mini-links a::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--orange); transition: width .6s var(--ease);
}
.svc-list a:hover::after, .svc-rows li:hover::after, .mini-links a:hover::after { width: 100%; }
.svc-list__body { transition: transform .4s var(--ease); }
.svc-list a:hover .svc-list__body { transform: translateX(6px); }
.zone-line a::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--orange); transition: width .6s var(--ease); }
.zone-line li + li a::before { left: 24px; }
.zone-line a:hover::before { width: 60px; }
.svc__all { margin-top: 28px; }

/* Pagina servizi senza immagini ripetute */
.svc-rows li { grid-template-columns: 90px 1fr auto; padding: 30px 0; }
.svc-rows__num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--text-3); transition: color .3s; }
.svc-rows li:hover .svc-rows__num { color: var(--orange); }
.svc-rows__title { margin-top: 0; }

/* Sfondo tecnico animato nelle testate */
.page-hero { min-height: 340px; display: flex; align-items: center; }
.page-hero > .container { position: relative; z-index: 1; }
.circuit {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(250,250,250,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,250,250,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 85% 50%, #000 0%, transparent 75%);
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift { to { background-position: 56px 56px, 56px 56px; } }
.circuit span { position: absolute; left: 0; height: 1px; width: 220px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: 0; animation: current 7s linear infinite; }
.circuit span:nth-child(1) { top: 28%; animation-delay: 0s; }
.circuit span:nth-child(2) { top: 56%; animation-delay: 2.4s; animation-duration: 9s; }
.circuit span:nth-child(3) { top: 78%; animation-delay: 4.8s; animation-duration: 8s; }
@keyframes current { 0% { transform: translateX(30vw); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .9; } 100% { transform: translateX(100vw); opacity: 0; } }

/* Pulsanti: riempimento al passaggio */
.btn--ghost { position: relative; overflow: hidden; isolation: isolate; }
.btn--ghost::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn--ghost:hover { color: var(--black); border-color: var(--orange); }
.btn--ghost:hover::before { transform: scaleX(1); }

@media (max-width: 1140px) {
  :root { --header-h: 88px; }
  .brand img { height: 72px; }
}
@media (max-width: 700px) {
  :root { --header-h: 76px; }
  .brand img { height: 62px; }
  .site-header.is-scrolled .site-header__inner { height: 64px; }
  .site-header.is-scrolled .brand img { height: 50px; }
  .is-home .hero__content { padding-top: calc(var(--header-h) + 140px); }
  .page-hero { min-height: 0; }
  .svc-rows li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .svc-rows__num { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

/* =====================================================================
   v4 — foto dedicate per servizio, interazioni
   ===================================================================== */
/* Home: foto che cambia al passaggio sui servizi */
.svc__photo { position: relative; margin-top: 28px; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.svc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease); filter: brightness(.9); }
.svc__photo img.is-active { opacity: 1; transform: scale(1); }
.svc-list a.is-current strong, .svc-list a.is-current .icon { color: var(--orange); }
.svc-list a.is-current::after { width: 100%; }

/* Come lavoriamo: 4 passi in orizzontale */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: m; }
.method li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.method li::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--orange); transition: width 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + .3s); }
.method li.is-in::before, .no-reveal .method li::before { width: 48px; }
.method__n { display: block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--orange); margin-bottom: 14px; }
.method strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; margin-bottom: 6px; }
.method p { margin: 0; font-size: .9rem; color: var(--text-3); }

/* Pagina servizi: anteprima foto che segue il cursore */
.hover-preview { position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-9999px, 0, 0) scale(.9); transition: opacity .3s var(--ease); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.hover-preview.is-visible { opacity: 1; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }
.svc-rows li[data-preview] { cursor: pointer; }

/* Testata servizio con foto dedicata */
.page-hero--img { min-height: 460px; }
.page-hero--img .page-hero__bg img { object-position: 70% 35%; animation: kenburns 16s cubic-bezier(.2,.6,.2,1) both; }
.page-hero--img::before { background: linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.88) 40%, rgba(10,10,10,.35) 75%, rgba(10,10,10,.2) 100%); }

@media (max-width: 1140px) {
  .svc__photo { display: none; }
  .method { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hover-preview { display: none; }
}
@media (max-width: 700px) {
  .method { grid-template-columns: 1fr; gap: 24px; }
  .page-hero--img { min-height: 0; }
  .page-hero--img::before { background: linear-gradient(0deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.85) 60%, rgba(10,10,10,.6) 100%); }
}

/* =====================================================================
   v5 — niente numerazioni, contatori, foto uniformi
   ===================================================================== */
/* Trattamento unico per tutte le fotografie dei servizi */
.svc__photo, .svc-rows__thumb, .page-hero--img .page-hero__bg { background: var(--surface); }
.svc__photo img, .svc-rows__thumb img, .page-hero__bg img, .hero__bg img {
  filter: brightness(.88) saturate(.82) contrast(1.06);
}
.svc__photo, .svc-rows__thumb { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }

/* Liste senza numeri */
.svc-list a { grid-template-columns: 1fr 20px; }
.tag-h24 { font-style: normal; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--black); background: var(--orange); padding: 2px 6px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
.points li { display: block; padding-left: 20px; position: relative; }
.points li::before { content: ''; position: absolute; left: 0; top: 30px; width: 8px; height: 2px; background: var(--orange); }
.values li strong { margin-top: 4px; }

/* Pagina servizi: miniatura uniforme */
.svc-rows li { grid-template-columns: 220px 1fr auto; padding: 24px 0; }
.svc-rows__thumb { display: block; position: relative; }
.svc-rows__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-rows li:hover .svc-rows__thumb img { transform: scale(1.06); }
.svc-rows__thumb--empty { border: 1px solid var(--line); }
.svc-rows__thumb--empty .circuit { -webkit-mask-image: none; mask-image: none; }

/* Contatori */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__grid li { padding: clamp(36px, 5vw, 56px) 28px clamp(36px, 5vw, 56px) 0; display: flex; flex-direction: column; gap: 6px; }
.stats__grid li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.stats__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.stats__grid strong { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.stats__sub { font-size: .85rem; color: var(--text-3); }
.stats__sub a { color: var(--orange); }
.stats__sub a:hover { text-decoration: underline; text-underline-offset: 3px; }
.stats__grid li::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); margin-bottom: 18px; }

.join-line--solo { margin-top: 0; border-top: 0; padding-top: 0; }

@media (max-width: 1140px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .stats__grid li, .stats__grid li + li { padding: 28px 12px 28px 0; }
  .stats__grid li:nth-child(even) { padding-left: 16px; }
  .stats__num { font-size: 2.1rem; }
  .svc-rows li { grid-template-columns: 1fr; }
}

/* =====================================================================
   v6 — news e guide, FAQ nelle pagine servizio
   ===================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters__item { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: .85rem; color: var(--text-2); transition: all .2s var(--ease); }
.filters__item:hover { border-color: var(--orange); color: var(--white); }
.filters__item.is-active { background: var(--orange); border-color: var(--orange); color: var(--black); font-weight: 600; }

.posts { border-top: 1px solid var(--line-strong); }
.post { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.post::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--orange); transition: width .6s var(--ease); }
.post:hover::after { width: 100%; }
.post__media { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.post__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88) saturate(.82) contrast(1.06); transition: transform .8s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__media--empty { border: 1px solid var(--line); }
.post__media--empty .circuit { -webkit-mask-image: none; mask-image: none; }
.post__meta { margin: 0 0 8px; font-size: .8rem; color: var(--text-3); }
.post__cat { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; margin-right: 8px; }
.post__title { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.post__title a:hover { color: var(--orange); }
.post__desc { color: var(--text-2); font-size: .92rem; max-width: 64ch; margin-bottom: 12px; }

/* Articolo */
.article__head { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); border-bottom: 1px solid var(--line); }
.article__head-inner { position: relative; z-index: 1; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 64px); }
.article__head--img { min-height: 420px; display: flex; align-items: flex-end; }
.article__head--img .article__head-inner { width: 100%; }
.article__bg { position: absolute; inset: 0; z-index: -2; }
.article__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; filter: brightness(.88) saturate(.82) contrast(1.06); }
.article__head--img::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,10,.98) 0%, rgba(10,10,10,.85) 45%, rgba(10,10,10,.45) 100%); }
.article__head .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article__title { max-width: 26ch; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: .6em; }
.article__meta { margin: 0; font-size: .85rem; color: var(--text-3); }
.article__head-inner > * { animation: rise .9s var(--ease) both; }
.article__head-inner > *:nth-child(2) { animation-delay: .1s; }
.article__head-inner > *:nth-child(3) { animation-delay: .2s; }
.article__head-inner > *:nth-child(4) { animation-delay: .3s; }

.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.article__body { max-width: 720px; font-size: 1rem; line-height: 1.75; }
.article__body > .lead { color: var(--white); font-size: 1.1rem; margin-bottom: 1.6em; }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1rem; color: var(--white); margin: 1.8em 0 .5em; }
.prose ol { padding-left: 1.2em; margin: 0 0 1.2em; list-style: decimal; display: grid; gap: 8px; }
.prose ol li { padding-left: 4px; }
.prose ol li::before { display: none; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--orange); color: var(--white); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--white); font-family: var(--font-head); font-weight: 600; }
.prose img { border-radius: var(--radius-lg); margin: 1.5em 0; }

.mini-links--posts { grid-template-columns: repeat(3, 1fr); }
.mini-links--posts small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }

.detail__faq-title { margin-top: 2.5rem; }

@media (max-width: 1140px) {
  .article__layout { grid-template-columns: 1fr; }
  .article__aside { position: static; }
  .mini-links--posts { grid-template-columns: 1fr; }
}
@media (min-width: 1141px) and (max-width: 1340px) {
  .nav__link { padding: 10px 7px; font-size: .84rem; }
  .site-header__inner { gap: 16px; }
}
@media (max-width: 900px) {
  .post { grid-template-columns: 220px 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .post { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .article__head--img { min-height: 340px; }
}

/* =====================================================================
   v7 — niente icone decorative, pallini, quadratini o rombi
   ===================================================================== */
/* Link testuali: sottolineatura che si allunga al passaggio (al posto della freccia) */
.link-arrow { position: relative; padding-bottom: 3px; gap: 0; }
.link-arrow::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 32%; background: currentColor; transition: width .45s var(--ease); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { width: 100%; }

/* Elenchi: solo testo e linee sottili */
.ticks li { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticks { gap: 0; border-top: 1px solid var(--line); }
.ticks--grid { gap: 0 32px; }
.ticks--compact li { padding: 6px 0; }
.roles li { padding-left: 0; }
.roles li::before, .safety li::before, .points li::before, .emergency__mark { display: none; }
.safety ul { gap: 0; }
.safety li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.safety li:last-child { border-bottom: 0; }
.points li { padding-left: 0; }
.emergency-grid strong { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ul li { padding-left: 4px; }
.prose ul li::before { display: none; }
.prose ul li::marker { color: var(--text-3); }

/* Fascia scorrevole: solo testo, spaziatura ampia */
.ticker span { gap: 0; padding-right: 64px; }
.ticker span::after { display: none; }

/* Pulsante telefono header: icona solo dove il numero non è scritto (mobile) */
.btn--call .icon { display: none; }
.hero__note { gap: 0; }
.footer-contacts span:not(.footer-zones) { padding-left: 0; }
.footer-contacts a, .footer-zones { gap: 0; }
.contact-card__label, .brand-box__label, .areas__label, .safety__title { gap: 0; }
.mobile-bar a { gap: 0; }
.result__icon { display: none; }
.file { padding: 18px 20px; }

@media (max-width: 700px) {
  .btn--call .icon { display: block; }
}
.svc-list a, .svc-list a { grid-template-columns: 1fr; }
@media (max-width: 700px) { .svc-list a { grid-template-columns: 1fr; } }
.call-xl { padding: 18px 32px; }
.quote { margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--orange); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--white) !important; line-height: 1.4; }
.values { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }
.contact-card__text { margin: 0; font-weight: 600; color: var(--white); }

/* Logo ufficiale: più grande dove lo spazio lo consente */
.footer-logo img { width: 210px; }
@media (max-width: 700px) {
  :root { --header-h: 86px; }
  .brand img { height: 74px; }
  .site-header.is-scrolled .site-header__inner { height: 70px; }
  .site-header.is-scrolled .brand img { height: 58px; }
  .footer-logo img { width: 190px; }
}

/* =====================================================================
   v8 — MOBILE: progettato per chi cerca dal telefono (pronto intervento)
   ===================================================================== */
@media (min-width: 1141px) {
  .nav__sub-all, .nav__mobile-info { display: none; }
}

/* Menu mobile/tablet: chiamata in cima, voci compatte, sottomenu a fisarmonica */
@media (max-width: 1140px) {
  .nav { display: flex; flex-direction: column; padding: 16px var(--gutter) calc(110px + env(safe-area-inset-bottom)); }
  .nav__mobile-cta { order: -1; display: grid; gap: 10px; margin: 0 0 14px; }
  .nav-call { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 18px; background: var(--orange); color: var(--black); border-radius: var(--radius); }
  .nav-call__label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
  .nav-call__num { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; line-height: 1.2; }
  .nav__mobile-cta .btn { min-height: 46px; font-size: .9rem; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 14px 0; font-size: 1rem; font-weight: 600; align-items: center; }
  .nav__link .icon { display: inline-block; opacity: .6; transition: transform .25s var(--ease); }
  .has-sub.is-open > .nav__link { color: var(--orange); }
  .has-sub.is-open > .nav__link .icon { transform: rotate(180deg); opacity: 1; }
  .nav__sub { display: none; padding: 0 0 10px; }
  .has-sub.is-open .nav__sub { display: block; }
  .nav__sub a { padding: 9px 0 9px 14px; font-size: .9rem; color: var(--text-2); }
  .nav__sub-all a { color: var(--white); font-weight: 600; }
  .nav__mobile-info { order: 2; margin: 20px 0 0; font-size: .82rem; line-height: 1.7; color: var(--text-3); }
  .nav__mobile-info a { color: var(--text-2); }
}

@media (max-width: 700px) {
  /* Header: logo + menu; la chiamata è sempre nella barra in basso */
  :root { --header-h: 68px; }
  .brand img { height: 56px; }
  .site-header.is-scrolled .site-header__inner { height: 60px; }
  .site-header.is-scrolled .brand img { height: 48px; }
  .btn--call { display: none; }
  .nav-toggle { width: 44px; height: 44px; }

  /* Scala tipografica compatta */
  .h2 { font-size: 1.32rem; line-height: 1.25; }
  .h3 { font-size: 1.05rem; }
  .h4 { font-size: .95rem; }
  .lead { font-size: .95rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .12em; margin-bottom: .6rem; }
  .section { padding: 44px 0; }
  .section--tight { padding: 30px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head__lead, .section-head p:not(.eyebrow) { font-size: .9rem; }
  .crumbs { display: none; }

  /* Home: titolo e chiamata subito visibili */
  .is-home .hero { min-height: 0; align-items: flex-start; }
  .is-home .hero__content { padding-top: calc(var(--header-h) + 26px); padding-bottom: 30px; }
  .hero::before { background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.82) 40%, rgba(10,10,10,.97) 100%); }
  .hero__bg img { object-position: 65% 18%; }
  .hero__title { font-size: 1.6rem; line-height: 1.18; max-width: none; margin-bottom: .45em; }
  .hero__lead { font-size: .92rem; margin-bottom: 20px; }
  .hero__actions { display: grid; gap: 10px; margin-bottom: 14px; }
  .hero__actions .btn { width: 100%; min-height: 50px; }
  .hero__note { font-size: .78rem; color: var(--text-3); }
  .ticker { padding: 12px 0; }
  .ticker span { font-size: .68rem; padding-right: 40px; }

  /* Contatori 2x2 compatti */
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid li, .stats__grid li + li { padding: 20px 10px 20px 0; border-left: 0; }
  .stats__grid li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .stats__grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats__grid li::before { width: 20px; margin-bottom: 12px; }
  .stats__num { font-size: 1.75rem; margin-bottom: 4px; }
  .stats__grid strong { font-size: .8rem; line-height: 1.3; }
  .stats__sub { font-size: .72rem; }
  .stats__grid li:not(:first-child) .stats__sub { display: none; }

  /* Servizi in home: solo titoli */
  .svc__intro .muted { display: none; }
  .svc__all { margin-top: 14px; min-height: 42px; font-size: .85rem; }
  .svc-list a { padding: 14px 0; }
  .svc-list__body strong { font-size: .98rem; margin: 0; }
  .svc-list__body > span { display: none; }

  /* Metodo e chiusura */
  .method { gap: 0; }
  .method li { padding: 14px 0; }
  .method li::before { top: -1px; }
  .method strong { font-size: .95rem; margin-bottom: 2px; }
  .method p { font-size: .85rem; }
  .join-line p { font-size: .88rem; }

  /* Testate delle pagine interne: compatte, senza pulsanti doppi (c'è la barra in basso) */
  .page-hero, .page-hero--img { min-height: 0; }
  .page-hero__content { padding-top: 24px; padding-bottom: 28px; }
  .page-hero__title { font-size: 1.45rem; line-height: 1.2; margin-bottom: .4em; }
  .page-hero__lead { font-size: .9rem; }
  .page-hero__actions { display: none; }
  .call-xl { margin-top: 18px; padding: 12px 18px; }
  .call-xl small { font-size: .68rem; }
  .call-xl strong { font-size: 1.45rem; }

  /* Contenuti */
  .detail__aside { display: none; }
  .detail__main > .lead { margin-bottom: 1.6rem; }
  .ticks li { padding: 9px 0; font-size: .9rem; }
  .points li { padding: 14px 0; }
  .points strong { font-size: .95rem; }
  .points p { font-size: .85rem; }
  .emergency-grid li { padding: 14px 0; }
  .emergency-grid strong { font-size: .95rem; }
  .emergency-grid p, .context-card p, .values p, .why__list p { font-size: .86rem; }
  .safety { padding-left: 16px; }
  .safety li { font-size: .88rem; }
  .faq__item summary { font-size: .9rem; padding: 14px 0; }
  .faq__item p { font-size: .88rem; padding-bottom: 16px; }
  .svc-rows li { padding: 18px 0; gap: 10px; }
  .svc-rows__title { font-size: 1rem; }
  .svc-rows__body p { font-size: .86rem; }
  .svc-rows__apps { display: none; }
  .post { padding: 18px 0; gap: 12px; }
  .post__title { font-size: 1.02rem; }
  .post__desc { font-size: .86rem; }
  .article__title { font-size: 1.4rem; }
  .article__head--img { min-height: 260px; }
  .article__body { font-size: .95rem; }
  .prose h2 { font-size: 1.05rem; }
  .contact-card__phone { font-size: 1.4rem; margin-bottom: 12px; }
  .form { padding: 20px 16px; }
  .form-tabs__tab { padding: 12px 8px; font-size: .8rem; }

  /* Footer compatto */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 34px 0 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: .85rem; margin: 0; }
  .footer-logo { margin-bottom: 12px; }
  .footer-logo img { width: 150px; }
  .footer-col[aria-label="Servizi"] { display: none; }
  .footer-col__title { font-size: .7rem; margin-bottom: 10px; }
  .footer-col ul { gap: 7px; }
  .footer-col a, .footer-contacts a, .footer-zones { font-size: .85rem; }
  .footer-phone { font-size: 1rem !important; }
  .footer-legal { padding: 18px 0 22px; font-size: .72rem; }
  .footer-legal__bottom { margin-top: 12px; }

  /* Barra in basso: numero sempre visibile */
  body { padding-bottom: 74px; }
  .mobile-bar { grid-template-columns: 1.55fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-bar a { min-height: 54px; }
  .mobile-bar__call { flex-direction: column; line-height: 1.15; }
  .mobile-bar__call small { font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-bar__call strong { font-family: var(--font-head); font-size: 1.08rem; font-weight: 800; }
  .mobile-bar__quote { font-size: .9rem; }
}
@media (max-width: 700px) { :root { --header-h: 72px; } .brand img { height: 62px; } }
@media (max-width: 700px) { .page-hero > .circuit, .article__head > .circuit { display: none; } }

/* =====================================================================
   v9 — pulsanti rifiniti: volume leggero, bordi luminosi, testo più calmo
   ===================================================================== */
:root {
  --btn-radius: 10px;
  --btn-primary: linear-gradient(180deg, #F78D24 0%, #EE7A0B 55%, #E06F06 100%);
  --btn-primary-hover: linear-gradient(180deg, #FF9733 0%, #F5830F 55%, #E87708 100%);
  --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .4), 0 8px 20px -10px rgba(241, 123, 10, .65);
  --btn-ghost-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .35);
}

.btn {
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .005em;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--lg { font-size: .95rem; min-height: 52px; padding: .8em 1.5em; }
.btn--sm { border-radius: 8px; }

.btn--primary {
  background: var(--btn-primary);
  color: #1A0E04;
  border: 1px solid #C9600A;
  box-shadow: var(--btn-primary-shadow);
}
.btn--primary:hover { background: var(--btn-primary-hover); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(0,0,0,.18), 0 2px 4px rgba(0,0,0,.4), 0 12px 26px -10px rgba(241,123,10,.75); }
.btn--primary:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.22), 0 1px 1px rgba(0,0,0,.3); }

.btn--ghost {
  background: rgba(255, 255, 255, .045);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--btn-ghost-shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost::before { display: none; }
.btn--ghost:hover { color: var(--white); background: rgba(255, 255, 255, .085); border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn--ghost:active { transform: translateY(1px); background: rgba(255, 255, 255, .06); }

/* Pulsante telefono nell'header (desktop) */
.btn--call { gap: 10px; }
.btn--call__label small { background: rgba(26, 14, 4, .16); color: #1A0E04; border-radius: 4px; padding: 2px 6px; }

/* Riquadro di chiamata nel menu mobile e nella pagina pronto intervento */
.nav-call, .call-xl {
  background: var(--btn-primary);
  border: 1px solid #C9600A;
  border-radius: 12px;
  box-shadow: var(--btn-primary-shadow);
  color: #1A0E04;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease);
}
.nav-call:active, .call-xl:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.22); }
.call-xl:hover { background: var(--btn-primary-hover); }
.nav-call__label, .call-xl small { opacity: .78; }

/* Schede del modulo contatti e filtri delle news */
.form-tabs__tab { border-radius: 10px 10px 0 0; font-family: var(--font-body); font-weight: 600; }
.filters__item { font-family: var(--font-body); font-weight: 500; }
.filters__item.is-active { background: var(--btn-primary); border-color: #C9600A; color: #1A0E04; box-shadow: var(--btn-primary-shadow); }

/* Pulsante menu e campi coerenti con i pulsanti */
.nav-toggle { border-radius: var(--btn-radius); background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.16); box-shadow: var(--btn-ghost-shadow); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { border-radius: 8px; }
.chip span { box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.file { border-radius: 12px; }

/* Barra in basso su mobile: vetro scuro e pulsanti con volume */
@media (max-width: 700px) {
  .mobile-bar {
    background: rgba(12, 12, 12, .82);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .mobile-bar a { border-radius: 12px; -webkit-tap-highlight-color: transparent; transition: transform .15s var(--ease), box-shadow .2s var(--ease); }
  .mobile-bar__call { background: var(--btn-primary); border: 1px solid #C9600A; color: #1A0E04; box-shadow: var(--btn-primary-shadow); }
  .mobile-bar__call small { opacity: .75; }
  .mobile-bar__quote { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); color: var(--white); box-shadow: var(--btn-ghost-shadow); font-family: var(--font-body); font-weight: 600; }
  .mobile-bar a:active { transform: scale(.98); }
  .hero__actions .btn, .nav__mobile-cta .btn { border-radius: 12px; }
}
:root { --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .45), 0 6px 14px -10px rgba(241, 123, 10, .5); }
