/* === DEEP-CMS SELF-HOSTED FONTS (generato da scripts/perf/selfhost-fonts.py) === */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/archivo-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/archivo-600-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: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivo-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivo-700-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: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/jost-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/jost-300-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: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jost-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jost-400-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: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jost-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jost-500-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;
}
/* === /DEEP-CMS SELF-HOSTED FONTS === */

/* Blacklux — token, reset, tipografia, header, footer.
   Il CSS delle sezioni sta in blocks/<Tipo>/styles.css: il middleware inlina a
   runtime solo quello dei tipi presenti nella pagina. */

:root {
  --bl-bg: #05070f;
  --bl-surface: #0b0e16;
  --bl-panel: #101219;
  --bl-panel-2: #14171f;
  --bl-line: rgba(255, 255, 255, 0.09);
  --bl-line-strong: rgba(255, 255, 255, 0.16);
  --bl-lime: #cddc39;
  --bl-lime-dim: #aab92a;
  --bl-text: #ffffff;
  --bl-muted: #99a0ad;
  --bl-muted-2: #7b8391;

  --bl-wrap: 1320px;
  --bl-gutter: clamp(20px, 5vw, 56px);
  --bl-section: clamp(56px, 6.6vw, 92px);

  --bl-font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --bl-font-text: "Jost", "Helvetica Neue", Arial, sans-serif;

  --bl-radius: 4px;
  --bl-ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #262c37 var(--bl-bg);
  scrollbar-width: thin;
}

::selection {
  background: var(--bl-lime);
  color: #0a0c12;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bl-bg); }
::-webkit-scrollbar-thumb {
  background: #262c37;
  border: 3px solid var(--bl-bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: #343c4a; }

input, select, textarea { caret-color: var(--bl-lime); }

body {
  margin: 0;
  background: var(--bl-bg);
  color: var(--bl-text);
  font-family: var(--bl-font-text);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--bl-lime);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--bl-font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- utility */

.bl-wrap {
  width: 100%;
  max-width: var(--bl-wrap);
  margin-inline: auto;
  padding-inline: var(--bl-gutter);
}

.bl-section { padding-block: var(--bl-section); }
.bl-section--surface { background: var(--bl-surface); }

.bl-eyebrow,
.bl-micro {
  font-family: var(--bl-font-text);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bl-muted);
  margin: 0;
}

.bl-rule {
  display: block;
  width: 46px;
  height: 2px;
  background: var(--bl-lime);
  border: 0;
  margin: 0;
}

.bl-h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.55rem);
  letter-spacing: -0.015em;
}

.bl-lead {
  color: var(--bl-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  max-width: 46ch;
}

.bl-accent { color: var(--bl-lime); }

.bl-arrow {
  display: inline-block;
  margin-left: 0.7em;
  transition: transform 0.35s var(--bl-ease);
}

a:hover > .bl-arrow,
button:hover > .bl-arrow { transform: translateX(5px); }

/* Link testuale con freccia, quello di "VIEW ALL VEHICLES" */
.bl-link {
  padding-block: 0.45em;
  font-family: var(--bl-font-text);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-lime);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Riempitivi al posto delle foto: si trovano con
   grep -rn 'data-bl-placeholder' blocks/ */
[data-bl-placeholder] {
  position: relative;
  overflow: hidden;
  background-color: var(--bl-panel);
}

/* ---------------------------------------------------------------- bottoni */

.bl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bl-font-text);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 1.05em 1.5em;
  border-radius: var(--bl-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--bl-ease), color 0.3s var(--bl-ease), border-color 0.3s var(--bl-ease);
}

.bl-btn--lime {
  background: var(--bl-lime);
  color: #0a0c12;
}

.bl-btn--lime:hover { background: #d9e84a; }

.bl-btn--ghost {
  border-color: var(--bl-line-strong);
  color: var(--bl-text);
}

.bl-btn--ghost:hover { border-color: var(--bl-lime); color: var(--bl-lime); }

/* ---------------------------------------------------------------- header */

.bl-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--bl-lime);
  color: #0a0c12;
  padding: 0.8em 1.2em;
  font-size: 0.8125rem;
}
.bl-skip:focus { left: 12px; top: 12px; }

.bl-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 60;
}

.bl-header__inner {
  max-width: var(--bl-wrap);
  margin-inline: auto;
  padding: clamp(18px, 2.4vw, 30px) var(--bl-gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
}

.bl-logo { display: block; flex: none; }

.bl-logo__word {
  display: block;
  font-family: var(--bl-font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  letter-spacing: 0.18em;
  line-height: 1;
}

.bl-logo__x { color: var(--bl-lime); }

.bl-logo__sub {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.55em;
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--bl-muted);
}

.bl-logo__rule {
  width: 26px;
  height: 1px;
  background: var(--bl-lime);
  flex: none;
}

.bl-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.bl-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bl-nav__list a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bl-text);
  padding-block: 0.4em;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--bl-ease), border-color 0.25s var(--bl-ease);
}

.bl-nav__list a:hover { color: var(--bl-lime); border-bottom-color: var(--bl-lime); }

.bl-nav__foot { display: contents; }

.bl-nav__cta { display: none; }

.bl-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.bl-header__cta { padding: 1.05em 1.7em; }

.bl-langs {
  display: flex;
  gap: 0.5em;
  list-style: none;
  margin: 0 0 0 clamp(12px, 2vw, 28px);
  padding: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--bl-muted-2);
}

.bl-langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  transition: color 0.25s var(--bl-ease);
}
.bl-langs a:hover { color: var(--bl-text); }
.bl-langs a[aria-current] { color: var(--bl-lime); }

.bl-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--bl-line-strong);
  border-radius: var(--bl-radius);
  padding: 0;
  cursor: pointer;
  position: relative;
}

.bl-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--bl-text);
  transition: transform 0.3s var(--bl-ease), opacity 0.3s var(--bl-ease);
}

.bl-burger span:first-child { top: 18px; }
.bl-burger span:last-child { top: 25px; }

.bl-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.bl-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Menu mobile: da chiuso visibility:hidden, altrimenti i link restano
   raggiungibili col Tab dentro un aria-hidden. */
@media (max-width: 980px) {
  .bl-header__cta { display: none; }
  .bl-burger { display: block; }

  .bl-nav {
    position: fixed;
    inset: 0;
    margin: 0;
    background: var(--bl-bg);
    padding: 104px var(--bl-gutter) 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--bl-ease), transform 0.3s var(--bl-ease), visibility 0s linear 0.3s;
  }

  .bl-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .bl-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .bl-nav__list a { font-size: 1.1rem; letter-spacing: 0.1em; }

  .bl-nav__foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .bl-nav__cta { display: inline-flex; }
  .bl-langs { margin-left: 0; font-size: 0.8125rem; }
}

/* ---------------------------------------------------------------- footer */

.bl-footer {
  background: var(--bl-surface);
  border-top: 1px solid var(--bl-line);
  padding-block: clamp(48px, 6vw, 80px) 0;
}

.bl-footer__inner {
  max-width: var(--bl-wrap);
  margin-inline: auto;
  padding-inline: var(--bl-gutter);
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.bl-footer__tagline {
  color: var(--bl-muted);
  max-width: 34ch;
  margin: 1.2em 0 1.8em;
  font-size: 0.9375rem;
}

.bl-footer__colTitle {
  font-size: 0.6875rem;
  font-weight: 500;
  font-family: var(--bl-font-text);
  letter-spacing: 0.16em;
  color: var(--bl-muted-2);
  margin-bottom: 1.2em;
}

.bl-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75em;
}

.bl-footer__col a {
  font-size: 0.9375rem;
  color: var(--bl-muted);
  transition: color 0.25s var(--bl-ease);
}

.bl-footer__col a:hover { color: var(--bl-lime); }

.bl-footer__legal {
  max-width: var(--bl-wrap);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 24px var(--bl-gutter) 28px;
  border-top: 1px solid var(--bl-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  font-size: 0.8125rem;
  color: var(--bl-muted-2);
}

.bl-footer__made { margin-left: auto; }
.bl-footer__made img { width: 96px; height: auto; opacity: 0.5; transition: opacity 0.3s var(--bl-ease); }
.bl-footer__made a:hover img { opacity: 1; }

@media (max-width: 640px) {
  .bl-footer__inner { grid-template-columns: 1fr; }
  .bl-footer__made { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
