/* Font self-hosted (nessuna richiesta a terzi) */
@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/chakra-petch-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/chakra-petch-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/chakra-petch-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/inter-var.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   AnGi Car Service — foglio di stile unico
   Palette: grafite (60%) · bianco/asfalto chiaro (30%) · arancio AnGi (10%, solo azioni)
   ========================================================================== */
:root {
  --brand: #FF5003;          /* arancio del marchio AnGi */
  --brand-dark: #C43C00;     /* arancio scuro: testo arancio su fondo chiaro (AA) */
  --accent: #FF5003;
  --ink: #111317;            /* grafite quasi nera */
  --ink-2: #1B1E24;
  --ink-3: #262A31;
  --text: #2B2F36;
  --muted: #5E6570;
  --muted-dark: #A7AEB8;
  --bg: #FFFFFF;
  --bg-alt: #F3F4F6;
  --line: #E3E5E9;
  --line-dark: #2E333B;

  --font-display: 'Chakra Petch', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 8px rgba(17, 19, 23, .06);
  --shadow-md: 0 10px 30px rgba(17, 19, 23, .10);
  --shadow-lg: 0 24px 60px rgba(17, 19, 23, .22);
  --radius: 10px;
  --radius-lg: 18px;
  --container: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #D5D9DF; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--brand); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brand); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }

/* Bottoni: arancio con testo grafite (contrasto 6.3:1) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: var(--ink); }
.btn-primary:hover { background: #FF6A26; color: var(--ink); transform: translateY(-2px); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .btn-outline, .section-dark .btn-outline, .cta-banner .btn-outline, .page-hero .btn-outline { color: #fff; }
.hero .btn-outline:hover, .section-dark .btn-outline:hover, .cta-banner .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: #1FAF55; color: #fff; }
.btn-wa:hover { background: #178C44; color: #fff; transform: translateY(-2px); }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--ink); color: var(--muted-dark); font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--brand); }

.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-brand img { width: 52px; height: auto; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.nav-brand-text strong { font-size: 1.34rem; font-weight: 700; letter-spacing: .01em; }
.nav-brand-text strong span { color: var(--brand); }
.nav-brand-text small { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: .98rem; color: var(--ink);
}
.nav-menu a:hover { color: var(--brand-dark); background: var(--bg-alt); }
.nav-menu a[aria-current="page"] { color: var(--brand-dark); }
.nav-menu .nav-cta { margin-left: 10px; }
.nav-menu .nav-cta .btn { display: inline-flex; min-height: 46px; padding: 0 22px; color: var(--ink); }
.nav-menu .nav-cta .btn:hover { background: #FF6A26; }

/* ---------- MENU MOBILE (da templates/menu.css) ---------- */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html { overflow-x: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 15, .94) 0%, rgba(10, 12, 15, .82) 42%, rgba(10, 12, 15, .35) 100%),
              linear-gradient(0deg, rgba(10, 12, 15, .7) 0%, rgba(10, 12, 15, 0) 40%);
}
.hero-inner { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(64px, 9vw, 110px); max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { color: #D5D9DF; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; padding: 0; margin: 0; font-size: .95rem; color: #E6E8EB; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* ---------- Striscia numeri ---------- */
.stats { background: var(--brand); color: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(17, 19, 23, .16); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1; }
.stat span { font-size: .92rem; font-weight: 600; }

/* ---------- Card / griglie ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature p { color: var(--muted); margin: 0; }
.icon-box {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--brand); margin-bottom: 20px;
}
.icon-box svg { width: 28px; height: 28px; }
.section-dark .feature { background: var(--ink-2); border-color: var(--line-dark); }
.section-dark .feature p { color: var(--muted-dark); }
.section-dark .icon-box { background: var(--brand); color: var(--ink); }

/* card servizio con immagine */
.service-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.service-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.service-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover figure img { transform: scale(1.05); }
.service-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card-body h3 { margin: 0; }
.service-card-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.link-arrow { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-weight: 700; color: var(--brand-dark); }
.link-arrow::after { content: " →"; }

/* split immagine/testo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split-media .tag {
  position: absolute; left: -14px; bottom: 28px; background: var(--brand); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; padding: 14px 20px; border-radius: 10px; box-shadow: var(--shadow-md); line-height: 1.15;
}
.split-media .tag small { display: block; font-weight: 600; font-size: .8rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 10px 28px; }

/* citazione */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; color: #fff; font-weight: 500; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--brand); margin-bottom: 18px; }
.quote cite { display: block; margin-top: 22px; font-style: normal; color: var(--muted-dark); }
.quote cite strong { color: #fff; }

/* passi */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; border-top: 3px solid var(--brand); background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--brand-dark); display: block; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* orari */
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; color: var(--ink); padding-right: 16px; white-space: nowrap; }
.section-dark .hours th { color: #fff; }
.section-dark .hours th, .section-dark .hours td { border-color: var(--line-dark); }

/* CTA banner */
.cta-banner { background: var(--ink); color: #D5D9DF; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: var(--brand); opacity: .12; clip-path: polygon(50% 0, 100% 87%, 0 87%); transform: rotate(12deg);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(52px, 7vw, 84px) 24px; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pagine interne ---------- */
.page-hero { background: var(--ink); color: #D5D9DF; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: 6%; bottom: -60px; width: 260px; height: 230px;
  background: var(--brand); opacity: .1; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.page-hero .container { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(48px, 7vw, 80px); }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero .lead { color: #C3C8CF; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--muted-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #6B727C; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* blocchi servizio nella pagina servizi */
.service-block { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block:nth-child(even) .service-media { order: 2; }
.service-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow-md); }
.service-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.service-text h3 { margin-top: 1.4em; }
.note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.pill-list li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.service-index { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.service-index a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.service-index a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--ink); color: #D5D9DF; padding: 34px 30px; border-radius: var(--radius-lg); }
.contact-card h2 { color: #fff; font-size: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.contact-list svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--brand); }
.contact-list small { display: block; color: var(--muted-dark); font-size: .86rem; }
.map-link { display: inline-flex; margin-top: 8px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #CDD1D7; border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 80, 3, .25); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-bottom: 20px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.5em; }
.form-status.is-ok { color: #11743B; }
.form-status.is-err { color: #B42318; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.post-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card figure img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { margin: 0; }
.post-card p { margin: 0; color: var(--muted); }

.article { max-width: 780px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); margin: 0 0 36px; box-shadow: var(--shadow-md); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 1.6em; }
.article h3 { margin-top: 1.3em; }
.article .answer { background: var(--bg-alt); border-left: 4px solid var(--brand); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-alt); color: var(--ink); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--brand-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* policy */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: #0B0C0F; color: var(--muted-dark); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 24px 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.footer-brand img { width: 46px; height: auto; }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: .88rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #D5D9DF; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 10px; }
.social a:hover { border-color: var(--brand); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 24px 28px; border-top: 1px solid var(--line-dark); font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* bottone WhatsApp flottante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: #1FAF55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal: contenuto VISIBILE di base, il JS aggiunge l'animazione ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89; background: rgba(0, 0, 0, .5); border: 0; padding: 0; cursor: pointer;
    opacity: 0; visibility: hidden; transition: opacity .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; z-index: 95; width: min(86vw, 360px); background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 100px 26px 40px;
    box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-menu .nav-cta { margin: 14px 0 0; }
  .nav-menu .nav-cta .btn { width: 100%; }
  .nav-toggle { position: relative; z-index: 96; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-media { order: 0; }
  .service-media img { aspect-ratio: 16 / 10; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(17, 19, 23, .16); }
  .topbar-hours { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .grid-2, .form-row, .check-list.two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 56px 16px 32px; gap: 32px; }
  .footer-bottom { padding: 20px 16px 88px; }
  .topbar-mail { display: none; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .nav-brand img { width: 44px; }
  .nav-brand-text strong { font-size: 1.15rem; }
  .split-media .tag { left: 12px; }
  .cta-inner { padding: 52px 16px; }
}
@media (max-width: 380px) {
  .nav-brand-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
