/* N2 — Soluzioni per interni ed esterni. Struttura dal design "Noi2Tendaggi Mobile", versione Velluto (tenda che si apre allo scroll),
   palette e tipografia dal documento aziendale N2 2026/27. Desktop da 900px. */
:root {
  /* Palette N2: avorio caldo, crema sabbia, beige logo, taupe, antracite, salvia (solo accento) */
  --cream: #F7F4ED; --sand: #E8E1D5; --sand2: #CFC8B8; --taupe: #A89C8A; --ink: #292A26; --night: #20211D; --sage: #858B78;
  --bronze: #6F6656; --gold: #CFC8B8; --mute: #55534B; --mute2: #8E8A80;
  --pad: 24px; --max: 1280px; --hdr-h: 104px;
  --open: 1; --hero: 1; --solid: 0; --bar: 0;
  --title: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}
.js { --open: 0; --hero: 0; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Figtree', system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bronze); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
@media (max-width: 899px) { .d-only { display: none !important; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Titoli e testi */
.h1, .h2, .h4 { font-family: var(--title); font-weight: 500; letter-spacing: -.005em; }
.h1 { margin: 0; font-size: 36px; line-height: 1.08; text-wrap: balance; }
.h2 { margin: 0; font-size: 32px; line-height: 1.1; text-wrap: balance; }
.h2--lg { font-size: 36px; line-height: 1.05; }
.h2--xl { font-size: 40px; line-height: 1.05; }
.h4 { margin: 0; font-weight: 600; font-size: 21px; line-height: 1.25; }
.eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.body, .lead { margin: 0; font-size: 16px; line-height: 1.65; color: var(--mute); text-wrap: pretty; }
.lead { font-size: 17px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--bronze); white-space: nowrap; }

/* Pulsanti a pillola */
.pill { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.pill--big { height: 52px; font-size: 15px; padding: 0 26px; }
.pill--solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill--solid:hover { background: var(--bronze); border-color: var(--bronze); color: var(--cream); }
.pill--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pill--light:hover { background: var(--sand); color: var(--ink); }
.pill--line { color: var(--cream); border-color: var(--cream); }
.pill--line:hover { background: var(--cream); color: var(--ink); }
.pill--dark-line { color: var(--ink); border-color: var(--ink); }
.pill--dark-line:hover { background: var(--ink); color: var(--cream); }

/* ---------------------------------------------------------------- Header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: calc(env(safe-area-inset-top) + 12px);
  background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--sand2);
  background: color-mix(in srgb, var(--cream) calc(var(--solid) * 100%), transparent);
  color: color-mix(in srgb, var(--ink) calc(max(1 - var(--open) * 2, var(--solid)) * 100%), var(--cream));
  border-bottom-color: color-mix(in srgb, var(--sand2) calc(var(--solid) * 100%), transparent); }
.hdr.is-solid { --solid: 1; }
.hdr-top { display: flex; justify-content: center; gap: 14px; padding: 0 16px 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 20px 14px; max-width: var(--max); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { height: 30px; width: auto; display: block; }
.hdr a:hover { color: inherit; opacity: .7; }
.hdr-nav { display: none; }
.hdr-act { display: flex; gap: 8px; align-items: center; }
.hdr-menu { width: 44px; height: 44px; border-radius: 999px; border: 1px solid currentColor; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.hdr-menu span { width: 16px; height: 1px; background: currentColor; }
.hdr .pill--solid { background: currentColor; border-color: currentColor; }
.hdr .pill--solid, .hdr .pill--solid svg { color: inherit; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 28px) 24px 40px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-x { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--cream); background: transparent; color: var(--cream); font-size: 20px; cursor: pointer; }
.menu-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 56px; }
.menu-nav a { font-family: var(--title); font-weight: 500; font-size: 36px; line-height: 1.3; border-bottom: 1px solid rgba(207,200,184,.18); padding: 8px 0; }
.menu-nav a:hover { color: var(--sand2); }
.menu .brand svg { color: var(--sand2); }
.menu-foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--sand2); }

/* -------------------------------------------------- Hero con la tenda in velluto */
.stage { position: relative; height: 100svh; }
.js .stage { height: 300svh; }
.stage-in { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--night); }
.stage-bg, .stage-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-bg img { object-fit: cover; object-position: center; transform: scale(calc(1.03 + var(--open) * 0.012 + var(--hero) * 0.035)); will-change: transform; }
.stage-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32,33,29,.6), rgba(32,33,29,.2) 35%, rgba(32,33,29,.85)); }
.stage-dark { position: absolute; inset: 0; background: var(--night); opacity: calc(0.3 - var(--open) * 0.12 - var(--hero) * 0.18); }
.curtain { position: absolute; inset: 0; z-index: 3; pointer-events: none; --ring: 58px; }
/* Tenda vera in WebGL (curtain.js); i teli CSS qui sotto restano solo come riserva */
.curtain-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.has-gl .voile { display: none; }
/* Velluto chiaro: pieghe morbide avorio, crema e beige, lucentezza sul colmo, ombre taupe nel fondo delle pieghe */
.voile { position: absolute; top: 0; width: 51%; height: 100%; transform: scaleX(calc(1 - var(--open) * 0.97)); will-change: transform;
  background:
    radial-gradient(120% 45% at 50% 0%, rgba(255,255,255,.35), transparent 70%),
    linear-gradient(180deg, rgba(120,108,92,.18), transparent 14%, transparent 80%, rgba(110,100,86,.30)),
    repeating-linear-gradient(90deg, #b3a998 0, #cdc5b5 calc(var(--ring) * .18), #e9e3d7 calc(var(--ring) * .38), #f7f3ea calc(var(--ring) * .47), #e2dbce calc(var(--ring) * .62), #c4bba9 calc(var(--ring) * .84), #b3a998 var(--ring)); }
.voile--l { left: 0; transform-origin: left center; box-shadow: inset -22px 0 36px rgba(110,100,86,.35), 12px 0 30px rgba(41,42,38,.25); }
.voile--r { right: 0; transform-origin: right center; box-shadow: inset 22px 0 36px rgba(110,100,86,.35), -12px 0 30px rgba(41,42,38,.25); }
.stage-hero { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(44px + env(safe-area-inset-bottom)); z-index: 5; display: flex; flex-direction: column; gap: 22px; color: var(--cream);
  opacity: var(--hero); transform: translateY(calc((1 - var(--hero)) * 40px)); visibility: visible; }
.stage-hero p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--sand); }
.stage-btns { display: flex; flex-direction: column; gap: 10px; }
.stage-btns .pill { width: 100%; }
.is-curtain .stage-hero { pointer-events: none; }

/* ---------------------------------------------------------------- Sezioni */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 24px; background: var(--ink); color: var(--sand); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.sec { padding: 72px var(--pad); display: flex; flex-direction: column; gap: 28px; max-width: var(--max); margin: 0 auto; }
.sec + .sec.values { padding-top: 0; }
.approach-img { width: 100%; aspect-ratio: 3/4; border-radius: 999px 999px 6px 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(41,42,38,.25); background: var(--sand); }
.approach-img img, .value-img img, .sol-img img, .partner-img img, .work-img img, .prod-img img, .gal img, .work-cover img { width: 100%; height: 100%; object-fit: cover; }
.approach-txt, .partner-txt { display: flex; flex-direction: column; gap: 22px; }
.approach-img { order: -1; }
.approach { gap: 28px; }
.values-g { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 14px; }
.value { display: flex; flex-direction: column; gap: 10px; }
.value-img { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; background: var(--sand); }
.value .h4 { font-size: 14px; }
.value p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mute); }

.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 48px var(--pad); background: var(--sand); }
.nums div { display: flex; flex-direction: column; gap: 6px; }
.nums strong { font-family: var(--title); font-weight: 500; font-size: 40px; line-height: 1; }
.nums span { font-size: 13px; color: var(--mute); line-height: 1.4; }

.sec-full { padding: 72px 0; display: flex; flex-direction: column; gap: 28px; }
.sols { background: var(--sand); }
.sols-h { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; width: 100%; max-width: var(--max); margin: 0 auto; }
.sec .sols-h { padding: 0; }
.sols-h > div { display: flex; flex-direction: column; gap: 14px; }
.sols-lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mute); max-width: 520px; }
.sols-hint { font-size: 12px; color: var(--bronze); white-space: nowrap; }
.sols-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 8px; scrollbar-width: none; scroll-padding: 0 var(--pad); }
.sols-row::-webkit-scrollbar { display: none; }
.sol { flex: 0 0 72%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.sol:hover { color: var(--ink); }
.sol-img { aspect-ratio: 3/4.2; overflow: hidden; border-radius: 999px 999px 4px 4px; background: var(--sand2); }
.sol-img img { transition: transform .6s ease; }
.sol:hover .sol-img img { transform: scale(1.04); }
.sol-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sol-t span { color: var(--bronze); }
.sol p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mute); }

.sec-dark { background: var(--ink); color: var(--cream); }
.method { padding: 72px var(--pad); display: flex; flex-direction: column; gap: 24px; }
.method-h { display: flex; flex-direction: column; gap: 24px; }
.method-h p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sand2); }
.method-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(207,200,184,.25); }
.method-l li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid rgba(207,200,184,.25); }
.method-n { font-family: var(--title); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1; color: var(--sage); }
.method-l div { display: flex; flex-direction: column; gap: 8px; }
.method-l p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--sand2); }

.partner { gap: 24px; }
.partner-img { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; background: var(--sand); }
.story summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--bronze); list-style: none; }
.story summary::-webkit-details-marker { display: none; }
.story summary::after { content: ' +'; }
.story[open] summary::after { content: ' −'; }
.story .body { margin-top: 14px; }

.works { background: var(--cream); }
.works-g { display: grid; gap: 28px; padding: 0 var(--pad); width: 100%; max-width: var(--max); margin: 0 auto; }
.page .works-g, .sec-plain .works-g { padding: 0; }
.work { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.work-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: var(--sand); }
.work-meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }

.reviews-g { display: grid; gap: 16px; }
.review { margin: 0; background: #fff; border: 1px solid var(--sand); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mute); }
.review figcaption { font-size: 13px; color: var(--bronze); }
.stars { color: var(--gold); letter-spacing: .1em; font-size: 14px; }
.stars .off { color: var(--sand2); }
.reviews-score { font-size: 14px; color: var(--mute); }
.reviews-score a { text-decoration: underline; }

.faq-l { border-top: 1px solid var(--sand2); }
.faq-l details { border-bottom: 1px solid var(--sand2); }
.faq-l summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 16px; line-height: 1.4; }
.faq-l summary::-webkit-details-marker { display: none; }
.faq-l summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 300; color: var(--bronze); }
.faq-l details[open] summary::after { content: '−'; }
.faq-l p { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--mute); max-width: 760px; }

/* --------------------------------------------------------------- Contatti */
.contact { padding: 80px var(--pad) 120px; background: var(--night); color: var(--cream); }
.contact-in { max-width: calc(var(--max) - var(--pad) * 2); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.contact-l { display: flex; flex-direction: column; gap: 28px; }
.contact-lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sand2); max-width: 480px; }
.contact-quick { display: flex; flex-direction: column; gap: 10px; }
.contact-quick .pill { height: 52px; font-size: 15px; }
.contact-info { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; border-top: 1px solid rgba(207,200,184,.2); font-size: 14px; color: var(--sand2); }
.contact-info a:hover { color: var(--gold); }
.contact-brand { display: flex; align-items: center; gap: 14px; color: var(--sand2); margin-bottom: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.contact-brand svg { height: 44px; width: auto; display: block; }
.contact-logo { max-width: 200px; max-height: 60px; object-fit: contain; object-position: left; margin-bottom: 6px; }
.contact-social { display: flex; gap: 20px; margin-top: 10px; }
.hours { margin: 8px 0 0; display: grid; gap: 4px; max-width: 320px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: var(--mute2); }
.hours dd { margin: 0; }
.qform { display: flex; flex-direction: column; gap: 14px; background: rgba(247,244,237,.04); border: 1px solid rgba(207,200,184,.18); border-radius: 20px; padding: 24px 20px; }
.qform-t { margin: 0 0 4px; font-family: var(--title); font-weight: 600; font-size: 24px; line-height: 1.2; }
.qform-g { display: grid; gap: 14px; }
.qform label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .04em; color: var(--sand2); }
.qform input, .qform select, .qform textarea { width: 100%; border: 1px solid rgba(207,200,184,.3); border-radius: 12px; background: rgba(247,244,237,.06); color: var(--cream); padding: 13px 14px; font-size: 16px; outline: none; }
.qform select option { color: var(--ink); }
.qform textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.qform input:focus, .qform select:focus, .qform textarea:focus { border-color: var(--gold); }
.qform ::placeholder { color: var(--mute2); }
.qform-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--mute2); }
.qform-note a { text-decoration: underline; }
.qform button { width: 100%; }
.qform button[disabled] { opacity: .6; cursor: wait; }
.qform-msg { margin: 0; font-size: 14px; color: var(--sand2); min-height: 1em; }
.qform-msg.err { color: #f0a594; }
.qform.done .qform-g, .qform.done label, .qform.done button, .qform.done .qform-note { display: none; }
.qform.done .qform-msg { font-size: 16px; }

.foot { background: var(--night); color: var(--mute2); border-top: 1px solid rgba(207,200,184,.12); padding: 24px var(--pad) calc(100px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; font-size: 12px; line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a:hover { color: var(--gold); }

.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px; opacity: var(--bar); transform: translateY(calc((1 - var(--bar)) * 90px)); transition: opacity .3s, transform .3s; pointer-events: none; }
.mbar.on { pointer-events: auto; }
.mbar a { height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 14px; font-weight: 500; }
.mbar-a { flex: 1; background: var(--cream); color: var(--ink); box-shadow: 0 10px 30px rgba(41,42,38,.25); }
.mbar-b { flex: 1.4; background: var(--ink); color: var(--cream); box-shadow: 0 10px 30px rgba(41,42,38,.35); }
.mbar a:hover { color: inherit; }

/* ---------------------------------------------------------- Pagine interne */
.is-inner { padding-top: calc(env(safe-area-inset-top) + 100px); }
.page { max-width: var(--max); margin: 0 auto; padding: 32px var(--pad) 80px; display: flex; flex-direction: column; gap: 48px; }
.page-h { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.h1--page { font-size: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute2); }
.crumbs a:hover { color: var(--bronze); }
.crumbs [aria-current] { color: var(--bronze); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; }
.sol--grid { flex: none; }
.prod { display: flex; flex-direction: column; gap: 32px; }
.prod-txt { display: flex; flex-direction: column; gap: 20px; }
.prod-img { aspect-ratio: 3/4; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--sand); box-shadow: 0 30px 60px rgba(41,42,38,.2); order: -1; }
.prod-sub { margin-top: 8px; }
.prod-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; color: var(--mute); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .65em; width: 10px; height: 1px; background: var(--sage); }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--sand2); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.gal { display: grid; gap: 14px; }
.gal figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gal figure img { aspect-ratio: 4/3; border-radius: 4px; background: var(--sand); }
.gal figcaption { font-size: 13px; color: var(--mute2); }
.sec-plain { display: flex; flex-direction: column; gap: 28px; }
.facts { margin: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.facts dd { margin: 0; font-size: 15px; }
.facts a { text-decoration: underline; }
.work-cover { aspect-ratio: 16/10; border-radius: 4px; overflow: hidden; background: var(--sand); }
.work-body { display: grid; gap: 32px; max-width: 820px; }
.work-body section { display: flex; flex-direction: column; gap: 14px; }
.ba { display: grid; gap: 28px; }
.ba > div { display: flex; flex-direction: column; gap: 14px; }

.legal { max-width: 820px; font-size: 15.5px; line-height: 1.7; color: var(--mute); }
.legal h2 { font-family: var(--title); font-weight: 600; font-size: 24px; color: var(--ink); margin: 36px 0 10px; }
.legal a { color: var(--bronze); text-decoration: underline; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal-upd { margin-top: 34px; font-size: 13.5px; color: var(--mute2); }
.table-x { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.5; min-width: 620px; }
.legal th { text-align: left; color: var(--ink); padding: 10px 8px; border-bottom: 2px solid var(--ink); }
.legal td { padding: 10px 8px; border-bottom: 1px solid var(--sand2); vertical-align: top; }
.legal table.kv { min-width: 0; font-size: 15.5px; }
.legal .kv th { border-bottom: 1px solid var(--sand2); padding: 12px 16px 12px 0; white-space: nowrap; vertical-align: top; }
.legal .kv td { padding: 12px 0; }

/* ---------------------------------------------------------------- Desktop */
@media (min-width: 600px) {
  .sol { flex-basis: 42%; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .works-g, .reviews-g, .gal { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --pad: 48px; --hdr-h: 94px; }
  .m-only { display: none !important; }
  .h1 { font-size: clamp(44px, 4.6vw, 72px); line-height: 1.02; }
  .h1--page { font-size: clamp(40px, 4vw, 60px); }
  .h2 { font-size: clamp(36px, 3.3vw, 52px); }
  .h2--lg { font-size: clamp(40px, 3.8vw, 58px); }
  .h2--xl { font-size: clamp(44px, 4.4vw, 66px); }
  .h4 { font-size: 22px; }
  .lead { font-size: 19px; }
  .body { font-size: 17px; }

  .hdr-top { justify-content: flex-start; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 4px; }
  .hdr-row { padding: 6px var(--pad) 16px; gap: 24px; }
  .brand svg { height: 34px; }
  .hdr-nav { display: flex; gap: 30px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
  .hdr-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
  .hdr .pill { font-size: 12px; letter-spacing: .08em; }
  .hdr .pill--solid { color: var(--cream); background: var(--ink); border-color: var(--ink); }
  .hdr:not(.is-solid) .pill--solid { background: color-mix(in srgb, var(--ink) calc(max(1 - var(--open) * 2, var(--solid)) * 100%), var(--cream)); border-color: transparent;
    color: color-mix(in srgb, var(--cream) calc(max(1 - var(--open) * 2, var(--solid)) * 100%), var(--ink)); }

  .stage-hero { left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); right: auto; max-width: 660px; bottom: 9vh; gap: 26px; }
  .stage-hero p { font-size: 18px; max-width: 520px; }
  .stage-btns { flex-direction: row; }
  .stage-btns .pill { width: auto; }

  .trust { grid-template-columns: repeat(4, auto); justify-content: space-between; padding: 26px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); font-size: 12px; }
  .sec { padding: 120px var(--pad); gap: 40px; }
  .approach { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: 8vw; }
  .approach-txt { gap: 28px; max-width: 520px; }
  .values-g { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .value .h4 { font-size: 15px; }
  .value p { font-size: 15px; }
  .nums { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding: 64px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
  .nums strong { font-size: 56px; }
  .sec-full { padding: 120px 0; gap: 44px; }
  .sols-row { gap: 22px; padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 8px; scroll-padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
  .sol { flex-basis: calc((min(100vw, var(--max)) - var(--pad) * 2 - 22px * 3) / 4); }
  .method { display: grid; grid-template-columns: 5fr 7fr; gap: 8vw; padding: 120px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); align-items: start; }
  .method-h { position: sticky; top: 140px; gap: 28px; }
  .method-h p { font-size: 18px; }
  .method-l li { grid-template-columns: 90px 1fr; padding: 32px 0; }
  .method-n { font-size: 40px; }
  .method-l .h4 { font-size: 24px; }
  .method-l p { font-size: 16px; max-width: 520px; }
  .partner { display: grid; grid-template-columns: 6fr 5fr; align-items: center; gap: 8vw; }
  .partner-txt { gap: 28px; max-width: 540px; }
  .works-g { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .reviews-g { grid-template-columns: repeat(3, 1fr); }
  .faq { display: grid; grid-template-columns: 4fr 7fr; gap: 8vw; align-items: start; }
  .faq-l summary { font-size: 17px; }

  .contact { padding: 130px var(--pad) 110px; }
  .contact-in { display: grid; grid-template-columns: 5fr 6fr; gap: 8vw; align-items: start; }
  .contact-quick { flex-direction: row; }
  .contact-quick .pill { padding: 0 28px; }
  .qform { padding: 36px 34px; gap: 16px; }
  .qform-g { grid-template-columns: 1fr 1fr; }
  .qform button { width: auto; align-self: flex-start; }
  .foot { flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 26px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
  .foot > span:first-child { flex-basis: 100%; }
  .mbar { display: none; }

  .is-inner { padding-top: 110px; }
  .page { padding: 56px var(--pad) 120px; gap: 72px; }
  .prod { display: grid; grid-template-columns: 7fr 5fr; gap: 7vw; align-items: start; }
  .prod-img { order: 0; position: sticky; top: 130px; }
  .prod-txt { gap: 24px; }
  .gal { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .gal--2 { grid-template-columns: 1fr 1fr; }
  .ba { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .sol { flex-basis: calc((min(100vw, var(--max)) - var(--pad) * 2 - 22px * 4) / 5); }
}

@media (prefers-reduced-motion: reduce) {
  .js .stage { height: 100svh; }
  .js { --open: 1; --hero: 1; }
  .sol-img img, .mbar { transition: none; }
}

/* Header tra 900 e 1100 px: niente numero per esteso, menu più compatto */
.pill svg { display: block; flex: none; }
.hdr-nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1099px) {
  .hdr-nav { gap: 18px; }
  .hdr-tel .d-only { display: none !important; }
  .hdr-tel .m-only { display: inline !important; }
}

/* Marchio N2 + descrittore */
.brand-d { font-family: 'Figtree', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
@media (max-width: 420px) { .hdr .brand-d { display: none; } }


/* Riquadro in attesa delle foto reali */
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--title); font-weight: 600; font-size: 44px; color: rgba(41,42,38,.18); background: linear-gradient(160deg, var(--sand2), var(--sand)); }

.brands { margin: 0; font-size: 14px; letter-spacing: .04em; color: var(--bronze); }

/* Promozioni */
.promos-g { display: grid; gap: 20px; }
.promo { display: grid; background: #fff; border: 1px solid var(--sand); border-radius: 6px; overflow: hidden; }
.promo-img { aspect-ratio: 16/10; background: var(--sand); }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-txt { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) {
  .promos-g { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 28px; }
  .promo { grid-template-columns: 1fr 1fr; }
  .promo-img { aspect-ratio: auto; min-height: 260px; }
  .promo-txt { padding: 32px; justify-content: center; }
}

/* Reparti nei contatti */
.dept { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dept span { color: var(--mute2); min-width: 120px; }

/* Cifre allineate (il serif usa di default le cifre "minuscole") */
.h1, .h2, .h4, .nums strong, .method-n { font-variant-numeric: lining-nums; }
.nums { background: var(--cream); border-top: 1px solid var(--sand2); border-bottom: 1px solid var(--sand2); }
