:root {
    --blu: #2C56A3;
  --blu-700: #1D3A6E;
  --rosso: #AA1917;
  --rosso-800: #7E1211;

    --tavola: #0F2142;
  
  --tavola-profonda: #0A1730;
  --linea-tavola: rgba(206, 220, 245, .62);
  --linea-tavola-tenue: rgba(206, 220, 245, .14);

    --inchiostro: #121821;
  --inchiostro-2: #464C57;
  --zinco: #D5DBE4;
  --zinco-chiaro: #E9EDF2;
  --carta: #F4F6F9;
  --bianco: #FFFFFF;

    --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --stretto: 70%;     --largo: 122%;    
    --t-hero: clamp(3.2rem, 1rem + 5.4vw, 7.4rem);
  --t-h2: clamp(2.6rem, 1.2rem + 4.2vw, 5.6rem);
  --t-h3: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
  --t-lead: clamp(1.15rem, 1rem + .45vw, 1.4rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --t-label: .8125rem;

    --gutter: clamp(20px, 4vw, 56px);
  --sezione: clamp(88px, 6vw + 48px, 168px);
  --max: 1360px;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

    --telo: repeating-linear-gradient(90deg, var(--blu) 0 28px, var(--rosso) 28px 56px);
}

@media (min-width: 1800px) {
  :root { --max: 1600px; }
}
@media (min-width: 2200px) {
  :root { --max: 1840px; }
  html { font-size: 112.5%; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--inchiostro);
  background: var(--bianco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }

::selection { background: var(--blu); color: var(--bianco); }

:focus-visible {
  outline: 2px solid var(--blu);
  outline-offset: 3px;
  border-radius: 2px;
}
.su-scuro :focus-visible { outline-color: #9DB6E8; }
.su-scuro .mega :focus-visible, .su-scuro .modulo :focus-visible, .testata.is-chiusa :focus-visible { outline-color: var(--blu); }

.icona {
  width: 1.15em; height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: -.2em;
}
.icona--piccola { width: .8em; height: .8em; vertical-align: 0; }

.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;
}

.salta {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--bianco); color: var(--inchiostro);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.salta:focus { top: 12px; }

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

.titolo {
  font-stretch: var(--stretto);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.titolo--h2 { font-size: var(--t-h2); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--inchiostro-2);
  max-width: 34em;
  text-wrap: pretty;
}

.etichetta {
  font-size: var(--t-label);
  font-stretch: 112%;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
}

.btn {
  --btn-bg: var(--rosso);
  --btn-fg: var(--bianco);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 105%;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--rosso-800); }
}

.btn--linea {
  --btn-bg: transparent;
  --btn-fg: var(--bianco);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
  transition: box-shadow .2s ease, background-color .2s ease, transform .16s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn--linea:hover { --btn-bg: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px var(--bianco); }
}

.link {
  font-weight: 650;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 30% 1.5px; }
}

.testata {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--bianco);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.testata::after {
    content: "";
  position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--telo);
  background-size: 56px 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.testata.is-scorsa:not(.is-chiusa) {
  background: rgba(15, 33, 66, .97);
}
.testata.is-chiusa {
  background: var(--bianco);
  color: var(--inchiostro);
}
.testata.is-chiusa::after { transform: scaleX(1); }

.testata__barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
  transition: height .3s var(--ease-out);
}
.testata.is-chiusa .testata__barra { height: 72px; }

.testata__logo {
  display: block; flex: none;
  align-self: flex-start;
  background: var(--bianco);
  padding: 20px 14px 12px;
  border-radius: 0 0 4px 4px;
  transition: padding .3s var(--ease-out), background-color .3s ease;
}
.testata__logo img { height: 66px; width: auto; transition: height .3s var(--ease-out); }
.testata.is-chiusa .testata__logo { align-self: center; padding: 0; background: transparent; }
.testata.is-chiusa .testata__logo img { height: 50px; }
@media (max-width: 600px) {
  .testata__logo { padding: 14px 10px 9px; }
  .testata__logo img { height: 48px; }
  .testata.is-chiusa .testata__logo img { height: 40px; }
}

.menu { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.menu a, .menu__apri {
  position: relative;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
}
.menu__apri {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; color: inherit;
}
.menu__apri .icona { transition: transform .2s var(--ease-out); }
.menu__gruppo { position: relative; }
.menu__gruppo.is-aperto .menu__apri .icona { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -28px;
  width: min(680px, 80vw);
  display: grid; grid-template-columns: 1.35fr 1fr;
  background: var(--bianco); color: var(--inchiostro);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(10, 23, 48, .28);
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(.985);
  transform-origin: 40px 0;
  transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s linear .22s;
}
.menu__gruppo.is-aperto .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega__voci { list-style: none; margin: 0; padding: 14px; display: grid; gap: 2px; }
.menu .mega__voci a {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 2px;
  transition: background-color .15s ease;
}
.menu .mega__voci a::after { display: none; }
.mega__voci a:hover, .mega__voci a:focus-visible { background: #F1F4FA; }
.icona--mega {
  width: 40px; height: 40px; padding: 9px;
  background: #E8EEF8; color: var(--blu); border-radius: 2px;
}
.mega__voci strong { display: block; font-size: 1rem; font-stretch: 92%; font-weight: 750; line-height: 1.2; }
.mega__voci small { display: block; font-size: .8125rem; font-weight: 400; color: var(--inchiostro-2); }
.menu .mega__promo {
  position: relative; display: flex; align-items: flex-end;
  padding: 18px; color: var(--bianco); min-height: 220px;
}
.menu .mega__promo::after { display: none; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__promo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,23,48,.9), rgba(10,23,48,.1) 70%);
}
.mega__promo span { position: relative; z-index: 2; font-weight: 700; font-stretch: 92%; line-height: 1.25; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--rosso);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .menu a:hover::after { transform: scaleX(1); }
}
.menu a[aria-current="true"]::after { transform: scaleX(1); }

.testata__azioni { display: flex; align-items: center; gap: 22px; }
.testata__tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.testata .btn { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

.testata__hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; padding: 10px; cursor: pointer;
}
.testata__hamburger span {
  display: block; height: 2px; background: currentColor; margin: 5px 0;
  transition: transform .25s var(--ease-out), opacity .2s ease;
}
.testata__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.testata__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.testata__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu, .testata__tel, .testata__azioni .btn { display: none; }
  .testata__hamburger { display: block; }
}

.pannello {
  position: fixed; inset: 0; z-index: 90;
  background: var(--tavola);
  color: var(--bianco);
  padding: 110px var(--gutter) 120px;
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .3s var(--ease-drawer), visibility 0s linear .3s;
}
.pannello.is-aperto {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .42s var(--ease-drawer), visibility 0s;
}
.pannello nav { display: flex; flex-direction: column; }
.pannello nav a {
  font-size: clamp(2.4rem, 11vw, 4rem);
  font-stretch: var(--stretto);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--linea-tavola-tenue);
}
.pannello__gruppo summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(2.4rem, 11vw, 4rem); font-stretch: var(--stretto); font-weight: 800; line-height: 1.1;
  padding: 6px 0; border-bottom: 1px solid var(--linea-tavola-tenue);
}
.pannello__gruppo summary::-webkit-details-marker { display: none; }
.pannello__gruppo summary .icona { width: .5em; height: .5em; transition: transform .2s var(--ease-out); }
.pannello__gruppo[open] summary .icona { transform: rotate(180deg); }
.pannello nav .pannello__gruppo a { font-size: 1.25rem; font-stretch: 100%; font-weight: 600; padding: 12px 0 12px 4px; }
.pannello__tel {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: auto;
  font-size: 1.25rem; font-weight: 700; text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.barra-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--bianco);
  box-shadow: 0 -1px 0 var(--zinco);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  transform: translateY(110%);
  transition: transform .4s var(--ease-out);
}
.barra-mobile.is-visibile { transform: translateY(0); }
@media (max-width: 760px) { .barra-mobile { transform: none; } }
.barra-mobile a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 2px;
  font-weight: 650; text-decoration: none;
}
.barra-mobile a:first-child { background: var(--blu); color: var(--bianco); }
.barra-mobile a:last-child { background: var(--rosso); color: var(--bianco); }
@media (max-width: 760px) { .barra-mobile { display: grid; } html { scroll-padding-bottom: 90px; } }

.hero {
  position: relative;
  min-height: max(100svh, 720px);
  background-color: var(--tavola);
  background-image:
    linear-gradient(var(--linea-tavola-tenue) 1px, transparent 1px),
    linear-gradient(90deg, var(--linea-tavola-tenue) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
  color: var(--bianco);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 70% 40%, transparent 30%, var(--tavola) 85%);
}

.hero__video {
  position: absolute; inset: 0; z-index: -2;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero.is-video .hero__video { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.hero.is-video::before {
  background: linear-gradient(100deg, rgba(10,23,48,.94) 0%, rgba(10,23,48,.78) 42%, rgba(10,23,48,.25) 100%);
}
.hero__tavola { transition: opacity .5s ease; }
.hero.is-video .hero__tavola { opacity: 0; visibility: hidden; }

.hero__controlli {
  position: absolute; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
}
.anteprima-hero {
  display: flex; align-items: center; gap: 2px;
  padding: 4px;
  background: rgba(10, 23, 48, .78);
  border: 1px solid var(--linea-tavola-tenue);
  border-radius: 2px;
  font-size: .8125rem;
}
.anteprima-hero span { padding: 0 8px 0 6px; color: rgba(255,255,255,.65); }
.anteprima-hero button {
  border: 0; background: transparent; color: var(--bianco);
  padding: 7px 12px; border-radius: 2px; cursor: pointer; font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.anteprima-hero button[aria-pressed="true"] { background: var(--bianco); color: var(--inchiostro); }
.hero__pausa {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  background: rgba(10,23,48,.6); color: var(--bianco); cursor: pointer;
}
.hero__pausa[hidden] { display: none; }

.hero__griglia {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: clamp(24px, 3vw, 48px);
  min-height: max(100svh, 720px);
  padding-top: 92px;
}

.hero__testo {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 48px 64px;
}
.hero h1 {
    font-size: min(var(--t-hero), 13.7cqi);
  margin-bottom: .32em;
}
.hero h1 .riga { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero h1 .riga > span { display: block; }
.hero__sotto {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  max-width: 30em;
  margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__sicurezza {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px; align-self: flex-start;
  color: var(--bianco); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px;
  transition: border-color .2s ease;
}
.hero__sicurezza .icona { color: #9DB6E8; width: 1.3em; height: 1.3em; flex: none; }
@media (max-width: 960px) { .hero__sicurezza { align-self: center; } }
@media (hover: hover) and (pointer: fine) { .hero__sicurezza:hover { border-color: var(--bianco); } }
@media (prefers-reduced-motion: no-preference) { .js .hero__sicurezza { animation: appare .8s var(--ease-out) both .7s; } }

.hero__tavola {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}
.disegno {
  width: 100%;
  height: auto;
  max-height: calc(max(100svh, 720px) - 92px - 70px);
  margin-bottom: 70px;
  overflow: visible;
}

.d-griglia line { stroke: var(--linea-tavola-tenue); }
.d-edificio { fill: var(--tavola); stroke: var(--linea-tavola); stroke-width: 1.2; }
.d-edificio .fine { stroke-width: .8; fill: none; }
.d-torri { fill: var(--tavola); stroke: var(--linea-tavola); stroke-width: 1; stroke-dasharray: 5 4; opacity: .55; }
.d-ponteggio line { stroke: #E9F0FC; stroke-linecap: square; }
.d-montante { stroke-width: 1.6; }
.d-impalcato { stroke-width: 2.6; }
.d-corrente { stroke-width: .9; opacity: .75; }
.d-diagonale { stroke-width: 1.1; opacity: .9; }
.d-basetta { fill: #E9F0FC; }
.d-quote { stroke: #9DB6E8; fill: #9DB6E8; font-family: var(--font); }
.d-quote line { stroke-width: .9; }
.d-quote text {
  stroke: none;
  font-size: 13px;
  font-stretch: 112%;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .riga > span { animation: sale .9s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms); }
  .js .hero__sotto, .js .hero__cta { animation: appare .8s var(--ease-out) both; animation-delay: .45s; }
  .js .hero__cta { animation-delay: .55s; }

  .js .d-torri { animation: appare-torri 1s ease both .2s; }
  .js .d-edificio { animation: appare .6s ease both; }
  .js .d-montante {
    transform-box: fill-box; transform-origin: 50% 100%;
    animation: monta-v .75s var(--ease-out) both;
    animation-delay: calc(var(--d) * 1ms);
  }
  .js .d-impalcato, .js .d-corrente {
    transform-box: fill-box; transform-origin: 0 50%;
    animation: monta-h .55s var(--ease-out) both;
    animation-delay: calc(var(--d) * 1ms);
  }
  .js .d-diagonale {
    stroke-dasharray: var(--len) var(--len);
    animation: traccia .45s var(--ease-out) both;
    animation-delay: calc(var(--d) * 1ms);
  }
  .js .d-basetta { animation: appare .3s ease both; animation-delay: calc(var(--d) * 1ms); }
  .js .d-telo { animation: srotola 1.4s var(--ease-in-out) both 2.25s; }
  .js .hero--rapido .d-montante, .js .hero--rapido .d-impalcato, .js .hero--rapido .d-corrente, .js .hero--rapido .d-diagonale, .js .hero--rapido .d-basetta { animation-delay: calc(var(--d) * .35ms); }
  .js .hero--rapido .d-telo { animation-duration: 1.1s; animation-delay: .8s; }
  .js .hero--rapido .d-quote { animation-delay: 1.4s; }
  .js .d-quote { animation: appare .5s ease both 3.25s; }
}

@keyframes sale { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes appare { from { opacity: 0; } to { opacity: 1; } }
@keyframes appare-torri { from { opacity: 0; } to { opacity: .55; } }
@keyframes monta-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes monta-h { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes traccia { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes srotola { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: no-preference) {
  .js .d-telo-tessuto { animation: vento 6s ease-in-out 3.8s 2; transform-box: fill-box; transform-origin: 50% 0; }
}
.hero.is-fuori .d-telo-tessuto, .hero.is-video .d-telo-tessuto { animation-play-state: paused; }
@keyframes vento {
  0%, 100% { transform: skewX(0deg); }
  50% { transform: skewX(1.2deg); }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .hero__griglia { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__griglia { grid-template-columns: 1fr; min-height: 0; padding-top: 92px; gap: 0; }
  .hero.is-video .hero__griglia { min-height: 100svh; }
  .hero.is-video .hero__tavola { display: none; }
  .hero__controlli { bottom: 14px; }
  .hero__testo { padding-bottom: 76px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .disegno { max-height: none; margin-bottom: 64px; }
}
@media (max-width: 760px) {
  .hero__tavola { order: -1; }
  .disegno { max-height: 34svh; width: auto; margin: 4px auto 0; }
  .hero__testo { padding-top: 20px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .disegno { max-height: 46svh; width: auto; margin-inline: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-rivela] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  }
  .js [data-rivela].is-visto { opacity: 1; transform: none; }
}

.telo-sezione {
  position: relative;
  padding-block: var(--sezione);
  overflow: hidden;
}
.telo-sezione__griglia {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.manifesto {
  font-size: clamp(2.2rem, 1rem + 4vw, 5.2rem);
  font-stretch: var(--stretto);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 clamp(40px, 5vw, 72px);
  text-wrap: balance;
}
.manifesto .p { transition: color .25s linear; }
.js .manifesto .p { color: #8C95A3; }
.js .manifesto .p.is-letta { color: var(--inchiostro); }

.telo-sezione__testo { max-width: 36em; color: var(--inchiostro-2); font-size: 1.125rem; }

.telo-colonna {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  margin: 0;
  border-top: 3px solid var(--inchiostro);
}
.telo-colonna img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.telo-colonna__fasce {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.telo-colonna__fasce span {
  background: var(--blu);
  transform-origin: top;
  transform: scaleY(var(--s, 1));
  will-change: transform;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.3px);
  background-size: 6px 6px;
}
.telo-colonna__fasce span:nth-child(even) { background-color: var(--rosso); }
.telo-colonna figcaption {
  position: absolute; left: 0; bottom: -34px;
  font-size: var(--t-label); color: var(--inchiostro-2);
}

.fatti {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--zinco);
}
.fatto { padding: 26px 24px 0 0; }
.fatto + .fatto { padding-left: 24px; border-left: 1px solid var(--zinco); }
.icona--fatto { width: 48px; height: 48px; color: var(--blu); margin-bottom: 14px; }
.fatto h3 { font-size: 1.1875rem; font-stretch: 90%; font-weight: 750; margin-bottom: 6px; line-height: 1.2; }
.fatto p { color: var(--inchiostro-2); margin: 0; font-size: .9875rem; }

@media (max-width: 860px) {
  .telo-sezione__griglia { grid-template-columns: 1fr; }
  .telo-colonna { min-height: 0; width: 100%; align-self: start; aspect-ratio: 4 / 3; order: -1; margin-bottom: 44px; }
}
@media (max-width: 1080px) and (min-width: 701px) {
  .fatti { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fatto:nth-child(3) { padding-left: 0; border-left: 0; }
  .fatto:nth-child(n+3) { border-top: 1px solid var(--zinco); }
}
@media (max-width: 700px) {
  .fatti { grid-template-columns: 1fr; }
  .fatto + .fatto { padding-left: 0; border-left: 0; border-top: 1px solid var(--zinco); }
  .fatto { padding-bottom: 22px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .fatto .icona--fatto { grid-row: span 2; margin: 0; }
}

.sicurezza {
  background: var(--carta);
  padding-block: var(--sezione) 0;
  border-top: 1px solid var(--zinco);
}
.sicurezza__intesta {
  max-width: 900px;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.sicurezza__intesta .lead { margin: 24px 0 0; }
.sicurezza__marca {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-label); font-weight: 700; font-stretch: 112%;
  color: var(--rosso);
  margin-bottom: 18px;
}
.sicurezza__marca svg { width: 22px; height: 22px; }

.sicurezza__corpo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 96px);
}
.sicurezza__figura {
  position: sticky;
  top: 96px;
  height: calc(100svh - 120px);
  max-height: 820px;
  display: flex; align-items: center; justify-content: center;
}
.sezione-tecnica { width: 100%; height: 100%; }

.st-linea { stroke: var(--blu); fill: none; stroke-width: 2; transition: stroke .35s ease, opacity .35s ease; }
.st-pieno { fill: var(--blu); transition: fill .35s ease, opacity .35s ease; }
.st-muro { fill: url(#tratteggio); stroke: var(--inchiostro); stroke-width: 1.4; }
.st-terreno { stroke: var(--inchiostro); stroke-width: 1.4; }
.st-persona { fill: var(--inchiostro); opacity: .82; }
.st-quota { stroke: var(--inchiostro-2); stroke-width: .9; fill: none; transition: stroke .35s ease; }
.st-quota-testo {
  font-family: var(--font); font-size: 13px; font-weight: 650; font-stretch: 112%;
  fill: var(--inchiostro-2); transition: fill .35s ease;
  font-variant-numeric: tabular-nums;
}
.st-nota {
  font-family: var(--font); font-size: 15px; font-weight: 700; font-stretch: 100%;
  fill: var(--rosso);
  opacity: 0;
  transition: opacity .35s ease;
}
.st-nota-linea { stroke: var(--rosso); stroke-width: 1.2; fill: none; opacity: 0; transition: opacity .35s ease; }
.st-telo-a { stroke: var(--blu); stroke-width: 5; stroke-dasharray: 14 14; fill: none; }
.st-telo-b { stroke: var(--rosso); stroke-width: 5; stroke-dasharray: 14 14; stroke-dashoffset: 14; fill: none; }

.sezione-tecnica[data-passo] [data-parte] { opacity: .32; }
.sezione-tecnica[data-passo] [data-parte].is-attiva { opacity: 1; }
.sezione-tecnica [data-parte].is-attiva .st-linea,
.sezione-tecnica [data-parte].is-attiva.st-linea { stroke: var(--rosso); stroke-width: 3.5; }
.sicurezza__fase { display: none; }
.sezione-tecnica [data-parte].is-attiva .st-pieno { fill: var(--rosso); }
.sezione-tecnica [data-parte].is-attiva .st-quota { stroke: var(--rosso); }
.sezione-tecnica [data-parte].is-attiva .st-quota-testo { fill: var(--rosso); }
.sezione-tecnica [data-parte].is-attiva .st-nota,
.sezione-tecnica [data-parte].is-attiva .st-nota-linea { opacity: 1; }
.sezione-tecnica [data-parte="sempre"] { opacity: 1 !important; }

.passi {
  list-style: none; margin: 0; padding: 0 0 22vh;
  position: relative;
}
.passi::before {
    content: ""; position: absolute; left: 15px; top: 8px; bottom: 22vh; width: 2px;
  background: var(--zinco);
}
.passi__avanzamento {
  position: absolute; left: 15px; top: 8px; width: 2px; height: calc(100% - 22vh - 8px);
  background: var(--rosso);
  transform-origin: top; transform: scaleY(var(--p, 0));
}
.passo {
  position: relative;
  min-height: 62svh;
  padding: 0 0 48px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.passo__nodo {
  position: absolute; left: 6px; top: calc(50% - 30px);
  width: 20px; height: 20px;
  background: var(--carta);
  border: 2px solid var(--zinco);
  transform: rotate(22.5deg);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  transition: background-color .3s ease, border-color .3s ease;
}
.passo.is-attivo .passo__nodo,
.passo.is-fatto .passo__nodo { background: var(--rosso); border-color: var(--rosso); }
.passo__num {
  font-size: var(--t-label); font-weight: 700; font-stretch: 112%;
  color: var(--inchiostro-2); margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.passo h3 {
  font-size: var(--t-h3);
  font-stretch: 85%;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 14px;
}
.passo p { color: var(--inchiostro-2); max-width: 30em; margin: 0; }
.passo p strong { color: var(--inchiostro); font-weight: 700; }
.passo h3, .passo p { transition: color .4s ease; }
.js .passo:not(.is-attivo) h3 { color: var(--inchiostro-2); }
.js .passo:not(.is-attivo) p { color: #5F6672; }

.norme {
  border-top: 1px solid var(--zinco);
  padding-block: 48px var(--sezione);
}
.norme__titolo { font-size: 1.375rem; font-stretch: 90%; font-weight: 800; margin-bottom: 24px; }
.norme__griglia {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.norma {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start;
  background: var(--bianco);
  border: 1px solid var(--zinco);
  border-radius: 4px;
  padding: 18px 20px;
}
.icona--norma { width: 52px; height: 52px; color: var(--blu); grid-row: span 2; }
.norma h3 { font-size: 1.0625rem; font-weight: 750; font-stretch: 95%; line-height: 1.25; margin: 2px 0 4px; }
.norma p { margin: 0; font-size: .9375rem; color: var(--inchiostro-2); line-height: 1.5; }
@media (max-width: 1080px) { .norme__griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .norme__griglia { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .sicurezza__corpo { grid-template-columns: 1fr; gap: 0; }
  .sicurezza__figura {
    top: 68px; height: 46svh; z-index: 2;
    background: var(--carta);
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter);
    border-bottom: 1px solid var(--zinco);
  }
  .passo { min-height: 52svh; padding-left: 52px; }
  .st-nota, .st-nota-linea { display: none; }
  .sicurezza__figura { flex-direction: column; }
  .sezione-tecnica { min-height: 0; flex: 1; }
  .sicurezza__fase { display: block; margin: 4px 0 0; min-height: 1.4em; font-size: .9375rem; font-weight: 700; color: var(--rosso); text-align: center; }
  .st-quota-testo { font-size: 18px; }
  .passi { padding-bottom: 8vh; }
  .passi::before { bottom: 8vh; }
  .passi__avanzamento { height: calc(100% - 8vh - 8px); }
}

.fascia-foto {
  position: relative;
  height: 180svh;
  background: var(--tavola);
}
.fascia-foto__ferma {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
}
.fascia-foto__ferma img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--sc, 1.12));
  transform-origin: 50% 40%;
  will-change: transform;
}
.fascia-foto__ferma::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,23,48,.82) 0%, rgba(10,23,48,.15) 45%, rgba(10,23,48,0) 70%);
}
.fascia-foto__testo {
  position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vh, 72px); z-index: 1;
  color: var(--bianco);
  opacity: var(--op, 0);
  transform: translateY(calc((1 - var(--op, 0)) * 24px));
}
.fascia-foto__titolo {
  margin: 0;
  font-size: clamp(2.6rem, 1rem + 5vw, 6.5rem);
  font-stretch: var(--stretto); font-weight: 800; line-height: .95;
}
.fascia-foto__luogo { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 650; font-size: 1.0625rem; }
@media (prefers-reduced-motion: reduce) {
  .fascia-foto { height: auto; }
  .fascia-foto__ferma { position: relative; height: clamp(360px, 60vw, 760px); }
  .fascia-foto__ferma img { transform: none; }
  .fascia-foto__testo { opacity: 1; transform: none; }
}

.sistemi { padding-block: var(--sezione); }
.sistemi__intesta { max-width: 820px; margin-bottom: clamp(40px, 5vw, 80px); }
.sistemi__intesta .titolo { margin-bottom: 22px; }

.sistemi__corpo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 88px);
  align-items: start;
}
.indice { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--inchiostro); }
.voce { border-bottom: 1px solid var(--zinco); }
.voce__testa {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 26px 0 22px;
  background: none; border: 0; text-align: left; cursor: pointer;
}
.voce__nome {
  font-size: clamp(2rem, 1rem + 3vw, 3.75rem);
  font-stretch: var(--stretto);
  font-weight: 800;
  line-height: .95;
  transition: color .25s ease, transform .35s var(--ease-out);
}
.voce__per { font-size: var(--t-label); font-weight: 650; font-stretch: 112%; color: var(--inchiostro-2); white-space: nowrap; }
.voce.is-attiva .voce__nome { color: var(--blu); }
@media (hover: hover) and (pointer: fine) {
  .voce__testa:hover .voce__nome { transform: translateX(10px); }
}
.voce__corpo {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease-out);
}
.voce.is-attiva .voce__corpo { grid-template-rows: 1fr; }
.voce__corpo > div { overflow: hidden; visibility: hidden; transition: visibility 0s .3s; }
.voce.is-attiva .voce__corpo > div { visibility: visible; transition: visibility 0s; }
.voce__corpo p { color: var(--inchiostro-2); max-width: 36em; margin-bottom: 18px; }
.specifiche {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  border: 1px solid var(--zinco);
}
.specifiche > div { padding: 12px 14px; border-right: 1px solid var(--zinco); }
.specifiche > div:last-child { border-right: 0; }
.specifiche dt { font-size: .75rem; font-stretch: 112%; color: var(--inchiostro-2); margin-bottom: 2px; }
.specifiche dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; font-size: .9875rem; }
.voce__corpo .link { display: inline-block; margin-bottom: 30px; color: var(--blu); }
.voce__figura-mobile { display: none; }

.anteprima {
  position: sticky; top: 100px;
  display: grid;
  grid-template-rows: auto auto;
  gap: 0;
}
.anteprima { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.anteprima__schema, .anteprima__foto {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.anteprima__schema > *, .anteprima__foto > * { min-width: 0; }
.anteprima__schema > *, .anteprima__foto > * { grid-area: 1 / 1; }
.anteprima__schema {
  background-color: var(--tavola);
  background-image:
    linear-gradient(var(--linea-tavola-tenue) 1px, transparent 1px),
    linear-gradient(90deg, var(--linea-tavola-tenue) 1px, transparent 1px);
  background-size: 24px 24px;
  aspect-ratio: 16 / 10;
}
.anteprima__foto { aspect-ratio: 16 / 9; overflow: hidden; background: var(--zinco-chiaro); }
.anteprima__foto img { width: 100%; height: 100%; object-fit: cover; }
.anteprima [data-sistema] {
  opacity: 0;
  transition: opacity 0s linear .25s, transform .6s var(--ease-out);
}
.anteprima__foto [data-sistema] { transform: scale(1.04); }
.anteprima [data-sistema].is-attivo { opacity: 1; transform: none; z-index: 1; transition: opacity .25s ease, transform .6s var(--ease-out); }
.anteprima__didascalia {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0 0;
  font-size: var(--t-label); color: var(--inchiostro-2); font-stretch: 112%;
}

.schema { width: 100%; height: 100%; padding: 4% 8%; }
.schema .s-linea { fill: none; stroke: #E9F0FC; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.schema .s-fine { fill: none; stroke: #9DB6E8; stroke-width: 1; }
.schema .s-rosso { fill: none; stroke: #E04A47; stroke-width: 2; }
.schema text { font-family: var(--font); font-size: 12px; font-weight: 600; font-stretch: 112%; fill: #9DB6E8; color: #9DB6E8; }
@media (prefers-reduced-motion: no-preference) {
  .schema [pathLength] { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  .is-attivo > .schema [pathLength] {
    animation: traccia-schema .9s var(--ease-out) forwards;
    animation-delay: calc(var(--d, 0) * 1ms);
  }
}
@keyframes traccia-schema { to { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .sistemi__corpo { grid-template-columns: 1fr; }
  .anteprima { display: none; }
  .voce__figura-mobile { display: block; margin: 0 0 22px; aspect-ratio: 16 / 10; overflow: hidden; }
  .voce__figura-mobile img { width: 100%; height: 100%; object-fit: cover; }
  .specifiche { grid-template-columns: 1fr; }
  .specifiche > div { border-right: 0; border-bottom: 1px solid var(--zinco); }
  .specifiche > div:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .voce__per { white-space: normal; text-align: right; max-width: 9em; }
}

.numeri {
  background: var(--blu);
  color: var(--bianco);
  position: relative;
}
.numeri__campate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-inline: 2px solid rgba(255,255,255,.45);
  position: relative;
}
.numeri__campate::before, .numeri__campate::after {
    content: ""; position: absolute; left: -2px; right: -2px; height: 3px; background: rgba(255,255,255,.55);
}
.numeri__campate::before { top: 0; }
.numeri__campate::after { bottom: 0; }
.campata {
  container-type: inline-size;
  position: relative;
  padding: clamp(44px, 5vw, 76px) clamp(16px, 2vw, 32px) clamp(40px, 4vw, 64px);
  border-left: 2px solid rgba(255,255,255,.45);
  overflow: hidden;
}
.campata:first-child { border-left: 0; }
.campata__diagonale {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.campata__diagonale line { stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.campata .contatore {
  position: relative;
  display: flex;
  align-items: flex-start;
  font-size: min(clamp(3rem, 1.4rem + 4.6vw, 6.4rem), 30cqi);
  font-stretch: var(--largo);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  height: 1em;
  overflow: hidden;
  margin-bottom: 18px;
}
.rullo { display: block; height: 1em; overflow: hidden; flex: none; }
.contatore__extra { flex: none; margin-left: .06em; }
.contatore[data-extra="cm"] .contatore__extra { margin-left: .2em; font-size: .5em; align-self: flex-end; line-height: 1.6; }
.rullo__striscia { display: flex; flex-direction: column; }
.rullo__striscia span { display: block; height: 1em; }
.contatore__extra { color: rgba(255,255,255,.7); }
.campata h3 .icona { margin-right: 8px; opacity: .85; }
.campata__titolo { margin: 0 0 6px; }
.campata__etichetta { display: block; }
.campata h3 { font-size: 1.125rem; font-weight: 700; font-stretch: 100%; margin-bottom: 4px; }
.campata p { font-size: .9375rem; color: rgba(255,255,255,.78); margin: 0; max-width: 18em; }

@media (max-width: 420px) {
  .campata { padding-inline: 12px; }
  .campata h3 { font-size: 1rem; }
}
@media (max-width: 860px) {
  .numeri__campate { grid-template-columns: 1fr; }
  .campata { border-left: 0; }
  .campata + .campata { border-top: 3px solid rgba(255,255,255,.55); }
}

.cantieri { padding-block: var(--sezione); }
.cantieri__intesta { max-width: 820px; margin-bottom: clamp(36px, 4vw, 64px); }
.cantieri__intesta .lead { margin: 18px 0 0; }

.mosaico {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 230px);
  gap: clamp(10px, 1.2vw, 18px);
  list-style: none; margin: 0; padding: 0;
}
.scheda { position: relative; overflow: hidden; background: var(--zinco-chiaro); border-radius: 4px; }
.scheda a { position: absolute; inset: 0; color: var(--bianco); text-decoration: none; }
.scheda a:focus-visible { outline: 3px solid var(--bianco); outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--blu); z-index: 2; }
.scheda img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scheda__base, .scheda__seconda {
  transition: transform 1.1s var(--ease-out), opacity .7s var(--ease-out);
}
.scheda__seconda { opacity: 0; transform: scale(1.08); }
.scheda.is-girata .scheda__base { transform: scale(1.06); }
.scheda.is-girata .scheda__seconda { opacity: 1; transform: scale(1); }
.scheda__testo {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 56px 20px 18px;
  background: linear-gradient(to top, rgba(10,23,48,.9), rgba(10,23,48,0));
}
.scheda__testo h3 { font-size: clamp(1.15rem, .9rem + .7vw, 1.6rem); font-stretch: 85%; font-weight: 800; line-height: 1.05; }
.scheda__testo p { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .875rem; line-height: 1.3; color: rgba(255,255,255,.88); }
.scheda__testo p .icona { width: 1em; height: 1em; flex: none; }
.scheda__testo h3, .scheda__testo p { transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .scheda.is-girata .scheda__testo h3, .scheda.is-girata .scheda__testo p { transform: translateY(-4px); }
}

.scheda--torre { grid-column: span 4; grid-row: span 3; }
.scheda--dante { grid-column: span 4; grid-row: span 2; }
.scheda--campanile { grid-column: span 4; grid-row: span 2; }
.scheda--zamboni { grid-column: span 8; grid-row: span 1; }
.scheda--piccola { grid-column: span 3; grid-row: span 2; }

.cantieri__cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.btn--blu { --btn-bg: var(--blu); }
@media (hover: hover) and (pointer: fine) { .btn--blu:hover { --btn-bg: var(--blu-700); } }

@media (max-width: 900px) {
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; }
  .scheda--torre { grid-column: span 1; grid-row: span 2; }
  .scheda--dante, .scheda--campanile, .scheda--piccola { grid-column: span 1; grid-row: span 1; }
  .scheda--zamboni { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .scheda__testo { padding: 40px 12px 12px; }
  .scheda--dante .scheda__testo p, .scheda--campanile .scheda__testo p, .scheda--piccola .scheda__testo p { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .scheda[data-rivela] { transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
}

.domande { padding-block: var(--sezione); background: var(--carta); border-top: 1px solid var(--zinco); }
.domande__griglia {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 6vw, 112px);
  align-items: start;
}
.domande__intesta { position: sticky; top: 110px; }
.domande__intesta .lead { margin-top: 20px; }
.domanda { border-bottom: 1px solid var(--zinco); }
.domanda:first-child { border-top: 0; }
.domanda:first-child summary { padding-top: 4px; }
.domande__intesta .lead a { color: var(--blu); font-weight: 650; white-space: nowrap; }
.domanda summary {
  list-style: none;
  display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 20px; align-items: center;
  padding: 24px 0;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  font-weight: 700;
  font-stretch: 95%;
  line-height: 1.25;
  cursor: pointer;
}
.domanda summary::-webkit-details-marker { display: none; }
.domanda__segno { position: relative; width: 28px; height: 28px; }
.domanda__segno::before, .domanda__segno::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 13px; height: 2px; background: var(--blu);
  transition: transform .3s var(--ease-out);
}
.domanda__segno::after { transform: rotate(90deg); }
.domanda.is-aperta .domanda__segno::after { transform: rotate(0deg); }
.domanda__risposta {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease-out);
}
.domanda.is-aperta .domanda__risposta { grid-template-rows: 1fr; }
.domanda__risposta > div { overflow: hidden; }
.domanda__risposta p { color: var(--inchiostro-2); margin: 0 0 26px; max-width: 40em; }

@media (max-width: 860px) {
  .domande__griglia { grid-template-columns: 1fr; }
  .domande__intesta { position: static; }
}

.contatti { background: var(--carta); border-top: 1px solid var(--zinco); }
.contatti__griglia {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 100%;
}
.contatti__lato {
  position: relative; overflow: hidden;
  color: var(--bianco);
  display: flex; align-items: flex-end;
  padding: var(--sezione) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.contatti__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contatti__lato::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,23,48,.18) 0%, rgba(10,23,48,.45) 35%, rgba(10,23,48,.92) 72%, rgba(10,23,48,.97) 100%);
}
.contatti__info { position: relative; z-index: 2; max-width: 30em; }
.contatti__info .titolo { margin-bottom: 20px; }
.contatti__info .lead { color: rgba(255,255,255,.86); margin-bottom: 28px; }
.contatti__oppure { margin: 0 0 4px; font-size: var(--t-label); font-weight: 650; font-stretch: 112%; color: rgba(255,255,255,.7); }
.contatti__tel {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  font-stretch: var(--largo); font-weight: 750; letter-spacing: -.01em;
  text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
  margin-bottom: 28px;
}
.icona--tel { width: .8em; height: .8em; color: #9DB6E8; }
.recapiti { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; font-style: normal; color: rgba(255,255,255,.88); }
.recapiti strong { display: block; color: var(--bianco); margin-bottom: 8px; }
.recapiti > span { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.recapiti > span .icona { color: #9DB6E8; position: relative; top: .15em; flex: none; }
.recapiti a { color: inherit; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.recapiti .link { display: inline-block; margin-top: 14px; color: var(--bianco); }

.contatti__modulo {
  padding: var(--sezione) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) var(--sezione) clamp(24px, 4vw, 64px);
}
.modulo { max-width: 760px; }
.modulo__testa { margin-bottom: 28px; }
.modulo__testa h3 { font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.4rem); font-stretch: var(--stretto); font-weight: 800; line-height: 1; }
.modulo__testa p { margin: 8px 0 0; color: var(--inchiostro-2); font-size: .9375rem; }

.campi { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 22px; }
.campo { min-width: 0; margin: 0; padding: 0; border: 0; }
.campo--pieno { grid-column: 1 / -1; }
fieldset.campo { margin-bottom: 22px; }
.campo > label, .campo legend, .campo__etichetta {
  display: block; padding: 0;
  font-size: .875rem; font-weight: 650;
  color: var(--inchiostro);
  margin-bottom: 8px;
}
.obbl { color: var(--rosso); }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"], .campo textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #A9B3C1;
  border-radius: 4px;
  background: var(--bianco);
  font-size: 1rem;
  color: var(--inchiostro);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.campo input::placeholder, .campo textarea::placeholder { color: #66707E; }
@media (hover: hover) and (pointer: fine) {
  .campo input:hover, .campo textarea:hover { border-color: #7C8796; }
}
.campo input:focus-visible, .campo textarea:focus-visible {
  outline: none;
  border-color: var(--blu);
  box-shadow: 0 0 0 3px rgba(44, 86, 163, .22);
}
.campo.ha-errore input { border-color: var(--rosso); box-shadow: 0 0 0 3px rgba(170, 25, 23, .14); }
.errore { margin: 6px 0 0; font-size: .8125rem; color: var(--rosso); min-height: 0; }
.errore:empty { display: none; }
.errore--info { color: var(--inchiostro-2); }

.scelte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.scelte input { position: absolute; opacity: 0; pointer-events: none; }
.scelte label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 14px;
  border: 1px solid #C3CBD6; border-radius: 4px;
  background: var(--bianco);
  font-size: .9375rem; font-weight: 650;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.scelte label .icona { width: 26px; height: 26px; color: var(--blu); }
@media (hover: hover) and (pointer: fine) { .scelte label:hover { border-color: #7C8796; } }
.scelte input:checked + label { border-color: var(--blu); background: #EEF3FB; box-shadow: inset 0 0 0 1px var(--blu); }
.scelte input:focus-visible + label { outline: 2px solid var(--blu); outline-offset: 2px; }

.campo > .carica, .carica {
  position: relative;
  display: flex;
  margin: 0;
  font-size: 1rem;
  font-weight: 400; align-items: center; gap: 16px;
  padding: 22px;
  border: 1.5px dashed #9AA5B4; border-radius: 4px;
  background: var(--bianco);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.carica:hover, .carica.is-sopra { border-color: var(--blu); background: #F3F6FC; }
.carica:focus-within { outline: 2px solid var(--blu); outline-offset: 3px; }
.icona--carica { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #E8EEF8; color: var(--blu); flex: none; }
.carica__testo strong { display: block; font-size: 1rem; }
.carica__testo span { display: block; font-size: .875rem; color: var(--inchiostro-2); margin-top: 2px; }
.carica input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.miniature { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.miniature:empty { display: none; }
.miniatura { position: relative; width: 84px; height: 84px; background: var(--zinco-chiaro); border-radius: 4px; overflow: hidden; animation: entra .3s var(--ease-out) both; }
.miniatura img { width: 100%; height: 100%; object-fit: cover; }
.miniatura__file { display: flex; align-items: center; justify-content: center; height: 100%; font-size: .75rem; font-weight: 700; color: var(--inchiostro-2); padding: 6px; text-align: center; word-break: break-all; }
.miniatura button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(18,24,33,.8); color: var(--bianco); font-size: 15px; line-height: 1; cursor: pointer; }
@keyframes entra { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.modulo__fondo { display: grid; gap: 14px; }
.consenso { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--inchiostro); cursor: pointer; }
.consenso input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--blu); flex: none; }
.consenso a { color: var(--blu); }
.btn--pieno { width: 100%; justify-content: center; min-height: 56px; font-size: 1.0625rem; }

.modulo__inviato { display: none; padding: 40px 0; }
.modulo.is-inviato .modulo__inviato { display: block; animation: entra .4s var(--ease-out) both; }
.modulo.is-inviato form { display: none; }
.modulo__inviato h3 { font-size: 2.4rem; font-stretch: var(--stretto); font-weight: 800; margin: 18px 0 10px; }
.modulo__inviato p { color: var(--inchiostro-2); max-width: 28em; }
.modulo__inviato a { color: var(--blu); font-weight: 650; }
.icona.timbro { width: 64px; height: 64px; color: var(--blu); }

@media (max-width: 1080px) {
  .scelte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .contatti__griglia { grid-template-columns: 1fr; }
  .contatti__lato { padding: clamp(72px, 14vw, 120px) var(--gutter) 48px; min-height: 0; }
  .contatti__modulo { padding: 48px var(--gutter) var(--sezione); }
}
@media (max-width: 560px) {
  .campi { grid-template-columns: 1fr; }
  .carica { align-items: flex-start; }
}

.piede {
  background: var(--tavola-profonda);
  color: rgba(255,255,255,.78);
  padding-bottom: 28px;
}
.piede__telo {
  height: clamp(56px, 7vw, 96px);
  display: flex;
  overflow: hidden;
  margin-bottom: clamp(48px, 6vw, 88px);
  position: relative;
}
.piede__telo span { flex: 1 0 28px; background: var(--blu); transform-origin: top; }
.piede__telo span:nth-child(even) { background: var(--rosso); }
.piede__telo::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.2) 1px, transparent 1.3px);
  background-size: 6px 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .js .piede__telo span { transform: scaleY(0); transition: transform .9s var(--ease-in-out); transition-delay: calc(var(--i) * 18ms); }
  .js .piede__telo.is-visto span { transform: scaleY(1); }
}
.piede__griglia {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: 32px;
  margin-bottom: 64px;
}
.piede__targa { display: inline-block; background: var(--bianco); padding: 10px 12px; border-radius: 2px; margin-bottom: 18px; }
.piede__marchio img { height: 48px; width: auto; }
.piede__marchio p { max-width: 22em; font-size: .9375rem; }
.piede__titolo { font-size: .8125rem; font-weight: 650; font-stretch: 112%; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.piede a { overflow-wrap: anywhere; }
.piede .con-icona { display: grid; grid-template-columns: 1.15em minmax(0, 1fr); gap: 10px; align-items: baseline; }
.piede .con-icona .icona { color: #9DB6E8; position: relative; top: .15em; }
.piede ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.piede a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .piede a:hover { color: var(--bianco); text-decoration: underline; text-underline-offset: 3px; } }
.piede__legale {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .8125rem; color: rgba(255,255,255,.55);
}
.piede__legale div { display: flex; gap: 20px; }

@media (max-width: 860px) {
  .piede__griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .piede__marchio, .piede__griglia > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .piede { padding-bottom: 96px; } }

@media (prefers-reduced-motion: reduce) {
  .voce__nome, .scheda__base { transition: color .25s ease; }
}

.avviso {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  max-width: calc(100vw - 32px);
  background: var(--inchiostro); color: var(--bianco);
  padding: 14px 18px; border-radius: 2px;
  font-size: .9375rem; box-shadow: 0 16px 40px rgba(10,23,48,.35);
  transform: translate(-50%, calc(100% + 48px));
  visibility: hidden;
  transition: transform .3s var(--ease-out), visibility 0s linear .3s;
}
.avviso.is-visibile { transform: translate(-50%, 0); visibility: visible; transition: transform .3s var(--ease-out), visibility 0s; }
@media (max-width: 760px) { .avviso { bottom: 92px; } }

@media (prefers-reduced-motion: reduce) {
  .domanda__risposta, .voce__corpo { transition: none; }
}

.avviso:empty { display: none; }

@media (max-width: 760px) { body { padding-bottom: 72px; } }
