/* =========================================================
   Linea Sanit — foglio di stile
   ========================================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
}

:root {
  /* Colori del marchio (dal logo) */
  --green-50: #f1f8ec;
  --green-100: #e0f0d4;
  --green-200: #c3e2ab;
  --green-500: #6cb43f;
  --green-600: #4f9a2a;
  --green-700: #3c7a1f;
  --navy-50: #eef0fa;
  --navy-100: #dde1f4;
  --navy-600: #2e3192;
  --navy-800: #1c1f5e;
  --navy-900: #12143d;
  --red: #e2231a;

  --ink: #161a3a;
  --text: #474b66;
  --muted: #6b6f88;
  --line: #e4e7f0;
  --surface: #ffffff;
  --bg: #fbfcfa;
  --bg-soft: #f3f6f1;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(18 20 61 / 6%), 0 2px 8px rgb(18 20 61 / 4%);
  --shadow: 0 2px 6px rgb(18 20 61 / 5%), 0 14px 34px rgb(18 20 61 / 8%);
  --shadow-lg: 0 30px 60px -20px rgb(18 20 61 / 25%);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.01em; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: .8em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgb(79 154 42 / 70%);
}
.btn-primary:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgb(79 154 42 / 75%);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-100);
}
.btn-ghost:hover { border-color: var(--navy-600); color: var(--navy-600); }

.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--green-50); color: var(--navy-800); transform: translateY(-2px); }

.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / 40%); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / 8%); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  line-height: 1;
}
.logo img { width: auto; height: 50px; }

@media (max-width: 400px) {
  .logo img { height: 42px; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 252 250 / 82%);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgb(18 20 61 / 25%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: var(--navy-50); color: var(--navy-600); }
.main-nav a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }
.main-nav .nav-cta { margin-left: 10px; }
.main-nav .nav-cta a { background: var(--navy-800); color: #fff; padding-inline: 20px; }
.main-nav .nav-cta a:hover { background: var(--navy-600); color: #fff; }
.main-nav .nav-cta a[aria-current="page"] { background: var(--green-600); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: 12px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(18 20 61 / 30%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .main-nav .nav-cta { margin: 8px 0 0; }
  .main-nav .nav-cta a { text-align: center; border-radius: 999px; }
}

/* ---------- Sezioni ---------- */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-soft { background: var(--bg-soft); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-500);
}
.section-head.center .eyebrow::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-500);
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 88px) clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--green-100), transparent 70%);
  opacity: .8;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 55vw;
  max-width: 700px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--navy-50), transparent 70%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.hero h1 span { color: var(--green-600); }
.hero .lead { max-width: 34ch; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .icon { width: 20px; height: 20px; color: var(--green-600); stroke-width: 2.2; }

.hero-media { position: relative; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--ink); font-size: .98rem; }
.float-card small { color: var(--muted); font-size: .82rem; }
.float-card .chip-icon { width: 44px; height: 44px; }
.float-card.one { left: -28px; bottom: 36px; }
.float-card.two { right: -20px; top: 28px; animation-delay: -3s; }

@keyframes float {
  50% { transform: translateY(-8px); }
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
}
.chip-icon .icon { width: 26px; height: 26px; }
.chip-icon.navy { background: var(--navy-50); color: var(--navy-600); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: 46ch; }
  .hero-media { max-width: 620px; }
  .float-card.one { left: 12px; bottom: 16px; }
  .float-card.two { right: 12px; top: 16px; }
}
@media (max-width: 480px) {
  .float-card { padding: 10px 14px 10px 10px; gap: 10px; }
  .float-card .chip-icon { width: 36px; height: 36px; border-radius: 10px; }
  .float-card .chip-icon .icon { width: 20px; height: 20px; }
  .float-card b { font-size: .88rem; }
  .float-card small { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Page hero (pagine interne) ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(60% 120% at 100% 0%, var(--green-100), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, var(--navy-50), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; color: var(--text); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--navy-100); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); }

/* ---------- Griglie e card ---------- */

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card h3 { margin-top: 20px; margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .98rem; }

/* Feature con icona */
.feature .chip-icon { transition: background-color .3s, color .3s, transform .3s var(--ease); }
.feature:hover .chip-icon { background: var(--green-600); color: #fff; transform: rotate(-6deg); }

/* Simboli di lavaggio */
.care-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.care-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.care-item .care-icon {
  width: 56px;
  height: 56px;
  color: var(--navy-800);
}
.care-item b { color: var(--ink); font-size: .95rem; line-height: 1.3; }
.care-item span { color: var(--muted); font-size: .85rem; line-height: 1.4; }

@media (max-width: 1000px) {
  .care-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Prodotti (home) ---------- */

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.product-card .media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .media img { transform: scale(1.04); }
.product-card .body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 3vw, 32px); }
.product-card h3 { margin-top: 0; font-size: 1.4rem; }
.product-card .link-arrow { margin-top: auto; padding-top: 16px; }

.tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag.navy { background: var(--navy-50); color: var(--navy-600); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy-600);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Banda certificazione ---------- */

.cert-band {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 140% at 100% 0%, rgb(108 180 63 / 35%), transparent 55%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: rgb(255 255 255 / 80%);
  overflow: hidden;
}
.cert-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.cert-seal {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 25%);
  color: var(--green-200);
}
.cert-seal .icon { width: 44px; height: 44px; stroke-width: 1.5; }

@media (max-width: 760px) {
  .cert-band { grid-template-columns: 1fr; text-align: left; }
  .cert-seal { width: 72px; height: 72px; }
  .cert-seal .icon { width: 34px; height: 34px; }
}

/* ---------- Perché sceglierci ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split-media.wide img { aspect-ratio: 16 / 10; }

@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
}

.reasons {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}
.reasons li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: 18px 20px;
  border-radius: var(--radius);
  transition: background-color .3s;
  counter-increment: reason;
}
.reasons li:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.reasons li::before {
  content: counter(reason, decimal-leading-zero);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-600);
  font-weight: 800;
  font-size: .95rem;
}
.reasons h3 { margin: 0; font-size: 1.1rem; align-self: end; }
.reasons p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Scheda prodotto ---------- */

.showcase {
  position: relative;
  margin-top: calc(-1 * clamp(24px, 4vw, 48px));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #3b2a20;
}
.showcase img { width: 100%; aspect-ratio: 900 / 447; object-fit: cover; }

.spec-card { padding: clamp(28px, 3.5vw, 40px); }
.spec-card:hover { transform: none; }
.spec-card header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.spec-card header h3 { margin: 0; font-size: 1.5rem; }
.spec-card header .tag { margin: 0 0 6px; }
.spec-card > p { color: var(--text); }

.spec-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.spec-list dt,
.spec-list .k { color: var(--muted); font-weight: 600; }
.spec-list .v { color: var(--ink); font-weight: 600; }

@media (max-width: 420px) {
  .spec-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Hotel ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-weight: 800;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

.kit-item { display: flex; gap: 18px; align-items: flex-start; }
.kit-item h3 { margin: 4px 0 6px; }

.callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--ink);
}
.callout p { color: var(--text); }
.callout h3 { margin: 2px 0 6px; font-size: 1.1rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.stat-row li {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat-row b {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stat-row span { font-size: .88rem; color: var(--muted); }

@media (max-width: 520px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* ---------- CTA finale ---------- */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 0% 0%, rgb(255 255 255 / 16%), transparent 55%),
    linear-gradient(120deg, var(--green-600), var(--green-700));
  color: rgb(255 255 255 / 88%);
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  background:
    linear-gradient(#fff, #fff) center / 34% 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 34% no-repeat;
  opacity: .08;
  transform: rotate(12deg);
  pointer-events: none;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { font-size: 1.1rem; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
}

/* ---------- Contatti ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}
.contact-card:hover { color: inherit; }
.contact-card .label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card .value {
  display: block;
  margin-top: 2px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.contact-card > span:not(.chip-icon):not(.go) { min-width: 0; }
.contact-card .go {
  margin-left: auto;
  color: var(--navy-100);
  transition: color .2s, transform .2s var(--ease);
}
.contact-card:hover .go { color: var(--green-600); transform: translateX(4px); }
div.contact-card:hover { transform: none; box-shadow: none; border-color: var(--line); }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-aside {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: rgb(255 255 255 / 78%);
}
.contact-aside h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.contact-aside ul { margin: 20px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-aside li { display: flex; gap: 12px; align-items: flex-start; }
.contact-aside li .icon { color: var(--green-200); width: 22px; height: 22px; margin-top: 2px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
@media (max-width: 1140px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (min-width: 1141px) {
  .contact-layout .go { display: none; }
}
@media (max-width: 360px) {
  .contact-card .value { white-space: normal; overflow-wrap: anywhere; }
}

/* ---------- Testo legale ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--green-600); }
.prose .updated { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(64px, 9vw, 112px);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  background: var(--navy-900);
  color: rgb(255 255 255 / 68%);
  font-size: .97rem;
}
/* Il logo ha testo blu: nel footer scuro va su fondo bianco */
.site-footer .logo {
  padding: 12px 18px;
  background: #fff;
  border-radius: var(--radius-sm);
}
.site-footer .logo img { height: 44px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.footer-grid p { margin-top: 18px; max-width: 34ch; }
.footer-grid h2 {
  margin-bottom: 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: rgb(255 255 255 / 78%); text-decoration: none; }
.footer-grid a:hover { color: var(--green-200); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--green-200); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  font-size: .88rem;
  color: rgb(255 255 255 / 50%);
}
.footer-bottom a { color: rgb(255 255 255 / 60%); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Animazioni in scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(40px, 6vw, 72px); }
.text-muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media print {
  .site-header,
  .nav-toggle,
  .cta,
  .site-footer { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
