/* =========================================================
   Studio Tecnico Lombardo — foglio di stile principale
   Tema chiaro: bianco caldo, verde bosco, salvia.
   Font self-hosted (licenza OFL): Schibsted Grotesk (testo e
   titoli), EB Garamond Italic (accenti), JetBrains Mono (etichette).
   ========================================================= */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #f7f6f1;
  --bg-2: #eef2ea;
  --bg-3: #e2eadd;
  --text: #1b2620;
  --ink: #17231c;
  --muted: #56625a;
  --green: #2e6a46;
  --green-deep: #1d4a30;
  --green-ink: #255a3a;
  --green-soft: #d6e6d2;
  --green-mist: #e9f1e6;
  --green-glow: #6fae80;
  --taupe: #967c68;
  --charcoal: #2b3134;
  --line: rgba(23, 35, 28, 0.12);
  --line-strong: rgba(23, 35, 28, 0.26);
  --muted-dark: #c3d3c6;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1260px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(23,35,28,.05), 0 14px 34px -14px rgba(23,35,28,.2);
  --shadow-lg: 0 2px 6px rgba(23,35,28,.06), 0 44px 90px -34px rgba(23,35,28,.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
/* =========================================================
   EXTRA — intro, cursore, marquee, fondatore
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 500; background: #f4f5ef; display: none; place-content: center; justify-items: center; gap: 1.4rem; }
.loader svg { width: min(46vw, 230px); height: auto; overflow: visible; }
.is-loading body { overflow: hidden; }
.is-loading .loader { display: grid; }
.is-loaded .loader { display: grid; pointer-events: none; animation: loader-up 1s var(--ease) forwards; }
@keyframes loader-up { to { transform: translateY(-101%); } }
.loader .ld { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ld 1s var(--ease) forwards; animation-delay: calc(var(--o) * 1s); }
@keyframes ld { to { stroke-dashoffset: 0; } }
.loader .ll { opacity: 0; animation: fade .7s var(--ease) forwards; animation-delay: calc(var(--o) * 1s); }
.loader__t { font-size: .95rem; font-weight: 600; letter-spacing: .5em; text-transform: uppercase; color: var(--charcoal); opacity: 0; animation: lt 1s var(--ease) 1.1s forwards; padding-left: .5em; }
.loader__t b { color: var(--taupe); font-weight: 600; }
@keyframes lt { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; letter-spacing: .32em; } }
.loader__bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--taupe); transform: scaleX(0); transform-origin: left; animation: grow 2.1s var(--ease) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.is-loading .hero [data-in], .is-loading .hero__sculpt, .is-loading .hero__ring { animation-play-state: paused; }

.hero__shine { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: soft-light; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.9) 50%, transparent 58%); background-size: 320% 100%; }
.js .hero__shine { animation: shine 9s ease-in-out 2.5s infinite; }
@keyframes shine { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
.js .hero__sculpt { animation: sculpt-in 2.4s var(--ease) .1s forwards, breathe 16s ease-in-out 2.6s infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05) translateY(-1%); } }

.cursor { position: fixed; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--green); border-radius: 50%; pointer-events: none; z-index: 300; opacity: 0; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s, border-color .3s; }
.cursor span { font-family: var(--mono); font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(46,106,70,.12); border-color: transparent; }
.cursor.is-drag { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(255,255,255,.55); border-color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cursor.is-drag span { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

.marquee { overflow: hidden; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 5vw, 4rem); }
.marquee__track { display: inline-flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); white-space: nowrap; will-change: transform; font-size: clamp(3.6rem, 10vw, 9.5rem); font-weight: 480; letter-spacing: -0.05em; line-height: 1.1; color: var(--ink); }
.marquee__track .out { color: transparent; -webkit-text-stroke: 1.2px var(--green); }
.marquee__track .ser { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--green); letter-spacing: -0.02em; }
.marquee__track i { font-style: normal; font-size: .28em; color: var(--taupe); }
.no-js .marquee__track { animation: mq 40s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }

.js .section-head h2.reveal { transform: translateY(46px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.js .section-head h2.reveal.is-in { transform: none; filter: none; }

.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.founder__portrait { position: relative; margin: 0; aspect-ratio: 4 / 4.9; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--green-mist); }
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.founder__marks { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; pointer-events: none; }
.founder__portrait figcaption { position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .85rem 1.1rem; border-radius: 16px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); }
.founder__portrait figcaption strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.founder__portrait figcaption span { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.js .founder__portrait.reveal { transform: none; opacity: 1; background: transparent; box-shadow: none; transition: box-shadow 1.4s var(--ease) .4s; }
.js .founder__portrait.reveal img { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.js .founder__portrait.reveal figcaption, .js .founder__portrait.reveal .founder__marks { opacity: 0; transition: opacity .9s var(--ease) .9s; }
.js .founder__portrait.reveal.is-in { box-shadow: var(--shadow-lg); }
.js .founder__portrait.reveal.is-in img { clip-path: inset(0); }
.js .founder__portrait.reveal.is-in figcaption { opacity: 1; }
.js .founder__portrait.reveal.is-in .founder__marks { opacity: .8; }
.founder__quote { margin: 0 0 1.6rem; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 460; letter-spacing: -0.035em; line-height: 1.15; color: var(--ink); }
.founder__body p { color: var(--muted); max-width: 36em; }
.founder__cred { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1.2rem 2.4rem; margin: 2rem 0; padding: 1.6rem 0; border-block: 1px solid var(--line); }
.stats dt { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 520; letter-spacing: -0.04em; line-height: 1; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.stats dd { margin: .4rem 0 0; font-size: .8rem; color: var(--muted); max-width: 11em; line-height: 1.3; }
.people { grid-template-columns: 1.25fr 1fr; }
.person--row { flex-direction: row; gap: 1.4rem; align-items: stretch; padding: 1rem; }
.person--row .person__portrait { width: 38%; flex: none; aspect-ratio: auto; margin: 0; }
.person--row > div { display: flex; flex-direction: column; padding: .8rem .6rem .6rem 0 !important; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; } .people { grid-template-columns: 1fr; } .network { grid-column: auto; } }
@media (max-width: 520px) { .person--row { flex-direction: column; } .person--row .person__portrait { width: 100%; aspect-ratio: 4 / 3; } .person--row > div { padding: 0 .5rem .5rem !important; } }

.responder { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem .7rem .7rem; margin-bottom: 1.5rem; border-radius: 100px; background: var(--green-mist); width: fit-content; max-width: 100%; }
.responder img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--green-glow); }
.responder strong { display: block; font-size: .95rem; color: var(--ink); letter-spacing: -0.01em; }
.responder small { display: block; font-size: .78rem; color: var(--muted); }

/* =========================================================
   WEBGL — apertura
   ========================================================= */
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__gl.is-on { opacity: 1; }

/* =========================================================
   METODO — racconto a scroll
   ========================================================= */
.story-sec { background: radial-gradient(90% 60% at 72% 45%, #1f5236 0%, #143a26 55%, #0e2a1c 100%); color: #fff; padding-bottom: clamp(4rem, 8vw, 6rem); }
.story-sec .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.on-dark .section-head p:not(.label) { color: var(--muted-dark); }
.story canvas { display: none; }
.story__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.story__step { padding: 1.4rem; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.story__n { display: block; font-family: var(--mono); font-size: .8rem; color: #a9d6b4; margin-bottom: .8rem; }
.story__tag { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: #e3c9a8; margin: 0 0 .7rem; }
.story__step h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: .5rem; color: #fff; }
.story__step p:last-child { color: #c9dccd; font-size: .93rem; margin: 0; }
.story__rail, .story__count, .story__hint { display: none; }
@media (max-width: 1000px) { .story__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .story__steps { grid-template-columns: 1fr; } }

.story.is-live { height: 540vh; position: relative; }
.story.is-live .story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story.is-live canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.story.is-live .story__inner { position: relative; height: 100%; }
.story.is-live .story__steps { display: block; position: absolute; left: var(--gutter); top: 50%; width: min(470px, 40vw); }
.story.is-live .story__step { position: absolute; left: 0; top: 0; width: 100%; padding: 0; background: none; border: 0; opacity: 0; transform: translateY(calc(-50% + 40px)); filter: blur(8px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .9s var(--ease); pointer-events: none; }
.story.is-live .story__step.is-on { opacity: 1; transform: translateY(-50%); filter: none; pointer-events: auto; }
.story.is-live .story__n { font-family: var(--sans); font-size: clamp(5rem, 10vw, 9rem); font-weight: 500; letter-spacing: -0.06em; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(169,214,180,.55); margin-bottom: 1.4rem; }
.story.is-live .story__step h3 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); font-weight: 460; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1rem; }
.story.is-live .story__step p:last-child { font-size: 1.08rem; line-height: 1.6; max-width: 26em; }
.story.is-live .story__rail { display: grid; gap: 1rem; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); justify-items: end; }
.story__rail button { display: flex; align-items: center; gap: .7rem; background: none; border: 0; padding: .2rem 0; cursor: pointer; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); transition: color .4s; }
.story__rail button::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.story__rail button span { opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .5s var(--ease); }
.story__rail button.is-on span, .story__rail button:hover span { opacity: 1; transform: none; }
.story__rail button.is-on { color: #fff; }
.story__rail button.is-on::after { width: 44px; background: #e3c9a8; }
.story__rail button:hover { color: #fff; }
.story.is-live .story__count { display: block; position: absolute; left: var(--gutter); bottom: 2.2rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; color: #a9d6b4; }
.story.is-live .story__hint { display: flex; align-items: center; gap: .8rem; position: absolute; right: var(--gutter); bottom: 2.2rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.story__bar { width: 1px; height: 40px; background: rgba(255,255,255,.2); display: block; }
.story__bar i { display: block; width: 100%; height: 100%; background: #e3c9a8; transform-origin: top; transform: scaleY(0); }
.story-sec .method__foot { margin-top: clamp(2rem, 4vw, 3rem); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.story-sec .method__foot p { color: #d5e6d8; }
.story-sec .method__foot strong { color: #fff; }
.story-sec .method__foot .btn { background: #fff; color: var(--green-deep); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
@media (max-width: 760px) {
  .story.is-live .story__steps { top: auto; bottom: 6.4rem; width: calc(100% - var(--gutter) * 2); }
  .story.is-live .story__step { top: auto; bottom: 0; transform: translateY(30px); }
  .story.is-live .story__step.is-on { transform: none; }
  .story.is-live .story__n { font-size: 3.6rem; margin-bottom: .7rem; }
  .story.is-live .story__step h3 { font-size: 1.7rem; margin-bottom: .6rem; }
  .story.is-live .story__step p:last-child { font-size: .98rem; }
  .story.is-live .story__rail { top: 5.5rem; transform: none; gap: .5rem; }
  .story__rail button span { display: none; }
  .story.is-live .story__hint { display: none; }
  .story.is-live .story__count { bottom: 1.6rem; }
}

/* =========================================================
   ORIENTATORE
   ========================================================= */
.guide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.guide__q { padding: clamp(1.5rem, 3vw, 2.4rem); }
.guide__q .label { margin-bottom: 1rem; }
.guide__q h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 480; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 1.4rem; }
.guide__opts { display: grid; gap: .45rem; }
.guide__opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: .95rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 600; font-size: .98rem; letter-spacing: -0.01em; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.guide__opt svg { width: 14px; height: 14px; flex: none; opacity: .4; transition: transform .4s var(--ease), opacity .3s; }
.guide__opt:hover { border-color: var(--green); transform: translateX(4px); }
.guide__opt.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.guide__opt.is-on svg { opacity: 1; transform: translateX(4px); }
.guide__a { background: linear-gradient(160deg, var(--green-mist), #f6faf4); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; }
.guide__panel { display: flex; flex-direction: column; gap: 1.3rem; }
.js .guide__panel:not(.is-on) { display: none; }
.js .guide__panel.is-on { animation: rise .6s var(--ease); }
.no-js .guide__panel + .guide__panel { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.guide__panel h4 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 520; letter-spacing: -0.03em; color: var(--ink); }
.guide__panel > p { color: var(--muted); margin: -.6rem 0 0; }
.guide__k { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: .7rem; display: block; }
.guide__path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; counter-reset: g; }
.guide__path li { counter-increment: g; position: relative; background: #fff; border-radius: 14px; padding: .9rem .9rem 1rem; font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--ink); box-shadow: 0 1px 2px rgba(23,35,28,.06); }
.guide__path li::before { content: "0" counter(g); display: block; font-family: var(--mono); font-weight: 400; font-size: .68rem; color: var(--taupe); margin-bottom: .5rem; }
.guide__docs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.guide__docs li { font-size: .84rem; padding: .4rem .8rem; border-radius: 100px; background: rgba(255,255,255,.8); border: 1px solid var(--green-soft); color: var(--green-deep); }
.guide__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: auto; padding-top: .4rem; }
.guide__foot small { color: var(--muted); font-size: .82rem; max-width: 26em; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .guide__path { grid-template-columns: 1fr 1fr; } }

/* anteprima servizi e riflesso sulle schede */
.svc-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 4 / 3; margin: -110px 0 0 34px; border-radius: 18px; overflow: hidden; pointer-events: none; box-shadow: var(--shadow-lg); opacity: 0; scale: .7; transition: opacity .35s var(--ease), scale .5s var(--ease); border: 3px solid #fff; }
.svc-preview.is-on { opacity: 1; scale: 1; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
.case, .aud, .kit__item { position: relative; transform-style: preserve-3d; will-change: transform; }
.case::after, .aud::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.45), transparent 60%); mix-blend-mode: soft-light; }
.case:hover::after, .aud:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 560; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

.accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--green); }
.on-dark .accent { color: #a9d6b4; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--green); color: #fff; padding: .6rem 1rem; font-weight: 600; text-decoration: none; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #a9d6b4; }

/* ---------- etichette ---------- */
.label { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); line-height: 1.6; margin: 0; }
.label::before { content: ""; width: 26px; height: 1.5px; background: currentColor; flex: none; }
.label b { font-weight: 400; color: var(--muted); }
.on-dark .label { color: #a9d6b4; }
.on-dark .label b { color: var(--muted-dark); }

/* ---------- pulsanti ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 54px; padding: 0 1.5rem; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--green); color: #fff; font-weight: 600; font-size: .98rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(46,106,70,.8), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(46,106,70,.85), inset 0 1px 0 rgba(255,255,255,.18); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); flex: none; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: rgba(255,255,255,.75); color: var(--text); border-color: var(--line-strong); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; border-color: var(--green); color: var(--green-deep); box-shadow: var(--shadow); }
.btn--small { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; }
.play { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; }
.play svg { width: 8px; height: 8px; margin-left: 2px; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; color: var(--green-deep); border-bottom: 1.5px solid var(--green-soft); padding-bottom: 3px; transition: border-color .3s; }
.link-arrow:hover { border-color: var(--green); }
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .4s var(--ease), box-shadow .4s, transform .45s var(--ease), height .35s var(--ease); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.is-solid { height: 70px; background: rgba(247,246,241,.86); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; line-height: 1; color: var(--charcoal); }
.brand svg { width: 54px; height: 51px; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 6px; }
.brand__name { font-size: .98rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; color: var(--charcoal); }
.brand__name b { font-weight: 600; color: var(--taupe); }
.brand__small { display: flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand__small::before { content: ""; width: 16px; height: 1px; background: var(--taupe); }
.site-header.is-solid .brand svg { width: 46px; height: 43px; }
@media (max-width: 420px) { .brand__name { font-size: .86rem; letter-spacing: .16em; } .brand svg { width: 44px; height: 41px; } }
.footer-logo { display: inline-block; margin-bottom: 1.2rem; }
.footer-logo img { width: 150px; height: 150px; border-radius: 50%; box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav__list { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { white-space: nowrap; position: relative; text-decoration: none; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: .45rem 0; color: var(--ink); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--green-deep); white-space: nowrap; }
.nav__phone svg { width: 17px; height: 17px; }

.menu-toggle { display: none; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 46px; padding: 0 1rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-decoration: none; color: var(--ink); }
.menu-toggle__bars { width: 18px; height: 10px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars::before { top: 1px; } .menu-toggle__bars::after { top: 7px; }
.menu-open .menu-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 1240px) { .nav__phone { display: none; } }
@media (max-width: 1140px) { .nav__list, .nav__phone { display: none; } .menu-toggle { display: inline-flex; } .nav .btn { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { background: transparent; box-shadow: none; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mobile-menu li { counter-increment: m; border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.mobile-menu li a::before { content: "0" counter(m); font-family: var(--mono); font-size: .75rem; color: var(--green); letter-spacing: .1em; }
.mobile-menu__foot { display: grid; gap: 1rem; padding-top: 2rem; }
.mobile-menu__foot a.tel { font-family: var(--mono); font-size: .95rem; text-decoration: none; color: var(--muted); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: linear-gradient(90deg, var(--green-glow), var(--green)); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* =========================================================
   HERO — visual immersivo
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; min-height: max(640px, 100svh);
  overflow: hidden; isolation: isolate;
  background: #eef1ea;
  display: flex; flex-direction: column;
}
.hero__visual { position: absolute; top: -3%; bottom: -3%; left: 6%; right: -3%; z-index: -2; will-change: transform; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero__visual picture, .hero__sculpt { width: 100%; height: 100%; }
.hero__sculpt { object-fit: cover; object-position: 75% 30%; }
.js .hero__sculpt { opacity: 0; transform: scale(1.08); animation: sculpt-in 2.4s var(--ease) .1s forwards; }
@keyframes sculpt-in { to { opacity: 1; transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(240,243,236,.96) 0%, rgba(240,243,236,.85) 30%, rgba(240,243,236,0) 55%),
    linear-gradient(0deg, rgba(240,243,236,.85) 0%, rgba(240,243,236,0) 18%);
}
.hero__ring {
  position: absolute; z-index: 1; pointer-events: none;
  left: 66%; top: 50%; width: min(44vw, 620px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.75); border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(255,255,255,.2);
}
.hero__ring span {
  position: absolute; left: 4%; top: 18%;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6;
  color: var(--ink);
}
.js .hero__ring { opacity: 0; animation: fade 1.6s var(--ease) 1.2s forwards; }
@keyframes fade { to { opacity: 1; } }

.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 1rem); padding-bottom: 9rem; position: relative; z-index: 2; }
.hero__intro { display: flex; flex-direction: column; gap: .8rem; margin-bottom: clamp(2rem, 5vh, 4rem); }
.hero__idx { display: flex; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.hero__idx::after { content: ""; width: 80px; height: 1px; background: var(--line-strong); }
.hero__intro p { margin: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; line-height: 1.9; color: var(--muted); }
.hero__content { max-width: 640px; }
.hero h1 {
  font-size: clamp(3rem, 6.4vw, 6.3rem); font-weight: 420; letter-spacing: -0.05em; line-height: .98;
  color: var(--ink); margin-bottom: 1.6rem;
}
.hero h1 .line { display: block; }
.grad {
  background: linear-gradient(100deg, #2e6a46 0%, #4f9a68 50%, #8aa46f 78%, #967c68 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: .5rem; font-size: 1.08em; letter-spacing: -0.01em; }
.hero__lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: #3e4a42; max-width: 30em; margin-bottom: 2.4rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.2rem; }

.orb-cta { display: inline-flex; align-items: center; gap: 1.2rem; text-decoration: none; color: var(--ink); }
.orb { position: relative; width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, border-color .4s; }
.orb i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); transition: transform .5s var(--ease), background .4s; }
.orb::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--green); opacity: 0; transform: scale(1); }
.orb-cta:hover .orb { background: var(--green); border-color: var(--green); transform: scale(1.06); }
.orb-cta:hover .orb i { background: #fff; transform: scale(1.4); }
.orb-cta:hover .orb::after { animation: ripple 1.2s var(--ease) infinite; }
@keyframes ripple { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
.orb-cta__t { font-family: var(--mono); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; }
.orb-cta .arrow { transition: transform .4s var(--ease); }
.orb-cta:hover .arrow { transform: translateX(6px); }

.hero__index { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; display: grid; gap: 1.1rem; }
.hero__index a { text-shadow: 0 0 8px #fff, 0 0 2px #fff; }
.hero__index a { display: grid; grid-template-columns: 1.6rem 0 auto; align-items: center; text-decoration: none; font-family: var(--mono); font-size: .7rem; color: #5f6a62; transition: color .3s; }
.hero__index i { display: block; width: 0; height: 1px; background: var(--ink); transition: width .4s var(--ease); }
.hero__index em { font-style: normal; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); padding-left: .7rem; white-space: nowrap; }
.hero__index a.is-on, .hero__index a:hover { color: var(--ink); grid-template-columns: 1.6rem 34px auto; }
.hero__index a.is-on i, .hero__index a:hover i { width: 34px; }
.hero__index a:hover em { opacity: 1; transform: none; }

.hero__thumb { position: absolute; right: calc(var(--gutter) + 2.6rem); bottom: 8.6rem; z-index: 3; width: 210px; text-decoration: none; color: var(--ink); }
.hero__thumb-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); }
.hero__thumb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hero__thumb:hover .hero__thumb-img img { transform: scale(1.08); }
.hero__thumb-t { display: flex; align-items: flex-start; gap: .8rem; margin-top: .8rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.7; }
.hero__thumb-t::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); margin-top: .5rem; }
.hero__thumb-plus { position: absolute; right: -1.8rem; top: calc(62.5% * 0 + 105px); font-size: 1.3rem; font-weight: 300; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.hero__thumb:hover .hero__thumb-plus { transform: rotate(90deg); color: var(--green); }

.hero__foot { position: absolute; left: 0; right: 0; bottom: 3.8rem; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.hero__since { display: flex; align-items: center; gap: 1.2rem; }
.bars { display: inline-flex; gap: 5px; height: 22px; }
.bars i { width: 1.5px; height: 100%; background: var(--ink); }
.js .bars i { animation: bar 2.4s ease-in-out infinite; transform-origin: bottom; }
.bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .4s; } .bars i:nth-child(4) { animation-delay: .6s; }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.hero__since .rule { flex: 0 1 140px; height: 1px; background: var(--line-strong); }
.hero__words { color: #8a948c; font-size: .6rem; }
.hero__words span { margin: 0 .9rem; }
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 1.2rem; text-decoration: none; }
.hero__scroll span { position: relative; width: 1px; height: 38px; background: var(--line-strong); overflow: visible; }
.hero__scroll span::after { content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 100% { top: 34px; opacity: 0; } }

.js .hero [data-in] { opacity: 0; transform: translateY(22px); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms + 300ms); }
.js .hero .hero__index[data-in] { transform: translateY(-50%); animation-name: fade; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* striscia servizi */
.svc-strip { position: relative; z-index: 4; margin-top: -2.2rem; }
.svc-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #fff; border-radius: 20px; box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: .4rem; }
.svc-bar a { position: relative; display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); transition: background .3s, color .3s; }
.svc-bar li + li a::before { content: ""; position: absolute; left: -1px; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.svc-bar svg { width: 34px; height: 34px; flex: none; color: var(--green); transition: transform .4s var(--ease); }
.svc-bar a:hover { background: var(--green-mist); color: var(--green-deep); }
.svc-bar a:hover svg { transform: translateY(-3px); }

@media (max-width: 1100px) {
  .hero__thumb, .hero__words { display: none; }
  .hero__foot { grid-template-columns: 1fr auto; }
}
@media (max-width: 1000px) {
  .svc-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-bar li + li a::before { display: none; }
  .svc-bar li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero__visual { position: relative; inset: auto; height: 56svh; margin: 0; order: -1; }
  .hero__sculpt { object-position: 50% 40%; }
  .hero__veil { background: linear-gradient(180deg, rgba(240,243,236,0) 32%, rgba(240,243,236,1) 56%); }
  .hero__ring { left: 50%; top: 28svh; width: 78vw; }
  .hero__ring span { display: none; }
  .hero__inner { padding-top: 0; margin-top: -9svh; }
  .hero__intro { display: none; }
  .hero__index { display: none; }
  .hero__ctas { gap: 1rem 1.4rem; }
  .hero__foot { display: none; }
  .hero__inner { padding-bottom: 3rem; }
  .orb { width: 54px; height: 54px; }
  .hero__visual { left: 0; right: 0; -webkit-mask-image: none; mask-image: none; }
  .svc-strip { margin-top: 0; }
  .svc-bar a { padding: .8rem; font-size: .84rem; gap: .6rem; }
  .svc-bar svg { width: 28px; height: 28px; }
}

/* =========================================================
   SEZIONI
   ========================================================= */
.section { padding-block: clamp(5rem, 10vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--tint { background: var(--bg-2); }

.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.4rem 4rem; align-items: end; margin-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 460; letter-spacing: -0.045em; color: var(--ink); }
.on-dark .section-head h2 { color: #fff; }
.section-head p:not(.label) { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 02 valore ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.intro__statement { font-size: clamp(1.6rem, 3vw, 2.55rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; margin: 1.4rem 0 0; color: var(--ink); }
.intro__statement .muted { color: #8b968e; }
.intro__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); background: var(--green-mist); margin: 0; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img figcaption { position: absolute; left: .9rem; bottom: .9rem; background: rgba(255,255,255,.9); border-radius: 100px; padding: .35rem .75rem; font-size: .8rem; font-weight: 600; color: var(--green-deep); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pillar { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem 1.5rem 1.7rem; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.pillar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--green-glow), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar:hover::after { transform: scaleX(1); }
.pillar__ico { width: 54px; height: 54px; border-radius: 15px; background: var(--green-mist); color: var(--green); display: grid; place-items: center; margin-bottom: 1.5rem; transition: background .4s, color .4s; }
.pillar:hover .pillar__ico { background: var(--green); color: #fff; }
.pillar__ico svg { width: 28px; height: 28px; }
.pillar__n { position: absolute; right: 1.3rem; top: 1.4rem; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.pillar h3 { font-size: 1.26rem; letter-spacing: -0.02em; margin-bottom: .55rem; color: var(--ink); }
.pillar p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- 03 servizi ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.service__link { position: relative; display: grid; grid-template-columns: 3.6rem minmax(0, 5fr) minmax(0, 4fr) 3.2rem; gap: 1.5rem; align-items: center; padding: 1.5rem 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease); }
.service__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--green-deep), var(--green)); clip-path: circle(0% at 100% 50%); transition: clip-path .7s var(--ease); }
.service__n { font-family: var(--mono); font-size: .8rem; color: var(--green); transition: color .4s; align-self: start; padding-top: .5rem; }
.service h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); letter-spacing: -0.03em; margin-bottom: .4rem; color: var(--ink); transition: color .4s; }
.service__desc { color: var(--muted); margin: 0; max-width: 32em; font-size: .97rem; transition: color .4s; }
.service__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.service__tags li { font-size: .8rem; font-weight: 500; padding: .35rem .7rem; border-radius: 100px; background: var(--green-mist); color: var(--green-deep); transition: background .4s, color .4s; }
.service__go { width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--green-mist); color: var(--green-deep); display: grid; place-items: center; transition: background .4s, color .4s, transform .5s var(--ease); }
.service__go svg { width: 16px; height: 16px; }
.service__cta { display: none; }
@media (hover: hover) {
  .service__link:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
  .service__link:hover::before { clip-path: circle(150% at 100% 50%); }
  .service__link:hover h3 { color: #fff; }
  .service__link:hover .service__desc { color: #d5e6d8; }
  .service__link:hover .service__n { color: #a9d6b4; }
  .service__link:hover .service__tags li { background: rgba(255,255,255,.14); color: #fff; }
  .service__link:hover .service__go { background: #fff; color: var(--green-deep); transform: rotate(-45deg); }
}
.services__more { margin-top: 1.2rem; padding: 1.2rem 1.5rem; border: 1.5px dashed #bcd5b9; border-radius: 18px; color: var(--muted); display: flex; gap: 1rem; align-items: baseline; }
.services__more strong { color: var(--ink); font-weight: 600; }
.services__more span:first-child { font-family: var(--mono); color: var(--green); font-size: 1.1rem; }
@media (max-width: 900px) {
  .service__link { grid-template-columns: minmax(0, 1fr) 2.8rem; padding: 1.3rem; gap: 1rem; }
  .service__n { display: none; }
  .service__tags { grid-column: 1 / -1; grid-row: 2; }
  .service__go { grid-column: 2; grid-row: 1; width: 2.8rem; height: 2.8rem; align-self: start; }
}

/* ---------- 04 metodo ---------- */
.method { position: relative; }
.method__track { position: relative; height: 4px; border-radius: 4px; background: var(--green-soft); margin: 0 0 2.6rem; }
.method__track::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, var(--green-glow), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease); }
.method.is-in .method__track::after, .no-js .method__track::after { transform: scaleX(1); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.2rem 1.4rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__tick { position: absolute; top: calc(-2.6rem - 8px); left: 1.2rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--green); transform: scale(0); transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 260ms + 250ms); }
.method.is-in .step__tick, .no-js .step__tick { transform: scale(1); }
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-mist); color: var(--green-deep); font-family: var(--mono); font-size: .78rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.06rem; letter-spacing: -0.015em; margin-bottom: .45rem; line-height: 1.2; color: var(--ink); }
.step p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.5; }
.method__foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.8rem 2rem; border-radius: 20px; background: linear-gradient(120deg, #fff, var(--green-mist)); border: 1px solid var(--green-soft); }
.method__foot p { margin: 0; max-width: 42em; }
.method__foot strong { color: var(--green-deep); }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .method__track, .step__tick { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 05 rilievi ---------- */
.tech { background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.scan-panel { position: relative; border-radius: 28px; overflow: hidden; background: radial-gradient(80% 90% at 70% 45%, #ffffff 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #f3f7f0, #e5eee1); border: 1px solid var(--green-soft); box-shadow: var(--shadow); height: clamp(440px, 52vw, 620px); isolation: isolate; }
.scan-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(46,106,70,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(46,106,70,.07) 1px, transparent 1px); background-size: 48px 48px; }
.scan-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan-panel__copy { position: absolute; left: clamp(1.2rem, 3vw, 2.4rem); top: clamp(1.2rem, 3vw, 2.4rem); z-index: 2; max-width: 340px; }
.scan-panel__copy .label { margin-bottom: .9rem; }
.scan-panel__copy h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -0.03em; color: var(--ink); margin-bottom: .6rem; }
.scan-panel__copy p { color: var(--muted); font-size: .95rem; }
.hud { position: absolute; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 2; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #fff; border-radius: 16px; box-shadow: var(--shadow); padding: .9rem 1.1rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: grid; gap: .4rem; min-width: 240px; }
.hud__row { display: flex; justify-content: space-between; gap: 1.2rem; }
.hud__row span:last-child { color: var(--ink); }
.hud__rec { color: var(--green) !important; display: inline-flex; align-items: center; gap: .5rem; }
.hud__rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.4s steps(2, start) infinite; }
.hud__note { opacity: .75; font-size: .56rem; }
@keyframes blink { to { visibility: hidden; } }
.no-js .hud, .no-js .scan-panel canvas { display: none; }
@media (max-width: 760px) {
  .scan-panel { height: auto; }
  .scan-panel__copy { position: relative; left: auto; top: auto; padding: 1.4rem 1.4rem 0; max-width: none; }
  .scan-panel canvas { position: relative; height: 330px; }
  .hud { position: relative; right: auto; bottom: auto; margin: 0 1rem 1rem; }
  .hud__row:nth-child(n+4) { display: none; }
}

.tech__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 960px) { .tech__grid { grid-template-columns: 1fr; } }
.compare { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); aspect-ratio: 3 / 2; width: 100%; user-select: none; touch-action: pan-y; }
.compare svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare__divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--green); pointer-events: none; }
.compare__handle { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 7px rgba(46,106,70,.15), var(--shadow); }
.compare__handle svg { position: static; width: 22px; height: 22px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare__range:focus-visible + .compare__divider .compare__handle { outline: 2px solid var(--ink); outline-offset: 4px; }
.compare__tag { position: absolute; top: .9rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .65rem; border-radius: 8px; background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--line); pointer-events: none; }
.compare__tag--l { left: .9rem; }
.compare__tag--r { right: .9rem; color: var(--green-deep); }
.compare__note { position: absolute; left: .9rem; bottom: .8rem; font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.no-js .compare__range, .no-js .compare__divider, .no-js .compare__tag--l { display: none; }
.compare-caption { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.flow { list-style: none; margin: 0 0 1.6rem; padding: 0; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 2.6rem 1fr; gap: .2rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.flow li::before { content: counter(f, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; color: var(--green); padding-top: .2rem; grid-row: span 2; }
.flow strong { font-weight: 600; color: var(--ink); }
.flow span { color: var(--muted); font-size: .93rem; }
.tech__cta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.honest { margin-top: 1.3rem; padding: .9rem 1.1rem; border-radius: 12px; background: var(--green-mist); color: var(--green-deep); font-size: .88rem; }

.kit { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.kit__item { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.kit__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.kit__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-mist); margin: 0; position: relative; }
.kit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.kit__img figcaption { position: absolute; right: .7rem; bottom: .6rem; font-family: var(--mono); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.kit__item:hover .kit__img img { transform: scale(1.05); }
.kit__body { padding: 1.3rem 1.5rem 1.6rem; }
.kit__item .label { margin-bottom: .7rem; }
.kit__item h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: .5rem; color: var(--ink); }
.kit__item p { color: var(--muted); font-size: .93rem; margin: 0; }
.kit__item--out { background: linear-gradient(160deg, var(--green), var(--green-deep)); color: #fff; border: 0; padding: 1.7rem; justify-content: space-between; gap: 1.5rem; }
.kit__item--out h3 { color: #fff; font-size: 1.5rem; }
.kit__item--out .label { color: #a9d6b4; }
.kit__item--out p { color: #d5e6d8; }
.outputs { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.outputs li { font-size: .82rem; padding: .4rem .75rem; border-radius: 100px; background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 960px) { .kit { grid-template-columns: 1fr 1fr; } .kit__item--out { grid-column: 1 / -1; } }
@media (max-width: 600px) { .kit { grid-template-columns: 1fr; } }

/* ---------- 06 lavori ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case__fig { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--green-mist); }
.case__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case__fig img { transform: scale(1.06); }
.case__fig figcaption { position: absolute; right: .8rem; bottom: .7rem; font-family: var(--mono); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.case__type { position: absolute; left: .9rem; top: .9rem; font-size: .76rem; font-weight: 600; background: rgba(255,255,255,.94); color: var(--green-deep); padding: .35rem .75rem; border-radius: 100px; }
.case__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.case h3 { font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.case__where { font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .04em; margin: -.55rem 0 0; }
.case dl { margin: 0; display: grid; gap: .85rem; }
.case dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .2rem; }
.case dd { margin: 0; font-size: .93rem; color: var(--muted); }
.case dd strong { color: var(--ink); font-weight: 600; }
.case__path { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.case__path li { font-size: .75rem; padding: .3rem .6rem; border-radius: 100px; background: var(--bg-2); color: var(--green-deep); }
@media (max-width: 980px) { .cases { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- 07 persone ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: clamp(1rem, 2vw, 1.6rem); }
.person { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1rem 1rem 1.5rem; display: flex; flex-direction: column; }
.person__portrait { position: relative; aspect-ratio: 4 / 3.6; border-radius: 16px; overflow: hidden; margin: 0 0 1.3rem; background: radial-gradient(70% 70% at 50% 35%, #ffffff, var(--green-mist) 75%); display: grid; place-items: center; color: var(--green); }
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person__mono { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 9vw, 7.5rem); line-height: 1; letter-spacing: -0.04em; }
.person > *:not(.person__portrait) { padding-inline: .5rem; }
.person h3 { font-size: 1.42rem; letter-spacing: -0.025em; margin-bottom: .3rem; color: var(--ink); }
.person__role { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: .9rem; }
.person p { color: var(--muted); font-size: .95rem; }
.person__cred { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem !important; line-height: 1.55; }
.network { border-radius: 22px; overflow: hidden; position: relative; color: #fff; background: linear-gradient(160deg, var(--green), var(--green-deep)); padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.network::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; border: 44px solid rgba(255,255,255,.06); pointer-events: none; }
.network .label { color: #a9d6b4; }
.network h3 { font-size: 1.55rem; letter-spacing: -0.03em; }
.network ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.network li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(255,255,255,.09); }
.network li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a9d6b4; flex: none; }
.network > p:last-child { margin: auto 0 0; color: #d5e6d8; font-size: .95rem; position: relative; z-index: 1; }
@media (max-width: 980px) { .people { grid-template-columns: 1fr 1fr; } .network { grid-column: 1 / -1; } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }

/* ---------- 08 per chi ---------- */
.audiences { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.aud { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.aud:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.aud__body { padding: 1.3rem 1.25rem 1rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.aud__ico { width: 36px; height: 36px; color: var(--green); }
.aud__who { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.aud blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.28; color: var(--green-deep); }
.aud p { color: var(--muted); font-size: .87rem; margin: 0; }
.aud__more { margin-top: auto; padding-top: .3rem; font-weight: 600; font-size: .87rem; color: var(--green); display: inline-flex; gap: .4rem; align-items: center; }
.aud__more .arrow { transition: transform .3s var(--ease); }
.aud:hover .aud__more .arrow { transform: translateX(4px); }
.aud__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-mist); }
.aud__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.aud:hover .aud__img img { transform: scale(1.07); }
@media (max-width: 1150px) { .audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- 09 FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.faq-grid .section-head { display: block; margin: 0; }
.faq-grid .section-head .label { margin-bottom: 1.4rem; }
.faq-grid .section-head h2 { margin-bottom: 1.2rem; }
.faq-grid .section-head p:not(.label) { margin-bottom: 1.8rem; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { display: grid; gap: .6rem; align-content: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .4s, border-color .4s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr 30px; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; font-size: 1.06rem; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background-color: var(--green-mist); background-image: linear-gradient(var(--green-deep), var(--green-deep)), linear-gradient(var(--green-deep), var(--green-deep)); background-size: 11px 1.6px, 1.6px 11px; background-position: center; background-repeat: no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--green-soft); }
.faq summary:hover { color: var(--green-deep); }
.faq__a { padding: 0 3.6rem 1.3rem 1.3rem; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- 10 contatto ---------- */
.contact { overflow: hidden; background: linear-gradient(150deg, #24573a 0%, var(--green-deep) 55%, #173b27 100%); color: #fff; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(60% 70% at 15% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(60% 70% at 15% 30%, #000, transparent 70%); }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5.5rem); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact h2 { font-weight: 460; font-size: clamp(2.4rem, 4.8vw, 4.2rem); margin: 1.4rem 0 1.2rem; letter-spacing: -0.04em; color: #fff; }
.contact__lead { color: #d5e6d8; font-size: 1.1rem; margin-bottom: 2.2rem; }
.next { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; gap: .6rem; }
.next li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.next b { font-family: var(--mono); font-weight: 400; font-size: .75rem; color: #a9d6b4; padding-top: .2rem; }
.next span { color: #d5e6d8; font-size: .96rem; }
.next strong { color: #fff; font-weight: 600; }
.coords { display: grid; gap: 1rem; margin: 0; }
.coords__row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; }
.coords dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #a9d6b4; }
.coords dd { margin: 0; color: #eaf3ec; }
.coords dd { overflow-wrap: anywhere; }
.coords a { text-decoration: none; border-bottom: 1px solid rgba(169,214,180,.5); }
.coords a:hover { color: #a9d6b4; }
.coords .big { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; }

.form { background: #fff; color: var(--text); border-radius: 26px; padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); position: relative; }
.form__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.form__head h3 { font-size: 1.5rem; letter-spacing: -0.025em; color: var(--ink); }
.form__head span { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); background: var(--green-mist); padding: .35rem .65rem; border-radius: 100px; white-space: nowrap; }
fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
legend, .field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .55rem; padding: 0; }
.req { color: var(--green); }
.topics { display: flex; flex-wrap: wrap; gap: .45rem; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border: 1px solid var(--line); border-radius: 100px; font-size: .88rem; cursor: pointer; background: var(--bg); transition: background .25s, border-color .25s, color .25s; }
.topic input:hover + span { border-color: var(--green); }
.topic input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.topic input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--bg); padding: .8rem .95rem; font-size: 1rem; border-radius: 12px; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(46,106,70,.14); }
.field input::placeholder, .field textarea::placeholder { color: #98a39b; }
.field.has-error input, .field.has-error textarea { border-color: #b2402a; }
.field__error { color: #b2402a; font-size: .82rem; margin: .35rem 0 0; display: none; }
.field.has-error .field__error { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; margin: 1.4rem 0; font-size: .86rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.consent a { color: var(--green-deep); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__foot small { color: var(--muted); font-size: .8rem; max-width: 24em; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form__status { margin-top: 1.2rem; padding: .9rem 1.1rem; font-size: .94rem; display: none; border-radius: 12px; background: var(--green-mist); color: var(--green-deep); }
.form__status.is-error { background: #fbeae6; color: #8a2f1e; }
.form__status.is-visible { display: block; }
.form--sent .form__body { display: none; }
.form__done { display: none; text-align: center; padding: 2rem 1rem; }
.form--sent .form__done { display: block; }
.form__done h3 { font-size: 2rem; letter-spacing: -0.03em; margin: 1rem 0; color: var(--ink); }
.form__done p { color: var(--muted); }
.form__done svg { width: 64px; height: 64px; color: var(--green); margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); color: var(--muted); padding: 4.5rem 0 2rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }

.site-footer h4 { font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--green-deep); }
.footer__legal { padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .78rem; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.mobile-bar { display: none; position: fixed; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 80; grid-template-columns: 1fr 1.7fr; gap: .4rem; padding: .4rem; border-radius: 16px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); border: 1px solid #fff; transform: translateY(140%); transition: transform .45s var(--ease); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.mobile-bar a:first-child { background: var(--green-mist); color: var(--green-deep); }
.mobile-bar a:last-child { background: var(--green); color: #fff; }
.mobile-bar svg { width: 18px; height: 18px; }
.mobile-bar.is-visible { transform: none; }
.no-js .mobile-bar { transform: none; }
@media (max-width: 760px) { .mobile-bar { display: grid; } body { padding-bottom: 76px; } }

/* ---------- pagine semplici ---------- */
.page-simple .site-header { background: rgba(247,246,241,.95); box-shadow: 0 1px 0 var(--line); }
.page-hero { padding: calc(var(--header-h) + 4rem) 0 3rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-top: 1.4rem; color: var(--ink); }
.prose { max-width: 46rem; padding-block: 3rem 6rem; }
.prose h2 { font-size: 1.5rem; margin: 2.6rem 0 .9rem; letter-spacing: -0.02em; color: var(--ink); }
.prose p, .prose li { color: #3a463e; }
.prose a { color: var(--green-deep); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.prose .todo { background: #fff3cf; padding: 0 .25rem; border-radius: 3px; }
.center-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gutter); background: radial-gradient(60% 60% at 50% 30%, #fff, var(--bg-2)); }
.center-page h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin: 1.5rem 0 1rem; color: var(--ink); }
.center-page p { color: var(--muted); max-width: 32em; margin: 0 auto 2rem; }
.center-page .big-code { font-family: var(--mono); color: var(--green); letter-spacing: .2em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .hero [data-in], .js .float-card { opacity: 1; transform: none; }
  .js .section-head h2.reveal { filter: none; }
  .js .founder__portrait.reveal img { clip-path: none; }
  .loader { display: none !important; }
}
@media print { .site-header, .mobile-bar, .progress, .hud { display: none !important; } }

/* =========================================================
   REVISIONE COMMERCIALE — menu servizi, hero, percorsi, pagine
   ========================================================= */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: .45rem; }
.caret { width: 9px; height: 6px; transition: transform .3s var(--ease); }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub { position: absolute; left: -1.1rem; top: 100%; min-width: 290px; list-style: none; margin: 0; padding: .5rem; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(10px); }
.nav__list .sub a { display: block; font-family: var(--sans); font-size: .93rem; font-weight: 500; letter-spacing: -0.005em; text-transform: none; padding: .65rem .8rem; border-radius: 10px; color: var(--ink); }
.nav__list .sub a::after { display: none; }
.nav__list .sub a:hover { background: var(--green-mist); color: var(--green-deep); }
.mobile-menu { overflow-y: auto; }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 0 1rem 2rem; }
.mobile-menu li .mobile-menu__sub a { display: inline-flex; padding: .45rem .8rem; font-size: .86rem; font-weight: 500; letter-spacing: 0; border-radius: 100px; background: var(--green-mist); color: var(--green-deep); }
.mobile-menu li .mobile-menu__sub a::before { display: none; }
.mobile-menu li a { font-size: clamp(1.4rem, 6vw, 2rem); padding: .8rem 0; }

/* hero: messaggio concreto */
.hero--b .hero__content { max-width: 760px; }
.hero--b h1 { font-size: clamp(2.05rem, 4vw, 3.85rem); font-weight: 460; letter-spacing: -0.042em; line-height: 1.04; margin-bottom: 1.4rem; }
.hero--b h1 .line + .line { margin-top: .12em; }
.hero__kicker { margin: 0 0 1.4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green-ink); display: flex; align-items: center; gap: .8rem; }
.hero__kicker::before { content: ""; width: 34px; height: 1.5px; background: currentColor; flex: none; }
.hero--b .hero__lead { max-width: 34em; margin-bottom: 1.3rem; }
.hero__facts { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.hero__facts li { font-size: .84rem; font-weight: 600; color: var(--green-deep); padding: .4rem .85rem; border-radius: 100px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero--b .hero__ctas { gap: 1.2rem 2rem; }
.hero--b .hero__foot { bottom: 1.8rem; }
.hero--b .hero__inner { padding-bottom: 6.5rem; }
.hero__motto { font-family: var(--serif); font-style: italic; font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: var(--green-deep); }
@media (max-width: 760px) { .hero--b .hero__inner { padding-bottom: 3rem; } .hero__kicker { font-size: .6rem; letter-spacing: .14em; } }

/* individua la tua esigenza */
.needs-head { margin: 0 0 1.6rem; }
.needs-head .label { margin-bottom: .9rem; }
.needs-head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 460; letter-spacing: -0.045em; color: var(--ink); }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.need { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.need::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, var(--green-deep), var(--green)); clip-path: circle(0% at 100% 100%); transition: clip-path .7s var(--ease); }
.need__n { font-family: var(--mono); font-size: .72rem; color: var(--taupe); transition: color .4s; }
.need h3 { font-size: 1.45rem; font-weight: 520; letter-spacing: -0.03em; color: var(--ink); transition: color .4s; }
.need p { color: var(--muted); font-size: .96rem; margin: 0; transition: color .4s; }
.need__go { margin-top: auto; padding-top: .8rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--green); transition: color .4s; }
.need__go .arrow { transition: transform .35s var(--ease); }
@media (hover: hover) {
  .need:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .need:hover::before { clip-path: circle(150% at 100% 100%); }
  .need:hover h3, .need:hover .need__go { color: #fff; }
  .need:hover p { color: #d5e6d8; }
  .need:hover .need__n { color: #e3c9a8; }
  .need:hover .arrow { transform: translateX(5px); }
}
@media (max-width: 900px) { .needs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .needs { grid-template-columns: 1fr; } }

/* percorsi per tipo di cliente */
.paths-head { margin: clamp(3.5rem, 7vw, 5.5rem) 0 1.6rem; }
.paths-head .label { margin-bottom: .8rem; }
.paths-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 480; letter-spacing: -0.035em; color: var(--ink); }
.audiences--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aud--path .aud__img { aspect-ratio: 16 / 9; }
.aud--path .aud__body { padding: 1.4rem 1.4rem 1.5rem; gap: .7rem; }
.aud--path h3.aud__who { font-size: 1.25rem; }
.aud--path blockquote { font-size: 1.2rem; }
.aud--path p { font-size: .92rem; }
.aud__links { margin-top: auto; padding-top: .7rem; display: grid; gap: .1rem; border-top: 1px solid var(--line); }
.aud__links a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem 0; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--green-deep); }
.aud__links a + a { border-top: 1px dashed var(--line); }
.aud__links a .arrow { transition: transform .3s var(--ease); }
.aud__links a:hover { color: var(--green); }
.aud__links a:hover .arrow { transform: translateX(4px); }
@media (max-width: 900px) { .audiences--3 { grid-template-columns: 1fr; max-width: 560px; } }

.case__link { align-self: flex-start; font-size: .88rem; }
.tech__more { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.tech__more .tech__cta { margin: 0; }
.outputs--light li { background: #fff; color: var(--green-deep); border: 1px solid var(--green-soft); }

/* modulo */
.form__intro { color: var(--muted); font-size: .95rem; margin: -.7rem 0 1.5rem; }
.when-field { margin: 1.3rem 0 0; }
.when-field legend small { font-weight: 400; color: var(--muted); }
.form__before { margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.form__before strong { color: var(--ink); }

/* pagine di servizio */
.page-svc .site-header:not(.is-solid) { background: transparent; }
.svc-hero { position: relative; padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; background: radial-gradient(60% 70% at 0% 0%, #e5eee1 0%, rgba(229,238,225,0) 70%), radial-gradient(50% 60% at 100% 100%, #e3ecdf 0%, rgba(227,236,223,0) 70%), var(--bg); }
.svc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(46,106,70,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(46,106,70,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 70% at 15% 30%, #000, transparent 70%); mask-image: radial-gradient(60% 70% at 15% 30%, #000, transparent 70%); }
.svc-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--green-deep); }
.svc-hero h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 470; letter-spacing: -0.042em; line-height: 1.05; color: var(--ink); margin: 1.2rem 0 1.3rem; }
.svc-hero h1 .accent { letter-spacing: -0.02em; }
.svc-hero__lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.svc-hero__img { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow-lg); background: var(--green-mist); }
.svc-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__img figcaption, .rel__img figcaption { position: absolute; right: .9rem; bottom: .7rem; font-family: var(--mono); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
@media (max-width: 900px) { .svc-hero__grid { grid-template-columns: 1fr; } .svc-hero__img { aspect-ratio: 16 / 10; } }
.svc-h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 460; letter-spacing: -0.04em; color: var(--ink); }
.svc-h3 { font-size: 1.35rem; font-weight: 520; letter-spacing: -0.025em; }
.svc-two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.svc-two .label { margin-bottom: 1.1rem; }
@media (max-width: 900px) { .svc-two { grid-template-columns: 1fr; } }
.when { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.when li { position: relative; padding: 1rem 1.2rem 1rem 3.3rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 500; color: var(--ink); }
.when li::before { content: ""; position: absolute; left: 1.1rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--green-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%232e6a46' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.psteps li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.2rem 1.4rem; }
.psteps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-mist); color: var(--green-deep); font-family: var(--mono); font-size: .78rem; margin-bottom: 1rem; }
.psteps h3 { font-size: 1.06rem; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: .45rem; color: var(--ink); }
.psteps p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.5; }
@media (max-width: 1000px) { .psteps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .psteps { grid-template-columns: 1fr; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.duo__card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.duo__card--green { background: linear-gradient(160deg, var(--green), var(--green-deep)); color: #fff; border: 0; }
.duo__card--green .label { color: #a9d6b4; }
.duo__card .svc-h3 { color: var(--ink); }
.duo__card--green .svc-h3 { color: #fff; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.docs li { position: relative; padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); color: var(--text); }
.docs li:last-child { border-bottom: 0; }
.docs li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: 7px; height: 7px; border-radius: 50%; background: var(--taupe); }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.rel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.rel__img { position: relative; margin: 0; min-height: 280px; background: var(--green-mist); }
.rel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rel__body { padding: clamp(1.5rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.rel__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.rel__where { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin: -.5rem 0 0; }
.rel dl { margin: 0; display: grid; gap: .8rem; }
.rel dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .2rem; }
.rel dd { margin: 0; color: var(--muted); }
.rel dd strong { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) { .rel { grid-template-columns: 1fr; } .rel__img { min-height: 0; aspect-ratio: 16 / 10; } }
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem; margin-top: 1.2rem; }
.others a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); transition: border-color .3s, color .3s, transform .4s var(--ease); }
.others a:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-3px); }
.page-svc .faq-grid .section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.page-svc .honest { margin-top: 1.2rem; }
.faq__a a { color: var(--green-deep); }

.hero--b .hero__ring span { display: none; }
@media (max-width: 480px) {
  .site-header .wrap { gap: .6rem; }
  .brand { gap: .55rem; }
  .brand svg { width: 40px; height: 38px; }
  .brand__name { font-size: .78rem; letter-spacing: .14em; }
  .brand__small { font-size: .5rem; letter-spacing: .2em; }
  .menu-toggle { padding: 0 .75rem; min-height: 44px; gap: .5rem; font-size: .68rem; }
}

/* ---------- apertura: referente e segnali di credibilità ---------- */
.hero--b .hero__inner { padding-bottom: 9rem; }
.hero--b .hero__foot { bottom: 4.2rem; }
.hero__ref { position: absolute; right: calc(var(--gutter) + 3.4rem); bottom: 7.4rem; z-index: 3; width: 218px; padding: .5rem .5rem .9rem; border-radius: 22px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); transition: transform .5s var(--ease); }
.hero__ref:hover { transform: translateY(-5px); }
.hero__ref-img { display: block; aspect-ratio: 4 / 4.4; border-radius: 16px; overflow: hidden; }
.hero__ref-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__ref-t { display: block; padding: .75rem .5rem 0; }
.hero__ref-t strong { display: block; font-size: .98rem; letter-spacing: -0.01em; }
.hero__ref-t small { display: block; font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); margin-top: .25rem; }
.hero__ref-t small + small { color: var(--muted); }
.hero__resp { display: none; margin: 1.6rem 0 0; text-decoration: none; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 1180px) { .hero__ref { display: none; } .hero__resp { display: flex; } }
@media (max-height: 760px) and (min-width: 1181px) { .hero__ref { width: 180px; bottom: 6.6rem; } }
.cred { position: relative; z-index: 4; margin-top: -2.4rem; }
.cred__bar { list-style: none; margin: 0; padding: .5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #fff; border-radius: 20px; box-shadow: var(--shadow-lg); }
.cred__bar li { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; }
.cred__bar li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.cred__bar svg { width: 30px; height: 30px; flex: none; color: var(--green); }
.cred__bar strong { display: block; font-size: .95rem; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.cred__bar small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; margin-top: .15rem; }
@media (max-width: 1000px) { .cred__bar { grid-template-columns: 1fr 1fr; } .cred__bar li:nth-child(3)::before { display: none; } }
@media (max-width: 760px) { .cred { margin-top: 0; } .hero--b .hero__inner { padding-bottom: 2.5rem; } }
@media (max-width: 520px) { .cred__bar { grid-template-columns: 1fr; } .cred__bar li + li::before { left: 1.2rem; right: 1.2rem; top: 0; bottom: auto; width: auto; height: 1px; display: block !important; } }
.complement { margin: 1.4rem 0 0; color: var(--muted); font-size: .96rem; }
.complement a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--green-deep); text-decoration: none; border-bottom: 1.5px solid var(--green-soft); padding-bottom: 2px; }
.complement a:hover { border-color: var(--green); }
.svc-hero__demo .compare { box-shadow: var(--shadow-lg); border-radius: 26px; }
.svc-hero__demo .compare-caption { margin: .9rem .3rem 0; font-size: .86rem; }
.hero--b .hero__index { top: 31%; }
@media (max-width: 760px) { .hero--b .hero__visual { height: 44svh; } .hero--b .hero__ring { top: 22svh; } .hero--b .hero__inner { margin-top: -7svh; } }

/* =========================================================
   APERTURA — composizione a due zone: testo su fondo pulito,
   scultura confinata a destra. (Deve restare in fondo al file.)
   ========================================================= */
.hero--b { min-height: max(600px, calc(100svh - 4.75rem)); }
.hero--b h1 { font-size: clamp(2.05rem, 3.3vw, 3.3rem); }
.hero--b h1 .grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--green); }
.hero--b .hero__ring, .hero--b .hero__index, .hero--b .hero__words { display: none; }
.hero--b .hero__foot { grid-template-columns: 1fr auto; }
.hero--b .hero__lead { color: #37433b; }

@media (min-width: 761px) {
  .hero--b .hero__content { max-width: min(640px, 54vw); }
  .hero--b .hero__lead { max-width: 600px; }
  .hero--b .hero__visual {
    top: -3%; bottom: -3%; right: -2%;
    left: max(calc(var(--gutter) + min(580px, 50vw)), calc(50% - var(--wrap) / 2 + var(--gutter) + 580px));
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.45) min(140px, 9vw), #000 min(300px, 19vw));
    mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.45) min(140px, 9vw), #000 min(300px, 19vw));
  }
  .hero--b .hero__veil { background: linear-gradient(0deg, #eef1ea 0%, rgba(238,241,234,.7) 9%, rgba(238,241,234,0) 24%); }
  .hero--b .hero__ref { right: max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter))); bottom: 8rem; }
}
@media (min-width: 1181px) {
  .hero--b .hero__ctas { flex-wrap: nowrap; gap: 1.6rem; }
  .hero--b .orb { width: 56px; height: 56px; }
  .hero--b .orb-cta .arrow { display: none; }
}
@media (max-height: 800px) and (min-width: 761px) {
  .hero--b .hero__foot { display: none; }
  .hero--b .hero__inner { padding-bottom: 5.5rem; }
  .hero--b .hero__ref { bottom: 4.6rem; }
}

/* telefono: scultura in fascia alta, testo sotto su fondo pieno */
@media (max-width: 760px) {
  .hero--b { min-height: 0; }
  .hero--b .hero__visual {
    position: relative; inset: auto; left: 0; right: 0; top: auto; bottom: auto;
    height: 40svh; min-height: 250px; max-height: 440px; margin: 0; order: -1;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 100%);
  }
  .hero--b .hero__sculpt { object-position: 50% 40%; }
  .hero--b .hero__veil, .hero--b .hero__shine { display: none; }
  .hero--b .hero__inner { padding-top: 0; margin-top: -3.4rem; padding-bottom: 2.6rem; }
  .hero--b .hero__foot { display: none; }
  .cred { margin-top: 0; }
}
.cred__bar li { padding: 1rem; gap: .75rem; }
.cred__bar strong { font-size: .92rem; white-space: nowrap; }
@media (max-width: 1180px) { .cred__bar strong { white-space: normal; } }
@media (max-height: 760px) and (min-width: 1181px) { .hero--b .hero__ref { width: 212px; } .hero--b .hero__ref-t strong { font-size: .92rem; } .hero--b .hero__ref-t small { font-size: .52rem; letter-spacing: .06em; } }
@media (max-width: 1180px) and (min-width: 521px) { .cred__bar { grid-template-columns: 1fr 1fr; } .cred__bar li:nth-child(3)::before { display: none; } }

/* =========================================================
   CAPITOLATO — apertura con referente, blocchi delle pagine,
   modulo. (Deve restare in fondo al file.)
   ========================================================= */
.hero__kicker { align-items: flex-start; }
.hero__kicker::before { margin-top: .62em; }
.hero__kicker span { line-height: 1.75; }
.hero__kicker b { font-weight: 500; color: var(--ink); letter-spacing: .22em; }
.hero--b div.hero__lead { margin-bottom: 1.6rem; }
.hero--b .hero__lead p { margin: 0 0 .7rem; font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.55; }
.hero--b .hero__lead p + p { font-size: .96rem; color: var(--muted); margin-bottom: 0; }
.hero--b .hero__ctas { gap: .8rem 1rem; flex-wrap: wrap; }
.hero--b .hero__ref-t strong { font-size: 1.06rem; }
.hero--b .hero__ref-t small { font-size: .58rem; letter-spacing: .09em; line-height: 1.6; }
@media (min-width: 761px) { .hero--b .hero__inner { padding-bottom: 6rem; } }
@media (min-width: 1181px) {
  .hero--b .hero__ref {
    width: clamp(250px, 22vw, 320px); height: fit-content;
    top: calc(var(--header-h) + .6rem); bottom: 5.2rem; margin: auto 0;
    right: max(calc(var(--gutter) + 2.5rem), calc(50% - var(--wrap) / 2 + var(--gutter) + 4rem));
    padding: .6rem .6rem 1.1rem; border-radius: 26px;
  }
  .hero--b .hero__ref-img { border-radius: 20px; }
}
@media (max-height: 760px) and (min-width: 1181px) {
  .hero--b .hero__ref { width: clamp(220px, 18vw, 262px); bottom: 4.6rem; }
  .hero--b .hero__ref-t strong { font-size: .98rem; }
  .hero--b .hero__ref-t small { font-size: .54rem; letter-spacing: .06em; }
}
/* telefono: prima testo e pulsanti, poi la fotografia */
@media (max-width: 760px) {
  .hero--b .hero__inner { padding-top: calc(var(--header-h) + 1.2rem); margin-top: 0; padding-bottom: 1.2rem; }
  .hero--b .hero__visual {
    position: absolute; left: 0; right: 0; top: auto; bottom: 0; height: 440px; min-height: 0; max-height: none; order: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60%); mask-image: linear-gradient(180deg, transparent 0, #000 60%);
  }
  .hero--b .hero__resp { display: none; }
  .hero--b .hero__ref { display: block; position: relative; inset: auto; width: min(76vw, 300px); margin: .4rem auto 3rem; }
}

.publics { margin: .9rem 0 0; color: var(--muted); font-size: .96rem; max-width: 62ch; }
.section-head > div p { margin: 0 0 .7rem; color: var(--muted); }
.section-head > div p:last-child { margin-bottom: 0; }
.case__body dl { margin-bottom: 1.2rem; }
.founder__name { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 460; letter-spacing: -0.035em; color: var(--ink); margin: 0 0 .3rem; }
.founder__role { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe) !important; margin: 0 0 1.4rem; }
.founder__body .founder__cred { margin: 1.2rem 0 1.6rem; }
.network p { color: #d5e6d8; position: relative; z-index: 1; }
.person p + p { margin-top: .6rem; }
.tech__more { justify-content: flex-start; }

/* metodo: meno scorrimento */
.story.is-live { height: 380vh; }

/* pagine di servizio: blocchi differenziati */
.svc-hero__lead p { margin: 0 0 .75rem; }
.svc-hero__lead p:last-child { margin-bottom: 0; }
.svc-hero__lead p:first-child { color: var(--ink); }
.psteps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.psteps--3 li { padding: 1.6rem 1.5rem 1.7rem; }
.psteps--3 h3 { font-size: 1.2rem; }
.psteps--3 p { font-size: .96rem; }
@media (max-width: 1000px) { .psteps--3 { grid-template-columns: 1fr; } }
.prose p { margin: 0 0 1rem; color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 40em; }
.prose p:first-child { color: var(--ink); font-size: 1.18rem; line-height: 1.5; }
.prose p:last-child { margin-bottom: 0; }
.prose .btn { margin-top: .6rem; }
.twin p { margin: 0; color: var(--muted); }
.twin .label { color: var(--green); }
.twin__lt { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green) !important; margin-top: .4rem !important; }
.twin__defs { margin: .4rem 0 0; display: grid; gap: .7rem; }
.twin__defs div { display: grid; grid-template-columns: 3.4rem 1fr; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; background: var(--green-mist); }
.twin__defs dt { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--green-deep); }
.twin__defs dd { margin: 0; color: var(--ink); font-size: .94rem; }
.duo__card > p:not(.label) { margin: 0; color: var(--muted); }
.cmp-toggle { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.cmp-toggle button { min-height: 40px; padding: 0 1rem; border-radius: 100px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: .84rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.cmp-toggle button:hover, .cmp-toggle button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* modulo */
.sub-field { display: none; margin: 1.1rem 0 0; }
.form:has(input[name="tipo"][value="cantiere"]:checked) .sub-field { display: block; }
.sub-field legend small, .when-field legend small { font-weight: 400; color: var(--muted); }
.fields__hint { grid-column: 1 / -1; margin: -.5rem 0 0; font-size: .8rem; color: var(--muted); }
.field__error--block { display: none; color: #b2402a; font-size: .82rem; margin: .5rem 0 0; }
.form__done p + p { margin-top: .6rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }
.form :focus-visible { outline-color: var(--green); }
.svc-hero h1 { overflow-wrap: break-word; }
@media (max-width: 430px) { .svc-hero h1 { font-size: 1.78rem; } }
.sub-field { margin-bottom: 1.2rem; }
.svc-hero__grid > * { min-width: 0; }
@media (max-width: 480px) { .svc-hero .hero__ctas .btn { white-space: normal; text-align: left; } }
.svc-two > * { min-width: 0; }
@media (max-width: 480px) { .prose .btn { white-space: normal; text-align: left; } }
