@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }
:root {
  --bg: #0c0d0e;
  --fg: #ffffff;
  --muted: #d3d8e4;
  --line: rgba(255,255,255,.7);
  --dim: #c4cad6;
  --rule: rgba(255,255,255,.22);
  --rule-strong: rgba(255,255,255,.55);
  --ok: #7fd6a0;
  --err: #ff8a7a;
  --font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.half { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate;
  padding-block: 56px; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.half .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; filter: grayscale(1) brightness(.42); transition: filter .5s, transform .8s; }
.half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(12,13,14,.55), rgba(12,13,14,.1) 70%); }
.half:hover .bg, .half:focus-within .bg { filter: grayscale(.2) brightness(.62); transform: scale(1.03); }
.hd .bg { background-image: url("../harley-davidson-pescara.webp"); background-position: 76% 60%; }
.tr .bg { background-image: url("../POLL9883.webp"); background-size: auto 130%; background-repeat: no-repeat; background-position: 36% 40%; }
.hd { border-right: 1px solid rgba(255,255,255,.18); }

.scroll-hint { display: none; }
@media (min-width: 821px) {
  .hd { border-right: 0; }
  .half { padding-bottom: 136px; }
  .split::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 124px; width: 1px; background: rgba(255,255,255,.18); z-index: 1; pointer-events: none; }
  .scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-family: var(--display); font-size: 14px; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; text-decoration: none; color: var(--fg); opacity: .85; transition: opacity .3s; }
  .scroll-hint:hover { opacity: 1; }
  .scroll-hint i { position: relative; width: 1px; height: 56px; overflow: hidden; background: rgba(255,255,255,.35); }
  .scroll-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--fg); animation: scroll-hint 1.8s cubic-bezier(.6, 0, .4, 1) infinite; }
}
@keyframes scroll-hint { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint i::after { animation: none; transform: translateY(75%); } }

.card { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; min-width: 0; }
.card img { height: clamp(56px, 7vw, 84px); width: auto; }
.card .brand-title { margin: 6px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; text-wrap: balance; }
.card > address { margin-top: 22px; }
.card address { font-style: normal; font-weight: 400; font-size: clamp(12px, 1vw, 14px); line-height: 1.5; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.card address a { text-decoration: none; }
.card address a:hover { text-decoration: underline; }
.card address .tel { display: inline-flex; align-items: center; gap: 7px; }
.card address .map .ico { vertical-align: -.12em; margin-right: 7px; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sedi { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(48px, 6vw, 96px); margin-top: 26px; }
.sede { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.sede .btn { margin-top: auto; }
.sede address { margin-bottom: 14px; }
.sede h3 { margin: 0 0 6px; font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.btn { margin-top: 8px; display: inline-block; border: 1px solid var(--line); padding: 10px 24px 8px; font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; background: rgba(255,255,255,.08); transition: background .25s, color .25s; }
.btn:hover { background: #fff; color: var(--bg); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.story { position: relative; height: 380vh; }
.story-text { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; z-index: 1;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.story-text h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 8.4vw, 150px); line-height: .8; letter-spacing: .005em; text-transform: uppercase; text-align: center; }
.line { display: block; overflow: hidden; padding-top: .02em; margin-top: -.02em; }
.line > span { display: block; }

.word { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding-top: .02em; margin-top: -.02em; }
.char { display: inline-block; will-change: transform; }
.story-photos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ph { position: absolute; }
.ph-frame { margin: 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.ph img { display: block; width: 100%; height: auto; transform: scale(1.12); }
.ph-1 { top: 115vh; left: 4%;  width: 22vw; }
.ph-2 { top: 150vh; left: 64%; width: 15vw; }
.ph-3 { top: 192vh; left: 24%; width: 12vw; }
.ph-4 { top: 220vh; left: 74%; width: 20vw; }
.ph-5 { top: 262vh; left: 8%;  width: 14vw; }
.ph-6 { top: 292vh; left: 54%; width: 24vw; }
@media (max-width: 820px) {

  .story { height: 430vh; }

  .story-text h1 { font-size: clamp(38px, 12.75vw, 54px); line-height: .9; }
  .line-br .word:last-child { display: block; }
  .ph-1 { top: 112vh; left: 4%;  width: 74vw; }
  .ph-2 { top: 160vh; left: 44%; width: 52vw; }
  .ph-3 { top: 208vh; left: 8%;  width: 44vw; }
  .ph-4 { top: 254vh; left: 30%; width: 66vw; }
  .ph-5 { top: 300vh; left: 6%;  width: 48vw; }
  .ph-6 { top: 346vh; left: 26%; width: 70vw; }
}

.form-section { padding-block: clamp(72px, 12vw, 140px); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.form-wrap { max-width: 720px; margin-inline: auto; }
.form-head { text-align: center; margin-bottom: clamp(48px, 7vw, 72px); }
.eyebrow { font-family: var(--display); font-size: 16px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.form-head h2 { margin: 8px 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 68px); letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; }
.form-head p { margin: 0; font-size: 15px; font-weight: 300; color: var(--fg); }

#contatti-form { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f.full, .choice, .consent, .actions, #captcha { grid-column: 1 / -1; }
.f label, .choice legend { font-family: var(--display); font-size: 15px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.f input, .f textarea { width: 100%; font: inherit; font-size: 17px; font-weight: 300; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 10px 0 12px; transition: border-color .25s; }
.f input:focus, .f textarea:focus { outline: none; border-bottom-color: var(--fg); }
.f textarea { min-height: 96px; resize: vertical; }

.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 16px; }
.options { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt > span { display: inline-block; padding-bottom: 4px; font-family: var(--display); font-size: 21px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.opt input:hover + span { color: var(--fg); }
.opt input:checked + span { color: var(--fg); border-bottom-color: var(--fg); }
.opt input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 4px; }

.opt-logo > span { padding: 0; border: 0; }
.opt-logo img { display: block; height: 64px; width: auto; opacity: .3; filter: grayscale(1); transition: opacity .3s, filter .3s, transform .3s; }
.opt-logo input:hover + span img { opacity: .6; }
.opt-logo input:checked + span img { opacity: 1; filter: none; transform: scale(1.04); }
.options-logos { gap: 20px 48px; align-items: center; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--dim); cursor: pointer; }
.consent input { appearance: none; flex: none; width: 16px; height: 16px; margin: 2px 0 0; border: 1px solid var(--rule-strong); background: transparent; cursor: pointer; }
.consent input:checked { background: var(--fg); box-shadow: inset 0 0 0 3px var(--bg); }
.consent a { color: var(--fg); text-underline-offset: 3px; }

#captcha { --altcha-border-width: 0; --altcha-padding: 0; --altcha-shadow: none; --altcha-max-width: none;
  --altcha-color-base: transparent; --altcha-color-base-content: var(--dim); --altcha-color-primary: var(--fg); --altcha-color-primary-content: var(--bg);
  --altcha-color-success: var(--ok); --altcha-color-error: var(--err); --altcha-spinner-color: var(--fg);
  --altcha-checkbox-size: 16px; --altcha-checkbox-border-radius: 0; --altcha-checkbox-border-width: 1px; --altcha-checkbox-border-color: var(--rule-strong);
  font-family: var(--font); font-size: 13px; font-weight: 300; color: var(--dim); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 8px; }
.send { font: inherit; font-family: var(--display); font-size: 19px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); background: transparent; border: 1px solid var(--line); padding: 14px 44px 12px; cursor: pointer; transition: background .25s, color .25s; }
.send:hover { background: var(--fg); color: var(--bg); }
.send[disabled] { opacity: .5; cursor: wait; }
.status { min-height: 1.5em; font-size: 14px; font-weight: 300; text-align: center; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

@media (max-width: 640px) { #contatti-form { grid-template-columns: 1fr; gap: 36px; } }

.site-footer { border-top: 1px solid var(--rule); padding: 28px max(16px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 12px; font-weight: 300; letter-spacing: .04em; line-height: 1.6; color: var(--dim); text-align: center; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: var(--fg); }

.not-found { min-height: calc(100svh - 90px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: 56px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
.not-found-logos { display: flex; align-items: center; gap: 28px; margin-bottom: 18px; }
.not-found-logos img { height: 56px; width: auto; }
.not-found h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 84px); letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.not-found p { margin: 0 0 14px; font-size: 16px; font-weight: 300; color: var(--muted); }

.legal { max-width: 760px; margin-inline: auto; padding: clamp(48px, 8vw, 96px) max(16px, env(safe-area-inset-right, 0px)) clamp(56px, 8vw, 96px) max(16px, env(safe-area-inset-left, 0px)); font-size: 16px; font-weight: 300; line-height: 1.7; }
.legal .back { display: inline-block; margin-bottom: 40px; font-family: var(--display); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--dim); }
.legal .back:hover { color: var(--fg); }
.legal h1 { margin: 8px 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 68px); letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; }
.legal h2 { margin: 48px 0 12px; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal strong { font-weight: 700; color: var(--fg); }
.legal address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.legal .updated { color: var(--dim); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 14px; color: var(--muted); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.legal th { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
@media (max-width: 560px) { .legal table, .legal tbody, .legal tr, .legal td { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 2px 0; } .legal tr { border-bottom: 1px solid var(--rule); padding: 10px 0; } .legal td:first-child { color: var(--fg); font-weight: 700; } }

@media (min-width: 821px) { .tr .bg { background-position: 62% 40%; } }
@media (max-width: 1180px) and (min-width: 821px) { .sedi { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }

  .hd .bg { background-image: url("../img/harley-davidson-pescara-1200.webp"); }
  .tr .bg { background-image: url("../img/POLL9883-1200.webp"); }
  .half { min-height: 50svh; }
  .hd { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
}
@media (prefers-reduced-motion: reduce) { .half .bg { transition: none; } .half:hover .bg { transform: none; } }
