/* Casiraghi S.r.l. - foglio di stile
   Un solo carattere (Manrope), scala tipografica a passi fissi,
   spaziature solo da questa scala: 2 4 8 12 16 24 32 40 48 64 80 96 px. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colori presi dal marchio e dallo stabilimento */
  --paper: #f7f8f7;
  --surface: #ffffff;
  --surface-2: #eceeed;
  --ink: #15181b;
  --steel: #555c63;
  --line: #d9dddb;
  --red: #c1121f;
  --red-hover: #a10f1a;
  --red-ink: #ffffff;
  --red-text: #c1121f;
  --field-line: #848b87;
  --green: #1f7a3e;
  --focus: #0b5cd5;
  --bar-bg: rgb(255 255 255 / 0.82);
  --bar-line: rgb(21 24 27 / 0.08);
  --bar-ink: #15181b;
  --hover-tint: rgb(21 24 27 / 0.07);
  --panel-bg: rgb(247 248 247 / 0.94);
  --footer-bg: #15181b;
  --footer-ink: #c9cecb;
  --footer-strong: #ffffff;
  --footer-muted: #9aa19d;
  --footer-line: #2c3135;
  --plate: #ffffff;
  --flag-bg: #fff3cd;
  --flag-ink: #5c4500;
  --on-photo: #ffffff;
  --on-photo-soft: rgb(255 255 255 / 0.88);
  --photo-fallback: #2a2f33;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
  --wrap: 1240px;
  --gutter: 16px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181818;
    --surface: #1f1f1f;
    --surface-2: #272727;
    --ink: #eef0ef;
    --steel: #a9b0b5;
    --line: #313131;
    --red: #d42a35;
    --red-hover: #bf1f2a;
    --red-ink: #ffffff;
    --red-text: #ff6b74;
    --field-line: #6f767b;
    --bar-bg: rgb(31 31 31 / 0.84);
    --bar-line: rgb(255 255 255 / 0.08);
    --bar-ink: #eef0ef;
    --hover-tint: rgb(255 255 255 / 0.1);
    --panel-bg: rgb(24 24 24 / 0.95);
    --footer-bg: #000000;
    --flag-bg: #3a3000;
    --flag-ink: #ffe08a;
    --green: #3fa564;
    --focus: #7fb0ff;
    color-scheme: dark;
  }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-variant-numeric: lining-nums;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease),
    color 300ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--red); color: var(--red-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline-light { border-color: rgb(255 255 255 / 0.6); color: var(--on-photo); }

@media (hover: hover) {
  .btn-primary:hover { background: var(--red-hover); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-outline-light:hover { border-color: var(--on-photo); background: rgb(255 255 255 / 0.1); }
}

.btn-sm { min-height: 44px; padding: 8px 12px; font-size: 0.875rem; line-height: 1.25rem; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 300ms var(--ease);
}
@media (hover: hover) {
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- Testata (barra sospesa) ---------- */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: 12px;
  pointer-events: none;
}

.bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--bar-line);
  border-radius: 12px;
  background: var(--bar-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 2px rgb(21 24 27 / 0.06), 0 8px 24px rgb(21 24 27 / 0.08);
}

.brand { display: block; flex: none; border-radius: 4px; }
.brand img { width: 101px; height: 40px; }

.nav-main { display: none; }
.nav-main ul { display: flex; gap: 4px; list-style: none; }
.nav-main a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--bar-ink);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 300ms var(--ease);
}
.nav-main a[aria-current="page"] { background: var(--hover-tint); }
@media (hover: hover) {
  .nav-main a:hover, .lang:hover { background: var(--hover-tint); }
}

/* Cambio lingua */
.lang {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: var(--radius);
  color: var(--bar-ink);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 300ms var(--ease);
}
.bar .lang { margin-left: auto; }
@media (min-width: 900px) {
  .bar .lang { margin-left: 0; }
}

.bar .btn-call { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--bar-ink);
  cursor: pointer;
}
.menu-toggle span {
  grid-area: 1 / 1;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 500ms var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 899px) {
  .bar { width: 100%; justify-content: space-between; }
}

@media (min-width: 900px) {
  .nav-main { display: block; }
  .bar .btn-call { display: inline-flex; }
  .menu-toggle { display: none; }
}

@media (prefers-color-scheme: dark) {
  .brand { background: var(--plate); padding: 2px 6px; }
  .brand img { width: 91px; height: 36px; }
}

/* Menu su telefono: pannello a tutta altezza */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 96px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--panel-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
  overscroll-behavior: contain;
}
.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms var(--ease);
}
.menu-open body { overflow: hidden; }

.mobile-nav ul { list-style: none; display: grid; gap: 4px; }
.mobile-nav li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms var(--ease), transform 500ms var(--ease);
}
.menu-open .mobile-nav li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.mobile-nav ul a {
  display: block;
  padding: 8px 0;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-nav ul a[aria-current="page"] { color: var(--red-text); }
.mobile-nav .actions { display: grid; gap: 12px; }

@media (min-width: 900px) {
  .mobile-nav { display: none; }
}

/* ---------- Barra azioni fissa su telefono ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}
.action-bar.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.action-bar.has-wa { grid-template-columns: 1fr 1fr auto; }
.action-bar .btn { padding-inline: 12px; }
.action-bar .btn-wa { width: 48px; padding: 0; }
@media (min-width: 900px) {
  .action-bar { display: none; }
}
@media (max-width: 899px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* WhatsApp: compare solo quando il numero è configurato in js/site.js */
[data-whatsapp] { display: none; }
.wa-ready [data-whatsapp] { display: inline-flex; }

/* ---------- Apertura home ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92dvh, 860px);
  padding: 128px 0 48px;
  color: var(--on-photo);
  background: var(--photo-fallback);
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(14 17 20 / 0.86) 0%, rgb(14 17 20 / 0.5) 45%, rgb(14 17 20 / 0.1) 75%),
    linear-gradient(to right, rgb(14 17 20 / 0.45), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero h1 {
  max-width: 960px;
  font-size: 2.25rem;
  line-height: 2.5rem;
  letter-spacing: -0.02em;
}
.hero .lead {
  max-width: 560px;
  margin-top: 16px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--on-photo-soft);
}
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (min-width: 768px) {
  .hero { padding-bottom: 80px; }
  .hero h1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.03em; }
  .hero .lead { font-size: 1.25rem; line-height: 1.75rem; margin-top: 24px; }
}

/* Entrata del titolo: le parole salgono una dopo l'altra (solo all'apertura) */
.reveal-words .w {
  display: inline-block;
  white-space: pre;
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-words .w {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(4px);
    animation: word-in 700ms var(--ease) forwards;
    animation-delay: calc(120ms + var(--i) * 45ms);
  }
  .js .hero .after-words {
    opacity: 0;
    animation: fade-in 600ms var(--ease) forwards;
    animation-delay: 520ms;
  }
}
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- Fatti certi ---------- */
.facts {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.facts dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.facts dl > div {
  padding: 24px 16px 24px 0;
}
.facts dl > div + div { padding-left: 16px; }
.facts dl > div:nth-child(odd) { padding-left: 0; }
.facts dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.facts dt {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.facts dd {
  margin: 4px 0 0;
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
@media (min-width: 900px) {
  .facts dl { grid-template-columns: repeat(4, 1fr); }
  .facts dl > div, .facts dl > div:nth-child(odd) { padding: 32px 24px; border-top: 0; }
  .facts dl > div:first-child { padding-left: 0; }
  .facts dl > div + div { border-left: 1px solid var(--line); }
}

/* ---------- Sezioni ---------- */
.section { padding-block: 64px; }
@media (min-width: 768px) {
  .section { padding-block: 96px; }
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2, .h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  letter-spacing: -0.02em;
}
.section-head p {
  margin-top: 12px;
  color: var(--steel);
  font-size: 1.125rem;
  line-height: 1.75rem;
}
@media (min-width: 768px) {
  .section-head h2, .h2 { font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
  .section-head p { margin-top: 16px; }
}

/* Filetto tricolore del marchio: segna l'inizio di un capitolo */
.rule {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}
.rule::before, .rule::after {
  content: "";
  width: 24px;
  height: 4px;
  border-radius: 2px;
}
.rule::before { background: var(--green); }
.rule::after { background: var(--red); }

/* ---------- Elenco prodotti (home): miniature piccole, il nome in primo piano ---------- */
.range {
  display: grid;
  gap: 8px;
  list-style: none;
}
.range a {
  display: grid;
  grid-template-columns: 96px 1fr 32px;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 8px 16px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 300ms var(--ease);
}
.range figure {
  margin: 0;
  width: 96px;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
}
.range img { width: 100%; height: 100%; object-fit: cover; }
.range h3 { font-size: 1.125rem; line-height: 1.75rem; }
.range p { color: var(--steel); font-size: 0.875rem; line-height: 1.25rem; }
.range .go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.range .go .icon { width: 16px; height: 16px; }
@media (hover: hover) {
  .range a:hover { border-color: var(--steel); }
  .range a:hover .go { background: var(--red); border-color: var(--red); color: var(--red-ink); }
}
@media (min-width: 768px) {
  .range { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 1024px) {
  .range { grid-template-columns: repeat(3, 1fr); }
  .range li:last-child { grid-column: span 2; }
}

.range-foot { margin-top: 32px; }
.illustrative { margin-top: 16px; color: var(--steel); font-size: 0.75rem; line-height: 1rem; }

/* ---------- Frase manifesto: le parole si accendono scorrendo ---------- */
.manifesto, .tint {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.manifesto p {
  max-width: 880px;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .manifesto p { font-size: 3rem; line-height: 1.1; letter-spacing: -0.03em; }
}
.manifesto .w { transition: opacity 500ms var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .js .manifesto .w { opacity: 0.28; }
  .js .manifesto .w.on { opacity: 1; }
}

/* ---------- Come si ordina (una vera sequenza) ---------- */
.steps {
  display: grid;
  gap: 32px;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 16px;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
}
.steps h3 { font-size: 1.25rem; line-height: 1.75rem; padding-top: 4px; }
.steps p { color: var(--steel); max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .steps li { grid-template-columns: 1fr; gap: 12px; }
  .steps li::before { grid-row: auto; margin-bottom: 4px; }
}
.steps-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Storia (immagine e testo) ---------- */
.story {
  display: grid;
  gap: 32px;
  align-items: center;
}
.story figure { margin: 0; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.story figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story .body { max-width: 560px; }
.story .body p { margin-top: 16px; color: var(--steel); font-size: 1.125rem; line-height: 1.75rem; }
.story .body .link { margin-top: 24px; }
@media (min-width: 900px) {
  .story { grid-template-columns: 7fr 5fr; gap: 64px; }
  .story.flip { grid-template-columns: 5fr 7fr; }
  .story.flip figure { order: 2; }
}

/* ---------- Storia solo testo ---------- */
.text-split { display: grid; gap: 24px; }
.text-split .body p { color: var(--steel); font-size: 1.125rem; line-height: 1.75rem; max-width: 64ch; }
.text-split .body p + p { margin-top: 16px; }
@media (min-width: 900px) {
  .text-split { grid-template-columns: 5fr 7fr; gap: 64px; }
}

/* ---------- Domande frequenti ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; }
  .faq-grid .section-head { position: sticky; top: 112px; align-self: start; }
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 500ms var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; max-width: 64ch; color: var(--steel); }
.faq .answer a { color: var(--ink); font-weight: 600; }

/* ---------- Dove siamo / contatti ---------- */
.visit { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .visit { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}
.contact-list { display: grid; gap: 24px; list-style: none; margin-top: 32px; }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.contact-list .icon { margin-top: 2px; color: var(--steel); }
.contact-list .k { display: block; color: var(--steel); font-size: 0.875rem; line-height: 1.25rem; }
.contact-list .v { font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
.contact-list a.v { text-decoration: none; }
@media (hover: hover) {
  .contact-list a.v:hover { text-decoration: underline; text-underline-offset: 4px; }
}
.visit .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 16px; color: var(--steel); font-size: 0.875rem; line-height: 1.25rem; }

.map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  text-align: center;
}
.map .placeholder { display: grid; gap: 16px; justify-items: center; padding: 32px 24px; max-width: 420px; }
.map .placeholder .icon { width: 32px; height: 32px; color: var(--red-text); }
.map .placeholder p { font-weight: 600; }
.map .placeholder small { color: var(--steel); font-size: 0.75rem; line-height: 1rem; }
.map .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.map iframe.is-ready { opacity: 1; }
@media (min-width: 900px) {
  .map { min-height: 480px; }
}

/* ---------- Testata delle pagine interne ---------- */
.page-head { padding: 128px 0 48px; }
.page-head h1 {
  max-width: 760px;
  font-size: 2.25rem;
  line-height: 2.5rem;
  letter-spacing: -0.02em;
}
.page-head .lead {
  max-width: 600px;
  margin-top: 16px;
  color: var(--steel);
  font-size: 1.125rem;
  line-height: 1.75rem;
}
@media (min-width: 768px) {
  .page-head { padding: 160px 0 64px; }
  .page-head h1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.03em; }
  .page-head .lead { font-size: 1.25rem; line-height: 1.75rem; margin-top: 24px; }
}
.crumbs { margin-bottom: 24px; font-size: 0.875rem; line-height: 1.25rem; color: var(--steel); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
@media (hover: hover) {
  .crumbs a:hover { text-decoration: underline; }
}

.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
@media (min-width: 900px) {
  .wide-photo img { aspect-ratio: 21 / 8; }
}

/* ---------- Catalogo prodotti ---------- */
.catalog { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .catalog { grid-template-columns: 220px 1fr; gap: 64px; }
}

.cat-index { display: none; }
@media (min-width: 1024px) {
  .cat-index { display: block; position: sticky; top: 112px; align-self: start; }
  .cat-index ul { list-style: none; display: grid; gap: 2px; }
  .cat-index a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius);
    color: var(--steel);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 300ms var(--ease), color 300ms var(--ease);
  }
  .cat-index a:hover { color: var(--ink); background: var(--surface-2); }
  .cat-index a.is-current { color: var(--ink); background: var(--surface-2); }
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px var(--gutter) 12px;
  margin-inline: calc(var(--gutter) * -1);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  list-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips li { scroll-snap-align: start; flex: none; }
.chips a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .chips { display: none; }
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  list-style: none;
  color: var(--ink);
  font-weight: 600;
}
.formats li { display: inline-flex; align-items: center; gap: 8px; }
.formats .icon { color: var(--green); }

.item {
  display: grid;
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.item:first-child { padding-top: 0; border-top: 0; }
.item figure { margin: 0; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.item figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.item h2 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
.item .desc { margin-top: 12px; color: var(--steel); font-size: 1.125rem; line-height: 1.75rem; max-width: 60ch; }
.item h3 {
  margin-top: 24px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--steel);
  font-weight: 600;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; }
.tags li {
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--surface-2);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.item .see { margin-top: 16px; color: var(--steel); font-size: 0.875rem; line-height: 1.25rem; }
.item .see a { color: var(--ink); font-weight: 600; }
.item .btn { margin-top: 24px; }
@media (min-width: 768px) {
  .item { grid-template-columns: 5fr 6fr; gap: 40px; align-items: start; }
}

/* ---------- Punti di forza (azienda) ---------- */
.points { display: grid; gap: 40px; list-style: none; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.points .icon { width: 28px; height: 28px; color: var(--red-text); margin-top: 4px; }
.points h3 { font-size: 1.25rem; line-height: 1.75rem; }
.points p { margin-top: 8px; color: var(--steel); }
@media (min-width: 900px) {
  .points { grid-template-columns: 1fr 1fr; gap: 48px 64px; }
}

/* ---------- Chiusura con invito ---------- */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.closing .wrap { display: grid; gap: 24px; }
.closing p { color: var(--steel); font-size: 1.125rem; line-height: 1.75rem; max-width: 560px; margin-top: 12px; }
.closing .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .closing .wrap { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
}

/* ---------- Modulo ---------- */
.form-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .form-layout { grid-template-columns: 7fr 5fr; gap: 80px; }
}
.form {
  display: grid;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
@media (min-width: 768px) {
  .form { grid-template-columns: 1fr 1fr; padding: 40px; }
  .form .full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; }
.field label .opt { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.field textarea { min-height: 144px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
  border-radius: var(--radius);
}
.field .help { color: var(--steel); font-size: 0.875rem; line-height: 1.25rem; }
.field .err {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--red-text);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.field .err .icon { width: 16px; height: 16px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red-text); }
.field.invalid .err { display: flex; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check label { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; color: var(--steel); }
.check label a { color: var(--ink); font-weight: 600; }

.form-foot { display: grid; gap: 16px; }
.form-foot .btn { justify-self: start; }

.status {
  display: none;
  gap: 12px;
  grid-template-columns: 24px 1fr;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.status .icon { width: 24px; height: 24px; }
.status.show { display: grid; }
.status.ok { background: rgb(31 122 62 / 0.1); color: var(--ink); }
.status.ok .icon { color: var(--green); }
.status.ko { background: rgb(193 18 31 / 0.08); color: var(--ink); }
.status.ko .icon { color: var(--red-text); }
.status strong { display: block; font-size: 1rem; line-height: 1.5rem; }

.side h2 { font-size: 1.5rem; line-height: 2rem; }

/* ---------- Testo lungo (privacy) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 40px; font-size: 1.5rem; line-height: 2rem; }
.prose p { margin-top: 12px; color: var(--steel); }
.prose a { color: var(--ink); font-weight: 600; }
.flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--flag-bg);
  color: var(--flag-ink);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

/* ---------- Piede ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.site-footer .wrap { padding-block: 64px 32px; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 768px) {
  .foot-grid { grid-template-columns: 4fr 2fr 3fr 3fr; gap: 32px; }
}
.foot-brand .plate {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--plate);
}
.foot-brand .plate img { width: 111px; height: 44px; }
.foot-brand p { margin-top: 16px; max-width: 32ch; }
.site-footer h2 { color: var(--footer-strong); font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
@media (hover: hover) {
  .site-footer a:hover { color: var(--footer-strong); text-decoration: underline; text-underline-offset: 4px; }
}
.site-footer address { font-style: normal; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
}

/* ---------- 404 ---------- */
.notfound { min-height: 80dvh; display: flex; align-items: center; }
.notfound .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Movimento ridotto ----------
   Niente spostamenti, zoom o sfocature: restano solo brevi dissolvenze,
   così i cambi di stato (menu aperto, barra comparsa) si vedono ancora. */
@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  .menu-toggle span { transition: none; }
  .mobile-nav li, .menu-open .mobile-nav li { transform: none; transition: opacity 200ms var(--ease); transition-delay: 0ms; }
  .action-bar { transition: opacity 200ms var(--ease); }
  .action-bar.is-hidden { transform: none; }
  .faq summary::after { transition: none; }
  .map iframe { transition: opacity 200ms var(--ease); }
}

/* Nome italiano accanto al nome inglese dei prodotti */
.it-name { color: var(--steel); font-weight: 500; }
