/* ==========================================================================
   BRUSCO ASSICURAZIONI — STILE CONDIVISO (tutte le pagine)
   Intestazione, pulsanti, hero, schede, FAQ, piè di pagina, cookie.
   Un solo foglio, nessuna libreria. Effetti solo con transform/opacity
   (leggeri anche sui telefoni) e spenti se l'utente chiede meno movimento.
   ========================================================================== */

:root {
  --ink: #0a1230;
  --ink-2: #111c44;
  --brand: #2b3a9e;          /* blu del logo */
  --brand-600: #3446c4;
  --brand-50: #eef0ff;
  --sky: #38bdf8;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --wa: #128c4a;
  --wa-hover: #0f7a40;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --line: #e3e7f1;
  --text: #334155;
  --head: #0a1230;
  --muted: #5b6784;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 18, 48, .06), 0 1px 3px rgba(10, 18, 48, .05);
  --shadow-md: 0 10px 30px -12px rgba(10, 18, 48, .18);
  --shadow-lg: 0 30px 60px -25px rgba(10, 18, 48, .35);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ─── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
  box-shadow: var(--shadow-md); transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; text-decoration: none; }

/* ─── Pulsanti ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(18, 140, 74, .8); }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-600); color: #fff; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-outline { background: #fff; color: var(--head); border-color: var(--line); }
.btn-outline:hover { border-color: #c5cde2; color: var(--head); }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ─── Intestazione ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.is-solid {
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.site-header.is-solid .brand { color: var(--head); }

.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-link { padding: .5rem .85rem; border-radius: 10px; font-weight: 500; font-size: .98rem; color: rgba(255, 255, 255, .86); }
.nav-link:hover { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.nav-link.active { color: #fff; }
.site-header.is-solid .nav-link { color: var(--muted); }
.site-header.is-solid .nav-link:hover { background: var(--brand-50); color: var(--brand); }
.site-header.is-solid .nav-link.active { color: var(--head); }
.nav-cta { margin-left: .5rem; }

.mobile-menu-btn {
  display: none; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.site-header.is-solid .mobile-menu-btn { background: #fff; border-color: var(--line); color: var(--head); }

@media (max-width: 992px) {
  .mobile-menu-btn { display: inline-flex; }
  .nav-menu {
    display: none; position: absolute; top: calc(100% + 6px); left: 1rem; right: 1rem; flex-direction: column; align-items: stretch;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: .6rem; box-shadow: var(--shadow-lg);
  }
  .nav-menu.show { display: flex; }
  .nav-link { color: var(--head) !important; padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-link:hover { background: var(--brand-50) !important; color: var(--brand) !important; }
  .nav-cta { margin: .4rem 0 0; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: #070d24;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
}
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) {
  width: 62vmax; height: 62vmax; left: -18vmax; top: -24vmax;
  background: radial-gradient(closest-side, rgba(52, 70, 196, .85), transparent);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 52vmax; height: 52vmax; right: -16vmax; top: -8vmax;
  background: radial-gradient(closest-side, rgba(56, 189, 248, .42), transparent);
  animation: drift-b 30s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 44vmax; height: 44vmax; left: 30%; bottom: -26vmax;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .5), transparent);
  animation: drift-c 34s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 78%);
}
@keyframes drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-7vmax, 8vmax, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(-9vmax, -5vmax, 0) scale(1.06); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.4rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px;
  font-size: .86rem; font-weight: 500; line-height: 1.2;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); color: #e6ecff;
}
.pill svg { opacity: .85; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; position: relative; flex: 0 0 auto; }
.pill[data-state="open"] .status-dot { background: #22c55e; }
.pill[data-state="open"] .status-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(34, 197, 94, .55);
  animation: ping 2s ease-out infinite;
}
.pill[data-state="closed"] .status-dot { background: #f59e0b; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero-title { color: #fff; font-size: clamp(2.5rem, 6.2vw, 4.7rem); letter-spacing: -.035em; line-height: 1.03; margin-bottom: 1.4rem; }
.grad {
  background: linear-gradient(100deg, #7dd3fc 0%, #a5b4fc 45%, #f0abfc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .grad { color: #a5b4fc; -webkit-text-fill-color: currentColor; background: none; } }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9d5f2; max-width: 34em; margin-bottom: 2rem; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; color: #d7e0f7;
  padding: .35rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
}
.chips svg { color: #7dd3fc; }

/* Scheda "preventivo in 30 secondi" */
.quote {
  position: relative; border-radius: 26px; padding: 1.6rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .18);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .quote { background: rgba(17, 28, 68, .92); } }
.quote h2 { color: #fff; font-size: 1.45rem; margin-bottom: .3rem; }
.quote-sub { color: #b9c7ea; font-size: .95rem; margin-bottom: 1.2rem; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1rem; border: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: .5rem; padding: .65rem .8rem; border-radius: 12px; font-size: .92rem; font-weight: 500;
  color: #dbe4fb; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.opt:hover span { background: rgba(255, 255, 255, .12); }
.opt input:checked + span { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 8px 20px -10px rgba(255, 255, 255, .7); }
.opt input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.field { display: block; margin-bottom: .7rem; }
.field > span { display: block; font-size: .8rem; font-weight: 500; color: #b9c7ea; margin-bottom: .3rem; }
.input {
  width: 100%; padding: .75rem .9rem; border-radius: 12px; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid transparent; outline: none; transition: box-shadow .2s;
}
.input::placeholder { color: #8a94ad; }
.input:focus { box-shadow: 0 0 0 3px rgba(56, 189, 248, .55); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.quote-note { font-size: .78rem; color: #9fb0d9; margin-top: .8rem; line-height: 1.45; }
.quote-legal { display: none; font-size: .78rem; color: #cbd6f2; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35); padding: .6rem .75rem; border-radius: 10px; margin-bottom: .8rem; line-height: 1.45; }
.quote-legal.show { display: block; }

@media (max-width: 960px) {
  .hero { padding-bottom: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}


/* ─── Sezioni ──────────────────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .7rem; }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .8rem; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }

/* ─── Servizi ──────────────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd5ec; }
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(52, 70, 196, .11), transparent 60%);
}
.svc:hover::before { opacity: 1; }
.svc-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.3rem;
  color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--violet)); box-shadow: 0 12px 24px -12px rgba(52, 70, 196, .9);
}
.svc:nth-child(2) .svc-ico { background: linear-gradient(135deg, #0284c7, var(--sky)); box-shadow: 0 12px 24px -12px rgba(2, 132, 199, .9); }
.svc:nth-child(3) .svc-ico { background: linear-gradient(135deg, #d97706, var(--amber)); box-shadow: 0 12px 24px -12px rgba(217, 119, 6, .9); }
.svc h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.svc > p { color: var(--muted); margin-bottom: 1.1rem; }
.ticks { list-style: none; display: grid; gap: .45rem; margin-bottom: 1.5rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .96rem; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3a9e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.svc .btn { margin-top: auto; align-self: flex-start; }
.legal-mini { font-size: .78rem; color: var(--muted); line-height: 1.5; border-top: 1px dashed var(--line); padding-top: .8rem; margin-bottom: 1.1rem; }
@media (max-width: 980px) { .services { grid-template-columns: 1fr; } }

/* ─── Strumenti ────────────────────────────────────────────────────────── */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.tool { padding: 1.7rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tool h3 { font-size: 1.2rem; margin-bottom: .35rem; }
@media (min-width: 981px) { .tool h3 { min-height: 2.5em; } }
.tool > p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.tool .input { background: #fff; border: 1px solid var(--line); }
.tool .input:focus { box-shadow: 0 0 0 3px rgba(52, 70, 196, .25); border-color: var(--brand-600); }
.tool .field > span { color: var(--muted); }
.tool-out { min-height: 3.2rem; margin-top: .9rem; padding: .8rem 1rem; border-radius: 12px; background: #fff; border: 1px dashed #c9d2ea; font-size: .98rem; color: var(--head); }
.tool-out:empty { display: none; }
.tool-out strong { color: var(--brand); font-size: 1.15rem; }
.tool-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.tool small { display: block; margin-top: .8rem; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.tool-link { margin-top: 1.6rem; text-align: center; }
.swap { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 980px) { .tools { grid-template-columns: 1fr; } }


/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 52rem; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, background .2s; }
.faq details[open] { background: #fff; border-color: #c9d2ea; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 600; color: var(--head); font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--brand-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3a9e' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 62%; transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 1.3rem 1.3rem; color: var(--muted); }
.faq .ans p + p { margin-top: .6rem; }
.faq .ans strong { color: var(--head); font-weight: 600; }


/* ─── Piè di pagina ────────────────────────────────────────────────────── */
.footer { background: #050a1c; color: #93a1c4; padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 2.5rem; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .9rem; letter-spacing: 0; }
.footer p + p { margin-top: .4rem; }
.footer a { color: #cfd9f5; }
.footer-links { display: grid; gap: .5rem; }
.footer-legal { margin-top: 1.1rem; font-size: .8rem; color: #93a4c8; line-height: 1.55; }
.footer-legal + .footer-legal { margin-top: .8rem; }
.footer-legal strong.t { color: #cfd9f5; }
.footer-legal a { color: #8ec5ff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #16204a; text-align: center; font-size: .85rem; }
.footer-bottom a { color: inherit; text-decoration: underline; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Barra di azione (telefono) ───────────────────────────────────────── */
.dock { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 76px; }
  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; position: fixed; z-index: 55; left: .6rem; right: .6rem; bottom: .6rem;
    padding: .5rem; border-radius: 20px; background: rgba(10, 18, 48, .92); border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .55);
  }
  .dock a {
    display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .2rem; border-radius: 14px;
    color: #fff; font-size: .78rem; font-weight: 500; text-decoration: none;
  }
  .dock a:active { background: rgba(255, 255, 255, .12); }
  .dock a.wa { background: var(--wa); }
  .scroll-top-btn { display: none !important; }
}

/* ─── Cookie e "torna su" (usati da main.js) ───────────────────────────── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; justify-content: center; padding: 1.1rem;
  background: #fff; box-shadow: 0 -12px 40px rgba(10, 18, 48, .18); transform: translateY(100%); transition: transform .4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content { max-width: 1180px; width: 100%; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-content p { margin: 0; font-size: .92rem; color: var(--text); flex: 1; min-width: 280px; }
.cookie-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
.scroll-top-btn {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; width: 3rem; height: 3rem; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--brand); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s var(--ease);
}
.scroll-top-btn.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top-btn:hover { background: var(--ink); }

/* ─── Comparsa allo scroll (solo se JS attivo e movimento consentito) ──── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Stampa: solo contenuto utile */
@media print {
  .site-header, .dock, .cookie-banner, .scroll-top-btn, .aurora, .quote { display: none !important; }
  .hero { background: #fff; color: #000; padding: 1rem 0; }
  .hero-title, .hero-lead { color: #000; -webkit-text-fill-color: #000; }
}
