/* Manrope servito dal nostro server: nessuna chiamata a Google (GDPR) */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-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: Manrope; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #faf6ef; --surface: #ffffff; --ink: #1a1614; --muted: #5e5650; --line: #e8dfd2;
  --brand: #8a2a6b; --brand-dark: #6e1f55; --gold: #e9b949; --soft: #f3e6ee;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Manrope, sans-serif; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 24px; }
img, video { display: block; max-width: 100%; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, h4, h5 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* stili di testo */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 16px; }


.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; text-decoration: none; transition: transform 300ms var(--ease), background-color 300ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn.big { padding: 12px 24px; }

nav.top { position: sticky; top: 16px; z-index: 20; margin: 16px auto 0; width: fit-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px; border-radius: 16px; background: rgba(250, 246, 239, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
nav.top .logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
nav.top .logo span.dot { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
nav.top .links { display: flex; gap: 16px; }
nav.top .links a { color: var(--muted); text-decoration: none; }
.lang { display: flex; gap: 4px; }
.lang a { color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 8px; }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }
nav.top .links a:hover, nav.top .links a[aria-current="page"] { color: var(--ink); }

.hero { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.grad { background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1, .hero .sub { max-width: 680px; }
.hero .sub { margin-top: 24px; color: var(--muted); }
.hero .cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .proof { margin-top: 16px; display: flex; gap: 8px; align-items: center; color: var(--muted); }
.frame { border-radius: 24px; overflow: hidden; background: #1e1a18; border: 1px solid var(--line); box-shadow: 0 24px 64px rgba(26, 22, 20, 0.18); }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kicker { color: var(--brand); margin-bottom: 12px; }

.reveal-text { max-width: 880px; }
.reveal-text .w { color: rgba(26, 22, 20, 0.28); transition: color 600ms var(--ease); }
.reveal-text .w.on { color: var(--ink); }
.reveal-text .w.on.hl { color: var(--brand); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.card .inner { padding: 24px; }
.card .ask { margin-top: 12px; background: var(--soft); border-radius: 12px; padding: 12px 16px; }
.card .got { margin-top: 8px; padding: 0 16px; color: var(--muted); }
.card video { width: 100%; aspect-ratio: 16 / 9; background: #1e1a18; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 24px; }
.step p { margin-top: 8px; color: var(--muted); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 48px; margin-top: 48px; }
.benefits p { margin-top: 8px; color: var(--muted); }

.receipt { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; font-variant-numeric: tabular-nums; }
.receipt .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.receipt .row:last-of-type { border-bottom: 0; }
.tag { display: inline-block; background: var(--gold); color: var(--ink); border-radius: 8px; padding: 2px 8px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.price.main { border: 2px solid var(--brand); }
.price .amount { margin-top: 16px; }
.price ul { margin-top: 16px; padding-left: 20px; color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.quote { border: 1px dashed var(--muted); border-radius: 24px; padding: 32px; color: var(--muted); }

.faq { max-width: 760px; margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

.final { text-align: center; }
.final h2, .final p { max-width: 680px; margin-left: auto; margin-right: auto; }
.final p { margin-top: 16px; color: var(--muted); }
.final .btn { margin-top: 32px; }

footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.rise { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* brief */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { margin-top: 16px; }
.doc h2 { margin-top: 64px; margin-bottom: 16px; }
.doc h3 { margin-top: 32px; margin-bottom: 8px; }
.doc p, .doc ul, .doc ol, .doc table { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin-top: 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.doc th, .doc td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 24px; }
.doc figure { margin-top: 24px; }
.doc figcaption { margin-top: 8px; }
.doc .ask li { margin-top: 12px; }

@media (max-width: 900px) {
  .hero-grid, .two { grid-template-columns: 1fr; }
  .cards, .steps, .benefits, .prices, .quotes { grid-template-columns: 1fr; }
  nav.top .links { display: none; }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 24px; line-height: 32px; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .reveal-text .w { color: var(--ink); transition: none; }
  .btn, .faq summary::after { transition: none; }
}

/* Sottotitolo corretto a mano: "agent" barrato, "Genius" scritto sopra */
.kicker-fix { margin-top: 24px; }
.fix { position: relative; display: inline-block; }
.fix s { text-decoration-thickness: 2px; text-decoration-color: currentColor; opacity: .55; }
.fix-over {
  position: absolute; left: 50%; bottom: 100%;
  transform: translate(-50%, 2px) rotate(-4deg);
  font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0;
  text-transform: none; white-space: nowrap; color: var(--brand);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Prezzi a pacchetti */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.pack { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 24px 16px; text-align: center; }
.pack.best { border: 2px solid var(--brand); background: var(--surface); }
.pack-tag { color: var(--brand); min-height: 16px; margin-bottom: 8px; }
.pack-amount { margin-top: 16px; }

/* Card «grandi clienti» e modulo */
.needs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.need { display: flex; flex-direction: column; gap: 8px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; cursor: pointer; transition: transform 300ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease); }
.need .ph { width: 32px; height: 32px; color: var(--brand); transition: transform 500ms var(--ease); }
.need:hover { transform: translateY(-4px); }
.need:hover .ph { transform: rotate(-8deg) scale(1.1); }
.need:active { transform: scale(0.98); }
.need[aria-pressed="true"] { border: 2px solid var(--brand); background: var(--soft); padding: 23px; }
.lead { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 16px; max-width: 880px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead label { display: grid; gap: 8px; }
.lead input, .lead textarea { font: inherit; font-size: 16px; line-height: 24px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.lead input:focus, .lead textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.lead [aria-invalid="true"] { border-color: #b42318; }
.lead-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.lead-msg.err { color: #b42318; }
.lead-msg.ok { color: #1f7a3a; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.trap { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .packs { grid-template-columns: repeat(2, 1fr); }
  .needs, .lead-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .need, .need .ph { transition: none; } }
button.btn { font-family: inherit; border: 0; cursor: pointer; }

/* invito alla lingua italiana (niente redirect automatico) */
.langbar { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 12px; display: flex; gap: 12px; align-items: center; }
.langbar[hidden] { display: none; }
.langbar a { color: var(--gold); }
.langbar button { background: none; border: 0; color: #fff; cursor: pointer; font: inherit; }

/* «Come funziona»: la spiegazione poi i tre passi, che scorrono di lato */
.how { padding: 64px 0 48px; }
.how-viewport { overflow: hidden; }
.how-track { display: flex; align-items: stretch; transition: transform 800ms var(--ease); }
.how-slide { flex: 0 0 100%; min-width: 0; padding: 32px 0; }
.how-n { color: var(--brand); margin: 8px 0 8px; }
.how-sub3 { margin-top: 24px; }
.how-art { position: relative; display: grid; place-items: end center; height: 460px; border-radius: 24px; background: var(--soft); overflow: hidden; }
.how-art img { height: 440px; width: auto; max-width: none; }
.how-file { position: absolute; left: 24px; top: 32px; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 40px rgba(26,22,20,.12); }
.how-file i { width: 26px; height: 32px; border-radius: 4px; background: var(--brand); display: inline-block; }
.how-file small { display: block; color: var(--muted); font-size: 12px; line-height: 16px; }
.how-nav { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 16px; }
.how-nav button { font: 600 16px/24px Manrope, sans-serif; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; width: 40px; height: 40px; cursor: pointer; transition: transform 300ms var(--ease); }
.how-nav button:hover { transform: translateY(-2px); }
.how-nav button:disabled { opacity: .35; cursor: default; transform: none; }
.how-dots { display: flex; gap: 8px; }
.how-dots .how-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--line); transition: width 500ms var(--ease), background-color 300ms var(--ease); }
.how-dots .how-dot[aria-current="true"] { width: 32px; background: var(--brand); }
@media (max-width: 900px) { .how-art { height: 340px; } .how-art img { height: 320px; } }
@media (prefers-reduced-motion: reduce) { .how-track { transition: none; } }
.how .sub { margin-top: 24px; color: var(--muted); }
.how .cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.how .proof { margin-top: 16px; color: var(--muted); }
.how h2, .how h3 { max-width: 680px; }

/* Pagine dei casi d'uso */
.case-top { padding: 48px 24px 32px; max-width: 880px; }
.crumbs { margin-bottom: 24px; }
.crumbs a { color: var(--muted); }
.case-answer { margin-top: 24px; color: var(--ink); max-width: 760px; }
.case-cta { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.case-media { margin: 8px 0 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 64px rgba(26, 22, 20, 0.12); background: var(--surface); }
.case-media img, .case-media video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.case-body { padding-top: 48px; }
.case-body h2 { margin-top: 56px; }
.mailbox { border-left-width: 1px; background: var(--surface); }
.near { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.near-card { display: grid; gap: 12px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; padding-bottom: 16px; transition: transform 300ms var(--ease); }
.near-card:hover { transform: translateY(-4px); }
.near-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.near-card span { padding: 0 16px; }
.cases-index { padding: 48px 24px 96px; }
.sec-h { margin-top: 64px; }
.sec-h a { text-decoration: none; margin-left: 8px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.case-card { display: grid; align-content: start; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; padding-bottom: 24px; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26, 22, 20, 0.10); }
.case-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 8px; }
.case-card > span { padding: 0 24px; }
.case-card .kicker { margin: 0; }
@media (max-width: 900px) { .near, .case-grid { grid-template-columns: 1fr; } .case-top { padding-top: 32px; } }

/* menu del telefono: pannello a tutta altezza, voci che entrano una dopo l'altra */
nav.top .links a.menu-lang { display: none; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 500ms var(--ease); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (max-width: 900px) {
  nav.top { gap: 8px; padding-left: 12px; }
  nav.top .lang { display: none; }
  .menu-btn { display: block; }
  nav.top .links.open { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; gap: 8px; padding: 96px 24px 32px; background: rgba(250, 246, 239, 0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
  nav.top .links.open a { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); animation: menu-in 500ms var(--ease) forwards; }
  nav.top .links.open a.menu-lang { display: block; border: 0; color: var(--brand); font-size: 16px; }
  body.menu-open { overflow: hidden; }
}
@keyframes menu-in { to { opacity: 1; transform: none; } }
@media (max-width: 420px) { nav.top .btn-primary { padding: 8px; } }
@media (prefers-reduced-motion: reduce) { .menu-btn span { transition: none; } nav.top .links.open a { animation: none; opacity: 1; transform: none; } }

/* chiusura e footer */
.final-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
footer { padding: 64px 0 32px; }
footer .wrap.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer .foot-grid > div { display: flex; flex-direction: column; gap: 8px; }
footer .foot-grid .caption-3 { color: var(--ink); margin-bottom: 4px; }
footer .foot-grid a { color: var(--muted); text-decoration: none; font-size: 14px; line-height: 20px; }
footer .foot-grid a:hover { color: var(--ink); }
footer .foot-brand .logo { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 20px; }
footer .foot-brand .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
footer .wrap.foot-legal { display: block; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { footer .wrap.foot-grid { grid-template-columns: 1fr 1fr; } footer .foot-brand { grid-column: 1 / -1; } }

/* pagine legali e 404 */
.legal h1 { margin-bottom: 8px; }
.legal h2 { margin-top: 40px; margin-bottom: 8px; }
.legal ul { padding-left: 24px; }
.nf-wrap { text-align: center; }
.nf-img { width: 160px; height: auto; margin: 0 auto 24px; }
.nf + .nf { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.nf p { margin-top: 12px; }
.nf-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px !important; }
/* con il pannello aperto il menu non deve fare da contenitore al pannello fisso */
body.menu-open nav.top { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
section.nf { padding: 0; }
/* le ancore non finiscono sotto il menu fisso */
[id] { scroll-margin-top: 96px; }

/* rifiniture dopo il collaudo del 02/12 */
.how-track { touch-action: pan-y; }
.how-track img, .how-track video { -webkit-user-drag: none; user-select: none; }
.how-dots { gap: 0; }
.how-dots .how-dot { width: 10px; height: 10px; box-sizing: content-box; padding: 0; margin: 0; border: 17px solid transparent; background-clip: padding-box; }
.how-dots .how-dot[aria-current="true"] { width: 32px; }
.sector-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 48px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.sector-cta > div { max-width: 560px; }
.sector-cta p { margin-top: 8px; }
.other-sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.other-sectors a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--surface); }
.other-sectors a:hover { border-color: var(--brand); }
.pack { cursor: default; }
@media (max-width: 900px) {
  /* menu del telefono a tutta larghezza, con fondo: i titoli non spuntano ai lati */
  nav.top { width: calc(100% - 24px); justify-content: space-between; background: rgba(250, 246, 239, 0.94); }
  nav.top .logo { margin-right: auto; }
}
/* pagine dei casi: titolo e testo sulla stessa colonna del racconto */
.case-top { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Elenco dei casi: ricerca e barra dei settori */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.case-search { position: sticky; top: 88px; z-index: 5; margin-top: 32px; padding: 16px 0; background: var(--bg, #faf6ef); }
.case-search input { width: 100%; max-width: 680px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; }
.case-search input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); transition: background-color 300ms var(--ease); }
.chip:hover { background: var(--line); }
.sec-block { scroll-margin-top: 200px; padding: 0; }
.sec-block:first-of-type .sec-h { margin-top: 32px; }
.case-empty { margin-top: 48px; display: grid; gap: 24px; justify-items: start; }
.case-card[hidden], .sec-block[hidden], .case-empty[hidden], .chips[hidden] { display: none; }
@media (max-width: 760px) { .case-search { top: 72px; } }
