/* GNN Servizi — foglio di stile del sito
   Direzione grafica A "Piccole cose, grandi cose": pentagoni dei banner storici GNN,
   in sequenza crescente, nei tre colori del logo (arancio, rosso, celeste) che danno movimento.
   Colore per area: arancio = organizzazione e qualità, rosso = sicurezza, celeste = formazione. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --arancio: #bf6b27;
  --rosso: #bc391d;
  --celeste: #4599c7;
  --arancio-t: #f5e1cd;
  --rosso-t: #f4d5cb;
  --celeste-t: #d6e9f4;
  --arancio-txt: #9a531a;   /* arancio scurito per testo su chiaro (contrasto AA) */
  --celeste-txt: #2c719a;
  --ink: #2a2522;
  --muted: #5f5650;
  --paper: #fbf8f4;
  --sheet: #ffffff;
  --rule: #e8dfd5;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --s-1: clamp(2.5rem, 5.6vw, 4.6rem);
  --s-2: clamp(1.9rem, 3.4vw, 2.8rem);
  --s-3: clamp(1.2rem, 1.7vw, 1.45rem);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rosso); text-underline-offset: 3px; }
a:hover { color: #8f2a14; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* pentagono, la forma base dell'immagine coordinata */
.pg { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }

/* ---------- barra di avanzamento tricolore ---------- */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--arancio) 0 33.3%, var(--rosso) 33.3% 66.6%, var(--celeste) 66.6% 100%); }

/* ---------- testata ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 62px; height: 64px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand b { font-family: var(--f-display); font-stretch: 105%; font-weight: 800; font-size: 1.3rem; display: block; line-height: 1.1; }
.brand span { font-size: .78rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a.btn { color: #fff; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--arancio); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav > a:not(.btn):nth-child(3n+2)::after { background: var(--rosso); }
.nav > a:not(.btn):nth-child(3n)::after { background: var(--celeste); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.social { display: inline-flex; gap: 8px; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { transform: translateY(-2px); color: #fff; }
.social a.li:hover { background: #0a66c2; }
.social a.fb:hover { background: #1877f2; }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 9px 16px; font: 500 .92rem var(--f-body); color: var(--ink); cursor: pointer; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--rosso); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--f-body); font-size: 1rem; transition: background .2s, transform .2s; }
.btn:hover { background: #962d16; color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.cel { background: var(--celeste-txt); }
.btn.cel:hover { background: #1f5677; }

/* ---------- apertura ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(56px, 7vw, 96px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--arancio-txt); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.eyebrow i { display: inline-flex; gap: 4px; }
.eyebrow i span { width: 10px; height: 10px; }
.hero h1 { font-size: var(--s-1); font-weight: 800; font-stretch: 86%; letter-spacing: -.01em; margin: 18px 0 24px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--arancio), var(--rosso) 55%, var(--celeste)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story { display: grid; gap: 14px; max-width: 37em; font-size: 1.12rem; color: #3d3632; }
.story strong { color: var(--ink); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* palcoscenico del logo */
.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; justify-self: center; }
.stage .logo { position: absolute; inset: 9%; display: flex; align-items: center; justify-content: center; }
.stage .logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(42,37,34,.14)); animation: breathe 9s ease-in-out infinite; }
.stage .pg { position: absolute; }
.p1 { width: 17%; aspect-ratio: 1/.95; background: var(--arancio); left: -4%; top: 6%; animation: drift1 11s ease-in-out infinite; }
.p2 { width: 12%; aspect-ratio: 1/.95; background: var(--rosso); right: 2%; top: -2%; animation: drift2 9s ease-in-out infinite; }
.p3 { width: 9%; aspect-ratio: 1/.95; background: var(--celeste); right: -3%; top: 46%; animation: drift1 8s ease-in-out infinite reverse; }
.p4 { width: 7%; aspect-ratio: 1/.95; background: var(--arancio-t); left: 4%; bottom: 8%; animation: drift2 10s ease-in-out infinite; }
.p5 { width: 5%; aspect-ratio: 1/.95; background: var(--celeste-t); right: 18%; bottom: 0%; animation: drift1 7s ease-in-out infinite; }
.p6 { width: 4%; aspect-ratio: 1/.95; background: var(--rosso-t); left: 22%; top: -3%; animation: drift2 6s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.02); } }
@keyframes drift1 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(14px,-18px) rotate(36deg); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-16px,12px) rotate(-30deg); } }

/* nastro di pentagoni tra le sezioni */
.ribbon { overflow: hidden; padding: 18px 0; background: var(--sheet); border-bottom: 1px solid var(--rule); }
.ribbon .track { display: flex; gap: 26px; width: max-content; animation: slide 40s linear infinite; align-items: center; }
.ribbon .item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-stretch: 90%; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.ribbon .item span.pg { width: 16px; height: 15px; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sezioni ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 46em; }
.sec-head .kicker, .pill-page .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.sec-head .kicker .pg, .pill-page .kicker .pg { width: 14px; height: 13px; background: var(--arancio); }
.sec-head h2 { font-size: var(--s-2); font-weight: 800; font-stretch: 90%; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }

/* che cosa facciamo: tre capitoli */
.chapters { display: grid; gap: 28px; }
.chapter { display: grid; grid-template-columns: 120px 1fr 1fr; gap: clamp(20px, 3vw, 40px); background: var(--sheet); border-radius: 14px; padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; border: 1px solid var(--rule); transition: transform .3s, box-shadow .3s; }
.chapter:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42,37,34,.08); }
.chapter .mark { position: relative; height: 110px; }
.chapter .mark .pg { position: absolute; }
.chapter .mark .a { width: 74px; height: 70px; left: 0; top: 0; animation: drift1 9s ease-in-out infinite; }
.chapter .mark .b { width: 38px; height: 36px; left: 66px; top: 58px; opacity: .55; animation: drift2 8s ease-in-out infinite; }
.chapter h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; font-stretch: 90%; margin-bottom: 12px; }
.chapter .lead { font-size: 1.06rem; color: #3d3632; }
.chapter .lead + .lead { margin-top: 12px; }
.chapter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.chapter li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; font-size: .98rem; }
.chapter li::before { content: ""; width: 12px; height: 11px; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--c); transform: translateY(1px); }
.chapter li b { font-weight: 600; }
.chapter.org { --c: var(--arancio); } .chapter.org .kick { color: var(--arancio-txt); } .chapter.org .a { background: var(--arancio); } .chapter.org .b { background: var(--arancio); }
.chapter.sic { --c: var(--rosso); } .chapter.sic .kick { color: var(--rosso); } .chapter.sic .a { background: var(--rosso); } .chapter.sic .b { background: var(--rosso); }
.chapter.for { --c: var(--celeste); } .chapter.for .kick { color: var(--celeste-txt); } .chapter.for .a { background: var(--celeste); } .chapter.for .b { background: var(--celeste); }
.chapter .kick { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 8px; }
.chapter::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }

/* formazione finanziata */
.funded { background: var(--celeste-t); overflow: hidden; }
.funded .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.funded .sec-head .kicker .pg { background: var(--celeste); }
.funded .steps-f { display: grid; gap: 14px; counter-reset: f; margin-top: 8px; }
.funded .steps-f div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.funded .steps-f div::before { counter-increment: f; content: counter(f); width: 40px; height: 38px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--f-display); font-weight: 800; background: var(--celeste-txt); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); padding-top: 4px; }
.partners { display: grid; gap: 16px; }
.partner { background: var(--sheet); border-radius: 12px; padding: 24px 26px; display: grid; gap: 8px; text-decoration: none; color: var(--ink); border: 1px solid #c9dfec; transition: transform .25s, box-shadow .25s; }
.partner:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(44,113,154,.15); color: var(--ink); }
.partner .tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--celeste-txt); font-weight: 600; }
.partner b { font-family: var(--f-display); font-size: 1.45rem; font-stretch: 92%; }
.partner span.go { color: var(--celeste-txt); font-weight: 600; font-size: .92rem; }
.funded .deco { position: absolute; right: -60px; bottom: -40px; width: 260px; height: 248px; background: var(--celeste); opacity: .14; animation: drift1 14s ease-in-out infinite; }

/* certificazioni che rendono */
.certs { background: var(--sheet); border-top: 1px solid var(--rule); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert { position: relative; overflow: hidden; background: var(--paper); border-radius: 14px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s; }
.cert:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(42,37,34,.09); }
.cert::after { content: ""; position: absolute; right: -22px; bottom: -22px; width: 92px; height: 88px; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--c); opacity: .16; transition: transform .6s; }
.cert:hover::after { transform: rotate(36deg) scale(1.15); }
.cert.org { --c: var(--arancio); --t: var(--arancio-txt); } .cert.sic { --c: var(--rosso); --t: var(--rosso); } .cert.for { --c: var(--celeste); --t: var(--celeste-txt); }
.cert .big { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--t); font-variant-numeric: tabular-nums; }
.cert h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 92%; }
.cert p { font-size: .97rem; color: #3d3632; flex: 1; }
.cert .who { font-size: .8rem; font-weight: 600; color: var(--t); letter-spacing: .02em; }
.cert-src { margin-top: 22px; font-size: .88rem; color: var(--muted); max-width: 70em; }
@media (max-width: 980px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: 1fr; } }

/* modelli 231 */
.m231 { background: var(--arancio-t); }
.m231 .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.m231 .steps-f { display: grid; gap: 14px; counter-reset: m; }
.m231 .steps-f div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.m231 .steps-f div::before { counter-increment: m; content: counter(m); width: 40px; height: 38px; display: flex; align-items: center; justify-content: center; padding-top: 4px; color: #fff; font-family: var(--f-display); font-weight: 800; background: var(--arancio-txt); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }
.sources { background: var(--sheet); border-radius: 14px; padding: 26px 28px; display: grid; gap: 12px; border: 1px solid #ecd2b9; }
.sources h3 { font-size: 1.3rem; font-weight: 800; font-stretch: 92%; }
.sources p { font-size: .97rem; color: #3d3632; }
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sources li { display: grid; gap: 2px; padding-left: 20px; position: relative; }
.sources li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 10.5px; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--arancio); }
.sources li a { font-weight: 600; }
.sources li span { font-size: .88rem; color: var(--muted); }
.sources .btn { justify-self: start; margin-top: 6px; }

/* bottoni con logo dei partner */
.logo-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.logo-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; padding: 10px 14px 8px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.logo-btn img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.logo-btn span { font-size: .74rem; font-weight: 600; color: var(--celeste-txt); letter-spacing: .04em; }
.logo-btn:hover { transform: translateY(-3px); border-color: var(--celeste); box-shadow: 0 10px 22px rgba(44,113,154,.16); }
.partner .plogo { display: flex; align-items: center; height: 64px; margin-bottom: 4px; }
.partner .plogo img { height: 60px; width: auto; max-width: 240px; object-fit: contain; }
.role .logo-btn { margin-top: 8px; padding: 8px 12px 6px; }
.role .logo-btn img { height: 32px; }
.note-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 20px; }
.note-row .note { margin-top: 0; }
.note-row .logo-row { margin-top: 0; }
.foot .logo-row { margin-top: 4px; }
.foot .logo-btn { padding: 8px 10px; border-color: #3f3833; }
.foot .logo-btn img { height: 30px; }
@media (max-width: 760px) { .note-row { grid-template-columns: 1fr; } }

/* corsi sicurezza */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.course { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; display: grid; gap: 4px; transition: border-color .2s, transform .2s; }
.course:hover { border-color: var(--rosso); transform: translateY(-2px); }
.course b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; }
.course span { color: var(--muted); font-size: .93rem; }
.note { margin-top: 20px; font-size: .93rem; color: var(--muted); max-width: 62em; }

/* novità 2026 */
.news { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nw { border-radius: 12px; background: var(--paper); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: transform .25s; }
.nw:hover { transform: translateY(-4px); }
.nw::before { content: ""; position: absolute; right: -14px; top: -14px; width: 64px; height: 61px; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--c, var(--arancio)); opacity: .9; transition: transform .5s; }
.nw:hover::before { transform: rotate(40deg) scale(1.1); }
.nw.org { --c: var(--arancio); } .nw.sic { --c: var(--rosso); } .nw.for { --c: var(--celeste); }
.nw .tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.nw h3 { font-size: 1.35rem; font-weight: 800; font-stretch: 90%; padding-right: 40px; }
.nw p { color: #3d3632; font-size: .97rem; flex: 1; }
.code-link { align-self: flex-start; font-family: var(--f-mono); font-size: .82rem; font-weight: 500; text-decoration: none; color: var(--ink); border: 1.5px solid var(--ink); padding: 6px 12px; border-radius: 999px; transition: all .2s; }
.code-link:hover { background: var(--c, var(--arancio)); border-color: var(--c, var(--arancio)); color: #fff; }

/* principi */
.values { background: var(--ink); color: #efe8e1; overflow: hidden; }
.values .sec-head h2 { color: #fff; }
.values .sec-head .kicker { color: #c7beb6; }
.values .sec-head .kicker .pg { background: var(--celeste); }
.val-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.val { position: relative; background: #342e2a; border-radius: 16px; padding: 34px 32px 30px 32px; display: grid; gap: 12px; overflow: hidden; }
.val h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 800; font-stretch: 90%; color: #fff; padding-right: 70px; }
.val p { color: #d8cfc7; font-size: 1.02rem; }
.val .vmark { position: absolute; right: 24px; top: 24px; width: 54px; height: 51px; animation: drift1 10s ease-in-out infinite; }
.v1 .vmark { background: var(--arancio); } .v2 .vmark { background: var(--celeste); animation-name: drift2; }
.val::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.v1::after { background: var(--arancio); } .v2::after { background: var(--celeste); }
@media (max-width: 860px) { .val-grid { grid-template-columns: 1fr; } }

/* norme */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { font: 500 .88rem var(--f-body); color: var(--ink); background: var(--sheet); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.norm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.norm { background: var(--sheet); border-radius: 10px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; border-top: 4px solid var(--c, var(--arancio)); }
.norm[hidden] { display: none; }
.norm[data-a="qualita"] { --c: var(--arancio); }
.norm[data-a="sicurezza"] { --c: var(--rosso); }
.norm[data-a="saldatura"] { --c: var(--arancio-txt); }
.norm[data-a="settori"] { --c: var(--celeste); }
.norm .n { font-family: var(--f-display); font-stretch: 85%; font-weight: 800; font-size: 1.4rem; }
.norm .d { color: var(--muted); font-size: .93rem; }
.norm .a { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.count { margin-top: 18px; color: var(--muted); font-size: .9rem; }

/* metodo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 86px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; width: 72px; height: 68px; display: flex; align-items: center; justify-content: center; padding-top: 8px; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--arancio); }
.step:nth-child(2)::before { background: var(--rosso); width: 64px; height: 61px; top: 4px; }
.step:nth-child(3)::before { background: var(--celeste); width: 56px; height: 53px; top: 8px; }
.step:nth-child(4)::before { background: var(--ink); width: 48px; height: 46px; top: 12px; font-size: 1.1rem; }
.step h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: #3d3632; font-size: .98rem; }

/* chi siamo */
.about { background: var(--sheet); border-top: 1px solid var(--rule); }
.about .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about .text p + p { margin-top: 16px; }
.roles { display: grid; gap: 10px; margin: 22px 0; }
.role { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: baseline; }
.role::before { content: ""; width: 14px; height: 13px; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--c, var(--arancio)); transform: translateY(2px); }
.role:nth-child(2) { --c: var(--celeste); } .role:nth-child(3) { --c: var(--rosso); }
blockquote { margin: 0; padding: 30px 32px; background: var(--paper); border-radius: 14px; font-family: var(--f-display); font-stretch: 92%; font-size: 1.5rem; font-weight: 700; line-height: 1.25; position: relative; overflow: hidden; }
blockquote::after { content: ""; position: absolute; right: -20px; bottom: -20px; width: 90px; height: 86px; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--arancio); opacity: .18; }
blockquote footer { margin-top: 12px; font-family: var(--f-body); font-size: .85rem; font-weight: 400; color: var(--muted); }
.facts { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { background: var(--paper); border-radius: 12px; padding: 16px 18px; }
.facts b { display: block; font-family: var(--f-display); font-stretch: 85%; font-weight: 800; font-size: 2.1rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts div:nth-child(1) b { color: var(--arancio-txt); } .facts div:nth-child(2) b { color: var(--rosso); } .facts div:nth-child(3) b { color: var(--celeste-txt); }
.facts span { font-size: .88rem; color: var(--muted); }
.creds { margin-top: 22px; border: 1px solid var(--rule); border-radius: 14px; padding: 22px 24px; }
.creds h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 12px; }
.creds ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.creds li { padding-left: 20px; position: relative; font-size: .95rem; color: #3d3632; }
.creds li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 9.5px; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); background: var(--celeste); }

/* referenze */
.sectors { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sectors li { font-size: .88rem; background: var(--sheet); border: 1px solid var(--rule); padding: 6px 14px; border-radius: 999px; }
.ref-list { columns: 4 220px; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.ref-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px dashed var(--rule); font-size: .95rem; }

/* contatti */
.contact { background: var(--paper); border-top: 1px solid var(--rule); }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.cdata { display: grid; gap: 16px; align-content: start; margin: 0; }
.cdata .row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.cdata dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; font-weight: 600; }
.cdata dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.cdata .social a { width: 40px; height: 40px; }
form { background: var(--sheet); border-radius: 16px; border: 1px solid var(--rule); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; position: relative; overflow: hidden; }
form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--arancio) 0 33.3%, var(--rosso) 33.3% 66.6%, var(--celeste) 66.6%); }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 1rem var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid #cfc4b8; border-radius: 10px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--celeste); outline-offset: 0; border-color: var(--celeste); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #3d3632; }
.check input { margin-top: 4px; accent-color: var(--rosso); width: 18px; height: 18px; flex: none; }
.form-msg { font-size: .92rem; padding: 12px 14px; border-radius: 10px; background: var(--celeste-t); }
.form-msg[hidden] { display: none; }

/* piè di pagina */
.foot { background: var(--ink); color: #c7beb6; padding: 56px 0 32px; font-size: .92rem; position: relative; overflow: hidden; }
.foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: start; position: relative; }
.foot img { width: 110px; height: 113px; }
.foot b { color: #fff; }
.foot a { color: #f0b183; }
.foot .links { display: grid; gap: 8px; justify-items: start; }
.foot .social a { background: #3b3430; }
.foot .legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid #3f3833; grid-column: 1 / -1; font-size: .8rem; color: #a0968e; line-height: 1.55; }
.foot .deco { position: absolute; right: 40px; top: -30px; display: flex; gap: 14px; align-items: flex-end; opacity: .9; }
.foot .deco .pg:nth-child(1) { width: 60px; height: 57px; background: var(--arancio); animation: drift1 10s ease-in-out infinite; }
.foot .deco .pg:nth-child(2) { width: 40px; height: 38px; background: var(--rosso); animation: drift2 8s ease-in-out infinite; }
.foot .deco .pg:nth-child(3) { width: 26px; height: 25px; background: var(--celeste); animation: drift1 7s ease-in-out infinite; }

/* pagina documento (privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.doc h1 { font-size: var(--s-2); font-stretch: 90%; margin: 14px 0 10px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.doc p, .doc li { color: #3d3632; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc .meta { font-size: .85rem; color: var(--muted); }

/* comparsa al passaggio (solo per elementi sotto la piega, impostata da main.js) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- adattamento ---------- */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav > a { font-size: .9rem; }
}
@media (max-width: 980px) {
  .hero .wrap, .about .wrap, .contact .wrap, .funded .wrap, .m231 .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 380px; order: -1; }
  .chapter { grid-template-columns: 1fr; }
  .chapter .mark { height: 80px; }
  .news-grid, .course-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 1040px) {
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav > a::after { display: none; }
  .nav .social { padding-top: 12px; }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .menu-btn { display: block; }
}
@media (max-width: 640px) {
  .news-grid, .course-grid, .steps { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .foot .deco { display: none; }
  .cdata .row { grid-template-columns: 1fr; gap: 2px; }
  .brand img { width: 50px; height: 52px; }
}

/* ---------- settori ---------- */
.sectors-sec { background: var(--sheet); border-top: 1px solid var(--rule); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stats div { background: var(--paper); border-radius: 12px; padding: 18px 20px; }
.stats b { display: block; font-family: var(--f-display); font-stretch: 82%; font-weight: 800; font-size: 2.4rem; line-height: 1; }
.stats div:nth-child(1) b { color: var(--arancio-txt); } .stats div:nth-child(2) b { color: var(--rosso); } .stats div:nth-child(3) b { color: var(--celeste-txt); } .stats div:nth-child(4) b { color: var(--ink); }
.stats span { font-size: .88rem; color: var(--muted); }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { background: var(--paper); border-radius: 12px; padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; transition: transform .25s, box-shadow .25s; }
.sector:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(42,37,34,.08); }
.sector .pg { width: 22px; height: 21px; background: var(--c); transition: transform .5s; }
.sector:hover .pg { transform: rotate(72deg); }
.sector.org { --c: var(--arancio); } .sector.sic { --c: var(--rosso); } .sector.for { --c: var(--celeste); }
.sector h3 { font-size: 1.08rem; font-weight: 800; }
.sector p { font-size: .9rem; color: var(--muted); }
.free-call { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--ink); color: #efe8e1; border-radius: 16px; padding: 26px 30px; position: relative; overflow: hidden; }
.free-call b { font-family: var(--f-display); font-size: 1.6rem; color: #fff; display: block; margin-bottom: 4px; }
.free-call p { color: #d8cfc7; max-width: 40em; }
@media (max-width: 980px) { .sector-grid { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- filigrana del logo ---------- */
.watermark { position: fixed; z-index: 40; pointer-events: none; right: max(2vw, 16px); bottom: 12vh; width: min(42vw, 460px); opacity: 0; transform: scale(.92) rotate(-6deg); transition: opacity .8s ease, transform .8s ease; }
.watermark img { width: 100%; height: auto; }
body.wm-on .watermark { opacity: .07; transform: none; }
@media (max-width: 640px) { .watermark { width: 70vw; right: -8vw; } body.wm-on .watermark { opacity: .06; } }

/* ---------- consenso cookie ---------- */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #f0b183; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(540px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow: auto; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.25); padding: 22px 24px 16px; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent-head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 12px; }
.consent-head h2 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; }
.consent-x { position: absolute; right: -6px; top: -8px; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 4px 8px; }
.consent p { color: #3d3632; line-height: 1.55; }
.consent-link { background: none; border: 0; padding: 0; margin: 14px 0 12px; color: var(--arancio-txt); text-decoration: underline; text-underline-offset: 3px; font: 500 .88rem var(--f-body); cursor: pointer; }
.consent-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cbtn { font: 500 .95rem var(--f-body); padding: 13px 10px; border-radius: 8px; border: 1px solid #e3ddd6; background: #f7f4f0; color: var(--ink); cursor: pointer; transition: background .15s; }
.cbtn:hover { background: #eee8e1; }
.cbtn.dark { background: #2d1a14; border-color: #2d1a14; color: #fff; }
.cbtn.dark:hover { background: #4a2b20; }
.consent-foot { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: .82rem; }
.consent-foot a { color: var(--arancio-txt); }
.consent-prefs { display: grid; gap: 8px; margin-top: 14px; }
.consent-prefs[hidden] { display: none; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--paper); border-radius: 10px; padding: 10px 14px; }
.pref span { display: grid; gap: 2px; }
.pref small { color: var(--muted); font-size: .8rem; }
.pref input { width: 20px; height: 20px; accent-color: var(--arancio); flex: none; }
@media (max-width: 480px) { .consent-btns { grid-template-columns: 1fr; } .consent { left: 10px; bottom: 10px; width: calc(100vw - 20px); } }

/* ---------- assistente ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bot-fab { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; font: 600 .95rem var(--f-body); cursor: pointer; box-shadow: 0 12px 30px rgba(42,37,34,.3); transition: transform .2s; }
.bot-fab:hover { transform: translateY(-2px); }
.bot-fab .pg { width: 22px; height: 21px; background: linear-gradient(135deg, var(--arancio), var(--rosso) 55%, var(--celeste)); animation: drift1 6s ease-in-out infinite; }
.bot { position: fixed; z-index: 85; right: 20px; bottom: 20px; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; }
.bot[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; }
.bot-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--arancio) 0 33.3%, var(--rosso) 33.3% 66.6%, var(--celeste) 66.6%); }
.bot-head div { flex: 1; display: grid; }
.bot-head b { font-family: var(--f-display); font-size: 1.05rem; }
.bot-head small { color: var(--muted); font-size: .78rem; }
.bot-x { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 4px 8px; }
.bot-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.5; }
.msg.b { background: var(--paper); border-top-left-radius: 4px; align-self: flex-start; }
.msg.u { background: var(--ink); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--rosso); font-weight: 600; }
.msg .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .acts a, .msg .acts button { font: 600 .82rem var(--f-body); text-decoration: none; background: #fff; border: 1px solid var(--rule); color: var(--ink); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.msg .acts a:hover, .msg .acts button:hover { border-color: var(--arancio); }
.bot-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; }
.bot-chips button { flex: none; font: 500 .82rem var(--f-body); background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 7px 12px; cursor: pointer; color: var(--ink); }
.bot-chips button:hover { border-color: var(--celeste); }
.bot-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); }
.bot-form input { flex: 1; font: 400 .95rem var(--f-body); border: 1px solid #cfc4b8; border-radius: 999px; padding: 10px 14px; }
.bot-form input:focus { outline: 2px solid var(--celeste); border-color: var(--celeste); }
.bot-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--rosso); color: #fff; font-size: 1.1rem; cursor: pointer; }
.bot-note { font-size: .72rem; color: var(--muted); padding: 0 14px 10px; }
/* isolamento dell'assistente dagli stili generali di section e form */
section.bot { padding: 0; }
form.bot-form { background: #fff; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 10px 12px; display: flex; gap: 8px; overflow: visible; }
form.bot-form::before { display: none; }

/* ---------- pillole e newsletter ---------- */
.pills { background: var(--paper); border-top: 1px solid var(--rule); }
.pills .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.pill-list { display: grid; gap: 12px; }
.pill { display: grid; grid-template-columns: 70px 1fr; gap: 16px; background: var(--sheet); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); transition: transform .2s, border-color .2s; }
.pill:hover { transform: translateX(4px); border-color: var(--arancio); color: var(--ink); }
.pill .d { font-family: var(--f-display); font-weight: 800; color: var(--arancio-txt); line-height: 1; text-align: center; }
.pill .d b { display: block; font-size: 1.9rem; font-stretch: 80%; }
.pill .d span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.pill h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 4px; }
.pill p { font-size: .93rem; color: var(--muted); }
.pill-empty { color: var(--muted); font-size: .95rem; background: var(--sheet); border-radius: 12px; padding: 18px; border: 1px dashed var(--rule); }
.news-box { position: relative; overflow: hidden; background: var(--ink); color: #efe8e1; border-radius: 16px; padding: 28px 26px; display: grid; gap: 12px; }
.news-box h3 { font-size: 1.5rem; font-weight: 800; color: #fff; }
.news-box > p { color: #d8cfc7; font-size: .97rem; }
.news-box .deco { position: absolute; right: -24px; top: -24px; width: 96px; height: 92px; background: var(--celeste); opacity: .55; animation: drift1 9s ease-in-out infinite; }
form.nl-form { background: transparent; border: 0; padding: 0; gap: 12px; }
form.nl-form::before { display: none; }
.nl-form label { color: #efe8e1; }
.nl-form .field input { background: #fff; }
.nl-form .check span { color: #d8cfc7; }
.nl-form .check a { color: #f0b183; }
.nl-form .btn { justify-self: start; }
.nl-form .form-msg { background: #3a332f; color: #efe8e1; }
@media (max-width: 980px) { .pills .wrap { grid-template-columns: 1fr; } }
/* pagina pillole */
.pill-page { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.pill-page h1 { font-size: var(--s-2); font-stretch: 90%; margin: 12px 0 16px; }
.article { font-size: 1.08rem; line-height: 1.7; color: #33302c; display: grid; gap: 14px; }
.article h2, .article h3 { margin-top: 10px; }
.article blockquote { font-size: 1.2rem; }
.article ul, .article ol { padding-left: 22px; margin: 0; }
.article img { border-radius: 12px; }
.back { display: block; width: fit-content; margin-bottom: 14px; }
/* siti utili */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.link-card { display: grid; gap: 8px; align-content: start; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; }
.link-card:hover { transform: translateY(-3px); border-color: var(--celeste); color: var(--ink); }
.link-card .tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--celeste-txt, #2e6f95); }
.link-card h3 { font-size: 1.3rem; font-weight: 800; }
.link-card p { font-size: .94rem; color: var(--muted); }
.link-card .url { font-family: var(--f-mono, monospace); font-size: .8rem; color: var(--arancio-txt); }
/* portata nazionale e banca dati */
.sector-note { margin-top: 18px; color: var(--muted); font-size: .97rem; max-width: 760px; }
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 8px; }
.reach article { position: relative; background: var(--ink); color: #efe8e1; border-radius: 16px; padding: 24px 22px; display: grid; gap: 8px; align-content: start; overflow: hidden; }
.reach h3 { color: #fff; font-size: 1.22rem; font-weight: 800; }
.reach p { color: #d8cfc7; font-size: .95rem; }
.reach .pg { width: 22px; height: 21px; background: var(--arancio); }
.reach article:nth-child(2) .pg { background: var(--rosso); }
.reach article:nth-child(3) .pg { background: var(--celeste); }
@media (max-width: 900px) { .reach { grid-template-columns: 1fr; } }
@media (min-width: 981px) { .cert.wide { grid-column: span 2; } }
@media (min-width: 981px) { .nw.wide { grid-column: 1 / -1; } }
/* settori in evidenza ed EMAS */
.feat-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 18px; }
.feat { position: relative; overflow: hidden; background: var(--sheet); border-radius: 16px; padding: 26px 24px; display: grid; gap: 10px; align-content: start; border-top: 6px solid var(--arancio); box-shadow: 0 10px 30px rgba(40,30,20,.06); }
.feat.sic { border-top-color: var(--rosso); } .feat.for { border-top-color: var(--celeste); }
.feat .pg { position: absolute; right: -14px; top: -14px; width: 70px; height: 66px; background: var(--arancio); opacity: .18; }
.feat.sic .pg { background: var(--rosso); } .feat.for .pg { background: var(--celeste); }
.feat .tag, .emas-band .tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.feat h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.15; }
.feat p { color: #4a4540; font-size: .97rem; }
.feat .norms { font-family: var(--f-mono, monospace); font-size: .8rem; color: var(--arancio-txt); }
.emas-band { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: linear-gradient(120deg, #1f4f3a, #2c6e52); color: #eaf3ee; border-radius: 18px; padding: 28px 30px; margin-bottom: 26px; }
.emas-band h3 { color: #fff; font-size: 1.6rem; font-weight: 800; margin: 4px 0 8px; }
.emas-band p { color: #d5e7dd; font-size: .98rem; }
.emas-band .tag { color: #b9dcc8; }
.emas-mark { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; letter-spacing: .06em; color: #fff; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.7); box-shadow: inset 0 0 0 8px rgba(255,255,255,.12); }
.emas-band .btn { white-space: nowrap; }
@media (max-width: 980px) { .feat-sectors { grid-template-columns: 1fr; } .emas-band { grid-template-columns: 1fr; } .emas-mark { width: 90px; height: 90px; font-size: 1.6rem; } }
/* vantaggi per certificazione */
.vlink { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--rosso); text-decoration: none; margin-top: 4px; }
.vlink::after { content: "\2193"; }
.vlink:hover { text-decoration: underline; }
.vlink.sm { font-size: .76rem; margin-top: 6px; }
.vant { margin-top: 40px; display: grid; gap: 10px; }
.vant-head { margin-bottom: 8px; max-width: 780px; }
.vant-head h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.vant-head p { color: var(--muted); }
.vx { background: var(--paper); border: 1px solid var(--rule); border-left: 6px solid var(--arancio); border-radius: 12px; overflow: hidden; scroll-margin-top: 110px; }
.vx.sic { border-left-color: var(--rosso); } .vx.for { border-left-color: var(--celeste); }
.vx summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 16px 20px; }
.vx summary::-webkit-details-marker { display: none; }
.vx summary .pg { width: 14px; height: 13px; background: var(--arancio); }
.vx.sic summary .pg { background: var(--rosso); } .vx.for summary .pg { background: var(--celeste); }
.vx summary b { font-family: var(--f-display); font-size: 1.12rem; }
.vx .vs { color: var(--muted); font-size: .92rem; }
.vplus { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; transition: transform .25s; }
.vplus::before, .vplus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.vplus::after { transform: translate(-50%, -50%) rotate(90deg); }
.vx[open] .vplus { transform: rotate(45deg); }
.vx summary:hover b { color: var(--rosso); }
.vx-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 4px 22px 14px 46px; }
.vx-body h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--arancio-txt); margin-bottom: 8px; }
.vx.sic .vx-body h4 { color: var(--rosso); } .vx.for .vx-body h4 { color: #2e6f95; }
.vx-body ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .94rem; color: #3d3833; }
.vx-cta { display: inline-block; margin: 0 22px 18px 46px; font-weight: 600; font-size: .9rem; color: var(--rosso); }
.vant-misure { margin-top: 14px; background: var(--ink); color: #e9e2db; border-radius: 16px; padding: 24px 26px; }
.vant-misure h4 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.vant-misure ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .95rem; }
.vant-misure b { color: #fff; }
.vant-note { margin-top: 12px; font-size: .84rem; color: #bdb3aa; }
@media (max-width: 860px) { .vx-body { grid-template-columns: 1fr; padding-left: 22px; } .vx-cta { margin-left: 22px; } .vx summary { grid-template-columns: auto 1fr auto; } .vx .vs { grid-column: 2; } }
/* approfondimenti */
.vx-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 22px 12px 46px; }
.vx-more > span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-right: 4px; }
.ap-chip { font: inherit; font-size: .84rem; padding: 6px 12px 6px 30px; border-radius: 999px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; position: relative; transition: border-color .2s, transform .2s; }
.ap-chip::before { content: "i"; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--celeste); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; font-style: italic; }
.ap-chip:hover { border-color: var(--celeste); transform: translateY(-1px); }
.vx-more.dark { padding: 14px 0 0; }
.vx-more.dark > span { color: #bdb3aa; }
.ap-chip.dark { background: #3a332f; border-color: #4d4540; color: #f2ece6; }
.ap-dlg { width: min(640px, 92vw); border: 0; border-radius: 18px; padding: 30px 30px 24px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); border-top: 6px solid var(--celeste); }
.ap-dlg::backdrop { background: rgba(30,24,20,.55); backdrop-filter: blur(3px); }
.ap-dlg[open] { animation: apin .25s ease-out; }
@keyframes apin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ap-x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sheet); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.ap-kick { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #2e6f95; }
.ap-dlg h3 { font-size: 1.45rem; font-weight: 800; margin: 6px 40px 12px 0; }
.ap-body { display: grid; gap: 10px; color: #3d3833; }
.ap-src { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ap-src .btn { font-size: .9rem; padding: 10px 16px; }
.ap-note { margin-top: 12px; font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .vx-more { padding-left: 22px; } }

/* ---------- menù a tendina e viste per area ---------- */
.dd { position: relative; }
.dd-t { font: 500 .95rem var(--f-body); color: var(--ink); background: none; border: 0; padding: 10px 2px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; position: relative; }
.dd-t::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.dd.open .dd-t::after { transform: translateY(1px) rotate(-135deg); }
.dd-t::before { content: ""; position: absolute; left: 0; right: 14px; bottom: 2px; height: 3px; background: var(--arancio); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.dd:nth-child(3n+2) .dd-t::before { background: var(--rosso); }
.dd:nth-child(3n) .dd-t::before { background: var(--celeste); }
.dd.active .dd-t::before, .dd.open .dd-t::before, .dd-t:hover::before { transform: scaleX(1); }
.dd.active .dd-t { font-weight: 700; }
.dd-m { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 330px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 24px 60px rgba(40,30,20,.18); padding: 10px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.dd-m::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd.open .dd-m { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-head { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding: 8px 12px 6px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.dd-m a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); border-left: 3px solid transparent; }
.dd-m a b { font-size: .95rem; font-weight: 600; }
.dd-m a span { font-size: .82rem; color: var(--muted); }
.dd-m a:hover, .dd-m a:focus-visible { background: var(--sheet); border-left-color: var(--arancio); outline: none; }
.dd:nth-child(3n+2) .dd-m a:hover { border-left-color: var(--rosso); }
.dd:nth-child(3n) .dd-m a:hover { border-left-color: var(--celeste); }
/* barra dell'area */
.viewbar { position: sticky; top: 80px; z-index: 40; background: var(--sheet); border-bottom: 1px solid var(--rule); }
.viewbar[hidden] { display: none; }
.crumbs { display: flex; align-items: center; gap: 10px; min-height: 52px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font-size: .92rem; }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs .cr-home { color: var(--muted); text-decoration: none; }
.crumbs .cr-sep { color: var(--rule); }
.crumbs > b { font-family: var(--f-display); font-weight: 800; margin-right: 10px; }
.cr-tabs { display: inline-flex; gap: 6px; }
.cr-tabs a { text-decoration: none; color: var(--ink); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); transition: background .2s, color .2s; }
.cr-tabs a:hover { border-color: var(--arancio); }
.cr-tabs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
main [data-view][hidden] { display: none !important; }
main section, .vx, .chapter, .emas-band, .reach { scroll-margin-top: 150px; }
/* tessere della home */
.start { background: var(--paper); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; background: var(--sheet); border-radius: 16px; padding: 24px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--rule); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(40,30,20,.10); }
.tile .pg { position: absolute; right: -12px; top: -12px; width: 64px; height: 60px; background: var(--arancio); opacity: .25; }
.tile.t-cert .pg, .tile.t-pillole .pg { background: var(--rosso); }
.tile.t-form .pg, .tile.t-chi .pg { background: var(--celeste); }
.tile h3 { font-size: 1.35rem; font-weight: 800; }
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile h3 a::after { content: " \2192"; color: var(--rosso); }
.tile p { color: var(--muted); font-size: .95rem; }
.tile ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.tile li a { color: var(--ink); font-size: .92rem; text-decoration: none; border-bottom: 1px dashed var(--rule); }
.tile li a:hover { color: var(--rosso); border-bottom-color: var(--rosso); }
/* navigazione tra aree */
.next-area { border-top: 1px solid var(--rule); background: var(--sheet); }
.next-area .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding-top: 26px; padding-bottom: 26px; align-items: center; }
.na { display: grid; gap: 2px; text-decoration: none; color: var(--ink); padding: 14px 18px; border-radius: 14px; border: 1px solid var(--rule); background: var(--paper); }
.na span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.na b { font-family: var(--f-display); font-size: 1.1rem; }
.na.prev b::before { content: "\2190  "; }
.na.next { text-align: right; } .na.next b::after { content: "  \2192"; }
.na.mid { background: var(--rosso); border-color: var(--rosso); color: #fff; text-align: center; } .na.mid span { color: #ffd9cf; }
.na:hover { border-color: var(--ink); }
@media (max-width: 1040px) {
  .dd { border-bottom: 1px solid var(--rule); }
  .dd-t { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1rem; }
  .dd-t::before { display: none; }
  .dd-m { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 10px; display: none; opacity: 1; visibility: visible; background: transparent; }
  .dd.open .dd-m { display: grid; transform: none; }
  .dd-head { display: none; }
  .viewbar { top: 80px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .nav { max-height: calc(100vh - 80px); overflow-y: auto; }
}
@media (max-width: 1080px) and (min-width: 1041px) { .nav { gap: 12px; } .dd-t { font-size: .88rem; } .nav .social { display: none; } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } .next-area .wrap { grid-template-columns: 1fr; } .na.next { text-align: left; } }
@media (min-width: 1041px) {
  .dd-t { white-space: nowrap; }
  .brand div b { white-space: nowrap; }
  .nav { gap: 18px; }
}
@media (min-width: 1041px) and (max-width: 1320px) { .nav .social { display: none; } .nav { gap: 14px; } .dd-t { font-size: .9rem; gap: 5px; } .top .wrap { gap: 14px; } }
@media (min-width: 1041px) and (max-width: 1080px) { .brand div span { display: none; } .brand img { width: 46px; height: 48px; } .dd-t { font-size: .84rem; } .nav { gap: 10px; } .nav > a.btn { padding: 10px 14px; font-size: .85rem; } }

/* ---------- adattività su tutti i dispositivi ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.bot-fab { right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); }
.bot { height: min(600px, calc(100dvh - 40px)); }
/* barra dell'area: indica che si può scorrere */
.viewbar .wrap { position: relative; }
@media (max-width: 1040px) {
  .viewbar .wrap::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, transparent, var(--sheet)); pointer-events: none; }
  .crumbs { min-height: 48px; padding-right: 30px; }
}
@media (max-width: 640px) {
  .crumbs .cr-home, .crumbs .cr-sep { display: none; }
  .crumbs > b { font-size: .9rem; margin-right: 4px; }
  .cr-tabs a { padding: 8px 12px; font-size: .86rem; }
}
/* smartphone: assistente e approfondimenti a tutto schermo */
@media (max-width: 480px) {
  .bot { inset: 0; right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  .bot-fab { padding: 12px; } .bot-fab span:not(.pg) { display: none; }
  .ap-dlg { padding: 24px 20px 20px; }
  .vx summary { padding: 14px 14px; gap: 10px; }
  .vx-body, .vx-more { padding-left: 16px; padding-right: 16px; }
  .vx-cta { margin-left: 16px; }
}
.ap-dlg { max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; }
/* telefono in orizzontale e schermi bassi: intestazioni più compatte */
@media (max-height: 520px) and (orientation: landscape) {
  .top .wrap { height: 60px; }
  .brand img { width: 40px; height: 42px; }
  .brand div span { display: none; }
  .nav { top: 60px !important; max-height: calc(100dvh - 60px); }
  .viewbar { top: 60px; }
  .crumbs { min-height: 42px; }
  .bot { height: calc(100dvh - 20px); bottom: 10px; }
  main section, .vx, .chapter, .emas-band, .reach { scroll-margin-top: 110px; }
}
/* tablet: tessere e griglie più ariose */
@media (min-width: 641px) and (max-width: 1040px) {
  .feat-sectors { grid-template-columns: 1fr; }
  .reach { grid-template-columns: 1fr; }
}
/* schermi molto grandi */
@media (min-width: 1800px) { html { font-size: 17.5px; } }
@media (min-width: 2400px) { html { font-size: 19px; } }
/* dispositivi touch: niente effetti che restano "appesi" dopo il tocco */
@media (hover: none) {
  .tile:hover, .feat:hover, .link-card:hover, .pill:hover { transform: none; }
}
/* intestazione: logo e menù non si sovrappongono mai */
.top .wrap { max-width: max(var(--wrap), min(1560px, 94vw)); }
.brand { flex-shrink: 0; }
.nav { min-width: 0; }
/* modalità compatta: attivata dallo script quando le voci non entrano accanto al logo */
body.nav-compact .menu-btn { display: block; }
body.nav-compact .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; max-height: calc(100dvh - 80px); overflow-y: auto; }
body.nav-compact .nav.open { display: flex; }
body.nav-compact .nav .social { display: flex; padding-top: 12px; }
body.nav-compact .nav .btn { margin-top: 12px; justify-content: center; }
body.nav-compact .dd { border-bottom: 1px solid var(--rule); }
body.nav-compact .dd-t { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1rem; }
body.nav-compact .dd-t::before { display: none; }
body.nav-compact .dd-m { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 10px; display: none; opacity: 1; visibility: visible; background: transparent; }
body.nav-compact .dd.open .dd-m { display: grid; }
body.nav-compact .dd-head { display: none; }
.about .founder-t { font-size: 1.15rem; font-weight: 800; margin: 18px 0 2px; display: flex; align-items: center; gap: 10px; }
.about .founder-t::before { content: ""; width: 26px; height: 3px; background: linear-gradient(90deg, var(--arancio) 0 33%, var(--rosso) 33% 66%, var(--celeste) 66%); }

/* ---------- colori di passaggio e clic allineati all'area ---------- */
:root, body { --ac: #bc391d; --ac-dk: #962d16; --ac-t: #f4d5cb; --ac-txt: #a8321a; }
/* aree: arancio = Cosa facciamo, Settori · rosso = Certificazioni, Pillole · celeste = Formazione, Chi siamo */
body[data-current="cosa"], body[data-current="settori"],
.dd[data-dd="cosa"], .dd[data-dd="settori"], .tile.t-cosa, .tile.t-settori,
.org { --ac: #bf6b27; --ac-dk: #9a531a; --ac-t: #f5e1cd; --ac-txt: #9a531a; }
body[data-current="cert"], body[data-current="pillole"], body[data-page="pillole"], body[data-page="link"],
.dd[data-dd="cert"], .dd[data-dd="pillole"], .tile.t-cert, .tile.t-pillole,
.sic { --ac: #bc391d; --ac-dk: #962d16; --ac-t: #f4d5cb; --ac-txt: #a8321a; }
body[data-current="form"], body[data-current="chi"],
.dd[data-dd="form"], .dd[data-dd="chi"], .tile.t-form, .tile.t-chi,
.for { --ac: #4599c7; --ac-dk: #2c719a; --ac-t: #d6e9f4; --ac-txt: #2c719a; }

/* pulsanti pieni e a contorno */
.btn { transition: background .2s, box-shadow .2s, transform .15s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--ac-dk); color: #fff; }
.btn:active { background: var(--ac-dk); transform: translateY(0) scale(.97); }
.btn.ghost:hover, .btn.ghost:focus-visible, .btn.ghost:active { background: var(--ac-dk); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ac-dk); }
.btn.cel:hover { background: var(--ac-dk); }
:focus-visible { outline-color: var(--ac); }
/* barra dell'area */
.cr-tabs a { transition: background .2s, border-color .2s, color .2s; }
.cr-tabs a:hover { border-color: var(--ac); background: var(--ac-t); color: var(--ac-txt); }
.cr-tabs a[aria-current], .cr-tabs a:active { background: var(--ac-dk); border-color: var(--ac-dk); color: #fff; }
/* menù a tendina */
.dd-m a:hover, .dd-m a:focus-visible, .dd-m a:active { background: var(--ac-t); border-left-color: var(--ac); }
.dd-m a:hover b, .dd-m a:focus-visible b { color: var(--ac-txt); }
.dd .dd-t::before { background: var(--ac) !important; }
.dd-t:hover, .dd.open .dd-t { color: var(--ac-txt); }
/* tessere, schede, link */
.tile { transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { border-color: var(--ac); }
.tile h3 a:hover, .tile li a:hover { color: var(--ac-txt); border-bottom-color: var(--ac); }
.tile h3 a::after { color: var(--ac); }
.na:hover { border-color: var(--ac); background: var(--ac-t); }
.na.mid { background: var(--ac-dk); border-color: var(--ac-dk); }
.na.mid:hover { background: var(--ac); border-color: var(--ac); }
.na.mid span { color: rgba(255,255,255,.8); }
.chip:hover { border-color: var(--ac); background: var(--ac-t); }
.chip[aria-pressed="true"], .chip:active { background: var(--ac-dk); border-color: var(--ac-dk); color: #fff; }
.code-link:hover, .code-link:active { background: var(--ac-dk); border-color: var(--ac-dk); color: #fff; }
.ap-chip:hover, .ap-chip:focus-visible { border-color: var(--ac); background: var(--ac-t); }
.ap-chip:active { background: var(--ac-dk); border-color: var(--ac-dk); color: #fff; }
.ap-chip::before { background: var(--ac); }
.ap-chip.dark:hover { background: var(--ac-dk); border-color: var(--ac); color: #fff; }
.vlink { color: var(--ac-txt); }
.vlink:hover, .vlink:active { color: var(--ac-dk); }
.vx summary:hover b { color: var(--ac-txt); }
.vx summary:hover .vplus { border-color: var(--ac); background: var(--ac-t); }
.vx-cta { color: var(--ac-txt); }
.pill:hover { border-color: var(--ac); }
.link-card:hover { border-color: var(--ac); }
.link-card:hover h3 { color: var(--ac-txt); }
.feat:hover { box-shadow: 0 14px 34px rgba(40,30,20,.12); }
.bot-fab:hover, .bot-fab:active { background: var(--ac-dk); }
