@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --ink: #16181b;
  --ink-2: #4a4f57;
  --line: #e2ded6;
  --paper: #ffffff;
  --paper-2: #f5f3ef;
  --night: #0f1012;
  --night-2: #1a1c20;
  --night-line: #2c2f35;
  --amber: #e8a317;
  --amber-ink: #b97e06;
  --wa: #1fa855;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --glass: rgba(15, 16, 18, .78);
  --wrap: 1180px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; interpolate-size: allow-keywords; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--text); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-ink); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3, .h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.35rem; }
.h4 { font-size: 1.2rem; margin-top: 1.6em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--night); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 820px; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.25em; border-radius: 8px; border: 2px solid transparent; font: 600 1rem/1.1 var(--text); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--lg { min-height: 54px; font-size: 1.05rem; padding: .8em 1.4em; }
.btn--amber { background: var(--amber); color: var(--night); }
.btn--amber:hover { background: #f6b52e; color: var(--night); }
.btn--light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--light:hover { background: #fff; color: var(--night); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }

/* Testata */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--night); color: #fff; border-bottom: 1px solid var(--night-line); }
.topbar__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: 56px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font: 600 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand__text strong span { color: var(--amber); margin: 0 .12em; }
.brand__text small { font-size: .74rem; color: #a9adb4; margin-top: 4px; letter-spacing: .04em; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--night-line); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: #e7e8ea; text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--amber); }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px 16px 20px; max-height: calc(100vh - 72px); overflow: auto; }
.nav.is-open li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--night-line); font-size: 1.1rem; }
.nav.is-open .nav__cta { margin-top: 16px; width: 100%; }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav, .nav.is-open { display: flex; position: static; align-items: center; gap: 22px; padding: 0; border: 0; background: none; max-height: none; }
  .nav ul { display: flex; gap: 22px; }
  .nav li a:not(.btn) { padding: 8px 0; border: 0; font-size: .98rem; }
  .nav li a:hover { color: var(--amber); }
  .nav__cta { min-height: 44px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.hero__bg, .pagehead__bg { position: absolute; inset: 0; }
.hero__bg img, .pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after, .pagehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.94) 0%, rgba(10,11,13,.82) 45%, rgba(10,11,13,.45) 100%); }
.hero__inner { position: relative; padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 9vw, 110px); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 38em; color: #d9dbdf; }
.hero__btns, .pagehead__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.eyebrow { font: 600 .82rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: .8em; }
.hero .eyebrow, .pagehead .eyebrow, .section--dark .eyebrow { color: var(--amber); }
@media (max-width: 639px) { .hero__btns .btn, .pagehead__btns .btn { width: 100%; } }

/* Barra info */
.infobar { background: var(--night-2); color: #fff; }
.infobar__grid { display: grid; gap: 4px; padding-top: 14px; padding-bottom: 14px; }
.infobar__item { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.infobar__item .ico { width: 26px; height: 26px; color: var(--amber); }
.infobar__item div { display: flex; flex-direction: column; line-height: 1.35; }
.infobar__item span { color: #a9adb4; font-size: .92rem; }
.infobar a { color: #fff; text-decoration: none; }
.infobar span a { color: #d9dbdf; }
@media (min-width: 800px) { .infobar__grid { grid-template-columns: repeat(3, 1fr); } }

/* Sezioni */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--night); color: #e7e8ea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--amber); }
.section__head { max-width: 720px; margin-bottom: 32px; }
.section__head p:last-child { color: var(--ink-2); }

/* Card servizi */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,16,18,.12); color: var(--ink); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__body { position: relative; padding: 28px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--ink-2); font-size: .98rem; }
.card__icon { position: absolute; top: -26px; left: 20px; width: 52px; height: 52px; border-radius: 10px; background: var(--amber); color: var(--night); display: grid; place-items: center; }
.card__icon .ico { width: 28px; height: 28px; }
.card__more { margin-top: auto; font-weight: 700; color: var(--amber-ink); }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; padding: 18px 20px; background: var(--night); color: #e7e8ea; border-radius: var(--radius); text-decoration: none; border-left: 5px solid var(--amber); }
.banner:hover { color: #fff; }
.banner strong { color: #fff; }
.banner__icon .ico { width: 34px; height: 34px; color: var(--amber); }
.banner > span:nth-child(2) { flex: 1 1 260px; }
.banner__go { font-weight: 700; color: var(--amber); }

/* Blocchi testo e immagine */
.split { display: grid; gap: 32px; align-items: center; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split__media img { aspect-ratio: 1 / 1; }
  .split--rev > :first-child { order: 2; }
}
.list { padding-left: 1.2em; margin: 0 0 1.2em; }
.list li { margin-bottom: .45em; }
.list li::marker { color: var(--amber-ink); }
.list--num li::marker { font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 14px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 10px; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); }
.note { border-left: 4px solid var(--amber); background: rgba(232,163,23,.1); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.section--dark .note { background: rgba(232,163,23,.08); }

.tiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius); padding: 22px 20px; }
.section--alt .tile { background: var(--paper); }
.tile p { color: var(--ink-2); margin: 0; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 16px; padding: 0; margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--paper-2); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font: 600 2.2rem/1 var(--display); color: var(--amber); }
.steps strong { font: 600 1.25rem/1.2 var(--display); }
.steps span { color: var(--ink-2); }


.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pills li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .95rem; }

/* Flotta */
.fleet { display: grid; gap: 16px; }
@media (min-width: 640px) { .fleet { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fleet { grid-template-columns: repeat(4, 1fr); } }
.fleet__item { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: var(--paper); }
.fleet__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--night); color: var(--amber); margin-bottom: 12px; }
.fleet__icon .ico { width: 28px; height: 28px; }
.fleet__item p { color: var(--ink-2); font-size: .98rem; }
.specs { list-style: none; padding: 12px 0 0; margin: 0; border-top: 1px dashed var(--line); font-size: .92rem; }
.specs li { padding: 3px 0; }
.specs li::before { content: "▸ "; color: var(--amber-ink); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--text); color: var(--amber-ink); }
.faq div { padding: 0 0 12px; color: var(--ink-2); }

/* Intestazione pagine interne */
.pagehead { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.pagehead .wrap { position: relative; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 80px); }
.pagehead h1 { max-width: 16em; }
.pagehead p { max-width: 40em; color: #d9dbdf; font-size: 1.08rem; }
.pagehead--plain .wrap { padding-top: 40px; padding-bottom: 40px; }
.pagehead--urgent { border-bottom: 6px solid var(--amber); }
.crumbs { font-size: .9rem; color: #a9adb4; margin-bottom: 16px; }
.crumbs a { color: #d9dbdf; }

.subnav { position: sticky; top: 72px; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.subnav a:hover { background: var(--amber); }

/* Invito all'azione */
.cta { background: var(--amber); color: var(--night); padding: clamp(40px, 6vw, 64px) 0; }
.cta__inner { display: grid; gap: 20px; align-items: center; }
.cta p { margin: 0; max-width: 38em; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn--amber { background: var(--night); color: #fff; }
.cta .btn--amber:hover { background: #2a2d33; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.2fr 1fr; } .cta__btns { justify-content: flex-end; } }
@media (max-width: 639px) { .cta__btns .btn { width: 100%; } }

/* Modulo */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
@media (min-width: 640px) { .form { padding: 32px; } }
.form__intro { color: var(--ink-2); }
.form__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.field small { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 1.5px solid #c9c4ba; border-radius: 8px; padding: 12px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber-ink); outline: 2px solid rgba(232,163,23,.35); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #c0392b; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--amber-ink); }
.form__error { color: #b42318; font-weight: 600; margin: 16px 0 0; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 639px) { .form__actions .btn { width: 100%; } }

/* Contatti */
.contact { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.contact__big { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.contact__big:hover { border-color: var(--amber); color: var(--ink); }
.contact__big .ico { width: 28px; height: 28px; color: var(--amber-ink); }
.contact__big--wa .ico { color: var(--wa); }
.contact__big span { display: flex; flex-direction: column; line-height: 1.25; overflow-wrap: anywhere; }
.contact__big small { font-weight: 400; font-size: .85rem; color: var(--ink-2); }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; padding-right: 16px; white-space: nowrap; }
.hours--small th, .hours--small td { border-color: var(--night-line); padding: 4px 0; font-size: .92rem; }
.hours--small th { padding-right: 12px; }
.open-now { font-weight: 700; margin-top: 12px; }
.open-now.is-open { color: #157a3b; }
.open-now.is-closed { color: #b42318; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); min-height: 380px; height: 100%; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 380px; height: 100%; padding: 32px 20px; color: #e7e8ea; background: radial-gradient(circle at 50% 35%, #2a2d33 0%, var(--night) 70%); }
.map__placeholder > .ico { width: 44px; height: 44px; color: var(--amber); margin-bottom: 8px; }
.map__note { font-size: .88rem; color: #a9adb4; max-width: 30em; }
.map__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.map__btns .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }

/* Testi legali */
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1em; display: block; overflow-x: auto; }
.table th, .table td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.table th { background: var(--paper-2); }

/* Piè di pagina */
.footer { background: var(--night); color: #c5c8cd; padding: 56px 0 24px; font-size: .95rem; }
.footer h2 { font-size: 1.1rem; color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.footer a { color: #fff; }
.footer a:hover { color: var(--amber); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer__claim { margin-top: 14px; max-width: 26em; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 6px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: .85rem; color: #8d929a; }
.footer__legal p { margin: 0; }

/* Barra azioni su smartphone */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--night); border-top: 1px solid var(--night-line); padding-bottom: env(safe-area-inset-bottom); }
.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; }
.actionbar a:first-child { background: var(--amber); color: var(--night); }
.actionbar a:nth-child(2) .ico { color: #3ddc78; }
.actionbar .ico { width: 22px; height: 22px; }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { .actionbar { display: none; } body { padding-bottom: 0; } }

/* ============ Livello moderno: movimento e interazioni ============ */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,163,23,.7); } 70% { box-shadow: 0 0 0 10px rgba(232,163,23,0); } 100% { box-shadow: 0 0 0 0 rgba(232,163,23,0); } }
@keyframes marquee { to { transform: translateX(calc(-100% - 12px)); } }

/* Pulsanti */
.btn { border-radius: 10px; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--amber:hover { box-shadow: 0 10px 26px rgba(232,163,23,.35); }
.btn--wa:hover { box-shadow: 0 10px 26px rgba(31,168,85,.35); }

/* Intestazione in vetro che si compatta allo scroll */
.topbar { background: rgba(15,16,18,.92); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); transition: background .3s, box-shadow .3s, border-color .3s; }
.topbar__inner { transition: min-height .3s var(--ease); }
.brand img { transition: width .3s var(--ease), height .3s var(--ease); }
.topbar.is-scrolled { background: var(--glass); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.topbar.is-scrolled .topbar__inner { min-height: 60px; }
.topbar.is-scrolled .brand img { width: 44px; height: 44px; }
.topbar--overlay { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(10,11,13,.75), rgba(10,11,13,0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.topbar--overlay.is-scrolled { background: var(--glass); border-bottom-color: var(--night-line); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.subnav { top: 60px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: rgba(255,255,255,.88); }
html.menu-open { overflow: hidden; }
@media (max-width: 999px) {
  .nav.is-open { animation: menuIn .28s var(--ease) both; min-height: calc(100dvh - 60px); }
  .nav.is-open li, .nav.is-open .nav__cta { animation: fadeUp .45s var(--ease) both; }
  .nav.is-open li:nth-child(2) { animation-delay: .04s; } .nav.is-open li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open li:nth-child(4) { animation-delay: .12s; } .nav.is-open li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open li:nth-child(6) { animation-delay: .2s; } .nav.is-open .nav__cta { animation-delay: .24s; }
  .topbar--overlay:has(.nav.is-open) { background: var(--night); }
}

/* Hero della home */
.hero { display: flex; align-items: center; }
.hero__bg img { animation: kenburns 16s var(--ease) both; }
.hero__bg::after { background: linear-gradient(90deg, rgba(10,11,13,.95) 0%, rgba(10,11,13,.8) 50%, rgba(10,11,13,.5) 100%), linear-gradient(0deg, rgba(10,11,13,.9) 0%, rgba(10,11,13,0) 35%); }
.hero__inner { display: grid; gap: 36px; align-items: center; padding-top: calc(72px + clamp(32px, 7vw, 88px)); padding-bottom: clamp(40px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.7rem, 8vw, 5.4rem); line-height: .95; max-width: 9em; }
.hero h1 .hl { display: block; color: var(--amber); }
.hero__text > * { animation: fadeUp .7s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; } .hero__text > :nth-child(3) { animation-delay: .16s; } .hero__text > :nth-child(4) { animation-delay: .24s; }
.eyebrow .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 6px; vertical-align: middle; animation: pulse 2s infinite; }
@media (min-width: 1000px) {
  .hero { min-height: min(94svh, 900px); }
  .hero__inner { grid-template-columns: 1.3fr .9fr; gap: 64px; }
}
.picker { background: rgba(20,22,26,.58); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); animation: fadeUp .8s var(--ease) .3s both; }
.picker__title { font: 600 1.15rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; color: #fff; margin: 4px 8px 10px; }
.picker__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; color: #fff; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.picker__item:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(4px); }
.picker__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(232,163,23,.16); color: var(--amber); }
.picker__ico .ico { width: 24px; height: 24px; }
.picker__item strong { display: block; font-size: 1.02rem; }
.picker__item small { display: block; color: #a9adb4; font-size: .86rem; line-height: 1.3; }
.picker__go { color: var(--amber); font-weight: 700; transition: transform .2s var(--ease); }
.picker__item:hover .picker__go { transform: translateX(4px); }
.picker__item--urgent { margin-top: 8px; background: rgba(232,163,23,.14); border: 1px solid rgba(232,163,23,.45); }
.picker__item--urgent .picker__ico { background: var(--amber); color: var(--night); }

/* Servizi a mosaico */
.bento { display: grid; gap: 16px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__item--big { grid-column: span 2; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(290px, auto)); }
  .bento__item--big { grid-column: span 2; grid-row: span 2; }
  .bento__item--wide { grid-column: span 2; }
}
.bento__item { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 320px; overflow: hidden; border-radius: 20px; background: var(--night); color: #fff; text-decoration: none; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.bento__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,13,.05) 15%, rgba(10,11,13,.92) 100%); transition: background .3s; }
.bento__item:hover { color: #fff; }
.bento__item:hover img { transform: scale(1.07); }
.bento__item:hover::before { background: linear-gradient(180deg, rgba(10,11,13,.15) 0%, rgba(10,11,13,.95) 100%); }
.bento__body { padding: 24px; }
.bento__body h3 { color: #fff; }
.bento__body p { color: #d9dbdf; font-size: .98rem; max-width: 34em; margin-bottom: .9em; }
.bento__item--big h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.bento__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--amber); color: var(--night); margin-bottom: 14px; }
.bento__icon .ico { width: 26px; height: 26px; }
.bento__more { display: inline-flex; gap: .4em; font-weight: 700; color: var(--amber); }
.bento__more span { transition: transform .2s var(--ease); }
.bento__item:hover .bento__more span { transform: translateX(5px); }
.banner { border-radius: 16px; transition: transform .2s var(--ease), box-shadow .2s; }
.banner:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,16,18,.18); }

/* Marchi che scorrono */
.marquee { display: flex; gap: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; display: flex; flex: none; gap: 12px; margin: 0; padding: 0; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { white-space: nowrap; border: 1px solid var(--line); border-radius: 12px; padding: 18px 28px; font: 600 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); background: var(--paper); }

/* Comparsa allo scroll (attiva solo con JavaScript) */
.has-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.has-reveal .reveal.is-in { opacity: 1; transform: none; }
.has-reveal a.card.is-in:hover, .has-reveal .banner.is-in:hover { transform: translateY(-3px); }

/* Card, riquadri e immagini più morbidi */
.card, .tile, .fleet__item, .steps li { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.tile:hover, .fleet__item:hover { box-shadow: 0 14px 34px rgba(15,16,18,.1); border-color: rgba(232,163,23,.6); }
.split__media { overflow: hidden; border-radius: var(--radius); }
.split__media img { transition: transform .8s var(--ease); }
.split__media:hover img { transform: scale(1.04); }
.pagehead .wrap > * { animation: fadeUp .6s var(--ease) both; }
.pagehead .wrap > :nth-child(2) { animation-delay: .06s; } .pagehead .wrap > :nth-child(3) { animation-delay: .12s; } .pagehead .wrap > :nth-child(4) { animation-delay: .18s; }
.pagehead h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1; }

/* Domande frequenti che si aprono con un'animazione */
.faq summary::after { content: "+"; transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq[open]::details-content { block-size: auto; }
.faq summary:hover { color: var(--amber-ink); }

/* Anteprima del messaggio nel modulo */
.field input, .field select, .field textarea { border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(232,163,23,.25); }
.preview { margin-top: 20px; padding: 14px; border-radius: 16px; background: #efeae2; }
.preview__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 10px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.preview__progress { display: inline-flex; align-items: center; gap: 8px; }
.preview__bar { width: 96px; height: 6px; border-radius: 99px; background: rgba(0,0,0,.1); overflow: hidden; }
.preview__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--amber); transition: width .35s var(--ease), background .3s; }
.form.is-ready .preview__bar span { background: var(--wa); }
.form.is-ready [data-progress-text] { color: #157a3b; }
.preview__bubble { width: fit-content; max-width: 100%; margin-left: auto; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: #d9fdd3; box-shadow: 0 1px 1px rgba(0,0,0,.08); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.45; }

/* Pulsante WhatsApp flottante (computer) e barra azioni in vetro (smartphone) */
.fab { display: none; }
@media (min-width: 1000px) {
  .fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 0; padding: 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: gap .3s var(--ease), transform .2s var(--ease); animation: fadeUp .6s var(--ease) 1s both; }
  .fab .ico { width: 28px; height: 28px; }
  .fab span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
  .fab:hover { gap: 10px; color: #fff; transform: translateY(-2px); }
  .fab:hover span { max-width: 220px; }
}
.actionbar { background: var(--glass); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.actionbar a { transition: background .2s; }
.actionbar a:active { background: rgba(255,255,255,.1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; }
  .marquee__track[aria-hidden] { display: none; }
}
