/* Mossap — sito istituzionale */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('../fonts/jakarta-var.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --teal-50: #effcf9;
  --teal-100: #ccf7ee;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --ink: #0b1f26;
  --ink-2: #33474e;
  --muted: #5d6f75;
  --line: #e2eae9;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --navy: #0b2a33;
  --navy-2: #08313d;
  --amber: #f59e0b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 38, .06), 0 1px 3px rgba(11, 31, 38, .05);
  --shadow: 0 10px 30px -12px rgba(11, 31, 38, .18), 0 2px 6px rgba(11, 31, 38, .05);
  --shadow-lg: 0 30px 60px -20px rgba(4, 30, 38, .45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Jakarta', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  padding: 12px 18px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(13, 148, 136, .7); }
.btn-primary:hover { background: #115e59; }
.btn-outline { border-color: var(--teal-600); color: var(--teal-700); background: #fff; }
.btn-outline:hover { background: var(--teal-50); }
.btn-ghost { color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-light { background: #fff; color: var(--teal-700); }
.btn-light:hover { background: var(--teal-50); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: color .3s;
}
/* Sfondo e sfocatura stanno su uno strato a parte: un backdrop-filter sull'header stesso farebbe da
   riferimento al menu mobile (position: fixed), che verrebbe tagliato all'altezza dell'header. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px); box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid, .legal .site-header { color: var(--ink); }
.site-header.is-solid::before, .legal .site-header::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.logo-mark { width: 38px; height: 26px; color: var(--teal-400); }
.logo-text { font: 700 24px/1 var(--font-display); letter-spacing: -.03em; }
.logo-text span { color: var(--teal-400); }
.is-solid .logo-mark, .legal .logo-mark, .is-solid .logo-text span, .legal .logo-text span { color: var(--teal-600); }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.main-nav ul { display: flex; gap: 4px; margin-left: 24px; }
.main-nav ul a { color: inherit; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; opacity: .88; }
.main-nav ul a:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: 8px; opacity: .85; }
.lang-switch:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.lang-switch .icon { width: 17px; height: 17px; }
.is-solid .btn-ghost:hover, .legal .btn-ghost:hover { background: var(--bg-soft); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; border-radius: 8px; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
  color: #d5e9e8; background: var(--navy);
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 600px at 80% 20%, rgba(20, 184, 166, .35), transparent 60%),
    linear-gradient(115deg, rgba(8, 37, 46, .97) 0%, rgba(8, 49, 61, .9) 45%, rgba(10, 96, 100, .72) 100%),
    url('../img/hero.webp') center / cover no-repeat;
}
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; z-index: -1; opacity: .5; }
.hero-waves path { fill: none; stroke: rgba(94, 234, 212, .35); stroke-width: 1.2; }
.hero-waves path:nth-child(2) { stroke: rgba(94, 234, 212, .22); }
.hero-waves path:nth-child(3) { stroke: rgba(94, 234, 212, .14); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-300); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--amber); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 62px); font-weight: 750; letter-spacing: -.035em; line-height: 1.06; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-300), #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); max-width: 560px; margin-top: 24px; color: #b9d3d3; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: #a9c6c6; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { width: 16px; height: 16px; color: var(--teal-400); }

/* Scheda prezzo animata */
.hero-card {
  position: relative; background: rgba(255, 255, 255, .97); color: var(--ink-2);
  border-radius: var(--radius-lg); padding: 22px 22px 18px; box-shadow: var(--shadow-lg);
  max-width: 420px; justify-self: end; width: 100%;
  animation: float 7s ease-in-out infinite;
}
.hc-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink); }
.hc-head > div { display: inline-flex; align-items: center; gap: 8px; }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); animation: pulse 2s infinite; }
.hc-badge { display: inline-flex; align-items: center; gap: 4px; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; padding: 4px 9px 4px 6px; border-radius: 999px; }
.hc-badge .icon { width: 14px; height: 14px; }
.hc-price { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.hc-price small { width: 100%; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hc-price strong { font: 750 40px/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; }
.hc-price strong span { font-size: 22px; }
.hc-price s { color: var(--muted); font-size: 15px; }
.hc-chart { width: 100%; height: 120px; margin: 14px 0 6px; overflow: visible; }
.hc-line { fill: none; stroke: var(--teal-600); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.2s .4s ease-out forwards; }
.hc-comp { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-dasharray: 5 5; }
.hc-floor { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 3 5; }
.hc-area { opacity: 0; animation: fade .8s 1.8s forwards; }
.hc-pt { fill: var(--teal-600); stroke: #fff; stroke-width: 3; opacity: 0; animation: fade .4s 2.4s forwards; }
.hc-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.hc-legend div { min-width: 0; }
.hc-legend dt { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-legend dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.hc-legend i { width: 10px; height: 3px; border-radius: 2px; flex: none; }
.k-us { background: var(--teal-600); } .k-comp { background: #94a3b8; } .k-floor { background: var(--amber); }
.hc-toast {
  position: absolute; left: -36px; bottom: -26px; display: flex; gap: 10px; align-items: center;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: 13px; opacity: 0; transform: translateY(10px); animation: toast .5s 2.6s forwards;
}
.hc-toast .icon { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: var(--teal-600); }
.hc-toast strong { display: block; font-weight: 600; }
.hc-toast span { color: #9fc3c2; font-variant-numeric: tabular-nums; }
.hc-status { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: right; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes toast { to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); } }

/* ---------- Sezioni ---------- */
section { padding: 110px 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px; }
.kicker.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Claim */
.claim { padding-top: 100px; background: linear-gradient(180deg, var(--bg-soft), #fff 70%); }
.claim-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; margin-top: 40px; }
.claim-row + .claim-row { margin-top: 64px; }
.claim-row.is-reverse img { order: 2; }
.claim-row img { filter: drop-shadow(0 30px 40px rgba(11, 42, 51, .18)); }
.claim-pre { font: 500 clamp(20px, 2.2vw, 26px)/1.2 var(--font-display); color: var(--teal-700); }
.claim-big { font-size: clamp(42px, 6vw, 76px); font-weight: 800; text-transform: uppercase; letter-spacing: -.04em; line-height: .95; margin: 6px 0 20px; background: linear-gradient(100deg, var(--teal-700), var(--teal-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.claim-text > p:last-child { font-size: 18px; color: var(--muted); max-width: 440px; }

/* Novita' */
.news { background: var(--bg-soft); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.news-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal-600), var(--teal-300)); }
.news-head { display: flex; align-items: center; justify-content: space-between; }
.news-badge { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #92400e; background: #fef3c7; padding: 5px 10px; border-radius: 999px; }
.news-card h3 { font-size: 22px; margin: 20px 0 10px; }
.news-card > p { color: var(--muted); font-size: 16px; }
.news-card ul { display: grid; gap: 10px; margin-top: 20px; font-size: 15px; }
.news-card li { display: flex; gap: 10px; align-items: flex-start; }
.news-card li .icon { width: 18px; height: 18px; color: var(--teal-600); margin-top: 3px; }

/* FAQ */
.faq { background: #fff; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; font-weight: 650; }
.faq-sign { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--teal-50); }
.faq-sign::before, .faq-sign::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--teal-700); border-radius: 2px; transition: transform .2s; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0); }
.faq-item p { padding: 0 22px 20px; color: var(--ink-2); line-height: 1.65; }

/* Caratteristiche */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.feature:hover { border-color: var(--teal-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); flex: none; }
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* Come funziona */
.how { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-300) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-n { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-600); color: #fff; font: 700 22px/1 var(--font-display); box-shadow: 0 0 0 8px var(--bg-soft), 0 10px 24px -8px rgba(13, 148, 136, .8); }
.step h3 { font-size: 20px; margin: 22px 0 10px; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* Prezzi */
.pricing { background: #fff; }
.billing-toggle { display: flex; width: max-content; margin: -24px auto 48px; padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.billing-toggle button { font: 600 15px/1 var(--font); border: 0; background: transparent; color: var(--muted); padding: 11px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.billing-toggle .save { font-size: 12px; font-weight: 700; color: var(--teal-700); background: var(--teal-50); padding: 4px 8px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; background: #fff; }
.plan.is-popular { border: 2px solid var(--teal-600); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--teal-600); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.plan-listings { font: 700 20px/1.3 var(--font-display); color: var(--ink); margin-top: 8px; }
.plan-price { display: flex; align-items: baseline; margin-top: 22px; color: var(--ink); font-family: var(--font-display); }
.plan-price .cur { font-size: 24px; font-weight: 600; margin-right: 2px; align-self: flex-start; margin-top: 8px; }
.plan-price .amt { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price .dec { font-size: 22px; font-weight: 700; }
.plan-price .per { font: 500 15px var(--font); color: var(--muted); margin-left: 4px; }
.plan-billing { font-size: 14px; color: var(--ink-2); margin-top: 6px; font-weight: 500; }
.plan-alt { font-size: 13px; color: var(--muted); margin: 4px 0 24px; min-height: 2.6em; }
.plan-list { margin-top: 26px; display: grid; gap: 11px; font-size: 15px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .icon { width: 18px; height: 18px; color: var(--teal-600); margin-top: 3px; }
.plan-list li:first-child { font-weight: 600; color: var(--ink); }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 40px; }

/* Banda finale */
.cta-band { padding: 0; background: linear-gradient(180deg, #fff 50%, var(--bg-soft) 50%); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px 60px; border-radius: 28px; color: #d8f3ef; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 90% 0%, rgba(94, 234, 212, .35), transparent 60%), linear-gradient(120deg, var(--teal-700), var(--navy-2));
}
.cta-inner::after { content: ''; position: absolute; inset: auto -10% -60% 40%; height: 220px; background: url('../img/hero.webp') center/cover; opacity: .08; pointer-events: none; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); max-width: 640px; }
.cta-inner p { margin-top: 10px; max-width: 620px; }
.cta-inner .btn { position: relative; z-index: 1; }

/* Contatti */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; }
.contact-copy > p:not(.kicker) { margin-top: 18px; font-size: 17px; color: var(--muted); }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-cards li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.contact-cards small { display: block; font-size: 13px; color: var(--muted); }
.contact-cards a { font-weight: 600; text-decoration: none; }
.contact-cards a:hover { text-decoration: underline; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid #d5dfde; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(20, 184, 166, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #dc2626; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal-600); flex: none; }
.check.is-invalid span { color: #b91c1c; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: -6px; }
.form-note:empty, .form-status:empty { display: none; }
.form-status { font-size: 15px; padding: 12px 14px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); }
.form-status.is-error { background: #fef2f2; color: #b91c1c; }

/* Footer */
.site-footer { background: var(--navy); color: #9bb6b8; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 280px; }
.site-footer .footer-title { font: 600 13px var(--font); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #c4dad9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.footer-tm { color: #7a9799; }

/* Link dalla card delle novita' alla pagina dedicata */
.news-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 600; text-decoration: none; }
.news-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.news-link:hover .icon { transform: translateX(3px); }

/* Pagine dedicate */
.page-hero { padding: calc(var(--header-h) + 56px) 0 56px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.page-hero .eyebrow { color: var(--teal-700); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.page-hero h1 em { font-style: normal; color: var(--teal-700); }
.page-hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin-top: 22px; }
.page-hero .hero-ctas { margin-top: 32px; }
.page-body { padding-bottom: 72px; }
.page-section { padding: 40px 0 8px; }
.page-section + .page-section { border-top: 1px solid var(--line); }
.page-section h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 750; margin-bottom: 18px; }
.page-section > p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.page-section > p + p { margin-top: 14px; }
.page-steps { display: grid; gap: 18px; margin: 8px 0 22px; }
.page-steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius); padding: 20px; }
.page-steps .step-n { width: 40px; height: 40px; font-size: 17px; flex: none; box-shadow: none; }
.page-steps h3 { font-size: 18px; margin-bottom: 6px; }
.page-steps p { color: var(--muted); }
.page-bullets { display: grid; gap: 10px; margin-top: 18px; font-size: 16px; }
.page-bullets li { display: flex; gap: 10px; align-items: flex-start; }
.page-bullets .icon { width: 18px; height: 18px; color: var(--teal-600); margin-top: 3px; }
.page .faq-list { margin-top: 4px; }
.page-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.page-links .news-link { margin-top: 18px; }
.page-cta { padding-bottom: 96px; background: #fff; }

/* Pagine legali */
.legal-main { padding: calc(var(--header-h) + 56px) 0 96px; background: #fff; }
.legal-main h1 { font-size: clamp(30px, 4vw, 44px); margin: 18px 0 36px; }
.back { font-size: 14px; font-weight: 600; text-decoration: none; }
.prose { color: var(--ink-2); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 20px; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.4em; list-style: revert; }
.prose li + li { margin-top: .4em; }
.notfound p { margin-top: 16px; }
.notfound .btn { margin: 8px 8px 0 0; }

/* Comparsa allo scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .feature.reveal.is-visible:hover { transform: translateY(-3px); }
.js .plan.is-popular.reveal.is-visible { transform: translateY(-8px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul { margin-left: 8px; }
  .main-nav ul a { padding: 8px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px; background: #fff; color: var(--ink); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open .site-header { background: #fff; color: var(--ink); }
  .nav-open .logo-mark, .nav-open .logo-text span { color: var(--teal-600); }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; margin: 0; gap: 0; }
  .main-nav ul a { display: block; font-size: 20px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 1; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-actions .btn { padding: 15px; font-size: 16px; }
  .nav-actions .btn-ghost { border-color: var(--line); }
  .lang-switch { justify-content: center; padding: 12px; font-size: 15px; }

  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-card { justify-self: center; }
  .hc-toast { left: 12px; }
  .claim-row, .claim-row.is-reverse { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .claim-row.is-reverse img { order: 0; }
  .claim-text > p:last-child { margin: 0 auto; }
  .news-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.is-popular, .js .plan.is-popular.reveal.is-visible { transform: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  section { padding: 80px 0; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-ctas .btn { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .billing-toggle button { padding: 10px 14px; font-size: 14px; }
  .billing-toggle .save { display: none; }
  .cta-inner { padding: 36px 24px; border-radius: 22px; }
  .cta-inner .btn { width: 100%; }
  .hc-legend dd { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
