:root {
  --bg: #f2f2f0;
  --surface: #ffffff;
  --dark: #000000;
  --dark-2: #0d0e10;
  --dark-3: #17181b;
  --text: #141518;
  --muted: #696c72;
  --line: #d5d6d3;
  --silver: #e7e7e7;
  --silver-mid: #b8bbc1;
  --silver-dark: #7e8289;
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #9a9da3 31%, #f9f9f9 52%, #74777d 78%, #f1f1f1 100%);
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -60px; background: #fff; color: #000; padding: 12px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,.9);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.brand img { width: 158px; height: auto; max-height: 76px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #e3e3e5; text-decoration: none; font-weight: 650; font-size: .93rem; }
.main-nav a:hover { color: #fff; }
.main-nav .nav-cta { border: 1px solid rgba(255,255,255,.38); padding: 11px 18px; border-radius: 999px; background: rgba(255,255,255,.04); }
.main-nav .nav-cta:hover { background: #fff; color: #000; }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 30%, rgba(255,255,255,.10) 0, rgba(50,52,56,.18) 18%, transparent 42%),
    linear-gradient(125deg, #000 0%, #050506 54%, #111216 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-grid { min-height: 735px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 30px; position: relative; }
.eyebrow { margin: 0 0 18px; font-size: .75rem; text-transform: uppercase; letter-spacing: .22em; font-weight: 900; color: var(--silver-dark); }
.hero .eyebrow, .section-dark .eyebrow, .contact-section .eyebrow { color: var(--silver); }
h1,h2,h3,p { text-wrap: pretty; }
h1 { font-size: clamp(3.25rem, 7.25vw, 6.55rem); line-height: .91; letter-spacing: -.065em; margin: 0; max-width: 780px; }
h1 span {
  color: #efefef;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text { color: #c3c5ca; max-width: 630px; font-size: 1.1rem; margin: 30px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 22px; text-decoration: none; font-weight: 850; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--silver-gradient); color: #070708; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 28px rgba(255,255,255,.09); }
.button-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 14px 34px rgba(255,255,255,.15); }
.button-secondary { border: 1px solid rgba(255,255,255,.26); color: #fff; background: rgba(255,255,255,.05); }
.button-secondary:hover { background: rgba(255,255,255,.1); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: #aeb1b7; font-size: .9rem; }
.hero-points li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--silver-gradient); box-shadow: 0 0 12px rgba(255,255,255,.4); margin-right: 9px; }
.hero-visual { display: grid; place-items: center; min-width: 0; }
.visual-frame { width: min(100%, 610px); aspect-ratio: 1.04; position: relative; display: grid; place-items: center; }
.logo-halo { position: absolute; width: 92%; height: 92%; border-radius: 50%; border: 1px solid rgba(255,255,255,.20); box-shadow: 0 0 0 28px rgba(255,255,255,.018), 0 0 135px rgba(255,255,255,.08); }
.hero-logo { position: absolute; z-index: 1; top: 7%; left: 7%; width: 86%; opacity: .52; mix-blend-mode: screen; filter: drop-shadow(0 12px 32px rgba(255,255,255,.05)); }
.hero-car { position: absolute; z-index: 2; width: 119%; max-width: none; bottom: 4%; left: -9%; filter: drop-shadow(0 35px 26px rgba(0,0,0,.78)) grayscale(.2); }
.visual-badge { position: absolute; z-index: 3; right: 2%; bottom: 10%; background: rgba(0,0,0,.78); border: 1px solid rgba(255,255,255,.21); border-radius: 16px; padding: 15px 18px; backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.visual-badge span, .visual-badge strong { display: block; }
.visual-badge span { color: #aeb1b7; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; }
.visual-badge strong { font-size: 1.05rem; margin-top: 4px; }
.hero-line { height: 4px; background: linear-gradient(90deg, #fff 0, #83868b 13%, #fff 25%, transparent 38%); }

.section { padding: 115px 0; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.section-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }
.section-heading > p:last-child { color: var(--muted); max-width: 600px; }
.section-copy { font-size: 1.13rem; color: #42464c; padding-top: 34px; }
.section-copy p { margin: 0 0 18px; }
.text-link { display: inline-flex; gap: 12px; text-decoration: none; font-weight: 850; color: #111; margin-top: 16px; border-bottom: 2px solid #888b90; padding-bottom: 4px; }
.section-dark { background: #030304; color: #fff; border-top: 1px solid #1c1d20; border-bottom: 1px solid #1c1d20; }
.section-heading-wide { max-width: 850px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.card { position: relative; overflow: hidden; background: linear-gradient(145deg, #111215, #08090a); border: 1px solid rgba(255,255,255,.12); padding: 32px; min-height: 300px; border-radius: var(--radius); display: flex; flex-direction: column; box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.card::after { content: ""; position: absolute; inset: auto -30% -60% 30%; height: 180px; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 68%); }
.card-number { color: #e8e8e9; font-weight: 900; letter-spacing: .1em; }
.card h3 { font-size: 1.45rem; line-height: 1.15; margin: auto 0 14px; position: relative; z-index: 1; }
.card p { color: #aeb1b7; margin: 0; position: relative; z-index: 1; }
.process-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.process { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #9ea1a6; border-radius: 50%; font-weight: 900; background: linear-gradient(145deg, #fff, #d4d5d7); box-shadow: inset 0 1px 0 #fff; }
.process h3 { margin: 0 0 4px; font-size: 1.1rem; }
.process p { margin: 0; color: var(--muted); }

.contact-section { background: linear-gradient(135deg, #030304, #111216); color: #fff; padding: 105px 0; border-top: 1px solid #27282b; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.contact-copy p:last-child { color: #b6b9bf; max-width: 590px; font-size: 1.05rem; }
.contact-panel { background: rgba(20,21,24,.82); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.contact-row { display: grid; grid-template-columns: 120px 1fr; gap: 25px; padding: 22px 26px; border-bottom: 1px solid rgba(255,255,255,.09); text-decoration: none; }
a.contact-row:hover { background: rgba(255,255,255,.045); }
.contact-row span { color: #92969d; }
.contact-row strong { overflow-wrap: anywhere; }
.contact-actions { padding: 24px 26px; }

.site-footer { background: #000; color: #fff; padding: 50px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand-footer img { width: 178px; max-height: 110px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #b8bbc1; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.company-data { padding-top: 26px; color: #8e929a; font-size: .78rem; }
.company-data p { margin: 5px 0; }

.legal-page { background: #fff; }
.legal-hero { background: #000; color: #fff; padding: 105px 0 65px; }
.legal-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.legal-content { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 70px 0 100px; }
.legal-content h2 { font-size: 1.45rem; margin: 38px 0 10px; }
.legal-content p, .legal-content li { color: #43474e; }
.legal-content a { font-weight: 750; }
.notice-box { padding: 20px; border: 1px solid #d6d7d3; background: #f4f4f1; border-radius: 14px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 92px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: #000; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 15px 0; }
  .main-nav .nav-cta { border: 0; border-radius: 0; background: transparent; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 88px; padding-bottom: 70px; min-height: auto; }
  .hero-visual { margin-top: 16px; }
  .visual-frame { width: min(100%, 650px); }
  .split, .process-wrap, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 230px; }
  .section-copy { padding-top: 0; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { height: 78px; }
  .main-nav { top: 78px; }
  .brand img { width: 128px; max-height: 65px; }
  .hero-grid { padding-top: 72px; }
  h1 { font-size: clamp(3.05rem, 15.5vw, 5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-points { display: grid; }
  .visual-frame { aspect-ratio: 1.12; }
  .hero-logo { top: 9%; width: 88%; left: 6%; }
  .hero-car { width: 124%; left: -12%; bottom: 5%; }
  .visual-badge { right: 0; bottom: 2%; }
  .section { padding: 82px 0; }
  .contact-section { padding: 82px 0; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 12px; }
  .brand-footer img { width: 165px; }
}

/* Navigazione semplificata delle pagine legali. */
.legal-page .main-nav { display: flex; }
@media (max-width: 920px) {
  .legal-page .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .legal-page .main-nav a { padding: 10px 0; }
}
