/* =====================================================================
   Kalcora – sito commerciale
   Sistema: carta fredda, inchiostro navy, filetti tecnici, cartiglio.
   I colori di settore (--sc) codificano solo il settore.
   ===================================================================== */
@font-face { font-family: 'Plex'; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('../fonts/ibm-plex-sans-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Cond'; src: url('../fonts/ibm-plex-sans-condensed-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Cond'; src: url('../fonts/ibm-plex-sans-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #1b2733;
  --ink-2: #33414f;
  --muted: #5a6876;
  --paper: #f4f6f8;
  --white: #ffffff;
  --rule: #d3dae1;
  --rule-strong: #aab6c2;
  --lucido: #9fb0c0;
  --focus: #1d5fd1;
  --sc: #1b2733;

  --sans: 'Plex', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cond: 'Plex Cond', 'Plex', system-ui, sans-serif;

  /* scala tipografica (rapporto 1,25 da 17 px) */
  --t-xs: 0.8125rem;   /* 13 */
  --t-s: 0.9375rem;    /* 15 */
  --t-m: 1.0625rem;    /* 17 */
  --t-l: 1.3125rem;    /* 21 */
  --t-xl: 1.625rem;    /* 26 */
  --t-2xl: 2.0625rem;  /* 33 */
  --t-3xl: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem); /* fino a 52 */

  --wrap: 1240px;
  --gut: clamp(1.25rem, 3vw, 2rem);
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--sans); font-size: var(--t-m); line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--sc, var(--ink)); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 600; line-height: 1.1; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-l); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .5rem 1rem; }
.skip:focus { left: 8px; }
.lead { font-size: var(--t-l); line-height: 1.45; color: var(--ink-2); max-width: 38em; }
.lead-s { font-size: var(--t-m); color: var(--ink-2); max-width: 44em; }

/* ------------------------------ pulsanti ------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.15rem; border-radius: var(--r); font: 500 var(--t-s)/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #0f1923; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.link-quiet { font-size: var(--t-s); font-weight: 500; text-decoration: none; padding: .5rem .25rem; }
.link-quiet:hover { text-decoration: underline; }

/* ------------------------------ testata ------------------------------ */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(244,246,248,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand img { width: 132px; height: auto; }
.primary { display: flex; align-items: center; flex: 1; gap: 1rem; }
.nav-list { list-style: none; display: flex; gap: .15rem; margin: 0 auto 0 0; padding: 0; }
.nav-item { position: relative; }
.nav-btn { font: 500 var(--t-s)/1 var(--sans); color: var(--ink); background: none; border: 0; padding: .7rem .7rem; cursor: pointer; border-radius: var(--r); position: relative; }
.nav-btn::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: var(--sc); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.nav-btn:hover::after, .nav-btn[aria-expanded="true"]::after, .nav-btn[aria-current="true"]::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 1rem; }
.menu-toggle { display: none; margin-left: auto; font: 500 var(--t-s)/1 var(--sans); background: none; border: 1.5px solid var(--ink); border-radius: var(--r); padding: .6rem .9rem; color: var(--ink); }

.dd { position: absolute; top: calc(100% + 10px); left: -1rem; width: 440px; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--sc); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 18px 40px -18px rgba(27,39,51,.35); padding: .5rem; display: none; }
.nav-item.open .dd { display: block; }
.dd-head { display: block; padding: .75rem .75rem .85rem; text-decoration: none; border-bottom: 1px solid var(--rule); margin-bottom: .35rem; }
.dd-name { display: block; font: 600 var(--t-l)/1.2 var(--cond); }
.dd-short { display: block; font-size: var(--t-xs); color: var(--muted); margin-top: .2rem; }
.dd-head:hover .dd-name { text-decoration: underline; text-decoration-color: var(--sc); }
.dd ul { list-style: none; margin: 0; padding: 0; }
.dd li a { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: .5rem .75rem; text-decoration: none; border-radius: var(--r); font-size: var(--t-s); line-height: 1.3; }
.dd li a b { font-weight: 600; }
.dd li a span { color: var(--ink-2); }
.dd li a:hover { background: var(--paper); }
.dd li.dd-sep { border-top: 1px dashed var(--rule); margin-top: .35rem; padding-top: .35rem; }

/* ------------------------------ hero home ------------------------------ */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hero-copy { padding-top: clamp(0rem, 2vw, 2.5rem); }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero-note { font-size: var(--t-s); color: var(--muted); max-width: 32em; }

/* la "tavola": schermata reale + cartiglio */
.sheet { margin: 0; background: var(--white); border: 1.5px solid var(--ink); padding: 10px; position: relative; }
.sheet::before { /* filo interno della squadratura */ content: ''; position: absolute; inset: 4px; border: 1px solid var(--rule); pointer-events: none; }
.sheet-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--rule); margin-bottom: 10px; position: relative; }
.sheet-tabs button { font: 500 var(--t-xs)/1 var(--sans); color: var(--muted); background: none; border: 0; padding: .7rem .8rem .65rem; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sheet-tabs button:hover { color: var(--ink); }
.sheet-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--sc); font-weight: 600; }
.sheet-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); position: relative; }
.sheet-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity .25s; }
.sheet-img img.swap { opacity: 0; }
.sheet-cap { font-size: var(--t-xs); color: var(--muted); padding: .55rem .1rem 0; position: relative; }

/* cartiglio: l'interstizio della griglia disegna i filetti */
.cartouche { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 10px 0 0; border: 1.5px solid var(--ink); background: var(--ink); }
.cartouche .cell { background: var(--white); padding: .5rem .7rem .6rem; min-width: 0; }
.cartouche .cell.wide { grid-column: span 2; }
.cartouche .cell.full { grid-column: 1 / -1; }
.cartouche dt { font-size: var(--t-xs); color: var(--muted); line-height: 1.3; }
.cartouche dd { margin: .15rem 0 0; font-size: var(--t-s); font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.cartouche dd a { text-decoration-color: var(--rule-strong); }
.cartouche .also { font-weight: 400; font-size: var(--t-xs); color: var(--muted); }
.hero-cart dd [data-f="code"] { font-weight: 600; }

/* ------------------------------ indice settori ------------------------------ */
.index-sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: end; margin-bottom: 2.25rem; }
.sec-intro p { margin: 0; color: var(--ink-2); max-width: 40em; }
.sector-index { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.sector-index > li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--rule); padding: 1.15rem 0; position: relative; }
.sector-index > li::before { content: ''; position: absolute; left: 0; top: 1.15rem; bottom: 1.15rem; width: 4px; background: var(--sc); }
.si-head { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: .5rem; padding-left: 1.25rem; text-decoration: none; }
.si-num { grid-row: span 2; font: 500 var(--t-s)/1.9 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.si-name { font: 600 var(--t-xl)/1.15 var(--cond); }
.si-short { color: var(--ink-2); font-size: var(--t-s); }
.si-head:hover .si-name { text-decoration: underline; text-decoration-color: var(--sc); text-decoration-thickness: 2px; }
.si-mods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.si-mods a { display: inline-block; font-size: var(--t-xs); font-weight: 600; text-decoration: none; padding: .35rem .6rem; border: 1px solid var(--rule-strong); border-radius: var(--r); background: var(--white); }
.si-mods a:hover { border-color: var(--sc); box-shadow: inset 0 -2px 0 var(--sc); }

/* ------------------------------ caratteristiche ------------------------------ */
.traits { background: var(--white); border-block: 1px solid var(--rule); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.traits-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.traits-copy h2 { margin-bottom: 1rem; }
.trait-list { margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.trait-list dt { font-weight: 600; margin-bottom: .3rem; padding-top: .7rem; border-top: 1.5px solid var(--ink); }
.trait-list dd { margin: 0; color: var(--ink-2); font-size: var(--t-s); }
.traits-fig { margin: 0; position: sticky; top: 96px; }
.traits-fig img { border: 1px solid var(--rule-strong); }
.traits-fig figcaption { font-size: var(--t-xs); color: var(--muted); margin: .5rem 0 1.5rem; }

/* ------------------------------ piattaforma ------------------------------ */
.platform { background: var(--ink); color: #e9eef3; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.platform h2 { color: #fff; max-width: 20em; margin-bottom: 2.25rem; }
.platform-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.platform-cols > div { border-top: 1px solid rgba(159,176,192,.5); padding-top: 1rem; }
.platform h3 { color: #fff; margin-bottom: .5rem; }
.platform p { color: #c3cdd7; font-size: var(--t-s); margin: 0; }

/* ------------------------------ faq ------------------------------ */
.faq { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: .4rem; top: 1.35rem; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq details p { color: var(--ink-2); max-width: 46em; padding-bottom: .5rem; }

/* ------------------------------ banda CTA ------------------------------ */
.cta-band { background: var(--ink); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 4px solid var(--sc, var(--lucido)); }
.platform + .faq + .cta-band, .faq + .cta-band { --sc: var(--lucido); }
.cta-row { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta-row h2 { font-size: var(--t-xl); margin-bottom: .4rem; }
.cta-row p { color: #c3cdd7; margin: 0; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ------------------------------ percorso ------------------------------ */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--t-xs); color: var(--muted); padding-top: 1.25rem; padding-bottom: .25rem; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ------------------------------ pagina settore ------------------------------ */
.sec-hero { padding: 1.5rem 0 clamp(2.5rem, 5vw, 4rem); }
.sec-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.sec-hero h1 { padding-left: 1rem; border-left: 6px solid var(--sc); margin-bottom: 1.25rem; }
.sec-fig { margin: 0; background: var(--white); border: 1.5px solid var(--ink); padding: 8px; }
.sec-fig img { border: 1px solid var(--rule); }
.sec-fig figcaption { font-size: var(--t-xs); color: var(--muted); padding: .5rem .1rem 0; }
.sec-body { padding-bottom: 1rem; }
.prose { max-width: 44em; }
.prose p { color: var(--ink-2); }
.prose h2 { margin-bottom: 1rem; }

/* menu a tendina dei moduli */
.jump { margin-top: 2rem; padding: 1rem 1.1rem 1.1rem; background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--sc); border-radius: 0 var(--r) var(--r) 0; max-width: 40rem; }
.jump label { display: block; font-weight: 600; font-size: var(--t-s); margin-bottom: .5rem; }
.jump-row { display: flex; gap: .5rem; }
.jump select { flex: 1; min-width: 0; min-height: 44px; font: 400 var(--t-s)/1.2 var(--sans); color: var(--ink); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b2733' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .9rem center; border: 1.5px solid var(--ink); border-radius: var(--r); padding: .5rem 2.4rem .5rem .8rem; appearance: none; cursor: pointer; }
.mod-side .jump { margin-top: 1rem; max-width: none; }

/* elenco moduli a righe */
.mod-list-sec { padding: clamp(2rem, 4vw, 3rem) var(--gut) clamp(3rem, 6vw, 4.5rem); }
.mod-list-sec h2 { margin-bottom: 1rem; }
.h-related { margin-top: 3rem; font-size: var(--t-xl); }
.mrows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.mrow { border-bottom: 1px solid var(--rule); }
.mrow-link { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto 28px; gap: 1.5rem; align-items: center; padding: 1.15rem .5rem 1.15rem 0; text-decoration: none; position: relative; }
.mrow-link::before { content: ''; position: absolute; left: -12px; top: 1.15rem; bottom: 1.15rem; width: 3px; background: var(--sc); opacity: 0; transition: opacity .15s; }
.mrow-link:hover::before, .mrow-link:focus-visible::before { opacity: 1; }
.mrow-link:hover { background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,0)); }
.mrow-logo img { width: 140px; height: auto; }
.mrow-title { display: block; font: 500 var(--t-l)/1.25 var(--cond); }
.mrow-title b { font-weight: 600; }
.mrow-sum { display: block; color: var(--ink-2); font-size: var(--t-s); margin: .3rem 0 .45rem; max-width: 52em; }
.mrow-norms { display: flex; flex-wrap: wrap; gap: .3rem; }
.mrow-norms span { font-size: var(--t-xs); color: var(--muted); border: 1px solid var(--rule); padding: .1rem .45rem; border-radius: 3px; background: var(--white); }
.mrow-sec { font-size: var(--t-xs); color: var(--muted); white-space: nowrap; }
.mrow-go { width: 14px; height: 14px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg); justify-self: center; }
.tag { font: 500 var(--t-xs)/1 var(--sans); color: var(--muted); border: 1px solid var(--rule-strong); border-radius: 3px; padding: .2rem .4rem; vertical-align: middle; white-space: nowrap; }

/* ------------------------------ pagina modulo ------------------------------ */
.mod-hero { padding: 1.25rem 0 2rem; }
.mod-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.mod-logo { width: 220px; height: auto; margin: .5rem 0 1.25rem; }
.mod-hero h1 { margin-bottom: 1rem; padding-left: 1rem; border-left: 6px solid var(--sc); }
.mod-side { padding-top: .5rem; }
.mod-side .cartouche { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }

.gallery { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.gal-main { margin: 0; background: var(--white); border: 1.5px solid var(--ink); padding: 8px; }
.gal-zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--rule); background: var(--paper); cursor: zoom-in; }
.gal-zoom img { width: 100%; }
.gal-main figcaption { font-size: var(--t-s); color: var(--ink-2); padding: .6rem .15rem .1rem; }
.gal-thumbs { display: flex; gap: .75rem; margin-top: .75rem; flex-wrap: wrap; }
.gal-thumbs button { width: 168px; padding: 3px; background: var(--white); border: 1px solid var(--rule-strong); border-radius: 2px; cursor: pointer; }
.gal-thumbs button[aria-pressed="true"] { border: 2px solid var(--ink); padding: 2px; }
.gal-note { font-size: var(--t-xs); color: var(--muted); margin: .75rem 0 0; }

.mod-overview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.mod-aside { border-top: 1.5px solid var(--ink); padding-top: 1rem; align-self: start; }
.mod-aside h2 { font-size: var(--t-l); margin-bottom: .6rem; }
.mod-aside p { color: var(--ink-2); font-size: var(--t-s); }
.lite-note { background: var(--white); border: 1px solid var(--rule); padding: .8rem .9rem; border-radius: var(--r); }

.features { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.features h2 { margin-bottom: 1.5rem; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin: 0; border-top: 1.5px solid var(--ink); }
.feat-grid > div { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--rule); }
.feat-grid dt { font-weight: 600; margin-bottom: .3rem; }
.feat-grid dd { margin: 0; color: var(--ink-2); font-size: var(--t-s); max-width: 40em; }

.workflow { background: var(--white); border-block: 1px solid var(--rule); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.workflow h2 { margin-bottom: .75rem; }
.wf-list { list-style: none; counter-reset: wf; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); border-left: 1px solid var(--rule); }
.wf-list li { counter-increment: wf; padding: .8rem 1rem 1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-weight: 500; font-size: var(--t-s); line-height: 1.35; min-height: 5.25rem; }
.wf-list li::before { content: counter(wf, decimal-leading-zero); display: block; font-weight: 600; font-size: var(--t-xs); color: var(--sc); margin-bottom: .35rem; font-variant-numeric: tabular-nums; }

.outs { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(3rem, 6vw, 4.5rem) 1rem; }
.outs h2 { margin-bottom: 1.25rem; font-size: var(--t-xl); }
.out-list { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.out-list li { padding: .75rem 0 .75rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; }
.out-list li::before { content: ''; position: absolute; left: .1rem; top: 1.05rem; width: 11px; height: 14px; border: 1.5px solid var(--ink); border-radius: 1px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 2px 4px / 5px 1px, linear-gradient(var(--ink), var(--ink)) no-repeat 2px 7px / 5px 1px; }
.norm-list { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1.5px solid var(--ink); display: flex; flex-wrap: wrap; gap: .4rem; }
.norm-list li { font-size: var(--t-xs); font-weight: 500; padding: .3rem .55rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: var(--white); }

/* ------------------------------ contatti ------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: 1.5rem clamp(3rem, 6vw, 5rem); }
.contact-grid h1 { margin-bottom: 1rem; }
.contact-facts { margin: 2rem 0; border-top: 1.5px solid var(--ink); }
.contact-facts > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.contact-facts dt { color: var(--muted); font-size: var(--t-s); }
.contact-facts dd { margin: 0; font-weight: 500; }
.h-small { font-size: var(--t-l); margin: 2rem 0 .75rem; }
.plain { padding-left: 1.1rem; color: var(--ink-2); }
.plain li { margin-bottom: .4rem; }
.contact-form { background: var(--white); border: 1.5px solid var(--ink); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; align-self: start; }
.field { display: grid; gap: .35rem; margin: 0; }
.field label, .field legend { font-weight: 500; font-size: var(--t-s); }
.field input, .field textarea, .field select { font: 400 var(--t-m)/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule-strong); border-radius: var(--r); padding: .6rem .75rem; min-height: 44px; width: 100%; }
.field select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b2733' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .9rem center; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 1px; }
.mods-pick { border: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem 1rem; }
.mods-pick legend { margin-bottom: .5rem; }
.pick-group p { margin: 0 0 .3rem; font-size: var(--t-xs); font-weight: 600; padding-left: .5rem; border-left: 3px solid var(--sc); }
.pick-group label { display: flex; gap: .45rem; align-items: center; font-size: var(--t-s); padding: .15rem 0; cursor: pointer; }
.pick-group input { width: 16px; height: 16px; min-height: 0; accent-color: var(--ink); }
.form-note { font-size: var(--t-xs); color: var(--muted); margin: 0; }

/* ------------------------------ 404 ------------------------------ */
.nf { padding-block: 4rem 6rem; }
.nf h1 { margin-bottom: 1rem; }
.nf-links { list-style: none; padding: 0; margin: 2rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nf-links a { display: inline-block; padding: .5rem .8rem; border: 1px solid var(--rule-strong); border-left: 4px solid var(--sc); text-decoration: none; background: var(--white); }

/* ------------------------------ piede ------------------------------ */
.site-foot { background: #121c26; color: #c3cdd7; font-size: var(--t-s); padding-top: 3.5rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(6, minmax(0, 1fr)); gap: 1.75rem; padding-bottom: 2.5rem; }
.foot-brand img { width: 132px; margin-bottom: 1rem; }
.foot-brand p { max-width: 22em; }
.site-foot a { color: #e5ebf1; text-decoration-color: rgba(229,235,241,.35); }
.foot-col h2 { font: 600 var(--t-s)/1.3 var(--sans); margin-bottom: .6rem; padding-top: .55rem; border-top: 2px solid var(--sc); }
.foot-col h2 a { text-decoration: none; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: .3rem; }
.foot-col li a { text-decoration: none; color: #c3cdd7; }
.foot-col li a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-size: var(--t-xs); position: relative; }
.foot-base::before { content: ''; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid rgba(159,176,192,.25); }
.foot-base p { margin: 0; }
.foot-base a + a { margin-left: 1.25rem; }

/* ------------------------------ lightbox ------------------------------ */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1680px); max-height: 96vh; }
.lightbox::backdrop { background: rgba(18,28,38,.88); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border: 1px solid var(--rule-strong); background: #fff; }
.lb-cap { color: #e5ebf1; text-align: center; font-size: var(--t-s); margin: .75rem 0 0; }
.lb-close { position: fixed; top: 14px; right: 16px; font: 500 var(--t-s)/1 var(--sans); background: var(--paper); color: var(--ink); border: 0; border-radius: var(--r); padding: .7rem 1rem; cursor: pointer; }

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .head-row { flex-wrap: wrap; }
  .primary { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
  .primary.open { display: flex; }
  .nav-list { flex-direction: column; margin: 0; }
  .nav-btn { width: 100%; text-align: left; padding: .9rem .25rem; font-size: var(--t-m); border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav-btn::after { display: none; }
  .nav-btn { border-left: 4px solid var(--sc); padding-left: .75rem; }
  .dd { position: static; width: auto; box-shadow: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: .25rem 0 .5rem; }
  .head-actions { justify-content: space-between; padding-top: 1rem; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .sec-hero-grid, .mod-hero-grid, .traits-grid, .mod-overview, .outs, .contact-grid, .faq-grid, .sec-intro { grid-template-columns: minmax(0, 1fr); }
  .traits-fig { position: static; }
  .platform-cols { grid-template-columns: minmax(0, 1fr); }
  .sector-index > li { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .si-mods { justify-content: flex-start; padding-left: 4.25rem; }
  .mrow-link { grid-template-columns: 110px minmax(0, 1fr) 20px; gap: 1rem; }
  .mrow-logo img { width: 104px; }
  .mrow-sec { display: none; }
}
@media (max-width: 640px) {
  :root { --t-l: 1.1875rem; --t-2xl: 1.75rem; }
  .cartouche, .mod-side .cartouche { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trait-list, .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .mrow-link { grid-template-columns: minmax(0, 1fr) 18px; }
  .mrow-logo { display: none; }
  .jump-row { flex-direction: column; }
  .mods-pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-facts > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .sheet-tabs button { padding: .6rem .55rem; }
  .gal-thumbs button { width: calc(50% - .4rem); }
  .wf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-list li { min-height: 0; padding: .65rem .75rem .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===================== prezzi e offerte ===================== */
.link-quiet.is-current { text-decoration: underline; text-decoration-thickness: 2px; }
.dd .free { font-style: normal; font-size: var(--t-xs); color: #1f7a4d; font-weight: 600; margin-left: .25rem; }
.tag-free { color: #1f7a4d; border-color: #9fd3b6; background: #effaf3; }

.offer { margin-top: 1rem; background: var(--white); border: 1.5px solid var(--ink); padding: 1rem 1.1rem 1.15rem; max-width: 40rem; }
.mod-side .offer { max-width: none; }
.offer-head { font-weight: 600; font-size: var(--t-s); margin: 0 0 .25rem; }
.offer-price { margin: 0 0 .5rem; font-size: var(--t-s); color: var(--ink-2); }
.offer-price b { font: 600 var(--t-2xl)/1 var(--cond); color: var(--ink); margin-right: .2rem; }
.offer-price span { display: block; font-size: var(--t-xs); color: var(--muted); margin-top: .35rem; }
.offer-note { font-size: var(--t-s); color: var(--ink-2); margin: 0 0 .9rem; }
.offer-free { border-color: #1f7a4d; }
.offer-free .offer-head { color: #1f7a4d; }

/* sintesi prezzi in home */
.price-sum { padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1.5px solid var(--ink); }
.ps-list a { display: grid; gap: .3rem; height: 100%; background: var(--white); padding: 1.25rem 1.25rem 1.4rem; text-decoration: none; }
.ps-list a:hover { background: #fbfcfd; }
.ps-list a:hover .ps-name { text-decoration: underline; }
.ps-name { font-weight: 600; }
.ps-price { color: var(--ink-2); }
.ps-price b { font: 600 var(--t-2xl)/1.1 var(--cond); color: var(--ink); }
.ps-year { font-size: var(--t-s); color: var(--muted); }
.ps-desc { font-size: var(--t-s); color: var(--ink-2); margin-top: .4rem; }
.ps-free { margin: 1.25rem 0 0; color: var(--ink-2); max-width: 60em; }

/* pagina prezzi */
.prices-head { padding-top: 1rem; padding-bottom: 1.5rem; }
.prices-head h1 { margin-bottom: 1rem; }
.configurator { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.cfg-form { display: grid; gap: 1.75rem; }
.step { font-weight: 600; font-size: var(--t-m); margin: 0 0 .75rem; padding: 0; }
.billing { display: inline-flex; flex-wrap: wrap; }
.billing label { position: relative; cursor: pointer; }
.billing input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.billing span { display: block; padding: .6rem 1rem; border: 1.5px solid var(--ink); font-size: var(--t-s); font-weight: 500; background: var(--white); }
.billing label + label span { border-left-width: 0; }
.billing input:checked + span { background: var(--ink); color: #fff; }
.billing input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1.5px solid var(--ink); }
.plan { position: relative; display: grid; align-content: start; gap: .3rem; background: var(--white); padding: 1.1rem 1.1rem 1.25rem; cursor: pointer; }
.plan input { position: absolute; top: 1.1rem; right: 1.1rem; width: 18px; height: 18px; accent-color: var(--ink); }
.plan:has(input:checked) { background: #eef2f6; box-shadow: inset 0 4px 0 var(--ink); }
.plan:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -4px; }
.plan-name { font-weight: 600; padding-right: 1.75rem; }
.plan-price { color: var(--ink-2); font-size: var(--t-s); }
.plan-price b { font: 600 var(--t-2xl)/1.1 var(--cond); color: var(--ink); }
.plan-alt { font-size: var(--t-xs); color: var(--muted); }
.plan-desc { font-size: var(--t-s); margin-top: .35rem; }
.plan-incl { font-size: var(--t-s); color: var(--ink-2); }
.cfg-step { border-top: 1.5px solid var(--ink); padding-top: 1rem; display: grid; gap: .9rem; }
.cfg-step .step { margin: 0; }
.field-note { font-size: var(--t-xs); color: var(--muted); margin: .2rem 0 0; }
.incl-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.incl-list li { font-size: var(--t-xs); font-weight: 600; padding: .3rem .55rem; border: 1px solid var(--rule-strong); background: var(--white); border-radius: 3px; }
.incl-list li.is-free { color: #1f7a4d; border-color: #9fd3b6; background: #effaf3; font-weight: 500; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: var(--t-s); }
.check input { margin-top: .25rem; width: 16px; height: 16px; accent-color: var(--ink); }
.summary { position: sticky; top: 92px; }
.summary h2 { font-size: var(--t-xl); margin-bottom: .5rem; }
.sum-cart { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.sum-total dd { font: 600 var(--t-2xl)/1.15 var(--cond); }
.sum-save { font-size: var(--t-s); color: #1f7a4d; margin: .6rem 0 .9rem; min-height: 1.3em; }
.btn-block { width: 100%; }
.sum-msg { font-size: var(--t-s); color: #a3261b; margin: .6rem 0 0; }
.sum-note { font-size: var(--t-xs); color: var(--muted); margin: .75rem 0 0; }
.compare { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.compare h2 { margin-bottom: 1.25rem; }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--t-s); border-top: 1.5px solid var(--ink); }
.cmp th, .cmp td { text-align: left; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp thead th { font-weight: 500; color: var(--muted); font-size: var(--t-xs); }
.cmp tbody th { font-weight: 600; padding-left: .75rem; border-left: 4px solid var(--sc, var(--ink)); }
.cmp-suite th, .cmp-suite td { background: var(--white); }
.muted { color: var(--muted); font-size: var(--t-xs); }
.free-block { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding-block: 1.5rem clamp(3rem, 6vw, 4rem); border-top: 1px solid var(--rule); }
.free-block h2 { font-size: var(--t-xl); margin-bottom: .5rem; }
.free-block p { margin: 0; color: var(--ink-2); max-width: 46em; }
.faq-tight { padding-top: clamp(2.5rem, 5vw, 4rem); background: var(--white); border-top: 1px solid var(--rule); }
.plain-p { color: var(--ink-2); }
.done { padding-block: 3rem 5rem; max-width: 52rem; }
.done h1 { margin-bottom: 1rem; }
.done-steps { margin: 2rem 0; padding-left: 1.25rem; display: grid; gap: .8rem; color: var(--ink-2); }
.done p .btn + .btn { margin-left: .5rem; }

@media (max-width: 960px) {
  .configurator { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .ps-list, .plans { grid-template-columns: minmax(0, 1fr); }
  .cmp thead { display: none; }
  .cmp tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); padding: .4rem 0; }
  .cmp th, .cmp td { border: 0; padding: .3rem .5rem; }
  .cmp tbody th, .cmp td:nth-child(2) { grid-column: 1 / -1; }
}
.offer-trial { font-size: var(--t-xs); color: var(--muted); margin: .7rem 0 0; }
.trial-band { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; justify-content: space-between; background: var(--white); border: 1.5px solid #1f7a4d; border-left-width: 6px; padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.trial-band h2 { font-size: var(--t-xl); margin-bottom: .4rem; }
.trial-band p { margin: 0; color: var(--ink-2); max-width: 52em; font-size: var(--t-s); }
