/* ==========================================================================
   PELLACINI ENGINEERING — Design system
   Palette, tipografia e componenti ripresi dal restyling emanuelp30.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Token
   -------------------------------------------------------------------------- */

:root {
  /* colori di marca */
  --ink:            #1A2428;
  --green:          #00943F;
  --green-dark:     #007733;
  --green-light:    #54BC56;
  --yellow:         #FAB522;
  --yellow-dark:    #E8A413;
  --red:            #E3030F;

  /* testo */
  --text:           #666666;
  --text-strong:    #1A2428;
  --text-invert:    #FFFFFF;
  --text-muted:     #8A9296;

  /* superfici */
  --bg:             #FFFFFF;
  --bg-tint:        #F1F4F6;
  --bg-tint-2:      #E6EDF0;
  --bg-tint-3:      #D5E0E5;
  --bg-warm:        #F8F6F2;
  --bg-warm-2:      #EFEBE4;
  --bg-soft:        #F7F9FA;
  --border:         #DFE6E9;
  --border-soft:    #EDF1F3;
  /* reticolo tecnico di sfondo */
  --grid-line:      rgba(26, 36, 40, .045);
  --grid-step:      56px;

  /* tipografia */
  --font-display:   "Livvic", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body:      "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  /* misure */
  --container:      1240px;
  --gutter:         20px;
  --radius:         5px;
  --radius-lg:      10px;
  --radius-xl:      20px;

  /* ritmo verticale delle sezioni */
  --section-y:      84px;
  --section-y-sm:   60px;

  --shadow-sm:      0 2px 10px rgba(26, 36, 40, .06);
  --shadow:         0 8px 30px rgba(26, 36, 40, .09);
  --shadow-lg:      0 18px 50px rgba(26, 36, 40, .13);

  --header-h:       112px;   /* header a riposo, logo completo */
  --topbar-h:       41px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;   /* «hidden» su Safari sganciava l'header sticky */
}

img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-dark); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-family: var(--font-display);
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-strong);
  margin: 0 0 .5em;
  font-weight: 600;
}

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

/* scala ripresa dal sito di riferimento */
.t-hero    { font-size: clamp(38px, 3.9vw, 58px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; color: var(--ink); }
.t-section { font-size: 45px; line-height: 1.0;   letter-spacing: -.01em; font-weight: 600; color: var(--ink); }
.t-sub     { font-size: 32px; line-height: 1.2;   letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
.t-card    { font-size: 26px; line-height: 1.5;   letter-spacing: -.03em; font-weight: 600; color: var(--ink); }
.t-small   { font-size: 20px; line-height: 1.35;  font-weight: 600; color: var(--ink); }

/* occhiello colorato sopra i titoli di sezione */
.eyebrow {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  color: var(--yellow);
  margin: 0 0 14px;
  letter-spacing: 0;
}
.eyebrow--sm    { font-size: 28px; line-height: 1.33; }
.eyebrow--green { color: var(--green); }
.eyebrow--white { color: #fff; }

.lead { font-size: 18px; line-height: 1.6; color: var(--text); }

.text-invert, .text-invert h1, .text-invert h2, .text-invert h3,
.text-invert h4, .text-invert p, .text-invert li { color: #fff; }
.text-invert p, .text-invert li { color: rgba(255, 255, 255, .88); }

.rich > *:last-child { margin-bottom: 0; }
.rich ul, .rich ol { margin: 0 0 1.1em; padding-left: 0; list-style: none; }
.rich ol { counter-reset: li; }

.rich ul > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .6em;
}
.rich ul > li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-light);
}
.rich ol > li {
  position: relative;
  padding-left: 34px;
  margin-bottom: .6em;
  counter-increment: li;
}
.rich ol > li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
}
.rich strong { color: var(--text-strong); font-weight: 700; }
.rich img { border-radius: var(--radius-lg); margin: 1.5em 0; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }
.container--mid    { max-width: 1140px; }

.section { padding-block: var(--section-y); }
.section--sm   { padding-block: var(--section-y-sm); }
.section--flush-top    { padding-top: 0; }
.section--tight-top    { padding-top: var(--section-y-sm); }
.section--flush-bottom { padding-bottom: 0; }
.section--tint { background: var(--bg-tint); }
.section--soft { background: var(--bg-soft); }

/* Reticolo da tavolo di progettazione: da' struttura alle sezioni chiare
   senza aggiungere immagini. */
.section--grid { position: relative; background-color: var(--bg); }
.section--grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
  background-position: center;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 85%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 85%);
}
.section--grid > .container { position: relative; }

/* riquadro bianco per i blocchi di solo testo: evita le pagine spoglie */
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
/* testo lungo su due colonne: riempie la riga e si legge meglio */
.panel--cols .rich { columns: 2; column-gap: 52px; }
.panel--cols .rich > * { break-inside: avoid; }
.panel--cols .rich > :first-child { margin-top: 0; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }

/* squadre d'angolo: segno da disegno tecnico attorno alle immagini */
.frame { position: relative; }
.frame::before, .frame::after {
  content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none;
}
.frame::before { top: -1px; left: -1px; border-top: 2px solid var(--green); border-left: 2px solid var(--green); }
.frame::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--green); border-right: 2px solid var(--green); }


.section--warm { background: var(--bg-warm); }
.section--ink  { background: var(--ink); }
.section--green{ background: var(--green); }

.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; margin-bottom: 56px; }
.section-head > p { margin-top: 18px; }
/* dentro una colonna di testo il titolo sta piu' vicino al paragrafo */
.rich > .section-head,
.split__text > .section-head { margin-bottom: 22px; }
/* titolo e testo introduttivo restano vicini... */
.section-head + .rich { margin-top: 0; }
.section-head:has(+ .rich) { margin-bottom: 24px; }

.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.stack > * + * { margin-top: 20px; }

/* --------------------------------------------------------------------------
   5. Bottoni
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 29px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color .2s ease, color .2s ease,
              border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--green);  color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }

.btn--accent  { background: var(--yellow); color: #fff; }
.btn--accent:hover { background: var(--yellow-dark); color: #fff; }

.btn--ghost   { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }

.btn--white   { background: #fff; color: var(--green); }
.btn--white:hover { background: var(--bg-tint); color: var(--green-dark); }

.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: #fff; color: var(--green); border-color: #fff; }

.btn--lg { font-size: 17px; padding: 17px 36px; }
.btn--sm { font-size: 14px; padding: 10px 20px; }

.btn .icon { width: 1em; height: 1em; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* link con freccia */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
}
.arrow-link .icon { transition: transform .2s ease; }
.arrow-link:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.topbar {
  position: relative;
  z-index: 110;          /* sopra .masthead (100): le tendine restano visibili */
  background: var(--green);
  color: #fff;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--topbar-h);
  padding-block: 8px;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--bg-tint-3); }

.topbar-nav { display: flex; align-items: center; gap: 22px; }
.topbar-nav > li { position: relative; list-style: none; }
.topbar-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 6px;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-body);
  font-size: 14px;
}
/* la barra resta su una riga in tutte le lingue */
.topbar-nav a, .topbar-contacts li { white-space: nowrap; }
@media (max-width: 1500px) {
  .topbar-address { display: none !important; }   /* resta nel footer e in Contatti */
}
.topbar-contacts li { display: flex; align-items: center; gap: 8px; list-style: none; }
.topbar-contacts .icon { width: 15px; height: 15px; flex: none; opacity: .9; }

.topbar ul { margin: 0; padding: 0; }

/* barra principale */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: none;              /* nessun bordino sotto l'header */
  transition: box-shadow .25s ease;
}
.masthead.is-stuck { box-shadow: var(--shadow-sm); }

.masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 14px;
}

.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }

.mainnav > ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.mainnav li { list-style: none; position: relative; }
.mainnav > ul > li > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 10px;
  white-space: nowrap;
}
.mainnav > ul > li > a:hover,
.mainnav > ul > li.is-current > a { color: var(--ink); }
.mainnav .caret { width: 10px; height: 10px; flex: none; transition: transform .2s ease; }
.mainnav a { white-space: nowrap; }
.masthead-actions .btn { white-space: nowrap; }
/* Etichette piu' lunghe in francese e spagnolo: sotto i 1500px il menu si
   stringe un poco, cosi' il pulsante resta dentro il margine. */
@media (min-width: 1025px) and (max-width: 1500px) {
  .masthead .container { gap: 22px; }
  .mainnav > ul { gap: 20px; }
  .mainnav > ul > li > a { font-size: 15px; }
}
.mainnav li:hover > .caret,
.mainnav li:focus-within > a .caret { transform: rotate(180deg); }

/* tendine */
.subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  max-height: min(70vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mainnav li:hover > .subnav,
.mainnav li:focus-within > .subnav,
.topbar-nav li:hover > .subnav,
.topbar-nav li:focus-within > .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.subnav li { break-inside: avoid; }
.subnav a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
}
.subnav a:hover { background: var(--bg-tint); color: var(--green); }

.topbar .subnav a { color: var(--ink); }
.topbar .subnav { min-width: 240px; }

.masthead-actions { display: flex; align-items: center; gap: 14px; flex: none; }

/* selettore lingua */
.langswitch { position: relative; }
.langswitch__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  padding: 6px 4px;
  text-transform: uppercase;
}
.langswitch__list {
  list-style: none; margin: 0;
  position: absolute;
  right: 0; top: calc(100% + 6px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  margin: 0;
  min-width: 140px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 40;
}
.langswitch:hover .langswitch__list,
.langswitch:focus-within .langswitch__list {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.langswitch__list a {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--ink);
  font-size: 14px;
}
.langswitch__list a:hover { background: var(--bg-tint); color: var(--green); }
.langswitch__list a[aria-current="true"] { color: var(--green); font-weight: 700; }

/* hamburger */
.navtoggle {
  display: none;
  width: 48px; height: 48px;
  border: 1.5px solid var(--green);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.navtoggle span {
  display: block;
  width: 22px; height: 3px;
  background: var(--green);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.navtoggle span + span { margin-top: 5px; }
.navtoggle > div { display: grid; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* megamenu di Impianti e Macchine ---------------------------------------
   Il pannello e' ancorato alla barra principale, non alla singola voce:
   per questo il <li> diventa statico e il pannello si posiziona sul
   .masthead, che e' sticky e quindi fa da riferimento. */
.mainnav li.has-mega { position: static; }

.mega {
  position: absolute;
  box-sizing: border-box; width: 100%; max-width: 100vw;
  left: 0; right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  padding: 34px 0 38px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 20;
  max-height: min(78vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mainnav li.has-mega:hover > .mega,
.mainnav li.has-mega:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
}

.mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 30px;
}
.mega__list li { break-inside: avoid; margin-bottom: 12px; }
.mega__list a {
  display: block;
  white-space: normal; overflow-wrap: anywhere;
  padding: 7px 10px 7px 14px;
  border-left: 3px solid var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mega__list a:hover { background: var(--bg-tint); color: var(--green); border-color: var(--green); }

.mega__promo {
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 0;
}
.mega__promo h3 {
  font-size: 21px;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.mega__promo p { font-size: 14px; margin: 0 0 16px; }
.mega__promo .btn .icon { width: .9em; height: .9em; }

@media (max-width: 1200px) {
  .mega__grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; }
  .mega__list { columns: 2; }
}

/* --------------------------------------------------------------------------
   7. Menu mobile
   -------------------------------------------------------------------------- */

.mobilenav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 36, 40, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.mobilenav[data-open="true"] { opacity: 1; visibility: visible; }

.mobilenav__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  padding: 22px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobilenav[data-open="true"] .mobilenav__panel { transform: translateX(0); }

.mobilenav__top { display: flex; align-items: center; justify-content: space-between; }
.mobilenav__top img { width: 128px; }
.mobilenav__close {
  width: 42px; height: 42px;
  border: 0; border-radius: var(--radius);
  background: var(--bg-tint);
  color: var(--green);
  font-size: 22px; line-height: 1;
  cursor: pointer;
}

.mobilenav ul { list-style: none; margin: 0; padding: 0; }
.mobilenav > .mobilenav__panel > ul > li { border-bottom: 1px solid var(--border-soft); }
.mobilenav a {
  display: block;
  padding: 13px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.mobilenav a:hover { color: var(--green); }

.m-acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: none;
  border: 0;
  padding: 13px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.m-acc__btn .icon { width: 12px; height: 12px; flex: none; transition: transform .2s ease; }
.m-acc__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-acc__panel { display: none; padding: 0 0 10px 12px; }
.m-acc__panel[data-open="true"] { display: block; }
.m-acc__panel a { font-family: var(--font-body); font-weight: 400; font-size: 16px; padding: 9px 2px; }

.mobilenav__contacts {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 16px;
}
.mobilenav__contacts li { display: flex; gap: 9px; padding: 6px 0; }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

/*
   L'intestazione della home riprende l'impaginazione originale: il testo
   occupa la colonna di sinistra mentre la macchina esce a tutta pagina sul
   lato destro, con gli elementi grafici (pomodoro, foglie, forma verde)
   sovrapposti su piani diversi.
*/
/* Intestazione della home, impostazione industriale: fotografia d'impianto
   a tutto schermo, velatura scura da sinistra, titolo bianco, pulsanti pieni
   e fascia dei numeri chiave che si aggancia al bordo inferiore. */
.hero {
  position: relative;
  overflow: hidden;
  /* la hero arriva all'80% dello schermo (con un tetto per i monitor molto alti) */
  min-height: clamp(640px, 80vh, 1000px);
  display: flex;
  align-items: center;
  padding: 120px 0 170px;
  background: var(--ink);
  color: #fff;
  /* la foto non tocca i bordi della pagina: margine bianco ai lati */
  margin-inline: clamp(12px, 2vw, 28px);
  border-radius: 18px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 20, 24, .94) 0%, rgba(13, 20, 24, .82) 34%,
                    rgba(13, 20, 24, .40) 66%, rgba(13, 20, 24, .18) 100%),
    linear-gradient(0deg, rgba(13, 20, 24, .55) 0%, rgba(13, 20, 24, 0) 45%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__body { max-width: 720px; }
.hero__kicker {
  display: flex; align-items: center; gap: 16px; margin: 0 0 24px;
  color: var(--yellow); font-family: var(--font-body); font-weight: 700;
  font-size: 14px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase;
}
.hero__kicker > span:first-child { flex: 0 0 48px; height: 2px; background: var(--yellow); }
/* payoff: parte principale in giallo, parte secondaria piu' leggera */
.hero__kicker { flex-wrap: wrap; row-gap: 8px; }
.hero__payoff2 {
  color: rgba(255, 255, 255, .78); font-weight: 600; letter-spacing: .02em;
  text-transform: none; font-size: 16px; padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .35);
}
.hero .t-hero {
  color: #fff; font-size: clamp(40px, 5vw, 74px); line-height: 1.04; letter-spacing: -.025em;
}
.hero__lead {
  color: rgba(255, 255, 255, .86); font-size: 19px; line-height: 1.6;
  max-width: 600px; margin: 26px 0 0;
}
.hero .btn-row { margin-top: 40px; gap: 14px; }
.hero .btn { border-radius: 4px; }

/* Intestazione classica (pagina di prova): testi a sinistra, impianto a destra,
   fondo chiaro con reticolo tecnico. L'impianto poggia su una pedana con ombra
   di contatto, quindi non galleggia. */
.hero--classic {
  display: block; min-height: 0; margin-inline: 0; border-radius: 0;
  padding: 96px 0 150px; color: var(--text-strong);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-tint) 100%);
}
.hero--classic .hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
}
.hero--classic { min-height: clamp(640px, 78vh, 880px); display: flex; align-items: center; }
.hero--classic .hero__inner { display: block; position: relative; z-index: 3; }
.hero--classic .hero__body { max-width: 600px; }
.hero--classic .hero__kicker { flex-direction: column; align-items: flex-start; gap: 10px; }
.hero--classic .hero__kicker > span:first-child { flex-basis: 2px; width: 48px; }
.hero--classic .hero__payoff2 { padding-left: 0; border-left: 0; }
.hero--classic .btn-row { flex-wrap: nowrap; }
.hero--classic .btn-row .btn { white-space: nowrap; padding-inline: 22px; }
.hero--classic .t-hero { color: var(--text-strong); font-size: clamp(36px, 4.2vw, 62px); }
.hero--classic .hero__kicker { color: var(--green-dark); }
.hero--classic .hero__kicker > span:first-child { background: var(--yellow); }
.hero--classic .hero__payoff2 { color: var(--text); border-left-color: var(--border); }
.hero--classic .hero__lead { color: var(--text); }
.hero--classic { --x0: max(24px, calc((100vw - 1200px) / 2)); }
.hero--classic .hero__stage { position: absolute; z-index: 2; margin: 0; bottom: -8px;
  left: 590px; width: min(calc(111vw - 590px - var(--x0)), 1300px);
  animation: macchina-in 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero__stage { position: relative; margin: 0; }
.hero__plant { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.hero__shadow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; }

/* ---- home nuovo stile: sezioni colorate e frutta/ortaggi decorativi ---- */
.home-classica {
  /* revisione 6 novembre: niente verdi chiari negli sfondi, grigi freddi */
  --verde-1: var(--bg-tint);
  --verde-2: var(--bg-soft);
}
.home-classica .hero--classic {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-tint-2) 100%);
}
.home-classica .section--tint { background: var(--verde-1); }
.home-classica .section--soft { background: var(--verde-2); }
.home-classica .section[data-deco] { position: relative; }
.home-classica .section[data-deco] > .container { position: relative; z-index: 1; }
.home-classica .section[data-deco]::before,
.home-classica .section[data-deco]::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  filter: drop-shadow(0 10px 14px rgba(26, 36, 40, .18));
}
/* le decorazioni stanno ai margini, a cavallo del bordo superiore della sezione */
.home-classica [data-deco="2"]::before { top: -112px; right: 3vw; width: 200px; height: 252px; --r: 8deg;
  background-image: url("../img/content/202607-orange-slices-white.png"); }
.home-classica [data-deco="4"]::before { top: -152px; right: 2vw; width: 228px; height: 192px;
  background-image: url("../img/content/202607-Image-5.png"); animation-delay: -2s; }
.home-classica [data-deco="6"]::after  { bottom: -150px; left: 2vw; width: 240px; height: 240px; --r: -12deg;
  background-image: url("../img/content/202611-carote-pellacini.webp"); animation-delay: -4s; }
.home-classica [data-deco="8"]::before { top: -124px; right: 1vw; width: 252px; height: 176px; --r: -8deg;
  background-image: url("../img/content/202607-piselli-pellacini-01.png"); animation-delay: -1s; }
.home-classica [data-deco="9"]::before { top: -140px; left: 2vw; width: 250px; height: 198px; --r: -6deg;
  background-image: url("../img/content/202607-peperoncino-pallacini-01.png"); animation-delay: -3s; }
.home-classica .section[data-deco]::before,
.home-classica .section[data-deco]::after { transform: rotate(var(--r, 0deg)); animation: deco-bob 6s ease-in-out infinite; }

/* pomodoro in hero: poggia sul bordo della fascia dei numeri, con la sua ombra */
.home-classica .hero-bar::before, .home-classica .hero-bar::after { content: ""; position: absolute; pointer-events: none; }
.home-classica .hero-bar::before {
  z-index: 2; left: calc(100% - max(24px, (100% - 1200px) / 2) - 230px); top: -134px; width: 150px; height: 150px;
  background: url("../img/content/202607-pomodoro-pellacini-01.png") no-repeat center / contain;
  transform-origin: 50% 90%;
  animation: pomodoro-cade 1s cubic-bezier(.3,.7,.4,1) .5s both, pomodoro-dondola 7s ease-in-out 2.4s infinite;
}
.home-classica .hero-bar::after {
  z-index: 1; left: calc(100% - max(24px, (100% - 1200px) / 2) - 240px); top: -4px; width: 170px; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(26, 36, 40, .38), rgba(26, 36, 40, 0) 70%);
  filter: blur(2px);
}

/* colore: sezioni, schede e numeri */
.home-classica [data-deco="3"] { background: #FFF8E6; }
.home-classica .step { border-top: 4px solid var(--green-light); transition: transform .25s, box-shadow .25s; }
.home-classica .step:nth-child(3n+2) { border-top-color: var(--yellow); }
.home-classica .step:nth-child(3n) { border-top-color: var(--red); }
.home-classica .step:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(26, 36, 40, .12); }
.home-classica .solution { transition: transform .25s, box-shadow .25s; }
.home-classica .solution:nth-child(1) { background: #FFE5E0; }
.home-classica .solution:nth-child(2) { background: #FFEDD2; }
.home-classica .solution:nth-child(3) { background: #E1F2DE; }
.home-classica .solution:nth-child(4) { background: #FFE8D8; }
.home-classica .solution:nth-child(5) { background: #E1EDF8; }
.home-classica .solution:nth-child(6) { background: #FFF0D6; }
.home-classica .solution:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 18px 34px rgba(26, 36, 40, .14); }
.home-classica .solution img { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.home-classica .solution:hover img { transform: scale(1.1) rotate(5deg); }
.home-classica .hero-bar__item:nth-child(2) .hero-bar__num { color: var(--yellow-dark); }
.home-classica .hero-bar__item:nth-child(3) .hero-bar__num { color: var(--red); }
.home-classica .btn { transition: transform .2s, background-color .2s, color .2s; }
.home-classica .btn:hover { transform: translateY(-2px) scale(1.03); }

@keyframes macchina-in { from { opacity: 0; transform: translateX(9vw); } to { opacity: 1; transform: none; } }
@keyframes deco-bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 5deg)); }
}
@keyframes pomodoro-cade {
  0% { transform: translateY(-420px) rotate(-200deg); opacity: 0; }
  55% { transform: translateY(0) rotate(0); opacity: 1; }
  72% { transform: translateY(-26px) scale(.96, 1.04); }
  88% { transform: translateY(0) scale(1.06, .94); }
  100% { transform: none; }
}
@keyframes pomodoro-dondola {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(-9deg); } 90% { transform: rotate(7deg); } 94% { transform: rotate(-4deg); } 97% { transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--classic .hero__stage, .home-classica .hero-bar::before,
  .home-classica .section[data-deco]::before, .home-classica .section[data-deco]::after { animation: none; }
}

@media (max-width: 1024px) {
  .hero--classic { padding: 64px 0 120px; }
  .hero--classic .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero--classic .hero__body { max-width: 680px; }
  .hero--classic .btn-row { flex-wrap: wrap; }
  .hero--classic .hero__stage { position: relative; left: auto; right: auto; bottom: auto; width: 118%; margin: 28px -9% 0 auto; max-width: none; }
}

/* fascia dei numeri chiave, in sovrapposizione al bordo della hero */
.hero-bar { position: relative; z-index: 3; margin-top: -86px; }
.hero-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 4px solid var(--green);
  box-shadow: 0 24px 60px rgba(13, 20, 24, .16);
  border-radius: 12px; overflow: hidden;
}
.hero-bar__item { padding: 34px 36px 32px; border-left: 1px solid var(--border); }
.hero-bar__item:first-child { border-left: 0; }
.hero-bar__num {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: 44px; line-height: 1; color: var(--green); letter-spacing: -.02em;
}
.hero-bar__label { margin: 12px 0 0; font-size: 16px; line-height: 1.4; color: var(--text); }

/* hero interno delle pagine */
.pagehero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: 96px;
}
.pagehero__bg { position: absolute; inset: 0; z-index: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(26,36,40,.9) 0%, rgba(26,36,40,.72) 46%, rgba(26,36,40,.42) 100%);
  z-index: 1;
}
.pagehero .container { position: relative; z-index: 2; }
.pagehero__inner { max-width: 860px; }
.pagehero .eyebrow { color: var(--green-light); }
.pagehero h1 { color: #fff; font-size: 58px; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 18px; }
.pagehero p { color: rgba(255,255,255,.9); font-size: 19px; max-width: 640px; margin: 0; }
.pagehero--plain { background: var(--bg-tint); color: var(--ink); padding-block: 76px; }
.pagehero--plain::after { display: none; }
.pagehero--plain h1 { color: var(--ink); }
.pagehero--plain p { color: var(--text); }
.pagehero--plain .eyebrow { color: var(--green); }

/* briciole */
.crumbs {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.crumbs a { color: rgba(255,255,255,.86); }
.crumbs a:hover { color: #fff; }
.crumbs li { list-style: none; display: flex; align-items: center; gap: 8px; }
.crumbs ol { display: contents; margin: 0; padding: 0; }
.crumbs .sep { opacity: .5; }
.pagehero--plain .crumbs { color: var(--text-muted); }
.pagehero--plain .crumbs a { color: var(--green); }

/* --------------------------------------------------------------------------
   9. Card
   -------------------------------------------------------------------------- */

.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border); }

.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }

.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card__body h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; margin: 0; }
.card__body p { font-size: 16px; margin: 0; }
.card__cta { margin-top: auto; padding-top: 14px; }

.card--link { color: inherit; }
.card--link:hover { color: inherit; }

/* card compatta per gli indici */
.tilecard {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 3 / 2;
  color: #fff;
}
.tilecard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; opacity: .82; }
.tilecard:hover img { transform: scale(1.06); }
.tilecard__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 22px 20px;
  background: linear-gradient(to top, rgba(26,36,40,.92), rgba(26,36,40,0));
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: #fff;
}

/* passi numerati (Tailoring System) */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step {
  position: relative;
  padding: 28px 28px 28px 92px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 28px; top: 26px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--green-light);
  line-height: 1;
}
.step h3 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.02em; }
.step p { font-size: 16px; margin: 0; }

/* elenco numerato dei punti di forza */
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border); }
.feature__num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: .08em;
}
.feature h3 { font-size: 22px; margin: 0; letter-spacing: -.02em; }
.feature p { font-size: 16px; margin: 0; }

/* riquadri categoria con immagine (le sei filiere in home) */
.solution {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.solution:nth-child(2n)   { background: var(--bg-warm); }
.solution:nth-child(3n)   { background: var(--bg-tint-2); }
.solution h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.03em; margin: 0; }
.solution p  { font-size: 16px; margin: 0; }
.solution__img { align-self: flex-end; max-width: 150px; margin-bottom: -10px; }
.solution__img img { width: 100%; }

/* numeri chiave */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.rich + .stats, .section-head + .stats { margin-top: 40px; }
.stat__num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--green);
  margin: 0 0 8px;
}
.stat__label { font-size: 16px; margin: 0; }


/* --------------------------------------------------------------------------
   9b. Blocchi delle pagine interne
   -------------------------------------------------------------------------- */

/* testo e immagine affiancati */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: stretch;
}
/* l'immagine e' alta esattamente quanto il testo che ha di fianco */
.split__media { position: relative; min-height: 300px; min-width: 0; }
/* distanziatore: il riquadro e' alto almeno quanto la foto alla larghezza
   della colonna (padding in % = percentuale della larghezza) */
.split__media[style*="--ratio"]::before {
  content: ""; display: block; padding-top: calc(100% / var(--ratio));
}
/* le foto lasciate libere (documenti, scansioni, scontornati) stanno nel
   flusso normale: il distanziatore non serve e creerebbe un vuoto */
.split__media:has(> .media-cutout)::before,
.split__media:has(> .media-contain)::before { content: none; }
.split > * { min-width: 0; }
.split__media > div { position: absolute; inset: 0; margin: 0; }
.split__media > div img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__media > .media-cutout img { object-fit: contain; max-height: none; }
/* Scontornati, scansioni d'epoca e documenti: liberi, senza riquadro, alla
   larghezza della colonna e interi (mai ritagliati). */
.split__media:has(> .media-cutout),
.split__media:has(> .media-contain) { min-height: 0; align-self: center; }
.split__media > .media-cutout,
.split__media > .media-contain {
  position: static; background: none; padding: 0; border-radius: 0; overflow: visible;
}
.split__media > .media-cutout img,
.split__media > .media-contain img {
  position: static; display: block; width: 100%; height: auto; max-height: 620px;
  object-fit: contain; padding: 0; margin: 0 auto; border-radius: var(--radius-lg);
}
.split__text  { align-self: center; }
.split__media img { width: 100%; }
.split .section-head { margin-bottom: 26px; }
.split .rich { font-size: 16.5px; }

/* immagine a sinistra e testo a destra, a sezioni alterne */
.split--reverse .split__text { order: 2; }
.split--reverse .split__media { order: 1; }

/* striscia orizzontale di pittogrammi */
.iconstrip {
  margin: 0 auto;
  padding: 10px 0;
  background: #fff;
  display: flex;
  justify-content: center;
  overflow-x: auto;
}
.iconstrip + .iconstrip { margin-top: 18px; }
.section--strip { padding-block: 44px 0; background: #fff; }
.iconstrip__caption { text-align: center; margin: 14px auto 0; max-width: 720px; font-size: 16px; color: var(--muted, #666); }
.iconstrip img { max-width: 100%; height: auto; }

/* argomenti successivi dentro una stessa sezione */
.split--tight { gap: 46px; margin-top: 46px; align-items: center; }
.split--tight:first-of-type { margin-top: 0; }
.split--tight .t-sub { margin-bottom: 14px; }

.prose { max-width: 800px; margin-top: 46px; }
.prose:first-of-type { margin-top: 0; }
.prose .t-sub { margin-bottom: 14px; }

/* intestazione a sinistra, testo scorrevole a destra */
.split--head { grid-template-columns: minmax(280px, .9fr) 1.1fr; align-items: start; }
.split--head .split__head .section-head { margin-bottom: 0; }
.split--head .split__head .t-section { margin-bottom: 0; }
/* le due colonne partono dalla stessa altezza ottica */
.split--head > .rich { padding-top: 6px; font-size: 16.5px; }
.split--head > .rich > *:first-child { margin-top: 0; }

/* percorso a fasi numerate */
.phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  counter-reset: none;
}
.phase {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 30px 32px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.phase:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border); }
.phase__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--green-light);
}
.phase__body > h3 {
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.phase__body .rich { font-size: 16px; }
.phase__body .rich p { margin-bottom: .9em; }
.phase__body .rich ul { margin-bottom: .9em; }
.phase__body .rich ul > li { margin-bottom: .35em; padding-left: 22px; }
.phase__body .rich ul > li::before { width: 6px; height: 6px; top: .58em; }

/* elenco di punti chiave con spunta */
.ticks {
  list-style: none;
  margin: 34px 0 1.6em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ticks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--text-strong);
}
.ticks__icon {
  width: 20px; height: 20px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  flex: none;
}
.section--tint .ticks li, .section--soft .ticks li { background: #fff; }
.section-head + .ticks { margin-top: 30px; }
/* ...mentre l'elenco che segue prende piu' aria */
.rich + .ticks { margin-top: 40px; }


/* cronologia -------------------------------------------------------------
   Una riga per tappa: periodo a sinistra, racconto a destra, uniti da una
   linea verticale con il pallino dell'anno. */
.timeline { list-style: none; margin: 0; padding: 0; }

.timeline__item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  position: relative;
  padding: 0 0 44px 0;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__when {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--green);
  text-align: right;
  padding-top: 2px;
  position: relative;
}
.timeline__when::after {
  content: "";
  position: absolute;
  right: -26px; top: 10px;   /* centro a 229.5px: sulla linea verticale */
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--bg-tint);
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 228.5px; top: 22px; bottom: -4px;
  width: 2px;
  background: var(--border);
}
.timeline__item:last-child::before { display: none; }

.timeline__body { padding-bottom: 4px; }
.timeline__body > h3 {
  font-size: 24px;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.timeline__body .rich { font-size: 16px; }


/* card informative (recapiti e simili) */
.infocards { margin-bottom: 1.6em; }
.infocard {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.infocard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border); }
.infocard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--green);
  margin-bottom: 16px;
}
.infocard__icon .icon { width: 20px; height: 20px; }
.infocard h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 6px; }
.infocard p { font-size: 15.5px; margin: 0; }
.infocard a { font-weight: 600; }


/* argomenti di una sezione come riquadri numerati */
.topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: none;
}
.topic {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border); }
.topic__num {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--yellow);
  margin-bottom: 12px;
}
.topic > h3 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 10px; }
.topic .rich { font-size: 16px; }
.topic .rich ul > li { padding-left: 22px; margin-bottom: .35em; }
.topic .rich ul > li::before { width: 6px; height: 6px; top: .58em; }


/* riquadri verticali: immagine sopra, titolo sotto */
.vcards { margin: 0; }
.vcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border); }
.vcard__media { aspect-ratio: 4 / 3; background: var(--bg-tint); overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard__media--cutout { background: #fff; padding: 22px; }
.vcard__media--cutout img { object-fit: contain; }
.vcard__body .btn-row { margin-top: 18px; }
.vcard__body { padding: 24px 26px 28px; }
.vcard__body h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; margin: 0; }
/* i titoli delle card restano scuri anche quando sono link: verde solo al passaggio */
.vcard__body h3 a { color: inherit; }
.vcard__body h3 a:hover, .vcard:hover h3 a { color: var(--green); }
.vcard__claim { font-size: 14px; color: var(--muted, #666); margin: 6px 0 0; }
.vcard__body .rich { font-size: 16px; margin-top: 8px; }

/* fotografia larga sotto un elenco */
.media-wide {
  margin-top: 40px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius-xl);
}
/* la fotografia si vede per intero: niente ritagli arbitrari */
.media-wide img {
  width: 100%; height: auto; max-height: 520px;
  object-fit: contain; display: block; margin: 0 auto; border-radius: var(--radius-lg);
}
.section--tint .media-wide, .section--soft .media-wide { background: #fff; }

/* soggetto scontornato: fondo tenue e nessun ritaglio */
.media-cutout { background: none; padding: 0; position: relative; }
.media-cutout img {
  object-fit: contain; max-height: 420px; margin: 0 auto; width: auto;
  position: relative; z-index: 1;
}
/* L'ombra segue la sagoma del soggetto: niente ellisse disegnata sotto, che
   si sommava a quella gia' presente nella fotografia. */
.media-cutout img { filter: drop-shadow(0 18px 16px rgba(26, 36, 40, .16)); }
.vcard__media--cutout { position: relative; }


/* i blocchi in griglia prendono aria dal testo che li precede */
.topics--4, .infocards--4 { grid-template-columns: repeat(2, 1fr); }
/* una griglia da tre colonne con due soli elementi lascerebbe un buco */
.grid--3:has(> :nth-child(2):last-child),
.topics:has(> :nth-child(2):last-child),
.vcards:has(> :nth-child(2):last-child),
.gallery:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.grid--3:has(> :only-child),
.topics:has(> :only-child),
.vcards:has(> :only-child) { grid-template-columns: minmax(0, 760px); }
/* Esplora Pellacini e schede simili: 4 card su un'unica riga, immagini piu' contenute */
.vcards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcards--4 .vcard__media { aspect-ratio: 1 / 1; }
.split + .rich, .ticks + .rich, .rich + .rich { margin-top: 48px; }
.rich + .topics, .rich + .phases, .rich + .stats,
.rich + .vcards, .rich + .infocards, .rich + .gallery { margin-top: 40px; }

/* --------------------------------------------------------------------------
   10. Media
   -------------------------------------------------------------------------- */

.media-round { border-radius: var(--radius-xl); overflow: hidden; }
.media-round img { width: 100%; }

.figure figcaption {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.split + .gallery, .rich + .gallery, .ticks + .gallery { margin-top: 40px; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .4s ease;
}
.gallery figure { overflow: hidden; border-radius: var(--radius-lg); }
.gallery figure:hover img { transform: scale(1.05); }

.rich + .videoframe, .split + .videoframe, .ticks + .videoframe { margin-top: 48px; }
.videoframe {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}
.videoframe video, .videoframe iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; object-fit: cover;
}
/* pulsante Play al centro dell'anteprima, con onde che si espandono */
.videoframe__play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(0deg, rgba(13, 20, 24, .35), rgba(13, 20, 24, .10));
  transition: background .3s ease;
}
.videoframe__play:hover { background: linear-gradient(0deg, rgba(13, 20, 24, .45), rgba(13, 20, 24, .18)); }
.videoframe__btn {
  position: relative; display: grid; place-items: center;
  width: clamp(76px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%;
  background: var(--green); color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transition: transform .3s ease, background .3s ease;
}
.videoframe__btn svg { width: 36%; height: 36%; margin-left: 8%; }
.videoframe__btn::before, .videoframe__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .75);
  animation: onda-play 2.4s cubic-bezier(.2, .6, .35, 1) infinite;
}
.videoframe__btn::after { animation-delay: 1.2s; }
.videoframe__play:hover .videoframe__btn { transform: scale(1.08); background: var(--green-dark); }
.videoframe__label {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); white-space: nowrap;
}
.videoframe.is-playing .videoframe__play { display: none; }
@keyframes onda-play {
  0%   { transform: scale(1);   opacity: .9; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .videoframe__btn::before, .videoframe__btn::after { animation: none; opacity: 0; }
}

/* --------------------------------------------------------------------------
   11. Tabelle
   -------------------------------------------------------------------------- */

.table-wrap { overflow-x: auto; max-width: 100%; margin: 0 0 1.6em; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 16px;
}
table.data th, table.data td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
table.data thead th {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  background: var(--green);
  border-bottom: 0;
}
table.data thead th:first-child { border-top-left-radius: var(--radius); }
table.data thead th:last-child  { border-top-right-radius: var(--radius); }
table.data tbody tr:nth-child(even) { background: var(--bg-soft); }


/* --------------------------------------------------------------------------
   11b. Domande frequenti
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--border-soft); margin: 0 0 1.6em; }

.faq__item { border-bottom: 1px solid var(--border-soft); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--green); }

.faq__caret {
  flex: none;
  width: 14px; height: 14px;
  color: var(--green);
  transition: transform .2s ease;
}
.faq__item[open] .faq__caret { transform: rotate(180deg); }

.faq__a { padding: 0 2px 22px; }
.faq__a > *:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Form
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: var(--red); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(84, 188, 86, .18);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B0B3; }

.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 3, 15, .12);
}
.field .error {
  display: none;
  font-size: 13px;
  color: var(--red);
}
.field input:user-invalid ~ .error,
.field textarea:user-invalid ~ .error,
.field select:user-invalid ~ .error { display: block; }

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
}
.check input[type="checkbox"] {
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--green);
  flex: none;
}
.check a { text-decoration: underline; }
.check__title { display: block; color: var(--text-strong); font-weight: 700; }
.check__text { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; }

.form__note { font-size: 13px; color: var(--text-muted); }

/* form su fondo scuro */
.form-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 16px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }

.footer__main { padding-block: 72px 56px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 50px;
}
.footer__brand > img {
  width: 214px;
  margin-bottom: 22px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
}
.footer__brand p { max-width: 340px; margin: 0; }

.footer h2 {
  font-size: 17px;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__nav li + li { margin-top: 11px; }


/* marchi di certificazione e profilo social */
.footer__certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.footer__certs li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  background: #fff;
  border-radius: var(--radius);
}
.footer__certs img { height: 40px; width: auto; }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.footer__social .icon { width: 20px; height: 20px; }

.footer__contacts li { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.footer__contacts .icon { width: 16px; height: 16px; flex: none; margin-top: 4px; opacity: .8; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 22px;
  font-size: 14px;
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.footer__legal button {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255,255,255,.72);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}
.footer__legal button:hover { color: #fff; }

/* --------------------------------------------------------------------------
   14. CTA di chiusura
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--green);
  color: #fff;
  padding-block: 74px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: 42px; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 18px; margin: 0; max-width: 620px; }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   15. Cookie banner e preferenze
   -------------------------------------------------------------------------- */

.cookiebar {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 300;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 30px;
  max-width: 980px;
  margin-inline: auto;
  display: none;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.cookiebar[data-open="true"] { display: flex; }
.cookiebar__body { flex: 1 1 420px; }
.cookiebar h2 { font-size: 20px; margin: 0 0 8px; }
.cookiebar p { font-size: 14px; line-height: 1.55; margin: 0; }
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.cookiebar .btn { padding: 11px 22px; font-size: 16px; }

.cookiemodal {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(26,36,40,.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookiemodal[data-open="true"] { display: flex; }
.cookiemodal__panel {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 34px;
}
.cookiemodal h2 { font-size: 26px; margin: 0 0 10px; }
.cookiemodal__intro { font-size: 16px; margin-bottom: 22px; }

.cookiegroup {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.cookiegroup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cookiegroup h3 { font-size: 17px; margin: 0; }
.cookiegroup p { font-size: 14px; margin: 0; }

.switch { position: relative; display: inline-flex; flex: none; }
.switch input {
  position: absolute; opacity: 0;
  width: 48px; height: 26px; margin: 0; cursor: pointer; z-index: 2;
}
.switch span {
  width: 48px; height: 26px;
  background: #CFD6D8;
  border-radius: 999px;
  position: relative;
  transition: background-color .2s ease;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
}
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { background: var(--green-light); opacity: .65; cursor: not-allowed; }
.switch input:focus-visible + span { outline: 3px solid var(--green-light); outline-offset: 2px; }

.cookiemodal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   16. Pagine legali
   -------------------------------------------------------------------------- */

.legal { padding-block: 70px 90px; }
.legal__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal__layout > * { min-width: 0; }
.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  font-size: 14px;
}
.legal__toc h2 { font-size: 16px; margin: 0 0 12px; }
.legal__toc ul { list-style: none; margin: 0; padding: 0; }
.legal__toc li + li { margin-top: 8px; }
.legal__toc a { color: var(--text); }
.legal__toc a:hover { color: var(--green); }

.legal__body { max-width: 780px; }
.legal__body h2 {
  font-size: 26px;
  margin: 44px 0 14px;
  letter-spacing: -.02em;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 19px; margin: 26px 0 10px; }
.legal__body p, .legal__body li { font-size: 15.5px; line-height: 1.7; }
.legal__updated { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }

/* --------------------------------------------------------------------------
   17. Utility
   -------------------------------------------------------------------------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  :root { --section-y: 84px; --section-y-sm: 60px; }
  .t-hero    { font-size: 54px; }
  .t-section { font-size: 38px; }
  .pagehero h1 { font-size: 46px; }
  .cta-band h2 { font-size: 34px; }
  .mainnav > ul { gap: 20px; }
  .mainnav > ul > li > a { font-size: 16px; }
  .brand img { width: 132px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 84px; }
  .topbar { display: none; }
  .mainnav { display: none; }
  .navtoggle { display: grid; }
  .masthead .container { padding-block: 12px; }

  /*
     Sotto i 1024px la macchina non puo' piu' uscire dal bordo destro senza
     finire sopra al testo: l'intestazione diventa una colonna, con il testo
     davanti e l'immagine sotto. Gli elementi decorativi vengono nascosti.
  */
  .hero { min-height: 0; padding: 90px 0 130px; margin-inline: 10px; border-radius: 14px; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(13, 20, 24, .72) 0%, rgba(13, 20, 24, .86) 100%);
  }
  .hero__body { max-width: none; }
  .hero-bar { margin-top: -64px; }
  .hero-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .hero-bar__item { padding: 24px; }
  .hero-bar__item:nth-child(3) { border-left: 0; }
  .hero-bar__item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .hero-bar__num { font-size: 34px; }
  .panel { padding: 30px 26px; }
  /* le interruzioni di riga del testo originale sono pensate per il desktop */
  .hero__body p br.br-md { display: none; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .vcards--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--split { grid-template-columns: 1fr; gap: 34px; }
  .split, .split--head { grid-template-columns: 1fr; gap: 32px; }
  .phases { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; padding-bottom: 34px; }
  .timeline__when { text-align: left; }
  .timeline__when::after { right: auto; left: -26px; top: 8px; }
  .timeline__item::before { left: 5.5px; top: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .legal__layout { grid-template-columns: 1fr; gap: 30px; }
  .legal__toc { position: static; }
  .form-panel { padding: 32px; }
}

@media (max-width: 767px) {
  :root { --section-y: 60px; --section-y-sm: 44px; --gutter: 18px; }

  body { font-size: 15.5px; }
  .t-hero    { font-size: 38px; letter-spacing: -.02em; }
  .t-section { font-size: 30px; }
  .t-sub     { font-size: 25px; }
  .t-card    { font-size: 22px; }
  .eyebrow   { font-size: 22px; }
  .eyebrow--sm { font-size: 21px; }
  .pagehero  { padding-block: 62px; }
  .pagehero h1 { font-size: 33px; }
  .pagehero p { font-size: 16.5px; }
  .cta-band h2 { font-size: 27px; }
  .cta-band p { font-size: 16px; }
  .stat__num { font-size: 36px; }

  .section-head { margin-bottom: 34px; }
  .grid { gap: 20px; }
  .grid--2, .grid--3, .grid--4, .topics--4, .infocards--4 { grid-template-columns: 1fr; }
  .panel--cols .rich { columns: 1; }
  .vcards--4 { grid-template-columns: 1fr; }
  .split__media { min-height: 0; }
  .split__media > div { position: static; }
  .split__media > div img { height: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .step { padding: 22px 22px 22px 22px; }
  .step::before { position: static; display: block; margin-bottom: 8px; }

  .form__row { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .phase__num { font-size: 32px; }
  .form-panel { padding: 24px; border-radius: var(--radius-lg); }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__main { padding-block: 48px 36px; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; }

  .cta-band .container { flex-direction: column; align-items: flex-start; }

  .cookiebar { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookiebar__actions { width: 100%; }
  .cookiebar__actions .btn { flex: 1 1 auto; justify-content: center; }
  .cookiemodal__panel { padding: 24px; }
  .cookiemodal__actions .btn { flex: 1 1 auto; justify-content: center; }

  .btn { width: auto; }
  .btn-row { gap: 10px; }

  .brand img { width: 118px; }
  .masthead-actions { gap: 10px; }
  .masthead-actions .btn { font-size: 14px; padding: 10px 16px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  /* su schermi molto stretti il pulsante resta disponibile nel menu */
  .masthead-actions .btn--accent { display: none; }
}

/* --------------------------------------------------------------------------
   19. Preferenze utente
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover, .feature:hover, .solution:hover, .btn:hover { transform: none; }
}

@media print {
  .topbar, .masthead, .footer, .cookiebar, .cookiemodal,
  .mobilenav, .cta-band, .navtoggle { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 12pt; }
  a { color: #000; text-decoration: underline; }
}

/* barra principale compatta tra 1025 e 1200 px, cosi' il pulsante resta nello schermo */
@media (min-width: 1025px) and (max-width: 1200px) {
  .mainnav > ul { gap: 12px; }
  .mainnav > ul > li > a { font-size: 14px; }
  .masthead-actions .btn { padding-inline: 16px; font-size: 14px; }
}

/* ---- home nuovo stile su schermi piccoli: frutta e pomodoro ridotti, ai bordi ---- */
.home-classica { overflow-x: clip; }
@media (max-width: 1360px) {
  .home-classica .section[data-deco]::before,
  .home-classica .section[data-deco]::after { scale: .6; }
  .home-classica .section[data-deco="2"]::before { top: -76px; right: -8px; left: auto; transform-origin: top right; }
  .home-classica .section[data-deco="4"]::before { top: -90px; right: -8px; left: auto; transform-origin: top right; }
  .home-classica .section[data-deco="6"]::after  { bottom: -96px; left: -8px; right: auto; transform-origin: bottom left; }
  .home-classica .section[data-deco="8"]::before { top: -76px; right: -10px; left: auto; transform-origin: top right; }
  .home-classica .section[data-deco="9"]::before { top: -90px; left: -8px; right: auto; transform-origin: top left; }
}
@media (max-width: 700px) {
  .home-classica .section[data-deco]::before,
  .home-classica .section[data-deco]::after { scale: .4; }
  .home-classica .section[data-deco="2"]::before { top: -52px; right: -6px; }
  .home-classica .section[data-deco="4"]::before { top: -58px; right: -6px; }
  .home-classica .section[data-deco="6"]::after  { bottom: -62px; left: -6px; }
  .home-classica .section[data-deco="8"]::before { top: -52px; right: -6px; }
  .home-classica .section[data-deco="9"]::before { top: -58px; left: -6px; }
}
/* pomodoro in hero su tablet e telefono */
@media (max-width: 1024px) {
  .home-classica .hero-bar::before { left: auto; right: 28px; top: -100px; width: 120px; height: 120px; }
  .home-classica .hero-bar::after { left: auto; right: 20px; top: -2px; width: 136px; height: 22px; }
}
@media (max-width: 700px) {
  .home-classica .hero-bar::before { right: 22px; top: -72px; width: 88px; height: 88px; }
  .home-classica .hero-bar::after { right: 18px; top: -2px; width: 96px; height: 18px; }
}


/* ==========================================================================
   REVISIONE 6 NOVEMBRE 2026 - VIA DI MEZZO
   Base grafica di prima (colori, frutta e ortaggi, reticolo, box bianchi con
   bordo colorato) con le richieste puntuali emerse nella call con Francesco:
   un solo menu, footer bianco, angoli meno arrotondati, testo piu' leggibile,
   fascia delle schede senza velatura nera, galleria foto nelle schede.
   ========================================================================== */

:root {
  --text:      #3E4549;   /* testo corrente piu' scuro: piu' contrasto */
  --text-muted: #687075;
  --radius:    4px;       /* angoli meno arrotondati (prima 5 / 10 / 20 px) */
  --radius-lg: 6px;
  --radius-xl: 8px;
  --orange:    #F08A00;
  --topbar-h:  0px;
}
.hero-bar__grid { border-radius: var(--radius-lg); }
.hero .btn { border-radius: var(--radius); }

/* ---------- box bianchi con bordo colorato: anche in «Cosa ci rende diversi» ---------- */
.home-classica .feature { border-top: 4px solid var(--green-light); }
.home-classica .feature:nth-child(3n+2) { border-top-color: var(--yellow); }
.home-classica .feature:nth-child(3n) { border-top-color: var(--red); }
/* soluzioni: box bianchi con bordo colorato e il loro frutto (niente fondi pastello) */
.home-classica [data-deco="3"] { background: #fff; }
.home-classica .solution:nth-child(n) { background: #fff; border: 1px solid var(--border-soft);
  border-top: 4px solid var(--green-light); }
.home-classica .solution:nth-child(3n+2) { border-top-color: var(--yellow); }
.home-classica .solution:nth-child(3n) { border-top-color: var(--red); }

/* ---------- header: una sola riga, sopra la barra verde con i soli contatti ---------- */
.topbar--contatti .container { justify-content: flex-end; min-height: 38px; }
.masthead { border-bottom: 3px solid var(--green); }
.masthead.is-stuck { box-shadow: 0 2px 12px rgba(26, 36, 40, .08); }
.masthead .container { gap: 24px; }
.mainnav > ul { gap: 24px; }
.mainnav > ul > li > a { color: var(--ink); font-size: 16px; }
.mainnav > ul > li > a:hover,
.mainnav > ul > li.is-current > a { color: var(--green); }
.mainnav li.has-sub { position: relative; }
.mainnav .subnav { min-width: 260px; border-top: 3px solid var(--green); }
.mainnav .subnav a:hover { background: var(--bg-tint); color: var(--green); }
.masthead .langswitch__btn { color: var(--ink); }
.masthead .langswitch__btn .icon { color: var(--green); }
/* il menu su una riga ha bisogno di spazio: sotto i 1280 px si passa al
   pulsante con il menu a scomparsa */
@media (min-width: 1280px) and (max-width: 1540px) {
  .masthead .container { gap: 14px; }
  .mainnav > ul { gap: 14px; }
  .mainnav > ul > li > a { font-size: 14.5px; gap: 4px; }
  .brand img { width: 120px; }
  .masthead-actions { gap: 10px; }
  .masthead-actions .btn { padding: 11px 16px; font-size: 14.5px; }
}
@media (max-width: 1279px) {
  .mainnav { display: none; }
  .navtoggle { display: grid; }
}
/* sotto i 1025 px c'e' il menu mobile: il selettore lingua resta visibile */
@media (max-width: 1024px) {
  .masthead .langswitch { display: block; }
}

/* ---------- testate delle pagine interne: come prima, velatura piu' leggera ---------- */
.pagehero::after {
  background: linear-gradient(100deg, rgba(26, 36, 40, .72) 0%, rgba(26, 36, 40, .48) 46%,
                                      rgba(26, 36, 40, .14) 100%);
}
.pagehero h1, .pagehero p, .pagehero .crumbs { text-shadow: 0 1px 14px rgba(13, 20, 24, .45); }

/* ---------- schede: vantaggi in box bianchi con bordo colorato ---------- */
.topics--vant .topic { border-top: 4px solid var(--green-light); }
.topics--vant .topic:nth-child(3n+2) { border-top-color: var(--yellow); }
.topics--vant .topic:nth-child(3n) { border-top-color: var(--red); }

/* schede: le caratteristiche tecniche (elenchi) in un riquadro a colpo d'occhio */
.page-scheda .split__text .rich > ul {
  background: var(--bg-tint); border-left: 4px solid var(--green);
  padding: 18px 22px 8px; margin-block: 1.2em;
}
.page-scheda .section--tint .split__text .rich > ul,
.page-scheda .section--soft .split__text .rich > ul { background: #fff; }
.page-scheda .split__text .rich > ul > li { color: var(--text-strong); }
.page-scheda .split__text .rich > ul > li::before { background: var(--green); }

/* ---------- footer bianco, una linea verde ---------- */
.footer { background: #fff; color: var(--text); border-top: 2px solid var(--green); }
.footer a { color: var(--text); }
.footer a:hover { color: var(--green); }
.footer h2 { color: var(--ink); }
.footer__brand > img { padding: 0; background: none; }
.footer__certs li { padding: 0; background: none; }
.footer__contacts .icon { color: var(--green); opacity: 1; }
.footer__bottom { border-top: 1px solid var(--border); color: var(--text-muted); }
.footer__legal button { color: var(--text); }
.footer__legal button:hover { color: var(--green); }

/* ---------- La nostra storia: tappe con le loro foto ---------- */
.storia-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.storia-split--rev .storia__media { order: -1; }
.storia__anno {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(54px, 6vw, 84px);
  line-height: 1; color: var(--orange); margin: 0 0 12px; letter-spacing: -.02em;
}
.storia__titolo { margin-bottom: 18px; }
.storia__foto { margin: 0; }
.storia__foto img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.storia-strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.storia-strip figure { margin: 0; flex: 1 1 200px; max-width: 360px; }
.storia-strip img { width: 100%; height: 240px; object-fit: contain; }
.storia-strip--sotto { margin-top: 20px; justify-content: flex-start; }
.storia-strip--sotto figure { flex: 0 1 48%; }
.storia-strip--sotto img { height: 200px; }
.storia-strip--loghi figure { max-width: 760px; flex-basis: 100%; }
.storia-strip--loghi img { height: auto; }
.storia-band {
  background: var(--orange); color: #fff; padding: 34px 40px; text-align: center;
  font-size: 20px; line-height: 1.5;
}
.storia-band p, .storia-band strong { color: #fff; }
.storia__citazione { margin: 0 0 28px; padding: 0 0 0 22px; border-left: 4px solid var(--green); }
.storia__citazione p { font-family: var(--font-display); font-size: 26px; line-height: 1.3; color: var(--ink); margin: 0 0 8px; }
.storia__citazione footer { font-size: 16px; color: var(--text); }
@media (max-width: 900px) {
  .storia-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .storia-split--rev .storia__media { order: 0; }
  .storia-strip img { height: 180px; }
}

/* ---------- hero: Tornado 2 vista di fronte, esce dal bordo inferiore ---------- */
.hero--light { overflow: hidden; min-height: clamp(600px, 76vh, 820px); padding: 96px 0 170px; }
.hero--light .hero__stage {
  position: absolute; z-index: 2; margin: 0; left: auto;
  /* rispetto alla colonna centrale: sporge di poco oltre il margine destro */
  /* grande: esce oltre il bordo destro dello schermo e sotto la fascia dei numeri */
  /* la posizione e' rispetto alla colonna centrale: si aggiunge il margine
     fino al bordo dello schermo, poi si sporge di 200px oltre */
  /* la posizione e' rispetto alla colonna centrale: si aggiunge il margine
     fino al bordo dello schermo, poi si sporge di 200px oltre */
  /* revisione 9 novembre: macchina un po' piu' verso il centro (sporgeva troppo) */
  right: calc(min(0px, (1240px - 100vw) / 2) - 120px);
  width: clamp(640px, 62vw, 880px);
  bottom: -38%;
  animation: macchina-in 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.hero--light .hero__plant { width: 100%; height: auto; filter: none; }
.hero--light .hero__body { position: relative; z-index: 3; max-width: 540px; }
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero--light .hero__body { max-width: 480px; }
  .hero--light .hero__stage { width: 60vw; right: -80px; bottom: -18%; }
}
@media (max-width: 1024px) {
  .hero--light { padding: 64px 0 120px; }
  .hero--light .hero__stage {
    position: relative; right: auto; bottom: auto; width: min(560px, 92%);
    margin: 30px auto -60px;
  }
}
@media (prefers-reduced-motion: reduce) { .hero--light .hero__stage { animation: none; } }
@keyframes macchina-in { from { opacity: 0; transform: translateX(6vw); } to { opacity: 1; transform: none; } }

/* il pannello del menu mobile, chiuso, sta fuori dallo schermo: non deve
   generare scorrimento orizzontale */
.mobilenav { overflow: hidden; }
/* frutta e ortaggi ai bordi: nessuno scorrimento orizzontale su schermi stretti */
html { overflow-x: clip; }

/* «Preferenze cookie» nel footer: come gli altri link, senza sottolineatura */
.footer__legal button { text-decoration: none; }

/* ---------- testate delle pagine: stessa altezza e stessa impaginazione ovunque ---------- */
.pagehero {
  display: flex; align-items: center;
  min-height: 440px; padding-block: 72px;
}
.pagehero > .container { width: 100%; }
.pagehero__inner { max-width: 900px; }
.pagehero h1 { font-size: clamp(36px, 3.4vw, 52px); line-height: 1.1; margin-bottom: 16px; }
.pagehero p { max-width: 680px; }
.pagehero .eyebrow { margin-bottom: 10px; }
@media (max-width: 1024px) {
  .pagehero { min-height: 360px; padding-block: 56px; }
}
@media (max-width: 600px) {
  .pagehero { min-height: 300px; padding-block: 44px; }
  .pagehero h1 { font-size: 32px; }
}


/* ==========================================================================
   REVISIONE DESIGN (novembre 2026): coerenza tra le pagine, ritmo, infografiche
   ========================================================================== */

/* ---------- tipografia e ritmo ---------- */
.rich, .split__text .rich, .phase__body .rich, .topic .rich { font-size: 17px; line-height: 1.75; }
.rich p { margin-bottom: 1em; }
.split__text { max-width: 600px; }
.split--reverse .split__text { justify-self: end; }
.t-section { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.015em; }
.t-sub { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.section-head .eyebrow, .split__text .eyebrow { font-size: 22px; margin-bottom: 10px; }
.section { padding-block: clamp(64px, 7vw, 104px); }
.section--sm { padding-block: clamp(48px, 5vw, 72px); }

/* introduzione: la prima sezione dopo la testata, testo in evidenza */
/* revisione 17 novembre: tutti i paragrafi dell'introduzione della stessa misura */
/* revisione 24 novembre: solo il primo blocco dell'introduzione; i blocchi
   successivi della stessa sezione hanno il testo normale come il resto della pagina */
.section--intro .container > .rich:first-child > p,
.section--intro .container > :first-child .split__text .rich > p,
.section--intro .container > .split:first-child .rich > p {
  font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; color: var(--text-strong);
}
.section--intro .container > :first-child .rich > p strong { font-weight: 700; }

/* ---------- pittogrammi in testa alle schede: stessa misura ovunque ---------- */
.section--strip { padding-block: 40px 8px; }
.iconstrip { display: flex; justify-content: center; }
.iconstrip img { height: auto; max-height: 96px; width: auto; max-width: min(100%, 980px); object-fit: contain; }
.iconstrip + .iconstrip { margin-top: 10px; }
.iconstrip__caption { font-size: 15px; color: var(--text-muted); }

/* ---------- foto accanto ai testi: proporzioni sotto controllo ---------- */
.split__media img { max-height: 640px; }
.split__media > div { overflow: hidden; }
.split__media > div img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.split__media:hover > div img { transform: scale(1.03); }

/* ---------- mosaico delle foto (senza titolo): ogni foto intera ---------- */
.section--gallery { padding-top: 0; }
.section--gallery:first-of-type, .section + .section--gallery { padding-top: clamp(24px, 3vw, 40px); }
.photogrid { columns: 3 280px; column-gap: 16px; }
.photogrid--2 { columns: 2 280px; }
.photogrid--1 { columns: 1; max-width: 860px; margin-inline: auto; }
.photogrid__item {
  break-inside: avoid; margin: 0 0 16px; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--bg-tint); position: relative;
}
.photogrid__item img { width: 100%; height: auto; display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.photogrid__item:hover img { transform: scale(1.04); }
.photogrid__item--light { background: #fff; border: 1px solid var(--border-soft); }
.photogrid__item--light img { padding: 18px; }
.photogrid__item--light:hover img { transform: none; }

/* ---------- infografica di processo: Tailoring System in home ---------- */
.process {
  --progress: 1;
  list-style: none; margin: 8px 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px;
}
.process::before, .process::after {
  content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12);
  top: 31px; height: 3px; border-radius: 3px;
}
.process::before { background: var(--border); }
.process::after {
  background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--red));
  transform-origin: left center; transform: scaleX(var(--progress));
}
.process__step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.process__num {
  display: grid; place-items: center; margin: 0 auto 18px;
  width: 64px; height: 64px; border-radius: 50% !important;
  background: #fff; border: 3px solid var(--green-light);
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--green);
  box-shadow: 0 8px 20px rgba(26, 36, 40, .08);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.process__step:nth-child(3n+2) .process__num { border-color: var(--yellow); color: var(--yellow-dark); }
.process__step:nth-child(3n) .process__num { border-color: var(--red); color: var(--red); }
.process__step:hover .process__num { transform: translateY(-4px) scale(1.06); }
.process__title { font-size: 18px; line-height: 1.3; margin: 0; letter-spacing: -.01em; }
@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .process::before, .process::after { display: none; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .process__step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; text-align: left; padding: 0 0 26px; }
  .process__step:not(:last-child)::after {
    content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 3px; background: var(--border);
  }
  .process__num { margin: 0; }
}

/* ---------- fasi (Metodo): percorso verticale con linea di collegamento ---------- */
.phases { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 980px; margin-inline: auto; position: relative; }
.phase {
  grid-template-columns: 76px 1fr; gap: 28px; background: none; border: 0; border-radius: 0;
  padding: 0 0 44px; position: relative;
}
.phase:hover { transform: none; box-shadow: none; }
.phase:not(:last-child)::before {
  content: ""; position: absolute; left: 36px; top: 76px; bottom: 6px; width: 3px; background: var(--border);
}
.phase__num {
  width: 76px; height: 76px; border-radius: 50% !important; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--green-light); font-size: 26px; color: var(--green);
  box-shadow: 0 10px 24px rgba(26, 36, 40, .08);
}
.phase:nth-child(3n+2) .phase__num { border-color: var(--yellow); color: var(--yellow-dark); }
.phase:nth-child(3n) .phase__num { border-color: var(--red); color: var(--red); }
.phase__body {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 26px 30px 24px; box-shadow: 0 6px 22px rgba(26, 36, 40, .05);
}
.section--tint .phase__body, .section--soft .phase__body { border-color: transparent; }
@media (max-width: 600px) {
  .phase { grid-template-columns: 52px 1fr; gap: 16px; }
  .phase__num { width: 52px; height: 52px; font-size: 19px; }
  .phase:not(:last-child)::before { left: 24px; top: 52px; }
  .phase__body { padding: 20px; }
}

/* ---------- riquadri: misure e ritmo coerenti, ultime righe centrate ---------- */
.topics { gap: 24px; }
.topics:not(.topics--4) { display: flex; flex-wrap: wrap; justify-content: center; }
.topics:not(.topics--4) > .topic { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 1024px) { .topics:not(.topics--4) > .topic { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .topics:not(.topics--4) > .topic { flex-basis: 100%; } }
.topic, .feature, .vcard, .card, .infocard {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.topic:hover, .feature:hover, .vcard:hover, .card:hover, .infocard:hover {
  transform: translateY(-6px); box-shadow: 0 22px 44px rgba(26, 36, 40, .10);
}
.tilecard img { transition: transform 1s cubic-bezier(.2, .7, .2, 1); }

/* ---------- numeri ---------- */
.hero-bar__num, .stat__num { font-variant-numeric: tabular-nums; }

/* ---------- bottoni: freccia che scorre ---------- */
.btn .icon { transition: transform .25s ease; }
.btn:hover .icon { transform: translateX(4px); }

/* ---------- animazioni (GSAP): stato iniziale solo con JS attivo ---------- */
@media (prefers-reduced-motion: reduce) {
  .process::after { transform: none; }
}

/* ---------- percorsi con testo (Parla con Pellacini, Contatti...) ---------- */
.process--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.process--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.process--3::before, .process--3::after { left: calc(100% / 6); right: calc(100% / 6); }
.process--4::before, .process--4::after { left: 12.5%; right: 12.5%; }
.process--5::before, .process--5::after { left: 10%; right: 10%; }
.process--text .process__title { font-size: 19px; margin-bottom: 8px; }
.process__text .rich { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.process__text .rich p { margin-bottom: .5em; }
@media (max-width: 1024px) {
  .process--3, .process--4, .process--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .process--text .process__step { grid-template-columns: 64px 1fr; align-items: start; }
  .process--text .process__step > :not(.process__num) { grid-column: 2; }
}

/* ---------- blocchi di solo testo: impaginazione editoriale, non riquadri ---------- */
.section > .container:has(> .section-head + .panel) {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start;
}
.section > .container:has(> .section-head + .panel) > .section-head { margin: 0; position: sticky; top: calc(var(--header-h) + 30px); }
.panel { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 4px 0 4px 32px; border-left: 3px solid var(--green-light); }
.panel .rich { font-size: 19px; line-height: 1.7; color: var(--text-strong); }
.panel--cols .rich { columns: 1; }
@media (max-width: 900px) {
  .section > .container:has(> .section-head + .panel) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section > .container:has(> .section-head + .panel) > .section-head { position: static; }
  .panel { padding-left: 22px; }
  .panel .rich { font-size: 17px; }
}

/* ---------- numeri chiave: infografica a riquadri ---------- */
.stats { gap: 20px; }
.stat {
  background: #fff; border-top: 4px solid var(--green-light); border-radius: var(--radius-lg);
  padding: 26px 26px 24px; box-shadow: 0 8px 26px rgba(26, 36, 40, .06);
}
.stat:nth-child(4n+2) { border-top-color: var(--yellow); }
.stat:nth-child(4n+3) { border-top-color: var(--red); }
.stat__num { font-size: clamp(36px, 3.4vw, 48px); line-height: 1; margin-bottom: 10px; }
.stat:nth-child(4n+2) .stat__num { color: var(--yellow-dark); }
.stat:nth-child(4n+3) .stat__num { color: var(--red); }
.stat__label { font-size: 15px; line-height: 1.4; }
.grid--split .stats .stat { box-shadow: none; }
@media (max-width: 600px) {
  .vcards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
  .vcards--4 .vcard__body { padding: 14px; }
  .vcards--4 .vcard__body h3 { font-size: 16px; }
  .vcards--4 .vcard__media--cutout img { padding: 10px; }
}

/* ---------- immagini: angoli vivi ovunque (mai arrotondate) ---------- */
img, picture, video, iframe, figure,
.media-round, .media-cutout, .media-contain, .split__media, .split__media > div,
.photogrid__item, .gallery figure, .gallery img, .tilecard, .vcard, .vcard__media,
.card, .card__media, .videoframe, .storia__foto, .storia-strip figure,
.solution__img, .rich img, .pagehero__bg, .hero__stage, .iconstrip,
.mega__promo, .infocard__media, .solution { border-radius: 0 !important; }

/* moduli: piu' stretti, in tutto il sito */
.form-panel { max-width: 720px; margin-inline: auto; }


/* logo dell'header un po' piu' piccolo */
.masthead .brand img { width: 128px; }
@media (min-width: 1280px) and (max-width: 1540px) { .masthead .brand img { width: 108px; } }
@media (max-width: 1279px) { .masthead .brand img { width: 112px; } }

/* ---------- Parla con Pellacini: testata da landing page, modulo subito visibile ---------- */
.landing { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 64px 0 72px; }
.landing__bg { position: absolute; inset: 0; z-index: 0; }
.landing__bg img { width: 100%; height: 100%; object-fit: cover; }
.landing::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(20, 28, 32, .9) 0%, rgba(20, 28, 32, .78) 50%, rgba(20, 28, 32, .55) 100%);
}
.landing__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.landing .crumbs { margin-bottom: 18px; }
.landing__kicker { font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.landing__title { color: #fff; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 18px; }
.landing__lead { color: rgba(255, 255, 255, .88); font-size: 20px; line-height: 1.5; margin: 0 0 26px; max-width: 560px; }
.landing__points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.landing__points li { display: flex; gap: 12px; align-items: center; font-size: 17px; color: #fff; }
.landing__points .icon { width: 26px; height: 26px; flex: none; padding: 5px; background: var(--green); color: #fff; border-radius: 50% !important; }
.landing__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.landing__direct p { margin: 0; width: 100%; font-size: 14px; color: rgba(255, 255, 255, .7); }
.landing__direct a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.landing__direct a:hover { color: var(--yellow); }
.landing__direct .icon { width: 18px; height: 18px; color: var(--yellow); }
.landing__trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.landing__trust li { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .8); }
.landing__trust li + li::before { content: "·"; margin-right: 22px; color: var(--yellow); }
.landing__form { background: #fff; color: var(--text); padding: 30px 30px 26px; border-top: 4px solid var(--green); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); scroll-margin-top: calc(var(--header-h) + 60px); }
.landing__form-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); margin: 0 0 18px; }
.landing__form .form__row { gap: 12px; }
.landing__form textarea { min-height: 96px; }
@media (max-width: 1024px) {
  .landing__grid { grid-template-columns: minmax(0, 1fr); }
  .landing__form { max-width: 640px; }
}
@media (max-width: 600px) {
  .landing { padding: 40px 0 48px; }
  .landing__form { padding: 22px 18px; }
}
@media (max-width: 600px) {
  .landing__trust li + li::before { content: none; }
  .landing__trust { gap: 6px 18px; }
}
.landing__trust { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }

/* ---------- Azienda: secondo blocco come dichiarazione centrata + linea delle generazioni ---------- */
.section--statement > .container { display: block !important; text-align: center; }
.section--statement > .container > .section-head { position: static !important; margin: 0 auto 18px !important; max-width: 760px; }
.section--statement .panel { border-left: 0; padding: 0; max-width: 820px; margin: 0 auto; }
.section--statement .panel .rich { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.6; }
.generazioni {
  list-style: none; margin: 56px 0 0; padding: 0; position: relative; text-align: left;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.generazioni::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--red), var(--green)); }
.generazioni__tappa { position: relative; padding-top: 38px; }
.generazioni__tappa::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50% !important; background: #fff; border: 4px solid var(--green); }
.generazioni__tappa:nth-child(2)::before { border-color: var(--yellow); }
.generazioni__tappa:nth-child(3)::before { border-color: var(--red); }
.generazioni__anno { display: block; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1; color: var(--green); margin-bottom: 10px; }
.generazioni__tappa:nth-child(2) .generazioni__anno { color: var(--yellow-dark); }
.generazioni__tappa:nth-child(3) .generazioni__anno { color: var(--red); }
.generazioni__tappa h3 { font-size: 19px; margin: 0 0 6px; }
.generazioni__tappa p { font-size: 15.5px; line-height: 1.55; margin: 0; }
@media (max-width: 900px) {
  .generazioni { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .generazioni::before { left: 9px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .generazioni__tappa { padding: 0 0 26px 44px; }
}

/* ---------- Azienda: Esplora Pellacini, card con il soggetto che esce dal riquadro ---------- */
.page-azienda .vcards, .page-chi-siamo .vcards { gap: 26px; margin-top: 70px; }
.page-azienda .vcard, .page-chi-siamo .vcard {
  position: relative; overflow: visible; background: #fff; border: 0;
  border-bottom: 4px solid var(--green-light); box-shadow: 0 14px 36px rgba(26, 36, 40, .08);
  padding-top: 0; display: flex; flex-direction: column; text-align: center;
}
.page-azienda .vcard:nth-child(4n+2), .page-chi-siamo .vcard:nth-child(4n+2) { border-bottom-color: var(--yellow); }
.page-azienda .vcard:nth-child(4n+3), .page-chi-siamo .vcard:nth-child(4n+3) { border-bottom-color: var(--red); }
.page-azienda .vcard__media, .page-azienda .vcard__media--cutout, .page-chi-siamo .vcard__media, .page-chi-siamo .vcard__media--cutout {
  background: none !important; aspect-ratio: auto; height: 170px; margin: -64px auto 0; overflow: visible;
}
.page-azienda .vcard__media img, .page-chi-siamo .vcard__media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; padding: 0 !important;
  filter: drop-shadow(0 14px 16px rgba(26, 36, 40, .18)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.page-azienda .vcard:hover .vcard__media img, .page-chi-siamo .vcard:hover .vcard__media img { transform: translateY(-8px) rotate(-4deg) scale(1.05); }
.page-azienda .vcard__body, .page-chi-siamo .vcard__body { padding: 14px 22px 26px; align-items: center; }
.page-azienda .vcard__body h3, .page-chi-siamo .vcard__body h3 { font-size: 21px; margin-bottom: 6px; }
.page-azienda .vcard .btn-row, .page-chi-siamo .vcard .btn-row { margin: 0; justify-content: center; }
.page-azienda .vcard .btn, .page-chi-siamo .vcard .btn { background: none; border: 0; color: var(--green); padding: 4px 0; font-size: 15px; }
.page-azienda .vcard .btn::after, .page-chi-siamo .vcard .btn::after { content: ""; position: absolute; inset: 0; }    /* tutta la card cliccabile */
.page-azienda .vcard .btn::before, .page-chi-siamo .vcard .btn::before { content: "→"; order: 2; margin-left: 4px; transition: transform .25s ease; }
.page-azienda .vcard:hover .btn::before, .page-chi-siamo .vcard:hover .btn::before { transform: translateX(4px); }
.page-azienda .vcard:hover, .page-chi-siamo .vcard:hover { transform: translateY(-6px); }
@media (max-width: 600px) {
.page-azienda .vcards, .page-chi-siamo .vcards { margin-top: 56px; row-gap: 60px; }
.page-azienda .vcard__media, .page-chi-siamo .vcard__media { height: 110px; margin-top: -46px; }
}

/* ---------- carosello delle foto: loop continuo, a tutta larghezza ---------- */
.section--gallery { padding-block: clamp(32px, 4vw, 56px); overflow: hidden; }
.carousel { overflow: hidden; width: 100%; margin-top: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.section--gallery .carousel { margin-top: 0; }
.carousel__track { display: flex; gap: 16px; width: max-content; animation: carosello var(--durata, 60s) linear infinite; }
.carousel:hover .carousel__track, .carousel:focus-within .carousel__track { animation-play-state: paused; }
.carousel__item { flex: none; display: block; width: clamp(280px, 30vw, 460px); height: clamp(200px, 21vw, 320px); overflow: hidden; cursor: zoom-in; background: var(--bg-tint); }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.carousel__item:hover img { transform: scale(1.05); }
@keyframes carosello { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .carousel { overflow-x: auto; } .carousel__track { animation: none; }
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center;
  background: rgba(13, 20, 24, .92); padding: 60px 70px; }
.lightbox[data-open="true"] { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; cursor: pointer;
  width: 52px; height: 52px; font-size: 28px; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: var(--green); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 14px; }
@media (max-width: 600px) { .lightbox { padding: 60px 10px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; } }

/* voce della pagina in cui ci si trova: evidenziata come al passaggio del mouse, fissa */
.subnav a.is-current, .subnav a[aria-current="page"] { background: var(--bg-tint); color: var(--green); font-weight: 700; }
.mega__list a.is-current { background: var(--bg-tint); color: var(--green); border-color: var(--green); font-weight: 700; }
.m-acc__panel a.is-current { color: var(--green); font-weight: 700; }
.mainnav > ul > li.is-current > a { color: var(--green); }
.mainnav > ul > li > a { position: relative; }

/* ---------- La nostra storia: stesso linguaggio del resto del sito ---------- */
/* anno come le altre infografiche: verde, con il filetto giallo, vicino al titolo */
.storia__anno {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(48px, 5vw, 72px); color: var(--green); margin: 0 0 14px;
}
.storia__anno::before { content: ""; flex: none; width: 46px; height: 4px; background: var(--yellow); border-radius: 2px; }
.storia__titolo { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 0 0 16px; }
.storia__testo { max-width: 580px; }
.storia__testo.rich, .storia__testo .rich { font-size: 17px; line-height: 1.75; }
.storia__testo p { color: var(--text); }
.storia__testo strong { color: var(--text-strong); }
.storia-split { gap: clamp(40px, 6vw, 88px); }
/* foto: cornice e ombra come le card del sito */
.storia__foto { background: #fff; padding: 10px; box-shadow: 0 16px 40px rgba(26, 36, 40, .10); }
.storia__foto img { max-height: 560px; }
.storia-strip figure { background: #fff; padding: 8px; box-shadow: 0 10px 26px rgba(26, 36, 40, .08); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.storia-strip figure:hover { transform: translateY(-6px); }
.storia-strip img { height: 220px; object-fit: contain; }
.storia-strip--loghi figure { background: none; padding: 0; box-shadow: none; }
.storia-strip--loghi figure:hover { transform: none; }
.section--tint .storia__foto, .section--tint .storia-strip figure { background: #fff; }
/* fascia di testo: verde pieno come le fasce del sito, al posto del riquadro arancio */
.storia-band { background: var(--green); padding: 34px clamp(24px, 5vw, 64px); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; text-align: left;
  border-left: 6px solid var(--yellow); }
/* citazione: come nelle altre pagine */
.storia__citazione { border-left-color: var(--yellow); padding-left: 26px; }
.storia__citazione p { font-size: clamp(24px, 2.2vw, 32px); font-style: normal; }
@media (max-width: 900px) {
  .storia__foto { padding: 6px; }
  .storia-strip img { height: 160px; }
}
.storia__testo .storia__anno { color: var(--green); }
.storia__testo .storia__titolo { color: var(--ink); }
.storia__media { display: flex; flex-direction: column; align-items: center; }
.storia__foto { width: fit-content; max-width: 100%; }
.storia__foto img { width: auto; max-width: 100%; }
.storia__testo .storia__titolo { margin-top: 0; }
.storia__testo .storia__anno { margin-bottom: 10px; }

/* illustrazione vettoriale libera (mappa della Food Valley nella pagina sede):
   nessun riquadro, nessuno zoom al passaggio, sborda verso il margine */
.split__media > .media-vector { overflow: visible !important; }
.split__media > .media-vector img {
  width: 114%; max-width: none; max-height: none; margin: 0 0 0 -12%;
  transform: none !important; background: none;
}
.split--reverse .split__media > .media-vector img { margin: 0 -2% 0 0; }
@media (max-width: 900px) {
  .split__media > .media-vector img,
  .split--reverse .split__media > .media-vector img { width: 108%; margin: 0 -4%; }
}

/* slider di un blocco testo + foto: sostituisce il carosello quando le foto
   rimaste sono una o due (dissolvenza, frecce, pallini, clic = lightbox) */
.mslider { position: absolute; inset: 0; overflow: hidden; background: #E9ECEE; }
.mslider__slide {
  position: absolute; inset: 0; display: block; opacity: 0;
  transition: opacity .8s ease; pointer-events: none;
}
.mslider__slide[data-active] { opacity: 1; pointer-events: auto; }
.split__media .mslider__slide img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.split__media:hover .mslider img { transform: none; }
.mslider__nav {
  position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 30px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding: 0 0 4px;
  box-shadow: 0 6px 18px rgba(26, 36, 40, .14); transition: background .2s, color .2s;
}
.mslider__nav:hover, .mslider__nav:focus-visible { background: var(--green); color: #fff; }
.mslider__nav--prev { left: 14px; }
.mslider__nav--next { right: 14px; }
.mslider__dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.mslider__dot {
  width: 28px; height: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .6); box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.mslider__dot[aria-current="true"] { background: var(--green); }
@media (max-width: 900px) {
  .split__media--slider { aspect-ratio: 4 / 3; }
  .split__media > .mslider { position: absolute; }
  .split__media .mslider__slide img { height: 100%; }
}
/* variante libera: foto intere (scontornati, verticali) nel flusso, su bianco */
.split__media--libero { min-height: 0; align-self: center; }
.split__media--libero::before { content: none !important; }
.split__media > .mslider--libero { position: relative; inset: auto; aspect-ratio: 4 / 3; background: none; overflow: hidden; }
.split__media .mslider--libero .mslider__slide img { object-fit: contain; }
.mslider--libero .mslider__dot { background: rgba(26, 36, 40, .18); box-shadow: none; }
.mslider--libero .mslider__dot[aria-current="true"] { background: var(--green); }

/* ---------- La nostra storia: revisione 13 novembre ---------- */
/* date: anno arancio e filetto verde (piu' allegro), filetto piu' spesso */
.storia__testo .storia__anno, .storia__anno { color: var(--yellow); }
.storia__anno::before { background: var(--green); height: 7px; width: 54px; border-radius: 0; }
/* fascia verde: banda laterale arancio piu' spessa */
.storia-band { border-left-width: 14px; }
/* foto piu' grandi, come nel sito attuale */
.storia-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.storia-split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.storia__foto img { max-height: 640px; }
.storia-strip figure { max-width: 420px; }
.storia-strip img { height: 280px; }
.storia-strip--sotto img { height: 220px; }
/* tappe con il disegno tecnico della macchina come sfondo */
.storia-disegno { position: relative; padding: clamp(24px, 4vw, 56px) 0; }
.storia-disegno__fondo {
  position: absolute; inset: -40px calc(50% - 50vw); z-index: 0; pointer-events: none;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: .5; mix-blend-mode: multiply;
}
.storia-disegno > .storia-split { position: relative; z-index: 1; }
.section:has(.storia-disegno) { overflow: hidden; }
/* 1951 e 2007: foto grande, anno e testo sovrapposti in un riquadro */
.storia-over { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; min-height: 420px; margin-bottom: 40px; }
.storia-over__foto { grid-column: 1 / 9; grid-row: 1 / 3; margin: 0; }
.storia-over__foto img { width: 100%; height: auto; display: block; box-shadow: 0 22px 50px rgba(26, 36, 40, .16); }
.storia-over .storia__anno { grid-column: 7 / 13; grid-row: 1; align-self: end; margin: 0 0 14px; position: relative; z-index: 2;
  text-shadow: 0 2px 18px rgba(255, 255, 255, .7); }
.storia-over__testo { grid-column: 7 / 13; grid-row: 2; align-self: start; position: relative; z-index: 2;
  background: rgba(255, 255, 255, .92); padding: clamp(20px, 2.4vw, 32px); box-shadow: 0 18px 40px rgba(26, 36, 40, .12);
  border-left: 7px solid var(--green); backdrop-filter: blur(4px); }
.storia-over__testo p { color: var(--text-strong); margin: 0 0 8px; }
.storia-over__testo p:last-child { margin-bottom: 0; }
.storia-over__testo .storia__titolo { margin-bottom: 8px; }
.storia-over__angolo { position: absolute; right: 0; bottom: -84px; width: min(34%, 380px); margin: 0; z-index: 3;
  background: #fff; padding: 8px; box-shadow: 0 18px 40px rgba(26, 36, 40, .18); }
.storia-over__angolo img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .storia-over { display: block; min-height: 0; }
  .storia-over .storia__anno { margin: 22px 0 10px; }
  .storia-over__angolo { position: static; width: 70%; margin: 18px 0 0 auto; }
  .storia-split, .storia-split--rev { grid-template-columns: minmax(0, 1fr); }
  .storia-strip img { height: 200px; }
}

/* revisione 13 novembre: niente velo grigio sull'anteprima del video, ne'
   fermo ne' al passaggio del mouse */
.videoframe__play, .videoframe__play:hover { background: none; }
/* immagini protette: niente trascinamento ne' selezione */
img, video { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* foto a tutta larghezza fra due sezioni (Metodo: i pomodori) */
.fascia-foto { height: clamp(260px, 34vw, 460px); overflow: hidden; margin: 0; }
.fascia-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* grafiche su foglio quadrettato (schemi di processo): restano nella colonna,
   con un'ombra leggera come un foglio appoggiato */
.split__media > .media-vector img[src*="schema-processo"],
.split__media > .media-vector img[src*="cliente-al-tavolo"],
.split__media > .media-vector img[src*="unico-interlocutore"] {
  width: 100%; margin: 0; box-shadow: 0 18px 44px rgba(26, 36, 40, .12); border: 1px solid #E4EAEC;
}

/* ---------- Risorse: un po' di colore come in home (revisione 13 novembre) ----------
   riquadri dei download con il filetto colorato e il soggetto che esce dal bordo,
   come le card «Esplora Pellacini» */
.page-risorse .topics { gap: 26px; margin-top: 110px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-risorse .topic { position: relative; overflow: visible; background: #fff; border: 0;
  border-bottom: 5px solid var(--green-light); box-shadow: 0 14px 36px rgba(26, 36, 40, .08);
  padding-top: 118px; text-align: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.page-risorse .topic:hover { transform: translateY(-6px); }
.page-risorse .topic:nth-child(3n+2) { border-bottom-color: var(--yellow); }
.page-risorse .topic:nth-child(3n+3) { border-bottom-color: var(--red); }
.page-risorse .topic::before { content: ""; position: absolute; left: 50%; top: -58px; width: 170px; height: 160px;
  transform: translateX(-50%); background: center / contain no-repeat; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.page-risorse .topic:hover::before { transform: translateX(-50%) translateY(-8px) rotate(-4deg) scale(1.05); }
.page-risorse .topic:nth-child(3n+1)::before { background-image: url("../img/content/202607-pomodoro-pellacini-01.png"); }
.page-risorse .topic:nth-child(3n+2)::before { background-image: url("../img/content/202607-Image1.png"); }
.page-risorse .topic:nth-child(3n+3)::before { background-image: url("../img/content/202607-salse-pellacini-02.png"); }
.page-risorse .topic__num { display: none; }
.page-risorse .topic h3 { font-size: 21px; }
.page-risorse .topic .btn-row { justify-content: center; }
@media (max-width: 900px) { .page-risorse .topics { grid-template-columns: minmax(0, 1fr); row-gap: 84px; } }

/* ---------- Revisione 13 novembre: foto sulla pagina, intere, piu' grandi ---------- */
/* griglia di foto al posto di caroselli e slider: colonne a «muratura», ogni
   foto intera e mai ingrandita oltre la sua risoluzione */
.fotogriglia { columns: 3 300px; column-gap: 22px; }
.fotogriglia--poche { columns: 2 340px; }
.fotogriglia__item { display: block; break-inside: avoid; margin: 0 auto 22px; background: #fff;
  box-shadow: 0 10px 28px rgba(26, 36, 40, .08); cursor: zoom-in; }
.fotogriglia__item img { display: block; width: 100%; height: auto; }
.fotogriglia__item:hover img { opacity: .94; }
.section--gallery { padding-top: clamp(40px, 5vw, 64px); }

/* schede macchine e impianti: foto affiancate intere (niente ritaglio), alla
   loro proporzione, e colonna della foto piu' larga */
.page-scheda .split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; }
.page-scheda .split--reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-scheda .split__media { min-height: 0; align-self: center; }
.page-scheda .split__media[style*="--ratio"]::before { content: none; }
.page-scheda .split__media > div { position: static; inset: auto; overflow: visible; }
.page-scheda .split__media > div img { position: static; width: auto; max-width: 100%; height: auto; max-height: none;
  object-fit: contain; margin: 0 auto; display: block; transform: none !important; }
.page-scheda .split__media:hover > div img { transform: none; }

/* testi descrittivi su fondo bianco; il grigio resta come fascia trasversale
   per i vantaggi e per le macchine impiegate */
.page-scheda .section--tint:not(:has(.topics--vant)):not(:has(.vcards)) { background: #fff; }
/* (separatore con trattino verde tolto: revisione call 13 novembre) */

/* intestazioni a fascia colorata, come nel sito attuale («VANTAGGI E
   PECULIARITÀ»): arancio per i vantaggi, verde per le macchine impiegate */
.page-scheda .section:has(.topics--vant) .section-head,
.page-scheda .section:has(.vcards) .section-head { margin-bottom: 34px; }
.page-scheda .section:has(.topics--vant) .section-head .t-section,
.page-scheda .section:has(.vcards) .section-head .t-section {
  display: flex; align-items: center; gap: 14px; margin: 0;
  background: var(--yellow); color: #fff; padding: 14px 24px; font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}
.page-scheda .section:has(.vcards) .section-head .t-section { background: var(--green); }
.page-scheda .section:has(.topics--vant) .section-head .t-section::before,
.page-scheda .section:has(.vcards) .section-head .t-section::before {
  content: ""; flex: none; width: 22px; height: 22px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.6 7.6 0 0 0 0-2l2.1-1.6-2-3.5-2.5 1a7.4 7.4 0 0 0-1.7-1L15 3.3h-4l-.4 2.6a7.4 7.4 0 0 0-1.7 1l-2.5-1-2 3.5L6.6 11a7.6 7.6 0 0 0 0 2l-2.1 1.6 2 3.5 2.5-1a7.4 7.4 0 0 0 1.7 1l.4 2.6h4l.4-2.6a7.4 7.4 0 0 0 1.7-1l2.5 1 2-3.5zM13 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z' transform='translate(-1 0)'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.6 7.6 0 0 0 0-2l2.1-1.6-2-3.5-2.5 1a7.4 7.4 0 0 0-1.7-1L15 3.3h-4l-.4 2.6a7.4 7.4 0 0 0-1.7 1l-2.5-1-2 3.5L6.6 11a7.6 7.6 0 0 0 0 2l-2.1 1.6 2 3.5 2.5-1a7.4 7.4 0 0 0 1.7 1l.4 2.6h4l.4-2.6a7.4 7.4 0 0 0 1.7-1l2.5 1 2-3.5zM13 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z' transform='translate(-1 0)'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-scheda .section:has(.topics--vant) .section-head .eyebrow,
.page-scheda .section:has(.vcards) .section-head .eyebrow { display: none; }
@media (max-width: 900px) {
  .page-scheda .split, .page-scheda .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .fotogriglia { columns: 1; }
}
.fotogriglia--una { columns: 1; max-width: 900px; margin: 0 auto; }
.page-scheda .section:has(.topics--vant) .section-head,
.page-scheda .section:has(.vcards) .section-head { max-width: none; }
/* 1951 / 2007: l'anno sta dentro il riquadro bianco, sempre leggibile */
.storia-over__testo { grid-row: 1 / 3; align-self: center; }
.storia-over__testo .storia__anno { margin: 0 0 12px; text-shadow: none; }
.storia-over__testo p.storia__anno { color: var(--yellow); }
/* loghi storici (un'unica immagine): larghi quanto la colonna, non come le foto in striscia */
.storia-strip--loghi figure { max-width: 1000px; flex: 1 1 100%; }
.storia-strip--loghi img { height: auto; width: 100%; max-height: none; }
.storia-strip--loghi figure:hover { transform: none; }
/* Metodo: elenco dei vantaggi a una colonna quando sta accanto alla foto */
.split__text .ticks { grid-template-columns: minmax(0, 1fr); }

/* ---------- Revisione call 13 novembre ---------- */
/* La nostra storia: fondi alternati giallini come nel sito attuale, non grigi */
/* (fondo giallino della storia tolto: revisione 16 novembre) */
/* Service: testata meno scura */
.page-service .pagehero::after {
  background: linear-gradient(100deg, rgba(26, 36, 40, .55) 0%, rgba(26, 36, 40, .26) 46%, rgba(26, 36, 40, 0) 100%);
}
.page-service .pagehero__bg img { filter: brightness(1.12); }

/* ---------- Schede macchine e impianti: revisione call 13 novembre ---------- */
/* (barre colorate sulle intestazioni ripristinate: revisione 16 novembre) */
/* tutto su bianco: niente «macchione grigio» */
.page-scheda .section--tint { background: #fff; }
/* blocchi brevi con foto grande accanto, lati alterni */
.page-scheda .split--ritmo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-scheda .split--ritmo.split--reverse .split__text { order: 2; }
.page-scheda .split--ritmo.split--solo-testo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.page-scheda .split--ritmo .split__media > div img { width: 100%; max-width: 100%; box-shadow: 0 18px 44px rgba(26, 36, 40, .12); }
.page-scheda .split--ritmo .rich { font-size: 17px; }
.scheda-hr { border: 0; height: 1px; background: #E2E8EA; margin: clamp(40px, 5vw, 64px) 0; }
/* fascia del prodotto al posto della barra gialla dei vantaggi */
.banda-prodotto { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #FBF6E9; padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 48px); margin-bottom: 38px; overflow: hidden;
  border-left: 8px solid var(--yellow); }
.banda-prodotto__titolo { margin: 0; font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.banda-prodotto__frutti { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 22px); }
.banda-prodotto__frutti img { height: clamp(64px, 7vw, 104px); width: auto; filter: drop-shadow(0 8px 12px rgba(26, 36, 40, .14)); }
.banda-prodotto__frutti img:nth-child(odd) { transform: rotate(-6deg); }
.banda-prodotto__frutti img:nth-child(even) { transform: translateY(6px) rotate(5deg); }
/* fila di icone dei prodotti in alto: piu' grande, come nel sito attuale */
.page-scheda .iconstrip img { max-height: 280px; width: auto; max-width: min(100%, 1000px); }
/* foto rimaste: in fondo, grandi, due colonne */
.section--in-fondo .fotogriglia { columns: 2 420px; }
@media (max-width: 900px) {
  .page-scheda .split--ritmo, .page-scheda .split--ritmo.split--reverse { grid-template-columns: minmax(0, 1fr); }
  .page-scheda .split--ritmo.split--reverse .split__text { order: 0; }
  .banda-prodotto { flex-direction: column; align-items: flex-start; }
  .banda-prodotto__frutti img { height: 64px; }
}
/* collage del territorio (pagina sede) */
.split__media--collage { min-height: 0; align-self: center; }
.split__media--collage::before { content: none !important; }
.split__media > .collage { position: static; display: grid; gap: 12px; grid-template-columns: 1.4fr 1fr; grid-auto-rows: 170px; }
.collage__item { margin: 0; overflow: hidden; background: #fff; box-shadow: 0 12px 30px rgba(26, 36, 40, .10); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage--3 .collage__item:first-child { grid-row: span 2; }
.collage--4 .collage__item:first-child { grid-row: span 2; }
.collage--4 .collage__item:nth-child(4) { grid-column: 1 / -1; }
@media (max-width: 900px) { .split__media > .collage { grid-auto-rows: 130px; } }
.collage__item img[src*="Mostra-conserve-text"] { object-fit: contain; padding: 10px; background: #fff; }
/* ritagli su fondo bianco sopra fondi colorati: il bianco sparisce nel fondo */
img.img--su-bianco { mix-blend-mode: multiply; }
.banda-prodotto__frutti img.img--su-bianco { filter: none; }
/* foto come divisori fra le sezioni delle schede: file alla stessa altezza,
   foto intere, clic per ingrandire */
.section--striscia { padding: clamp(8px, 1.5vw, 20px) 0; }
.fotostriscia { display: flex; gap: 14px; margin: 0 auto; columns: auto; }
.fotostriscia__item { flex-basis: 0; min-width: 0; display: block; background: #fff; cursor: zoom-in;
  box-shadow: 0 12px 30px rgba(26, 36, 40, .10); }
.fotostriscia__item img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .fotostriscia { flex-wrap: wrap; }
  .fotostriscia__item { flex: 1 1 100% !important; }
}
/* foto still life nella fascia del prodotto: piccola cornice bianca */
.banda-prodotto__frutti img.img--foto { background: #fff; padding: 5px; box-shadow: 0 8px 18px rgba(26, 36, 40, .14); filter: none; }

/* ---------- Creme di frutta: estrazione a caldo e a freddo, alla pari ---------- */
.section--due-tecniche { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.due-tecniche__titolo { text-align: center; margin: 0 0 26px; }
.due-tecniche { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tecnica-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 26px; background: #fff;
  border: 1px solid #E4EAEC; border-top: 8px solid var(--red); box-shadow: 0 14px 34px rgba(26, 36, 40, .08);
  color: var(--text); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.tecnica-card--freddo { border-top-color: #2E86C1; }
.tecnica-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(26, 36, 40, .12); }
.tecnica-card__n { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.tecnica-card strong { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); color: var(--ink); line-height: 1.15; }
.tecnica-card--caldo strong { color: #C0392B; }
.tecnica-card--freddo strong { color: #2E86C1; }
.tecnica-card em { font-style: normal; font-weight: 700; color: var(--green); margin-top: auto; }
/* le due sezioni: stessa etichetta, filetto laterale del loro colore */
.tecnica { scroll-margin-top: 110px; }
.tecnica .container { border-left: 6px solid #C0392B; padding-left: clamp(18px, 3vw, 36px); }
.tecnica--freddo .container { border-left-color: #2E86C1; }
.tecnica__badge { display: inline-block; margin: 0 0 12px; padding: 6px 12px; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #C0392B; }
.tecnica--freddo .tecnica__badge { background: #2E86C1; }
@media (max-width: 760px) { .due-tecniche { grid-template-columns: 1fr; } }

/* blocco senza foto: testo a sinistra, elenco a destra in un riquadro */
.page-scheda .split--testo-elenco { align-items: start; }
.page-scheda .split--testo-elenco.split--reverse .split__text { order: 2; }
.page-scheda .split__elenco { background: #F4F7F8; padding: clamp(22px, 3vw, 34px); border-left: 4px solid var(--green); }
.page-scheda .split__elenco ul, .page-scheda .split__elenco ol { margin: 0; border: 0; padding-left: 0; }
.page-scheda .split--solo-elenco { grid-template-columns: minmax(0, 1fr); }
.page-scheda .split--solo-elenco .split__elenco > ul, .page-scheda .split--solo-elenco .split__elenco > ol { columns: 2; column-gap: 48px; }
.page-scheda .split--solo-elenco .split__elenco li { break-inside: avoid; }
@media (max-width: 760px) { .page-scheda .split--solo-elenco .split__elenco > ul { columns: 1; } }

/* revisione 16 novembre: nessuna immagine troppo alta */
.page-scheda .split--ritmo .split__media > div img, .page-scheda .split__media > div img, .page-scheda .split__media img { display: block; max-height: 560px; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.page-scheda .split__media .media-round { background: transparent; }

/* blocchi di solo testo senza foto: due colonne a tutta larghezza, niente colonna vuota */
.page-scheda .split--solo-testo,
.page-scheda .split:not(:has(.split__media)):not(:has(.split__elenco)) { grid-template-columns: minmax(0, 1fr); max-width: none; }
.page-scheda .split--solo-testo .rich,
.page-scheda .split:not(:has(.split__media)):not(:has(.split__elenco)) > .split__text > .rich { columns: 2; column-gap: 56px; }
.page-scheda .split--solo-testo .rich > *,
.page-scheda .split:not(:has(.split__media)):not(:has(.split__elenco)) > .split__text > .rich > * { break-inside: avoid; }
@media (max-width: 760px) {
  .page-scheda .split--solo-testo .rich,
  .page-scheda .split:not(:has(.split__media)):not(:has(.split__elenco)) > .split__text > .rich { columns: 1; }
}

/* elenchi a spunta dentro un testo: niente pallino in piu' oltre alla spunta */
.rich ul.ticks > li::before { content: none; display: none; }
.rich ul.ticks { padding-left: 0; }
.page-scheda .split--ritmo.split--solo-testo { max-width: none; grid-template-columns: minmax(0, 1fr); }
.page-scheda .split--solo-testo > .split__text,
.page-scheda .split:not(:has(.split__media)):not(:has(.split__elenco)) > .split__text { max-width: none; }

/* revisione 24 novembre: un elenco a spunte da solo occupa entrambe le colonne */
.split--solo-testo .rich > ul.ticks,
.split--solo-elenco .rich > ul.ticks { column-span: all; columns: 2; column-gap: clamp(32px, 4vw, 64px); }
.split--solo-testo .rich > ul.ticks > li,
.split--solo-elenco .rich > ul.ticks > li { break-inside: avoid; }
@media (max-width: 760px) {
  .split--solo-testo .rich > ul.ticks, .split--solo-elenco .rich > ul.ticks { columns: 1; }
}

/* revisione 24 novembre: una foto rimasta sola si mette sotto quella del blocco con il testo piu' lungo */
.page-scheda .split__media--doppia { display: flex; flex-direction: column; gap: 20px; align-self: start; }
.page-scheda .split__media--doppia img { max-height: 380px !important; }

/* =====================================================================
   Revisione 24 novembre: schede macchine e impianti fedeli al sito attuale
   (stesse sezioni, colonne, foto intere nella stessa posizione e grandezza)
   ===================================================================== */
/* riga colorata sotto la testata di tutte le schede */
.page-scheda .pagehero { border-bottom: 0; }
.page-scheda .pagehero + * { position: relative; }
.page-scheda .pagehero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 3;
  background: linear-gradient(90deg, var(--green) 0 50%, var(--yellow) 50% 100%);
}
.page-scheda--fedele .v-sez { padding-block: clamp(40px, 4.5vw, 72px); }
.page-scheda--fedele .v-sez:not([class*="v-fondo--"]) + .v-sez:not([class*="v-fondo--"]):not(.v-sez--sotto-giallo) { padding-top: 0; }
.v-container { max-width: 1240px; }
.v-riga {
  display: grid; grid-template-columns: var(--cols); gap: clamp(28px, 3.4vw, 56px);
  align-items: start; max-width: min(var(--maxw), 100%); margin-inline: auto;
}
.v-riga + .v-riga { margin-top: clamp(28px, 3vw, 48px); }
.v-riga--piena { max-width: none; }
.v-riga--una { gap: 0; }
.v-col { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.v-col:empty { display: block; }
.v-col > * { margin: 0; }
.v-img { margin: 0; width: var(--w, 100%); max-width: 100%; }
.v-img--centro { margin-inline: auto; }
.v-img img { display: block; width: 100%; height: auto; border-radius: 4px;
  box-shadow: 0 18px 40px -22px rgba(26, 36, 40, .45); }
.v-img--icone img, .v-img--icone { box-shadow: none; border-radius: 0; }
.v-img--icone { margin-inline: auto; }
.v-img--piena { width: 100%; margin: 0 0 clamp(32px, 4vw, 56px); }
.v-img--piena img { width: 100%; max-height: none; border-radius: 0; box-shadow: none; }
/* foto a tutta larghezza molto alte: intere, alte al massimo quanto lo schermo */
.v-img--piena img[style*="aspect-ratio"], .v-img--piena img { max-height: 86vh; width: auto; max-width: 100%; margin-inline: auto; }
/* foto in cornice: fascia colorata dietro, foto con bordo bianco che sporge */
.v-fascia { height: clamp(80px, 9vw, 140px); }
.v-sez--sotto-giallo, .v-sez--sotto-arancio, .v-sez--sotto-oro, .v-sez--sotto-verde { padding-top: 0 !important; }
.v-img--cornice { margin-top: calc(-1 * clamp(60px, 7vw, 110px)); position: relative; z-index: 1; }
.v-img--cornice img { border: 12px solid #fff; border-radius: 0; box-shadow: 0 24px 50px -26px rgba(26, 36, 40, .5); }
/* fondi del sito attuale nella palette nuova */
.v-fondo--giallo { background: var(--yellow); }
.v-fondo--arancio { background: var(--orange, #F08A00); }
.v-fondo--oro { background: var(--yellow-dark); }
.v-fondo--verde { background: var(--green-light); }
.v-fondo--grigio { background: #E4E7E9; }
.v-fondo--chiaro { background: var(--bg-soft); }
/* claim: riquadro grigio a tutta larghezza, testo centrato e in evidenza */
.v-riga.v-fondo--grigio, .v-riga.v-fondo--chiaro {
  max-width: none; margin-inline: calc(50% - 50vw); padding: clamp(32px, 3.6vw, 52px) max(24px, calc(50vw - 520px));
}
.v-riga.v-fondo--grigio .v-testo p, .v-riga.v-fondo--chiaro .v-testo p {
  font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: var(--text-strong); text-align: center;
}
/* testi */
.v-testo > :first-child { margin-top: 0; }
.v-testo p { margin: 0 0 14px; }
.v-testo > :last-child { margin-bottom: 0; }
.v-centro { text-align: center; }
.v-centro ul, .v-centro ol { text-align: left; display: inline-block; }
.v-grande p { font-size: clamp(17px, 1.25vw, 19px); }
.v-lead { font-size: clamp(18px, 1.4vw, 21px) !important; line-height: 1.6; color: var(--text-strong); font-weight: 400; }
.v-titolo { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.15; color: var(--text-strong); margin: 0 0 6px; }
.v-sottotitolo { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; color: var(--text-strong); margin: 0; }
/* indice delle tipologie: link verdi centrati */
.v-centro p a[href^="#"], .v-centro a[href^="#"] {
  color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px;
}
.v-centro p:has(> a[href^="#"]), .v-centro p:has(> strong > a[href^="#"]) { margin-bottom: 6px; }
.v-hr { border: 0; border-top: 1px solid var(--green-light); margin: 6px 0; opacity: .8; }
/* barre colorate (vantaggi, sicurezza, punti di forza) */
.v-barra { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 18px;
  color: #fff; font-weight: 600; font-size: 17px; line-height: 1.35; border-radius: 3px; }
.v-barra--titolo { justify-content: center; text-transform: uppercase; letter-spacing: .05em; font-size: 16px; }
.v-barra__ico { display: inline-flex; flex: none; }
.v-barra--arancio { background: var(--orange, #F08A00); }
.v-barra--oro, .v-barra--giallo { background: var(--yellow-dark); }
.v-barra--verde { background: var(--green-light); }
.v-barra--grigio, .v-barra--chiaro { background: var(--text-strong); }
/* macchine impiegate */
.v-macchine { background: #E4E7E9; }
.v-macchine__titolo { text-align: center; color: var(--orange, #F08A00);
  font-size: clamp(26px, 2.4vw, 36px); margin: 0 0 clamp(28px, 3vw, 44px); }
.v-carte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; max-width: 1150px; margin-inline: auto; }
.v-carta { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-strong); text-decoration: none; }
.v-carta img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; padding: 8px; box-shadow: 0 10px 30px -20px rgba(26,36,40,.5); transition: transform .25s; }
.v-carta:hover img { transform: translateY(-3px); }
.v-carta__nome { font-size: 15px; text-align: center; }
@media (max-width: 900px) {
  .v-riga { grid-template-columns: minmax(0, 1fr); }
  .v-carte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-img { width: 100%; }
  .v-img--cornice { margin-top: -40px; }
}
@media (max-width: 560px) { .v-carte { grid-template-columns: minmax(0, 1fr); } }
.v-indice { margin: 0 0 4px !important; text-align: center; }
.v-indice a, .v-indice { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; text-decoration: none; }
.v-indice a:hover { text-decoration: underline; }
.v-img--scontornata img { box-shadow: none; border-radius: 0; }
.v-col > .v-testo:has(> .v-indice:only-child) + .v-testo:has(> .v-indice:only-child) { margin-top: -18px; }
.v-col > .v-testo:has(> .v-titolo:only-child, > .v-sottotitolo:only-child) + * { margin-top: -8px; }
/* niente lente d'ingrandimento sulle foto */
[data-lightbox], .carousel__item, .fotostriscia__item { cursor: default !important; }
[data-lightbox]::after, .fotostriscia__item::after { display: none !important; }

/* strisce di icone su fondo grigio: il bianco dell'immagine si fonde col fondo */
.v-fondo--grigio .v-img--icone img, .v-fondo--chiaro .v-img--icone img, .v-macchine .v-img--icone img { mix-blend-mode: multiply; }
.v-sez.v-fondo--chiaro .v-img--icone img, .v-sez.v-fondo--grigio .v-img--icone img { mix-blend-mode: multiply; }
.v-vantaggi .v-sottotitolo, .v-vantaggi .v-lead, .v-vantaggi .v-grande p { font-size: 15px !important; font-weight: 400; color: var(--text); }

/* esito invio modulo */
.form__esito { margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 14px;
  color: var(--red); background: rgba(227, 3, 15, .06); }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
