/* ==========================================================================
   BioTable® — foglio di stile (v2, impostazione istituzionale)
   Gerarchia tipografica e colori ripresi dal Catalogo prodotti BioTable®:
   - Exo 2: titoli in due righe Bold + Light, occhielli verdi spaziati,
     numerali grandi in verde, tabelle con filetto verde.
   - Fondo bianco, grigi chiari, verde di marca come accento.
   - Nero quasi assente: testi in grigio antracite.
   Verde Pantone 368 C (brand guideline) → #65B32E
   ========================================================================== */

@font-face { font-family: "Exo 2"; src: url("../assets/fonts/exo2-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/exo2-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/exo2-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Transforma Sans"; src: url("../assets/fonts/transforma-sans-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Transforma Script"; src: url("../assets/fonts/transforma-script-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/exo2-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --green: #65b32e;        /* Pantone 368 C: numerali, filetti, superfici */
  --green-ink: #3e7d1b;    /* verde per testo piccolo (AA su bianco) */
  --green-soft: #eef6e8;
  --heading: #333332;      /* antracite dei titoli del catalogo */
  --text: #454544;
  --muted: #6a6d68;
  --line: #dcdfd8;
  --line-strong: #9fa39b;
  --grey: #f4f5f2;
  --grey-2: #e9ebe6;
  --white: #ffffff;

  --forest: #0f5935; --forest-2: #00341c; --lime: #d4eba6; --lime-2: #cbe094; --cream: #f6efe0;
  --f-disp: "Exo 2", system-ui, sans-serif;
  --f-sc: "Transforma Script", "Transforma Sans", cursive;
  --f: "Exo 2", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --fs-xs: 0.75rem;
  --fs-s: 0.9rem;
  --fs-0: 1.0625rem;
  --fs-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  --fs-3: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
  --fs-4: clamp(2.6rem, 1.7rem + 3.8vw, 4.8rem);
  --fs-num: clamp(3.6rem, 2.4rem + 5vw, 7.5rem);

  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --section: clamp(4rem, 2.8rem + 5vw, 8rem);
  --maxw: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; font-family: var(--f); font-size: var(--fs-0); font-weight: 400; line-height: 1.65;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; color: var(--heading); }
a { color: inherit; text-decoration-color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
a:hover { color: var(--green-ink); }
button { font: inherit; color: inherit; }
dl, dd { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 3px; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--green-ink); color: #fff; padding: 0.7rem 1rem; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.55); }
.bg-grey { background: var(--grey); }
.bg-green-soft { background: var(--green-soft); }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- Tipografia di catalogo ---------- */
.eyebrow { display: block; margin: 0 0 0.9rem; font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-ink); }
.t { font-weight: 700; color: var(--heading); line-height: 1.04; letter-spacing: -0.01em; }
.t b { display: block; font-weight: 700; color: inherit; }
.t span { display: block; font-weight: 300; }
.t--xl { font-size: var(--fs-4); }
.t--l { font-size: var(--fs-3); }
.t--m { font-size: var(--fs-2); }
.t--s { font-size: var(--fs-1); }
.num { font-weight: 700; color: var(--green); font-size: var(--fs-num); line-height: 0.85; letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.label-caps { font-size: var(--fs-s); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--heading); line-height: 1.25; }
.lead { font-size: var(--fs-1); line-height: 1.55; font-weight: 300; color: var(--heading); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-s); }
.xsmall { font-size: var(--fs-xs); }
.measure { max-width: 62ch; }
.mb-0 { margin-bottom: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Pulsanti e link ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.65em; padding: 0.9em 1.5em;
  border: 1.5px solid var(--green-ink); border-radius: 999px; background: var(--green-ink); color: #fff;
  font-weight: 600; font-size: var(--fs-s); line-height: 1; text-decoration: none; letter-spacing: 0.01em;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn--outline { background: transparent; color: var(--green-ink); }
.btn--outline:hover { background: var(--green-ink); color: #fff; border-color: var(--green-ink); }
.btn--white { background: #fff; border-color: #fff; color: var(--heading); }
.btn--white:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn--ghost-white { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--heading); border-color: #fff; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.more { display: inline-flex; align-items: center; gap: 0.55em; font-weight: 600; font-size: var(--fs-s); color: var(--green-ink); text-decoration: none; }
.more::after { content: "→"; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* ---------- Header istituzionale ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); } }
.site-header__bar { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; }
.brand img { height: 46px; width: auto; }
.nav-primary ul { display: flex; align-items: center; gap: 0.25rem; }
.nav-primary a { position: relative; display: inline-block; padding: 0.6rem 0.9rem; font-size: 0.95rem; font-weight: 400; color: var(--heading); text-decoration: none; }
.nav-primary a::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.25rem; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { transform: scaleX(1); }
.nav-primary a[aria-current="page"] { font-weight: 600; }
.nav-primary .btn { margin-left: 0.75rem; padding: 0.75em 1.3em; color: #fff; }
.nav-primary .btn::after { display: none; }
.nav-primary .btn[aria-current="page"] { background: var(--green); border-color: var(--green); }

.menu-toggle { display: none; align-items: center; gap: 0.6rem; background: none; border: 0; cursor: pointer; padding: 0.6rem 0.2rem; font-weight: 600; font-size: var(--fs-s); color: var(--heading); }
.menu-toggle__icon { width: 24px; height: 12px; position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--green-ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__icon::before { top: 0; } .menu-toggle__icon::after { top: 10px; }
.menu-open .menu-toggle__icon::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 5px; transform: rotate(-45deg); }
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav-primary { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 2rem var(--gutter) 3rem; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
  .menu-open .nav-primary { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
  .nav-primary ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-primary li { border-bottom: 1px solid var(--line); }
  .nav-primary a { display: block; padding: 1.1rem 0; font-size: 1.5rem; font-weight: 300; }
  .nav-primary a[aria-current="page"] { font-weight: 700; color: var(--green-ink); }
  .nav-primary a::after { display: none; }
  .nav-primary li:last-child { border: 0; padding-top: 2rem; }
  .nav-primary .btn { margin: 0; display: inline-flex; font-size: 1rem; padding: 1em 1.6em; }
}
.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: min(88vh, 860px); min-height: 520px; overflow: hidden; color: #fff; background: var(--grey-2); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,30,28,0.55) 0%, rgba(30,30,28,0.22) 45%, rgba(30,30,28,0) 70%), linear-gradient(0deg, rgba(30,30,28,0.35) 0%, rgba(30,30,28,0) 40%); }
.hero__inner { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero .eyebrow { color: #fff; opacity: 0.92; }
.hero h1 { color: #fff; font-size: clamp(3rem, 1.8rem + 5.4vw, 6.6rem); line-height: 0.98; }
.hero h1 span { font-weight: 300; }
.hero__lede { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: var(--fs-1); font-weight: 300; line-height: 1.5; color: #fff; }
.video-toggle { position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 3vw, 2.5rem); display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.7); background: rgba(255,255,255,0.14); color: #fff; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.video-toggle:hover { background: rgba(255,255,255,0.28); }
.video-toggle svg { width: 12px; height: 12px; }

/* ---------- Intestazioni pagine interne ---------- */
.page-hero { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.page-hero .t { font-size: var(--fs-4); }
.breadcrumb { font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb ol { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.page-banner { margin-top: 0; aspect-ratio: 21 / 8; overflow: hidden; background: var(--grey-2); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .page-hero__grid { grid-template-columns: 1fr; } .page-banner { aspect-ratio: 16 / 9; } }

/* ---------- Griglie ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
.split__media { overflow: hidden; background: var(--grey-2); aspect-ratio: 4 / 3; }
.split__media img, .split__media video { width: 100%; height: 100%; object-fit: cover; }
.split__media--square { aspect-ratio: 1; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.text-cols { columns: 2 18rem; column-gap: 2.5rem; }
.text-cols p { break-inside: avoid; }
@media (max-width: 880px) { .split, .cols-2 { grid-template-columns: 1fr; } }

/* ---------- Riquadro di qualificazione (accanto al claim) ---------- */
.qualifier { margin-top: 1.5rem; padding: 1.2rem 1.3rem; background: var(--grey); border-top: 2px solid var(--green); font-size: var(--fs-s); line-height: 1.55; }
.qualifier p { margin: 0; }
.qualifier p + p { margin-top: 0.4rem; }
.qualifier__head { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.6rem !important; }
.qualifier__head img { width: 64px; height: auto; }
.qualifier__head strong { font-size: var(--fs-0); line-height: 1.3; }

/* ---------- Numeri ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.fact { padding: 1.75rem 1.5rem 0 0; }
.fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact__value { display: block; font-weight: 700; color: var(--green); font-size: clamp(2.4rem, 1.7rem + 2.6vw, 4.2rem); line-height: 1; letter-spacing: -0.02em; }
.fact__value small { font-size: 0.4em; font-weight: 600; margin-left: 0.2em; letter-spacing: 0; color: var(--green-ink); }
.fact__label { display: block; margin-top: 0.75rem; font-size: var(--fs-s); color: var(--muted); max-width: 24ch; }
.source-note { margin-top: 1.5rem; font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 880px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 1.75rem; border-top: 1px solid var(--line); }
}

/* ---------- Linee (home): schede istituzionali ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; }
.tile__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--grey); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile__media--cutout img { object-fit: contain; padding: 9%; }
.tile:hover .tile__media img { transform: scale(1.035); }
.tile__body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1.25rem; padding: 1.4rem 0 0.5rem; border-bottom: 1px solid var(--line); }
.tile__num { grid-row: span 3; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 700; color: var(--green); line-height: 0.85; }
.tile h3 { font-size: var(--fs-2); }
.tile h3 span { font-weight: 300; }
.tile__media--cutout { background: #fff; }
.tile p { margin: 0.6rem 0 0.9rem; color: var(--muted); font-size: var(--fs-s); }
.tile .more { margin-bottom: 1rem; }
.tile:hover { color: inherit; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Ragioni / passaggi (come "Quattro buone ragioni") ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.reasons--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reason { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1.1rem; padding: 1.75rem 0; border-top: 1px solid var(--line-strong); }
.reason__num { grid-row: span 2; font-size: clamp(3rem, 2.4rem + 2.4vw, 4.6rem); font-weight: 700; color: var(--green); line-height: 0.8; }
.reason h3 { font-size: var(--fs-s); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.25; align-self: end; }
.reason p { margin: 0.35rem 0 0; font-size: var(--fs-s); color: var(--text); }
@media (max-width: 880px) { .reasons, .reasons--2 { grid-template-columns: 1fr; } }

/* ---------- Tinte ---------- */
.tints { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.tints__stage { position: relative; aspect-ratio: 212 / 165; background: #fff; }
.tints__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s var(--ease); }
.tints__stage img.is-active { opacity: 1; }
.tints__picker { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; margin-top: 2rem; }
.swatch { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.9rem 0.45rem 0.45rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: var(--fs-s); font-weight: 400; color: var(--heading); transition: border-color .2s; }
.swatch:hover { border-color: var(--line-strong); }
.swatch__dot { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); font-weight: 600; }
.tints__name { margin-top: 1.5rem; font-size: var(--fs-2); font-weight: 300; color: var(--heading); min-height: 1.2em; }
@media (max-width: 880px) { .tints { grid-template-columns: 1fr; } }

/* ---------- Segno distintivo ---------- */
.heart__light { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle at var(--lx, 50%) var(--ly, 45%), #ffffff 0%, #ffffff 25%, var(--grey) 62%); }
.heart__light img { width: 74%; filter: drop-shadow(0 24px 30px rgba(60,60,50,0.18)); }
.quote { margin: 1.75rem 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--green); font-size: var(--fs-1); font-weight: 300; font-style: italic; color: var(--heading); line-height: 1.45; }
.quote p { margin: 0; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Banner immagine istituzionale ---------- */
.band { position: relative; min-height: clamp(420px, 55vw, 620px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,30,28,0.55), rgba(30,30,28,0.1) 60%); }
.band .wrap { padding-block: clamp(3rem, 6vw, 5rem); }
.band .t, .band .eyebrow, .band p { color: #fff; }
.band p { max-width: 36rem; font-weight: 300; font-size: var(--fs-1); }

/* ---------- Prodotti ---------- */
.lines-index { margin-top: 2rem; display: grid; gap: 0.35rem; font-size: var(--fs-s); }
.lines-index a { display: flex; gap: 1rem; text-decoration: none; color: var(--heading); }
.lines-index a b { color: var(--green); min-width: 1.6rem; }
.lines-index a:hover { color: var(--green-ink); }

.line-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.line-nav__inner { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.line-nav__inner::-webkit-scrollbar { display: none; }
.line-nav a { position: relative; white-space: nowrap; padding: 1rem 1rem; text-decoration: none; font-size: var(--fs-s); color: var(--heading); }
.line-nav a b { color: var(--green); margin-right: 0.4rem; }
.line-nav a.is-current { font-weight: 600; }
.line-nav a.is-current::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -1px; height: 2px; background: var(--green); }

.line-block { padding-block: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: calc(var(--header-h) + 3.5rem); }
.line-block + .line-block { border-top: 1px solid var(--line); }
.line-opener { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.line-opener .num { display: block; margin-bottom: 1.5rem; }
.line-opener .t { font-size: var(--fs-3); margin-bottom: 1.25rem; }
.line-opener__intro { max-width: 34rem; }
.toc__title { font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-ink); padding-bottom: 0.4rem; border-bottom: 1.5px solid var(--green); margin: 0; }
.toc li { border-bottom: 1px solid var(--line-strong); }
.toc a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; font-size: var(--fs-s); text-decoration: none; color: var(--heading); }
.toc a:hover { color: var(--green-ink); }
@media (max-width: 880px) { .line-opener { grid-template-columns: 1fr; } }

.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); }
.item { display: grid; grid-template-columns: clamp(96px, 12vw, 150px) minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 4rem); }
.item__img { position: relative; aspect-ratio: 1; align-self: start; }
.item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.spec abbr { text-decoration: none; }
.item__num { display: block; font-size: var(--fs-xs); color: var(--green-ink); letter-spacing: 0.12em; }
.item h3 { font-size: var(--fs-1); font-weight: 600; margin: 0.15rem 0 1rem; }
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem 1.5rem; }
.spec { font-size: var(--fs-xs); }
.spec caption { text-align: left; font-size: var(--fs-s); font-weight: 700; color: var(--green-ink); padding-bottom: 0.25rem; border-bottom: 1.5px solid var(--green); }
.spec th, .spec td { padding: 0.28rem 0; border-bottom: 1px solid var(--line-strong); font-weight: 400; text-align: left; }
.spec td { text-align: right; font-variant-numeric: tabular-nums; color: var(--heading); white-space: nowrap; }
@media (max-width: 1080px) { .items { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .item { grid-template-columns: 1fr; } .item__img { max-width: 140px; } }

.tint-filter-bar[hidden] { display: none; }
.tint-panel[hidden] { display: none; }
.tint-panel__title { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-2); font-weight: 300; margin: 2.5rem 0 0.5rem; }
.tint-panel__title::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- Materiali ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.compare__item { padding: 1.6rem 0; border-top: 1px solid var(--line-strong); }
.compare__tag { display: inline-block; margin-bottom: 0.75rem; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.compare__item--yes .compare__tag { color: var(--green-ink); font-weight: 600; }
.compare__item--yes { border-top: 2px solid var(--green); }
.compare__item h3 { font-size: var(--fs-1); font-weight: 600; margin-bottom: 0.5rem; }
.compare__item p { margin: 0; font-size: var(--fs-s); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.glossary div { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 700; color: var(--heading); margin-bottom: 0.4rem; }
.glossary dd { font-size: var(--fs-s); }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr; } }

.prose h2 { font-size: var(--fs-2); margin-bottom: 1rem; }
.prose h3 { font-size: var(--fs-1); margin: 2rem 0 0.6rem; }

/* ---------- Trasparenza ---------- */
.claims-table { font-size: var(--fs-s); margin-top: 2rem; }
.claims-table thead th { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; color: var(--green-ink); text-align: left; padding: 0 1rem 0.5rem 0; border-bottom: 1.5px solid var(--green); }
.claims-table th, .claims-table td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
.claims-table tbody th { width: 26%; font-weight: 700; color: var(--heading); }
@media (max-width: 760px) {
  .claims-table thead { display: none; }
  .claims-table tr { display: grid; padding: 1rem 0; border-bottom: 1px solid var(--line-strong); }
  .claims-table th, .claims-table td { border: 0; padding: 0.25rem 0; width: auto; }
  .claims-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--heading); }
}
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.cert { padding-top: 1.5rem; border-top: 1.5px solid var(--green); display: grid; gap: 1rem; align-content: start; }
.cert__logo { height: 90px; display: flex; align-items: center; }
.cert__logo img { max-height: 90px; width: auto; }
.cert h3 { font-size: var(--fs-1); font-weight: 600; }
.cert dl { display: grid; gap: 0.6rem; font-size: var(--fs-s); }
.cert dt { font-weight: 700; color: var(--heading); }
@media (max-width: 880px) { .cert-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.not-claimed { margin-top: 0; }
.not-claimed li { position: relative; padding: 1rem 0 1rem 2rem; border-top: 1px solid var(--line); }
.not-claimed li::before { content: ""; position: absolute; left: 0; top: 1.75rem; width: 1rem; height: 2px; background: var(--green); }

/* ---------- Contatti ---------- */
.contact-list { display: grid; gap: 1.4rem; margin-top: 2rem; }
.contact-list dt { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 0.2rem; }
.contact-list dd { font-size: var(--fs-1); font-weight: 300; color: var(--heading); line-height: 1.45; }
.form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--grey); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--fs-s); font-weight: 600; color: var(--heading); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--heading); padding: 0.8rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(101,179,46,.35); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.field__error { margin: 0; color: #b3261e; font-size: var(--fs-s); font-weight: 600; }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-s); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--green-ink); }
.form__status { padding: 1rem 1.1rem; font-size: var(--fs-s); background: #fff; border-left: 3px solid var(--line-strong); }
.form__status:empty { display: none; }
.form__status[data-type="error"] { border-left-color: #b3261e; }
.form__status[data-type="info"] { border-left-color: var(--green); }
.form__status[data-type="success"] { border-left-color: var(--green-ink); }

/* ---------- Footer: verde del logo, tutto in bianco ---------- */
.site-footer { background: #5eb246; color: #fff; padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: 2rem; font-size: var(--fs-s); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { margin-bottom: 1rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 0.45rem; }
.site-footer, .site-footer a, .site-footer address, .site-footer .muted { color: #fff; opacity: 1; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: #fff; }
.site-footer__logo img { height: 72px; width: auto; margin-bottom: 1.25rem; }
.site-footer__legal { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); }
.site-footer__legal p { margin: 0; }
.site-footer :focus-visible { outline-color: #fff; }
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Comparsa ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .line-nav, .video-toggle { display: none !important; } .js .reveal { opacity: 1; transform: none; } }

/* menu mobile: il backdrop-filter dell'header crea un contenitore per gli elementi fixed */
.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
@media (max-width: 600px) { .video-toggle { top: 1rem; bottom: auto; } }

/* ==========================================================================
   v3 — BioTable® Color: sezione a colore pieno con cursore tematico
   ========================================================================== */
.color-sec {
  --bg: #c4301f; --ink: #ffffff; --ink-soft: rgba(255,255,255,.86); --chip: rgba(255,255,255,.18);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--ink);
  padding-block: clamp(4rem, 3rem + 5vw, 8rem) clamp(3rem, 2rem + 4vw, 6rem);
  transition: background-color .8s var(--ease), color .5s var(--ease);
}
.color-sec[data-tint="sole"]  { --bg: #eae082; --ink: #2b2b2a; --ink-soft: #4a4636; --chip: rgba(255,255,255,.45); }
.color-sec[data-tint="verde"] { --bg: #9fe0bc; --ink: #2b2b2a; --ink-soft: #334a3e; --chip: rgba(255,255,255,.45); }
.color-sec[data-tint="cielo"] { --bg: #85d0e0; --ink: #2b2b2a; --ink-soft: #2f4a52; --chip: rgba(255,255,255,.45); }
.color-sec[data-tint="rosa"]  { --bg: #e5b6bb; --ink: #2b2b2a; --ink-soft: #553c40; --chip: rgba(255,255,255,.45); }
.color-sec .t, .color-sec .eyebrow { color: var(--ink); }
.color-sec .eyebrow { opacity: .9; }
.color-sec__giant {
  position: absolute; z-index: -1; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  margin: 0; white-space: nowrap; text-align: center; pointer-events: none;
  font-weight: 700; font-size: clamp(6rem, 3rem + 13vw, 17rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--ink); opacity: .08; transition: color .5s;
}
.color-sec__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.color-sec__lead { margin: 1.25rem 0 0; max-width: 30rem; font-size: var(--fs-1); font-weight: 300; line-height: 1.5; color: var(--ink-soft); }
.tint-picker { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tint-btn {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.45rem 1rem 0.45rem 0.45rem;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--chip); color: var(--ink);
  font-weight: 400; font-size: var(--fs-s); cursor: pointer; transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
.tint-btn:hover { transform: translateY(-2px); }
.tint-btn__dot { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.tint-btn[data-tint="rosso"] .tint-btn__dot { background: #f14e3a; }
.tint-btn[data-tint="sole"]  .tint-btn__dot { background: #eae082; }
.tint-btn[data-tint="verde"] .tint-btn__dot { background: #9fe0bc; }
.tint-btn[data-tint="cielo"] .tint-btn__dot { background: #85d0e0; }
.tint-btn[data-tint="rosa"]  .tint-btn__dot { background: #e5b6bb; }
.tint-btn[aria-pressed="true"] { border-color: var(--ink); font-weight: 700; background: rgba(255,255,255,.28); }
.color-sec :focus-visible { outline-color: var(--ink); }
.color-sec__name { margin: 2rem 0 0.5rem; font-size: var(--fs-3); font-weight: 300; line-height: 1.05; }
.color-sec__more { color: var(--ink); font-weight: 600; font-size: var(--fs-s); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .3em; }
.color-sec__more:hover { color: var(--ink); opacity: .8; }

.color-stage { position: relative; aspect-ratio: 1600 / 1249; }
.color-stage__plate {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: rotate(-24deg) scale(.86); filter: drop-shadow(0 34px 40px rgba(0,0,0,.22));
  transition: opacity .55s var(--ease), transform 1.1s var(--ease);
}
.color-stage__plate.is-active { opacity: 1; transform: none; }

.color-range { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.color-range.is-active { display: grid; }
.color-range li { display: flex; align-items: center; gap: 0.9rem; font-size: var(--fs-s); }
.color-range img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.15)); transition: transform .5s var(--ease); }
.color-range li:hover img { transform: rotate(-12deg) scale(1.08); }
.color-range.is-active li { animation: rangeIn .6s var(--ease) both; }
.color-range.is-active li:nth-child(2) { animation-delay: .06s; } .color-range.is-active li:nth-child(3) { animation-delay: .12s; } .color-range.is-active li:nth-child(4) { animation-delay: .18s; }
@keyframes rangeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Cursore tematico: solo con mouse e senza riduzione del movimento */
.color-cursor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.color-cursor img { position: absolute; left: 0; top: 0; max-width: none; width: 120px; height: auto; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
.color-cursor img.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.color-cursor img[data-cursor-img="verde"] { width: 72px; }
.color-cursor img[data-cursor-img="rosa"] { width: 92px; }
.color-cursor img[data-cursor-img="cielo"] { width: 150px; }
.color-cursor img[data-cursor-img="sole"] { width: 130px; }
.color-cursor.is-down img.is-active { transform: translate(-50%, -50%) scale(.85) rotate(-8deg); }
.has-theme-cursor .color-sec, .has-theme-cursor .color-sec * { cursor: none; }
.has-theme-cursor .color-sec.is-hover .color-cursor { opacity: 1; }

@media (max-width: 880px) {
  .color-sec__grid { grid-template-columns: 1fr; }
  .color-stage { order: -1; max-width: 560px; }
  .color-range { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   v3 — Paper Edition
   ========================================================================== */
.paper { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4rem, 3rem + 5vw, 8rem); background: #efe5d4; }
.paper__bg { position: absolute; inset: 0; z-index: -1; }
.paper__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.paper__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245,238,226,.35), rgba(245,238,226,.75)); }
.paper .eyebrow { color: #6b4f2a; }
.paper__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.paper__lead { margin: 0; max-width: 30rem; font-size: var(--fs-1); font-weight: 300; color: var(--heading); justify-self: end; }
@media (max-width: 880px) { .paper__head { grid-template-columns: 1fr; } .paper__lead { justify-self: start; } }

.cups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: clamp(1rem, 3vw, 3rem); height: clamp(260px, 30vw, 420px); margin: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); padding-bottom: 3.5rem; }
.cup { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.cup::after { content: ""; position: absolute; left: -2rem; right: -2rem; bottom: 0; height: 1.5px; background: rgba(107,79,42,.35); }
.cup img { height: var(--h); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(80,55,20,.22)); transition: transform .6s var(--ease); }
.cup:hover img { transform: translateY(-14px) rotate(-3deg); }
.cup__label { position: absolute; bottom: -3.6rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: var(--fs-s); color: var(--heading); }
.cup__label b { font-size: var(--fs-2); font-weight: 700; color: #6b4f2a; margin-right: .15em; }
.js .cups .cup img { transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease), opacity .8s var(--ease); }
.js .cups.is-in .cup img { transform: none; opacity: 1; }
.js .cups.is-in .cup:nth-child(2) img { transition-delay: .12s; } .js .cups.is-in .cup:nth-child(3) img { transition-delay: .24s; } .js .cups.is-in .cup:nth-child(4) img { transition-delay: .36s; }
.js .cups.is-in .cup:hover img { transform: translateY(-14px) rotate(-3deg); transition-delay: 0s; }

.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: rgba(255,255,255,.82); padding: clamp(1.5rem, 4vw, 3.5rem); }
.studio__stage { position: relative; display: grid; place-items: center; }
.studio__cup { width: min(100%, 380px); height: auto; }
.studio__band { animation: cupSpin 9s linear infinite; }
.studio.is-paused .studio__band { animation-play-state: paused; }
@keyframes cupSpin { from { transform: translateX(0); } to { transform: translateX(-320px); } }
.studio__pause { margin-top: 1rem; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: .55rem 1rem; font-size: var(--fs-xs); font-weight: 600; cursor: pointer; min-height: 40px; }
.studio__panel { display: grid; gap: 1.1rem; align-content: start; }
.studio__panel .field input { background: #fff; }
.studio__group { border: 0; margin: 0; padding: 0; }
.studio__group legend { padding: 0; margin-bottom: .5rem; font-size: var(--fs-s); font-weight: 600; color: var(--heading); }
.studio__swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.studio__swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; }
.studio__swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--green-ink); }
.studio__seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.studio__seg label { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-s); cursor: pointer; background: #fff; }
.studio__seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.studio__seg label:has(input:checked) { border-color: var(--green-ink); box-shadow: inset 0 0 0 1px var(--green-ink); font-weight: 600; color: var(--green-ink); }
.studio__seg label:has(input:focus-visible) { outline: 2px solid var(--green-ink); outline-offset: 2px; }
.studio .btn { justify-self: start; }
@media (max-width: 880px) { .studio { grid-template-columns: 1fr; } }

/* Compost (fine vita) */
.compost { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.compost__visual { margin: 0; }
.compost__visual img { width: 100%; max-width: 520px; margin-inline: auto; }
.compost__visual figcaption { text-align: center; margin-top: .5rem; }
.reasons--stack { grid-template-columns: 1fr; margin-top: 0; }
@media (max-width: 880px) { .compost { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .studio__band { animation: none; }
  .js .cups .cup img { transform: none; opacity: 1; }
}
.line-banner { aspect-ratio: 21 / 6; overflow: hidden; margin-bottom: clamp(2.5rem, 5vw, 4rem); background: var(--grey-2); }
.line-banner img { width: 100%; height: 100%; object-fit: cover; }


/* ==========================================================================
   v4 — linguaggio del feed BioTable (Transforma Sans Bold + lettere Script)
   ========================================================================== */
.disp { font-family: var(--f-disp); font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; }
.disp .sc, .sticker .sc { font-family: var(--f-sc); font-weight: 600; letter-spacing: 0; }
.hero h1.disp { font-family: "Transforma Sans", "Exo 2", sans-serif; font-size: clamp(3.2rem, 1.6rem + 6.4vw, 7.6rem); color: var(--cream); }
.hero h1.disp .sc { color: var(--lime); }
.disp--l { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); color: var(--forest); }
.pill { display: inline-flex; align-items: center; padding: .45em 1.1em; border-radius: 999px; background: var(--forest-2); color: var(--lime); font-family: var(--f-disp); font-weight: 600; font-size: var(--fs-s); line-height: 1; }
.pill--light { background: var(--lime); color: var(--forest); }
.feed-link { display: inline-flex; gap: .6em; align-items: center; font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: var(--fs-s); color: var(--forest); text-decoration: none; }
.feed-link span { transition: transform .3s var(--ease); }
.feed-link:hover { color: var(--forest-2); } .feed-link:hover span { transform: translateX(5px); }

/* Numeri come adesivi */
.numbers { position: relative; overflow: hidden; isolation: isolate; background: var(--lime); padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); }
.numbers__blob { position: absolute; z-index: -1; right: -12%; top: -18%; width: min(80vw, 900px); fill: var(--lime-2); }
.numbers__head { display: grid; gap: 1.5rem; justify-items: start; margin-bottom: clamp(3rem, 6vw, 5rem); }
.stickers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.25rem); align-items: start; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.sticker { display: grid; gap: .9rem; align-content: start; padding: clamp(1.4rem, 2.5vw, 2.2rem); border-radius: 22px; transform: rotate(var(--r)); box-shadow: 8px 8px 0 var(--forest-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sticker:nth-child(even) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.sticker:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 12px 12px 0 var(--forest-2); }
.sticker__num { font-family: var(--f-disp); font-weight: 700; font-size: clamp(2.2rem, 1.3rem + 2.4vw, 3.6rem); line-height: .9; letter-spacing: -0.03em; white-space: nowrap; }
.sticker__num .sc { font-size: .5em; margin-left: .1em; }
.sticker__txt { font-family: var(--f-disp); font-weight: 400; font-size: var(--fs-0); line-height: 1.35; }
.sticker--dark { background: var(--forest); color: var(--lime); }
.sticker--cream { background: var(--cream); color: var(--forest); }
.sticker--lime { background: var(--lime-2); color: var(--forest); box-shadow: 8px 8px 0 var(--forest); }
.sticker--green { background: #65b32e; color: var(--forest-2); }
.js .stickers .sticker { opacity: 0; transform: rotate(calc(var(--r) * 3)) translateY(40px) scale(.9); }
.js .stickers.is-in .sticker { opacity: 1; transform: rotate(var(--r)); transition: transform .9s var(--ease), opacity .6s, box-shadow .5s; }
.js .stickers.is-in .sticker:nth-child(2) { transition-delay: .1s; } .js .stickers.is-in .sticker:nth-child(3) { transition-delay: .2s; } .js .stickers.is-in .sticker:nth-child(4) { transition-delay: .3s; }
.js .stickers.is-in .sticker:hover { transform: rotate(0deg) translateY(-6px); transition-delay: 0s; }
@media (max-width: 980px) { .stickers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stickers { grid-template-columns: 1fr; } .sticker:nth-child(even) { margin-top: 0; } }

/* Esploratore delle linee */
.explorer { padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); background: #fff; }
.explorer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.explorer__items { margin: 2.5rem 0 2rem; border-top: 1px solid var(--line); }
.explorer__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--heading); }
.explorer__num { font-family: var(--f-disp); font-weight: 700; color: var(--green); font-size: var(--fs-1); }
.explorer__name { font-family: var(--f-disp); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.05; font-weight: 300; letter-spacing: -0.02em; transition: transform .45s var(--ease), color .3s; }
.explorer__name b { font-weight: 700; }
.explorer__item .pill { grid-column: 3; grid-row: 1; font-size: var(--fs-xs); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.explorer__desc { grid-column: 2 / 4; max-height: 0; overflow: hidden; opacity: 0; font-size: var(--fs-s); color: var(--text); transition: max-height .5s var(--ease), opacity .4s; }
.explorer__item.is-active .explorer__name { transform: translateX(.5rem); color: var(--forest); }
.explorer__item.is-active .pill { opacity: 1; transform: none; }
.explorer__item.is-active .explorer__desc { max-height: 4rem; opacity: 1; }
.explorer__item:hover { color: var(--forest); }
.explorer__stages { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; }
.explorer__stage { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); background: var(--lime); }
.explorer__stage.is-active { opacity: 1; }
.explorer__stage--paper { background: #efe3cc; } .explorer__stage--colori { background: #f6efe0; } .explorer__stage--bianca { background: var(--lime); }
.explorer__blob { position: absolute; width: 90%; left: 18%; top: -10%; fill: rgba(255,255,255,.45); transition: transform 1.4s var(--ease); }
.explorer__stage.is-active .explorer__blob { transform: rotate(18deg) scale(1.05); }
.explorer__obj { position: absolute; object-fit: contain; filter: drop-shadow(0 26px 26px rgba(15,89,53,.22)); transform: translateY(30px) rotate(-8deg); opacity: 0; transition: transform 1s var(--ease), opacity .6s; }
.explorer__stage.is-active .explorer__obj { opacity: 1; transform: none; }
.explorer__stage.is-active .explorer__obj--2 { transition-delay: .1s; } .explorer__stage.is-active .explorer__obj--3 { transition-delay: .2s; }
.explorer__obj--1 { width: 62%; height: 62%; left: 6%; top: 14%; }
.explorer__obj--2 { width: 34%; height: 40%; right: 8%; top: 8%; }
.explorer__obj--3 { width: 40%; height: 38%; right: 6%; bottom: 6%; }
.explorer__stage--paper .explorer__obj--1 { width: 44%; height: 58%; left: 10%; top: 18%; }
.explorer__stage--paper .explorer__obj--3 { width: 30%; height: 38%; right: 12%; bottom: 8%; }
.explorer__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.explorer__stage.is-active .explorer__photo { transform: none; }
@media (max-width: 880px) {
  .explorer__grid { grid-template-columns: 1fr; }
  .explorer__stages { order: -1; aspect-ratio: 4 / 3; }
  .explorer__desc { max-height: none; opacity: 1; }
  .explorer__item .pill { opacity: 1; transform: none; }
}

/* Cursore cuore (sezione Color) */
.color-cursor { width: 0; height: 0; }
.color-cursor svg { position: absolute; left: 0; top: 0; width: 34px; height: 31px; transform: translate(-50%, -50%); fill: var(--heart, #f14e3a); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); transition: transform .3s var(--ease), fill .5s; overflow: visible; }
.color-sec[data-tint="rosso"] { --heart: #f8a597; }
.color-sec[data-tint="sole"]  { --heart: #e2b93a; }
.color-sec[data-tint="verde"] { --heart: #3fae84; }
.color-sec[data-tint="cielo"] { --heart: #2f9fbf; }
.color-sec[data-tint="rosa"]  { --heart: #d9798a; }
.color-cursor.is-down svg { transform: translate(-50%, -50%) scale(.8); }
.color-sec.is-hover .color-cursor svg { animation: heartBeat 1.4s ease-in-out infinite; }
@keyframes heartBeat { 0%, 60%, 100% { transform: translate(-50%, -50%) scale(1); } 15% { transform: translate(-50%, -50%) scale(1.18); } 30% { transform: translate(-50%, -50%) scale(1); } 45% { transform: translate(-50%, -50%) scale(1.12); } }

/* Schermata di apertura */
.intro { display: none; }
.intro-on .intro { display: grid; position: fixed; inset: 0; z-index: 1000; place-items: center; align-content: center; gap: 2.5rem; background: var(--forest); transition: transform .9s cubic-bezier(.76,0,.24,1); }
.intro-on body { overflow: hidden; }
.intro__mark { position: relative; }
.intro__mark img { width: clamp(140px, 22vw, 220px); height: auto; clip-path: inset(0 100% 0 0); animation: introWipe 1s .15s cubic-bezier(.65,0,.35,1) forwards; }
.intro__heart { position: absolute; width: 26px; right: -34px; top: -8px; fill: var(--lime); opacity: 0; animation: introHeart 1.2s .9s ease-in-out forwards; }
.intro__bar { width: clamp(140px, 22vw, 220px); height: 3px; border-radius: 3px; background: rgba(212,235,166,.22); overflow: hidden; }
.intro__bar span { display: block; height: 100%; width: 0; background: var(--lime); animation: introBar 1.6s .1s ease-in-out forwards; }
.intro.is-out { transform: translateY(-100%); }
@keyframes introWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes introBar { to { width: 100%; } }
@keyframes introHeart { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1.25); } 60% { transform: scale(.95); } 80% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .intro__mark img { clip-path: none; animation: none; } .intro__heart { opacity: 1; animation: none; } .intro__bar span { width: 100%; animation: none; }
  .intro { transition: opacity .3s; } .intro.is-out { transform: none; opacity: 0; }
  .js .stickers .sticker { opacity: 1; transform: rotate(var(--r)); }
  .explorer__obj { opacity: 1; transform: none; }
}

/* ---------- v4: Private label e partner ---------- */
.brands { background: #5e9b4f; color: #fff; padding-top: clamp(4.5rem, 3rem + 6vw, 8rem); overflow: hidden; }
.brands .eyebrow, .brands .t { color: #fff; }
.brands__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.brands__lead { margin: 0; font-size: 1.5rem; font-weight: 300; line-height: 1.4; color: #fff; }
.brands__pl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 2.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.brands__pl img { height: clamp(28px, 2.4vw, 40px); width: auto; transition: transform .4s var(--ease); }
.brands__pl img:hover { transform: scale(1.08); }
.brands__partners { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5rem); }
.brands__sub { color: #fff; font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: var(--fs-1); margin-bottom: 1.75rem; }
.marquee { display: flex; width: max-content; overflow: visible; }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 4vw, 4rem); padding-right: clamp(2.5rem, 4vw, 4rem); animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: clamp(30px, 2.8vw, 46px); width: auto; max-width: none; }
@keyframes marquee { to { transform: translateX(-100%); } }
.brands__more { color: #fff; margin-top: 2.5rem; }
.brands__more:hover { color: #fff; }
.brands :focus-visible { outline-color: #fff; }
@media (max-width: 880px) { .brands__head { grid-template-columns: 1fr; } .brands__pl { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; padding-inline: var(--gutter); }
  .marquee__track { animation: none; flex-wrap: wrap; padding: 0; }
  .marquee__track[aria-hidden] { display: none; }
}

/* ---------- v4: Il segno distintivo (come nel company profile) ---------- */
.segno { background: #fff; padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); overflow: hidden; }
.segno .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; }
.segno__title { grid-column: 1; grid-row: 1; align-self: end; font-family: var(--f); font-weight: 700; text-transform: uppercase; color: var(--green); font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); line-height: .95; letter-spacing: -0.01em; }
.segno__stage { grid-column: 2; grid-row: 1 / span 2; position: relative; aspect-ratio: 1; }
.segno__plate { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(60,60,50,.16)); }
.segno__h { position: absolute; width: 12%; fill: var(--green); }
.segno__h svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 10px rgba(62,125,27,.25)); }
.segno__h--1 { right: 14%; top: 12%; width: 8%; transform: rotate(-12deg); }
.segno__h--2 { right: 4%; top: 22%; width: 13%; transform: rotate(10deg); }
.segno__h--3 { left: 2%; top: 46%; width: 13%; transform: rotate(-16deg); }
.segno__h--4 { left: 9%; top: 62%; width: 8%; transform: rotate(14deg); }
.segno__h svg { animation: heartFloat 5s ease-in-out infinite; }
.segno__h--2 svg { animation-delay: -1.2s; } .segno__h--3 svg { animation-delay: -2.5s; } .segno__h--4 svg { animation-delay: -3.6s; }
@keyframes heartFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.06); } }
.segno__text { grid-column: 1; grid-row: 2; align-self: start; columns: 2 13rem; column-gap: 1.75rem; color: var(--green-ink); font-size: var(--fs-0); }
.segno__text p { break-inside: avoid; margin-bottom: .9em; }
.segno__text strong { color: var(--forest); }
@media (max-width: 880px) {
  .segno .wrap { grid-template-columns: 1fr; }
  .segno__title, .segno__stage, .segno__text { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .segno__h svg { animation: none; } }

/* ---------- v4: Paper Edition nel linguaggio del feed ---------- */
.paper { background: var(--lime); }
.paper__blob { position: absolute; z-index: -1; right: -14%; top: -10%; width: min(85vw, 1000px); fill: var(--lime-2); }
.paper .eyebrow { color: var(--forest); }
.paper__lead { color: var(--forest); }
.cup::after { background: rgba(15,89,53,.35); }
.cup__label b { color: var(--forest); font-family: var(--f-disp); }
.cup img { filter: drop-shadow(0 22px 22px rgba(15,89,53,.22)); }
.studio { background: var(--cream); border-radius: 28px; box-shadow: 10px 10px 0 var(--forest-2); }
.disp--m { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); color: var(--forest); }
.studio__panel .pill { justify-self: start; }
.studio__picker { position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong); background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); cursor: pointer; }
.studio__picker input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.studio__picker:focus-within { outline: 2px solid var(--green-ink); outline-offset: 2px; }
.studio__upload input[type=file] { padding: .6rem; font-size: var(--fs-s); background: #fff; }

[hidden] { display: none !important; }


/* ==========================================================================
   v5 — BioTable® Color: piatti come selettori, cursore a cuore nativo
   ========================================================================== */
.color-sec { --cur: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2730%27%20viewBox%3D%270%200%2032%2029%27%3E%3Cpath%20d%3D%27M16%2028.5S1%2019.6%201%209.4C1%204.6%204.7%201%209.1%201c2.9%200%205.4%201.5%206.9%203.9C17.5%202.5%2020%201%2022.9%201%2027.3%201%2031%204.6%2031%209.4%2031%2019.6%2016%2028.5%2016%2028.5z%27%20fill%3D%27%23f8a597%27%20stroke%3D%27white%27%20stroke-width%3D%272%27/%3E%3C/svg%3E") 16 14, pointer; padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.color-sec[data-tint="sole"]  { --cur: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2730%27%20viewBox%3D%270%200%2032%2029%27%3E%3Cpath%20d%3D%27M16%2028.5S1%2019.6%201%209.4C1%204.6%204.7%201%209.1%201c2.9%200%205.4%201.5%206.9%203.9C17.5%202.5%2020%201%2022.9%201%2027.3%201%2031%204.6%2031%209.4%2031%2019.6%2016%2028.5%2016%2028.5z%27%20fill%3D%27%23c9a21f%27%20stroke%3D%27white%27%20stroke-width%3D%272%27/%3E%3C/svg%3E") 16 14, pointer; }
.color-sec[data-tint="verde"] { --cur: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2730%27%20viewBox%3D%270%200%2032%2029%27%3E%3Cpath%20d%3D%27M16%2028.5S1%2019.6%201%209.4C1%204.6%204.7%201%209.1%201c2.9%200%205.4%201.5%206.9%203.9C17.5%202.5%2020%201%2022.9%201%2027.3%201%2031%204.6%2031%209.4%2031%2019.6%2016%2028.5%2016%2028.5z%27%20fill%3D%27%233fae84%27%20stroke%3D%27white%27%20stroke-width%3D%272%27/%3E%3C/svg%3E") 16 14, pointer; }
.color-sec[data-tint="cielo"] { --cur: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2730%27%20viewBox%3D%270%200%2032%2029%27%3E%3Cpath%20d%3D%27M16%2028.5S1%2019.6%201%209.4C1%204.6%204.7%201%209.1%201c2.9%200%205.4%201.5%206.9%203.9C17.5%202.5%2020%201%2022.9%201%2027.3%201%2031%204.6%2031%209.4%2031%2019.6%2016%2028.5%2016%2028.5z%27%20fill%3D%27%232f9fbf%27%20stroke%3D%27white%27%20stroke-width%3D%272%27/%3E%3C/svg%3E") 16 14, pointer; }
.color-sec[data-tint="rosa"]  { --cur: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2730%27%20viewBox%3D%270%200%2032%2029%27%3E%3Cpath%20d%3D%27M16%2028.5S1%2019.6%201%209.4C1%204.6%204.7%201%209.1%201c2.9%200%205.4%201.5%206.9%203.9C17.5%202.5%2020%201%2022.9%201%2027.3%201%2031%204.6%2031%209.4%2031%2019.6%2016%2028.5%2016%2028.5z%27%20fill%3D%27%23d9798a%27%20stroke%3D%27white%27%20stroke-width%3D%272%27/%3E%3C/svg%3E") 16 14, pointer; }
@media (hover: hover) and (pointer: fine) { .color-sec, .color-sec * { cursor: var(--cur); } }
.color-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.color-sec__lead { margin: 0; max-width: 32rem; justify-self: end; }
.color-sec__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
.color-sec__name { margin: 0 0 1.5rem; font-size: var(--fs-3); font-weight: 700; line-height: 1; color: var(--ink); }
.color-picks { display: flex; flex-wrap: wrap; gap: .75rem; }
.plate-pick { display: grid; justify-items: center; gap: .4rem; width: 92px; padding: .5rem .25rem .6rem; border: 0; border-radius: 16px; background: transparent; color: var(--ink); font-size: var(--fs-xs); font-weight: 600; line-height: 1.2; text-align: center; transition: background-color .3s, transform .4s var(--ease); }
.plate-pick img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); transition: transform .5s var(--ease); }
.plate-pick:hover img { transform: rotate(-14deg) scale(1.06); }
.plate-pick[aria-pressed="true"] { background: rgba(255,255,255,.3); box-shadow: inset 0 0 0 2px var(--ink); }
.plate-pick[aria-pressed="true"] img { transform: scale(1.12); }
.color-sec .color-range { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
.color-sec__more { display: inline-block; margin-top: 1.75rem; }
@media (max-width: 880px) {
  .color-sec__head { grid-template-columns: 1fr; } .color-sec__lead { justify-self: start; }
  .color-sec__grid { grid-template-columns: 1fr; }
  .plate-pick { width: 76px; } .plate-pick img { width: 54px; height: 54px; }
}

/* ---------- v5: numeri istituzionali ---------- */
.kpi { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); background: var(--grey); }
.kpi__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.kpi__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-2); }
.kpi__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.kpi__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); margin: clamp(2rem, 4vw, 3rem) 0 2rem; }
.kpi__item { padding: 1.4rem 0 1.6rem; border-top: 1.5px solid var(--green); }
.kpi__item dt { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--green-ink); margin-bottom: .6rem; }
.kpi__num { display: block; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.2rem); font-weight: 300; line-height: 1; color: var(--heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi__num small { font-size: .38em; font-weight: 700; color: var(--green-ink); margin-left: .25em; letter-spacing: 0; }
.kpi__desc { display: block; margin-top: .6rem; font-size: var(--fs-s); color: var(--muted); }
@media (max-width: 880px) { .kpi__grid { grid-template-columns: 1fr; } .kpi__media { aspect-ratio: 16 / 9; } }
@media (max-width: 420px) { .kpi__list { grid-template-columns: 1fr; } }


/* ---------- v6: numeri come "Compostabile, ma dove?" ---------- */
.kpi__num { font-weight: 700; color: var(--green); letter-spacing: -0.03em; }
.kpi__num small { color: var(--green-ink); }

/* ---------- v6: configuratore minimal ---------- */
.paper .studio { background: #fff; border-radius: 0; box-shadow: none; padding: clamp(1.5rem, 4vw, 3.5rem); gap: clamp(2rem, 5vw, 5rem); }
.paper .studio__stage { background: var(--grey); padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.paper .studio__panel { gap: 1.4rem; }
.paper .studio__panel .pill { display: none; }
.studio__group legend, .studio__panel .field label { font-size: var(--fs-xs); font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); }
.studio__seg { gap: 0; border-bottom: 1px solid var(--line); }
.studio__seg label { min-height: 40px; padding: .4rem 0; margin-right: 1.5rem; border: 0; border-radius: 0; background: none; color: var(--muted); font-size: var(--fs-s); }
.studio__seg label:has(input:checked) { box-shadow: inset 0 -2px 0 var(--green); border: 0; color: var(--heading); font-weight: 600; }
.studio__swatches { gap: .5rem; }
.studio__swatch, .studio__picker { width: 26px; height: 26px; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.studio__swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--heading); }
.studio__pause { border: 0; background: none; text-decoration: underline; text-underline-offset: .25em; color: var(--muted); font-weight: 400; }
.paper .studio .field input { border-color: var(--line); }

/* ==========================================================================
   v7 — Megamenu Prodotti (verde BioTable)
   ========================================================================== */
.has-mega { position: static; display: flex; align-items: center; }
.mega-toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -0.55rem; padding: 0; border: 0; background: none; color: var(--heading); cursor: pointer; border-radius: 50%; }
.mega-toggle svg { width: 11px; height: 8px; transition: transform .3s var(--ease); }
.has-mega.is-open .mega-toggle svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 90;
  background: #5eb246; color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  box-shadow: 0 30px 40px -30px rgba(30,60,20,.45);
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.mega__inner { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: clamp(2rem, 4vw, 4rem); padding: clamp(2rem, 3vw, 2.75rem) 0 clamp(2.25rem, 3vw, 3rem); }
.mega__eyebrow { margin: 0 0 1rem; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.mega__lines { border-top: 1px solid rgba(255,255,255,.45); }
.mega__lines li { border-bottom: 1px solid rgba(255,255,255,.45); }
.nav-primary .mega__line { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0 .75rem; padding: .85rem 0; color: #fff; text-decoration: none; font-size: 1rem; }
.nav-primary .mega__line::after, .nav-primary .mega__card::after, .nav-primary .mega__all::after, .nav-primary .mega__more::after { display: none; }
.mega__num { grid-row: span 2; font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.mega__name { font-size: 1.35rem; line-height: 1.15; font-weight: 300; transition: transform .35s var(--ease); }
.mega__name b { font-weight: 700; }
.mega__count { font-size: var(--fs-xs); letter-spacing: .06em; opacity: .9; }
.mega__line.is-active .mega__name, .mega__line:hover .mega__name { transform: translateX(6px); }
.mega__line.is-active { box-shadow: inset 3px 0 0 #fff; padding-left: .9rem; transition: padding .3s var(--ease); }
.nav-primary .mega__all { display: inline-block; margin-top: 1.5rem; padding: 0; color: #fff; font-weight: 700; font-size: var(--fs-s); text-decoration: underline; text-underline-offset: .3em; }
.mega__panel { display: none; }
.mega__panel.is-active { display: block; animation: megaIn .45s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.mega__intro { margin: 0 0 1.25rem; max-width: 46rem; font-size: var(--fs-s); color: #fff; }
.mega__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.nav-primary .mega__card { display: grid; gap: .45rem; justify-items: center; padding: .65rem .5rem .75rem; border-radius: 14px; color: #fff; text-decoration: none; text-align: center; font-size: .8rem; font-weight: 600; line-height: 1.25; transition: background-color .25s; }
.nav-primary .mega__card:hover, .nav-primary .mega__card:focus-visible { background: rgba(255,255,255,.18); }
.mega__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.92); }
.mega__img img { width: 78%; height: 78%; object-fit: contain; transition: transform .45s var(--ease); }
.mega__card:hover .mega__img img { transform: scale(1.08) rotate(-4deg); }
.nav-primary .mega__more { display: inline-block; margin-top: 1.25rem; padding: 0; color: #fff; font-weight: 600; font-size: var(--fs-s); }
.mega :focus-visible { outline-color: #fff; }
@media (max-width: 1200px) { .mega__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Mobile: dentro il menu a tutto schermo mostra solo le linee */
@media (max-width: 1020px) {
  .has-mega { display: block; }
  .mega-toggle { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; background: none; color: inherit; box-shadow: none; }
  .mega__inner { width: auto; display: block; padding: 0 0 1rem; }
  .mega__eyebrow, .mega__panels, .mega__count, .nav-primary .mega__all { display: none; }
  .mega__lines, .mega__lines li { border: 0; }
  .nav-primary .mega__line { display: flex; gap: .6rem; padding: .35rem 0 .35rem 1rem; font-size: 1rem; color: var(--heading); }
  .mega__num { font-size: .9rem; color: var(--green-ink); }
  .mega__name { font-size: 1.05rem; }
  .mega__line.is-active { box-shadow: none; padding-left: 1rem; }
  .mega__line.is-active .mega__name, .mega__line:hover .mega__name { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .mega__panel.is-active { animation: none; } }
.nav-primary .mega__lines { display: block; }
.nav-primary .mega__grid { display: grid; gap: .75rem; }
@media (max-width: 1020px) {
  .nav-primary .mega li { border: 0; padding: 0; }
  .nav-primary .mega__lines { display: block; }
}
.mega b { color: inherit; }
.mega__img { position: relative; display: block; }
.mega__img img { position: absolute; inset: 11%; width: 78%; height: 78%; }
@media (max-width: 1020px) { .mega b { color: var(--heading); } }
.cert-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* v7b — anteprima editoriale della linea nel megamenu */
.mega__panel.is-active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.mega__visual { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.14); }
.mega__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega__visual--cutout { background: #fff; }
.mega__visual--cutout img { object-fit: contain; padding: 8%; }
.mega__panel.is-active .mega__visual img { animation: megaZoom 1.2s var(--ease); }
@keyframes megaZoom { from { transform: scale(1.06); } to { transform: none; } }
.mega__kicker { margin: 0 0 .5rem; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.mega__title { margin: 0 0 .9rem; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.05; font-weight: 300; color: #fff; }
.mega__title b { display: block; font-weight: 700; }
.mega__copy .mega__intro { margin-bottom: 1.1rem; font-size: var(--fs-0); }
.mega__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.mega__tag, .nav-primary .mega__tag { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); color: #fff; font-size: .78rem; font-weight: 600; text-decoration: none; }
.nav-primary .mega__tag:hover { background: #fff; color: var(--green-ink); }
.nav-primary .mega__tag::after { display: none; }
.mega__tag i { width: .7rem; height: .7rem; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.8); }
.mega__eol { margin: 0 0 1.4rem; font-size: var(--fs-xs); color: #fff; opacity: .95; }
.nav-primary .mega__cta { display: inline-flex; gap: .5rem; padding: .8em 1.4em; border-radius: 999px; background: #fff; color: var(--green-ink); font-weight: 700; font-size: var(--fs-s); text-decoration: none; }
.nav-primary .mega__cta:hover { background: var(--forest); color: #fff; }
.nav-primary .mega__cta::after { display: none; }

/* ---------- v8: gerarchia di grandezza dei prodotti ---------- */
[style*="--s"] > img { transform: scale(var(--s, 1)); transform-origin: 50% 50%; }
[data-align="bottom"] > img { transform-origin: 50% 100%; object-position: 50% 100%; }
.item__img[data-align="bottom"] img { object-position: 50% 100%; }
.color-range .sz { position: relative; display: block; flex: none; width: 64px; height: 64px; }
.color-range .sz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.color-range li:hover .sz img { transform: scale(var(--s, 1)) rotate(-10deg); }
.color-range li img { transition: transform .5s var(--ease); }

/* Link legali + credito agenzia */
.site-footer .legal-links { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.site-footer .credit { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; text-decoration: none; opacity: .85; transition: opacity .25s; }
.site-footer .credit:hover { opacity: 1; text-decoration: none; }
.site-footer .credit img { height: 9px; width: auto; }

/* ---------- Rassegna stampa ---------- */
.press { --press-bg: var(--grey); padding-block: clamp(3rem, 2.2rem + 2.5vw, 4.75rem); background: var(--press-bg); border-top: 1px solid var(--line); }
.press .wrap { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(0, 3.4fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.press__head { margin: 0; }
.press__head .eyebrow { display: block; margin-bottom: .6rem; }
.press__head .t { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.05; }
.press__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.press__list li { display: flex; border-right: 1px solid var(--line); }
.press__list li:last-child { border-right: 0; }
.press__item { --knock: var(--press-bg); position: relative; flex: 1; display: grid; place-items: center; min-height: 118px; padding: 1.25rem clamp(.75rem, 1.5vw, 1.5rem); text-decoration: none; color: var(--heading); transition: background-color .4s var(--ease); }
.press__item::after { content: ""; position: absolute; left: clamp(.75rem, 1.5vw, 1.5rem); right: clamp(.75rem, 1.5vw, 1.5rem); bottom: .9rem; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.press__item:hover::after, .press__item:focus-visible::after { transform: scaleX(1); }
.press__logo { display: block; width: auto; max-width: 100%; height: var(--lh, 32px); color: var(--heading); opacity: .88; transition: opacity .4s var(--ease); }
.press__item:hover .press__logo, .press__item:focus-visible .press__logo { opacity: 1; }
.press__arrow { position: absolute; top: .8rem; right: .8rem; color: var(--green-ink); opacity: 0; transform: translate(-3px, 3px); transition: opacity .35s, transform .4s var(--ease); }
.press__arrow svg { width: 13px; height: 13px; }
.press__item:hover .press__arrow, .press__item:focus-visible .press__arrow { opacity: 1; transform: none; }
.press__item:focus-visible { outline: 2px solid var(--green-ink); outline-offset: -2px; }
.press__logo--forbes { --lh: 28px; }
.press__logo--repubblica { --lh: 26px; }
.press__logo--avvenire { --lh: 38px; }
.press__logo--nuovaecologia { --lh: 24px; }
.press__logo--gift { --lh: 84px; }
.press__mark { display: block; line-height: 1.05; color: var(--heading); transition: color .3s; }
.press__item:hover .press__mark { color: var(--green-ink); }
.press__mark--forbes { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.85rem; letter-spacing: -0.02em; }
.press__mark--repubblica { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.55rem; }
.press__mark--avvenire { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .04em; }
.press__mark--nuovaecologia { font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.press__mark--gift { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
@media (max-width: 1100px) { .press .wrap { grid-template-columns: 1fr; gap: 1.75rem; } }
@media (max-width: 760px) { .press__list { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; border-top: 1px solid var(--line); } .press__list li, .press__list li:last-child { border-right: 0; border-bottom: 1px solid var(--line); } .press__list li:nth-child(even) { border-left: 1px solid var(--line); } .press__list li:last-child { grid-column: 1 / -1; } }

@media (max-width: 560px) { .press__item { min-height: 104px; } .press__logo { height: calc(var(--lh) * .85); } }
@media (prefers-reduced-motion: reduce) { .press__item, .press__logo, .press__arrow { transition: none; } .press__item::after { transition: none; } }
@media (hover: none) { .press__arrow { opacity: .8; transform: none; } .press__logo { opacity: 1; } }

/* ---------- v11: ritratto CEO nei numeri ---------- */
.kpi__media--ceo { position: relative; background: #eeeeec; }
.kpi__media--ceo img { object-position: 50% 15%; }
.kpi__ceo { margin: 0; }
.kpi__ceo figcaption { margin-top: .9rem; font-size: var(--fs-s); color: var(--green-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__ceo figcaption, .kpi__ceo figcaption b { color: var(--green-ink); }
.kpi__ceo figcaption b { font-weight: 700; }
@media (max-width: 880px) { .kpi__media--ceo { aspect-ratio: 1 / 1; } }

/* ---------- v11: pagina Marca 2027 ---------- */
.fair-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6.5rem); background: #5eb246; color: #fff; }
.fair-hero::before { content: ""; position: absolute; right: -12vw; top: -20vw; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), rgba(255,255,255,0)); pointer-events: none; }
.breadcrumb--light, .breadcrumb--light a { color: rgba(255,255,255,.85); }
.breadcrumb--light li[aria-current] { color: #fff; }
.fair-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.fair-mark { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin: 0 0 1.6rem; padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.55); border-radius: 3px; }
.fair-mark__name { font-weight: 700; font-size: 1.05rem; letter-spacing: .16em; }
.fair-mark__by { font-size: var(--fs-xs); opacity: .9; }
.fair-mark__ed { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-left: .6rem; border-left: 1px solid rgba(255,255,255,.5); }
.fair-hero h1 { color: #fff; font-size: clamp(3rem, 1.8rem + 4.6vw, 6rem); line-height: .98; }
.fair-hero h1 b { color: #fff; }
.fair-hero h1 span { color: #fff; font-weight: 300; }
.fair-hero__when { display: grid; gap: .15rem; margin: 1.4rem 0 2.2rem; font-size: var(--fs-1); }
.fair-hero__when b { color: #fff; font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); font-weight: 600; }
.fair-hero__when span { opacity: .9; }
.cd { margin-bottom: 2.4rem; }
.cd__label { margin: 0 0 .8rem; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.cd__units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 34rem; border-top: 1px solid rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.45); }
.cd__unit { display: grid; gap: .1rem; padding: 1rem 0 .9rem 1rem; }
.cd__unit:first-child { padding-left: 0; }
.cd__unit + .cd__unit { border-left: 1px solid rgba(255,255,255,.3); }
.cd__num { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cd__unit:first-child .cd__num { font-weight: 700; }
.cd__cap { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.cd.is-live .cd__units, .cd.is-over .cd__units { display: none; }
.cd__msg { margin: 0; font-size: var(--fs-2); font-weight: 600; }
.fair-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.fair-hero__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0,52,28,.55); }
.fair-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

.fair-info { border-bottom: 1px solid var(--line); }
.fair-info__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.fair-info__item { padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 2rem) clamp(1.5rem, 3vw, 2.4rem) 0; }
.fair-info__item + .fair-info__item { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.fair-info__item dt { margin-bottom: .6rem; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.fair-info__item dd { margin: 0; font-size: var(--fs-s); line-height: 1.6; color: var(--muted); }
.fair-info__item dd b { color: var(--heading); font-weight: 600; }

.fair-awards__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.awards { display: grid; gap: .75rem; margin: 1.6rem 0; }
.fair-awards__text .lead, .fair-form__intro .lead { margin-top: 1.25rem; }
.award { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-left: 3px solid var(--green); background: #fff; }
.award__icon { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); }
.award__body { display: grid; gap: .1rem; }
.award__k { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.award__name { font-size: var(--fs-1); color: var(--heading); }
.fair-video { margin: 0; }
.fair-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #00341c; border-radius: 4px; }
.fair-video figcaption { margin-top: .7rem; font-size: var(--fs-xs); color: var(--muted); }

.fair-gallery { background: var(--grey); }
.fair-gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.gallery__item { overflow: hidden; aspect-ratio: 1; border-radius: 3px; background: var(--grey-2); }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item--wide img { object-position: 50% 38%; }
.gallery__item:hover img { transform: scale(1.04); }

.fair-form__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.fair-form__intro { position: sticky; top: 7rem; }
.fair-form__points { display: grid; gap: .55rem; margin: 1.5rem 0 1.75rem; }
.fair-form__points li { position: relative; padding-left: 1.4rem; color: var(--heading); }
.fair-form__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: 2px; background: var(--green); }
.fair-form .form { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); background: #fff; }

@media (max-width: 980px) {
  .fair-hero__grid, .fair-awards__grid, .fair-form__grid { grid-template-columns: 1fr; }
  .fair-hero__media { aspect-ratio: 16 / 10; }
  .fair-info__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fair-info__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .fair-info__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fair-form__intro { position: static; }
}
@media (max-width: 560px) {
  .cd__unit { padding-left: .6rem; }
  .fair-info__list { grid-template-columns: 1fr; }
  .fair-info__item, .fair-info__item + .fair-info__item { padding-left: 0; border-left: 0; }
  .fair-info__item + .fair-info__item { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .gallery__item img { transition: none; } }

/* voce di menu Marca */
.nav-dot { display: inline-block; vertical-align: middle; margin: -2px .45rem 0 0; width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(101,179,46,.6); animation: fairPulse 2.2s infinite; }
@keyframes fairPulse { 70% { box-shadow: 0 0 0 .45rem rgba(101,179,46,0); } 100% { box-shadow: 0 0 0 0 rgba(101,179,46,0); } }
@media (prefers-reduced-motion: reduce) { .nav-dot { animation: none; } }

/* v11b: logo Marca e premi in verde */
.fair-logo { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 2rem; }
.fair-logo img { display: block; width: clamp(150px, 12vw + 60px, 210px); height: auto; }
.fair-logo__ed { align-self: stretch; display: flex; align-items: center; padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.5); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.award { background: #5eb246; border: 0; color: #fff; }
.award__icon { background: rgba(255,255,255,.18); color: #fff; }
.award__k { color: rgba(255,255,255,.88); }
.award__name { color: #fff; }

/* ---------- v12: mappa contatti ---------- */
.map-sec { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); background: var(--grey); border-top: 1px solid var(--line); }
.map-sec__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.map-sec__text .lead { margin-top: 1.25rem; }
.map-sec__addr { margin: 0 0 1.5rem; font-style: normal; line-height: 1.6; color: var(--heading); padding-left: 1rem; border-left: 3px solid #5eb246; }
.map-sec__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.map { position: relative; aspect-ratio: 904 / 690; overflow: hidden; border-radius: 4px; background: #e9f3dc; box-shadow: 0 30px 60px -36px rgba(15,89,53,.45); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-bg { fill: #eaf4de; }
.m-grid line { stroke: #d6e9c2; stroke-width: 1; }
.m-hill ellipse { fill: none; stroke: #c4df9f; stroke-width: 1.4; }
.m-river { fill: none; stroke: #9fd27a; stroke-width: 9; stroke-linecap: round; }
.m-river-label { font: italic 600 15px "Exo 2", sans-serif; fill: #3e7d1b; letter-spacing: .06em; }
.m-road { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 0; }
.m-road-label { font: 600 13px "Exo 2", sans-serif; fill: #6a8f54; letter-spacing: .08em; text-transform: uppercase; }
.m-dot { fill: #fff; stroke: #3e7d1b; stroke-width: 2; }
.m-dot--big { fill: #3e7d1b; }
.m-town { font: 500 15px "Exo 2", sans-serif; fill: #3d5a2c; }
.m-town--big { font-weight: 700; font-size: 18px; fill: #1f3d12; }
.m-pulse { fill: rgba(94,178,70,.22); transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s ease-out infinite; }
.m-halo { fill: #5eb246; stroke: #fff; stroke-width: 4; }
.m-heart { fill: #fff; }
@keyframes mapPulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.map__card { position: absolute; transform: translate(calc(-100% - 34px), -50%); display: grid; gap: .1rem; padding: .7rem 1rem; background: #fff; border-radius: 3px; box-shadow: 0 12px 28px -12px rgba(15,89,53,.4); font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; pointer-events: none; }
.map__card::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.map__card b { font-size: var(--fs-s); color: #3e7d1b; }
.map__note { position: absolute; right: .8rem; bottom: .6rem; margin: 0; font-size: 11px; color: #6a8f54; }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.04); }
.map.is-live::after { content: ""; position: absolute; inset: 0; background: #b9e08f; mix-blend-mode: multiply; pointer-events: none; }
.map.is-live .map__card, .map.is-live .map__note { display: none; }
@media (max-width: 980px) { .map-sec__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .map__card { display: none; } .m-town { font-size: 19px; } .m-town--big { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .m-pulse { animation: none; } }
/* v12: foto linea in Azienda */
.page-banner--wide { margin: 0; aspect-ratio: auto; background: transparent; }
.page-banner--wide img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 932; object-fit: cover; }
.page-banner--wide figcaption { padding-block: .8rem 1rem; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 880px) { .page-banner--wide img { aspect-ratio: 4 / 3; object-position: 40% 50%; } }
/* v12b: mappa OSM in toni BioTable */
.map--osm { aspect-ratio: 1700 / 1100; background: #e3eed8; }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; transform: translate(-50%, -50%); overflow: visible; }
.map--osm .map__card { left: 50%; top: 50%; }
.map__attr { position: absolute; right: .5rem; bottom: .5rem; margin: 0; padding: .2rem .5rem; border-radius: 3px; background: rgba(255,255,255,.85); font-size: 11px; color: #3e7d1b; }
.map__attr a { color: inherit; }
@media (max-width: 560px) { .map--osm { aspect-ratio: 4 / 5; } .map__pin { width: 80px; height: 80px; } }
