/* ---------- Font ospitati sul sito (variabili, sottoinsieme latino) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-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: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/fonts/playfair-display-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; }

/* ---------- Design tokens: cambia qui per ridisegnare l'intero sito ---------- */
:root {
  --navy: #0e2236;
  --navy-2: #16324d;
  --gold: #d9a066;
  --gold-ink: #7a4a14;
  --paper: #faf6f0;
  --ink: #1d2733;
  --muted: #6b7684;
  --line: #e6dfd3;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgb(14 34 54 / .45);
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --wrap: min(1200px, 100% - 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 1rem/1.6 var(--font-body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2.25rem;
  padding: .7rem max(1.25rem, calc((100% - 1440px) / 2));
  background: rgb(250 246 240 / .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: grid; justify-items: center; text-decoration: none; line-height: 1.15; color: var(--navy); flex: none; }
.brand__name { font: 500 clamp(1.2rem, 1.75vw, 1.6rem) var(--font-display); letter-spacing: .09em; text-transform: uppercase; }
.brand__sub { display: flex; align-items: center; gap: .7rem; width: 100%; margin-top: .1rem;
  font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--navy); }
.brand__sub::before, .brand__sub::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.brand__role { margin-top: .25rem; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

.site-header__contacts { display: none; align-items: center; gap: 2rem; padding-left: 2.25rem; flex: none; white-space: nowrap; border-left: 1px solid var(--line);
  font-size: .8rem; line-height: 1.3; color: var(--ink); }
.contact { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.contact .i { width: 1.35rem; height: 1.35rem; color: var(--navy); }
a.contact:hover { color: var(--gold-ink); }
@media (min-width: 1440px) { .site-header__contacts { display: flex; } }

.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .82rem; }
.nav a { text-decoration: none; padding-block: .45rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a:focus-visible { border-color: var(--gold); }
.nav a[aria-current="page"] { border-color: var(--gold); font-weight: 500; color: var(--navy); }
.nav__tel { display: none; }
.site-header > .btn { padding: .7rem 1.1rem; font-size: .85rem; white-space: nowrap; }
.site-header > .btn .i { width: 1.25rem; height: 1.25rem; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .75rem 1.2rem;
  border: 0; border-radius: 10px; font: 500 .95rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s; }
.btn--accent { background: var(--gold); color: var(--navy); }
.btn--accent:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--gold); }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  color: #fff; text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem 5rem;
  position: relative; isolation: isolate; background: var(--navy);
}
/* Foto come <img> (non background) per srcset, preload e priorità; overlay per leggibilità del testo. */
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 30% center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgb(14 34 54 / .55), transparent 75%),
    linear-gradient(180deg, rgb(14 34 54 / .35) 0%, rgb(14 34 54 / .3) 50%, rgb(14 34 54 / .85) 100%); }
.hero__inner { width: var(--wrap); margin-inline: auto; }
.hero h1 { margin: 0 0 1rem; font: 700 clamp(2.4rem, 6vw, 4.5rem)/1.05 var(--font-display); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: 1.15rem; margin: 0 auto 2rem; max-width: 40rem; }
.hero__lead mark { background: none; color: var(--gold); }

/* ---------- Request form ---------- */
.request { max-width: 920px; margin-inline: auto; padding: 1.1rem 1.25rem; text-align: left; color: var(--ink);
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.i { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.topics { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 760px) { .topics { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.topics label { cursor: pointer; display: block; }
.topics input { position: absolute; opacity: 0; }
.topics span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; min-height: 88px;
  padding: .6rem .35rem; text-align: center; font-size: .8rem; line-height: 1.25; color: var(--navy); overflow-wrap: anywhere;
  border: 1px solid var(--line); border-radius: 10px; background: rgb(255 255 255 / .7); transition: background .15s, border-color .15s, transform .15s; }
.topics label:hover span { background: #fff; border-color: var(--gold); }
.topics input:checked + span { background: var(--gold); border-color: var(--gold); }
.topics input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.field input, .field textarea { width: 100%; padding: .8rem 1rem; font: inherit; color: inherit;
  background: rgb(255 255 255 / .7); border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.field textarea { min-height: 5.5rem; line-height: 1.5; }
.field ::placeholder { color: var(--muted); opacity: .9; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; background: #fff; }
.field [aria-invalid="true"] { border-color: #c0392b; }
.request__contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem; }
.request__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; align-items: stretch; }
@media (min-width: 760px) { .request__actions { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.file { display: flex; gap: .9rem; align-items: center; padding: .7rem 1.1rem; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; background: rgb(255 255 255 / .7); color: var(--navy); transition: border-color .15s, background .15s; }
.file:hover { border-color: var(--gold); background: #fff; }
.file .i { width: 1.7rem; height: 1.7rem; }
.file input { position: absolute; opacity: 0; width: 1px; }
.file:focus-within { outline: 2px solid var(--gold); }
.file span { display: grid; line-height: 1.25; }
.file b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.file small { color: var(--muted); font-size: .75rem; }
.request__actions .btn--lg { gap: .7rem; padding-block: 1.1rem; font-weight: 600; box-shadow: 0 10px 24px -14px var(--gold); }
.request__actions .btn .i { width: 1.4rem; height: 1.4rem; }
.privacy { font-size: .85rem; color: var(--muted); }
.form-status { margin: 0; min-height: 1.4em; font-weight: 500; }
.form-status.is-ok { color: #1e7a4a; }
.form-status.is-error { color: #c0392b; }
.form-status:empty { min-height: 0; }
.trust { list-style: none; margin: 0; padding: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: .55rem; }
.trust li:first-child { color: var(--navy); padding-right: 1.5rem; border-right: 1px solid var(--line); }
.trust li:first-child strong { font-weight: 600; }
.trust .i { width: 1.4rem; height: 1.4rem; color: var(--navy); }
@media (max-width: 759px) { .trust li:first-child { border-right: 0; padding-right: 0; } }

/* ---------- Cards ---------- */
.services { width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 7vw, 5.5rem) 0 4rem; }
.section-head { max-width: 40rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: .8rem; color: var(--gold-ink); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.section-head h2 { margin: .6rem 0 .75rem; font: 700 clamp(1.9rem, 4vw, 2.7rem)/1.1 var(--font-display); color: var(--navy); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s; }
.card__media, .card__media img { display: block; width: 100%; }
.card__media img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.5rem; }
.card:hover { transform: translateY(-4px); }
.card h3 { margin: 0 0 .5rem; font: 700 1.4rem/1.2 var(--font-display); color: var(--navy); }
.card p { color: var(--muted); }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); }

.site-footer { padding: 2rem 1rem; text-align: center; background: var(--navy); color: #cfd8e3; font-size: .9rem; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; translate: 0 16px; transition: opacity .6s, translate .6s; }
.reveal.is-visible { opacity: 1; translate: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: 0; transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 1080px) {
  .site-header > .btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before { display: block; width: 24px; height: 2px; background: var(--ink); margin: auto; position: relative; }
  .nav-toggle span::before { content: ""; top: -7px; position: absolute; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: .25rem; padding: 1rem; font-size: 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding-block: .7rem; }
  .nav__tel { display: block; margin-top: .5rem; font-weight: 600; }
}

/* ---------- Web component wrappers ---------- */
site-header, site-footer { display: contents; }

/* ---------- Footer ---------- */
.site-footer { text-align: left; padding-inline: max(1rem, calc((100% - 1200px) / 2)); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer strong { color: #fff; }
.site-footer ul { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .3rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__legal { margin: 2rem 0 0; font-size: .8rem; opacity: .7; }

/* ---------- Pagine servizio ---------- */
.page-hero { color: #fff; padding: clamp(3rem, 7vw, 5rem) 1rem;
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); }
.page-hero__inner, .prose, .cta { width: min(820px, 100% - 2rem); margin-inline: auto; }
.page-hero .eyebrow { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; }
.page-hero h1 { margin: .5rem 0 1rem; font: 700 clamp(2rem, 5vw, 3.2rem)/1.1 var(--font-display); }
.page-hero p { max-width: 38rem; font-size: 1.1rem; margin: 0 0 1.5rem; color: #dbe3ec; }
.prose { padding-block: 3rem; }
.prose h2 { font: 700 1.7rem/1.2 var(--font-display); color: var(--navy); margin: 2rem 0 .75rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; padding: 1rem 1rem 1rem 3.5rem; position: relative; background: #fff;
  border-radius: var(--radius); box-shadow: 0 6px 20px -14px rgb(14 34 54 / .5); }
.steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; }
.cta { margin-bottom: 4rem; padding: 2rem; text-align: center; color: #fff; background: var(--navy);
  border-radius: var(--radius); box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 .5rem; font: 700 1.6rem var(--font-display); }
.cta p { margin: 0 0 1.25rem; color: #cfd8e3; }

/* ---------- Finestra "Scrivimi" ---------- */
.modal { width: min(520px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgb(14 34 54 / .6); overflow: auto; }
.modal::backdrop { background: rgb(14 34 54 / .55); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .22s ease-out; }
.modal[open]::backdrop { animation: fade-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
body:has(dialog[open]) { overflow: hidden; }
.modal__form { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: 1.75rem; }
.modal__form h2 { margin: 0; font: 700 1.7rem/1.2 var(--font-display); color: var(--navy); }
.modal__lead { margin: 0 0 .25rem; color: var(--muted); font-size: .95rem; }
.modal__row { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.modal__close { position: absolute; top: .75rem; right: .9rem; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%;
  background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.modal__close:hover { background: var(--line); color: var(--ink); }
.nav__cta { display: none; }
@media (max-width: 1080px) { .nav__cta { display: inline-flex; margin-top: .75rem; } }
@media (prefers-reduced-motion: reduce) { .modal[open], .modal[open]::backdrop { animation: none; } }

/* ---------- Messaggio centrale (esito invio) ---------- */
.notice { position: fixed; z-index: 200; top: 50%; left: 50%; translate: -50% -50%; width: min(420px, calc(100% - 2rem));
  padding: 2rem 1.75rem 1.75rem; text-align: center; cursor: pointer; overflow: hidden; outline: none;
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgb(14 34 54 / .6), 0 0 0 1px var(--line); animation: notice-in .28s ease-out; }
.notice.is-leaving { animation: notice-out .25s ease-in forwards; }
.notice:focus-visible { box-shadow: 0 30px 80px -20px rgb(14 34 54 / .6), 0 0 0 2px var(--gold); }
.notice__icon { width: 3.25rem; height: 3.25rem; margin: 0 auto .75rem; display: block; fill: none; stroke: #1e7a4a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notice__title { display: block; font: 700 1.5rem/1.2 var(--font-display); color: var(--navy); }
.notice__text { margin: .5rem 0 1rem; color: var(--muted); }
.notice__hint { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); opacity: .8; }
.notice__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: left;
  animation: notice-bar var(--notice-ms, 10s) linear forwards; }
@keyframes notice-in { from { opacity: 0; translate: -50% calc(-50% + 12px); scale: .97; } }
@keyframes notice-out { to { opacity: 0; translate: -50% calc(-50% - 8px); } }
@keyframes notice-bar { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .notice, .notice.is-leaving { animation: none; } .notice__bar { animation-duration: 0s; } }

/* ---------- Hero: form + chat affiancati ---------- */
.hero__row { max-width: 920px; margin-inline: auto; }

.chat { position: relative; min-width: 0; text-align: center; color: #fff; padding: 1.75rem 1.25rem 1.25rem;
  background: rgb(14 34 54 / .94); border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius); box-shadow: var(--shadow); }
.chat__dot { position: absolute; top: 1.1rem; left: 1.1rem; width: .8rem; height: .8rem; border-radius: 50%; background: #25c26e;
  box-shadow: 0 0 0 0 rgb(37 194 110 / .6); animation: chat-pulse 2.4s infinite; }
@keyframes chat-pulse { 70% { box-shadow: 0 0 0 .55rem rgb(37 194 110 / 0); } 100% { box-shadow: 0 0 0 0 rgb(37 194 110 / 0); } }
.chat__avatar { width: 4rem; height: 4rem; margin: 0 auto .9rem; display: grid; place-items: center; border-radius: 50%; background: #f1f4f8; color: var(--navy); }
.chat__avatar .i { width: 2.2rem; height: 2.2rem; fill: currentColor; stroke: none; }
.chat__title { margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgb(255 255 255 / .12);
  font: 700 clamp(1.35rem, 2vw, 1.6rem)/1.15 var(--font-display); }
.chat__title em { font-style: normal; color: var(--gold); }
.chat__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; text-align: left; min-width: 0; }
.chat__ask { display: flex; align-items: center; background: #fff; border-radius: 10px; padding-right: .3rem; transition: box-shadow .15s; }
.chat__ask:focus-within { outline: 2px solid var(--gold); }
.chat__ask input { flex: 1; min-width: 0; padding: .85rem .9rem; border: 0; background: transparent; font: inherit; font-size: .9rem; color: var(--ink); border-radius: 10px; }
.chat__ask input:focus { outline: none; }
.chat__ask button { flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--navy); cursor: pointer; }
.chat__ask button:hover { background: var(--gold); }
.chat__ask button[disabled] { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .chat__dot { animation: none; } }

/* ---------- Sezione Contatti ---------- */
.contacts { width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.contact-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 960px; margin-inline: auto; }
.contact-card { padding: 1.75rem 1.5rem; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card__icon { width: 3.25rem; height: 3.25rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); }
.contact-card__icon .i { width: 1.5rem; height: 1.5rem; }
.contact-card h3 { margin: 0 0 .4rem; font: 700 1.3rem/1.2 var(--font-display); color: var(--navy); }
.contact-card p { margin: 0 0 1rem; color: var(--muted); }
.link--button { background: none; border: 0; border-bottom: 2px solid var(--gold); padding: 0; font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.link:hover, .link--button:hover { color: var(--gold-ink); }

/* ---------- Chat: conversazione ---------- */
.chat__title { margin-bottom: .75rem; padding-bottom: .9rem; }
.chat__log { display: flex; flex-direction: column; gap: .5rem; max-height: 12.5rem; min-height: 4.5rem; overflow-y: auto; margin-bottom: .75rem; padding-right: .15rem;
  text-align: left; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .3) transparent; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .55rem .8rem; border-radius: 14px; font-size: .85rem; line-height: 1.4; overflow-wrap: anywhere; animation: msg-in .2s ease-out; }
.msg--bot { align-self: flex-start; background: rgb(255 255 255 / .12); color: #f1f4f8; border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--gold); color: var(--navy); border-bottom-right-radius: 4px; }
.msg--note { background: transparent; padding: 0 .3rem; font-size: .75rem; color: #c3cfdc; }
.msg--note a { color: #fff; }
.msg--typing { display: inline-flex; gap: .25rem; padding: .7rem .8rem; }
.msg--typing i { width: .4rem; height: .4rem; border-radius: 50%; background: #c3cfdc; animation: typing 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
.msg-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-self: flex-start; }
.msg-actions button { padding: .45rem .8rem; border: 1px solid var(--gold); border-radius: 99px; background: var(--gold); color: var(--navy);
  font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.msg-actions button:hover { filter: brightness(1.08); }
.msg-actions .is-secondary { background: transparent; color: var(--gold); }
.chat__ask input:disabled { cursor: not-allowed; }
.chat__ask button[disabled] { opacity: .35; cursor: default; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .msg, .msg--typing i { animation: none; } }

.chat__dot.is-offline { background: #8a97a6; animation: none; box-shadow: none; }

/* ---------- Pagina privacy ---------- */
.prose.legal { width: min(980px, 100% - 2rem); }
.legal__meta { color: var(--muted); font-size: .95rem; margin-top: 0; }
.legal h2 { scroll-margin-top: 100px; }
.legal p, .legal li { line-height: 1.7; }
.legal code { padding: .1rem .35rem; border-radius: 4px; background: #efe9de; font-size: .88em; }
.toc { margin: 1.5rem 0 2rem; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.toc ol { margin: .6rem 0 0; padding-left: 1.3rem; display: grid; gap: .25rem; columns: 2 280px; column-gap: 2rem; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--gold-ink); text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.legal table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9rem; }
.legal th, .legal td { padding: .8rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.legal thead th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
.legal tbody tr:last-child > * { border-bottom: 0; }
.legal tbody th { width: 20%; color: var(--navy); font-weight: 600; background: #fbf8f2; }
mark.todo { padding: .05rem .3rem; border-radius: 4px; background: #fff0a8; color: #5c4a00; outline: 1px dashed #c9a800; }

/* ---------- Popup a schermo intero (informativa privacy) ---------- */
.doc-dialog { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden;
  background: var(--paper); color: var(--ink); }
.doc-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: doc-in .22s ease-out; }
.doc-dialog::backdrop { background: var(--paper); }
.doc-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem max(1rem, calc((100% - 980px) / 2));
  background: var(--navy); color: #fff; }
.doc-dialog__bar strong { font: 700 1.25rem var(--font-display); }
.doc-dialog__close { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer; }
.doc-dialog__close:hover { background: rgb(255 255 255 / .25); }
.doc-dialog__close:focus-visible, .doc-dialog__body:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.doc-dialog__body { overflow-y: auto; overscroll-behavior: contain; outline: none; }
.doc-dialog__body .prose { padding-top: 2rem; }
.doc-dialog__loading { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.doc-dialog__foot { padding: .75rem 1rem; text-align: center; border-top: 1px solid var(--line); background: #fff; }
@keyframes doc-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .doc-dialog[open] { animation: none; } }

.chat__end { display: block; margin: .75rem auto 0; padding: .2rem .4rem; border: 0; background: none; font: inherit; font-size: .78rem;
  color: #c3cfdc; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chat__end:hover { color: #fff; }
.chat__end:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.chat__end[hidden] { display: none; }

/* ---------- Moduli (documento moduli.docx) ---------- */
.request__intro { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--muted); }
.request__note { margin: 0; font-size: .85rem; color: var(--muted); }
.topics > .topics__legend { padding: 0; margin-bottom: .5rem; font-size: .8rem; font-weight: 600; color: var(--navy); }
.request__contacts .field { display: grid; gap: .3rem; align-content: start; }
.field__label, .cform__label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.cform__req { color: #b3261e; }
.cform__hint { font-weight: 400; color: var(--muted); }

.cform { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.cform__title { margin: 0; font: 700 1.6rem/1.2 var(--font-display); color: var(--navy); }
.cform__intro { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.cform__grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cform__field { display: grid; gap: .3rem; align-content: start; min-width: 0; }
.cform__field.is-wide { grid-column: 1 / -1; }
.cform__field input:not([type="file"]), .cform__field textarea { width: 100%; padding: .8rem 1rem; font: inherit; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.cform__field textarea { resize: vertical; min-height: 5rem; line-height: 1.5; }
.cform__field input:focus, .cform__field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.cform [aria-invalid="true"] { border-color: #c0392b; }
.cform__submit { justify-self: start; }

/* I contenitori con display proprio ignorerebbero l'attributo hidden. */
contact-form[hidden], .chat__log[hidden], .chat__form[hidden], .chat__note[hidden] { display: none !important; }

/* Modulo breve dentro la chat (sfondo scuro) */
.chat__quick { display: block; text-align: left; }
.chat__quick .cform { gap: .6rem; }
.chat__quick .cform__intro { color: #c3cfdc; font-size: .82rem; }
.chat__quick .cform__label { color: #fff; font-size: .78rem; }
.chat__quick .cform__hint { color: #c3cfdc; }
.chat__quick .cform__grid { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.chat__quick .cform__field input:not([type="file"]), .chat__quick .cform__field textarea { padding: .65rem .8rem; font-size: .9rem; border: 0; }
.chat__quick .privacy { color: #c3cfdc; font-size: .75rem; }
.chat__quick .privacy a { color: #fff; }
.chat__quick .form-status { min-height: 0; font-size: .8rem; color: #c3cfdc; }
.chat__quick .form-status.is-error { color: #ffb4a9; }
.chat__quick .cform__submit { justify-self: stretch; padding: .7rem; font-size: .95rem; }
.chat__note { margin: 0 0 .6rem; padding: .6rem .8rem; border-radius: 10px; background: rgb(255 255 255 / .1); color: #f1f4f8; font-size: .8rem; text-align: left; }

/* Moduli nelle pagine dei servizi */
.form-section { width: min(820px, 100% - 2rem); margin: 0 auto 4rem; padding: 2rem; scroll-margin-top: 100px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-section { padding: 1.25rem; } }

.cform__note { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Modulo 1 compatto in altezza ---------- */
.request { padding: .9rem 1.1rem; gap: .6rem; }
.topics { gap: .5rem; }
.topics span { min-height: 68px; gap: .3rem; padding: .45rem .3rem; }
.request__intro { font-size: .82rem; line-height: 1.45; }
.request .field textarea { min-height: 8.6rem; padding: .65rem .9rem; line-height: 1.45; }
.request__contacts { gap: .5rem .6rem; }
.request__contacts .field { gap: .15rem; }
.request__contacts .field__label { font-size: .76rem; }
.request__contacts .field input { padding: .6rem .85rem; }
.request__contacts + .request__note { margin-top: -.25rem; font-size: .78rem; }
.request__actions { gap: .6rem; }
.request .file { padding: .5rem 1rem; }
.request__actions .btn--lg { padding-block: .9rem; }
.request__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.25rem; }
.request__foot .request__note { font-size: .8rem; }
.request .form-status:empty { display: none; }
.trust { padding-top: .45rem; }

/* ---------- Chat offline compatta: il testo dell'etichetta sta nel campo ---------- */
.chat__quick .cform__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat__quick .cform__field textarea { min-height: 4.2rem; height: 4.2rem; }
.chat__quick .cform__field input::placeholder, .chat__quick .cform__field textarea::placeholder { color: #6b7684; }
.chat__quick .cform { gap: .5rem; }

.chat.is-away { padding-top: 1.4rem; }
.chat.is-away .chat__avatar { display: none; }
.chat.is-away .chat__title { margin-top: .9rem; }

/* Telefono e data di notifica affiancati su schermi stretti: meno scorrimento. */
@media (max-width: 560px) {
  .request__contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request__contacts .field:nth-child(-n+2) { grid-column: 1 / -1; }
}

/* ---------- Chat flottante (FAB) ---------- */
.chatfab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 160; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.chatfab__btn { position: relative; display: grid; place-items: center; width: 3.7rem; height: 3.7rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; cursor: pointer; box-shadow: 0 12px 30px -8px rgb(14 34 54 / .65); transition: transform .15s, background .15s; }
.chatfab__btn:hover { transform: translateY(-2px); background: var(--navy-2); }
.chatfab__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.chatfab__btn .i { width: 1.7rem; height: 1.7rem; }
.chatfab__dot { position: absolute; top: .1rem; right: .1rem; width: .95rem; height: .95rem; border-radius: 50%; background: #25c26e; border: 2px solid var(--paper);
  animation: chat-pulse 2.4s infinite; }
.chatfab__btn.is-offline .chatfab__dot { background: #8a97a6; animation: none; }
.chatfab__badge { position: absolute; top: -.35rem; left: -.35rem; display: grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem;
  border-radius: 99px; background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; box-shadow: 0 2px 8px rgb(0 0 0 / .3); }
.chatfab__badge[hidden], .chatfab__teaser[hidden] { display: none; }

.chatfab__teaser { position: relative; display: flex; align-items: center; margin-right: .3rem; background: #fff; border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgb(14 34 54 / .5); animation: fab-pop .25s ease-out; transform-origin: bottom right; }
.chatfab__teaser::after { content: ""; position: absolute; right: 1.35rem; bottom: -.35rem; width: .8rem; height: .8rem; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.chatfab__teaser-open { padding: .75rem .3rem .75rem 1rem; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 500; color: var(--navy); cursor: pointer; }
.chatfab__teaser-x { width: 1.9rem; height: 1.9rem; margin-right: .3rem; border: 0; border-radius: 50%; background: none; font-size: 1.2rem; line-height: 1; color: var(--muted); cursor: pointer; }
.chatfab__teaser-x:hover { background: var(--paper); color: var(--ink); }

.chat--panel { width: min(380px, calc(100vw - 2.5rem)); max-height: calc(100dvh - 6.5rem); overflow-y: auto; animation: fab-pop .2s ease-out; transform-origin: bottom right;
  box-shadow: 0 28px 70px -18px rgb(14 34 54 / .7); }
.chat--panel[hidden] { display: none !important; }
.chat--panel .chat__log { min-height: 6rem; max-height: min(20rem, 42dvh); }
.chat__close { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: rgb(255 255 255 / .75); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.chat__close:hover { background: rgb(255 255 255 / .18); color: #fff; }
.chat__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@keyframes fab-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }

/* Telefono: il pannello occupa tutto lo schermo e il pulsante si nasconde finché è aperto. */
@media (max-width: 560px) {
  .chatfab { right: 1rem; bottom: 1rem; }
  .chat--panel { position: fixed; inset: 0; width: auto; max-height: none; border-radius: 0; padding-top: 2.8rem; }
  .chat--panel .chat__log { max-height: 40dvh; }
  .chatfab__btn.is-open { display: none; }
  body.chat-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .chat--panel, .chatfab__teaser { animation: none; } .chatfab__dot { animation: none; } }

/* X di chiusura a destra: nello stato offline (senza avatar) il titolo parte più in basso per non toccarla. */
.chat.is-away { padding-top: 2.8rem; }
.chat.is-away .chat__title { margin-top: 0; }

/* ---------- Pagina «Chi sono» ---------- */
.about-eyebrow { display: flex; align-items: center; gap: 1rem; margin: 0; font: 500 .78rem/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: #e9dfcf; }
.about-eyebrow::before { content: ""; width: 3rem; height: 1px; background: var(--gold); }
.about-eyebrow--dark { color: var(--navy); }

.about-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.about-hero__photo { position: absolute; inset: 0 0 0 auto; z-index: -1; width: min(58%, 860px); }
.about-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 20%; }
.about-hero__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgb(14 34 54 / .6) 32%, transparent 78%), linear-gradient(0deg, var(--navy) 0%, transparent 30%); }
.about-hero__inner { width: var(--wrap); margin-inline: auto; padding: clamp(3rem, 7vw, 5.5rem) 0 2.5rem; }
.about-hero__text { max-width: 34rem; }
.about-hero__text p { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.65; color: #e6ebf2; }

.about-title { display: grid; gap: .1rem; margin: 1.5rem 0 1.5rem; font-family: var(--font-display); font-weight: 500; line-height: 1.1; }
.about-title__hi { font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--gold); }
.about-title__name { font-size: clamp(2.6rem, 6.4vw, 4.4rem); font-weight: 700; }
.about-title__name em { font-style: normal; color: var(--gold); }
.about-title__role { font-size: clamp(1.35rem, 2.8vw, 1.9rem); }

.about-rule { width: min(22rem, 100%); height: 1px; margin: 1.6rem 0 1.4rem; border: 0; background: var(--gold); opacity: .8; }
.about-subtitle { margin: 0 0 .8rem; font: 500 clamp(1.4rem, 2.6vw, 1.7rem)/1.2 var(--font-display); color: var(--gold); }

.creds { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cred { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.4rem; border: 1px solid rgb(255 255 255 / .14); border-radius: 12px;
  background: rgb(14 34 54 / .82); backdrop-filter: blur(6px); box-shadow: 0 18px 40px -22px rgb(0 0 0 / .7); }
.cred__icon, .xp__icon svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cred__icon { width: 3rem; height: 3rem; margin-top: .15rem; color: var(--gold); }
.cred__title { margin: 0 0 .35rem; font: 500 1.15rem/1.25 var(--font-display); color: var(--gold); }
.cred__text { margin: 0 0 .85rem; font-size: .85rem; line-height: 1.5; color: #dbe3ed; }
.cred__num { position: relative; display: flex; align-items: baseline; gap: .5rem; margin: 0; padding-top: .7rem; color: #fff; }
.cred__num::before { content: ""; position: absolute; top: 0; left: 0; width: 1.4rem; height: 2px; background: var(--gold); }
.cred__lbl { font: 500 1rem var(--font-display); color: var(--gold); }
.cred__num strong { font: 500 1.9rem/1 var(--font-display); color: var(--gold); }
.cred__since { font-size: .9rem; color: #dbe3ed; }

.xp-section { width: var(--wrap); margin-inline: auto; padding: clamp(2.5rem, 5vw, 4rem) 0 1rem; }
.xp { list-style: none; margin: 1.75rem 0 0; padding: 0; max-width: 62rem; }
.xp li { display: grid; grid-template-columns: 4.6rem 4.4rem minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.xp li:last-child { border-bottom: 0; }
.xp__num { padding-left: 1rem; border-left: 2px solid var(--gold); font: 400 2rem/1.2 var(--font-display); color: var(--gold); }
.xp__icon { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: #f1e6d6; color: #b8762f; }
.xp__icon svg { width: 2rem; height: 2rem; }
.xp h3 { margin: 0 0 .3rem; font: 700 1.2rem/1.3 var(--font-display); color: #1c3d6e; }
.xp p { margin: 0; font-size: .95rem; line-height: 1.6; color: #5b6b82; }
@media (max-width: 640px) {
  .xp li { grid-template-columns: 3.4rem minmax(0, 1fr); gap: .9rem; align-items: start; }
  .xp__icon { display: none; }
  .xp__num { padding-left: .6rem; font-size: 1.6rem; }
}

/* Telefono: la foto passa sopra al testo e sfuma nel blu */
@media (max-width: 899px) {
  .about-hero { display: flex; flex-direction: column; }
  .about-hero__photo { position: relative; inset: auto; order: -1; width: 100%; height: 300px; z-index: 0; }
  .about-hero__photo::after { background: linear-gradient(0deg, var(--navy) 0%, rgb(14 34 54 / .25) 45%, transparent 100%); }
  .about-hero__inner { padding-top: 1rem; }
}

/* ---------- Transizione tra le pagine ---------- */
/* Browser con View Transitions tra documenti (Chrome, Edge, Safari recente): dissolvenza con leggero scorrimento. */
@view-transition { navigation: auto; }
/* L'intestazione è un elemento a parte: resta ferma mentre cambia il resto della pagina. */
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: page-out .22s ease-in both; }
::view-transition-new(root) { animation: page-in .42s ease-out both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(18px); } }
/* Riserva per gli altri browser (classe .no-vt aggiunta da main.js): dissolvenza in uscita e in entrata. */
@keyframes page-fade { from { opacity: 0; } }
.no-vt main, .no-vt .site-footer { animation: page-fade .35s ease-out backwards; }
.no-vt.page-leaving main, .no-vt.page-leaving .site-footer { opacity: 0; transition: opacity .18s ease-in; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .no-vt main, .no-vt .site-footer { animation: none; }
  .no-vt.page-leaving main, .no-vt.page-leaving .site-footer { opacity: 1; transition: none; }
}

/* ---------- Piè di pagina «skyline» (pagina Chi sono) ---------- */
/* Sfondo chiaro con lo skyline di Cagliari a destra che sfuma nella nebbia a sinistra; le informazioni stanno sulla parte chiara. */
.site-footer--skyline { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); color: var(--navy);
  min-height: min(25.5vw, 380px); padding: clamp(3rem, 5vw, 4.5rem) max(1rem, calc((100% - 1200px) / 2)) clamp(2.5rem, 4vw, 4rem); }
.site-footer--skyline::before { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: min(74%, 1100px); aspect-ratio: 724 / 246;
  background: url("/img/chisono-skyline-724.webp") right bottom / cover no-repeat; background-image: image-set(url("/img/chisono-skyline-724.avif") type("image/avif"), url("/img/chisono-skyline-724.webp") type("image/webp"));
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%), linear-gradient(to right, transparent 0%, #000 48%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%), linear-gradient(to right, transparent 0%, #000 48%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (min-width: 900px) {
  .site-footer--skyline::before { background-image: url("/img/chisono-skyline-1448.webp"); background-image: image-set(url("/img/chisono-skyline-1448.avif") type("image/avif"), url("/img/chisono-skyline-1448.webp") type("image/webp")); }
}
.site-footer--skyline .site-footer__grid { max-width: 34rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.site-footer--skyline strong { color: var(--navy); }
.site-footer--skyline p, .site-footer--skyline li { color: #3b4b61; }
.site-footer--skyline a { color: #3b4b61; }
.site-footer--skyline a:hover { color: var(--gold-ink); }
.site-footer--skyline .site-footer__legal { color: #5b6b82; opacity: 1; }
@media (max-width: 640px) { .site-footer--skyline { min-height: 0; padding-bottom: 11rem; } .site-footer--skyline::before { width: 100%; } }

/* «in tempi rapidi» non va mai a capo a metà: se non c'è spazio, va a capo tutta l'espressione. */
.hero__lead mark, .trust strong { white-space: nowrap; }

/* Schermi molto stretti (fino a 380px): marchio più compatto e campi che non superano il bordo. */
@media (max-width: 380px) {
  .site-header { gap: .75rem; padding-inline: .75rem; }
  .brand__name { font-size: 1.05rem; letter-spacing: .05em; }
  .brand__sub { font-size: .66rem; letter-spacing: .12em; gap: .4rem; }
  .brand__role { font-size: .52rem; letter-spacing: .16em; }
  .request__contacts .field, .request__contacts input { min-width: 0; }
}

/* ---------- Avviso statistiche anonime ---------- */
.info-banner { position: fixed; z-index: 40; left: 1rem; bottom: 1rem; max-width: 26rem; display: flex; align-items: center; gap: .9rem;
  padding: .75rem 1rem; background: var(--navy); color: #e8edf3; border-radius: 12px; box-shadow: 0 10px 30px rgb(14 34 54 / .3); font-size: .85rem; line-height: 1.4; }
.info-banner p { margin: 0; }
.info-banner a { color: var(--gold); text-underline-offset: 2px; }
.info-banner__ok { flex: none; padding: .45rem .9rem; border: 0; border-radius: 8px; background: var(--gold); color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
.info-banner__ok:hover { filter: brightness(1.08); }
@media (max-width: 640px) { .info-banner { left: .75rem; right: 5rem; bottom: .75rem; max-width: none; flex-direction: column; align-items: stretch; gap: .5rem; } }
