/* ============================================================================
   Nitida — Consulenti del pulito · Roma Centro
   Foglio di stile unico. CSS custom, zero framework. Standard Royaletiger.
   ============================================================================ */

/* ---------- Font self-hosted (nessuna richiesta a terzi) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}

/* ---------- Design system ---------- */
:root {
  /* palette: 60% avorio · 30% verde petrolio · 10% ottone (solo azioni) */
  --brand: #10403F;
  --brand-dark: #0A2A29;
  --brand-soft: #E3EDEB;
  --accent: #C8963E;
  --accent-dark: #8F6520;
  --accent-soft: #F6ECD9;
  --ink: #0E1A1A;
  --text: #2B3A3A;
  --muted: #5F6F6E;
  --bg: #FBF8F2;
  --bg-alt: #F3EEE3;
  --line: #E4DDCD;
  --white: #FFFFFF;
  --on-dark: #F4F0E6;
  --on-dark-muted: #B9C6C3;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(14, 26, 26, .06), 0 2px 8px rgba(14, 26, 26, .05);
  --shadow-md: 0 8px 24px rgba(14, 26, 26, .09);
  --shadow-lg: 0 24px 60px rgba(14, 26, 26, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --nav-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset essenziale ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  -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, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-color: rgba(16, 64, 63, .35); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- Utility ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand-dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }
.section-dark strong { color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--accent); }
.section-dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section-dark .lead { color: var(--on-dark-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* reveal: stato iniziale VISIBILE; il JS aggiunge .reveal-ready e anima */
.reveal { opacity: 1; transform: none; }
.reveal.reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.reveal-ready.is-visible { opacity: 1; transform: none; }
.reveal-ready[data-delay="1"] { transition-delay: .12s; }
.reveal-ready[data-delay="2"] { transition-delay: .24s; }
.reveal-ready[data-delay="3"] { transition-delay: .36s; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-body); font-size: .98rem; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); box-shadow: 0 6px 18px rgba(200, 150, 62, .28); }
.btn-primary:hover { background: #D6A552; border-color: #D6A552; color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200, 150, 62, .36); }
.btn-outline { background: transparent; color: var(--brand); border-color: rgba(16, 64, 63, .35); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.section-dark .btn-outline, .hero .btn-outline.on-dark { color: var(--on-dark); border-color: rgba(244, 240, 230, .4); }
.section-dark .btn-outline:hover, .hero .btn-outline.on-dark:hover { background: rgba(255, 255, 255, .08); border-color: var(--on-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--brand); padding-inline: 8px; }
.btn-ghost:hover { color: var(--brand-dark); }
.btn-note { font-size: .86rem; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.btn-note svg { width: 16px; height: 16px; color: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(251, 248, 242, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(14, 26, 26, .05); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-brand .logo-mark { width: 40px; height: 40px; }
.nav-brand .logo-word { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.nav-brand .logo-tag { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a:not(.btn) {
  display: inline-block; padding: 10px 14px; border-radius: 10px;
  font-size: .95rem; font-weight: 500; color: var(--text); text-decoration: none;
  transition: color .2s, background .2s;
}
.nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 12px 22px; font-size: .92rem; }

/* ---------- Menu mobile (template Royaletiger — vedi SKILL.md FASE 5-bis) ---------- */
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: 12px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89; background: rgba(10, 42, 41, .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; width: min(86vw, 360px); z-index: 91;
    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:not(.btn) { padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand-dark); color: var(--on-dark);
  padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 7vw, 96px);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(200, 150, 62, .18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(227, 237, 235, .08), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: var(--on-dark-muted); font-size: 1.22rem; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .btn-note { color: var(--on-dark-muted); }
.hero .btn-note svg { color: var(--accent); }

.hero-card {
  position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 240, 230, .14);
  border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(6px);
}
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(244, 240, 230, .12); }
.hero-card-head strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--white); }
.hero-card-head span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: .97rem; color: var(--on-dark); }
.checklist li svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
.checklist li span small { display: block; color: var(--on-dark-muted); font-size: .85rem; margin-top: 2px; }
.hero-card-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(244, 240, 230, .12); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--on-dark-muted); }
.hero-card-foot b { color: var(--white); font-weight: 600; }
.stamp {
  position: absolute; top: -22px; right: 24px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25;
  box-shadow: 0 10px 30px rgba(200, 150, 62, .4);
  transform: rotate(8deg);
}
.stamp b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: 0; line-height: 1; }

.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(244, 240, 230, .14); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 600; color: var(--white); line-height: 1; }
.stat span { font-size: .9rem; color: var(--on-dark-muted); }

/* ---------- Zone servite (nastro) ---------- */
.zone-strip { background: var(--bg-alt); border-block: 1px solid var(--line); padding: 18px 0; }
.zone-strip .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.zone-strip .zone-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex: none; }
.zone-list { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-display); font-size: 1.2rem; color: var(--brand-dark); font-weight: 500; }
.zone-list li::before { content: '·'; color: var(--accent); margin-right: 10px; }
.zone-list li:first-child::before { content: none; }

/* ---------- Card (perché Nitida) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(16, 64, 63, .25); }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card .card-num { font-family: var(--font-display); font-size: 1rem; color: var(--accent-dark); font-weight: 600; letter-spacing: .05em; margin-bottom: 14px; display: block; }

/* ---------- Problema (painpoint) ---------- */
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pain-quote {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.25; font-weight: 500; color: var(--ink);
  border-left: 3px solid var(--accent); padding-left: 24px; margin: 0;
}
.pain-quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 14px; }
.pain-list { display: grid; gap: 18px; }
.pain-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.pain-list svg { width: 26px; height: 26px; color: var(--brand); margin-top: 2px; }
.pain-list b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.pain-list span { color: var(--muted); font-size: .98rem; }

/* ---------- Metodo (step) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 240, 230, .12); }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.step h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 10px; }
.step p { font-size: .97rem; margin: 0; }
.step-time { display: inline-block; margin-top: 16px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* ---------- Servizi ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { display: flex; flex-direction: column; }
.service .tag { display: inline-block; align-self: flex-start; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 18px; }
.service ul { margin-top: 16px; display: grid; gap: 8px; }
.service ul li { font-size: .93rem; color: var(--text); padding-left: 20px; position: relative; }
.service ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 1.5px; background: var(--accent); }
.service .service-foot { margin-top: auto; padding-top: 20px; }
.service .service-foot a { font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.service .service-foot a svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service .service-foot a:hover svg { transform: translateX(4px); }

/* ---------- Per chi ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience-item { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.audience-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.audience-item p { font-size: .95rem; color: var(--muted); margin: 0; }
.audience-item .audience-ico { width: 44px; height: 44px; color: var(--brand); margin-bottom: 16px; }

/* ---------- Garanzia + chi siamo (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-visual { position: relative; }
.panel {
  background: var(--brand); color: var(--on-dark); border-radius: var(--radius-lg); padding: 40px 36px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.panel::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; bottom: -140px; background: rgba(200, 150, 62, .18); }
.panel h3 { color: var(--white); font-size: 2rem; margin-bottom: 14px; position: relative; }
.panel p { color: var(--on-dark-muted); position: relative; }
.panel .big { font-family: var(--font-display); font-size: clamp(3.6rem, 6vw, 5.4rem); color: var(--accent); font-weight: 600; line-height: 1; display: block; margin-bottom: 8px; position: relative; }
.panel ul { position: relative; display: grid; gap: 10px; margin-top: 20px; }
.panel ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); font-size: .97rem; }
.panel ul li svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.fact b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--brand); font-weight: 600; line-height: 1; margin-bottom: 4px; }
.fact span { font-size: .88rem; color: var(--muted); }

/* ---------- Testimonianze ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.testimonial .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: .9rem; flex: none; }
.testimonial figcaption b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 1.5px solid var(--accent-dark); border-bottom: 1.5px solid var(--accent-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--brand); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(200, 150, 62, .22), transparent 60%); pointer-events: none; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; position: relative; }
.cta-banner p { color: var(--on-dark-muted); margin: 0; position: relative; }
.cta-banner .hero-cta { justify-content: flex-end; position: relative; }

/* ---------- Contatti + form ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-ways { display: grid; gap: 14px; margin-top: 28px; }
.way { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .25s, transform .25s var(--ease); }
.way:hover { border-color: var(--brand); transform: translateY(-2px); }
.way svg { width: 24px; height: 24px; color: var(--brand); flex: none; margin-top: 2px; }
.way b { display: block; color: var(--ink); font-weight: 600; }
.way span { font-size: .92rem; color: var(--muted); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(16, 64, 63, .12); background: var(--white); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B23A3A; }
.field-check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form-status { grid-column: 1 / -1; font-size: .95rem; min-height: 1.4em; margin: 0; }
.form-status.is-ok { color: #1F6B45; font-weight: 600; }
.form-status.is-err { color: #B23A3A; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(244, 240, 230, .12); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-bottom: 16px; }
.footer-brand .logo-mark { width: 38px; height: 38px; }
.footer-brand .logo-word { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.footer-brand .logo-tag { display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 3px; }
.site-footer p { font-size: .95rem; }
.site-footer h4 { color: var(--white); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { color: var(--on-dark-muted); text-decoration: none; font-size: .95rem; }
.site-footer ul a:hover { color: var(--white); }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.site-footer address a { color: var(--on-dark); text-decoration: none; }
.site-footer address a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; font-size: .85rem; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Pagine interne (policy, 404) ---------- */
.page-hero { background: var(--brand-dark); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) 0; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--on-dark-muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }

/* ---------- Pulsante WhatsApp flottante (mobile) ---------- */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white);
  display: none; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.float-wa svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .services, .testimonials { grid-template-columns: 1fr 1fr; }
  .pain, .split, .contact, .cta-banner { grid-template-columns: 1fr; }
  .cta-banner .hero-cta { justify-content: flex-start; }
  .float-wa { display: grid; }
}
@media (max-width: 640px) {
  :root { --nav-h: 70px; }
  body { font-size: 1rem; }
  .container { width: min(100% - 32px, var(--container)); }
  .grid-3, .services, .testimonials, .steps, .audience, .form-grid, .facts, .grid-2 { grid-template-columns: 1fr; }
  .hero-card { padding: 24px 20px; }
  .stamp { width: 78px; height: 78px; right: 14px; top: -18px; font-size: .55rem; }
  .stamp b { font-size: 1.4rem; }
  .hero-cta .btn { width: 100%; }
  .nav-brand .logo-tag { display: none; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .zone-strip .container { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.reveal-ready { opacity: 1; transform: none; }
}
