/* LS Office — foglio di stile unico. Direzione "aziendale" (proposta F): colori ufficiali del logo, foto reali delle macchine. */
:root {
  /* colori ufficiali del logo: #0054A8 blu, #003C84 blu scuro, #0C90D8 azzurro, #1B3767 blu notte */
  --ink: #1b3767;
  --ink-soft: #3a4a66;
  --muted: #55627a;
  --paper: #ffffff;
  --surface: #ffffff;
  --tint: #f3f6fb;
  --line: #dce3ee;
  --brand: #0054a8;
  --brand-deep: #003c84;
  --brand-tint: #e8f1fb;
  --navy: #1b3767;
  --navy-dark: #12264a;
  --cyan: #0c90d8;
  --wa: #1f8a4c;
  --wa-deep: #18703d;

  /* Plus Jakarta Sans è caricato in locale da /assets/fonts/ se presente; altrimenti font di sistema */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --text-sm: 0.9375rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --text-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --text-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --text-h1: clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);

  --radius-s: 8px; --radius-m: 14px; --radius-l: 16px;
  --shadow-s: 0 1px 2px rgb(18 38 74 / 0.06), 0 8px 24px rgb(18 38 74 / 0.08);
  --shadow-m: 0 2px 4px rgb(18 38 74 / 0.06), 0 24px 48px rgb(18 38 74 / 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 160ms; --normal: 320ms;
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --header-h: 72px;
  --action-bar-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--text-base)/1.65 var(--font-sans);
  text-rendering: optimizeLegibility;
  word-spacing: 0.04em; /* Plus Jakarta Sans ha uno spazio tra parole molto stretto */
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .site-footer :focus-visible, .card--feature :focus-visible, .cta-band :focus-visible, .skip-link:focus-visible { outline-color: #8fc4ff; }
.btn--primary:focus-visible, .action-bar__item:first-child:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 2px #fff; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -0.01em; word-spacing: 0.08em; margin: 0 0 var(--space-4); text-wrap: balance; }
h1 { font-size: var(--text-h1); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); font-weight: 800; }
h3 { font-size: var(--text-h3); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.2em; }
address { font-style: normal; }
strong { font-weight: 650; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--space-3) var(--space-4); border-radius: var(--radius-s); }
.skip-link:focus { top: var(--space-3); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- registro CMYK: motivo del marchio ---------- */
.register { display: none; }
.register span { width: 22px; height: 4px; border-radius: 2px; }
.register span:nth-child(1) { background: var(--cyan); }
.register span:nth-child(2) { background: var(--magenta); }
.register span:nth-child(3) { background: var(--yellow); }
.register span:nth-child(4) { background: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--header-h); }
.brand img { width: 112px; height: auto; }
.site-nav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); color: var(--ink); font-weight: 600; font-size: var(--text-sm); text-decoration: none; border-radius: var(--radius-s); position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 8px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--normal) var(--ease); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  /* backdrop-filter crea un containing block per i figli fixed: va tolto perché il menu copra la pagina */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .nav-toggle { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 var(--text-sm) var(--font-sans); cursor: pointer; }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--fast) var(--ease); }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -6px; } .nav-toggle__bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: var(--space-5); padding: var(--space-6) var(--gutter); background: var(--paper); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--fast), transform var(--normal) var(--ease), visibility 0s linear var(--normal); }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity var(--fast), transform var(--normal) var(--ease); }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { font-size: 1.25rem; min-height: 56px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .site-nav a:not(.btn)::after { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5); border: 2px solid transparent; border-radius: var(--radius-s); font: 700 var(--text-sm)/1.2 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--fast) var(--ease), background-color var(--fast), box-shadow var(--fast), color var(--fast); }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); color: #fff; box-shadow: 0 6px 16px rgb(0 84 168 / 0.28); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-deep); color: #fff; }
.btn--ghost, .btn--outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover, .btn--outline:hover { background: var(--brand); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.6); }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; color: #fff; }
.btn--lg { min-height: 52px; padding: 0 var(--space-5); font-size: 1rem; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { background: var(--brand-tint); color: var(--brand-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow::after { content: "→" / ""; transition: transform var(--fast) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding-top: var(--space-5); font-size: var(--text-sm); color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/" / ""; margin-right: var(--space-2); color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* ---------- sezioni ---------- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-8); }
.section--surface, .section--tint { background: var(--tint); }
.section--ink { background: linear-gradient(120deg, var(--navy-dark) 0%, var(--brand-deep) 70%, var(--brand) 100%); color: #dbe5f5; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a:not(.btn) { color: #fff; }
.section__head { max-width: 46rem; margin-bottom: var(--space-7); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-5); }
.eyebrow { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--space-3); }
.section--ink .eyebrow { color: #8fc4ff; }
.lead { font-size: var(--text-lead); color: var(--ink-soft); line-height: 1.55; }
.section--ink .lead { color: #c5d4ec; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: var(--space-7); font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
.prose h3 { margin-top: var(--space-6); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 36rem; margin-bottom: var(--space-6); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-6); padding: 0; list-style: none; color: var(--ink-soft); font-size: var(--text-sm); }
.hero__facts li { display: flex; align-items: center; gap: var(--space-2); }
.hero__facts svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.hero__visual { position: relative; }
.hero--page { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 3vw, 4rem); }
.hero--page .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: enter 700ms var(--ease) both; }
  [data-enter] > *:nth-child(2) { animation-delay: 80ms; }
  [data-enter] > *:nth-child(3) { animation-delay: 160ms; }
  [data-enter] > *:nth-child(4) { animation-delay: 240ms; }
  [data-enter] > *:nth-child(5) { animation-delay: 320ms; }
}
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* scheda "documento" nel hero: richiama il foglio stampato */
.sheet { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-m); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.hero__visual { isolation: isolate; }
.sheet__title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-4); }
.sheet__rating { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); }
.sheet__rating strong { font: 700 clamp(3rem, 2rem + 3vw, 4.5rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); }
.stars { color: #f2a900; letter-spacing: 2px; font-size: 1.25rem; }
.sheet__list { list-style: none; padding: 0; margin: var(--space-5) 0 0; border-top: 1px solid var(--line); }
.sheet__list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.sheet__list span:first-child { color: var(--muted); }
.sheet__list span:last-child { font-weight: 600; text-align: right; }

/* ---------- card ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--space-5); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--space-6); transition: transform var(--normal) var(--ease), box-shadow var(--normal) var(--ease), border-color var(--fast); }
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--ink-soft); }
.card > :last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-tint); color: var(--brand); margin-bottom: var(--space-5); }
.card__icon svg { width: 28px; height: 28px; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); border-color: #c9d6ea; }
.card--link h3 a { color: inherit; text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link .link-arrow { margin-top: auto; padding-top: var(--space-4); position: relative; }
.card-grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--services .card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; column-gap: var(--space-6); align-items: center; }
.card-grid--services .card--feature .card__icon { margin: 0; grid-row: span 2; }
.card-grid--services .card--feature p { margin: 0; max-width: 52rem; }
.card-grid--services .card--feature .link-arrow { grid-column: 3; grid-row: 1 / span 2; padding: 0; }
.card--feature { background: var(--brand-deep); border-color: var(--brand-deep); color: #dbe5f5; }
.card--feature h3, .card--feature h3 a { color: #fff; }
.card--feature p { color: #c5d4ec; }
.card--feature .card__icon { background: rgb(255 255 255 / 0.1); color: #8fc4ff; }
.card--feature .link-arrow { color: #fff; }
@media (max-width: 900px) {
  .card-grid--services { grid-template-columns: 1fr; }
  .card-grid--services .card--feature { display: flex; }
  .card-grid--services .card--feature .card__icon { margin-bottom: var(--space-5); }
  .card-grid--services .card--feature .link-arrow { padding-top: var(--space-4); }
}

/* ---------- liste a spunta e step ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231a4fa0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }
.section--ink .checklist li::before { background-color: rgb(255 255 255 / 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238fc4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--space-5); }
.steps li { counter-increment: step; position: relative; padding-top: var(--space-7); border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: var(--space-4); left: 0; font: 700 0.875rem var(--font-display); letter-spacing: 0.1em; color: var(--brand); }
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--ink-soft); font-size: var(--text-sm); margin: 0; }
.section--ink .steps li { border-color: rgb(255 255 255 / 0.3); }
.section--ink .steps li::before { color: #8fc4ff; }
.section--ink .steps p { color: #c5d4ec; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.split--center { align-items: center; }

/* ---------- tabella ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
th, td { text-align: left; padding: var(--space-4); border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--brand-tint); color: var(--brand-deep); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- marchi e zone ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.chips li { padding: var(--space-2) var(--space-4); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: var(--text-sm); }
.section--ink .chips li { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.18); color: #fff; }
.wordmarks { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) clamp(1.5rem, 1rem + 3vw, 3.5rem); list-style: none; padding: 0; margin: 0; }
.wordmarks li { font: 750 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1 var(--font-display); letter-spacing: -0.02em; color: var(--muted); transition: color var(--fast); }
.wordmarks li:hover { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--space-3); max-width: 52rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); transition: border-color var(--fast), box-shadow var(--fast); }
.faq__item[open] { border-color: #c9d6ea; box-shadow: var(--shadow-s); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 56px; padding: var(--space-4) var(--space-5); cursor: pointer; font-weight: 650; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+" / ""; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-size: 1.25rem; transition: transform var(--normal) var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 var(--space-5) var(--space-5); color: var(--ink-soft); }
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- CTA finale ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--brand-deep); color: #dbe5f5; padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--space-6); align-items: center; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--cyan); }
.cta-band h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-band p { margin: 0; color: #c5d4ec; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- contatti / form ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: var(--space-4); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: start; }
.contact-list .card__icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.contact-list .card__icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; }
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4); border: 1.5px solid #767c88; border-radius: var(--radius-s); background: #fff; color: var(--ink); font: inherit; transition: border-color var(--fast), box-shadow var(--fast); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(26 79 160 / 0.15); }
.field__error { color: #b3261e; font-size: 0.875rem; min-height: 0; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: var(--space-3); }
.field--check input { width: 24px; height: 24px; min-height: 0; margin-top: 2px; accent-color: var(--brand); }
.form__note { font-size: 0.875rem; color: var(--muted); margin: 0; }
.map-consent { display: grid; place-items: center; text-align: center; gap: var(--space-4); min-height: 320px; padding: var(--space-6); border-radius: var(--radius-m); background: var(--brand-tint); border: 1px solid #c9d6ea; }
.map-consent iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius-m); }
.map-consent p { max-width: 32rem; color: var(--ink-soft); margin: 0; }

/* ---------- segnaposto da confermare (visibili solo in anteprima) ---------- */
[data-todo] { }
.photo-slot { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-m); background: linear-gradient(135deg, var(--brand-tint), #fff); border: 1px dashed #b9c7de; color: var(--brand); }
.photo-slot svg { width: 64%; height: auto; }
.photo-slot--foto { padding: 0; border: 0; overflow: hidden; background: none; }
.photo-slot--foto img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-dark); color: #aebbd0; padding-top: var(--space-8); font-size: var(--text-sm); }
.site-footer a { color: #e3ebf7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: var(--space-6); padding-bottom: var(--space-7); }
.site-footer__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 0.5rem 0.75rem; margin-bottom: var(--space-4); }
.site-footer__logo img { width: 120px; }
.site-footer__title { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.site-footer address { line-height: 2; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.8125rem; }
.site-footer__legal p { margin: 0; }

/* ---------- barra azioni mobile ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom) + 1rem); }
  body.nav-open .action-bar { display: none; }
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(11 31 58 / 0.08); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--action-bar-h); color: var(--ink); font-size: 0.8125rem; font-weight: 650; text-decoration: none; }
  .action-bar__item:first-child { background: var(--brand); color: #fff; }
  .action-bar__item--wa { color: var(--wa); }
  .action-bar__item:active { transform: scale(0.97); }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .hero--page .hero__grid, .split { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .section__head--split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid, .form__row { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .site-nav__call { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .site-header, .action-bar, .site-footer__grid, .cta-band { display: none; }
  body { background: #fff; padding: 0; }
}

/* ---------- correzioni dalla revisione ---------- */
.hero__grid > :only-child { grid-column: 1 / -1; max-width: 50rem; }
.field--check .field__error { grid-column: 1 / -1; }

/* =====================================================================
   Componenti della direzione "aziendale" (proposta F)
   ===================================================================== */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

/* barra superiore */
.topbar { background: var(--navy); color: #d5deec; font-size: 0.8125rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 40px; }
.topbar p { margin: 0; }
.topbar__addr { display: flex; align-items: center; gap: 0.4rem; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.topbar__links { display: flex; gap: var(--space-5); }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* hero della home */
.home-hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.home-hero h1 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem); }
.home-hero .lead { max-width: 34em; }
.home-hero .checklist { margin: var(--space-5) 0 var(--space-6); font-weight: 500; }
.home-hero .checklist li::before { background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.home-hero__photo { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.home-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%; }

/* preventivo rapido */
.quote { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: var(--space-5) var(--space-6); align-items: end; margin-top: clamp(2rem, 4vw, 3rem); background: #fff; border-radius: var(--radius-l); padding: var(--space-5) 1.75rem; box-shadow: var(--shadow-m); border-left: 5px solid var(--brand); }
.quote__title { font-size: 1.25rem; margin: 0; }
.quote__sub { color: var(--muted); font-size: 0.875rem; margin: 0.35rem 0 0; }
.quote__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--space-3) var(--space-4); align-items: end; }
.quote__form[hidden], .quote__fallback[hidden] { display: none; }
.qfield { display: grid; gap: 0.3rem; min-width: 0; }
.qfield span { font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.qfield select { appearance: none; min-height: 48px; width: 100%; padding: 0.55rem 2.4rem 0.55rem 0.8rem; font: 500 0.9375rem var(--font-sans); color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230054A8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.7rem center/18px no-repeat; border: 1.5px solid #8a97ab; border-radius: var(--radius-s); cursor: pointer; text-overflow: ellipsis; }
.qfield select:hover { border-color: var(--brand); }
.quote__form .btn { min-height: 48px; }
.quote__alt { grid-column: 1 / -1; font-size: 0.875rem; color: var(--muted); margin: 0; }
.quote__alt a { font-weight: 700; }

/* striscia di fiducia */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__list { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__list li { display: flex; align-items: center; gap: 0.85rem; padding: 1.35rem 1rem; border-left: 1px solid var(--line); }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list a { min-height: 44px; display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; }
.trust__big { font: 800 2.25rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; }
.trust__big small { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.trust__txt { display: grid; font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.trust__txt strong { color: var(--ink); font-size: 0.9375rem; }
.trust__txt .stars { font-size: 0.875rem; }
.trust__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); }
.trust__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* servizi con foto */
.services { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: var(--space-5); }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--normal) var(--ease), box-shadow var(--normal) var(--ease), border-color var(--fast); }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: transparent; color: inherit; }
.svc__img { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.svc__img img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-4); transition: transform 400ms var(--ease); }
.svc:hover .svc__img img { transform: scale(1.03); }
.svc__img--dark { background: #0b0b0e; }
.svc__img--dark img { object-fit: cover; padding: 0; }
.svc__body { padding: var(--space-5); display: grid; gap: 0.6rem; align-content: start; flex: 1; }
.svc__body h3 { margin: 0; }
.svc__body p { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.svc__body .link-arrow { margin-top: 0.4rem; color: var(--brand); }
.svc--feature { grid-row: span 2; }
.svc--feature .svc__img { aspect-ratio: auto; flex: 1; min-height: 340px; }
.svc--feature .svc__img img { max-height: 420px; }
.svc--row { grid-column: span 2; flex-direction: row; align-items: center; gap: var(--space-5); padding: var(--space-5); }
.svc--row .svc__body { padding: 0; }
.svc--row .link-arrow { flex: none; color: var(--brand); }
.svc__icon { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 14px; background: var(--brand-tint); }
.svc__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linejoin: round; }

/* offerte (generate da data/offerte.json) */
.offers__note { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.offers--1 { grid-template-columns: minmax(0, 24rem); justify-content: center; }
.offers--2 { grid-template-columns: repeat(2, minmax(0, 24rem)); justify-content: center; }
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: var(--space-5); transition: transform var(--normal) var(--ease), box-shadow var(--normal) var(--ease); }
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.offer--top { border: 2px solid var(--brand); box-shadow: var(--shadow-s); }
.offer__img { height: 220px; display: flex; justify-content: center; margin-bottom: var(--space-4); }
.offer__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.offer__type { font-size: 0.8125rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.offer h3 { margin: 0.2rem 0 0; }
.offer__price { display: flex; align-items: center; gap: 0.6rem; margin: var(--space-4) 0; padding-block: var(--space-4); border-block: 1px solid var(--line); }
.offer__n { font: 800 2.75rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; }
.offer__u { font-size: 0.8125rem; color: var(--muted); line-height: 1.25; font-weight: 600; max-width: 6.5em; }
.offer__inc { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: 0.45rem; font-size: var(--text-sm); flex: 1; align-content: start; }
.offer__inc li { position: relative; padding-left: 1.5rem; }
.offer__inc li::before { content: "✓" / ""; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* come funziona */
.howto { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); position: relative; }
.howto::before { content: ""; position: absolute; top: 24px; left: 24px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.howto li { position: relative; display: grid; gap: var(--space-2); align-content: start; }
.howto__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.125rem; margin-bottom: var(--space-2); box-shadow: 0 0 0 6px #fff; }
.howto h3 { font-size: 1.125rem; margin: 0; }
.howto p { color: var(--muted); font-size: var(--text-sm); margin: 0; }

/* guasto */
.fault { background: linear-gradient(120deg, var(--navy-dark) 0%, var(--brand-deep) 60%, var(--brand) 100%); color: #dce7f5; padding-block: var(--space-section); overflow: hidden; }
.fault__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fault h2 { color: #fff; }
.fault .eyebrow { color: #9fd4f5; }
.fault p { max-width: 36em; }
.fault__img { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 30px 60px rgb(0 0 0 / 0.35); }
.fault__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fault :focus-visible { outline-color: #9fd4f5; }

/* zone e recensioni */
.facts { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; gap: var(--space-5); }
.fact { background: var(--tint); border-radius: var(--radius-l); padding: var(--space-5); display: grid; gap: 0.6rem; align-content: start; }
.fact h3 { font-size: 1.0625rem; margin: 0; }
.fact p { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.fact--rating { background: var(--navy); color: #fff; text-decoration: none; transition: transform var(--normal) var(--ease), box-shadow var(--normal) var(--ease); }
.fact--rating:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); color: #fff; }
.fact--rating p { color: #c9d5e8; }
.fact--rating .link-arrow { color: #9fd4f5; }
.fact--rating:focus-visible { outline-color: var(--cyan); }
.fact__big { font: 800 3.5rem/1 var(--font-display); letter-spacing: -0.03em; }

/* contatti (home) */
.contact { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: var(--space-5); align-items: stretch; }
.contact__addr { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin: var(--space-4) 0 var(--space-5); }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: var(--space-4); padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.contact__card { background: #fff; border-radius: var(--radius-l); padding: 1.75rem; box-shadow: var(--shadow-s); align-self: start; }
.contact__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0; }
.contact__value { font: 800 1.625rem/1.3 var(--font-display); margin: 0 0 var(--space-4); }
.contact__value--sm { font-size: 1.0625rem; }
.contact__value a { color: var(--ink); text-decoration: none; }
.contact__value a:hover { color: var(--brand); text-decoration: underline; }
.contact__btns { display: grid; gap: 0.6rem; margin-top: var(--space-2); }
.contact__photo { aspect-ratio: auto; min-height: 260px; text-align: center; color: var(--muted); font-size: 0.875rem; padding: var(--space-5); background: #fff; }
.contact__photo--img { width: 100%; height: 100%; min-height: 260px; padding: 0; object-fit: cover; border-radius: var(--radius-m); }

/* responsive dei componenti */
@media (max-width: 1080px) {
  .quote { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc--feature { grid-row: auto; grid-column: span 2; flex-direction: row; }
  .svc--feature .svc__img { min-height: 0; flex: 0 0 40%; border-bottom: 0; border-right: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact__photo { grid-column: span 2; }
}
@media (max-width: 860px) {
  .topbar__hours { display: none; }
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__photo img { aspect-ratio: 16 / 10; }
  .quote { border-left: 0; border-top: 5px solid var(--brand); }
  .quote__form { grid-template-columns: 1fr 1fr; }
  .quote__form .btn { grid-column: 1 / -1; }
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__list li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust__list li:nth-child(-n+2) { border-top: 0; }
  .offers, .offers--2 { grid-template-columns: minmax(0, 30rem); justify-content: center; }
  .howto { grid-template-columns: 1fr 1fr; row-gap: var(--space-6); }
  .howto::before { display: none; }
  .fault__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar__addr { display: none; }
  .topbar__in { justify-content: center; }
  .quote { padding: var(--space-5); }
  .quote__form { grid-template-columns: 1fr; }
  .quote__form .btn { white-space: normal; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__list li:nth-child(2) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: 1fr; }
  .svc--feature, .svc--row { grid-column: auto; flex-direction: column; align-items: stretch; }
  .svc--feature .svc__img { border-right: 0; border-bottom: 1px solid var(--line); min-height: 280px; }
  .svc--feature .svc__img img { max-height: 300px; }
  .howto, .facts, .contact { grid-template-columns: 1fr; }
  .contact__photo { grid-column: auto; }
}
