/* ==========================================================================
   Insurance Service – foglio di stile principale
   Colori del marchio: blu notte #201154 (logo) e azzurro #9dbce1
   ========================================================================== */

:root {
  --navy: #201154;
  --navy-900: #150b3a;
  --navy-700: #2e1f73;
  --blue: #2f5fa8;
  --sky: #9dbce1;
  --sky-100: #e3edf8;
  --sky-50: #f2f6fc;
  --amber: #f0a830;
  --amber-600: #d88f14;
  --ink: #1a1b2b;
  --muted: #5a5f74;
  --line: #e1e5ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --ok: #1d7a4f;
  --error: #b3261e;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 16, 60, .06), 0 8px 24px rgba(20, 16, 60, .07);
  --shadow-lg: 0 20px 50px rgba(20, 16, 60, .16);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { top: 1rem; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--accent { background: var(--amber); color: var(--navy-900); }
.btn--accent:hover { background: var(--amber-600); color: var(--navy-900); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky-100); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn--sm { padding: .5em 1em; font-size: .9rem; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Topbar e header ---------- */
.topbar { background: var(--navy-900); color: #d6dcf0; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sky); }
@media (max-width: 860px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand img { width: auto; height: 74px; }
@media (max-width: 1060px) { .site-header__inner { min-height: 76px; } .brand img { height: 64px; } }

.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  display: block; padding: .55rem .8rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem;
}
.main-nav ul a:hover { background: var(--sky-50); color: var(--navy); }
.main-nav ul a[aria-current="page"] { color: var(--navy); background: var(--sky-100); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: .5rem; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); max-height: calc(100dvh - 76px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: .85rem .75rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: inline; }
  .main-nav__cta { align-self: flex-start; }
}

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #e7eaf7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .75rem; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #c9d1ee; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- Hero home ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(157,188,225,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #2c3f8f 100%);
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%);
  border: 2px solid rgba(157,188,225,.35); border-radius: 50%; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding-block: clamp(56px, 9vw, 110px); }
.hero h1 { color: #fff; }
.hero p { font-size: 1.2rem; color: #d3daf3; max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; max-width: 560px; }
.hero__stats strong { display: block; font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero__stats span { font-size: .88rem; color: #b9c3e6; }
.hero__card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.75rem; backdrop-filter: blur(6px); }
.hero__card h2 { color: #fff; font-size: 1.25rem; }
.hero__card ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .9rem; }
.hero__card li { display: flex; gap: .75rem; align-items: flex-start; color: #e3e8f8; }
.hero__card li .icon { color: var(--sky); margin-top: .2em; }
.hero__card a:not(.btn) { color: #fff; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } .hero::after { display: none; } }
@media (max-width: 480px) { .hero__stats strong { font-size: 1.5rem; } }

/* ---------- Hero pagine interne ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, #2c3f8f); color: #d3daf3; padding-block: clamp(48px, 7vw, 84px); }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { font-size: 1.15rem; max-width: 44em; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: #b9c3e6; }
.breadcrumb a { color: #fff; }

/* ---------- Card ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); height: 100%; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--sky-100); color: var(--navy); margin-bottom: 1.1rem; }
.card__icon .icon { width: 26px; height: 26px; }
.card--feature { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.card--feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card--feature .card__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.card--feature .card__body > :last-child { margin-top: auto; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.card ul li { display: flex; gap: .6rem; }
.card ul li .icon { color: var(--ok); margin-top: .25em; }

/* ---------- Striscia info ---------- */
.infobar { margin-top: -44px; position: relative; z-index: 2; }
.infobar__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.infobar__item { padding: 1.4rem 1.5rem; display: flex; gap: .9rem; border-right: 1px solid var(--line); }
.infobar__item:last-child { border-right: 0; }
.infobar__item .icon { width: 26px; height: 26px; color: var(--blue); margin-top: .15rem; }
.infobar__item h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.infobar__item p { margin: 0; font-size: .97rem; line-height: 1.45; }
.infobar__item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.infobar__item a:hover { color: var(--blue); }
@media (max-width: 960px) { .infobar__grid { grid-template-columns: 1fr 1fr; } .infobar__item:nth-child(2) { border-right: 0; } .infobar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .infobar__grid { grid-template-columns: 1fr; } .infobar__item { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Split testo/immagine ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), #2c3f8f); color: #e3e8f8; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Loghi partner ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.logos li { display: flex; }
.logos a { flex: 1; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; min-height: 96px; transition: border-color .25s, box-shadow .25s; }
.logos a:hover, .logos a:focus-visible { border-color: var(--sky); box-shadow: var(--shadow); }
.logos img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }
.logos-title { font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin: 2rem 0 1rem; }

/* ---------- Team ---------- */
.team-group + .team-group { margin-top: clamp(40px, 6vw, 72px); }
.person { display: flex; flex-direction: column; gap: .9rem; }
.person__head { display: flex; gap: 1rem; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .03em; }
.person h3 { margin: 0; font-size: 1.12rem; }
.person__role { margin: 0; font-size: .9rem; color: var(--blue); font-weight: 600; }
.person__bio { color: var(--muted); font-size: .97rem; margin: 0; }
.contact-list { list-style: none; margin: auto 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .95rem; }
.contact-list li { display: flex; gap: .55rem; align-items: center; min-width: 0; }
.contact-list .icon { color: var(--blue); }
.contact-list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.card--highlight { border: 2px solid var(--navy); }

/* ---------- Organigramma ---------- */
.org { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.org__root, .org__node, .org__leaf { border-radius: var(--radius-sm); padding: .7rem 1rem; text-align: center; font-weight: 600; font-size: .95rem; }
.org__root { background: var(--navy); color: #fff; padding: 1.1rem 1.25rem; }
.org__branches { display: grid; gap: 14px; border-left: 2px solid var(--sky); padding-left: 22px; }
.org__branch { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; position: relative; }
.org__branch::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; border-top: 2px solid var(--sky); }
.org__node { background: var(--blue); color: #fff; }
.org__leaves { display: grid; gap: 8px; }
.org__leaf { background: var(--sky-100); color: var(--navy); font-weight: 600; padding: .5rem .8rem; font-size: .9rem; }
@media (max-width: 720px) { .org { grid-template-columns: 1fr; } .org__branch { grid-template-columns: 1fr; } }

/* ---------- Divisioni (gestione sinistri / authority) ---------- */
.division { display: flex; flex-direction: column; gap: .75rem; }
.division h3 { margin: 0; font-size: 1.1rem; }
.division__tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25em .65em; border-radius: 999px; background: var(--sky-100); color: var(--navy); }
.division__tag--std { background: #fff1d6; color: #7a4d00; }
.division .btn { margin-top: .5rem; align-self: flex-start; }

/* ---------- Liste a punti con icona ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .65rem; }
.checks .icon { color: var(--ok); margin-top: .3em; }
.section--navy .checks .icon { color: var(--sky); }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .93rem; font-weight: 600; color: var(--navy); }

/* ---------- Contatti + form ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-layout > * { min-width: 0; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-aside > * + * { margin-top: 1.25rem; }
.contact-aside .card { height: auto; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; border: 0; padding: 0; min-width: 0; }
.field--short { max-width: 260px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--ink); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #cdd3e1; border-radius: var(--radius-sm); padding: .75em .9em; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,95,168,.15); }
.field [aria-invalid="true"] { border-color: var(--error); }
.input--upper { text-transform: uppercase; }
.field__error { color: var(--error); font-size: .88rem; margin: .35rem 0 0; font-weight: 600; }
.field--radios { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.field--radios legend { width: 100%; }
.radio, .checkbox { display: inline-flex; gap: .6rem; align-items: flex-start; cursor: pointer; font-weight: 500 !important; }
.radio { border: 1.5px solid #cdd3e1; border-radius: var(--radius-sm); padding: .65em 1em; }
.radio:has(input:checked) { border-color: var(--navy); background: var(--sky-50); }
.radio input, .checkbox input { width: 20px; height: 20px; margin: .15em 0 0; accent-color: var(--navy); flex: none; }
.checkbox span { font-size: .95rem; line-height: 1.5; }
.req { color: var(--error); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.form__note { margin: 0; font-size: .88rem; color: var(--muted); }
.form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
altcha-widget { display: block; max-width: 340px; min-height: 60px; --altcha-color-active: var(--navy); --altcha-color-border-focus: var(--navy); --altcha-border-radius: var(--radius-sm); }

.alert { border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.25rem; font-weight: 600; }
.alert--error { background: #fdecea; color: var(--error); border: 1px solid #f5c2bd; }
.alert--ok { background: #e7f5ee; color: var(--ok); border: 1px solid #bfe3cf; }

/* ---------- Mappa con consenso ---------- */
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky-50); border: 1px solid var(--line); width: 100%; height: clamp(280px, 40vw, 380px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .75rem; padding: 1.5rem;
  background: repeating-linear-gradient(45deg, var(--sky-50), var(--sky-50) 14px, #fff 14px, #fff 28px); }
.map__placeholder p { margin: 0; max-width: 34em; font-size: .95rem; color: var(--muted); }
.map__placeholder .btn { justify-self: center; }

/* ---------- Testi legali ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; border: 1px solid var(--line); padding: .6rem .75rem; vertical-align: top; }
.prose th { background: var(--bg-alt); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c2c9e4; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 32px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo { height: 64px; width: auto; background: #fff; border-radius: var(--radius-sm); padding: 6px 10px; margin-bottom: 1rem; }
.site-footer__title { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer__list a { display: inline-flex; gap: .5rem; align-items: center; overflow-wrap: anywhere; }
.site-footer__assoc { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-bottom: 32px; }
.site-footer__assoc img { background: #fff; border-radius: 6px; padding: 6px 10px; height: 44px; width: auto; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.1rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__legal .link-button { color: #fff; text-decoration: none; }
.site-footer__legal .link-button:hover { color: var(--sky); text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; inset: auto 0 0 0; z-index: 500; padding: 16px; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__box { pointer-events: auto; width: 100%; max-width: 760px; background: #fff; border-radius: var(--radius); box-shadow: 0 -2px 0 var(--navy), var(--shadow-lg); padding: 1.4rem 1.5rem; }
.cookie-banner__title { font-size: 1.1rem; display: flex; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.cookie-banner p { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-banner__prefs { display: grid; gap: .6rem; margin-bottom: 1rem; padding: .9rem 1rem; background: var(--bg-alt); border-radius: var(--radius-sm); }
.cookie-banner__prefs[hidden] { display: none; }
.switch { display: flex; gap: .6rem; align-items: center; font-size: .95rem; font-weight: 600; cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--navy); }
.switch small { font-weight: 400; color: var(--muted); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.cookie-banner__actions .btn { padding: .6em 1.1em; font-size: .95rem; }
@media (max-width: 520px) { .cookie-banner__actions .btn { flex: 1 1 calc(50% - .6rem); } }

/* ---------- Pagine di esito ---------- */
.result { text-align: center; max-width: 640px; margin: 0 auto; }
.result__icon { width: 76px; height: 76px; border-radius: 50%; display: inline-grid; place-items: center; background: #e7f5ee; color: var(--ok); margin-bottom: 1.25rem; }
.result__icon .icon { width: 38px; height: 38px; }
