/* --- Carattere: Archivo, servito dal sito stesso --------------
   Prima arrivava da Google Fonts, che riceveva l'indirizzo IP di ogni
   visitatore prima di qualunque consenso. Archivo ha licenza SIL OFL 1.1
   (assets/fonts/OFL.txt), che permette di ridistribuirlo cosi'.
   E' un carattere variabile: un file copre tutti i pesi dal 400 al 600. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   CF Consulting — foglio di stile unico
   ============================================================ */

/* --- 1. Token ---------------------------------------------- */
:root {
  --navy:            #0F1A2B;
  --navy-footer:     #1A2229;
  --red:             #8C1D2C;
  --red-hover:       #A81F2D;
  --red-dark:        #6E1622;
  --red-light:       #C0505F;
  --red-soft:        #D9737F;

  --text:            #1B2430;
  --heading:         #0F1A2B;
  --text-2:          #46505C;
  --label:           #58616D;
  --label-top:       #5A6470;
  --nav-idle:        #6B7580;

  --border:          #E2E5E8;
  --border-strong:   #D5DADF;
  --border-soft:     #F0F2F3;
  --surface:         #F4F5F6;
  --surface-2:       #FAFBFB;
  --surface-panel:   #F7F8F9;
  --media-bg:        #E7EAED;

  --on-navy:         rgba(255,255,255,.76);
  --on-navy-dim:     rgba(255,255,255,.55);
  --on-navy-rule:    rgba(255,255,255,.1);
  --on-navy-rule-2:  rgba(255,255,255,.12);

  --container:       1240px;
  --gutter:          28px;
  --ease:            cubic-bezier(.22,.61,.36,1);
}

/* --- 2. Reset e basi ---------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  overflow-x: clip;
  font-family: Archivo, system-ui, sans-serif;
  color: var(--text);
}

img { display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* --- 3. Animazioni ------------------------------------------ */
@keyframes cf-fade { to { opacity: 1; } }

[data-rv] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-rv].is-in { opacity: 1; transform: none; }

/* La maschera sta su un elemento interno: un clip-path sull'elemento
   osservato azzererebbe l'area di intersezione e l'observer non
   scatterebbe mai. */
[data-title] > span {
  display: block;
  clip-path: inset(0 0 108% 0);
  transform: translateY(12px);
  transition: clip-path .75s var(--ease), transform .75s var(--ease);
}
[data-title].is-in > span { clip-path: inset(-18% 0 -18% 0); transform: none; }

[data-line] {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .85s var(--ease) .12s;
}
[data-line].is-in { transform: scaleX(1); }

/* stagger fra elementi vicini: ~70ms */
[data-rv][data-rv-i="1"] { transition-delay:  70ms; }
[data-rv][data-rv-i="2"] { transition-delay: 140ms; }
[data-rv][data-rv-i="3"] { transition-delay: 210ms; }
[data-rv][data-rv-i="4"] { transition-delay: 280ms; }
[data-rv][data-rv-i="5"] { transition-delay: 350ms; }
[data-rv][data-rv-i="6"] { transition-delay: 420ms; }

.hero-in { opacity: 0; animation: cf-fade 1s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  [data-rv], [data-title] > span, [data-line] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .hero-in { opacity: 1; animation: none; }
}

/* --- 5. Header ---------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: 14px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 40px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.nav-desktop a { color: var(--label-top); }
.nav-desktop a:hover { color: var(--heading); }
.nav-desktop a[aria-current="page"] {
  color: var(--heading);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--red);
}

.nav-services-btn {
  background: none;
  border: 0;
  padding: 0 0 3px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nav-idle);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-services-btn:hover,
.nav-services-btn[aria-expanded="true"] { color: var(--heading); }
.nav-services-btn[aria-current="page"] {
  color: var(--heading);
  border-bottom: 2px solid var(--red);
}
.nav-services-btn__caret {
  font-size: 10px;
  line-height: 1;
  transition: transform .25s ease;
}
.nav-services-btn[aria-expanded="true"] .nav-services-btn__caret { transform: rotate(180deg); }

/* --- 6. Pannello Servizi (desktop) -------------------------- */
.services-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: var(--gutter);
  width: min(700px, calc(100vw - 32px));
  z-index: 60;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 30px 50px -34px rgba(15,26,43,.5);
}
.services-panel.is-open { display: block; }
.services-panel__grid {
  display: grid;
  grid-template-columns: minmax(190px, 258px) 1fr;
}
.services-panel__areas {
  background: var(--surface-panel);
  border-right: 1px solid var(--border);
  padding: 8px 0;
}
.services-panel__area {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-2);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.services-panel__area[aria-selected="true"] {
  background: #fff;
  border-left-color: var(--red);
  color: var(--heading);
}
.services-panel__num { font-size: 10px; color: var(--red); flex: 0 0 auto; }
.services-panel__name { flex: 1 1 auto; text-wrap: pretty; }

.services-panel__list {
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.services-panel__list[hidden] { display: none; }
.services-panel__title {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 12px;
}
.services-panel__sub {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
  padding: 7px 10px 7px 0;
  border-bottom: 1px solid var(--border-soft);
  text-wrap: pretty;
  transition: color .2s ease, padding-left .2s ease;
}
.services-panel__sub:hover { color: var(--red); padding-left: 6px; }
.services-panel__all {
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  align-self: flex-start;
}

/* --- 7. Hamburger ------------------------------------------- */
.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-desktop, .services-panel { display: none !important; }
  .burger { display: inline-flex; }
}

/* --- 8. Drawer ---------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11,20,33,.55);
  transition: opacity .28s ease;
  opacity: 0;
  pointer-events: none;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(400px, 90vw);
  display: flex;
  flex-direction: column;
  background: var(--navy);
  box-shadow: -24px 0 60px -40px rgba(0,0,0,.8);
  transition: transform .32s var(--ease);
  transform: translateX(104%);
}
.drawer.is-open { transform: translateX(0); }

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--on-navy-rule-2);
}
.drawer__top img { height: 30px; width: auto; }
.drawer__close {
  background: none;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 26px;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.drawer__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 24px 28px;
}
.drawer__link {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--on-navy-rule);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-navy);
}
.drawer__link[aria-current="page"] { color: #fff; font-weight: 600; }
.drawer__heading {
  padding: 22px 0 8px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-soft);
}
.drawer__all {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--on-navy-rule);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-soft);
}

.drawer-acc { border-bottom: 1px solid var(--on-navy-rule); }
.drawer-acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: none;
  border: 0;
  padding: 14px 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  color: var(--on-navy);
}
.drawer-acc__btn[aria-expanded="true"] { color: #fff; }
.drawer-acc__label { flex: 1 1 auto; min-width: 0; text-wrap: pretty; }
.drawer-acc__sign {
  font-size: 18px;
  line-height: 1;
  color: var(--red-soft);
  flex: 0 0 auto;
  transition: transform .25s ease;
}
.drawer-acc__btn[aria-expanded="true"] .drawer-acc__sign { transform: rotate(45deg); }

.drawer-acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.drawer-acc__btn[aria-expanded="true"] + .drawer-acc__body { max-height: 560px; }
.drawer-acc__inner {
  padding: 2px 0 16px 14px;
  border-left: 2px solid rgba(255,255,255,.14);
  margin-bottom: 10px;
}
.drawer-acc__area {
  display: block;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--red-soft);
}
.drawer-acc__sub {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--on-navy);
  text-wrap: pretty;
}

.drawer__contacts {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.drawer__contacts a { color: var(--on-navy); }
.drawer__contacts span { color: var(--on-navy-dim); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer-backdrop, .drawer-acc__body { transition: none; }
}

/* --- 9. Hero ------------------------------------------------ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  /* all'apertura la copertina riempie lo schermo sotto la barra in alto;
     i progetti si vedono scorrendo. --altezza-header la misura site.js */
  min-height: 620px;
  min-height: max(620px, calc(100vh - var(--altezza-header, 73px)));
  min-height: max(620px, calc(100svh - var(--altezza-header, 73px)));
}
.hero__grid { position: absolute; inset: 0; }
.hero__grid svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(72% 92% at 50% 46%,
    rgba(15,26,43,.22) 0%, rgba(15,26,43,.8) 66%, var(--navy) 100%);
}
.hero__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 124px var(--gutter) 120px;
  text-align: center;
}
.hero__eyebrow {
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 26px;
  animation-delay: .2s;
}
.hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 8vw, 86px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.025em;
  animation-delay: .35s;
}
.hero__rule {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 30px auto;
  animation-delay: .6s;
}
.hero__lead {
  margin: 0 auto;
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
  animation-delay: .7s;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 42px;
  animation-delay: .85s;
}

/* linee tracciate della griglia hero */
.hero__grid [data-draw] {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  animation: cf-sketch 21s linear var(--delay, 0s) infinite;
}
@keyframes cf-sketch {
  0%   { stroke-dashoffset: 100; opacity: .95; }
  12%  { stroke-dashoffset: 0;   opacity: .95; }
  26%  { stroke-dashoffset: 0;   opacity: .95; }
  33%  { stroke-dashoffset: 0;   opacity: 0; }
  100% { stroke-dashoffset: 0;   opacity: 0; }
}
/* stessa griglia, statica, sulle pagine interne */
.hero__grid--static [data-draw] {
  animation: none;
  stroke-dashoffset: 0;
  opacity: .45;
}
@media (prefers-reduced-motion: reduce) {
  .hero__grid [data-draw] {
    animation: none;
    stroke-dashoffset: 0;
    opacity: .45;
  }
}

/* --- 10. Pulsanti ------------------------------------------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.btn--primary:hover { background: var(--red-hover); color: #fff; transform: translateY(-2px); }

.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  transition: background .25s ease, border-color .25s ease;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); color: #fff; }

.btn--outline {
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 16px 38px;
  transition: background .25s ease, color .25s ease;
}
.btn--outline:hover { background: var(--navy); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover { transform: none; }
}

/* --- 11. Sezioni -------------------------------------------- */
.section { background: #fff; }
.section--navy { background: var(--navy); }
.section__inner { padding-block: 96px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 44px;
}
.section-head__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--heading);
}
.section-head__count { font-size: 11.5px; color: var(--label); }
.rule { width: 64px; height: 2px; background: var(--red); margin-top: 22px; }

/* --- 12. Card progetto -------------------------------------- */
.project-hero { display: block; }
.project-hero__media {
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--media-bg);
}
.project-hero__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--red);
}
.project-hero__body {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--border);
}
.project-hero__title {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--heading);
  text-wrap: pretty;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
  margin-top: 32px;
}
.project-card { display: block; }
.project-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--media-bg);
  margin-bottom: 16px;
}
.project-card__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--heading);
  text-wrap: pretty;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82);
  transition: filter .5s ease, transform .7s var(--ease);
}
.project-hero:hover .media-img { filter: saturate(1); transform: scale(1.02); }
.project-card:hover .media-img { filter: saturate(1); transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .media-img { transition: none; }
  .project-hero:hover .media-img,
  .project-card:hover .media-img { transform: none; }
}

.section__more { display: flex; justify-content: center; margin-top: 44px; }

/* --- 13. Fascia CTA ----------------------------------------- */
.cta-band {
  padding-block: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.cta-band__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: pretty;
}
.cta-band__text { margin: 0; font-size: 16px; color: rgba(255,255,255,.7); }
.cta-band .rule { margin-top: 26px; }

/* --- 14. Footer --------------------------------------------- */
.site-footer {
  background: var(--navy-footer);
  color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 44px;
  padding: 62px var(--gutter) 30px;
  max-width: var(--container);
  margin: 0 auto;
}
.site-footer__logo { height: 74px; width: auto; margin-bottom: 22px; }
.site-footer__about { margin: 0; font-size: 13.5px; line-height: 1.7; text-wrap: pretty; }
.site-footer__label {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.site-footer__lines { font-size: 13.5px; line-height: 1.9; }
.site-footer__lines a { color: inherit; }
.site-footer__lines a:hover { color: #fff; }
.site-footer__nav { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.site-footer__nav a { color: rgba(255,255,255,.62); }
.site-footer__nav a:hover { color: #fff; }

.site-footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.68);
}
.site-footer__bottom a { color: rgba(255,255,255,.8); text-decoration: underline; }

/* ============================================================
   15. Hero delle pagine interne
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 110% at 30% 50%,
    rgba(15,26,43,.35) 0%, rgba(15,26,43,.82) 68%, var(--navy) 100%);
}
/* solo sopra e sotto: il margine laterale lo dà .container (prima queste
   regole lo azzeravano e su telefono il testo toccava il bordo) */
.page-hero__inner { position: relative; padding-block: 72px 84px; }
.page-hero__title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--red-light);
  text-wrap: pretty;
}
.page-hero__lead {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  text-wrap: pretty;
}
.page-hero .hero-in { animation-delay: .25s; }
.page-hero .hero-in--late { animation-delay: .4s; }
.page-hero__actions {
  position: relative;
  margin-top: 38px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.page-hero__actions .btn { padding: 15px 30px; }

/* ============================================================
   16. Blocchi di testo ricorrenti
   ============================================================ */
.prose > p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}
.prose > p:first-child { font-size: 17px; line-height: 1.72; color: #2B3540; }
.prose > p:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: start;
}
.section-plain { padding-block: 88px; }
.section-tint { background: var(--surface); border-top: 1px solid var(--border); }
.section-tint--both { border-bottom: 1px solid var(--border); }

.note-panel { background: var(--navy); padding: 42px; }
.note-panel__label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 20px;
}
.note-panel p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  text-wrap: pretty;
}
.note-panel p:last-child { margin-bottom: 0; }

.block-head { margin-bottom: 40px; }
.block-head__title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--heading);
}
.block-head__text {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ============================================================
   17. Chi siamo
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 30px;
  padding-block: 44px;
}
.stat { text-align: center; }
.stat__n {
  font-size: 38px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -.02em;
}
.stat__k {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label-top);
  margin-top: 8px;
}

.placeholder {
  background: var(--surface);
  border: 1px dashed #C9D0D6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder span {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
  text-align: center;
  line-height: 1.7;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.venue-grid__wide { grid-column: span 2; min-width: 0; aspect-ratio: 16/9; }
.venue-grid__map { aspect-ratio: 4/3; background: #EDEFF1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card { background: #fff; border: 1px solid var(--border); }
.team-card__photo {
  aspect-ratio: 3/4;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.team-card__body { padding: 20px 22px 24px; }
.team-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}
.team-card__role {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label-top);
  line-height: 1.5;
}

/* Certificazioni in Chi siamo */
.certificati {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.certificato {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 24px 24px 22px;
}
.certificato__tipo {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label-top);
  margin-bottom: 10px;
}
.certificato__titolo {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin: 0 0 6px;
}
.certificato__chi { font-size: 15px; color: var(--text); }
.certificato__dettaglio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 10px 0 0;
}
.certificato__dati {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.certificato__dati div { display: flex; gap: 10px; }
.certificato__dati dt { flex: 0 0 84px; color: var(--label); }
.certificato__dati dd { margin: 0; color: var(--text); }
.certificato__pdf {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.certificato__pdf:hover { color: var(--red-hover); text-decoration: underline; }
.certificato__pdf span { font-weight: 400; color: var(--label); margin-left: 4px; white-space: nowrap; }

/* ============================================================
   18. Indice servizi
   ============================================================ */
.areas { display: flex; flex-direction: column; gap: 60px; }
.area { scroll-margin-top: 110px; }
.area__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 16px;
  margin-bottom: 2px;
}
.area__num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--red);
  flex: 0 0 auto;
}
.area__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.018em;
  color: var(--heading);
  text-wrap: pretty;
}
.area__items { display: flex; flex-direction: column; }
.area__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #2B3540;
  text-wrap: pretty;
  transition: background .22s ease, color .22s ease, padding-left .22s ease;
}
.area__item:hover { background: var(--navy); color: #fff; padding-left: 24px; }
.area__arrow { font-size: 13px; color: var(--red); flex: 0 0 auto; }
.area__item:hover .area__arrow { color: #fff; }

.label-red {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  max-width: 760px;
}
.cert {
  border: 1px dashed #C4CBD1;
  background: #fff;
  height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cert__name {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.cert__todo { font-size: 10px; color: var(--label); }

/* ============================================================
   19. Pagina sotto-servizio
   ============================================================ */
.service-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 60px;
  align-items: start;
}
.service-main { max-width: 720px; }

.facts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: 1px solid var(--border);
}
.facts__col { padding: 28px 28px 30px; box-shadow: inset -1px 0 0 var(--border); }
.facts__col:last-child { box-shadow: none; }
.facts__label {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ticks li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
  padding-left: 14px;
  border-left: 2px solid var(--border);
}

.steps-block {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 34px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}
.step { border-top: 2px solid var(--navy); padding-top: 14px; }
.step__n { font-size: 11px; color: var(--red); margin-bottom: 8px; }
.step__t {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
  line-height: 1.35;
}
.step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--label-top);
  text-wrap: pretty;
}

.sidebar { display: flex; flex-direction: column; gap: 22px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 30px 28px;
}
.side-card__label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 22px;
}
.side-list { display: flex; flex-direction: column; }
.side-list > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.side-cta { background: var(--navy); padding: 30px 28px; }
.side-cta__label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 14px;
}
.side-cta p {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  text-wrap: pretty;
}
.btn--block {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 12px;
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.head-row__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--heading);
}
.link-arrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.card:hover {
  box-shadow: 0 18px 40px -24px rgba(15,26,43,.4);
  transform: translateY(-3px);
  border-color: #C9D0D6;
}
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--media-bg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 24px 26px; }
.card__tag {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.card__title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--heading);
  text-wrap: pretty;
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}

.siblings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  border: 1px solid var(--border);
}
.sibling {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  padding: 22px 26px;
  box-shadow: inset -1px 0 0 var(--border), inset 0 -1px 0 var(--border);
  transition: background .25s ease;
}
.sibling:hover { background: var(--surface-2); }
.sibling__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--heading);
  text-wrap: pretty;
}
.sibling__arrow { font-size: 13px; color: var(--red); flex: 0 0 auto; }

/* ============================================================
   20. Archivio progetti
   ============================================================ */
.filterbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 69px;
  z-index: 40;
}
.filterbar__inner {
  padding-block: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  background: #fff;
  color: var(--label-top);
  border: 1px solid var(--border-strong);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.filter[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}


















.loadmore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}
.loadmore__counter { font-size: 11px; color: var(--label); }
.btn--load {
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  padding: 16px 38px;
  font-family: inherit;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn--load:hover { background: var(--navy); color: #fff; }

/* ============================================================
   21. Pagina progetto
   ============================================================ */
.project-meta {
  position: relative;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  border: 1px solid var(--on-navy-rule-2);
}
.project-meta--sola { max-width: 320px; }
.project-meta__cell {
  background: var(--navy);
  padding: 20px 18px;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(255,255,255,.12);
}
.project-meta__k {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.project-meta__v { font-size: 15px; font-weight: 500; line-height: 1.4; }

.project-figure { background: var(--navy); }
.project-figure__inner {
  aspect-ratio: 16/8;
  overflow: hidden;
  background: #16243A;
  margin-bottom: -80px;
  position: relative;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.6);
}
.project-figure__inner img { width: 100%; height: 100%; object-fit: cover; }
.project-figure__spacer { height: 80px; background: #fff; }

.accordion { border-top: 1px solid var(--border); }
.accordion__btn {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  /* a destra più spazio: il segno ruotato di 45° si allarga e su telefono
     sporgeva di un pixel, facendo scorrere la pagina di lato */
  padding: 24px 10px 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.accordion__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--heading);
}
.accordion__sign {
  font-size: 18px;
  line-height: 1;
  color: var(--red);
  flex: 0 0 auto;
  transition: transform .3s ease;
}
.accordion__btn[aria-expanded="true"] .accordion__sign { transform: rotate(45deg); }
.accordion__body {
  display: none;
  padding: 8px 4px 30px;
  border-bottom: 1px solid var(--border);
}
.accordion__btn[aria-expanded="true"] + .accordion__body { display: block; }
.accordion__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}
.accordion__body p:last-child { margin-bottom: 0; }
.accordion__body p:first-child { color: #2B3540; }
.accordion__body strong { color: var(--heading); }

.rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rule-list li {
  font-size: 16px;
  line-height: 1.5;
  color: #2B3540;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}
.rule-list--cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px 28px;
}
.rule-list--cols li { font-size: 15.5px; }

.sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 30px;
}
.sheet__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.sheet__k {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label-top);
  flex: 0 0 auto;
}
.sheet__v {
  font-size: 14.5px;
  color: var(--heading);
  text-align: right;
  line-height: 1.45;
}
.sheet .btn--block { margin-top: 28px; }

.gallery-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  justify-content: flex-end;
  margin-bottom: 28px;
  font-size: 11px;
  color: var(--label);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.gallery__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--media-bg);
  position: relative;
}
.gallery__item[hidden] { display: none; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__empty {
  position: absolute;
  inset: 0;
  background: #EDEFF1;
  border: 1px dashed #C4CBD1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__empty span {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
  text-align: center;
  line-height: 1.7;
}
.gallery-more { display: flex; justify-content: center; margin-top: 36px; }
.gallery-more .btn--load { background: transparent; padding: 15px 34px; }
@media (prefers-reduced-motion: reduce) {
  .gallery__item img { transition: none; }
  .gallery__item:hover img { transform: none; }
}

/* ============================================================
   22. Contatti
   ============================================================ */
.contact-logo { height: 52px; width: auto; }
.contact-rule { width: 84px; height: 3px; background: var(--red); }
.contact-rule--top { margin: 26px 0 34px; }
.contact-rule--mid { margin-bottom: 26px; }

.contact-info { display: flex; flex-direction: column; margin-bottom: 40px; }
.contact-info__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__icon { flex: 0 0 auto; color: var(--red); line-height: 1; }
.contact-info__k {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--red);
  flex: 0 0 auto;
}
.contact-info__v {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.6;
  text-wrap: pretty;
  min-width: 0;
}
.contact-info__v a { color: var(--text-2); }
.contact-info__v a:hover { color: var(--red); }

.hours-label {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}
.hours tr:nth-child(even) { background: var(--surface-2); }
.hours td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--heading);
}
.hours td + td {
  border-left: 1px solid var(--border);
  text-align: right;
  white-space: nowrap;
  color: var(--text-2);
}
.hours .is-closed + td, .hours td.is-closed { color: var(--red); }

/* --- form ---------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 36px;
}
.form-card__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--heading);
}
.form-card__sub {
  margin: 0 0 30px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label);
}
.form { display: flex; flex-direction: column; gap: 14px; }
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s ease;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--red); }
/* il bordo rosso da solo non basta a chi naviga da tastiera: anello visibile */
.form input:focus-visible,
.form textarea:focus-visible {
  border-color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.form [aria-invalid="true"] { border-color: var(--red); }

.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__error {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--red);
}
.form__error:empty { display: none; }

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  margin-top: 4px;
}
.form__consent input { margin-top: 3px; accent-color: var(--red); }

.form__submit {
  margin-top: 8px;
  width: 100%;
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 18px 32px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease;
}
.form__submit:hover { background: var(--red-hover); }
.form__submit[disabled] { opacity: .6; cursor: default; }

.form__status {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: #fff;
}
.form__status[hidden] { display: none; }
.form__status--ok { border-left-color: #1F6B3B; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- mappa --------------------------------------------------- */
.map-frame { border: 1px solid var(--border); background: #fff; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-consent {
  height: 420px;
  background: #EDEFF1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
}
.map-consent__label {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label);
}
.map-consent p {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.map-consent button {
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease;
}
.map-consent button:hover { background: var(--red-hover); }
.map-note {
  margin-top: 16px;
  font-size: 10.5px;
  color: var(--label);
}

/* --- banner cookie ------------------------------------------- */
.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--navy);
  border-top: 1px solid var(--on-navy-rule-2);
  box-shadow: 0 -18px 40px -30px rgba(0,0,0,.7);
}
.cookiebar[hidden] { display: none; }
.cookiebar__inner {
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.cookiebar p {
  margin: 0;
  flex: 1 1 320px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  text-wrap: pretty;
}
.cookiebar p a { color: #E39AA3; text-decoration: underline; }
.cookiebar__actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.cookiebar button {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 13px 24px;
  cursor: pointer;
  transition: background .25s ease;
}
/* Rifiuta e Accetta sono identici: niente grafica che spinga verso il
   consenso (linee guida del Garante, 2021). */
.cookiebar__decline,
.cookiebar__accept {
  background: #fff;
  color: var(--navy);
  border: 1px solid #fff;
}
.cookiebar__decline:hover,
.cookiebar__accept:hover { background: rgba(255,255,255,.86); }

/* La X chiude senza consenso: vale come rifiuto. */
.cookiebar { padding-right: 44px; }

.cookiebar .cookiebar__close {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 4px 9px;
  background: none;
  border: 0;
  color: rgba(255,255,255,.7);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.cookiebar .cookiebar__close:hover { color: #fff; }

/* --- 23. Varianti di utilità -------------------------------- */
.prose--narrow { max-width: 640px; }
.block-head--narrow { max-width: 620px; margin-bottom: 44px; }
.rule--gap { margin-top: 26px; }
.cta-band--tight { padding-block: 76px; }
.section-inner-tight { padding-block: 72px 96px; }
.section-inner-wide { padding-block: 84px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.block-head--tight { margin-bottom: 30px; }
.two-col--contact { gap: 56px; }
.section--navy-gap { margin-top: 56px; }
.section-inner-project { padding-block: 48px 88px; }
.head-row__title--lg { font-size: clamp(24px, 3vw, 32px); }
.gallery-head { justify-content: flex-end; }
.section-inner-service { padding-block: 76px 88px; }
.section-inner-archive { padding-block: 56px 40px; }
.notfound { padding-block: 120px 140px; text-align: center; }
.notfound__code {
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--red);
  line-height: 1;
}
.notfound__title {
  margin: 18px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--heading);
}
.notfound__text {
  margin: 16px auto 34px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  text-wrap: pretty;
}
.notfound__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- 24. Archivio progetti a schede ------------------------- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.archive__card { display: flex; flex-direction: column; }
.archive__card[hidden] { display: none; }
.archive__card .card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.archive__card .card__title { margin-bottom: 18px; }
.card__more {
  margin-top: auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.card:hover .card__more { color: var(--red-hover); }
.archive__card .card__media { aspect-ratio: 3/2; }

/* --- 25. Immagini reali -------------------------------------- */
.team-card__photo { position: relative; }
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card__photo .placeholder { width: 100%; height: 100%; }

.venue-grid__wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert__logo {
  max-width: 130px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* --- 26. Profili social (Contatti) ---------------------------
   I marchi di Facebook e LinkedIn restano nei loro colori e nella
   loro forma: le linee guida dei due marchi non ne permettono la
   ricolorazione, quindi qui il border-radius zero del sito non vale.
   Il riquadro attorno serve solo come area cliccabile. */
.contact-side { min-width: 0; }
.social { margin-top: 28px; }
.social__label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 16px;
}
.social__links { display: flex; gap: 14px; }
.social__link {
  display: inline-flex;
  transition: opacity .25s ease, transform .25s ease;
}
.social__link:hover { opacity: .78; transform: translateY(-2px); }
.social__link svg { display: block; }

@media (prefers-reduced-motion: reduce) {
  .social__link { transition: none; }
  .social__link:hover { transform: none; }
}

/* ============================================================
   27. Comparsa leggera dei testi
   I blocchi di testo entrano a cascata dopo il contenitore che
   l'osservatore ha già rivelato: nessun observer in più, solo
   ritardi in CSS. Vale su tutte le pagine.
   ============================================================ */
.prose > p,
.note-panel > p,
.racconto__testo > p,
.block-head__text,
.ticks > li,
.rule-list > li,
.contact-info > .contact-info__row,
.side-list > div,
.steps > .step,
.stats > .stat,
.area__items > a,
.project-card > .project-card__title {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

/* due forme: il blocco rivelato è un antenato, oppure è l'elemento stesso */
.is-in .prose > p,          .prose.is-in > p,
.is-in .note-panel > p,     .note-panel.is-in > p,
.is-in .racconto__testo > p, .racconto.is-in .racconto__testo > p,
.is-in .block-head__text,   .block-head.is-in .block-head__text,
.is-in .ticks > li,
.is-in .rule-list > li,
.is-in .contact-info > .contact-info__row,
.is-in .side-list > div,
.is-in .steps > .step,
.is-in .stats > .stat,      .stats.is-in > .stat,
.is-in .area__items > a,    .area.is-in .area__items > a,
.project-card.is-in > .project-card__title {
  opacity: 1;
  transform: none;
}

/* cascata: ~65ms fra un elemento e il successivo */
.prose > p:nth-child(2),
.note-panel > p:nth-child(2),
.racconto__testo > p:nth-child(3),
.ticks > li:nth-child(2),
.rule-list > li:nth-child(2),
.contact-info > .contact-info__row:nth-child(2),
.side-list > div:nth-child(2),
.steps > .step:nth-child(2),
.stats > .stat:nth-child(2),
.area__items > a:nth-child(2) { transition-delay: 65ms; }

.prose > p:nth-child(3),
.note-panel > p:nth-child(3),
.racconto__testo > p:nth-child(4),
.ticks > li:nth-child(3),
.rule-list > li:nth-child(3),
.contact-info > .contact-info__row:nth-child(3),
.side-list > div:nth-child(3),
.steps > .step:nth-child(3),
.stats > .stat:nth-child(3),
.area__items > a:nth-child(3) { transition-delay: 130ms; }

.prose > p:nth-child(4),
.racconto__testo > p:nth-child(5),
.ticks > li:nth-child(4),
.rule-list > li:nth-child(4),
.side-list > div:nth-child(4),
.steps > .step:nth-child(4),
.stats > .stat:nth-child(4),
.area__items > a:nth-child(4) { transition-delay: 195ms; }

.ticks > li:nth-child(n+5),
.rule-list > li:nth-child(n+5),
.side-list > div:nth-child(n+5),
.area__items > a:nth-child(n+5) { transition-delay: 260ms; }

.area__items > a:nth-child(n+7) { transition-delay: 320ms; }

/* ============================================================
   28. Progetti in homepage: rivelazione dell'immagine
   ============================================================ */

/* la foto entra leggermente ingrandita e si assesta */
.project-hero:not(.is-in) .media-img,
.project-card:not(.is-in) .media-img {
  transform: scale(1.07);
  filter: saturate(.6);
}
.project-hero .media-img,
.project-card .media-img {
  transition: transform 1.1s var(--ease), filter .9s ease;
}
.project-hero:hover .media-img,
.project-card:hover .media-img {
  transition: transform .7s var(--ease), filter .5s ease;
}

/* il filetto rosso sopra il progetto di apertura si traccia da sinistra */
.project-hero__media::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--ease) .2s;
}
.project-hero.is-in .project-hero__media::after { transform: scaleX(1); }

/* il titolo del progetto di apertura scopre dal basso */
.project-hero__title {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease) .25s, transform .6s var(--ease) .25s;
}
.project-hero.is-in .project-hero__title { opacity: 1; transform: none; }

.project-card > .project-card__title { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .prose > p,
  .note-panel > p,
  .racconto__testo > p,
  .block-head__text,
  .ticks > li,
  .rule-list > li,
  .contact-info > .contact-info__row,
  .side-list > div,
  .steps > .step,
  .stats > .stat,
  .area__items > a,
  .project-card > .project-card__title,
  .project-hero__title {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .project-hero:not(.is-in) .media-img,
  .project-card:not(.is-in) .media-img { transform: none; filter: saturate(.82); }
  .project-hero__media::after { transform: none; transition: none; }
}

/* --- 29. Sede: mappa nella griglia e altre foto -------------- */
.venue-grid__map { position: relative; overflow: hidden; }
.venue-grid__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent--compact {
  height: 100%;
  gap: 12px;
  padding: 20px;
  border: 1px dashed #C9D0D6;
}
.map-consent--compact button { padding: 11px 20px; font-size: 11px; }

.sede-altre {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.sede-altre__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--media-bg);
}
.sede-altre__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.sede-altre__item:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .sede-altre__item img { transition: none; }
  .sede-altre__item:hover img { transform: none; }
}

/* ============================================================
   30. Carosello
   Scorrimento con aggancio: senza JavaScript resta comunque
   sfogliabile con il dito o con la barra di scorrimento.
   ============================================================ */
.carosello { position: relative; min-width: 0; }

.carosello__pista {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  aspect-ratio: 16/9;
  background: var(--media-bg);
}
.carosello__pista::-webkit-scrollbar { display: none; }

.carosello__voce {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  min-width: 0;
}
.carosello__voce img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carosello__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 26, 43, .74);
  color: #fff;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, opacity .25s ease;
}
.carosello__btn:hover { background: var(--red); }
.carosello__btn[disabled] { opacity: .25; cursor: default; }
.carosello__btn[disabled]:hover { background: rgba(15, 26, 43, .74); }
.carosello__btn--prev { left: 0; }
.carosello__btn--next { right: 0; }

.carosello__barra {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  background: rgba(15, 26, 43, .74);
  color: #fff;
}
.carosello__conta {
  font-size: 11px;
  letter-spacing: .1em;
  padding: 8px 12px;
  align-self: center;
}
/* fermare lo scorrimento automatico è un requisito di accessibilità:
   il comando resta discreto ma dichiarato */
.carosello__pausa {
  background: none;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 0 11px;
  cursor: pointer;
  transition: color .2s ease;
}
.carosello__pausa:hover { color: var(--red-soft); }
.carosello__pausa[hidden] { display: none; }

/* ============================================================
   31. Visore a schermo intero
   ============================================================ */
.zoomabile { cursor: zoom-in; }

.visore {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 14, 24, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 72px;
  opacity: 0;
  transition: opacity .25s ease;
}
.visore.is-open { opacity: 1; }
.visore[hidden] { display: none; }

.visore__corpo {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.visore__corpo img {
  max-width: 100%;
  max-height: calc(100dvh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.visore__corpo figcaption {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  max-width: 760px;
  text-wrap: pretty;
}

.visore__chiudi,
.visore__prec,
.visore__succ {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: color .2s ease;
}
.visore__chiudi:hover,
.visore__prec:hover,
.visore__succ:hover { color: var(--red-soft); }

.visore__chiudi { top: 14px; right: 20px; font-size: 38px; width: 48px; height: 48px; }
.visore__prec { left: 10px; top: 50%; transform: translateY(-50%); font-size: 54px; width: 56px; height: 72px; }
.visore__succ { right: 10px; top: 50%; transform: translateY(-50%); font-size: 54px; width: 56px; height: 72px; }

.visore__conta {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .6);
}

@media (max-width: 700px) {
  .visore { padding: 56px 12px; }
  .visore__prec, .visore__succ { font-size: 40px; width: 40px; }
}

/* ============================================================
   32. Chi siamo: blocchi di racconto
   Testo e foto affiancati: l'attacco fa da citazione, i paragrafi
   seguono. La variante scura riprende il contrasto che la pagina
   aveva con il pannello navy.
   ============================================================ */
.racconto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  border: 1px solid var(--border);
  background: #fff;
}
.racconto + .racconto { margin-top: 28px; }

.racconto__testo { padding: 48px 44px; }
.racconto__label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.racconto__testo > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}
.racconto__testo > p:last-child { margin-bottom: 0; }
.racconto__attacco {
  font-size: 19px !important;
  line-height: 1.55 !important;
  color: var(--heading) !important;
  padding-left: 18px;
  border-left: 2px solid var(--red);
  margin-bottom: 22px !important;
}

.racconto__foto { min-height: 320px; background: var(--media-bg); overflow: hidden; }
.racconto__foto img { width: 100%; height: 100%; object-fit: cover; }

/* variante scura */
.racconto--navy { background: var(--navy); border-color: var(--navy); }
.racconto--navy .racconto__label { color: var(--red-soft); }
.racconto--navy .racconto__testo > p { color: rgba(255, 255, 255, .78); }
.racconto--navy .racconto__attacco { color: #fff !important; border-left-color: var(--red-soft); }

/* foto a sinistra, testo a destra */
@media (min-width: 900px) {
  .racconto--invertito .racconto__testo { order: 2; }
  .racconto--invertito .racconto__foto { order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .carosello__pista { scroll-behavior: auto; }
  .visore { transition: none; }
}

.mission-wrap { padding-bottom: 88px; }
.site-footer__legali { display: flex; gap: 22px; flex-wrap: wrap; }

.mission-wrap { padding-bottom: 0; }

/* --- 25. News ----------------------------------------------- */
.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.news-item {
  display: grid;
  gap: 26px;
  padding: 38px 0 40px;
  border-bottom: 1px solid var(--border);
}
.news-item--foto { grid-template-columns: 260px 1fr; align-items: start; }
.news-item__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--media-bg);
}
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}
.news-item__fonte { color: var(--red); }
.news-item__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--heading);
  text-wrap: pretty;
}
.news-item__title a { color: inherit; }
.news-item__title a:hover { color: var(--red); }
.news-item__nota {
  margin: 14px 0 0;
  color: var(--text-2);
  max-width: 68ch;
}
.news-item .rule { margin-top: 20px; }
.news-item__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--heading);
  transition: color .25s var(--ease);
}
.news-item__link:hover { color: var(--red); }
.news-nota {
  margin: 44px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 70ch;
}
.news-vuoto { padding: 48px 0; color: var(--text-2); }

@media (max-width: 760px) {
  .news-item--foto { grid-template-columns: 1fr; }
  .news-item__title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-item__link { transition: none; }
}

/* --- 26. Barra di lavorazione (solo in locale) -------------- */
.devbar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9000;
  display: flex;
  align-items: stretch;
  background: var(--navy);
  border-top: 2px solid var(--red);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 -6px 24px -14px rgba(15,26,43,.6);
}
.devbar__tag {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
}
.devbar__link {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  color: #fff;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.14);
  transition: background .2s var(--ease);
}
.devbar__link:hover { background: rgba(255,255,255,.12); color: #fff; }
.devbar__close {
  padding: 8px 12px;
  background: none;
  border: 0;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.devbar__close:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .devbar__link { transition: none; }
}
@media (max-width: 560px) {
  .devbar { font-size: 10px; }
  .devbar__link { padding: 7px 10px; }
}

/* --- 27. Fascia marchi e riga legale ------------------------ */
.marchi {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 34px 0;
}
.marchi__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 56px;
}
.marchio {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  max-width: 460px;
}
.marchio__logo {
  height: 52px;
  width: auto;
  flex: none;
}
.marchio__testo {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-2);
}

.site-footer__legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.site-footer__legal-line {
  margin: 0 0 6px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255,255,255,.58);
}
.site-footer__legal-line:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .marchi__inner { gap: 24px 32px; }
  .marchio { max-width: 100%; }
  .marchio__logo { height: 44px; }
}

/* --- 28. Pagine legali -------------------------------------- */
.page-hero--plain { background: var(--navy); }
.page-hero--plain .page-hero__inner { padding-block: 64px 68px; }

.legale { max-width: 76ch; }
.legale__intro {
  font-size: 17px;
  line-height: 1.72;
  color: #2B3540;
  margin: 0 0 8px;
}
.legale h2 {
  margin: 44px 0 14px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legale h3 {
  margin: 28px 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--red);
}
.legale p { margin: 0 0 12px; line-height: 1.75; }
.legale a { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.legale a:hover { color: var(--red); }
.legale code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  background: var(--surface-2);
  padding: 1px 5px;
  border: 1px solid var(--border);
}
.legale__data {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.legale__manca {
  background: #FBF3E4;
  box-shadow: inset 2px 0 0 #C98A12;
  padding: 2px 8px;
  color: #7A5209;
  font-weight: 600;
}

.legale-elenco { margin: 0 0 12px; padding-left: 20px; }
.legale-elenco li { margin-bottom: 8px; line-height: 1.72; }
.legale-elenco--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-left: 0;
  list-style: none;
}
.legale-elenco--inline li { margin: 0; }

.legale-tabella {
  margin: 16px 0 20px;
  border: 1px solid var(--border);
}
.legale-riga {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
}
.legale-riga--tre { grid-template-columns: 0.8fr 2fr 0.7fr; }
.legale-riga > span {
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  box-shadow: inset 0 -1px 0 var(--border), inset -1px 0 0 var(--border);
}
.legale-riga:last-child > span { box-shadow: inset -1px 0 0 var(--border); }
.legale-riga--testa > span {
  background: var(--surface-2);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--heading);
}

@media (max-width: 760px) {
  .legale h2 { font-size: 17px; margin-top: 34px; }
  .legale-riga, .legale-riga--tre { grid-template-columns: 1fr; }
  .legale-riga > span { box-shadow: inset 0 -1px 0 var(--border); }
  .legale-riga--testa { display: none; }
}
