/* ============================================================
   Top Contact Italia — Landing Offerte Luce e Gas
   Foglio di stile unico, nessuna dipendenza esterna.
   ============================================================ */

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

:root {
  --brand-50: #fff2f1;
  --brand-100: #ffe3e1;
  --brand-200: #ffc9c6;
  --brand-400: #f2716a;
  --brand-500: #e8455f;
  --brand-600: #d13450;
  --brand-700: #ad2743;
  --navy-950: #0a1224;
  --navy-900: #0e1830;
  --navy-800: #14203f;
  --navy-700: #1d2d55;
  --yellow: #ffc531;
  --green: #16a34a;
  --ink: #101828;
  --muted: #5a6478;
  --line: #e5e9f2;
  --bg-soft: #f5f7fb;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 40, .2);
  --shadow-lg: 0 30px 60px -20px rgba(14, 24, 48, .35);
  --shadow-brand: 0 14px 30px -10px rgba(232, 69, 95, .55);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 92px; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(232, 69, 95, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  padding: 14px 22px;
  font-size: 1rem;
  line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-primary { background: linear-gradient(135deg, #f2716a 0%, #e8455f 45%, #d13450 100%); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-outline { border: 2px solid var(--brand-500); color: var(--brand-600); background: #fff; padding: 12px 20px; }
.btn-outline:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-600); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 17px 26px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn-outline.loading::after { border-color: rgba(232, 69, 95, .3); border-top-color: var(--brand-600); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Barra urgenza ---------- */
.topbar { background: linear-gradient(90deg, #ad2743, #e8455f 55%, #f2716a); color: #fff; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 20px; text-align: center; }
.topbar strong { font-weight: 800; }
.countdown {
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, .25);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  color: #ffd66b;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(16, 24, 40, .3); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: .95rem; color: #33405c; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--brand-600); }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding: 64px 0 84px; }
.hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% 6%, rgba(232, 69, 95, .38), transparent 65%),
    radial-gradient(700px 520px at 2% 100%, rgba(43, 92, 168, .42), transparent 65%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(620px at 72% 18%, #000, transparent);
  mask-image: radial-gradient(620px at 72% 18%, #000, transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: #3c2a00;
  font-weight: 800; font-size: .8rem;
  padding: 8px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); font-weight: 800; letter-spacing: -.02em; margin-top: 20px; }
.grad-text { background: linear-gradient(90deg, #ffd66b, #f2716a 55%, #ff8fa3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 18px; color: #c3cde2; font-size: 1.08rem; max-width: 34rem; }

.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .98rem; }
.ticks li::before {
  content: "✔";
  display: grid; place-items: center;
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 800;
  margin-top: 2px;
}
.ticks.light li { color: #e7edf8; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: #fff;
  border: 2px solid var(--navy-900);
  background: linear-gradient(135deg, #f2716a, #d13450);
  margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #5b8dc9, #2b5ca8); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #ffc531, #e8a800); color: #3c2a00; }
.avatars span:nth-child(4) { background: #1d2d55; }
.proof-text { display: grid; gap: 2px; font-size: .85rem; color: #c3cde2; }
.stars { color: #ffc531; letter-spacing: 2px; font-size: .95rem; }

/* ---------- Card form ---------- */
.hero-form {
  position: relative;
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  overflow: hidden;
}
.hero-form::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #f2716a, #e8455f 55%, #ffc531);
}
.form-head h2 { font-size: 1.35rem; font-weight: 800; }
.form-head p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.offerta-chip { margin-top: 14px; background: var(--brand-50); border: 1px solid #ffd9d6; color: var(--brand-700); font-size: .85rem; padding: 8px 12px; border-radius: 10px; }
.field { margin-top: 16px; display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 700; }
.field input {
  font: inherit;
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fbfcfe;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(232, 69, 95, .14); background: #fff; }
.field input.invalid { border-color: var(--brand-600); background: #fff5f4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { margin-top: 18px; background: #f7f8fc; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.consent h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #33405c; }
.consent p { font-size: .78rem; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.consent a { color: var(--brand-600); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .8rem; color: #33405c; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--brand-600); cursor: pointer; }
.check a { color: var(--brand-600); }
.form-error { margin-top: 12px; background: #fdeceb; color: #b3243b; font-size: .85rem; font-weight: 600; padding: 10px 12px; border-radius: 10px; border: 1px solid #ffd9d6; }
.form-note { margin-top: 12px; text-align: center; font-size: .78rem; color: var(--muted); }
#leadForm .btn-block { margin-top: 18px; }
.form-footnote { margin-top: 14px; text-align: center; font-size: .78rem; color: #8fa0bd; }
.form-footnote a { color: #c3cde2; }

.form-success { text-align: center; padding: 18px 4px; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  box-shadow: 0 12px 26px -10px rgba(22, 163, 74, .6);
}
.form-success h2 { font-size: 1.35rem; font-weight: 800; }
.form-success p { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.form-success .small { font-size: .82rem; }
.form-success .btn { margin-top: 18px; }
.form-success a { color: var(--brand-600); font-weight: 700; }

/* ---------- Strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 20px; }
.strip-item { display: flex; gap: 12px; align-items: center; }
.strip-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.strip-item strong { display: block; font-size: .95rem; }
.strip-item small { color: var(--muted); font-size: .8rem; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, #ffd66b, #f2716a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: #9fb0cd; font-size: .85rem; font-weight: 600; }

/* ---------- Sezioni ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); }
.kicker-light { color: #ff9aa8; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #f2716a, #d13450);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-brand);
}
.step h3 { margin-top: 16px; font-size: 1.12rem; font-weight: 800; }
.step p { margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* ---------- Offerte ---------- */
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.offer {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.offer:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.offer.featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f2716a, #e8455f 50%, #ffc531) border-box;
  box-shadow: var(--shadow-lg);
}
.offer-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #e8455f, #f2716a);
  color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
}
.offer-ico { font-size: 1.9rem; }
.offer h3 { margin-top: 12px; font-size: 1.2rem; font-weight: 800; }
.offer .price { margin-top: 14px; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy-800); line-height: 1.1; }
.offer .price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.offer .price-note { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.offer ul { margin: 18px 0 22px; display: grid; gap: 9px; }
.offer ul li { display: flex; gap: 9px; font-size: .9rem; }
.offer ul li::before { content: "✔"; color: var(--green); font-weight: 800; }
.offer .btn { margin-top: auto; }
.offers-note { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 22px; }

/* ---------- Calcolatore ---------- */
.calc { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding: 76px 0; }
.calc::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 480px at 12% 0%, rgba(232, 69, 95, .32), transparent 62%);
}
.calc-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.calc h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.calc-copy > p { color: #c3cde2; margin-top: 12px; }
.calc-copy .ticks { margin-top: 22px; }
.calc-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 28px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.calc-card label { font-size: .82rem; font-weight: 800; color: #c3cde2; text-transform: uppercase; letter-spacing: .06em; }
.calc-value { display: block; margin-top: 10px; font-size: 2rem; font-weight: 800; color: #fff; }
.calc-card input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--brand-400); height: 34px; cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; color: #8fa0bd; font-size: .75rem; margin-top: 2px; }
.calc-result {
  margin-top: 18px; padding: 16px; border-radius: 14px;
  background: rgba(22, 163, 74, .14);
  border: 1px solid rgba(22, 163, 74, .35);
  display: grid; gap: 2px;
}
.calc-result span { font-size: .78rem; color: #a7f3c7; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.calc-result strong { font-size: 1.5rem; font-weight: 800; color: #7dedaa; }
.calc-card .btn { margin-top: 18px; }
.calc-note { margin-top: 12px; font-size: .75rem; color: #8fa0bd; }

/* ---------- Vantaggi ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.adv:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); display: grid; place-items: center; font-size: 1.3rem; }
.adv h3 { margin-top: 14px; font-size: 1.05rem; font-weight: 800; }
.adv p { margin-top: 6px; color: var(--muted); font-size: .9rem; }

/* ---------- Testimonianze ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.testi .stars { font-size: 1rem; }
.testi blockquote { margin: 0; font-size: .95rem; color: #33405c; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-ava { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5b8dc9, #2b5ca8); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.testi-who strong { display: block; font-size: .9rem; }
.testi-who small { color: var(--muted); font-size: .78rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.35rem; font-weight: 700; color: var(--brand-500); line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 18px; color: var(--muted); font-size: .92rem; }
.faq-item a { color: var(--brand-600); font-weight: 600; }

/* ---------- CTA finale ---------- */
.final-cta { background: linear-gradient(120deg, #d13450, #e8455f 45%, #f2716a); color: #fff; text-align: center; padding: 70px 0; }
.final-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.final-cta p { color: #ffe1e0; margin-top: 12px; }
.final-cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aab6cf; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 56px 20px 40px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; }
.footer-data { margin-top: 12px; font-size: .82rem; color: #8fa0bd; }
.footer-col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; font-size: .88rem; }
.footer-col a { color: #c3cde2; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container { padding: 20px 20px 26px; font-size: .78rem; color: #7e8ca8; }
.disclaimer { margin-top: 6px; line-height: 1.5; }

/* ---------- CTA mobile fissa ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(16, 24, 40, .35);
}
.mobile-cta-btn { flex: 1; text-align: center; padding: 13px 10px; border-radius: 11px; font-weight: 800; font-size: .92rem; text-decoration: none; }
.mobile-cta-btn.solid { background: linear-gradient(135deg, #f2716a, #d13450); color: #fff; box-shadow: var(--shadow-brand); }

/* ---------- Pagine legali ---------- */
.legal-hero { background: var(--navy-900); color: #fff; padding: 48px 0 44px; position: relative; overflow: hidden; }
.legal-hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 340px at 88% 0%, rgba(232, 69, 95, .32), transparent 65%);
}
.legal-hero .container { position: relative; z-index: 1; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #c3cde2; text-decoration: none; font-weight: 600; font-size: .9rem; }
.back-link:hover { color: #fff; }
.legal-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-top: 20px; letter-spacing: -.02em; }
.legal-hero p { color: #c3cde2; margin-top: 10px; font-size: .95rem; }
.legal-wrap { background: var(--bg-soft); padding: 52px 0 80px; }
.legal { max-width: 840px; margin: 0 auto; display: grid; gap: 18px; }
.legal section { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.legal h2 { font-size: 1.15rem; font-weight: 800; color: var(--navy-800); }
.legal p { color: #33405c; font-size: .94rem; margin-top: 10px; }
.legal ul { margin-top: 10px; display: grid; gap: 8px; }
.legal ul li { display: flex; gap: 10px; font-size: .94rem; color: #33405c; }
.legal ul li::before { content: "•"; color: var(--brand-500); font-weight: 800; }
.legal a { color: var(--brand-600); font-weight: 600; }
.legal .box { background: var(--brand-50); border: 1px solid #ffd9d6; border-radius: 12px; padding: 16px; margin-top: 12px; font-size: .92rem; color: #33405c; }
.legal .box p { margin-top: 4px; font-size: .92rem; }
.legal-date { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 6px; }

/* ---------- Animazioni reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-form-wrap { max-width: 580px; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .steps-grid, .offers-grid, .adv-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .calc-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 720px) {
  .steps-grid, .offers-grid, .adv-grid, .testi-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; padding: 18px 20px; }
  .mobile-cta { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 24px; }
  .footer-bottom .container { padding-bottom: 104px; }
  .hero { padding: 44px 0 64px; }
  .hero-form { padding: 22px; }
  .section { padding: 60px 0; }
  .calc { padding: 60px 0; }
  .topbar-inner { font-size: .78rem; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .step, .adv, .offer { transition: none; }
  .btn.loading::after { animation-duration: 1.4s; }
}
