/* Soccorso Stradale Catania - foglio di stile unico */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 600 850;
  font-stretch: 72% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --yellow: #fda901;
  --yellow-deep: #e69700;
  --on-yellow: #15120a;
  --blue: #1a6cc2;
  --navy: #0c2340;
  --navy-2: #133059;
  --navy-line: #25416b;
  --on-navy: #f2f5fa;
  --on-navy-muted: #b9c6d9;
  --wa: #25d366;
  --wa-hover: #1fbd5a;
  --on-wa: #062b14;

  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #4a5568;
  --line: #d5dce6;
  --link: var(--blue);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 76rem;
  --header-h: 4.25rem;
  --bar-h: 4.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}
@media (min-width: 64rem) { body { padding-bottom: 0; } }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.prose a, .faq a, .contact-list a { color: var(--link); }
a:hover { text-decoration-color: var(--yellow-deep); }

::selection { background: var(--yellow); color: var(--on-yellow); }

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.hero :focus-visible, .page-hero :focus-visible, .area :focus-visible, .site-footer :focus-visible, .aside-card :focus-visible, .action-bar :focus-visible { outline-color: var(--yellow); }
.on-yellow :focus-visible, .btn-call:focus-visible { outline-color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 8vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-stretch: 85%; line-height: 1.1; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.icon { width: 1.5em; height: 1.5em; flex: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.measure { max-width: 42rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--yellow); color: var(--on-yellow);
  padding: 0.75rem 1rem; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.75rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-display); font-stretch: 85%; font-weight: 750;
  font-size: 1.125rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out), border-color 160ms;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon { width: 1.35em; height: 1.35em; }

.btn-call { background: var(--yellow); color: var(--on-yellow); }
.btn-call:hover { background: var(--yellow-deep); }

.btn-call--xl {
  min-height: 4.5rem; padding: 0.9rem 1.6rem 0.9rem 1.3rem;
  flex-direction: row; gap: 0.9rem; text-align: left;
}
.btn-call--xl .icon { width: 2rem; height: 2rem; }
.btn-call--xl .btn-label { display: grid; gap: 0.15rem; }
.btn-call--xl small {
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.btn-call--xl strong { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 850; font-stretch: 80%; font-variant-numeric: tabular-nums; }

.btn-wa { background: var(--wa); color: var(--on-wa); }
.btn-wa:hover { background: var(--wa-hover); }

.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

.btn-dark { background: var(--navy); color: var(--on-navy); }
.btn-dark:hover { background: var(--navy-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-stretch: 75%; font-weight: 850;
  font-size: 1.3rem; line-height: 0.95; text-transform: uppercase;
}
.brand-logo { width: auto; height: 3rem; }
.brand-alt { display: none; align-items: center; gap: 0.65rem; }
.brand-mark {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0.2rem;
  background: #fff; border-radius: var(--radius);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand small { display: block; color: var(--yellow); font-size: 0.8em; letter-spacing: 0.02em; }
.brand--footer { color: var(--on-navy); }
.brand--footer .brand-alt { display: inline-flex; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; padding: 0;
  background: transparent; color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; inset: var(--header-h) 0 auto 0;
  background: var(--surface); border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - var(--header-h) - var(--bar-h)); overflow-y: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1.25rem; }
.site-nav a {
  display: flex; align-items: center; min-height: 3.25rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--link); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.3em; text-decoration-color: var(--yellow); }
.site-nav .sub a { font-family: var(--font-body); font-weight: 400; font-size: 1.05rem; padding-left: 1rem; color: var(--muted); }
.header-call { display: none; }

@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; overflow: visible; }
  .site-nav > ul { display: flex; gap: 0.25rem; padding: 0; }
  .site-nav > ul > li { position: relative; }
  .site-nav a { border: 0; min-height: 2.75rem; padding: 0 0.85rem; font-size: 1.1rem; border-radius: var(--radius); }
  .site-nav a:hover { background: var(--bg); }
  .site-nav .sub { display: none; }
  .header-call { display: inline-flex; min-height: 2.9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--on-navy);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 0%; }
@media (min-width: 64rem) { .hero-media img { object-position: 70% 50%; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,35,64,0.15) 0%, rgba(12,35,64,0.25) 30%, rgba(12,35,64,0.88) 52%, rgba(12,35,64,0.98) 100%);
}
.hero .wrap {
  display: grid; align-content: end;
  padding-block: clamp(7rem, 22svh, 11rem) 2.25rem;
}
.hero h1 { text-transform: uppercase; font-stretch: 72%; font-weight: 850; max-width: 14ch; margin-bottom: 0.35em; }
.hero h1 em { display: block; font-style: normal; color: var(--yellow); }
.hero .lead { color: var(--on-navy-muted); margin-bottom: 1.75rem; max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.hero-actions .btn-ghost { color: var(--on-navy); min-height: 4.5rem; }

@media (min-width: 64rem) {
  .hero::before {
    background: linear-gradient(90deg, rgba(12,35,64,0.98) 0%, rgba(12,35,64,0.9) 38%, rgba(12,35,64,0.25) 75%, rgba(12,35,64,0.1) 100%);
  }
  .hero .wrap { align-content: center; min-height: min(calc(100svh - var(--header-h)), 44rem); padding-block: 4rem; }
  .hero h1 { max-width: 20ch; font-size: clamp(3.5rem, 5.4vw, 5rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero-actions { animation: rise 700ms var(--ease-out) both; }
  .hero .lead { animation-delay: 80ms; }
  .hero-actions { animation-delay: 160ms; }
  .hero-media img { animation: settle 1400ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: scale(1.06); } }

.hazard {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--navy) 18px 36px);
}

/* Hero compatto per pagine interne */
.page-hero { background: var(--navy); color: var(--on-navy); }
.page-hero .wrap { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { color: var(--on-navy-muted); }
.page-hero--media { position: relative; isolation: isolate; overflow: hidden; }
.page-hero--media .hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero--media .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,35,64,0.2) 0%, rgba(12,35,64,0.3) 25%, rgba(12,35,64,0.92) 50%, rgba(12,35,64,0.97) 100%);
}
.page-hero--media .wrap { padding-top: clamp(9rem, 30vw, 12rem); }
@media (min-width: 56rem) {
  .page-hero--media::before { background: linear-gradient(90deg, rgba(12,35,64,0.97) 0%, rgba(12,35,64,0.85) 45%, rgba(12,35,64,0.2) 80%, rgba(12,35,64,0.05) 100%); }
  .page-hero--media .wrap { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: 5rem; }
  .page-hero--media .lead { max-width: 34rem; }
}

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.25rem; padding: 0; font-size: 0.95rem; color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.6; }
.breadcrumb a { color: var(--on-navy-muted); }
.breadcrumb [aria-current] { color: var(--on-navy); }

/* ---------- Triage: cosa ti è successo ---------- */
.triage { background: var(--surface); border-bottom: 1px solid var(--line); }
.triage .wrap { padding-block: clamp(2.5rem, 6vw, 4rem); }
.triage h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.triage-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .triage-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .triage-list { grid-template-columns: repeat(4, 1fr); } }
.triage-list a {
  display: flex; align-items: center; gap: 0.9rem; height: 100%;
  min-height: 4.5rem; padding: 1rem 1.1rem;
  background: var(--bg); border: 2px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 700; line-height: 1.3;
  transition: border-color 160ms, background-color 160ms;
}
.triage-list a:hover { border-color: var(--ink); }
.triage-list .icon { width: 2rem; height: 2rem; padding: 0.35rem; box-sizing: content-box; background: var(--yellow); color: var(--on-yellow); border-radius: var(--radius); }
.triage-list .arrow { margin-left: auto; width: 1.25rem; height: 1.25rem; padding: 0; background: none; color: var(--muted); }

/* ---------- Servizi ---------- */
.services-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 56rem) { .services-grid { grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: start; } }

.service-feature {
  position: relative; display: grid; color: var(--on-navy);
  background: var(--navy); border-radius: var(--radius); overflow: hidden; text-decoration: none;
}
.service-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease-out); }
.service-feature:hover img { transform: scale(1.03); }
.service-feature .body { padding: 1.5rem 1.5rem 1.75rem; }
.service-feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-stretch: 75%; }
.service-feature p { color: var(--on-navy-muted); }
.service-feature .more { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--yellow); font-weight: 700; }
.service-feature .more .icon { width: 1.2em; height: 1.2em; }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: 1.15rem 0.25rem; text-decoration: none;
}
.service-list a > .icon { width: 2.25rem; height: 2.25rem; color: var(--link); }
.service-list h3 { margin: 0 0 0.2rem; }
.service-list p { margin: 0; color: var(--muted); font-size: 1rem; }
.service-list .go { width: 1.4rem; height: 1.4rem; color: var(--muted); transition: transform 200ms var(--ease-out), color 200ms; }
.service-list a:hover .go { transform: translateX(4px); color: var(--ink); }
.service-list a:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 3px; text-underline-offset: 0.15em; }

/* ---------- Sicurezza (in attesa) ---------- */
.safety { background: var(--surface); border-block: 1px solid var(--line); }
.safety-grid { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .safety-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(s);
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  background: var(--yellow); color: var(--on-yellow); border-radius: var(--radius);
  font-family: var(--font-display); font-stretch: 75%; font-weight: 850; font-size: 1.6rem;
}
.steps strong { display: block; font-family: var(--font-display); font-stretch: 85%; font-weight: 750; font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.2rem; }
.steps span { color: var(--muted); }
.note { font-size: 0.95rem; color: var(--muted); }

/* ---------- Come funziona ---------- */
.flow { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .flow { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.flow li { position: relative; padding: 1.25rem 0 0; border-top: 6px solid var(--navy); }
@media (min-width: 48rem) { .flow li { padding: 1.5rem 2rem 0 0; } }
.flow li:first-child { border-top-color: var(--yellow); }
.flow h3 { display: flex; align-items: center; gap: 0.6rem; }
.flow h3 .icon { width: 1.6rem; height: 1.6rem; color: var(--link); }
.flow p { color: var(--muted); margin: 0; }

/* ---------- Perché sceglierci ---------- */
.why { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .why { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.why-media { border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.why-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.why-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 36rem) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-list li { display: grid; gap: 0.35rem; }
.why-list .icon { width: 2rem; height: 2rem; color: var(--link); margin-bottom: 0.25rem; }
.why-list strong { font-family: var(--font-display); font-stretch: 85%; font-weight: 750; font-size: 1.25rem; line-height: 1.15; }
.why-list span { color: var(--muted); font-size: 1rem; }

/* ---------- Zona ---------- */
.area { background: var(--navy); color: var(--on-navy); }
.area .lead { color: var(--on-navy-muted); margin-bottom: 0; max-width: 46rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; margin-top: 1.75rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.75rem; padding: 1rem 0.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-stretch: 88%; font-weight: 700; font-size: 1.2rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.4rem; height: 1.4rem; transition: transform 220ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0.25rem 1.25rem; color: var(--muted); max-width: 44rem; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Fascia chiamata ---------- */
.cta-band { background: var(--yellow); color: var(--on-yellow); }
.cta-band .wrap { display: grid; gap: 1.5rem; padding-block: clamp(3rem, 7vw, 5rem); }
@media (min-width: 56rem) { .cta-band .wrap { grid-template-columns: 1.2fr auto; align-items: center; gap: 3rem; } }
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band p { margin: 0; font-size: 1.15rem; max-width: 36rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn-dark { min-height: 4.5rem; }
.cta-band .btn-dark strong { font-size: clamp(1.5rem, 3vw, 1.9rem); font-stretch: 80%; font-weight: 850; font-variant-numeric: tabular-nums; }
.cta-band .btn-ghost { min-height: 4.5rem; }

/* ---------- Pagine interne: testo ---------- */
.content-grid { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .content-grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; align-items: start; } }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 1.75em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--yellow-deep); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.checklist { list-style: none; padding: 0 !important; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; color: var(--on-yellow); background: var(--yellow); border-radius: var(--radius); padding: 0.15rem; box-sizing: content-box; }

.aside-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius);
  padding: 1.5rem;
}
.aside-card h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.aside-card p { color: var(--on-navy-muted); font-size: 1rem; }
.aside-card .btn { width: 100%; margin-top: 0.6rem; }
.aside-card .btn-call--xl strong { font-size: 1.45rem; }

.service-list--wide { max-width: 52rem; margin-top: 1.5rem; }

/* Servizi: indice */
.service-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .service-index { grid-template-columns: 1fr 1fr; } }
.service-index a { display: grid; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.service-index img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-index .body { padding: 1.25rem 1.4rem 1.5rem; }
.service-index h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 0.35em; }
.service-index p { color: var(--muted); margin-bottom: 0.75rem; }
.service-index .more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.service-index .more .icon { width: 1.1em; height: 1.1em; }
.service-index li:first-child { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  .service-index li:first-child a { grid-template-columns: 1.2fr 1fr; }
  .service-index li:first-child img { height: 100%; aspect-ratio: auto; min-height: 20rem; }
  .service-index li:first-child .body { padding: 2rem; align-self: center; }
}

/* Contatti */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list .icon { width: 2.25rem; height: 2.25rem; padding: 0.4rem; box-sizing: content-box; background: var(--yellow); color: var(--on-yellow); border-radius: var(--radius); }
.contact-list strong { display: block; font-family: var(--font-display); font-stretch: 85%; font-weight: 750; font-size: 1.2rem; }
.contact-list a { font-size: 1.15rem; word-break: break-word; }
.contact-list span { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 1rem; }
.site-footer .wrap { padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { color: var(--on-navy); font-size: 1.5rem; font-stretch: 88%; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; min-height: 2.5rem; gap: 0.5rem; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.site-footer .icon { width: 1.2rem; height: 1.2rem; color: var(--yellow); }
.footer-brand p { max-width: 24rem; margin-top: 1rem; }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.9rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }

/* ---------- Azioni fisse ---------- */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.5rem;
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--navy); border-top: 1px solid var(--navy-line);
}
.action-bar .btn { min-height: 3.5rem; font-size: 1.15rem; padding-inline: 0.75rem; }
@media (min-width: 64rem) { .action-bar { display: none; } }

.wa-float {
  display: none; position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
  box-shadow: 0 8px 20px -6px rgba(10, 12, 14, 0.45);
  width: 3.75rem; height: 3.75rem; min-height: 0; padding: 0; border-radius: 999px;
}
.wa-float .icon { width: 2rem; height: 2rem; }
@media (min-width: 64rem) { .wa-float { display: inline-flex; } }

@media print {
  .site-header, .action-bar, .wa-float, .hero-media { display: none !important; }
  body { padding: 0; }
}

/* ---------- Utilità ---------- */
.section--flush { padding-top: 0; }
@media (min-width: 36rem) { .why-list--wide { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.btn-ghost--dark { color: var(--on-navy); min-height: 4.5rem; }
.page-hero .hero-actions { margin-top: 1.5rem; }

/* Numeri di telefono: un solo carattere, cifre tabulari */
.tel { font-family: var(--font-display); font-stretch: 85%; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* Chiamata dominante su mobile */
@media (max-width: 40rem) {
  .hero-actions, .cta-band .actions { flex-direction: column; }
  .hero-actions .btn, .cta-band .actions .btn { width: 100%; }
  .hero-actions .btn-call--xl, .cta-band .btn-call--xl { min-height: 5.25rem; }
  .hero-actions .btn-ghost, .cta-band .btn-ghost { min-height: 3.5rem; }
}

/* Avviso 112 */
.alert-112 {
  display: flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; padding: 1rem 1.15rem;
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius);
  font-weight: 700; line-height: 1.35;
}
.alert-112 .icon { width: 1.8rem; height: 1.8rem; color: var(--yellow); }
.alert-112 a { color: var(--yellow); font-family: var(--font-display); font-stretch: 80%; font-weight: 850; font-size: 1.35em; }

/* Recensioni */
.reviews { background: var(--surface); border-block: 1px solid var(--line); }
.reviews-grid { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 56rem) { .reviews-grid { grid-template-columns: 1.25fr 1fr; gap: 1.5rem; } }
.reviews-side { display: grid; gap: 1.25rem; }
.review { margin: 0; padding: 1.5rem 1.6rem; background: var(--bg); border-radius: var(--radius); display: grid; align-content: space-between; gap: 1rem; }
.review .icon { width: 2rem; height: 2rem; color: var(--yellow-deep); }
.review--main .icon { width: 2.6rem; height: 2.6rem; color: var(--yellow); }
.review blockquote { margin: 0; }
.review p { margin: 0; font-size: 1.1rem; }
.review figcaption { color: var(--muted); font-size: 0.95rem; }
.review--main { background: var(--navy); color: var(--on-navy); }
.review--main p { font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; }
.review--main figcaption { color: var(--on-navy-muted); }

/* Home: su mobile e tablet la barra fissa in basso già offre Chiama e WhatsApp, quindi la hero non li ripete */
@media (max-width: 63.999rem) {
  .hero .hero-actions { display: none; }
  .hero .lead { margin-bottom: 0; }
}
