/* Poletti Industries – stile del sito */

:root {
  --ink: #0a0d11;
  --ink-2: #11171e;
  --ink-3: #1a222b;
  --line-dark: #2a3541;
  --on-dark: #e9edf1;
  --on-dark-muted: #9aa6b2;
  --paper: #ffffff;
  --paper-2: #f3f4f6;
  --line: #dde1e6;
  --text: #12161b;
  --muted: #5b6672;
  --acc: #ffcc00;
  --acc-hover: #ffd83d;
  --data: #5ec8ff;
  --ok: #4fd18b;
  --danger: #c62828;
  --header-h: 72px;
  --wrap: 1200px;
  --radius: 6px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #000; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--acc); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow a { text-decoration: none; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); }
.h3 { font-size: clamp(21px, 2vw, 26px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 62ch; }
.label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 1.5em; }

/* ---------- Pulsanti e link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-accent { background: var(--acc); color: var(--ink); }
.btn-accent:hover { background: var(--acc-hover); color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn small { font-weight: 400; opacity: .7; }
.btn:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header sempre visibile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(10, 13, 17, .82); color: var(--on-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .25s;
}
.site-header.is-scrolled { background: rgba(10, 13, 17, .94); }
.header-inner { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; }
.brand img { height: 52px; width: auto; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav ul a { display: block; padding: 8px 10px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--on-dark-muted); border-radius: 4px; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: #fff; }
.main-nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--acc); border-radius: 0; }
.nav-extra { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 14px; font-weight: 600; color: var(--on-dark-muted); text-decoration: none; }
.lang:hover { color: #fff; }
.lang-mobile, .nav-toggle { display: none; }
main { padding-top: var(--header-h); }
.page-home main { padding-top: 0; }

@media (max-width: 1399px) {
  :root { --header-h: 62px; }
  /* la sfocatura renderebbe il menu a tutto schermo prigioniero della barra */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 13, 17, .97); }
  .brand img { height: 42px; }
  .lang-mobile { display: block; margin-left: auto; padding: 8px; }
  .nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); padding: 24px;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    transform: translateX(100%); transition: transform .3s; overflow-y: auto; visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
  .main-nav ul a[aria-current="page"] { box-shadow: none; color: var(--acc); }
  .nav-extra { flex-direction: column; align-items: stretch; }
  .nav-extra .lang { display: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-center { align-items: center; }
.split-form { grid-template-columns: 1fr 1.6fr; }
@media (max-width: 900px) { .split, .split-form { grid-template-columns: 1fr; } }

.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

.page-head { position: relative; background: var(--ink); color: var(--on-dark); padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-head h1 { font-size: clamp(36px, 5.4vw, 68px); max-width: 18ch; }
.page-head .lead { color: var(--on-dark-muted); }
.page-head .eyebrow { color: var(--acc); }
.page-head .meta { color: var(--on-dark-muted); }
.page-head-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-head.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,13,17,.95) 0%, rgba(10,13,17,.6) 60%, rgba(10,13,17,.3) 100%); }
.page-head .wrap { position: relative; z-index: 1; }

.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--text); transform: translateY(-2px); color: inherit; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); margin: 0; }
.card.plain { background: transparent; border: 0; border-top: 2px solid var(--text); border-radius: 0; padding: 24px 0 0; }
.cap-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }

/* ---------- Home: workflow ---------- */
.workflow { position: relative; background: var(--ink); color: var(--on-dark); }
.js .workflow { height: calc(var(--wf-n, 9) * 105vh + 115vh); height: calc(var(--wf-n, 9) * 105svh + 115svh); }
.wf-sticky { position: relative; }
.js .wf-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.wf-stage { position: absolute; inset: 0; }
.wf-svg { width: 100%; height: 100%; }
.wf-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,13,17,.55) 0%, rgba(10,13,17,0) 22%, rgba(10,13,17,0) 62%, rgba(10,13,17,.85) 100%); }
.wf-hero {
  position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--header-h) + 6vh);
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
}
.wf-hero::before { content: ""; position: absolute; inset: -40px -200px -60px -40px; background: radial-gradient(ellipse at 20% 40%, rgba(10,13,17,.92) 0%, rgba(10,13,17,.75) 45%, rgba(10,13,17,0) 72%); z-index: -1; pointer-events: none; }
.wf-hero h1 { font-size: clamp(36px, 4.6vw, 66px); max-width: 15ch; color: #fff; }
.wf-hero .eyebrow { color: var(--acc); }
.wf-hero .lead { color: var(--on-dark-muted); max-width: 52ch; margin-bottom: 28px; }
.wf-hint { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 14px; color: var(--on-dark-muted); }
.mouse { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 7px; margin-left: -1px; background: var(--acc); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

.wf-panels { position: absolute; z-index: 2; left: max(24px, calc((100vw - 1400px) / 2 + 24px)); bottom: 120px; width: min(440px, calc(100% - 48px)); }
.wf-panel { position: absolute; left: 0; bottom: 0; width: 100%; padding: 24px 26px; background: rgba(10,13,17,.86); border: 1px solid var(--line-dark); border-left: 3px solid var(--acc); border-radius: var(--radius); opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s; pointer-events: none; }
.wf-panel.is-active { opacity: 1; transform: none; }
.wf-panel h2 { font-size: clamp(22px, 2.2vw, 30px); color: #fff; margin-bottom: .35em; }
.wf-panel p { color: var(--on-dark-muted); margin: 0; font-size: 16px; }
.wf-num { font-size: 13px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc) !important; margin-bottom: 8px !important; }
.wf-num span { color: var(--on-dark-muted); font-weight: 500; }

.wf-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 24px 28px; max-width: 1400px; margin: 0 auto; }
.wf-progress-track { height: 2px; background: var(--line-dark); margin-bottom: 14px; }
.wf-progress-fill { height: 100%; background: var(--acc); transform-origin: left; transform: scaleX(0); }
.wf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--wf-n, 9), 1fr); gap: 6px; }
.wf-step { width: 100%; background: none; border: 0; padding: 4px 0; color: var(--on-dark-muted); text-align: left; cursor: pointer; font-size: 12px; line-height: 1.3; display: flex; gap: 8px; align-items: flex-start; }
.wf-step::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 3px; border-radius: 50%; border: 1.5px solid currentColor; }
.wf-step.is-done::before { background: var(--on-dark-muted); }
.wf-step.is-active { color: #fff; }
.wf-step.is-active::before { background: var(--acc); border-color: var(--acc); }
.wf-step:hover { color: #fff; }

/* Senza JavaScript: scena ferma e fasi elencate */
html:not(.js) .wf-sticky { min-height: 100vh; }
html:not(.js) .wf-panels { position: relative; left: auto; bottom: auto; width: auto; padding: 0 24px 140px; display: grid; gap: 12px; max-width: 1400px; margin: 0 auto; top: 80vh; }
html:not(.js) .wf-panel { position: relative; opacity: 1; transform: none; }

/* Elementi della scena SVG */
.wf-svg .ln { stroke: #8796a6; stroke-width: 2; fill: none; }
.wf-svg .lnd { stroke: #2c3844; stroke-width: 2; fill: none; }
.wf-svg .thin { stroke-width: 1.4; }
.wf-svg .thick { stroke-width: 6; stroke-linecap: round; }
.wf-svg .f1 { fill: #121921; }
.wf-svg .f2 { fill: #1a232d; }
.wf-svg .f3 { fill: #26313d; }
.wf-svg .ln.f1 { fill: #121921; }
.wf-svg .ln.f2 { fill: #1a232d; }
.wf-svg .ln.f3 { fill: #26313d; }
.wf-svg .acc { fill: var(--acc); }
.wf-svg .accl { stroke: var(--acc); stroke-width: 3; fill: none; stroke-linecap: round; }
.wf-svg .bar-ends circle { fill: #b8c4cf; }
.wf-svg .raw { fill: #9aa7b4; }
.wf-svg .part { fill: #c9d4de; stroke: #e9eef3; stroke-width: 1.5; }
.wf-svg .robot { fill: var(--acc); stroke: #0a0d11; stroke-width: 2; }
.wf-svg .granite { fill: #2a2f36; stroke: #4a5562; stroke-width: 2; }
.wf-svg .probe { fill: var(--data); }
.wf-svg .pt { fill: var(--ok); opacity: 0; }
.wf-svg .scan { stroke: var(--data); stroke-width: 3; stroke-dasharray: 1; fill: none; filter: drop-shadow(0 0 6px var(--data)); }
.wf-svg .card { fill: rgba(17, 24, 31, .92); stroke: #33414f; stroke-width: 1.5; }
.wf-svg .gantt { fill: #3a4a5a; }
.wf-svg .chip { stroke: var(--acc); stroke-width: 3; stroke-linecap: round; }
.wf-svg .box { fill: #b48a52; stroke: #7d5d33; stroke-width: 2; }
.wf-svg .box-flap { stroke: #b48a52; stroke-width: 10; stroke-linecap: round; }
.wf-svg .paper { fill: #eef2f5; }
.wf-svg .paper-ln { stroke: #b6c0ca; stroke-width: 3; }
.wf-svg .ok-check { stroke: var(--ok); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wf-svg .ok-check.thin { stroke-width: 3; }
.wf-svg .ok-dot { fill: var(--ok); }
.wf-svg text { font-family: var(--font); }
.wf-svg .svg-sign { font-size: 34px; font-weight: 800; letter-spacing: .18em; fill: #e9edf1; }
.wf-svg .svg-brand { font-size: 26px; font-weight: 800; letter-spacing: .12em; fill: #e9edf1; }
.wf-svg .svg-small { font-size: 15px; fill: #8796a6; letter-spacing: .04em; }
.wf-svg .svg-label { font-size: 17px; font-weight: 700; fill: var(--acc); letter-spacing: .06em; }
.wf-svg .svg-data { font-size: 18px; fill: #d5dde5; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.wf-svg .svg-ok { font-size: 22px; font-weight: 700; fill: var(--ok); }
.wf-svg .svg-on-acc { font-size: 15px; font-weight: 700; fill: #0a0d11; }
.wf-svg .svg-paper { font-size: 15px; font-weight: 700; fill: #12161b; }

@media (max-width: 899px), (max-aspect-ratio: 21/20) {
  .wf-stage { top: calc(var(--header-h) + 8px); bottom: auto; height: 46svh; }
  .wf-shade { background: linear-gradient(180deg, rgba(10,13,17,0) 70%, rgba(10,13,17,1) 100%); }
  .wf-hero { top: auto; bottom: 22svh; }
  .wf-hero::before { inset: -40px -24px -40px -24px; background: linear-gradient(180deg, rgba(10,13,17,0) 0%, rgba(10,13,17,.95) 30%); }
  .wf-hero h1 { font-size: clamp(32px, 9vw, 46px); }
  .wf-hero .lead { font-size: 16px; }
  .wf-hint { display: none; }
  .wf-panels { left: 16px; right: 16px; width: auto; bottom: 84px; }
  .wf-panel { padding: 18px 20px; }
  .wf-panel p { font-size: 15px; }
  .wf-progress { padding: 0 16px 20px; }
  .wf-step { justify-content: center; }
  .wf-step-label { display: none; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .wf-hero .lead { display: none; }
}

/* ---------- Home: sezioni dopo il workflow ---------- */
.about .split { margin-bottom: 64px; }
.about .h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.3; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; border-top: 1px solid var(--line); padding-top: 40px; }
.facts div { margin: 0; }
.facts dt { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.sectors-band { background: var(--ink); color: var(--on-dark); }
.sectors-band .card { background: var(--ink-2); border-color: var(--line-dark); color: var(--on-dark); padding: 0; overflow: hidden; }
.sectors-band .card:hover { border-color: var(--acc); color: var(--on-dark); }
.sectors-band .card p { color: var(--on-dark-muted); padding: 0 24px 24px; }
.sectors-band .card h3 { padding: 20px 24px 0; }
.sector-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.sectors-band .link-arrow { color: var(--acc); }

.cert-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cert-list a, .cert-static { display: flex; flex-direction: column; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.cert-list a:hover { border-color: var(--text); }
.cert-list strong { font-size: 24px; }
.cert-list span span, .cert-list a span { color: var(--muted); }

.cta-band { background: var(--acc); color: var(--ink); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .lead { color: rgba(10,13,17,.75); margin: 0; }
.cta-band .btn-accent { background: var(--ink); color: #fff; }
.cta-band .btn-accent:hover { background: var(--ink-3); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(0,0,0,.06); color: var(--ink); }

/* ---------- Pagine interne ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 48px 32px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); border: 2px solid var(--ink); }
.tl-year { font-weight: 700; font-size: 20px; }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.capabilities { display: grid; gap: clamp(56px, 8vw, 112px); }
.capability { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.capability.reverse .photo { order: 2; }
.capability .value { font-weight: 600; border-left: 3px solid var(--acc); padding-left: 14px; }
.capability-text p { color: var(--muted); }
.capability-text .value { color: var(--text); }
@media (max-width: 900px) { .capability { grid-template-columns: 1fr; } .capability.reverse .photo { order: 0; } }

.sector { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.sector:first-child { padding-top: 0; }
.sector:last-child { border-bottom: 0; }
.sector img { width: 100%; border-radius: var(--radius); background: var(--ink); }
@media (max-width: 900px) { .sector { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }

.cert-docs { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.cert-docs li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); flex-wrap: wrap; }
.cert-docs li > div { display: flex; flex-direction: column; }
.cert-std { font-size: 22px; }

.filters { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filters a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: 15px; }
.filters a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.article-card { padding: 0; overflow: hidden; }
.article-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: var(--ink); }
.article-card .meta, .article-card h2, .article-card > p { padding: 0 24px; }
.article-card .meta { padding-top: 20px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.article-card > p:last-child { padding-bottom: 24px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.jobs { display: grid; gap: 12px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); }
.job summary { cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job summary::after { content: "+"; font-size: 24px; line-height: 1; }
.job[open] summary::after { content: "–"; }
.job-title { font-weight: 700; font-size: 19px; flex: 1; }
.job-meta { color: var(--muted); }
.job-body { padding: 0 24px 24px; }

.pdf-frame { width: 100%; height: 80vh; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Moduli ---------- */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; }
.form label > span:first-child { font-size: 14px; font-weight: 600; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=date], .form input[type=number], .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c4cbd3; border-radius: var(--radius); background: #fff; font: inherit; font-size: 16px; color: var(--text);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 204, 0, .5); }
.form.was-validated :invalid { border-color: var(--danger); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.form .check span { font-weight: 400 !important; color: var(--muted); }
.form button[type=submit] { justify-self: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } .form button[type=submit] { justify-self: stretch; } }
.file-drop input[type=file] { padding: 18px; border: 2px dashed #c4cbd3; border-radius: var(--radius); background: var(--paper-2); width: 100%; font-size: 15px; cursor: pointer; }
.file-list { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.file-list .bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--radius); background: var(--paper-2); border-left: 4px solid var(--muted); }
.notice-ok { background: #e8f7ee; border-color: #1f8a4c; }
.notice-error { background: #fdecec; border-color: var(--danger); }
.form-aside .ticks { margin-bottom: 32px; }
.contact-block { margin-bottom: 24px; line-height: 1.8; }
.quote-hint { margin-top: 24px; }

.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2) linear-gradient(135deg, transparent 49.5%, var(--line) 49.5%, var(--line) 50.5%, transparent 50.5%) 0 0 / 28px 28px; border: 1px solid var(--line); }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px; background: rgba(243, 244, 246, .94); font-size: 15px; color: var(--muted); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 24px; font-size: 15px; }
.site-footer a, .site-footer .linklike { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--acc); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 56px; width: auto; margin-bottom: 16px; }
.footer-h { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .muted { color: var(--on-dark-muted); }
.cert-badges { display: flex; gap: 8px; }
.cert-badges span { border: 1px solid var(--line-dark); color: var(--on-dark); padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 20px; font-size: 14px; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Banner cookie ---------- */
.cookie-banner {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto;
  background: #fff; color: var(--text); border-radius: 10px; padding: 20px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.35);
  display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; font-size: 15px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; color: var(--muted); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn-ghost { color: var(--text); }
.cookie-banner .btn-ghost:hover { background: var(--paper-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Su schermo largo: lato sinistro più scuro, dove stanno frase iniziale e testo delle fasi */
@media (min-width: 900px) and (min-aspect-ratio: 21/20) {
  .wf-shade { background:
    linear-gradient(90deg, rgba(10,13,17,.92) 0%, rgba(10,13,17,.7) 24%, rgba(10,13,17,0) 40%),
    linear-gradient(180deg, rgba(10,13,17,.5) 0%, rgba(10,13,17,0) 20%, rgba(10,13,17,0) 70%, rgba(10,13,17,.85) 100%); }
}

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }
.section-alt .capabilities { margin-top: 48px; }

/* Badge sotto la frase iniziale */
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.hero-badges span { border: 1px solid rgba(255,255,255,.25); color: var(--on-dark); padding: 5px 12px; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }

/* Perché Poletti */
.why { background: var(--paper); }
.why-head { max-width: 760px; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item { border-top: 3px solid var(--acc); padding-top: 20px; }
.why-item h3 { font-size: 20px; margin: 8px 0 10px; }
.why-item p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Synapsix: sinapsi animate dietro al testo (synapses.js) e il flusso del processo */
.synapsix { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); }
.syn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.synapsix::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(10, 13, 17, .85), rgba(10, 13, 17, .35) 60%, transparent 85%); pointer-events: none; }
.synapsix .wrap { position: relative; }
.synapsix .eyebrow { color: var(--acc); }
.synapsix .lead { color: var(--on-dark); opacity: .85; }
.syn-head { max-width: 760px; margin-bottom: 56px; }
.syn-steps-title { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 20px; }
.syn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.syn-steps li { background: rgba(17, 23, 30, .82); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px 22px 22px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: border-color .3s; }
.syn-steps li:hover { border-color: rgba(255, 204, 0, .6); }
.syn-dot { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--acc); box-shadow: 0 0 0 4px rgba(255, 204, 0, .15), 0 0 18px rgba(255, 204, 0, .45); }
.syn-steps h4 { font-size: 18px; margin: 14px 0 6px; color: #fff; }
.syn-steps p { margin: 0; font-size: 15px; color: var(--on-dark-muted); }
.syn-note { margin: 40px 0 0; font-size: 20px; font-weight: 600; color: var(--acc); }
@media (max-width: 1000px) { .syn-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .syn-steps { grid-template-columns: 1fr; }
  .synapsix::before { background: rgba(10, 13, 17, .45); }
  .syn-note { font-size: 18px; }
}
.about { background: var(--paper-2); }
.facts-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .facts-5 { grid-template-columns: 1fr 1fr; } }

/* Dal disegno al pezzo */
.process-band { background: var(--ink); color: var(--on-dark); }
.process-band .lead { color: var(--on-dark-muted); }
.process { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.process li { position: relative; padding: 28px 24px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.process li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 34px; color: var(--acc); font-size: 20px; }
.process-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--acc); color: var(--ink); font-weight: 800; margin-bottom: 14px; }
.process h3 { font-size: 20px; color: #fff; }
.process p { color: var(--on-dark-muted); margin: 0; font-size: 16px; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } .process li::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Fasi con video vero */
.wf-video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.workflow.has-video .wf-shade { background: radial-gradient(ellipse at 60% 45%, rgba(10,13,17,0) 40%, rgba(10,13,17,.55) 100%), linear-gradient(180deg, rgba(10,13,17,.45) 0%, rgba(10,13,17,0) 25%, rgba(10,13,17,0) 65%, rgba(10,13,17,.8) 100%); }

/* Apertura del sito: schermo nero con logo che batte e sinapsi (intro.js) */
.intro { display: none; }
.intro-on .intro { display: flex; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; background: #05070a; cursor: pointer; transition: opacity .6s ease, visibility .6s; }
.intro-on body { overflow: hidden; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro img { position: relative; width: min(420px, 72vw); height: auto; filter: drop-shadow(0 0 24px rgba(255, 204, 0, .25)); animation: introIn .5s ease-out both; }
.intro img.beat { animation: introBeat .7s ease-out; }
.intro-out .intro { opacity: 0; visibility: hidden; }
@keyframes introIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes introBeat { 0% { transform: scale(1); } 14% { transform: scale(1.07); } 28% { transform: scale(.99); } 42% { transform: scale(1.04); } 100% { transform: scale(1); } }

/* 40 anni accanto al logo e bandierine della lingua */
.anniv { flex: none; display: inline-flex; align-items: center; gap: 7px; margin-left: -8px; padding: 4px 10px 4px 8px; border-left: 1px solid rgba(255, 204, 0, .45); color: var(--on-dark-muted); font-size: 11px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.anniv b { font-size: 26px; line-height: 1; font-weight: 800; color: var(--acc); letter-spacing: -.02em; }
.flag { display: inline-block; width: 22px; height: 14px; margin-right: 7px; vertical-align: -2px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.lang { display: inline-flex; align-items: center; }
.lang.lang-mobile { display: none; }
.main-nav ul a, .nav-extra .btn { white-space: nowrap; }
@media (max-width: 1399px) { .lang.lang-mobile { display: inline-flex; } }
@media (max-width: 1399px) { .anniv { margin-left: 0; padding: 2px 8px; font-size: 10px; } .anniv b { font-size: 22px; } }
@media (max-width: 420px) { .anniv span { display: none; } .anniv { padding: 2px 6px; } }

/* Settori in home: griglia compatta, solo illustrazione e nome */
.sector-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector-grid .sector-card h3 { font-size: 17px; padding: 14px 18px 16px; margin: 0; }
@media (max-width: 900px) { .sector-grid { grid-template-columns: 1fr 1fr; } }

/* Foto nelle posizioni aperte */
.job-body.has-photo { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: start; }
.job-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.job-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 700px) { .job-body.has-photo { grid-template-columns: 1fr; gap: 16px; } }
.footer-company { text-transform: none; letter-spacing: .02em; font-size: 15px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 15px; height: 15px; color: var(--acc); }
.nav-phone:hover { color: var(--acc); }
.flag { flex: none; max-width: none; }
@media (max-width: 420px) { .brand img { height: 34px; } .header-inner { gap: 10px; padding: 0 12px; } .lang.lang-mobile { padding: 6px 4px; } }

/* Home: foto del reparto dietro al titolo iniziale (sfuma quando parte il workflow) */
.wf-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; pointer-events: none; }
@media (max-width: 899px) { .wf-cover { object-position: 70% 50%; } }

/* Home: la foto del reparto si vede intera (grandangolo), le scritte restano a sinistra */
@media (min-width: 900px) and (min-aspect-ratio: 13/10) {
  .wf-cover { object-fit: cover; object-position: 50% 100%; top: auto; bottom: 0; height: auto; aspect-ratio: 1536 / 688; min-height: 72%; }
  .workflow:not(.is-started) .wf-hero::before { background: linear-gradient(90deg, rgba(10,13,17,.88) 0%, rgba(10,13,17,.6) 32%, rgba(10,13,17,0) 58%); inset: -40px -40vw -60px -40px; }
  .workflow:not(.is-started) .wf-shade { background: linear-gradient(180deg, rgba(10,13,17,.7) 0%, rgba(10,13,17,0) 18%, rgba(10,13,17,0) 70%, rgba(10,13,17,.6) 100%); }
}

/* Workflow stilizzato a 14 fasi: elementi aggiuntivi */
.wf-svg .draw-ln { stroke: #2a3440; stroke-width: 2; fill: none; }
.wf-svg .draw-dim { stroke: #5b6672; stroke-width: 1.5; fill: none; }
.wf-svg .svg-paper-s { font-size: 13px; fill: #12161b; font-family: ui-monospace, Consolas, monospace; }
.wf-svg .pill-ok { fill: rgba(79, 209, 139, .14); stroke: var(--ok); stroke-width: 2; }
.wf-svg .svg-pill { font-size: 17px; font-weight: 700; fill: var(--ok); }
.wf-svg .pill-acc { fill: rgba(255, 204, 0, .12); stroke: var(--acc); stroke-width: 2; }
.wf-svg .svg-pill-acc { font-size: 17px; font-weight: 700; fill: var(--acc); }
.wf-svg .node { fill: #1a232d; stroke: #3a4a5a; stroke-width: 1.5; }
.wf-svg .acc-node { fill: var(--acc); stroke: var(--acc); }
.wf-svg .svg-data-s { font-size: 15px; fill: #d5dde5; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.wf-svg .svg-ok-s { font-size: 16px; font-weight: 700; fill: var(--ok); }
.wf-svg .svg-on-acc-s { font-size: 12px; font-weight: 700; fill: #0a0d11; }
.wf-svg .svg-machine { font-size: 22px; font-weight: 800; letter-spacing: .06em; fill: #e9edf1; }
.wf-svg .dash-ln { stroke: var(--acc); stroke-width: 2.5; fill: none; stroke-dasharray: 1; }
.wf-svg .shutter { fill: #2a3542; }
.wf-svg .qr { stroke: #0a0d11; stroke-width: 3; fill: none; }
.wf-svg .now { stroke: var(--acc); stroke-width: 2.5; stroke-dasharray: 6 5; }
.wf-svg .feeder { fill: #1d252e; stroke: #4a5866; stroke-width: 2; }
.wf-svg .bar-long { fill: #aab6c2; stroke: #d9e1e8; stroke-width: 1; }
.wf-svg .bar-long.hot { fill: #c9d4de; }
.wf-svg .stack-g { fill: var(--ok); }
.wf-svg .probe-hit { fill: none; stroke: var(--data); stroke-width: 2; opacity: 0; }
.wf-svg .coolant { stroke: #5ec8ff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 8 10; opacity: .7; fill: none; }
.wf-svg .glass-sheen { fill: url(#wfGlass); opacity: .18; pointer-events: none; }
.wf-svg .glass-door { fill: #1d2a36; stroke: #4a5866; stroke-width: 2; opacity: .9; }
.wf-svg .stamp { fill: none; stroke: #2f7de1; stroke-width: 3; }
.wf-svg .folder { fill: rgba(17, 24, 31, .92); stroke: var(--acc); stroke-width: 2; }
.wf-svg .mark { stroke: #12161b; stroke-width: 3; stroke-dasharray: 1; }
.wf-svg .laser { stroke: #ff5a4d; stroke-width: 3; filter: drop-shadow(0 0 6px #ff5a4d); }
.wf-svg .bubble { fill: none; stroke: #5ec8ff; stroke-width: 2; }
.wf-svg .foam { fill: #3d4752; }
.wf-svg .foam-cut { fill: #262e37; }

/* Rifinitura: materiali sfumati, luci e dettagli */
.wf-svg .f1, .wf-svg .ln.f1 { fill: url(#gF1); }
.wf-svg .f2, .wf-svg .ln.f2 { fill: url(#gF2); }
.wf-svg .f3, .wf-svg .ln.f3 { fill: url(#gF3); }
.wf-svg .ln { stroke: #7f8e9d; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.wf-svg .robot { fill: url(#gRobot); stroke: #5c4700; stroke-width: 1.5; }
.wf-svg .part { fill: url(#gMetal); stroke: #f4f7fa; stroke-width: 1.2; }
.wf-svg .raw, .wf-svg .bar-long { fill: url(#gMetal); opacity: .85; }
.wf-svg .bar-long.hot { opacity: 1; }
.wf-svg .feeder { fill: url(#gF2); stroke: #56667a; }
.wf-svg .channel { fill: #0a0f14; stroke: #2c3844; stroke-width: 1.5; }
.wf-svg .ceil-led { fill: #dfeaf5; opacity: .5; }
.wf-svg .card { fill: rgba(17, 24, 31, .94); stroke: #3a4a5a; }
.wf-svg .paper { fill: #f3f6f8; stroke: #d5dce3; stroke-width: 1; }
.wf-svg .box { fill: #c09460; stroke: #8a6537; }
.wf-svg .gantt { fill: #34485c; }
.wf-svg .acc { filter: none; }
.wf-svg .tape { fill: #d8b27c; opacity: .8; }
.wf-svg .rail { stroke: #3a4a5a; stroke-width: 6; stroke-linecap: round; }
.wf-svg .jaw { fill: url(#gMetal); stroke: #5a6876; stroke-width: 1; }
.process.process-6 { grid-template-columns: repeat(3, 1fr); } .process.process-6 li:nth-child(3n)::after { display: none; } @media (max-width: 1000px) { .process.process-6 { grid-template-columns: 1fr 1fr; } }

/* Fascia in home: progetto agevolato (trasparenza) */
.fesr-band { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.fesr-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 36px; padding-bottom: 36px; }
.fesr-inner .eyebrow { color: var(--acc); }
.fesr-inner h2 { color: #fff; margin-bottom: 6px; }
.fesr-inner p:last-child { color: var(--on-dark-muted); margin: 0; max-width: 70ch; }
.fesr-band .btn-ghost { flex: none; }
.fesr-facts { grid-template-columns: repeat(3, 1fr); margin-bottom: 40px; border-top: 0; padding-top: 0; }
@media (max-width: 760px) { .fesr-inner { flex-direction: column; align-items: flex-start; } .fesr-facts { grid-template-columns: 1fr; } }
.poster { margin: 0 auto; max-width: 860px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(10, 13, 17, .18); border: 1px solid var(--line); }
.poster img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }

/* Il pezzo in alluminio (sempre uguale in tutta la scena) e il disegno tecnico */
.wf-svg .metal { fill: url(#gMetal); stroke: #6f7d8a; stroke-width: 1; }
.wf-svg .metal-end { fill: #dde5ec; stroke: #7d8b98; stroke-width: 1; }
.wf-svg .metal-dark { fill: #8d9aa7; }
.wf-svg .metal-hl { stroke: #ffffff; stroke-width: 2; opacity: .6; stroke-linecap: round; }
.wf-svg .hole { fill: #3a4754; }
.wf-svg .raw-bar { stroke: #8a97a4; }
.wf-svg .mark-small { stroke: #3a4754; stroke-width: 1.6; }
.wf-svg .draw-ln { stroke: #1e2731; stroke-width: 1.8; fill: none; stroke-linejoin: round; }
.wf-svg .draw-thin { stroke: #3a4652; stroke-width: 1; fill: none; }
.wf-svg .draw-axis { stroke: #c0392b; stroke-width: 1; stroke-dasharray: 12 3 2 3; }
.wf-svg .draw-dim { stroke: #2f6fb3; stroke-width: 1; fill: none; }
.wf-svg .dim-txt { font-size: 10px; fill: #2f6fb3; font-family: ui-monospace, Consolas, monospace; }
.wf-svg .tb { fill: none; stroke: #1e2731; stroke-width: 1; }
.wf-svg .tb-txt { font-size: 9px; fill: #1e2731; font-family: var(--font); }
.wf-svg .tb-brand { font-size: 11px; font-weight: 800; fill: #0a0d11; letter-spacing: .08em; }
.wf-svg .sheet-title { font-size: 11px; font-weight: 700; fill: #0a0d11; letter-spacing: .06em; }
.wf-svg .spin { stroke: #4a5866; stroke-width: 3; }
.wf-svg .laser-thin { stroke: #ff5a4d; stroke-width: 2; filter: drop-shadow(0 0 4px #ff5a4d); opacity: 0; }
.wf-svg .engrave { font-size: 19px; font-weight: 800; letter-spacing: .1em; fill: #3a4754; font-family: var(--font); }
.wf-svg .engrave-s { font-size: 15px; font-weight: 700; letter-spacing: .06em; fill: #3a4754; font-family: ui-monospace, Consolas, monospace; }
.wf-svg .lens { fill: none; stroke: var(--acc); stroke-width: 3; }
.wf-svg .cover { stroke: none; }
.wf-svg .drops { stroke: #5ec8ff; stroke-width: 2; stroke-linecap: round; opacity: .85; }
.wf-svg .gb1 { fill: #2f6fb3; } .wf-svg .gb2 { fill: #2a9d8f; } .wf-svg .gb3 { fill: #7a5bc4; } .wf-svg .gb4 { fill: #4b5c6e; }

/*
 * Testata: logo, certificazioni e produzione H24 a sinistra, grandi come il menu, tutto su una riga.
 * Sotto i 1400 px il menu passa nel pulsante ☰; sul cellulare le certificazioni vanno in una fascia sotto il logo.
 */
.hdr-creds { flex: none; display: flex; align-items: center; text-decoration: none; color: #fff; font-weight: 700; white-space: nowrap; letter-spacing: .01em; font-size: 16px; padding-left: 22px; margin-left: -4px; border-left: 1px solid rgba(255, 255, 255, .2); }
.hdr-creds > span { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .2); line-height: 1.2; }
.hdr-creds > span:first-child { padding-left: 0; border-left: 0; }
.hdr-creds .h24 { color: var(--acc); }
.hdr-creds .h24 .short { display: none; }
.hdr-creds:hover > span:not(.h24) { color: var(--acc); }
@media (min-width: 1400px) {
  .header-inner { max-width: none; gap: 20px; padding: 0 32px; }
  .main-nav { gap: 16px; }
  .main-nav ul { gap: 0; margin: 0 auto; }
  .main-nav ul a { padding: 8px 8px; }
  .nav-extra { gap: 14px; }
}
@media (min-width: 1400px) and (max-width: 1999px) { .anniv { display: none; } }
@media (min-width: 1400px) and (max-width: 1859px) { .nav-phone { display: none; } }
@media (min-width: 1400px) and (max-width: 1699px) { .lang { font-size: 0; } .lang .flag { margin-right: 0; } .hdr-creds .h24 .long { display: none; } .hdr-creds .h24 .short { display: inline; } }
@media (min-width: 1400px) and (max-width: 1539px) { .header-inner { gap: 14px; padding: 0 16px; } .hdr-creds { font-size: 15px; padding-left: 16px; } .hdr-creds > span { padding: 0 10px; } .main-nav ul a { padding: 8px 6px; font-size: 14px; } .nav-extra .btn { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 1399px) {
  .anniv { display: none; }
  .lang-mobile { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 96px; }
  .header-inner { display: grid; grid-template-columns: auto 1fr auto auto; grid-template-rows: 62px 34px; column-gap: 12px; align-items: center; }
  .brand { grid-area: 1 / 1; }
  .lang-mobile { grid-area: 1 / 3; }
  .nav-toggle { grid-area: 1 / 4; }
  .hdr-creds { grid-area: 2 / 1 / 3 / -1; align-self: stretch; justify-content: center; font-size: 13px; margin-left: 0; padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 520px) { .hdr-creds { font-size: 12px; letter-spacing: 0; } .hdr-creds > span { padding: 0 9px; } .hdr-creds .h24 .long { display: none; } .hdr-creds .h24 .short { display: inline; } }
