/* ==========================================================================
   Tonini Srl — stile del sito
   Colori presi dal logo: grigio #727988, bordeaux #4A1B2F, vinaccia #6B1C2C, rosso #A1242E
   ========================================================================== */

@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: italic; font-display: swap; src: url("../fonts/archivo-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-style: italic; font-display: swap; src: url("../fonts/archivo-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --red: #A1242E;
  --wine: #6B1C2C;
  --bordeaux: #4A1B2F;
  --slate: #5F6676;
  --slate-dark: #4E5462;
  --slate-text: #5B6271;
  --ink: #16171A;
  --text: #474B55;
  --line: #E6E7EA;
  --line-strong: #D5D7DC;
  --soft: #F3F4F6;
  --footer: #2E3640;
  --white: #FFFFFF;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gutter: 24px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
html { overflow-x: clip; }
img, video, picture { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ricorrente ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-text); }
.eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--red); flex: 0 0 auto; }
.eyebrow--light { color: #E6E9ED; }
.h-display { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.accent { font-style: italic; color: var(--red); }
.lead { color: var(--text); max-width: 460px; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; }

/* ---------- Bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 16px 28px; font: 600 16px/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--wine); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- Bande colore del logo ---------- */
.bands { display: flex; height: 6px; }
.bands span { flex: 1; }
.bands span:nth-child(1) { background: var(--bordeaux); }
.bands span:nth-child(2) { background: var(--wine); }
.bands span:nth-child(3) { background: var(--red); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(22,23,26,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.logo img { height: 78px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled .logo img { height: 56px; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; padding: 10px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--red); transition: right .25s ease; }
.nav a:not(.btn):hover::after { right: 0; }
.nav .btn { min-height: 46px; padding: 12px 20px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); background: #fff; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .logo img, .site-header.is-scrolled .logo img { height: 52px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease; box-shadow: 0 16px 32px rgba(22,23,26,.1); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(38px, 10.4vw, 96px); }
@media (min-width: 701px) { .hero h1 { font-size: clamp(52px, 7.2vw, 96px); } }
.hero-text { font-size: 19px; color: var(--text); max-width: 556px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.hero-facts strong { color: var(--ink); }
.hero-media { flex: 1 1 500px; min-width: 0; position: relative; height: 580px; }
.hero-media__band { position: absolute; top: 40px; right: calc(-1 * var(--gutter)); width: 70%; height: 100%; background: var(--red); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media__frame { position: absolute; inset: 0 40px 40px 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; background: #2A2B2F; }
.hero-media__frame video, .hero-media__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-badge { position: absolute; left: 0; bottom: 0; background: #fff; padding: 22px 26px; box-shadow: 0 18px 40px rgba(22,23,26,.14); display: flex; flex-direction: column; gap: 2px; }
.hero-badge strong { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--red); }
.hero-badge > span { font-size: 14px; color: var(--text); }
@media (max-width: 700px) {
  .hero-inner { padding-top: 32px; padding-bottom: 72px; gap: 40px; }
  .hero-media { height: 380px; }
  .hero-media__frame { inset: 0 24px 32px 0; }
  .hero-badge { padding: 16px 18px; }
  .hero-badge strong { font-size: 32px; }
}

/* ---------- Fascia scorrevole ---------- */
.marquee { background: var(--red); color: #fff; transform: rotate(-1.5deg); margin: 0 -40px; overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 44px; padding: 22px 0; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(22px, 3vw, 32px); text-transform: uppercase; white-space: nowrap; animation: marquee 30s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Numeri ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 112px; padding-bottom: 40px; }
.stat { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 7vw, 80px); line-height: 1; letter-spacing: -.03em; }
.stat i { height: 3px; width: 32px; background: var(--red); }
.stat span { color: var(--text); }

/* ---------- Servizi (carosello) ---------- */
.services { padding: 80px 0 120px; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn { width: 56px; height: 56px; border: 2px solid var(--ink); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, color .2s; }
.carousel-btn:hover { background: var(--ink); color: #fff; }
.carousel-btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); }
.carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 48px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 40px; scroll-padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.card { flex: 0 0 380px; max-width: 82vw; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22,23,26,.10); }
.card__media { height: 300px; overflow: hidden; background: #E9ECEF; }
.card__media picture { height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--slate-text); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.card__body { padding: 26px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.card p { color: var(--text); flex: 1; }
.link-arrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 0; border-bottom: 2px solid var(--red); }
.progress { height: 3px; background: var(--line); position: relative; }
.progress span { position: absolute; left: 0; top: 0; height: 3px; width: 30%; background: var(--red); transition: width .3s ease; }

/* ---------- Scarrabili ---------- */
.skips { background: var(--slate); color: #fff; overflow: hidden; }
.skips-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 112px; padding-bottom: 112px; }
.skips-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.skips-copy .accent { color: #fff; border-bottom: 6px solid var(--red); }
.skips-copy p { max-width: 480px; font-size: 18px; color: #E6E9ED; }
.sizes { display: flex; flex-wrap: wrap; gap: 12px; }
.size { flex: 1 1 160px; border: 1px solid #8A93A3; padding: 18px 20px; }
.size--hl { border-color: #fff; }
.size strong { display: block; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; }
.size span { font-size: 14px; color: #E6E9ED; }
.skips-copy .btn { align-self: flex-start; }
.skips-media { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.skips-media picture:first-child { height: 340px; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; }
.skips-media picture:last-child { height: 240px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); overflow: hidden; }
.skips-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Come funziona ---------- */
.how { background: var(--slate-dark); color: #fff; }
.how-inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.how h2 { font-size: clamp(38px, 5vw, 56px); }
.how h2 .accent { color: #fff; border-bottom: 6px solid var(--red); }
.steps { display: flex; flex-wrap: wrap; gap: 0 24px; counter-reset: step; }
.step { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 28px 0; border-top: 2px solid rgba(255,255,255,.35); }
.step::before { counter-increment: step; content: counter(step); width: 48px; height: 48px; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 22px; }
.step h3 { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.step p { color: #E6E9ED; font-size: 16px; }
.dos { display: flex; flex-wrap: wrap; gap: 24px; }
.do-box { flex: 1 1 420px; background: rgba(255,255,255,.06); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.do-box h3 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid rgba(255,255,255,.4); font-size: 15px; }

/* ---------- Prima e dopo ---------- */
.ba { padding: 112px 0; }
.ba-inner { display: flex; flex-direction: column; gap: 36px; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ba-tab { font: 600 15px/1.2 var(--body); min-height: 44px; padding: 10px 18px; cursor: pointer; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.ba-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.ba-stage { position: relative; height: clamp(320px, 50vw, 600px); overflow: hidden; background: #D9DDE2; user-select: none; touch-action: pan-y; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-label { position: absolute; top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 14px; color: #fff; }
.ba-label--before { left: 20px; background: var(--ink); }
.ba-label--after { right: 20px; background: var(--red); }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); pointer-events: none; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-caption { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: baseline; }
.ba-caption h3 { font-family: var(--display); font-weight: 800; font-size: 28px; }
.ba-caption p { color: var(--text); }

/* ---------- Parco mezzi ---------- */
.fleet { background: var(--soft); }
.fleet-inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 48px; }
.fleet figure { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 3% 100%); }
.fleet figure img { width: 100%; height: clamp(260px, 36vw, 520px); object-fit: cover; object-position: 50% 60%; }
.fleet figcaption { position: absolute; right: 0; bottom: 0; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; padding: 16px 26px; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }

/* ---------- Come lavoriamo ---------- */
.method { padding: 112px 0; }
.method-inner { display: flex; flex-direction: column; gap: 48px; }
.values { display: flex; flex-wrap: wrap; counter-reset: val; }
.value { flex: 1 1 220px; border-top: 3px solid var(--ink); padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.value:first-child { border-top-color: var(--red); }
.value::before { counter-increment: val; content: "0" counter(val); font-family: var(--display); font-weight: 800; font-style: italic; color: var(--red); }
.value h3 { font-family: var(--display); font-weight: 800; font-size: 22px; }
.value p { font-size: 15px; color: var(--text); }

/* ---------- Zona ---------- */
.zone { padding: 112px 0; }
.zone-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.zone-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.zone-list { border-bottom: 1px solid var(--line-strong); }
.zone-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.zone-list li::before { content: ""; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 8px; background: var(--red); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.zone-list h3 { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.zone-list p { margin-top: 2px; color: var(--text); font-size: 16px; }
.zone-map { flex: 1 1 520px; min-width: 0; position: relative; aspect-ratio: 1 / .9; background: var(--soft); overflow: hidden; }
.zone-area { position: absolute; border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%; background: rgba(161,36,46,.10); border: 2px dashed rgba(161,36,46,.45); }
.zone-area span { position: absolute; left: 10%; top: 10%; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-text); }
.city { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 16px; font-weight: 800; text-transform: uppercase; }
.city::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.city--hq { flex-direction: column; gap: 6px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.city--hq::before { width: 22px; height: 22px; background: var(--red); box-shadow: 0 0 0 8px rgba(161,36,46,.18); animation: pulse 2.4s ease-out infinite; }
.city--hq em { font-style: normal; background: var(--ink); color: #fff; padding: 4px 10px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(161,36,46,.35); } 100% { box-shadow: 0 0 0 22px rgba(161,36,46,0); } }

/* ---------- Recensioni ---------- */
.reviews { background: var(--soft); }
.reviews-inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 48px; }
.rating { font-family: var(--display); font-weight: 800; font-size: 28px; }
.rating small { font-family: var(--body); font-weight: 400; font-size: 16px; color: var(--text); }
.review-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.review { flex: 1 1 320px; background: #fff; border-top: 3px solid var(--red); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review .stars { color: var(--red); letter-spacing: 2px; }
.review blockquote { font-size: 18px; line-height: 1.5; }
.review figcaption { color: var(--text); font-size: 15px; }
.reviews-source { font-size: 14px; color: var(--slate-text); }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; }
.faq-inner { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-head { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.faq-list { flex: 2 1 600px; min-width: 0; border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-weight: 800; font-size: 21px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 36px; height: 36px; border: 2px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 760px; color: var(--text); }

/* ---------- Contatti ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 100%; background: var(--red); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.contact-inner { position: relative; padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.contact-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.contact-copy h2 { font-size: clamp(48px, 6.4vw, 76px); }
.phone-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-text); }
.phone { font-family: var(--display); font-weight: 900; font-size: 32px; text-decoration: none; }
.contact-details { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.form { flex: 1 1 440px; min-width: 0; background: #fff; padding: 40px; box-shadow: 0 24px 60px rgba(22,23,26,.16); display: flex; flex-direction: column; gap: 18px; }
.form h3 { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14px; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--body); color: var(--ink); padding: 12px 0; border: 0; border-bottom: 2px solid var(--line-strong); background: transparent; min-height: 44px; border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: 0 0 auto; }
.form-status { font-size: 15px; font-weight: 500; }
.form-status.is-ok { color: #1E7A46; }
.form-status.is-error { color: var(--red); }
.hidden-field { display: none; }
@media (max-width: 700px) {
  .contact::before { width: 100%; height: 38%; top: auto; bottom: 0; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); }
  .form { padding: 28px 22px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #C9CCD3; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.footer-inner img { height: 44px; width: auto; }
.footer-inner a { color: #C9CCD3; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Pagine legali ---------- */
.legal { padding: 72px 0 112px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 56px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 32px; }
.legal h2 { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* ---------- Animazioni allo scorrimento ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
