/* Odyra: filigrana. Carta di sicurezza nei colori del logo: blu notte, ciano, guilloché. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2'); }

:root {
  --ink: #071A3A;
  --ink-2: #0C2650;
  --ink-3: #133A72;
  --cyan: #5CCBF0;
  --cyan-hi: #A8E6F9;
  --cyan-deep: #0F6E99;
  --paper: #EEF3F8;
  --paper-2: #E1E9F2;
  --text: #0B1B36;
  --text-soft: #43526C;
  --on-ink: #E7EEF8;
  --on-ink-soft: #B3C5DD;
  --rule: #C7D3E2;
  --ink-rule: rgba(92, 203, 240, .2);
  --wrap: 76rem;
  --gut: clamp(1rem, 4vw, 3rem);
  --sans: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scrollbar-color: var(--ink-3) var(--paper-2); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.125rem/1.6 var(--sans); font-stretch: 100%; }
::selection { background: var(--cyan); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--cyan-deep); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 20; background: var(--cyan); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: .5rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ink { background: var(--ink); color: var(--on-ink); position: relative; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }

h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 780; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; max-width: 18ch; }
h3 { font-size: 1.3rem; font-weight: 720; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.3; }
.display { font-size: clamp(3rem, 6.6vw, 5.8rem); font-weight: 820; font-stretch: 118%; letter-spacing: -.04em; line-height: .96; color: #fff; text-wrap: balance; max-width: 12ch; }
.display-2 { color: #fff; }
.sec-lead { margin-top: 1.2rem; max-width: 38rem; font-size: 1.18rem; color: var(--text-soft); }
.ink .sec-lead { color: var(--on-ink-soft); }

/* Bottoni */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.b { display: inline-flex; align-items: center; min-height: 3.1rem; padding: .75rem 1.5rem; border-radius: 99px; font-weight: 680; font-stretch: 108%; text-decoration: none; border: 1.5px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.b-cyan { background: var(--cyan); color: var(--ink); }
.b-cyan:hover { background: var(--cyan-hi); }
.b-line { border-color: rgba(168, 230, 249, .5); color: var(--on-ink); }
.b-line:hover { border-color: var(--cyan); color: #fff; }
.b-ink { background: var(--ink); color: #fff; }
.b-ink:hover { background: var(--ink-3); }

/* Apertura */
.hero { overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero-guilloche, .close-guilloche { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero-lead { margin-top: 1.8rem; max-width: 33rem; font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--on-ink); }

/* La banconota */
.note-wrap { margin: 0; }
.note { --lx: 30%; --ly: 50%; position: relative; aspect-ratio: 1.9 / 1; border-radius: 1rem; overflow: hidden; isolation: isolate; cursor: crosshair;
  background: radial-gradient(120% 140% at 15% 20%, #163F7C 0%, var(--ink-2) 55%, #081D42 100%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(168, 230, 249, .18) inset; transform: rotate(-3deg); }
.note::before { /* cornice incisa */ content: ''; position: absolute; inset: .9rem; border: 1px solid rgba(168, 230, 249, .28); border-radius: .55rem; z-index: 2; pointer-events: none; }
.note::after { /* la luce dietro la carta */ content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: var(--lit, 0);
  background: radial-gradient(circle 11rem at var(--lx) var(--ly), rgba(214, 244, 255, .26), rgba(214, 244, 255, .06) 55%, transparent 75%); mix-blend-mode: screen; transition: opacity .35s var(--ease); }
.note-guilloche { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.note-thread { position: absolute; top: 0; bottom: 0; left: 68%; width: .7rem; z-index: 1;
  background: repeating-linear-gradient(180deg, rgba(92, 203, 240, .95) 0 1.4rem, rgba(92, 203, 240, .25) 1.4rem 2.1rem); box-shadow: 0 0 0 1px rgba(7, 26, 58, .6); }
.note-face { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-rows: auto 1fr auto auto; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 3.2vw, 2.4rem); }
.note-kind { font-stretch: 120%; font-weight: 700; font-size: .95rem; color: var(--cyan-hi); }
.note-brand { align-self: center; display: block; }
.note-brand input { width: 100%; background: transparent; border: 0; padding: 0; margin: 0; color: #fff; font: 820 clamp(1.9rem, 4.2vw, 3.5rem)/1.05 var(--sans); font-stretch: 122%; letter-spacing: -.03em; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); caret-color: var(--cyan); border-bottom: 2px dashed transparent; }
.note-brand input:hover, .note-brand input:focus { outline: none; border-bottom-color: rgba(92, 203, 240, .7); }
.note-channels { font-size: .92rem; color: var(--on-ink-soft); max-width: 60%; }
.note-serial { margin-top: .5rem; justify-self: end; font: 500 .9rem var(--mono); letter-spacing: .12em; color: var(--cyan); }
.note-wm { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 1.2rem; pointer-events: none;
  -webkit-mask: radial-gradient(circle 10rem at var(--lx) var(--ly), #000 0%, #000 35%, rgba(0, 0, 0, var(--wm-rest, .07)) 75%);
  mask: radial-gradient(circle 10rem at var(--lx) var(--ly), #000 0%, #000 35%, rgba(0, 0, 0, var(--wm-rest, .07)) 75%); }
.note-wm-mark { width: 26%; aspect-ratio: 126 / 158; background: rgba(214, 244, 255, .55); -webkit-mask: url('/assets/logos/odyra-mark.png') center / contain no-repeat; mask: url('/assets/logos/odyra-mark.png') center / contain no-repeat; }
.note-wm-word { font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: .04em; color: rgba(214, 244, 255, .5); }
.note-cap { margin-top: 1.6rem; font-size: .95rem; color: var(--on-ink-soft); max-width: 30rem; }
.cap-touch { display: none; }
@media (hover: none) { .cap-pointer { display: none; } .cap-touch { display: inline; } }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } .note { transform: rotate(-2deg); } }

/* Per chi: il registro */
.who { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.ledger { margin-top: 3rem; border-top: 2px solid var(--text); }
.ledger li { position: relative; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 14rem); gap: 1.2rem clamp(1.5rem, 4vw, 3.5rem); align-items: baseline; padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
.ledger h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-stretch: 112%; }
.ledger li > p:not(.ledger-proof) { color: var(--text-soft); max-width: 40rem; }
.ledger-proof { justify-self: end; font-weight: 650; font-size: .95rem; color: var(--cyan-deep); text-align: right; }
@media (max-width: 860px) { .ledger li { grid-template-columns: 1fr; } .ledger-proof { justify-self: start; text-align: left; } }

/* La fabbrica: il filo di sicurezza attraversa i passaggi */
.factory { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.line-wrap { position: relative; margin-top: 3.2rem; }
.line-thread { position: absolute; left: 1.2rem; top: .4rem; bottom: .4rem; width: 4px; background: rgba(92, 203, 240, .16); border-radius: 2px; }
.line-thread i { display: block; height: 100%; background: repeating-linear-gradient(180deg, var(--cyan) 0 1.4rem, rgba(92, 203, 240, .45) 1.4rem 2rem); transform-origin: top; }
.line { counter-reset: s; display: grid; gap: 2.4rem; }
.line li { counter-increment: s; position: relative; display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: .6rem 2.5rem; padding-left: 4.4rem; align-items: baseline; }
.line li::before { content: counter(s); position: absolute; left: 0; top: -.35rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 2px solid var(--cyan); color: var(--cyan); font-weight: 760; font-stretch: 80%; font-size: 1.1rem; }
.line h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.line p { color: var(--on-ink-soft); max-width: 36rem; }
@media (max-width: 860px) { .line li { grid-template-columns: 1fr; padding-left: 3.6rem; } .line-thread { left: 1.15rem; } }

.does { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: 2.2rem; border-top: 1px solid var(--ink-rule); }
.does-h { color: var(--cyan-hi); font-stretch: 115%; }
.does-list { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem clamp(1.5rem, 3vw, 2.5rem); }
.does-list li { position: relative; padding-left: 1.6rem; color: var(--on-ink-soft); }
.does-list li::before { content: ''; position: absolute; left: 0; top: .45em; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--cyan); }
.does-list b { color: #fff; font-weight: 680; }
@media (max-width: 860px) { .does-list { grid-template-columns: 1fr; } }

/* Spazi per foto e video */
.slot { margin: 0; }
.slot-box { display: grid; place-items: center; align-content: center; gap: 1rem; text-align: center; padding: 2rem; border-radius: .7rem; color: var(--ink-3);
  border: 1.5px dashed rgba(19, 58, 114, .45); background: repeating-linear-gradient(135deg, rgba(19, 58, 114, .05) 0 12px, transparent 12px 24px), var(--paper-2); }
.paper-2 .slot-box { background-color: var(--paper); }
.slot-icon { width: 3rem; height: 3rem; }
.slot-box p { display: grid; gap: .3rem; max-width: 26rem; color: var(--text-soft); font-size: .98rem; }
.slot-box b { color: var(--ink-3); font-stretch: 110%; font-size: 1.05rem; }
.slot-video .slot-box { aspect-ratio: 16 / 9; }
.slot-photo .slot-box { aspect-ratio: 16 / 10; }
.slot-wide .slot-box { aspect-ratio: 16 / 9; }
.film { padding: clamp(4rem, 9vw, 7rem) 0; }
.film .slot { margin-top: 2.5rem; }
/* Video: copertina disegnata, il video parte al clic */
.film.ink { padding: clamp(4.5rem, 10vw, 8rem) 0; overflow: hidden; }
.film-head { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
@media (min-width: 60rem) { .film-head { grid-template-columns: 1.1fr 1fr; } .film-head .sec-lead { margin: 0; } }
.film-head h2 { max-width: 14ch; }
.film-aside { margin-top: 1.6rem; color: var(--on-ink-soft); }
.film-aside a { color: var(--cyan-hi); text-underline-offset: .2em; }
.reel { position: relative; margin: 0; border-radius: 1rem; overflow: hidden; background: var(--ink); isolation: isolate;
  box-shadow: 0 0 0 1px var(--ink-rule), 0 40px 80px -40px rgba(0, 0, 0, .85); }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.reel-play { display: none; }
.js .reel-play { position: absolute; inset: 0 0 auto; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: clamp(.8rem, 2vw, 1.5rem);
  padding: clamp(1.2rem, 4.5vw, 3.6rem); border: 0; background: none; color: #fff; text-align: left; font: inherit; cursor: pointer; transition: opacity .6s var(--ease), visibility .6s; }
.reel-title { max-width: 17ch; font-weight: 800; font-stretch: 116%; font-size: clamp(1.35rem, 3.7vw, 3.3rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.reel-meta { display: inline-flex; align-items: center; gap: .9rem; font-weight: 600; font-size: clamp(.9rem, 1.4vw, 1.05rem); color: var(--on-ink-soft); }
.reel-dur { font-family: var(--mono); font-weight: 500; color: var(--cyan-hi); }
.reel-icon { flex: none; width: clamp(2.8rem, 5vw, 4rem); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: var(--ink);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .6); transition: transform .5s var(--ease), background .3s; }
.reel-icon svg { width: 42%; margin-left: 8%; }
.reel-play:hover .reel-icon { transform: scale(1.08); background: var(--cyan-hi); }
.reel-play:focus-visible { outline-offset: -6px; }
.reel.playing .reel-play { opacity: 0; visibility: hidden; }
.reel-what { margin-right: .2rem; }
.reel video { cursor: pointer; }
.reel-bar { transition: opacity .4s var(--ease); }
.reel:not(.playing) .reel-bar { opacity: .55; }
.reel-bar { display: flex; align-items: center; gap: clamp(.4rem, 1.5vw, 1rem); padding: .7rem clamp(.7rem, 2vw, 1.3rem); background: #06142E; border-top: 1px solid var(--ink-rule); color: var(--on-ink); }
.reel-bar button { flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--on-ink); cursor: pointer; transition: background .2s, color .2s; }
.reel-bar button:hover { background: rgba(92, 203, 240, .14); color: #fff; }
.reel-bar .rb-play { background: var(--cyan); color: var(--ink); }
.reel-bar .rb-play:hover { background: var(--cyan-hi); color: var(--ink); }
.reel-bar svg { width: 1.25rem; height: 1.25rem; }
.rb-time { flex: none; font: 500 .85rem var(--mono); color: var(--on-ink-soft); font-variant-numeric: tabular-nums; }
.rb-seek { --p: 0%; flex: 1; min-width: 4rem; height: 1.6rem; margin: 0; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.rb-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan) var(--p), rgba(179, 197, 221, .25) var(--p)); }
.rb-seek::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan) var(--p), rgba(179, 197, 221, .25) var(--p)); }
.rb-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; }
.rb-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.rb-seek:focus-visible { outline-offset: 2px; }
.reel:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; background: #000; }
.reel:fullscreen video { flex: 1; min-height: 0; aspect-ratio: auto; object-fit: contain; background: #000; }
.reel:fullscreen .reel-play { display: none; }
@media (max-width: 40rem) { .rb-mute { display: none !important; } .rb-time { font-size: .78rem; } }
@media (max-width: 40rem) { .reel-what { display: none; } .js .reel-play { gap: .7rem; } }
.sol-film { margin-top: 2.2rem; }
.sol-film .reel-title { font-size: clamp(1.25rem, 2.3vw, 1.9rem); }
.sol-film .reel-meta { font-size: .9rem; }

/* Clienti */
.clients { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(3rem, 6vw, 4.5rem); }
.case + .case { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.case-flip .case-copy { order: 2; }
.case h3 { font-size: clamp(2rem, 3.6vw, 3rem); font-stretch: 116%; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.case-sub { margin-top: .7rem; font-size: 1.2rem; font-weight: 620; color: var(--ink-3); }
.case-copy > p:not(.case-sub) { margin-top: 1.2rem; color: var(--text-soft); max-width: 36rem; }
.case-facts { margin: 1.6rem 0 0; border-top: 1px solid var(--rule); }
.case-facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.case-facts dt { font-weight: 680; }
.case-facts dd { margin: 0; color: var(--text-soft); }
.case-media { margin: 0; }
.case-media img { border-radius: .7rem; box-shadow: 0 30px 60px -32px rgba(7, 26, 58, .55); }
.case-media figcaption { margin-top: .7rem; font-size: .9rem; color: var(--text-soft); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case-flip .case-copy { order: 0; } }

/* Perché fidarsi */
.trust { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.trust-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.seals { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.seals div { padding: 1.3rem 0 1.3rem 3.2rem; border-top: 1px solid var(--ink-rule); position: relative; }
.seals div::before { /* sigillo: due anelli concentrici */ content: ''; position: absolute; left: 0; top: 1.35rem; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--cyan); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5.5px rgba(92, 203, 240, .55); }
.seals dt { font-weight: 720; color: #fff; font-stretch: 108%; }
.seals dd { margin: .3rem 0 0; color: var(--on-ink-soft); font-size: 1rem; }
@media (max-width: 900px) { .trust-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .seals { grid-template-columns: 1fr; } }

/* Team */
.team { padding: clamp(4rem, 9vw, 7rem) 0; }
.team-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.team-copy > p { margin-top: 1.3rem; font-size: 1.15rem; color: var(--text-soft); max-width: 30rem; }
@media (max-width: 900px) { .team-in { grid-template-columns: 1fr; } }

/* Domande */
.qa .sec-lead { margin-top: 2rem; }
.qa { padding: clamp(4rem, 9vw, 7rem) 0; }
.qa-list { margin-top: 2.4rem; max-width: 52rem; border-top: 2px solid var(--text); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 2rem; padding: 1.25rem 0; font-size: 1.2rem; font-weight: 680; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: .75rem; height: .75rem; margin-top: .45rem; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(225deg); }
.qa details p { padding: 0 3rem 1.4rem 0; color: var(--text-soft); max-width: 44rem; }

/* Chiusura e piede */
.close { overflow: hidden; padding: clamp(5rem, 12vw, 9rem) 0; }
.close-in { position: relative; }
.close .display { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 15ch; }
.close-in > p:not(.actions) { margin-top: 1.4rem; color: var(--on-ink); font-size: 1.2rem; max-width: 34rem; }

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

/* Passaggi accesi dal filo */
.js .line li::before { transition: background-color .4s var(--ease), color .4s var(--ease); }
.js .line li.on::before { background: var(--cyan); color: var(--ink); }
.note-wm-mark { background: rgba(214, 244, 255, .8); }
@media (max-width: 560px) {
  .note { aspect-ratio: 1.45 / 1; }
  .note-brand input { font-size: 1.85rem; }
  .note-channels { font-size: .8rem; max-width: 62%; line-height: 1.4; }
  .note-thread { left: 74%; }
  .note-serial { font-size: .78rem; justify-self: start; }
  .note-wm-word { font-size: 2rem; }
}

/* Canali ufficiali, partner e cifre */
html:not(.js) [data-js-only] { display: none; }
.creds { padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--ink-rule); background: linear-gradient(180deg, #06142E, var(--ink)); }
.creds-h { font-size: clamp(1.4rem, 2.4vw, 2rem); color: #fff; max-width: 32ch; }
.partners { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--ink-rule); border: 1px solid var(--ink-rule); border-radius: .8rem; overflow: hidden; }
.partners li { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1.2rem; background: var(--ink); color: var(--on-ink); min-height: 5.5rem; transition: background-color .3s var(--ease), color .3s var(--ease); }
.partners li:hover { background: #0B2349; color: #fff; }
.partners svg { width: 2rem; height: 2rem; flex: none; }
.partners span { display: grid; line-height: 1.25; font-size: .9rem; color: var(--on-ink-soft); }
.partners b { color: #fff; font-size: 1.08rem; font-stretch: 112%; font-weight: 720; }
.partner-slot { border: 0; background: repeating-linear-gradient(135deg, rgba(92, 203, 240, .06) 0 10px, transparent 10px 20px), var(--ink) !important; }
.partner-slot span { color: var(--on-ink-soft); }
.partner-slot b { color: var(--cyan-hi); font-size: .98rem; }
.figures { margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.figures div { display: grid; align-content: start; gap: .5rem; padding-top: 1.1rem; border-top: 2px solid var(--cyan); }
.figures dd { order: -1; }
.figures dd { margin: 0; font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 820; font-stretch: 70%; line-height: .95; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.figures dt { color: var(--on-ink-soft); font-size: .98rem; }
.creds-note { margin-top: 2rem; font-size: .82rem; color: #8FA6C4; max-width: 60rem; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-slot { grid-column: 1 / -1; } .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Banconota in rilievo */
.note-wrap { perspective: 1200px; }
.note { transform-style: preserve-3d; will-change: transform; }

/* Demo: chiamata e agenda */

/* Mercati serviti */
.markets { display: flex; gap: .5rem; }
.markets span { font-size: .55em; font-stretch: 110%; padding: .35rem .6rem; border: 2px solid var(--cyan); border-radius: .4rem; line-height: 1; }
.figures dd .count { font-variant-numeric: tabular-nums; }

/* Cosa fa un agente: quattro verbi */
.does-grid { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem clamp(1.5rem, 3vw, 2.5rem); }
.does-grid div { padding-top: 1rem; border-top: 2px solid var(--cyan); }
.does-grid h4 { margin: 0; color: #fff; font-size: 1.3rem; font-stretch: 114%; font-weight: 760; }
.does-grid p { margin-top: .5rem; color: var(--on-ink-soft); font-size: 1rem; }
@media (max-width: 960px) { .does-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .does-grid { grid-template-columns: 1fr; } }

/* Catalogo degli agenti */
.agents { padding: clamp(4.5rem, 9vw, 7rem) 0; border-top: 1px solid var(--ink-rule); background: #06142E; overflow: hidden; }
.agents-pin { display: flex; flex-direction: column; justify-content: center; }
.agents-viewport { margin-top: 2.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 0 0 1.5rem; }
.pinned-x .agents-viewport { overflow: hidden; }
.agents-pin, .agents-viewport { min-width: 0; }
.agents-track { display: flex; gap: 1.4rem; padding: 0 var(--gut); width: max-content; }
@media (min-width: 1300px) { .agents-track { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.agent { width: min(21rem, 78vw); flex: none; scroll-snap-align: start; display: grid; grid-template-rows: auto auto 1fr; gap: .7rem; }
.agent h3 { color: #fff; font-size: 1.25rem; font-stretch: 112%; margin-top: .5rem; }
.agent p { color: var(--on-ink-soft); font-size: 1rem; }
.agents-foot { margin-top: .4rem; font-size: .9rem; color: #8FA6C4; }
.agents-hint { color: var(--cyan); }

/* Le schermate dentro le card */
.screen { height: 15.5rem; border-radius: 1rem; padding: 1.1rem; background: linear-gradient(160deg, #10306A, #0A2149); box-shadow: 0 0 0 1px rgba(168, 230, 249, .16) inset, 0 30px 50px -30px rgba(0, 0, 0, .7); color: var(--on-ink); font-size: .9rem; overflow: hidden; display: flex; flex-direction: column; justify-content: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.agent:hover .screen { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(92, 203, 240, .5) inset, 0 40px 60px -30px rgba(0, 0, 0, .8); }
.screen p { margin: 0; }
.m-dim { color: var(--on-ink-soft); font-size: .82rem; }
.m-big { font-size: 1.6rem; font-weight: 800; font-stretch: 90%; color: #fff; letter-spacing: -.01em; }
.m-chip { align-self: flex-start; margin-top: .8rem !important; background: rgba(92, 203, 240, .16); color: var(--cyan-hi); border-radius: 99px; padding: .3rem .7rem; font-size: .8rem; font-weight: 650; }
.m-call { display: grid; gap: .3rem; }
.m-bars { display: flex; align-items: center; gap: 3px; height: 3rem; margin-top: .6rem; }
.m-bars i { width: 4px; border-radius: 2px; background: var(--cyan); height: 95%; transform: scaleY(.32); transform-origin: 50% 50%; animation: bar 1.1s ease-in-out infinite; will-change: transform; }
.m-bars i:nth-child(3n) { animation-delay: -.3s; } .m-bars i:nth-child(3n+1) { animation-delay: -.7s; } .m-bars i:nth-child(4n) { animation-duration: .8s; }
@keyframes bar { 50% { transform: scaleY(1); } }  /* solo trasformazione: niente ricalcolo dell'impaginazione */
.m-list { display: grid; gap: .45rem; }
.m-list li { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding: .45rem .6rem; border-radius: .5rem; background: rgba(255, 255, 255, .05); }
.m-list b { font-weight: 600; color: #fff; font-size: .86rem; }
.m-list span { font-size: .76rem; font-weight: 650; padding: .15rem .5rem; border-radius: 99px; white-space: nowrap; }
.ok { background: rgba(61, 220, 132, .16); color: #8FF0B8; }
.wa { background: rgba(92, 203, 240, .16); color: var(--cyan-hi); }
.dim { background: rgba(255, 255, 255, .08); color: var(--on-ink-soft); }
.hand { background: rgba(255, 196, 92, .18); color: #FFD48A; }
.m-chat { display: grid; gap: .45rem; }
.m-chat p { max-width: 85%; padding: .45rem .7rem; border-radius: .8rem; font-size: .85rem; line-height: 1.35; }
.m-chat .in { background: rgba(255, 255, 255, .1); justify-self: start; border-bottom-left-radius: .2rem; }
.m-chat .out { background: #DCF8C6; color: #15301E; justify-self: end; border-bottom-right-radius: .2rem; }
.m-stars { color: #FFD166; letter-spacing: .1em; font-size: 1.1rem !important; }
.m-order { display: grid; gap: .3rem; }
.m-steps { display: grid; gap: .5rem; margin-top: .5rem; }
.m-steps li { position: relative; padding-left: 1.4rem; color: var(--on-ink-soft); }
.m-steps li::before { content: ''; position: absolute; left: 0; top: .3em; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--on-ink-soft); }
.m-steps .done::before { background: var(--cyan); border-color: var(--cyan); }
.m-steps .now { color: #fff; font-weight: 650; }
.m-steps .now::before { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(92, 203, 240, .2); }
.m-time { display: grid; gap: .55rem; }
.m-time li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .5rem; font-size: .85rem; }
.m-time time { font-family: var(--mono); color: var(--cyan); font-size: .8rem; }
.m-stat { display: grid; gap: .25rem; }
.m-meter { height: .5rem; border-radius: 99px; background: rgba(255, 255, 255, .1); margin-top: .6rem; overflow: hidden; }
.m-meter i { display: block; height: 100%; background: var(--cyan); }
.m-log { margin: 0; font: 400 .78rem/1.8 var(--mono); color: var(--on-ink); white-space: pre-wrap; }
.m-log .warn { color: #FFD48A; } .m-log .err { color: #FF8F8F; } .m-log .ok { background: none; color: #8FF0B8; }
.m-report { display: grid; gap: .45rem; }
.m-report b { font-size: 1.3rem; font-stretch: 80%; color: #fff; margin-right: .3rem; }

/* Casi di successo: lo sfondo prende il colore del cliente */
.cases { --tint: var(--paper-2); --tint-ink: var(--text); padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--tint); color: var(--tint-ink); transition: background-color .8s var(--ease), color .8s var(--ease); }
.cases.tinted { --tint-ink: #fff; }
.cases.tinted .sec-lead, .cases.tinted .case-copy > p:not(.case-sub), .cases.tinted .case-facts dd { color: rgba(255, 255, 255, .82); }
.cases.tinted .case-sub { color: #fff; }
.cases.tinted .case-facts, .cases.tinted .case-facts div { border-color: rgba(255, 255, 255, .28); }
.cases .case { display: block; margin-top: clamp(3rem, 6vw, 5rem); padding: 0; border: 0; }
.cases .case-in { display: block; }
.cases .case-copy { max-width: 46rem; }
.cases .case h3 { font-size: clamp(2.4rem, 5vw, 4rem); }
.cases .case-sub { color: var(--ink-3); transition: color .8s var(--ease); }

/* Foto a scorrimento */
.photo-strip { margin-top: 2.4rem; padding-bottom: 1.4rem; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.photo-run { display: flex; gap: 1rem; width: max-content; animation: run 40s linear infinite; }
.photo-strip:hover .photo-run { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }
.slot-mini { width: clamp(14rem, 26vw, 20rem); aspect-ratio: 4 / 3; flex: none; display: grid; place-content: center; text-align: center; gap: .3rem; border-radius: .7rem; border: 1.5px dashed currentColor; opacity: .75;
  background: repeating-linear-gradient(135deg, rgba(127, 127, 127, .1) 0 12px, transparent 12px 24px); }
.photo-shot { width: clamp(16rem, 30vw, 24rem); aspect-ratio: 4 / 3; flex: none; border-radius: .7rem; overflow: hidden; background: var(--ink); box-shadow: 0 10px 22px -12px rgba(7, 26, 58, .6); }
.photo-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-shot:hover img { transform: scale(1.03); }
.slot-mini span { font-weight: 700; font-stretch: 110%; }
.slot-mini small { font-size: .85rem; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .photo-strip { overflow-x: auto; } .photo-run { animation: none; } .photo-run > [aria-hidden] { display: none; } }
.agents-h, .agents-foot { width: 100%; }
.pinned-x .agents-viewport { scroll-snap-type: none; }

/* Catalogo: filtri, frecce, avanzamento */
.agents-bar { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { font: 600 .92rem var(--sans); font-stretch: 106%; color: var(--on-ink); background: transparent; border: 1.5px solid rgba(168, 230, 249, .3); border-radius: 99px; padding: .5rem 1rem; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.filters button:hover { border-color: var(--cyan); }
.filters button[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.nav-x { display: flex; align-items: center; gap: .7rem; }
.count-x { color: var(--on-ink-soft); font-size: .95rem; margin-right: .4rem; font-variant-numeric: tabular-nums; }
.count-x b { color: #fff; font-size: 1.15rem; }
.arrow { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1.5px solid rgba(168, 230, 249, .45); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s; }
.arrow svg { width: 1.3rem; height: 1.3rem; }
.arrow:hover:not(:disabled) { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.arrow:disabled { opacity: .3; cursor: default; }
.agents-viewport { cursor: grab; scroll-behavior: smooth; scrollbar-width: none; }
.agents-viewport::-webkit-scrollbar { display: none; }
.agents-viewport.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.agents-viewport.dragging .agent { pointer-events: none; }
.agents-progress { height: 3px; border-radius: 2px; background: rgba(168, 230, 249, .16); overflow: hidden; margin-top: .4rem; }
.agents-progress i { display: block; height: 100%; width: 10%; background: var(--cyan); border-radius: 2px; transition: width .3s var(--ease), transform .3s var(--ease); }
.agent[hidden] { display: none; }
.agent .screen { transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s var(--ease); }
.js .agent.out .screen { opacity: .45; transform: scale(.95); }
.tag { display: inline-block; margin-left: .55rem; vertical-align: middle; font-size: .72rem; font-weight: 650; font-stretch: 100%; color: var(--cyan-hi); border: 1px solid rgba(168, 230, 249, .45); border-radius: 99px; padding: .12rem .5rem; position: relative; top: -.12em; }

/* Schermate dei nuovi servizi */
.m-btn { align-self: flex-start; margin-top: .5rem !important; background: var(--cyan); color: var(--ink); font-weight: 750; border-radius: 99px; padding: .55rem 1.1rem; }
.m-chat small { display: block; margin-top: .35rem; font-size: .72rem; opacity: .7; }
.m-doc { margin: 0; display: grid; gap: .45rem; }
.m-doc div { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem .6rem; border-radius: .5rem; background: rgba(255, 255, 255, .05); font-size: .85rem; }
.m-doc dt { color: var(--on-ink-soft); }
.m-doc dd { margin: 0; color: #fff; font-weight: 650; }
.m-doc .okt { color: #8FF0B8; }
.m-flow { display: grid; gap: .5rem; counter-reset: f; }
.m-flow li { position: relative; padding: .5rem .7rem .5rem 2.2rem; border-radius: .5rem; background: rgba(255, 255, 255, .05); font-size: .86rem; }
.m-flow li::before { counter-increment: f; content: counter(f); position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--cyan); color: var(--ink); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.m-rack { display: grid; gap: .5rem; }
.m-rack p:not(.m-dim):not(.m-chip) { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-radius: .5rem; background: rgba(255, 255, 255, .05); }
.led { width: .55rem; height: .55rem; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); animation: led 2s ease-in-out infinite; }
@keyframes led { 50% { opacity: .45; } }
.m-chart { display: flex; align-items: flex-end; gap: .5rem; height: 9rem; padding: 0 .2rem; border-bottom: 1px solid rgba(168, 230, 249, .3); margin-bottom: .6rem; }
.m-chart i { flex: 1; background: linear-gradient(180deg, var(--cyan), rgba(92, 203, 240, .35)); border-radius: .25rem .25rem 0 0; }
.agents-viewport { scroll-padding-left: var(--gut); }
@media (min-width: 1300px) { .agents-viewport { scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.agents-track { padding-right: 40vw; }

/* ── Pagine interne ───────────────────────────── */
.phead { overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.phead-in { position: relative; }
.phead .display { max-width: 16ch; font-size: clamp(2.7rem, 6vw, 5.2rem); }
.phead .hero-lead { max-width: 42rem; }
.crumbs { font-size: .92rem; color: var(--on-ink-soft); margin-bottom: 1.6rem; }
.crumbs a { color: var(--on-ink-soft); }
.crumbs a:hover { color: var(--cyan); }
.jump { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { display: inline-block; text-decoration: none; color: var(--on-ink); border: 1.5px solid rgba(168, 230, 249, .3); border-radius: 99px; padding: .5rem 1rem; font-weight: 600; font-size: .95rem; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.jump a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.more-link { color: var(--cyan); font-weight: 650; margin-left: .4rem; }
.ledger-proof a { color: inherit; text-decoration-color: rgba(15, 110, 153, .4); }
.tag-ink { color: var(--cyan-deep); border-color: rgba(15, 110, 153, .45); }

/* Soluzioni */
.sol { padding: clamp(4rem, 8vw, 6.5rem) 0; scroll-margin-top: 4.5rem; }
.sol-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sol-head { position: sticky; top: 6.5rem; }
.sol-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.sol-body h3 { font-size: 1.05rem; font-stretch: 112%; color: var(--ink-3); margin: 0 0 1rem; }
.sol-body h3:not(:first-child) { margin-top: 2.4rem; }
.ticks { display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--text-soft); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--cyan-deep); -webkit-mask: radial-gradient(circle, #000 0 0) ; }
.ticks li::after { content: ''; position: absolute; left: .42rem; top: .38em; width: .32rem; height: .6rem; border: solid var(--cyan-deep); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.ticks li::before { background: none; border: 1.5px solid var(--cyan-deep); -webkit-mask: none; }
.mini-steps { counter-reset: m; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mini-steps li { counter-increment: m; position: relative; padding: 1rem 1rem 1rem 3.2rem; border-radius: .7rem; background: var(--paper-2); display: grid; gap: .2rem; color: var(--text-soft); font-size: .98rem; }
.paper-2 .mini-steps li { background: var(--paper); }
.mini-steps li::before { content: counter(m); position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: var(--cyan); display: grid; place-items: center; font-weight: 760; font-size: .85rem; }
.mini-steps b { color: var(--text); }
.sol-case { margin-top: 2rem; font-weight: 600; }
.sol-case a { color: var(--cyan-deep); }
@media (max-width: 900px) { .sol-in { grid-template-columns: 1fr; } .sol-head { position: static; } }
@media (max-width: 560px) { .mini-steps { grid-template-columns: 1fr; } }

/* Catalogo completo */
.catalog { padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4rem); }
.cat { padding: clamp(2.5rem, 5vw, 3.5rem) 0; scroll-margin-top: 4.5rem; }
.cat + .cat { border-top: 1px solid var(--rule); }
.cat-h { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr) auto; gap: .6rem 2rem; align-items: baseline; margin-bottom: 2rem; }
.cat-h h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cat-h p { color: var(--text-soft); }
.cat-n { font-weight: 820; font-stretch: 70%; font-size: 2.2rem; color: var(--cyan-deep); font-variant-numeric: tabular-nums; }
.agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 2rem 1.4rem; }
.agents-grid .agent { width: auto; }
.paper .agent h3 { color: var(--text); }
.paper .agent p { color: var(--text-soft); }
.paper .tag { color: var(--cyan-deep); border-color: rgba(15, 110, 153, .45); }
.catalog-foot { color: var(--text-soft); }
@media (max-width: 760px) { .cat-h { grid-template-columns: 1fr; } .cat-n { display: none; } }

@media (max-width: 760px) { .dates { grid-template-columns: 1fr; } }

/* Piattaforma */
.layers-sec, .where, .company { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.layer-stack { margin-top: 2.6rem; counter-reset: l; display: grid; gap: .6rem; }
.layer-stack li { counter-increment: l; display: grid; grid-template-columns: 3.5rem minmax(0, 16rem) minmax(0, 1fr); gap: 1rem 2rem; align-items: baseline; padding: 1.5rem 1.6rem; border-radius: .9rem; background: #fff; box-shadow: 0 1px 0 var(--rule); margin-left: calc((5 - counter(l)) * 0rem); }
.layer-stack li::before { content: counter(l); font-weight: 820; font-stretch: 70%; font-size: 2rem; color: var(--cyan-deep); }
.layer-stack li:nth-child(1) { margin-right: 0; } .layer-stack li:nth-child(2) { margin-left: 1.5%; } .layer-stack li:nth-child(3) { margin-left: 3%; } .layer-stack li:nth-child(4) { margin-left: 4.5%; } .layer-stack li:nth-child(5) { margin-left: 6%; }
.layer-stack h3 { font-size: 1.35rem; font-stretch: 112%; }
.layer-stack p { color: var(--text-soft); }
@media (max-width: 860px) { .layer-stack li { grid-template-columns: 2.5rem minmax(0, 1fr); margin-left: 0 !important; } .layer-stack p { grid-column: 2; } }
.where-grid { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.where-grid article { padding: 1.8rem; border-radius: 1rem; background: #fff; box-shadow: 0 20px 40px -32px rgba(7, 26, 58, .45); }
.where-grid h3 { font-size: 1.5rem; font-stretch: 114%; }
.where-grid p { margin-top: .7rem; color: var(--text-soft); }
@media (max-width: 760px) { .where-grid { grid-template-columns: 1fr; } }

/* Chi siamo */
.people { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.person h3 { margin-top: .9rem; font-size: 1.15rem; }
.person > p { color: var(--text-soft); font-size: .95rem; }
.person-photo { aspect-ratio: 4 / 5; padding: 1rem; }
.company-facts { max-width: 44rem; }
@media (max-width: 860px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contatti */
.contact { padding: clamp(4rem, 8vw, 6rem) 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form { display: grid; gap: 1.2rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form label { display: grid; gap: .45rem; font-weight: 620; font-size: .98rem; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea { font: 400 1rem/1.4 var(--sans); color: var(--text); background: #fff; border: 1.5px solid #B7C4D6; border-radius: .6rem; padding: .8rem .9rem; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(15, 110, 153, .18); }
.chips-field { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-field legend { font-weight: 620; margin-bottom: .6rem; padding: 0; }
.chips-field label { display: inline-flex; }
.chips-field input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips-field span { border: 1.5px solid #B7C4D6; border-radius: 99px; padding: .5rem 1rem; font-weight: 600; font-size: .95rem; cursor: pointer; background: #fff; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chips-field input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-field input:focus-visible + span { outline: 3px solid var(--cyan-deep); outline-offset: 2px; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--text-soft); }
.form .check input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; accent-color: var(--ink); }
.form button { border: 0; cursor: pointer; font-family: var(--sans); font-size: 1rem; }
.form-msg { font-weight: 620; min-height: 1.4em; }
.form-msg.err { color: #B42318; }
.contact-side h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.contact-side .mini-steps { grid-template-columns: 1fr; margin-bottom: 1.6rem; }
@media (max-width: 900px) { .contact-in, .f2 { grid-template-columns: 1fr; } }


/* Apertura con il nuovo titolo */
.hero .display { font-size: clamp(2.7rem, 5.2vw, 4.7rem); max-width: 13ch; }

/* ── Un solo agente, in ogni sede: la rete ───────────── */
.hero .display { max-width: 15ch; }
.spot { position: relative; isolation: isolate; }
.spot::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--spot, 0); transition: opacity .5s var(--ease);
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(92, 203, 240, .1), transparent 65%); }
.grow { padding: clamp(4.5rem, 9vw, 7rem) 0; overflow: hidden; border-top: 1px solid var(--ink-rule); background: radial-gradient(60% 70% at 30% 70%, #0E2A5C 0%, var(--ink) 75%); }
.grow-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 4rem); align-items: end; }
.grow-head h2 { max-width: 15ch; }
.grow-board { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.grow-left, .grow-right { border-radius: 1.2rem; padding: clamp(1.4rem, 3vw, 2rem); background: rgba(12, 38, 80, .6); box-shadow: 0 0 0 1px rgba(168, 230, 249, .16) inset; }
.grow-label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; color: var(--on-ink-soft); font-weight: 600; }
.grow-label output { color: var(--on-ink-soft); font-weight: 500; }
.grow-label output b { color: #fff; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 820; font-stretch: 70%; font-variant-numeric: tabular-nums; margin-right: .3rem; }
.grow-range { width: 100%; margin: 1.2rem 0 .3rem; appearance: none; -webkit-appearance: none; height: .5rem; border-radius: 99px; background: linear-gradient(90deg, var(--cyan) var(--fill, 100%), rgba(168, 230, 249, .18) var(--fill, 100%)); cursor: pointer; }
.grow-range::-webkit-slider-thumb { -webkit-appearance: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #fff; border: 4px solid var(--cyan); box-shadow: 0 0 0 6px rgba(92, 203, 240, .2); }
.grow-range::-moz-range-thumb { width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; border: 4px solid var(--cyan); box-shadow: 0 0 0 6px rgba(92, 203, 240, .2); }
.grow-range:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; }
.grow-ticks { display: flex; justify-content: space-between; color: #8FA6C4; font-size: .82rem; margin-bottom: 1.2rem; font-variant-numeric: tabular-nums; }
.grow-grid { display: block; width: 100%; aspect-ratio: 50 / 30; }
.grow-cap { margin-top: 1rem; color: var(--on-ink-soft); font-size: .98rem; }
.grow-cap b { color: #fff; }
.grow-cap-top { margin: 0 0 1.2rem; }
.steady { display: grid; gap: .8rem; }
.steady li { display: grid; gap: .1rem; padding: 1rem 1.2rem; border-radius: .8rem; background: rgba(19, 58, 114, .55); box-shadow: 0 0 0 1px rgba(168, 230, 249, .18) inset; transition: box-shadow .35s var(--ease); }
.steady strong { color: var(--cyan-hi); font-size: 1.6rem; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.steady span { color: var(--on-ink); font-size: .98rem; }
.steady.flash li { box-shadow: 0 0 0 1.5px var(--cyan) inset, 0 0 26px -8px rgba(92, 203, 240, .7); }
.grow-proof { margin-top: 2rem; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 650; font-stretch: 106%; color: #fff; }
@media (max-width: 900px) { .grow-head, .grow-board { grid-template-columns: 1fr; } }

/* ── Vedete un agente, noi costruiamo un sistema: la pila in 3D ── */
.depth { padding: clamp(4.5rem, 9vw, 7rem) 0; overflow: hidden; background: linear-gradient(180deg, var(--ink) 0%, #0A2149 100%); border-top: 1px solid var(--ink-rule); }
.depth-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; min-height: min(46rem, 92vh); }
.depth-copy h2 { max-width: 14ch; }
.layer-labels { margin-top: 2rem; display: grid; gap: .25rem; }
.layer-labels li { display: grid; padding: .55rem 0 .55rem 1.1rem; border-left: 2px solid rgba(168, 230, 249, .15); transition: border-color .35s var(--ease), opacity .35s var(--ease); }
.layer-labels b { color: #fff; font-size: 1.05rem; font-stretch: 108%; }
.layer-labels span { color: var(--on-ink-soft); font-size: .92rem; }
.js .depth.live .layer-labels li { opacity: .38; }
.js .depth.live .layer-labels li.on { opacity: 1; border-left-color: var(--cyan); }
.stack-wrap { position: relative; height: clamp(26rem, 46vw, 40rem); perspective: 1800px; perspective-origin: 50% 30%; }
.stack { --gap: 3.6rem; position: absolute; left: 50%; top: 58%; transform-style: preserve-3d; }
.plate { --w: clamp(13rem, 22vw, 19rem); position: absolute; left: calc(var(--w) / -2); top: calc(var(--w) / -2); width: var(--w); height: var(--w); border-radius: 1.4rem;
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc(var(--i) * var(--gap))); transform-style: preserve-3d;
  background: linear-gradient(135deg, rgba(19, 58, 114, .92), rgba(10, 33, 73, .92)); box-shadow: 0 0 0 1px rgba(168, 230, 249, .28) inset, 0 30px 60px -20px rgba(0, 0, 0, .55);
  display: flex; align-items: flex-end; padding: 1.1rem 1.2rem; transition: box-shadow .4s var(--ease), background .4s var(--ease); }
.plate span { color: rgba(231, 238, 248, .85); font-weight: 700; font-stretch: 112%; font-size: .95rem; }
.plate::before { content: ''; position: absolute; inset: 1rem 1rem 3rem; border-radius: .8rem; opacity: .55; }
.plate-0 { background: linear-gradient(135deg, #F4F8FC, #D9E6F3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 40px 80px -20px rgba(0, 0, 0, .6); }
.plate-0 span { color: var(--ink); }
.plate-0::before { inset: 1.1rem 1.1rem 3.2rem; opacity: 1; background: linear-gradient(var(--cyan-deep), var(--cyan-deep)) 0 0 / 55% .7rem no-repeat, linear-gradient(#C9D8E8, #C9D8E8) 0 1.6rem / 85% .55rem no-repeat, linear-gradient(#DCF8C6, #DCF8C6) 100% 2.8rem / 60% 1.6rem no-repeat, linear-gradient(#C9D8E8, #C9D8E8) 0 5rem / 70% .55rem no-repeat; }
.plate-1::before { background: radial-gradient(circle at 50% 50%, var(--cyan) 0 8%, transparent 9%), repeating-radial-gradient(circle at 50% 50%, rgba(92, 203, 240, .35) 0 1px, transparent 1px 14px); }
.plate-2::before { background: repeating-linear-gradient(90deg, rgba(92, 203, 240, .35) 0 2px, transparent 2px 22px), repeating-linear-gradient(0deg, rgba(92, 203, 240, .25) 0 1px, transparent 1px 22px); }
.plate-3::before { background: radial-gradient(rgba(92, 203, 240, .55) 1.5px, transparent 2px) 0 0 / 16px 16px; }
.plate-4::before { background: radial-gradient(circle at 25% 35%, var(--cyan) 0 7%, transparent 8%), radial-gradient(circle at 70% 30%, var(--cyan) 0 7%, transparent 8%), radial-gradient(circle at 50% 75%, var(--cyan) 0 7%, transparent 8%), conic-gradient(from 0deg at 48% 46%, transparent 0 100%); }
.plate-5::before { background: repeating-linear-gradient(0deg, rgba(92, 203, 240, .3) 0 2px, transparent 2px 12px); }
.plate-6::before { background: repeating-linear-gradient(45deg, rgba(92, 203, 240, .22) 0 2px, transparent 2px 10px); }
.plate.on { box-shadow: 0 0 0 2px var(--cyan) inset, 0 0 50px -6px rgba(92, 203, 240, .7), 0 30px 60px -20px rgba(0, 0, 0, .55); }
.plate-0.on { box-shadow: 0 0 0 2px var(--cyan) inset, 0 0 60px -6px rgba(92, 203, 240, .8); }
.field-line { margin-top: clamp(3rem, 6vw, 4rem); max-width: 46rem; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; font-weight: 650; font-stretch: 106%; color: #fff; padding-top: 1.4rem; border-top: 2px solid var(--cyan); }
@media (max-width: 900px) { .depth-in { grid-template-columns: 1fr; min-height: 0; } .stack-wrap { order: -1; height: 24rem; } .stack { --gap: 2.4rem; } }

/* ── Titoli che salgono dalla riga ───────────────── */
.js .rise-line { display: block; }
.depth-copy h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.layer-labels li { padding: .4rem 0 .4rem 1.1rem; }
.js .depth.live .layer-labels li span { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .4s var(--ease); }
.js .depth.live .layer-labels li.on span { max-height: 3rem; opacity: 1; }
.grow-ticks { position: relative; display: block; height: 1.2rem; margin: 0 .85rem 1.2rem; }
.grow-ticks li { position: absolute; left: calc(var(--p) / 9 * 100%); transform: translateX(-50%); white-space: nowrap; }

/* ── Sotto-menu che segue lo scroll nelle pagine interne ── */
.subnav { position: fixed; top: 4.2rem; left: 0; right: 0; z-index: 20; background: rgba(7, 26, 58, .94); border-bottom: 1px solid var(--ink-rule); transform: translateY(-110%); transition: transform .35s var(--ease); }
.subnav.show { transform: none; }
.subnav ul { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem var(--gut); max-width: var(--wrap); margin: 0 auto; scrollbar-width: none; }
.subnav a { display: inline-block; white-space: nowrap; text-decoration: none; color: var(--on-ink-soft); font-weight: 600; font-size: .9rem; padding: .4rem .85rem; border-radius: 99px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.subnav a:hover { color: #fff; }
.subnav a.on { background: var(--cyan); color: var(--ink); }

/* ── Card che si inclinano col puntatore ── */
.tilt { transform-style: preserve-3d; will-change: transform; }

.sol-head { top: 8.6rem; }
.sol, .cat { scroll-margin-top: 7.5rem; }
.case-link { margin-top: 1.2rem; font-weight: 650; }
.case-link a { color: inherit; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }

/* Indirizzi e-mail lunghi: vanno a capo invece di allargare la pagina su telefono. */
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ───────── Rifiniture ───────── */

/* Banconota: i canali restano leggibili anche quando la filigrana passa sotto. */
.note-channels { color: var(--on-ink); text-shadow: 0 1px 2px rgba(4, 16, 42, .95), 0 2px 12px rgba(4, 16, 42, .8); }

/* Partner: senza il riquadro in attesa le quattro voci riempiono la fila. */
@media (min-width: 1001px) { .partners:not(:has(.partner-slot)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Registro "quattro modi": al passaggio la riga si accende e una linea ciano la sottolinea. */
.ledger li::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cyan-deep); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.ledger h3, .ledger-proof { transition: color .3s var(--ease), transform .5s var(--ease); }
@media (hover: hover) {
  .ledger li:hover::after { transform: scaleX(1); }
  .ledger li:hover h3 { color: var(--cyan-deep); }
  .ledger li:hover .ledger-proof { transform: translateX(-.35rem); }
}

/* Chi c'è dietro, senza foto: una fascia sola, testo a sinistra e azione a destra. */
.team-in:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.team-in:has(> :only-child) .team-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.team-in:has(> :only-child) .team-copy > * { grid-column: 1; }
.team-in:has(> :only-child) .team-copy > .actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
@media (max-width: 700px) {
  .team-in:has(> :only-child) .team-copy { grid-template-columns: minmax(0, 1fr); }
  .team-in:has(> :only-child) .team-copy > .actions { grid-column: 1; grid-row: auto; margin-top: 1.6rem; }
}

/* Sigilli: l'anello si disegna come un timbro quando la voce entra nello schermo. */
@property --seal { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
.js .seals div::before { --seal: 0deg; -webkit-mask: conic-gradient(#000 var(--seal), transparent 0); mask: conic-gradient(#000 var(--seal), transparent 0); transition: --seal 1.2s var(--ease); }
.js .seals div.on::before { --seal: 360deg; }
@media (prefers-reduced-motion: reduce) { .js .seals div::before { --seal: 360deg; transition: none; } }



/* ═════════════════════════════════════════════════════════════════════════
   Sistema 2026: testata, piede e componenti generici delle pagine.
   La carta di sicurezza resta il filo conduttore: cornici incise, filo ciano a finestre, guilloché.
   ═════════════════════════════════════════════════════════════════════════ */
:root {
  --top-h: 4.25rem;
  --surface: #fff;
  --rule-ink: rgba(168, 230, 249, .16);
  --ok-ink: #14532D; --ok-bg: #E6F5EC;
  --err-ink: #8A1C12; --err-bg: #FDECEA;
  --thread-v: repeating-linear-gradient(180deg, rgba(92, 203, 240, .95) 0 1.4rem, rgba(92, 203, 240, .22) 1.4rem 2.1rem);
  --thread-h: repeating-linear-gradient(90deg, rgba(92, 203, 240, .95) 0 1.4rem, rgba(92, 203, 240, .22) 1.4rem 2.1rem);
}
.skip { z-index: 40; border-radius: .4rem; font-weight: 650; }
.paper-2 :focus-visible, .card :focus-visible { outline-color: var(--cyan-deep); }
.ink :focus-visible, .band.ink :focus-visible { outline-color: var(--cyan); }
.paper .display-2, .paper-2 .display-2 { color: var(--text); }

/* ───────── Pulsanti ───────── */
.b { font-size: 1rem; line-height: 1.2; gap: .6rem; cursor: pointer; font-family: var(--sans); text-align: center; justify-content: center; }
.b:active { transform: translateY(1px); }
.paper .b-line, .paper-2 .b-line, .card .b-line { border-color: rgba(7, 26, 58, .32); color: var(--text); }
.paper .b-line:hover, .paper-2 .b-line:hover, .card .b-line:hover { border-color: var(--ink); color: var(--ink); background: rgba(7, 26, 58, .04); }
.b[aria-busy="true"] { pointer-events: none; opacity: .85; }
.b[aria-busy="true"]::after { content: ''; flex: none; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .b[aria-busy="true"]::after { animation: spin 1.6s linear infinite !important; } }

/* ───────── Testata ───────── */
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 var(--gut);
  background: rgba(7, 26, 58, .97); border-bottom: 1px solid var(--ink-rule); }  /* niente sfocatura: costava molto a ogni scorrimento */
.top-brand { flex: none; display: block; padding: .35rem 0; border-radius: .3rem; }
.top-brand img { width: 140px; height: auto; }
.top-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.top-links { display: flex; align-items: center; gap: clamp(.85rem, 1.5vw, 1.6rem); }
.top-links a { position: relative; display: block; padding: .45rem 0; color: var(--on-ink); text-decoration: none; font-size: .96rem; font-weight: 540; font-stretch: 106%; white-space: nowrap; transition: color .2s var(--ease); }
.top-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .05rem; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.top-links a:hover, .top-links a[aria-current="page"] { color: #fff; }
.top-links a:hover::after, .top-links a[aria-current="page"]::after { transform: scaleX(1); }
.top-side { display: flex; align-items: center; gap: .8rem; }
.top-lang { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .6rem; border-radius: 99px; border: 1.5px solid var(--ink-rule); color: var(--on-ink); text-decoration: none; font-size: .85rem; font-weight: 680; font-stretch: 112%; letter-spacing: .04em; transition: border-color .2s var(--ease), color .2s var(--ease); }
.top-lang:hover { border-color: var(--cyan); color: #fff; }
.top-cta { min-height: 2.6rem; padding: .5rem 1.15rem; font-size: .95rem; white-space: nowrap; }
.top-menu { display: none; align-items: center; gap: .65rem; height: 2.7rem; padding: 0 1.1rem 0 1rem; border: 1.5px solid var(--ink-rule); border-radius: 99px; background: none; color: var(--on-ink); font: 640 .98rem var(--sans); font-stretch: 106%; cursor: pointer; transition: border-color .2s var(--ease); }
.top-menu:hover { border-color: var(--cyan); }
.top-menu-icon { position: relative; width: 1.15rem; height: .75rem; }
.top-menu-icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.top-menu-icon i:first-child { top: 0; }
.top-menu-icon i:last-child { top: calc(100% - 2px); }
.top-menu[aria-expanded="true"] .top-menu-icon i { top: calc(50% - 1px); }
.top-menu[aria-expanded="true"] .top-menu-icon i:first-child { transform: rotate(45deg); }
.top-menu[aria-expanded="true"] .top-menu-icon i:last-child { transform: rotate(-45deg); }
@media (max-width: 1380px) and (min-width: 1241px) { .top-links { gap: .9rem; } .top-links a { font-size: .92rem; } .top-nav { gap: 1rem; } }

/* Menu a tutto schermo sotto i 1240px (con JavaScript; senza, le voci vanno a capo). */
@media (max-width: 1240px) {
  html:not(.js) .top { height: auto; flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .top-nav, html:not(.js) .top-links { flex-wrap: wrap; }
  .js .top-menu { display: inline-flex; }
  .js .top-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--top-h)); height: calc(100dvh - var(--top-h)); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2.5rem; padding: 1rem var(--gut) calc(1.6rem + env(safe-area-inset-bottom));
    background: var(--ink) url('/assets/img/guilloche-waves.svg') center bottom / 100% 55% no-repeat;
    visibility: hidden; opacity: 0; transform: translateY(-.6rem); transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
  .js .top-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; }
  .js .top-links { flex-direction: column; align-items: stretch; gap: 0; }
  .js .top-links li { border-bottom: 1px solid var(--ink-rule); }
  .js .top-links a { padding: .85rem 0; font-size: clamp(1.55rem, 5.6vw, 2.2rem); font-weight: 760; font-stretch: 114%; letter-spacing: -.02em; line-height: 1.1; white-space: normal; }
  .js .top-links a::after { display: none; }
  .js .top-links a[aria-current="page"] { color: var(--cyan); }
  .js .top-links li { opacity: 0; transform: translateY(.6rem); transition: opacity .4s var(--ease), transform .5s var(--ease); }
  .js .top-nav.open .top-links li { opacity: 1; transform: none; }
  .js .top-nav.open .top-links li:nth-child(2) { transition-delay: .03s; } .js .top-nav.open .top-links li:nth-child(3) { transition-delay: .06s; }
  .js .top-nav.open .top-links li:nth-child(4) { transition-delay: .09s; } .js .top-nav.open .top-links li:nth-child(5) { transition-delay: .12s; }
  .js .top-nav.open .top-links li:nth-child(6) { transition-delay: .15s; } .js .top-nav.open .top-links li:nth-child(n+7) { transition-delay: .18s; }
  .js .top-side { gap: .8rem; }
  .js .top-cta { flex: 1; min-height: 3.2rem; font-size: 1.05rem; }
  .js .top-lang { height: 3.2rem; min-width: 3.2rem; }
  html.menu-open { overflow: hidden; }
}

/* ───────── Testata delle pagine interne ───────── */
.phead { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); isolation: isolate; }
.phead-in { z-index: 1; }
.phead .display { max-width: 17ch; font-size: clamp(2.5rem, 6vw, 5.2rem); }
.phead .hero-lead { max-width: 42rem; color: var(--on-ink); }
.phead .actions { margin-top: 2.2rem; }
.phead .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; font-size: .92rem; color: var(--on-ink-soft); margin-bottom: 1.8rem; }
.phead .crumbs a { color: var(--on-ink-soft); text-decoration: none; border-bottom: 1px solid rgba(179, 197, 221, .35); }
.phead .crumbs a:hover { color: #fff; border-bottom-color: var(--cyan); }
/* Il filo di sicurezza attraversa la testata, come sulla banconota della home. */
.phead::after { content: ''; position: absolute; z-index: 0; top: 0; bottom: 0; right: clamp(3rem, 14vw, 16rem); width: .6rem; background: var(--thread-v); box-shadow: 0 0 0 1px rgba(7, 26, 58, .6); opacity: .85; transform-origin: top; animation: thread-in 1.6s var(--ease) .15s both; }
@keyframes thread-in { from { transform: scaleY(0); } }
@media (max-width: 900px) { .phead::after { right: var(--gut); width: .45rem; opacity: .5; } }
@media (max-width: 700px) { .phead::after { display: none; } }

/* ───────── Sezioni ───────── */
.band { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.band.ink { background: radial-gradient(70% 90% at 88% 0%, #0E2A5C 0%, rgba(14, 42, 92, 0) 70%), var(--ink); }
.band.paper + .band.paper, .band.paper-2 + .band.paper-2 { border-top: 1px solid var(--rule); }
.band.ink + .band.ink { border-top: 1px solid var(--ink-rule); }
.band.ink h2, .band.ink h3, .cta-band h2 { color: #fff; }
.band .wrap > p:not([class]) { margin-top: 1rem; max-width: 42rem; color: var(--text-soft); }
.band.ink .wrap > p:not([class]) { color: var(--on-ink-soft); }
.band .wrap > :is(.grid-2, .grid-3, .steps, .stats, .compare-wrap, .checklist, .quote, .prose, .lead-form, .qa-list, .actions):not(:first-child),
.qa .wrap > .qa-list { margin-top: clamp(2.2rem, 4.5vw, 3.4rem); }
.band .wrap > .actions:not(:first-child) { margin-top: 2.2rem; }
.band .wrap > :is(h2, .sec-lead) + :is(.prose, .checklist) { margin-top: 1.6rem; }
.band .wrap > .sec-lead + .actions, .cta-band .sec-lead + .actions { margin-top: 2rem; }

/* Etichetta sopra il titolo: un tratto di filo di sicurezza, poi la parola. */
.kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; font-size: .95rem; font-weight: 680; font-stretch: 112%; letter-spacing: .01em; line-height: 1.3; color: var(--cyan-deep); }
.kicker::before { content: ''; flex: none; width: 2.1rem; height: .3rem; border-radius: 1px; background: repeating-linear-gradient(90deg, currentColor 0 .8rem, color-mix(in srgb, currentColor 30%, transparent) .8rem 1.15rem); }
.ink .kicker, .cta-band .kicker { color: var(--cyan); }

/* Link nel testo dei componenti */
:is(.band, .qa, .cta-band, .prose) :is(p, li, dd, td) > a:not([class]) { color: var(--cyan-deep); text-decoration-color: rgba(15, 110, 153, .4); text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
:is(.band, .qa, .cta-band, .prose) :is(p, li, dd, td) > a:not([class]):hover { text-decoration-color: currentColor; }
:is(.band.ink, .qa.ink, .cta-band) :is(p, li, dd) > a:not([class]) { color: var(--cyan-hi); text-decoration-color: rgba(168, 230, 249, .45); }

/* ───────── Griglie e schede ───────── */
.grid-2, .grid-3 { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* La scheda: carta con cornice incisa. Se ha un card-link, tutta la scheda è cliccabile. */
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin: 0; padding: clamp(1.5rem, 2.6vw, 2.1rem); border-radius: .9rem;
  background: var(--surface); color: var(--text); box-shadow: 0 1px 0 rgba(7, 26, 58, .06), 0 22px 44px -34px rgba(7, 26, 58, .5); transition: box-shadow .35s var(--ease); }
.card::before { content: ''; position: absolute; inset: .45rem; z-index: -1; border: 1px solid var(--rule); border-radius: .6rem; pointer-events: none; transition: border-color .35s var(--ease); }
.card h3 { font-size: clamp(1.2rem, 1.7vw, 1.42rem); font-stretch: 110%; line-height: 1.22; text-wrap: balance; }
.card > p:not([class]), .card > ul:not([class]) li { color: var(--text-soft); font-size: 1.02rem; line-height: 1.55; }
.card > ul:not([class]) { display: grid; gap: .4rem; padding-left: 1.1rem; list-style: disc; }
.card > ul:not([class]) li::marker { color: var(--cyan-deep); }
.card .checklist li { font-size: 1rem; }
.card-tag { display: inline-flex; align-items: center; padding: .28rem .7rem; border-radius: 99px; border: 1px solid rgba(15, 110, 153, .35); color: var(--cyan-deep); font-size: .82rem; font-weight: 680; font-stretch: 108%; line-height: 1.2; }
.card-link { margin-top: auto; padding-top: .5rem; font-weight: 690; font-stretch: 106%; color: var(--cyan-deep); text-decoration: underline; text-decoration-color: rgba(15, 110, 153, .35); text-decoration-thickness: 1.5px; text-underline-offset: .3em; transition: text-decoration-color .2s var(--ease); }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card:has(.card-link) { cursor: pointer; }
.card :is(p, li) a:not(.card-link) { position: relative; z-index: 2; }
@media (hover: hover) {
  .card:has(.card-link):hover { box-shadow: 0 1px 0 rgba(7, 26, 58, .06), 0 30px 54px -30px rgba(7, 26, 58, .55); }
  .card:has(.card-link):hover::before { border-color: var(--cyan-deep); }
  .card:has(.card-link):hover .card-link { text-decoration-color: currentColor; }
}
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--cyan-deep); outline-offset: 3px; }
.paper-2 .card { box-shadow: 0 1px 0 rgba(7, 26, 58, .07), 0 18px 36px -30px rgba(7, 26, 58, .45); }
/* Schede su fondo scuro */
.ink .card { background: linear-gradient(160deg, rgba(19, 58, 114, .55), rgba(12, 38, 80, .55)); color: var(--on-ink); box-shadow: 0 0 0 1px var(--rule-ink) inset, 0 30px 50px -36px rgba(0, 0, 0, .8); }
.ink .card::before { border-color: rgba(168, 230, 249, .1); }
.ink .card h3 { color: #fff; }
.ink .card > p:not([class]), .ink .card > ul:not([class]) li { color: var(--on-ink-soft); }
.ink .card-tag { color: var(--cyan-hi); border-color: rgba(168, 230, 249, .4); }
.ink .card-link { color: var(--cyan-hi); text-decoration-color: rgba(168, 230, 249, .4); }
@media (hover: hover) { .ink .card:has(.card-link):hover::before { border-color: rgba(92, 203, 240, .7); } }
.ink .card:has(.card-link:focus-visible) { outline-color: var(--cyan); }

/* ───────── Passi numerati: ogni passo ha la sua finestra di filo ───────── */
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); gap: 2.4rem clamp(1.5rem, 3vw, 2.5rem); }
.steps > li { counter-increment: st; position: relative; display: grid; align-content: start; gap: .55rem; padding-top: 1.4rem; }
.steps > li::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--cyan-deep) 0 1.4rem, rgba(15, 110, 153, .22) 1.4rem 2.1rem); transform-origin: left; transform: scaleX(var(--drawn, 1)); }
.steps > li::before { content: counter(st, decimal-leading-zero); font-weight: 820; font-stretch: 70%; font-size: clamp(2.3rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.01em; color: var(--cyan-deep); font-variant-numeric: tabular-nums; margin-bottom: .35rem; }
.steps h3 { font-size: clamp(1.2rem, 1.7vw, 1.38rem); font-stretch: 110%; }
.steps p { color: var(--text-soft); font-size: 1.02rem; }
.ink .steps > li::after { background: var(--thread-h); }
@media (max-width: 560px) {
  .steps { gap: 1.8rem; }
  .steps > li { grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: .6rem; }
  .steps > li::before { grid-row: 1 / span 9; margin: 0; font-size: 2.2rem; }
}
.ink .steps > li::before { color: var(--cyan); }
.ink .steps h3 { color: #fff; }
.ink .steps p { color: var(--on-ink-soft); }

/* ───────── Cifre ───────── */
.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.stats > div { display: flex; flex-direction: column; gap: .55rem; padding-top: 1.1rem; border-top: 2px solid var(--cyan-deep); }
.stats dt { font-size: clamp(2.3rem, 4.2vw, 3.6rem); text-wrap: balance; font-weight: 820; font-stretch: 72%; line-height: .95; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats dd { margin: 0; max-width: 22rem; color: var(--text-soft); font-size: 1rem; line-height: 1.5; }
.ink .stats > div { border-top-color: var(--cyan); }
.ink .stats dt { color: #fff; }
.ink .stats dd { color: var(--on-ink-soft); }

/* ───────── Confronto ───────── */
.compare-wrap { position: relative; overflow-x: auto; border-radius: .9rem; border: 1px solid var(--rule); background: var(--surface); box-shadow: 0 22px 44px -36px rgba(7, 26, 58, .5); scrollbar-width: thin; }
.compare { width: 100%; min-width: 38rem; border-collapse: collapse; font-size: 1rem; line-height: 1.45; color: var(--text); }
.compare caption { caption-side: bottom; padding: .9rem 1.2rem; text-align: left; font-size: .9rem; color: var(--text-soft); border-top: 1px solid var(--rule); }
.compare :is(th, td) { padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare thead th { background: var(--ink); color: #fff; font-weight: 720; font-stretch: 110%; font-size: 1rem; vertical-align: bottom; border-bottom: 0; }
.compare tbody tr { background: var(--surface); }
.compare tbody tr:nth-child(even) { background: #F5F8FC; }
.compare tbody th { font-weight: 680; }
.compare td { color: var(--text-soft); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: inherit; min-width: 9rem; box-shadow: 1px 0 0 var(--rule); }
.compare thead th:first-child { background: var(--ink); box-shadow: none; }
.compare .us { background: rgba(92, 203, 240, .12); color: var(--text); font-weight: 600; }
.compare thead .us { background: var(--cyan); color: var(--ink); }
.compare .yes, .compare .no, .compare .part { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; }
.compare .yes::before, .compare .no::before, .compare .part::before { content: ''; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; }
.compare .yes { color: #0E5A3A; } .compare .yes::before { background: #1B8A5A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.compare .no { color: #8A1C12; } .compare .no::before { background: #C4392B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.2 5.2l5.6 5.6m0-5.6l-5.6 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.compare .part { color: #7A4B00; } .compare .part::before { background: linear-gradient(90deg, #C98A12 50%, #F3DDB0 50%); }
@media (max-width: 640px) { .compare { font-size: .94rem; } .compare :is(th, td) { padding: .85rem .9rem; } .compare :is(th, td):first-child { min-width: 7.5rem; } }

/* ───────── Lista di spunte ───────── */
.checklist { display: grid; gap: .85rem; }
.checklist > li { position: relative; padding-left: 2.15rem; color: var(--text-soft); max-width: 44rem; line-height: 1.55; }
.checklist > li::before { content: ''; position: absolute; left: 0; top: .12em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--cyan-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.3 2.3 4.9-5.1' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.checklist :is(b, strong) { color: var(--text); font-weight: 680; }
@media (min-width: 900px) { .band .wrap > .checklist:has(> li:nth-child(6)) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem); } }
.ink .checklist > li { color: var(--on-ink-soft); }
.ink .checklist > li::before { background-color: var(--cyan); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.3 2.3 4.9-5.1' fill='none' stroke='%23071A3A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ink .checklist :is(b, strong) { color: #fff; }

/* ───────── Citazione: il filo a sinistra, la frase in grande ───────── */
.quote { position: relative; margin: 0; max-width: 54rem; padding: .3rem 0 .3rem clamp(1.6rem, 4vw, 3rem); }
.quote::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .45rem; border-radius: 1px; background: repeating-linear-gradient(180deg, var(--cyan-deep) 0 1.4rem, rgba(15, 110, 153, .22) 1.4rem 2.1rem); }
.quote p { font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 620; font-stretch: 104%; line-height: 1.32; letter-spacing: -.012em; color: var(--text); text-wrap: pretty; }
.quote p + p { margin-top: .8rem; }
.quote footer { margin-top: 1.3rem; font-size: 1rem; color: var(--text-soft); }
.quote footer :is(b, strong, cite) { color: var(--text); font-style: normal; font-weight: 680; }
.ink .quote::before { background: var(--thread-v); }
.ink .quote p { color: #fff; }
.ink .quote footer { color: var(--on-ink-soft); }
.ink .quote footer :is(b, strong, cite) { color: var(--cyan-hi); }

/* ───────── Testo lungo ───────── */
.prose { max-width: 44rem; }
.wrap.prose { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); max-width: calc(44rem + 2 * var(--gut)); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.8rem; max-width: none; font-size: clamp(1.5rem, 2.5vw, 1.95rem); line-height: 1.15; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; }
.prose > :first-child { margin-top: 0; }
.prose :is(h2, h3) + * { margin-top: .8rem; }
.prose :is(p, li) { color: var(--text-soft); }
.prose :is(b, strong) { color: var(--text); font-weight: 680; }
.prose ul:not([class]) { display: grid; gap: .5rem; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.4rem; }
.prose ul:not([class]) > li::before { content: ''; position: absolute; left: 0; top: .72em; width: .7rem; height: 2px; background: var(--cyan-deep); }
.prose ol:not([class]) { display: grid; gap: .5rem; padding-left: 1.4rem; list-style: decimal; }
.prose ol:not([class]) > li::marker { color: var(--cyan-deep); font-weight: 700; }
.prose blockquote:not([class]) { margin-left: 0; margin-right: 0; padding-left: 1.2rem; border-left: 3px solid var(--cyan-deep); }
.ink .prose :is(p, li) { color: var(--on-ink-soft); }
.ink .prose :is(h2, h3, b, strong) { color: #fff; }

/* ───────── Chiusura con invito all'azione ───────── */
.cta-band { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 8.5rem) 0; background: url('/assets/img/guilloche-waves.svg') center / 100% 100% no-repeat, radial-gradient(60% 80% at 85% 100%, #0E2A5C 0%, rgba(14, 42, 92, 0) 70%), var(--ink); }
.cta-band .wrap { position: relative; }
.cta-band h2 { max-width: 17ch; font-size: clamp(2.3rem, 5.2vw, 4.3rem); font-weight: 820; font-stretch: 116%; letter-spacing: -.035em; line-height: 1; }
.cta-band .sec-lead { margin-top: 1.4rem; max-width: 36rem; color: var(--on-ink); font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
.cta-band .actions { margin-top: 2.4rem; }

/* ───────── Domande frequenti (anche fuori da .qa) ───────── */
.qa.ink .qa-list, .ink .qa-list { border-top-color: var(--cyan); }
.qa-list { max-width: 54rem; border-top: 2px solid var(--text); }
.qa-list details { border-bottom: 1px solid var(--rule); }
.qa-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; padding: 1.3rem 0; font-size: clamp(1.08rem, 1.5vw, 1.22rem); font-weight: 680; font-stretch: 104%; line-height: 1.35; transition: color .2s var(--ease); }
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary::after { content: ''; flex: none; width: .7rem; height: .7rem; margin-top: .35rem; border-right: 2px solid var(--cyan-deep); border-bottom: 2px solid var(--cyan-deep); transform: rotate(45deg); transition: transform .35s var(--ease); }
.qa-list details[open] summary::after { transform: rotate(225deg); margin-top: .65rem; }
.qa-list summary:hover { color: var(--cyan-deep); }
.qa-list details > :not(summary) { padding-right: clamp(0rem, 6vw, 3.5rem); color: var(--text-soft); max-width: 46rem; }
.qa-list details > :not(summary):last-child { padding-bottom: 1.5rem; }
.qa-list details > * + :not(summary) { margin-top: .7rem; }
.qa-list details p { padding-bottom: 0; }
.qa-list details > p:last-child { padding-bottom: 1.5rem; }
.ink .qa-list details { border-bottom-color: var(--ink-rule); }
.ink .qa-list summary { color: #fff; }
.ink .qa-list summary:hover { color: var(--cyan-hi); }
.ink .qa-list summary::after { border-color: var(--cyan); }
.ink .qa-list details > :not(summary) { color: var(--on-ink-soft); }
.qa .qa-list + .sec-lead { margin-top: 2rem; }

/* ───────── Modulo per le richieste ───────── */
.lead-form { display: grid; gap: 1.2rem; max-width: 46rem; }
.lead-form :is(.f2, .row) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.lead-form :is(label, .field) { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem .5rem; font-weight: 640; font-size: .98rem; color: var(--text); }
.lead-form :is(.hint, small) { font-weight: 400; font-size: .88rem; color: var(--text-soft); }
.lead-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) { flex: 1 1 100%; width: 100%; min-height: 3.1rem; padding: .78rem .95rem; border: 1.5px solid #AEBCD0; border-radius: .6rem; background: #fff; color: var(--text); font: 400 1rem/1.4 var(--sans); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lead-form textarea { min-height: 8.5rem; resize: vertical; }
.lead-form select { appearance: none; -webkit-appearance: none; padding-right: 2.8rem; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230F6E99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .9rem center / 1rem no-repeat; }
.lead-form :is(input, select, textarea):hover { border-color: #8193AD; }
.lead-form :is(input, select, textarea):focus-visible { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(15, 110, 153, .22); }
.lead-form :is(input, select, textarea):user-invalid { border-color: #B42318; }
.lead-form ::placeholder { color: #6B7A91; opacity: 1; }
.lead-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .6rem; }
.lead-form legend { padding: 0; margin-bottom: .5rem; font-weight: 640; }
.lead-form :is(.check, label:has(> input[type="checkbox"]), label:has(> input[type="radio"])) { display: flex; align-items: flex-start; gap: .7rem; font-weight: 400; font-size: .95rem; color: var(--text-soft); line-height: 1.5; cursor: pointer; }
.lead-form :is(input[type="checkbox"], input[type="radio"]) { flex: none; width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--cyan-deep); cursor: pointer; }
.lead-form .check a, .lead-form label a { color: var(--cyan-deep); }
.lead-form :is(button, .b) { justify-self: start; min-width: 12rem; }
.lead-form .actions { margin-top: .4rem; }
.lead-form .req { color: #B42318; font-weight: 700; }
/* Campo trappola per i robot: fuori schermo, mai visibile né raggiungibile. */
.hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status { font-size: 1rem; font-weight: 600; line-height: 1.45; }
.form-status:empty { display: none; }
.form-status.is-ok, .form-status.is-error { padding: .95rem 1.1rem .95rem 2.9rem; border-radius: .6rem; border: 1px solid; position: relative; }
.form-status.is-ok::before, .form-status.is-error::before { content: ''; position: absolute; left: 1rem; top: 1.05rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background-position: center; background-size: 100%; background-repeat: no-repeat; }
.form-status.is-ok { color: var(--ok-ink); background: var(--ok-bg); border-color: rgba(20, 83, 45, .25); }
.form-status.is-ok::before { background-color: #1B8A5A; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.form-status.is-error { color: var(--err-ink); background: var(--err-bg); border-color: rgba(138, 28, 18, .25); }
.form-status.is-error::before { background-color: #C4392B; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.2v4.6M8 11.3v.1' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .lead-form :is(.f2, .row) { grid-template-columns: minmax(0, 1fr); } .lead-form :is(button, .b) { justify-self: stretch; } }
/* Modulo dentro una sezione scura: le etichette diventano chiare, i campi restano carta. */
.ink .lead-form :is(label, .field, legend) { color: var(--on-ink); }
.ink .lead-form :is(.check, label:has(> input[type="checkbox"]), .hint, small) { color: var(--on-ink-soft); }
.ink .lead-form :is(.check a, label a) { color: var(--cyan-hi); }
.ink .lead-form :is(input, select, textarea):focus-visible { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(92, 203, 240, .35); }
.ink .lead-form :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--cyan); }
.ink .form-status.is-ok { color: #A7F0C4; background: rgba(27, 138, 90, .16); border-color: rgba(167, 240, 196, .3); }
.ink .form-status.is-error { color: #FFC2BA; background: rgba(196, 57, 43, .18); border-color: rgba(255, 194, 186, .3); }
/* Il modulo dentro una scheda */
.card .lead-form { width: 100%; }

/* ───────── Piede ───────── */
.foot { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; background: #04122B; color: var(--on-ink-soft); font-size: .96rem; border-top: 0; }
.foot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--thread-h); opacity: .75; }
.foot-claim { max-width: 22ch; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); color: #fff; font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.4rem 2rem; padding-top: clamp(2.4rem, 5vw, 3.4rem); border-top: 1px solid var(--ink-rule); }
.foot-about img { width: 140px; margin-bottom: 1.1rem; }
.foot-about p { max-width: 21rem; line-height: 1.55; }
.foot-contact { margin-top: 1rem; }
.foot h2 { margin-bottom: 1rem; max-width: none; color: var(--cyan-hi); font-size: .92rem; font-weight: 700; font-stretch: 112%; letter-spacing: .01em; line-height: 1.3; }
.foot li + li { margin-top: .3rem; }
.foot a:not(.b) { display: inline-block; padding: .2rem 0; color: var(--on-ink-soft); text-decoration: none; transition: color .2s var(--ease); }
.foot a:not(.b):hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: .25em; }
.foot-base { margin-top: clamp(2.6rem, 5vw, 3.6rem); padding-top: 1.4rem; border-top: 1px solid var(--ink-rule); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 2rem; font-size: .86rem; }
.foot-legal { margin: 0; padding: 0; border: 0; color: #9FB3CF; }
.foot-meta { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; }
.foot-meta li + li { margin-top: 0; }
.foot .foot-link { display: inline-block; padding: .2rem 0; border: 0; text-decoration: none; line-height: inherit; background: none; color: var(--on-ink-soft); font: inherit; cursor: pointer; transition: color .2s var(--ease); }
.foot .foot-link:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: .25em; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-cols { column-gap: 1.2rem; } }

/* Il sotto-menu delle pagine interne si aggancia sotto la testata. */
.subnav { top: var(--top-h); }

@media (prefers-reduced-motion: reduce) { .phead::after { animation: none; } }

/* ───────── Schermate di prodotto: una finestra con la sua barra, didascalia sotto ───────── */
.shot { margin: 0; max-width: 100%; }
.band .wrap > .shot:not(:first-child), .prose > .shot { margin-top: clamp(2rem, 4vw, 3rem); }
.shot img { display: block; width: 100%; height: auto; border-radius: 0 0 .7rem .7rem; background: var(--paper-2); }
.shot::before { content: ''; display: block; height: 1.9rem; border-radius: .7rem .7rem 0 0; border-bottom: 1px solid var(--rule);
  background: radial-gradient(circle at 1rem 50%, #C3CEDD .26rem, transparent .3rem), radial-gradient(circle at 1.8rem 50%, #C3CEDD .26rem, transparent .3rem), radial-gradient(circle at 2.6rem 50%, #C3CEDD .26rem, transparent .3rem), #F4F7FB; }
.shot { border-radius: .8rem; box-shadow: 0 0 0 1px rgba(7, 26, 58, .1), 0 30px 60px -34px rgba(7, 26, 58, .55); background: #fff; }
.shot figcaption { padding: .8rem 1rem .9rem; font-size: .9rem; line-height: 1.45; color: var(--text-soft); border-top: 1px solid var(--rule); background: #fff; border-radius: 0 0 .8rem .8rem; }
.shot:has(figcaption) img { border-radius: 0; }
.ink .shot { box-shadow: 0 0 0 1px rgba(168, 230, 249, .2), 0 40px 70px -36px rgba(0, 0, 0, .85); background: #0C2650; }
.ink .shot::before { background: radial-gradient(circle at 1rem 50%, rgba(168, 230, 249, .35) .26rem, transparent .3rem), radial-gradient(circle at 1.8rem 50%, rgba(168, 230, 249, .35) .26rem, transparent .3rem), radial-gradient(circle at 2.6rem 50%, rgba(168, 230, 249, .35) .26rem, transparent .3rem), #0A2149; border-bottom-color: var(--ink-rule); }
.ink .shot figcaption { background: #0C2650; color: var(--on-ink-soft); border-top-color: var(--ink-rule); }
@media (max-width: 640px) { .shot::before { height: 1.4rem; } .shot figcaption { font-size: .85rem; } }
/* Collegamento in fondo a un caso, anche dentro le sezioni nuove */
.band .case-link a, .card .case-link a { color: var(--cyan-deep); font-weight: 680; text-decoration-color: var(--cyan); }
.band.ink .case-link a { color: var(--cyan-hi); }

/* ───────── Esempio di conversazione: battute alternate, il cliente a sinistra, l'agente a destra ───────── */
.dialog { display: flex; flex-direction: column; gap: .55rem; width: 100%; max-width: 40rem; }
.dialog > li { max-width: 88%; padding: .7rem .95rem .75rem; border-radius: .9rem .9rem .9rem .25rem; background: var(--paper-2); color: var(--text); font-size: 1rem; line-height: 1.45; align-self: flex-start; }
.dialog > li:nth-child(even) { align-self: flex-end; border-radius: .9rem .9rem .25rem .9rem; background: var(--ink); color: var(--on-ink); }
.dialog > li > b:first-child { display: block; margin-bottom: .15rem; font-size: .8rem; font-weight: 700; font-stretch: 110%; letter-spacing: .01em; color: var(--cyan-deep); }
.dialog > li:nth-child(even) > b:first-child { color: var(--cyan); }
.paper-2 .dialog > li:nth-child(odd) { background: #fff; box-shadow: 0 0 0 1px var(--rule); }
.card .dialog { margin-top: .3rem; }
.card .dialog > li { font-size: .96rem; }
.band .wrap > .dialog:not(:first-child) { margin-top: clamp(2rem, 4vw, 3rem); }
.ink .dialog > li:nth-child(odd) { background: rgba(255, 255, 255, .08); color: var(--on-ink); box-shadow: none; }
.ink .dialog > li:nth-child(odd) > b:first-child { color: var(--on-ink-soft); }
.ink .dialog > li:nth-child(even) { background: var(--cyan); color: var(--ink); }
.ink .dialog > li:nth-child(even) > b:first-child { color: var(--ink-3); }
@media (max-width: 480px) { .dialog > li { max-width: 94%; } }

/* Pulsanti <button> a contorno: niente sfondo grigio del browser, su fondo chiaro e scuro. */
button.b-line { background-color: transparent; }

/* ───────── prezzi ───────── */
/* Listino: la scala degli scaglioni come filo di sicurezza, il margine stampato su una banconota. */
.pz-seals { margin-top: clamp(2.4rem, 5vw, 3.4rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.2rem, 3vw, 2.5rem); max-width: 60rem; }
.pz-seals li { position: relative; display: grid; gap: .25rem; padding: 1.1rem 0 0 2.9rem; border-top: 1px solid var(--ink-rule); }
.pz-seals li::before { content: ''; position: absolute; left: 0; top: 1.15rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--cyan); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5.5px rgba(92, 203, 240, .55); }
.pz-seals b { color: #fff; font-weight: 720; font-stretch: 108%; }
.pz-seals span { color: var(--on-ink-soft); font-size: .95rem; line-height: 1.45; }
@media (max-width: 760px) { .pz-seals { grid-template-columns: 1fr; } .pz-seals li { padding-bottom: .9rem; } }

/* Interruttore tra i due pubblici */
.pz-switch-band { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.pz-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding: .45rem; max-width: 56rem; border-radius: 1.2rem; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), 0 22px 44px -36px rgba(7, 26, 58, .5); }
.pz-switch button { position: relative; display: grid; gap: .2rem; text-align: left; padding: 1rem 1.2rem 1.15rem; border: 0; border-radius: .85rem; background: none; color: var(--text); font: inherit; cursor: pointer; overflow: hidden; transition: background-color .3s var(--ease), color .3s var(--ease); }
.pz-switch button b { font-size: clamp(1.02rem, 1.6vw, 1.22rem); font-weight: 760; font-stretch: 110%; line-height: 1.2; }
.pz-switch button span { font-size: .9rem; color: var(--text-soft); line-height: 1.35; }
.pz-switch button:hover { background: var(--paper); }
.pz-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.pz-switch button[aria-selected="true"] span { color: var(--on-ink-soft); }
.pz-switch button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: .3rem; background: var(--thread-h); }
.pz-switch button:focus-visible { outline: 3px solid var(--cyan-deep); outline-offset: 2px; }
.pz-panel { margin-top: clamp(2.8rem, 6vw, 4.2rem); }
.pz-panel[hidden], [data-pz-aud][hidden] { display: none; }
.pz-panel + .pz-panel { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.js .pz-panel + .pz-panel { padding-top: 0; border-top: 0; }

/* La scala degli scaglioni */
.pz-tiers { margin: 2.4rem 0 0; padding: 0; border: 0; min-width: 0; }
.pz-tiers legend { padding: 0; margin-bottom: .9rem; font-weight: 720; font-stretch: 108%; font-size: 1.08rem; }
/* Otto voci su una riga sola da tablet in su; sotto, due righe da quattro (nessuna voce tagliata). */
.pz-tier-scroll { max-width: 64rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 3px; margin: -3px; }
.pz-tier-scroll::-webkit-scrollbar { display: none; }
.pz-tier-track { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(8, minmax(4.6rem, 1fr)); padding: .35rem; border-radius: 99px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule); }
.pz-tier-track::before { content: ''; position: absolute; z-index: -1; top: .35rem; bottom: .35rem; left: .35rem; width: calc((100% - .7rem) / 8); border-radius: 99px; background: var(--ink); transition: transform .45s var(--ease); }
.pz-tier-track:has(input[value="1"]:checked)::before { transform: translateX(100%); }
.pz-tier-track:has(input[value="2"]:checked)::before { transform: translateX(200%); }
.pz-tier-track:has(input[value="3"]:checked)::before { transform: translateX(300%); }
.pz-tier-track:has(input[value="4"]:checked)::before { transform: translateX(400%); }
.pz-tier-track:has(input[value="5"]:checked)::before { transform: translateX(500%); }
.pz-tier-track:has(input[value="6"]:checked)::before { transform: translateX(600%); }
.pz-tier-track:has(input[value="7"]:checked)::before { transform: translateX(700%); }
.pz-tier { position: relative; display: grid; justify-items: center; gap: .05rem; padding: .55rem .2rem .6rem; border-radius: 99px; cursor: pointer; color: var(--text); text-align: center; white-space: nowrap; transition: color .3s var(--ease), background-color .3s var(--ease); }
.pz-tier input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pz-tier-n { font-weight: 820; font-stretch: 78%; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.pz-tier-l { font-size: .74rem; color: var(--text-soft); transition: color .3s var(--ease); }
.pz-tier-deal .pz-tier-l { color: var(--cyan-deep); font-weight: 650; }
.pz-tier:has(input:checked) { color: #fff; }
.pz-tier:has(input:checked) .pz-tier-l { color: var(--cyan-hi); }
.pz-tier:has(input:focus-visible) { outline: 3px solid var(--cyan-deep); outline-offset: 2px; }
.pz-tier:not(:has(input:checked)):hover { background: var(--paper); }
@media (max-width: 760px) {
  .pz-tier-track { grid-template-columns: repeat(4, minmax(4.2rem, 1fr)); gap: .25rem; border-radius: 1.1rem; }
  .pz-tier-track::before { display: none; }
  .pz-tier { border-radius: .8rem; padding: .6rem .15rem .65rem; }
  .pz-tier:has(input:checked) { background: var(--ink); }
  .pz-tier-n { font-size: 1.2rem; }
}
.pz-tier-note { margin-top: .9rem; max-width: 52rem; color: var(--text-soft); font-size: .98rem; }
.pz-tier-note a { color: var(--cyan-deep); font-weight: 650; }
.pz-tier-note b { color: var(--text); }
.js .pz-nojs { display: none; }
.pz-nojs { margin-top: 1.6rem; color: var(--text-soft); }

/* Le schede dei prodotti */
.pz-cards { margin-top: 2.2rem; align-items: start; }
.pz-card { gap: .8rem; }
.pz-card > p:not([class]) { font-size: 1rem; }
.pz-rows { width: 100%; margin-top: .4rem; }
.pz-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; padding: 1.15rem 0 1.2rem; border-top: 1px solid var(--rule); }
.pz-size { display: flex; gap: .7rem; align-items: flex-start; font-weight: 640; line-height: 1.35; font-size: 1rem; }
.pz-letter { flex: none; display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1.5px solid var(--ink-3); color: var(--ink-3); font-weight: 800; font-stretch: 110%; font-size: .9rem; line-height: 1; }
.pz-price { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; text-align: right; align-self: start; }
.pz-w { font-weight: 820; font-stretch: 72%; font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.pz-unit { margin-top: .3rem; max-width: 9rem; font-size: .78rem; line-height: 1.3; color: var(--text-soft); }
.pz-rec { padding-left: 2.6rem; font-size: .95rem; color: var(--text-soft); }
.pz-margin { grid-column: 1 / -1; margin-top: .45rem; padding: .6rem .8rem .6rem 1rem; border-radius: .5rem; background: rgba(15, 110, 153, .07); box-shadow: inset .25rem 0 0 var(--cyan-deep); font-size: .95rem; line-height: 1.45; color: var(--text-soft); }
.pz-margin b { color: var(--cyan-deep); font-weight: 760; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pz-foot { margin-top: 1.4rem; max-width: 46rem; font-size: .9rem; color: var(--text-soft); }

/* Combo: la scheda scura */
.pz-card-combo { background: linear-gradient(165deg, var(--ink-3), var(--ink) 70%); color: var(--on-ink); box-shadow: 0 30px 60px -34px rgba(7, 26, 58, .8); }
.pz-card-combo::before { border-color: rgba(168, 230, 249, .2); }
.pz-card-combo h3 { color: #fff; }
.pz-card-combo > p:not([class]) { color: var(--on-ink-soft); }
.pz-card-combo .card-tag { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.pz-card-combo .pz-row { border-top-color: var(--ink-rule); }
.pz-card-combo .pz-letter { border-color: var(--cyan); color: var(--cyan); }
.pz-card-combo .pz-w { color: #fff; }
.pz-card-combo :is(.pz-unit, .pz-rec, .pz-margin) { color: var(--on-ink-soft); }
.pz-card-combo .pz-margin { background: rgba(92, 203, 240, .1); box-shadow: inset .25rem 0 0 var(--cyan); }
.pz-card-combo .pz-margin b { color: var(--cyan-hi); }
.pz-card-combo :focus-visible { outline-color: var(--cyan); }

/* Le cifre che cambiano: un breve lampo, solo quando chi visita sceglie. */
.pz-tick { animation: pz-tick .7s var(--ease); }
@keyframes pz-tick { from { opacity: .25; transform: translateY(-.25em); } }
.pz-w.pz-tick, .pz-note-big.pz-tick { display: inline-block; }

/* Aziende */
.pz-pv-grid { margin-top: 2.2rem; }
.pz-from { font-size: 1.05rem; color: var(--text-soft); }
.pz-from b { font-weight: 820; font-stretch: 72%; font-size: 2.3rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.pz-card-combo .pz-from { color: var(--on-ink-soft); }
.pz-card-combo .pz-from b { color: #fff; }
.pz-pv-rows { width: 100%; margin-top: .3rem; }
.pz-pv-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.pz-card-combo .pz-pv-rows li { border-top-color: var(--ink-rule); }
.pz-pv-inc { color: var(--text-soft); line-height: 1.35; }
.pz-card-combo .pz-pv-inc { color: var(--on-ink-soft); }
.pz-pv-price { font-weight: 760; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pz-pv-price::after { content: ' /sede'; font-weight: 500; font-size: .82rem; color: var(--text-soft); }
.pz-card-combo .pz-pv-price::after { color: var(--on-ink-soft); }
.pz-pv-terms { margin-top: 1.5rem; }
.pz-sub { margin: clamp(3rem, 6vw, 4.2rem) 0 1.4rem; max-width: 30ch; font-size: clamp(1.45rem, 2.6vw, 2rem); font-stretch: 108%; line-height: 1.15; letter-spacing: -.02em; }
.pz-panel > .actions { margin-top: 2.2rem; }

/* Calcolatore */
.pz-calc { margin-top: clamp(2.2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.pz-form { display: grid; gap: 1.1rem; }
.pz-field { display: grid; gap: .45rem; }
.pz-field > span { font-weight: 650; font-size: .98rem; color: var(--on-ink); }
.pz-field :is(input, select) { width: 100%; min-height: 3.3rem; padding: .6rem 1rem; border-radius: .7rem; border: 1.5px solid rgba(168, 230, 249, .3); background: rgba(255, 255, 255, .06); color: #fff; font: 700 1.2rem var(--sans); font-stretch: 104%; font-variant-numeric: tabular-nums; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.pz-field select { appearance: none; -webkit-appearance: none; padding-right: 2.8rem; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235CCBF0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat; }
.pz-field option, .pz-field optgroup { color: var(--text); background: #fff; }
.pz-field :is(input, select):hover { border-color: rgba(92, 203, 240, .6); }
.pz-field :is(input, select):focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); background-color: rgba(255, 255, 255, .1); }
.pz-hint { font-size: .95rem; color: var(--on-ink-soft); min-height: 1.5em; }
.pz-hint.warn { color: #FFD48A; }

/* La banconota del margine */
.pz-note { position: relative; margin: 0; aspect-ratio: 1.9 / 1; border-radius: 1rem; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 15% 20%, #163F7C 0%, var(--ink-2) 55%, #081D42 100%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(168, 230, 249, .18) inset; transform: rotate(-1.5deg); }
.pz-note::before { content: ''; position: absolute; inset: .9rem; border: 1px solid rgba(168, 230, 249, .28); border-radius: .55rem; z-index: 2; pointer-events: none; }
.pz-note::after { content: ''; position: absolute; top: 0; bottom: 0; left: 76%; width: .65rem; z-index: 1; background: var(--thread-v); box-shadow: 0 0 0 1px rgba(7, 26, 58, .6); }
.pz-note-guilloche { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.pz-note-face { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; gap: .5rem; padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.5rem, 3.5vw, 2.6rem); }
.pz-note-kind { font-weight: 700; font-stretch: 118%; font-size: clamp(.9rem, 1.4vw, 1.05rem); color: var(--cyan-hi); }
.pz-note-big { font-weight: 840; font-stretch: 112%; font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: .95; letter-spacing: -.035em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); white-space: nowrap; }
.pz-note-sub { max-width: 68%; font-size: clamp(.85rem, 1.3vw, .98rem); line-height: 1.4; color: var(--on-ink-soft); }
.pz-out { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem clamp(1rem, 2.5vw, 2rem); }
.pz-out div { display: grid; align-content: start; gap: .45rem; padding-top: 1rem; border-top: 2px solid var(--cyan); }
.pz-out dd { order: -1; margin: 0; font-weight: 820; font-stretch: 72%; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.pz-out dt { font-size: .92rem; line-height: 1.35; color: var(--on-ink-soft); }
.pz-out dd.neg { color: #FFB4A8; }
.pz-calc-note { grid-column: 1 / -1; max-width: 52rem; font-size: .9rem; color: var(--on-ink-soft); }
@media (max-width: 1000px) { .pz-out { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pz-calc { grid-template-columns: 1fr; } .pz-note { transform: none; } }
@media (max-width: 560px) { .pz-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pz-out div:last-child { grid-column: 1 / -1; } .pz-note { aspect-ratio: 1.45 / 1; } .pz-note::after { left: 84%; } .pz-note-sub { max-width: 76%; } }

/* Listino completo */
.pz-full .pz-th { margin: clamp(2.6rem, 5vw, 3.4rem) 0 1rem; font-size: clamp(1.3rem, 2vw, 1.6rem); font-stretch: 110%; }
.pz-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pz-table tbody th { white-space: normal; }
.pz-inc { display: block; margin-top: .15rem; font-weight: 450; font-size: .88rem; color: var(--text-soft); max-width: 18rem; }
.compare.pz-narrow { min-width: 0; }
.pz-small-tables { align-items: start; }
.pz-small-tables .compare:not(.pz-narrow) { min-width: 30rem; }
.pz-terms { margin-top: 1.2rem; }
@media (min-width: 900px) { .pz-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem); } }
/* Glossario compatto: tre definizioni su una riga */
.pz-gloss { margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; max-width: 60rem; font-size: .88rem; line-height: 1.4; color: var(--text-soft); }
.pz-gloss div { display: flex; gap: .35rem; }
.pz-gloss dt { font-weight: 700; color: var(--text); }
.pz-gloss dt::after { content: ':'; }
.pz-gloss dd { margin: 0; }
@media (max-width: 640px) { .pz-gloss { display: grid; gap: .35rem; } .pz-gloss div { display: block; } .pz-gloss dt { display: inline; } .pz-gloss dd { display: inline; } }

/* Listino completo dentro un <details>: si apre su richiesta */
.pz-more { margin-top: clamp(1.8rem, 3.5vw, 2.4rem); border-radius: 1rem; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), 0 22px 44px -36px rgba(7, 26, 58, .5); }
.pz-more > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .15rem 1.2rem; padding: 1.2rem 1.4rem; border-radius: 1rem; }
.pz-more > summary::-webkit-details-marker { display: none; }
.pz-more > summary::after { content: ''; grid-column: 2; grid-row: 1 / span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235CCBF0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat; transition: transform .35s var(--ease); }
.pz-more[open] > summary::after { transform: rotate(180deg); }
.pz-more > summary:hover .pz-more-t { color: var(--cyan-deep); }
.pz-more > summary:focus-visible { outline: 3px solid var(--cyan-deep); outline-offset: 2px; }
.pz-more-t { font-weight: 760; font-stretch: 110%; font-size: clamp(1.15rem, 1.8vw, 1.35rem); transition: color .2s var(--ease); }
.pz-more-s { font-size: .9rem; color: var(--text-soft); }
.pz-more-body { padding: 0 1.4rem 1.6rem; border-top: 1px solid var(--rule); }
.pz-more-body > .pz-th:first-child { margin-top: 1.6rem; }
@media (max-width: 560px) { .pz-more > summary { padding: 1rem; } .pz-more-body { padding: 0 1rem 1.2rem; } }

/* 1.000+ licenze: nessuna cifra, un invito */
.pz-deal { display: none; }
.pz-cards.is-deal .pz-deal { display: block; width: 100%; margin-top: .2rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .98rem; color: var(--text-soft); }
.pz-cards.is-deal .pz-deal a { font-weight: 700; color: var(--cyan-deep); white-space: nowrap; }
.pz-cards.is-deal .pz-card-combo .pz-deal { border-top-color: var(--ink-rule); color: var(--on-ink-soft); }
.pz-cards.is-deal .pz-card-combo .pz-deal a { color: var(--cyan-hi); }
.pz-cards.is-deal :is(.pz-margin, .pz-unit) { display: none; }
.pz-cards.is-deal .pz-w { font-size: clamp(1.45rem, 2.2vw, 1.8rem); letter-spacing: 0; }
.pz-calc-deal { display: none; }
.pz-calc.is-deal .pz-calc-deal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; max-width: 52rem; font-size: 1.05rem; color: var(--on-ink); }
.pz-calc.is-deal :is(.pz-out, .pz-calc-note) { display: none; }
.pz-calc.is-deal .pz-note-big { font-size: clamp(2.2rem, 5vw, 4rem); }

/* Aziende: la voce da 0,18 € al minuto */
.pz-pv-hero { margin-top: 2rem; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.4rem clamp(2rem, 5vw, 4rem); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3.5vw, 2.6rem); border-radius: 1.1rem; color: var(--on-ink); background: linear-gradient(165deg, var(--ink-3), var(--ink) 70%); box-shadow: 0 30px 60px -34px rgba(7, 26, 58, .8); position: relative; overflow: hidden; }
.pz-pv-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: .3rem; background: var(--thread-h); }
.pz-pv-big { display: grid; gap: .1rem; }
.pz-pv-big-k { font-weight: 700; font-stretch: 112%; color: var(--cyan-hi); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.pz-pv-big b { font-weight: 840; font-stretch: 100%; font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: .95; letter-spacing: -.035em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pz-pv-big-u { font-weight: 650; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--on-ink); }
.pz-pv-facts { display: grid; gap: .75rem; }
.pz-pv-facts li { padding-left: 1.1rem; border-left: 2px solid var(--cyan); color: var(--on-ink-soft); line-height: 1.45; font-size: .98rem; }
.pz-pv-facts b { color: #fff; font-weight: 720; }
@media (max-width: 760px) { .pz-pv-hero { grid-template-columns: 1fr; } }
.pz-pv-price { font-size: 1.15rem; }
@media (max-width: 640px) { .pz-row { grid-template-columns: minmax(0, 1fr) auto; } .pz-rec { padding-left: 0; } .pz-unit { max-width: 7rem; } }
@media (prefers-reduced-motion: reduce) { .pz-tier-track::before { transition: none; } }
#listino, #calcolatore, #listino-completo, .pz-card, .pz-th { scroll-margin-top: calc(var(--top-h) + 1.2rem); }
@media (max-width: 560px) { .pz-switch button { padding: .85rem .9rem 1rem; } .pz-switch button span { font-size: .84rem; } }
/* I pulsanti <button> con contorno non devono prendere lo sfondo grigio del browser. */
:is(.pz-head, .pz-panel, .pz-cta) button.b-line:not(:hover) { background-color: transparent; }
:is(.pz-head, .pz-cta) button.b-line:hover { background-color: rgba(92, 203, 240, .08); }
.band.pz-full .wrap > .pz-th + .compare-wrap { margin-top: 0; }

/* ═════════ Terza tornata (11/2026): home più corta, numeri subito, perché sceglierci, console ═════════ */

/* Testata: accesso alla console, discreto, a sinistra del pulsante principale. */
.top-access { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .2rem; color: var(--on-ink-soft); text-decoration: none; font-size: .9rem; font-weight: 560; font-stretch: 104%; white-space: nowrap; transition: color .2s var(--ease); }
.top-access svg { flex: none; color: var(--cyan); }
.top-access:hover, .top-access[aria-current="page"] { color: #fff; }
.top-access span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; transition: text-decoration-color .2s var(--ease); }
.top-access:hover span { text-decoration-color: var(--cyan); }
@media (max-width: 1380px) and (min-width: 1241px) { .top-access { font-size: .86rem; } .top-access span { max-width: 6.5rem; white-space: normal; line-height: 1.15; } }
@media (max-width: 1240px) {
  .js .top-side { flex-wrap: wrap; }
  .js .top-access { flex-basis: 100%; order: -1; padding: .6rem 0; font-size: 1.05rem; }
}

/* Apertura più compatta: i numeri devono stare nella prima schermata. */
.hero:has(.hero-kpi) { padding: clamp(2.2rem, 4.5vw, 3.6rem) 0 0; }
.hero:has(.hero-kpi) .display { font-size: clamp(2.5rem, 4.3vw, 4rem); max-width: 16ch; }
.hero:has(.hero-kpi) .hero-lead { margin-top: 1.3rem; max-width: 34rem; font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.hero:has(.hero-kpi) .actions { margin-top: 1.7rem; }
.hero:has(.hero-kpi) .note-cap { display: none; }
@media (min-width: 961px) { .hero:has(.hero-kpi) .note-brand input { font-size: clamp(1.7rem, 2.9vw, 2.9rem); } }
.hero:has(.hero-kpi) .hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.hero:has(.hero-kpi) .note-wrap { max-width: 32rem; justify-self: end; width: 100%; }

/* La striscia dei numeri: come la banda di sicurezza in fondo alla banconota. */
.hero-kpi { position: relative; margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.3rem, 2.4vw, 1.8rem) 0 clamp(1.5rem, 2.8vw, 2.1rem); background: rgba(3, 13, 32, .55); border-top: 1px solid var(--ink-rule); }
.hero-kpi::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: repeating-linear-gradient(90deg, var(--cyan) 0 1.4rem, transparent 1.4rem 2.1rem); opacity: .55; }
.kpi-h { max-width: none; font-size: .95rem; font-weight: 620; font-stretch: 106%; letter-spacing: 0; line-height: 1.3; color: var(--cyan-hi); }
.kpi { margin: .9rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem clamp(1rem, 2.4vw, 2rem); }
.kpi div { display: grid; align-content: start; gap: .35rem; }
.kpi div + div { padding-left: clamp(1rem, 2.4vw, 2rem); border-left: 1px solid var(--ink-rule); }
.kpi dd { order: -1; margin: 0; font-size: clamp(2.1rem, 3.5vw, 3.2rem); font-weight: 820; font-stretch: 70%; line-height: .95; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi dt { color: var(--on-ink-soft); font-size: .92rem; line-height: 1.4; }
@media (max-width: 1100px) {
  .kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi div + div { padding-left: 0; border-left: 0; }
  .kpi div { padding-top: .8rem; border-top: 1px solid var(--ink-rule); }
}
/* Su telefono e tablet i numeri salgono subito sotto i pulsanti; la banconota segue. */
@media (max-width: 960px) {
  .hero:has(.hero-kpi) { display: flex; flex-direction: column; }
  .hero:has(.hero-kpi) .hero-in { display: contents; }
  .hero:has(.hero-kpi) .hero-copy, .hero:has(.hero-kpi) .note-wrap { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
  .hero:has(.hero-kpi) .hero-kpi { order: 1; }
  .hero:has(.hero-kpi) .note-wrap { order: 2; margin: clamp(2rem, 6vw, 3rem) auto clamp(2.5rem, 7vw, 3.5rem); max-width: 36rem; justify-self: auto; }
}
@media (max-width: 640px) {
  .kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi div:last-child { grid-column: 1 / -1; }
}

/* Il telefono squilla: la frase dopo i passi. */
#appuntamenti .steps + p { margin-top: 2.4rem; font-size: 1.15rem; color: var(--text); font-weight: 560; max-width: 46rem; }

/* Perché sceglierci */
.why { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: radial-gradient(60% 80% at 10% 0%, #0E2A5C 0%, rgba(14, 42, 92, 0) 70%), var(--ink); border-top: 1px solid var(--ink-rule); }
.why h2 { max-width: 22ch; }
.why-seals { margin-top: clamp(2.5rem, 5vw, 3.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why .compare-wrap { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-color: transparent; }
.why .compare caption { background: var(--surface); }
@media (max-width: 960px) { .why-seals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-seals { grid-template-columns: 1fr; } }

/* Console in arrivo: teaser in home */
.console-teaser { padding: clamp(4rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--ink-rule); }
.console-teaser-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.console-teaser h2 { max-width: 16ch; }
.console-list { display: grid; border-top: 1px solid var(--ink-rule); }
.console-list li { position: relative; padding: .95rem 0 .95rem 2rem; border-bottom: 1px solid var(--ink-rule); color: var(--on-ink); }
.console-list li::before { content: ''; position: absolute; left: 0; top: 1.25rem; width: .85rem; height: .85rem; border-radius: .2rem; border: 2px solid var(--cyan); }
@media (max-width: 900px) { .console-teaser-in { grid-template-columns: 1fr; } }

/* Pagina console: il riquadro d'accesso, ancora chiuso */
.console-head-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.signin { margin: 0; }
.signin-card { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 1rem; background: rgba(12, 38, 80, .72); box-shadow: 0 0 0 1px rgba(168, 230, 249, .2) inset, 0 30px 60px -30px rgba(0, 0, 0, .6); }
.signin-brand { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 720; font-stretch: 112%; font-size: 1.15rem; margin-bottom: .3rem; }
.signin-brand svg { color: var(--cyan); }
.signin-field { display: grid; gap: .4rem; color: var(--on-ink-soft); font-size: .9rem; }
.signin-field i { display: block; height: 2.9rem; border-radius: .55rem; border: 1px dashed rgba(168, 230, 249, .3); background: rgba(7, 26, 58, .5); }
.signin-row { display: flex; align-items: center; gap: .9rem; margin-top: .4rem; }
.signin-btn { flex: 1; justify-content: center; background: rgba(92, 203, 240, .18); color: var(--on-ink-soft); cursor: not-allowed; }
.signin-soon { flex: none; padding: .3rem .75rem; border-radius: 99px; background: var(--cyan); color: var(--ink); font-size: .85rem; font-weight: 720; font-stretch: 110%; }
.signin figcaption { margin-top: .9rem; font-size: .9rem; color: var(--on-ink-soft); }
@media (max-width: 900px) { .console-head-in { grid-template-columns: 1fr; } .signin { max-width: 28rem; } }
.band .wrap > .console-grid:not(:first-child) { margin-top: clamp(2rem, 4vw, 3rem); }
.console-grid .checklist { margin-top: .4rem; }

/* Tecnologie: le competenze, voce per voce */
.cap-cols { margin-top: clamp(2.2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.cap-col { padding-top: 1rem; border-top: 2px solid var(--text); }
.cap-col h3 { font-size: 1.35rem; font-stretch: 112%; }
.cap-col > p { margin-top: .3rem; color: var(--text-soft); font-size: 1rem; }
.cap-links { margin-top: 1rem; }
.cap-links li { border-bottom: 1px solid var(--rule); }
.cap-links a { display: grid; gap: .15rem; padding: .85rem 0; text-decoration: none; }
.cap-links b { font-weight: 700; font-stretch: 106%; color: var(--text); text-decoration: underline; text-decoration-color: rgba(15, 110, 153, .35); text-decoration-thickness: 1.5px; text-underline-offset: .2em; transition: text-decoration-color .2s var(--ease); }
.cap-links a:hover b { text-decoration-color: var(--cyan-deep); }
.cap-links span { color: var(--text-soft); font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) { .cap-cols { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { #appuntamenti .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.6rem; } }
