/* ═══ Tattà® Media Group — sistema grafico 2026 per le pagine interne ═══
   Stessi token, testata e piè di pagina della homepage (index.html); titoli,
   sezioni, pulsanti, link e moduli riprendono gli stessi valori. Qui in più ci
   sono solo i blocchi delle pagine interne (apertura, elenchi, blog, esiti).
   Caricato da inc/chrome.php; le pagine aggiungono solo stili specifici. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f7f6f2;
  --bg-alt:    #edebe6;
  --paper:     #fbfaf7;
  --ink:       #0e1621;
  --text:      #27303b;
  --muted:     #59626e;
  --soft:      #676f79;
  --line:      #dcd8d0;
  --line-2:    #e7e4de;
  --navy:      #174a6d;
  --navy-dk:   #0f3651;
  --navy-2:    #245e8f;
  --blue:      #2b6cad;
  --pink:      #d9689a;
  --pink-dk:   #b03a70;
  --pink-line: #e5a0b9;
  --wrap:      1290px;
  --pad:       clamp(20px, 5vw, 56px);
  --hdr:       76px;
  --ease:      cubic-bezier(.4, 0, .2, 1);
}

/* scroll-padding: ancore e focus da tastiera non finiscono sotto la testata fissa */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
/* colonna a tutta altezza: sulle pagine corte il piè di pagina resta in fondo */
body {
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  overflow-x: clip;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; }
.on-navy :focus-visible, .cta-band :focus-visible, .form-aside :focus-visible, .band-dark :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { width: 100%; max-width: calc(820px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 300; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.reg { font-size: .5em; font-weight: inherit; vertical-align: super; line-height: 0; margin-left: .04em; }
main p, main dd, main li { text-wrap: pretty; }

.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform .25s var(--ease); }

/* ── tipografia e elementi comuni ───────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #29313b; margin-bottom: 18px;
}
.eyebrow::after { content: ""; width: 48px; height: 1px; background: var(--pink-line); flex-shrink: 0; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { content: ""; width: 48px; height: 1px; background: var(--pink-line); flex-shrink: 0; }
.h1 {
  font-weight: 900; font-size: clamp(38px, 5vw, 66px); line-height: 1.03;
  letter-spacing: -.045em; color: var(--ink); text-wrap: balance;
}
.h1 .l2, .h2 .hl, .hl { color: var(--navy); }
.h1 .l2 { display: block; font-weight: 700; letter-spacing: -.04em; }
.h2 {
  font-weight: 900; font-size: clamp(34px, 4.5vw, 62px); line-height: 1.04;
  letter-spacing: -.038em; color: var(--ink); text-wrap: balance;
}
.h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; color: var(--ink); letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; color: var(--text); max-width: 34em; }
.muted { color: var(--muted); }
.sec { padding: clamp(64px, 8vw, 108px) 0; }
.sec-tight { padding: clamp(44px, 5.5vw, 72px) 0; }
.sec-paper { background: var(--paper); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec-alt { background: var(--bg-alt); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .sec-lead { font-size: 17px; color: var(--muted); max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-weight: 700; font-size: 15.5px; line-height: 1; text-decoration: none;
  border: 0; border-radius: 6px; padding: 16px 22px; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .i { font-size: 18px; }
.btn:hover .i { transform: translate(2px, -2px); }
.btn:hover .i-r { transform: translateX(4px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 18px -8px rgba(15, 54, 81, .55); }
.btn-navy:hover { background: var(--navy-dk); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f1f4f7; transform: translateY(-1px); }
.btn-sm { padding: 12px 18px; font-size: 14.5px; gap: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 16px; color: var(--navy); text-decoration: none;
  padding: 6px 0 7px; border-bottom: 1.5px solid currentColor; white-space: nowrap;
}
.link-arrow .i { font-size: 19px; }
.link-arrow:hover .i-r { transform: translateX(4px); }
.link-arrow:hover .i-ur { transform: translate(2px, -2px); }
.link-arrow.back:hover .i-l { transform: translateX(-4px); }
.btn:hover .i-down, .link-arrow:hover .i-down { transform: translateY(3px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 40px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── TESTATA (identica alla homepage) ───────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 246, 242, .9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { background: rgba(247, 246, 242, .96); box-shadow: 0 1px 0 var(--line), 0 10px 28px -12px rgba(14, 22, 33, .12); }
.hdr { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.mainnav { display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); }
.mainnav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.mainnav ul a {
  position: relative; display: block; padding: 6px 0;
  font-size: 15px; color: #1c2632; text-decoration: none; white-space: nowrap;
}
.mainnav ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--pink-line); transition: right .25s var(--ease);
}
.mainnav ul a:hover::after, .mainnav ul a[aria-current]::after { right: 0; }
.mainnav ul a[aria-current] { color: var(--navy); }
@media (min-width: 1081px) { .mainnav { flex: 1; } .mainnav ul { margin: 0 auto; } }
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 8px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.site-header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .burger span:nth-child(2) { opacity: 0; }
.site-header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
main { padding-top: var(--hdr); }

/* ── APERTURA DI PAGINA ─────────────────────────────────────────────── */
.page-hero { position: relative; }
.page-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(var(--pad), 1fr) minmax(0, 645px) minmax(0, 645px) minmax(var(--pad), 1fr);
}
.page-hero .hero-copy { grid-column: 2; padding: clamp(36px, 4.4vw, 64px) 32px clamp(48px, 5vw, 72px) 0; align-self: center; }
.page-hero .hero-copy .h1 { margin-bottom: 26px; }
.page-hero .hero-copy .lead { margin-bottom: 34px; }
/* align-self: il riquadro segue il fondo della foto, non l'altezza della colonna di testo */
.page-hero .hero-visual { grid-column: 3 / 5; align-self: start; position: relative; padding-bottom: 46px; }
.page-hero .hero-photo { height: clamp(380px, 36vw, 540px); overflow: hidden; background: #c9d6e0; }
.page-hero .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-caption {
  position: absolute; right: clamp(20px, 3.6vw, 52px); bottom: 8px;
  display: flex; align-items: center; justify-content: flex-end; gap: 18px; font-size: 14px; color: #29313b;
}
.page-hero .hero-caption::after { content: ""; width: 48px; height: 1px; background: var(--pink-line); }
.page-hero .hero-badge {
  position: absolute; left: -36px; bottom: 70px; max-width: 320px;
  background: var(--paper); box-shadow: 0 30px 60px -24px rgba(12, 32, 52, .45), 0 8px 22px rgba(12, 32, 52, .1);
  border-radius: 7px; padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
}
.page-hero .hero-badge .ib { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 20px; }
.page-hero .hero-badge strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.page-hero .hero-badge span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; text-wrap: pretty; }
/* icone disegnate su griglia 48: tratto più spesso per pareggiare quelle su griglia 24 */
.page-hero .hero-badge .ib use[href="#i-ai"], .page-hero .hero-badge .ib use[href="#i-code"], .page-hero .hero-badge .ib use[href="#i-layers"],
.page-hero .hero-badge .ib use[href="#i-mega"], .page-hero .hero-badge .ib use[href="#i-music"] { stroke-width: 3.1; }
.page-hero .hero-badge .ib .i:has(use[href="#i-ai"], use[href="#i-code"], use[href="#i-layers"], use[href="#i-mega"], use[href="#i-music"]) { font-size: 22px; }
/* apertura senza foto */
.page-hero.plain { border-bottom: 1px solid var(--line-2); }
.page-hero.plain .plain-in { padding-top: clamp(44px, 5.5vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero.plain .h1 { margin-bottom: 22px; max-width: 18em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { color: var(--soft); }

/* ── ELENCHI E BLOCCHI ──────────────────────────────────────────────── */
/* punti con filetti (stile «pilastri» della home) */
.points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.points > * { padding: 28px clamp(20px, 3vw, 40px) 30px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.points > *:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.points.cols-2 { grid-template-columns: repeat(2, 1fr); }
.points.cols-2 > * { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.points.cols-2 > *:nth-child(2n+1) { padding-left: 0; border-left: 0; }
.points.cols-4 { grid-template-columns: repeat(4, 1fr); }
.points.cols-4 > * { border-left: 1px solid var(--line); padding-left: clamp(18px, 2.4vw, 32px); }
.points.cols-4 > *:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.point-ico { width: 40px; height: 40px; color: #1d2834; stroke-width: 1.4; margin-bottom: 18px; display: block; }
.point-tick { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); font-size: 14px; margin-bottom: 14px; }
.points h3 { font-size: 18.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; margin-bottom: 8px; }
.points p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* passi numerati (stile «metodo» della home) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1.5px; background: linear-gradient(90deg, #c3d1df, #8fa9c3 60%, var(--pink-line)); }
.steps li { position: relative; padding: 44px 28px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-2); box-shadow: 0 0 0 6px var(--paper); }
.sec:not(.sec-paper) .steps li::before { box-shadow: 0 0 0 6px var(--bg); }
.steps li:last-child::before { border-color: var(--pink); }
.step-n { display: block; font-size: 13px; color: var(--soft); letter-spacing: .1em; margin-bottom: 8px; }
.steps h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin-bottom: 8px; line-height: 1.3; }
.steps p { font-size: 15.5px; color: var(--muted); line-height: 1.6; max-width: 32ch; }

/* testo affiancato a elenco (es. «Cosa include») */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .split-head { position: sticky; top: calc(var(--hdr) + 32px); }
.split .split-head .h2 { margin-bottom: 18px; }
.split .split-head p:not(.eyebrow) { color: var(--muted); font-size: 16.5px; max-width: 40ch; }
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows .row-ico { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); display: grid; place-items: center; font-size: 16px; margin-top: 1px; }
.rows h3 { font-size: 18.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; margin-bottom: 6px; }
.rows p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.hero-claim { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; color: var(--navy); letter-spacing: -.025em; line-height: 1.2; margin: -8px 0 22px; max-width: 22em; text-wrap: balance; }

/* etichette */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li, .chip { font-size: 13.5px; color: #34404b; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: rgba(255, 255, 255, .55); display: inline-flex; align-items: center; gap: 8px; }
.chips .i { font-size: 15px; color: var(--navy); }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c, var(--navy)); }

/* card generiche */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--paper); padding: 26px 26px 28px; text-decoration: none; color: inherit; border: 1px solid var(--line-2); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(14, 22, 33, .45); }
.card h3 { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.card .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--navy); }
a.card:hover .go .i-r { transform: translateX(4px); }

/* fascia navy */
.cta-band {
  margin-top: clamp(36px, 4vw, 56px); background: var(--navy); color: #fff; border-radius: 8px;
  padding: 30px clamp(24px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
}
.cta-band h2, .cta-band h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; color: #fff; }
.cta-band p { font-size: 15.5px; color: #d3e0eb; max-width: 66ch; }

/* banda scura per contenuti speciali (es. AERVARTH) */
.band-dark { background: #0e1621; color: #dfe6ee; }
.band-dark .eyebrow { color: #c9d3de; }
.band-dark .h2 { color: #fff; }
.band-dark .chips li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #e6ecf2; }
.band-dark .link-arrow { color: #fff; }

/* ── MODULI ─────────────────────────────────────────────────────────── */
.form-shell { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--paper); box-shadow: 0 30px 60px -40px rgba(14, 22, 33, .45); }
.form-aside { background: var(--navy); color: #fff; padding: clamp(32px, 4vw, 56px) clamp(24px, 3.6vw, 48px); }
.form-aside .eyebrow { color: #d6e2ec; }
.form-aside .h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.form-aside .lead { font-size: 16.5px; color: #d3e0eb; margin: 18px 0 32px; max-width: 40ch; }
.benefits { list-style: none; display: grid; gap: 22px; }
.benefits li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; font-size: 15px; color: #c9d8e6; line-height: 1.5; }
.benefits strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.b-ico { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); display: grid; place-items: center; font-size: 19px; color: #fff; }
.form-aside .aside-foot { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14.5px; color: #c9d8e6; }
.form-aside .aside-foot a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(229, 160, 185, .8); }
.form-main { position: relative; padding: clamp(28px, 4vw, 52px) clamp(22px, 3.6vw, 48px); }
.form-title { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 22px; letter-spacing: -.015em; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f-full { grid-column: 1 / -1; }
.fm label, label.fm-label { display: block; font-size: 13px; font-weight: 700; color: #29313b; margin-bottom: 6px; letter-spacing: .01em; }
.fm label .opt { font-weight: 400; color: var(--muted); }
.fm input[type=text], .fm input[type=email], .fm input[type=tel], .fm select, .fm textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: #fff; border: 1px solid #958f86; border-radius: 6px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.fm textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.fm input:focus, .fm select:focus, .fm textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(36, 94, 143, .14); }
.fm ::placeholder { color: #6e757d; }
.fm [aria-invalid="true"] { border-color: var(--pink-dk) !important; box-shadow: 0 0 0 3px rgba(176, 58, 112, .12); }
.f-err { font-size: 13px; color: var(--pink-dk); margin-top: 6px; font-weight: 700; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--soft); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.form-note .i { font-size: 15px; margin-top: 2px; }
.alert { background: #f8e9f0; color: #8e2a59; border-left: 3px solid var(--pink-dk); padding: 12px 16px; font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; }
.alert[hidden] { display: none; }
.alert:not([hidden]) { display: flex; align-items: flex-start; gap: 10px; }
.alert .i { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.alert:focus { outline: 2px solid var(--pink-dk); outline-offset: 3px; }
.form-success { display: none; text-align: center; padding: 48px 10px; }
.form-success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #e3f1e6; color: #3f8550; display: grid; place-items: center; font-size: 30px; }
.form-success h3 { font-size: 24px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ── STATO (pagine di esito, 404) ───────────────────────────────────── */
.state { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(56px, 8vw, 110px) var(--pad); }
.state-ico { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; font-size: 32px; background: #e6edf3; color: var(--navy); }
.state-ico.ok { background: #e3f1e6; color: #3f8550; }
.state-ico.warn { background: #f8e9f0; color: var(--pink-dk); }
.state .h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.state p { color: var(--muted); line-height: 1.7; margin-bottom: 26px; }
.state .recap { text-align: left; background: var(--paper); border: 1px solid var(--line-2); padding: 20px 22px; margin: 0 auto 28px; display: grid; gap: 10px; font-size: 15px; color: var(--text); }
.state .recap div { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.state .recap .i { font-size: 18px; color: var(--navy); margin-top: 2px; }

/* ── BLOG E ARTICOLI ────────────────────────────────────────────────── */
.bl-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.bl-chip { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .6); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; transition: border-color .2s, color .2s, background .2s; display: inline-flex; align-items: center; gap: 8px; }
.bl-chip:hover { border-color: var(--navy); color: var(--navy); }
.bl-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.bl-chip small { font-weight: 400; opacity: .75; }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.bl-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-2); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.bl-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(14, 22, 33, .45); }
.bl-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bl-card:hover .bl-card-img img { transform: scale(1.04); }
.bl-card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--pink) 140%); }
.bl-card-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.bl-cat { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-dk); text-decoration: none; padding: 4px 0; }
.bl-cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.bl-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.bl-card h3 a { color: var(--ink); text-decoration: none; }
.bl-card h3 a:hover { color: var(--navy); }
.bl-card p { font-size: 15px; line-height: 1.6; color: var(--muted); flex: 1; }
.bl-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--soft); }
.bl-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; padding: 8px 0; }
.bl-more .i { font-size: 16px; }
.bl-card:hover .bl-more .i-r { transform: translateX(4px); }
.bl-grid:has(> .bl-card:only-child) { grid-template-columns: 1fr; }
/* con due soli articoli la griglia passa a due colonne (come in homepage) */
@media (min-width: 761px) { .bl-grid:has(> .bl-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 761px) {
  .bl-card:only-child { flex-direction: row; }
  .bl-card:only-child .bl-card-img { flex: 0 0 46%; aspect-ratio: auto; min-height: 300px; }
  .bl-card:only-child .bl-card-body { padding: clamp(24px, 3vw, 44px); justify-content: center; }
  .bl-card:only-child h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
  .bl-card:only-child p { flex: 0 0 auto; font-size: 16px; }
}
.bl-pag { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.bl-pag a, .bl-pag span { font-weight: 700; font-size: 14.5px; min-width: 44px; text-align: center; padding: 11px 12px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .5); }
.bl-pag a:hover { border-color: var(--navy); color: var(--navy); }
.bl-pag .on { background: var(--navy); border-color: var(--navy); color: #fff; }
.bl-empty { text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--line); background: var(--paper); }
.bl-empty strong { color: var(--ink); }
.bl-empty .state-ico { margin-bottom: 18px; }
.bl-empty p + p { margin-top: 8px; }

.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14.5px; color: var(--muted); }
.art-meta .bl-cat { padding: 0; }
.art-cover { width: 100%; max-height: 560px; object-fit: cover; margin: 0 auto; }
.bl-body { font-size: 18px; line-height: 1.75; color: #1f2933; }
.bl-body > * + * { margin-top: 1.1em; }
.bl-body h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); margin-top: 1.8em; }
.bl-body h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin-top: 1.5em; }
.bl-body a { color: var(--navy); text-decoration-color: var(--pink-line); text-underline-offset: 3px; }
.bl-body img { max-width: 100%; height: auto; margin: 1.6em auto; }
.bl-body ul, .bl-body ol { padding-left: 1.3em; }
.bl-body li + li { margin-top: .4em; }
.bl-body blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--pink-line); color: var(--muted); font-style: italic; font-size: 19px; }
.bl-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.bl-body th, .bl-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.bl-body th { background: var(--bg-alt); }
.bl-body pre, .bl-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
.bl-body pre { background: var(--ink); color: #e6edf3; padding: 16px 18px; overflow-x: auto; border-radius: 6px; }

/* ── PIÈ DI PAGINA (identico alla homepage) ─────────────────────────── */
.site-footer { background: #e6e3dd; color: var(--text); padding: clamp(48px, 6vw, 72px) 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px 40px; }
.ft-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.ft-brand p { font-size: 15px; color: var(--muted); max-width: 30ch; margin-bottom: 22px; }
.ft-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #29313b; margin-bottom: 16px; }
.ft-col ul { list-style: none; display: grid; gap: 0; }
.ft-col a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--text); text-decoration: none; }
.ft-col a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--pink-line); text-underline-offset: 4px; }
.ft-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid #d3cfc7; display: flex; justify-content: space-between; gap: 10px 32px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.ft-bottom a { color: inherit; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
/* il riquadro sporge di 36px sulla colonna del testo: sotto i 1440px la colonna si
   stringe e le righe arriverebbero a toccarlo, quindi il testo si ferma 24px prima */
@media (min-width: 1101px) and (max-width: 1439px) {
  .page-hero .hero-copy { padding-right: 60px; }
}
@media (max-width: 1100px) {
  .page-hero .hero-grid { grid-template-columns: 1fr; }
  .page-hero .hero-copy { grid-column: 1; padding: 40px var(--pad) 36px; max-width: 760px; }
  .page-hero .hero-visual { grid-column: 1; padding-bottom: clamp(28px, 5vw, 44px); }
  .page-hero .hero-photo { height: clamp(280px, 48vw, 460px); }
  .page-hero .hero-caption { position: static; padding: 16px var(--pad) 24px; }
  .page-hero .hero-badge { position: relative; left: auto; bottom: auto; margin: -56px var(--pad) 0; max-width: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .points.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .points.cols-4 > * { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
  .points.cols-4 > *:nth-child(2n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1080px) {
  .burger { display: flex; }
  .mainnav {
    position: fixed; top: var(--hdr); left: 0; right: 0; z-index: 99;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(14, 22, 33, .35);
    padding: 6px var(--pad) 24px; max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto;
  }
  .site-header.open .mainnav { display: flex; }
  .mainnav ul { flex-direction: column; gap: 0; }
  .mainnav ul a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line-2); }
  .mainnav ul a::after { display: none; }
  .mainnav .btn { margin-top: 20px; }
}
@media (max-width: 980px) {
  .points { grid-template-columns: repeat(2, 1fr); }
  .points > *, .points > *:nth-child(3n+1) { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
  .points > *:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-shell { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split .split-head { position: static; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .bl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --hdr: 68px; }
  .brand img { height: 56px; }
  .h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .actions { flex-direction: column; align-items: flex-start; }
  .actions .btn { width: 100%; }
  .points, .points.cols-2, .points.cols-4 { grid-template-columns: 1fr; }
  .points > *, .points > *:nth-child(n) { padding: 22px 0; border-left: 0; }
  .steps, .steps.cols-3 { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 0 0 28px 44px; }
  .steps li::before { top: 2px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 26px; bottom: 4px; width: 1.5px; background: #c3d1df; }
  .cards, .cards.cols-2, .cards.cols-4 { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-col a { padding: 9px 0; }
  .ft-bottom { flex-direction: column; }
  .page-hero .hero-badge { margin-top: -40px; }
}
@media (max-width: 400px) {
  /* pulsanti che vanno a capo: righe leggibili e centrate */
  .btn { line-height: 1.25; text-align: center; text-wrap: balance; }
}
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; box-shadow: none; }
  main { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
