/* ==========================================================================
   Loginet — Direzione A "Flusso"
   Colori misurati dal logo: blu #1A6DB5, azzurro #1E9AD6, verde #7DC03C.
   ========================================================================== */

:root {
    --ink: #0F1C2B;
    --muted: #4B5B6B;
    --muted-2: #5B6B7A;
    --line: #DDE4E8;
    --line-strong: #C6D2DA;
    --ground: #F5F7F6;
    --white: #FFFFFF;
    --blue: #1A6DB5;
    --blue-dark: #145894;
    --blue-tint: #E8F2FB;
    --sky: #1E9AD6;
    --teal: #3FA88E;
    --green: #7DC03C;
    --green-mid: #6CB43C;
    --green-ink: #3D7A1F;
    --green-tint: #EEF6E6;
    --on-dark: #B9C7D4;
    --flow: linear-gradient(90deg, #1A6DB5, #1E9AD6 45%, #7DC03C);
    --font-display: 'Sora', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px rgba(15, 28, 43, .16);
    --gutter: 24px;
    --section-y: 96px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--ground);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.preview-bar { background: #FFF4DB; color: #7A4B00; text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }
.preview-bar a { color: #7A4B00; }

/* ---------- Pulsanti ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none;
    border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { flex-shrink: 0; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--green { background: var(--green); color: var(--ink); font-weight: 800; }
.btn--green:hover { background: #8FCB55; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.icon-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { border-color: var(--ink); }

/* ---------- Testate di sezione ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
    margin-bottom: 12px;
}
.eyebrow--green { color: var(--green-ink); letter-spacing: .06em; }
.eyebrow--green svg { color: var(--green-mid); }
.section-title { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -.025em; }
.intro { margin-bottom: 44px; display: flex; flex-direction: column; gap: 14px; }
.intro-text { font-size: 18px; color: var(--muted); max-width: 640px; line-height: 1.55; }
@media (min-width: 960px) {
    .intro--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
    .intro--split .intro-text { max-width: 460px; }
}

/* ---------- Blocchi: sfondi e spaziature ---------- */
.block { padding: var(--section-y) 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--ground); }
.bg-dark { background: var(--ink); color: #fff; }
.bg-dark .section-title, .bg-dark h3 { color: #fff; }
.bg-dark .eyebrow { color: #7CC6EE; }
.bg-dark .intro-text, .bg-dark p { color: var(--on-dark); }
.bg-dark a:not(.btn) { color: #7CC6EE; }
/* Due blocchi consecutivi con lo stesso sfondo non raddoppiano lo spazio */
.bg-white + .bg-white, .bg-light + .bg-light, .bg-dark + .bg-dark { padding-top: 0; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 0 var(--line); }
.flow-line { height: 4px; background: var(--flow); }
.topbar { border-bottom: 1px solid #E6ECEF; font-size: 14px; color: var(--muted); }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-info { display: flex; gap: 24px; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 700; }
.lang-switch a { padding: 3px 11px; color: var(--muted); text-decoration: none; }
.lang-switch a.is-active { background: var(--ink); color: #fff; }
.lang-switch--mobile { display: none; }

.nav-bar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { list-style: none; display: flex; gap: 30px; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--green); color: var(--ink); }
.btn--nav { min-height: 48px; padding: 12px 20px; font-size: 16px; border-radius: 10px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; align-items: center; justify-content: center; }

@media (max-width: 1080px) {
    .topbar { display: none; }
    .nav-bar { min-height: 72px; }
    .logo img { height: 46px; }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: fixed; inset: 76px 0 auto 0; background: #fff; padding: 12px var(--gutter) 28px;
        flex-direction: column; align-items: stretch; gap: 18px;
        border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(15, 28, 43, .12);
        max-height: calc(100vh - 76px); overflow-y: auto;
        visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
    .lang-switch--mobile { display: flex; align-self: flex-start; font-size: 15px; }
    .lang-switch--mobile a { padding: 8px 16px; }
}

/* ---------- Hero ---------- */
.block--hero { padding: 64px 0 72px; }
.hero-track { display: grid; }
.hero-slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
/* La slide in uscita sparisce in fretta, quella in entrata arriva dopo: i testi non si sovrappongono */
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease .2s, visibility 0s; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy .eyebrow { margin: 0; }
.hero-title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero-text { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 540px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 20px; }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points svg { color: var(--green-mid); flex-shrink: 0; }
.hero-points strong { color: var(--blue); font-family: var(--font-display); font-weight: 800; }
.hero-note { font-size: 14px; color: var(--muted-2); }
.hero-media { position: relative; aspect-ratio: 1.06; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.hero-badge {
    position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.hero-controls { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 52px; height: 44px; border: 0; background: none; padding: 0; display: flex; align-items: center; }
.hero-dot span { display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--line-strong); overflow: hidden; position: relative; }
.hero-dot.is-active span { background: var(--blue); }
.hero-arrows { display: flex; gap: 10px; }

@media (max-width: 900px) {
    .block--hero { padding: 28px 0 48px; }
    .hero-slide { grid-template-columns: 1fr; gap: 28px; }
    .hero-media { order: -1; aspect-ratio: 1.35; }
    .hero-img { border-radius: 22px; }
    .hero-text, .hero-points { font-size: 17px; }
    .hero-controls { margin-top: 24px; }
    .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Prenotazione MyRent ---------- */
.booking-embed { min-height: 360px; }
.booking-embed iframe { display: block; width: 100%; min-height: 600px; border: 0; border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0, 0, 0, .08); }

/* ---------- Card con icone ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 21px; font-weight: 700; }
.feature p { font-size: 16px; color: var(--muted); }
.bg-dark .feature-icon { background: rgba(124, 198, 238, .12); color: #7CC6EE; }

/* ---------- Passaggi ---------- */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); gap: 32px; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 3px; background: var(--flow); }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--blue);
}
.step:nth-child(4n+2) .step-num { border-color: #1B84C6; color: #1B84C6; }
.step:nth-child(4n+3) .step-num { border-color: var(--teal); color: #2F8672; }
.step:nth-child(4n+4) .step-num { border-color: var(--green-mid); color: var(--green-ink); }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { font-size: 16px; color: var(--muted); }
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .steps::before { left: 26px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; background: linear-gradient(180deg, #1A6DB5, #1E9AD6 45%, #7DC03C); }
    .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 4px; }
    .step-num { grid-row: span 2; }
}

/* ---------- Card servizi ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.bg-white .card { background: #fff; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { font-size: 16px; color: var(--muted); flex-grow: 1; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-tint); padding: 5px 12px; border-radius: 999px; }
.tag--green { color: var(--green-ink); background: var(--green-tint); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.bg-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }

/* ---------- Galleria ---------- */
.gallery { display: grid; gap: 20px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 240px; }
.gallery-item { margin: 0; overflow: hidden; border-radius: 24px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item--main { grid-row: span 2; }
.gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 480px; }
.gallery--1 .gallery-item--main { grid-row: auto; }
.gallery--2 { grid-template-columns: 2fr 1fr; }
.gallery--4 .gallery-item:last-child { grid-column: span 2; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
@media (max-width: 760px) {
    .gallery, .gallery--2, .gallery--3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
    .gallery-item { border-radius: 16px; }
    .gallery-item--main { grid-column: span 2; grid-row: auto; }
}

/* ---------- Casi ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.case { display: flex; flex-direction: column; gap: 14px; }
.case-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.case h3 { font-size: 22px; font-weight: 700; }
.case p { font-size: 16px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 28px;
    padding: 64px 72px; display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.cta-deco { position: absolute; right: 22%; top: -20px; opacity: .22; pointer-events: none; }
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.025em; color: #fff; }
.cta p { font-size: 18px; color: var(--on-dark); max-width: 560px; }
.cta .btn { position: relative; flex-shrink: 0; }
@media (max-width: 900px) {
    .cta { flex-direction: column; align-items: stretch; padding: 36px 24px; border-radius: 22px; }
    .cta-deco { right: -80px; width: 260px; }
}

/* ---------- Promo a tempo ---------- */
.promo {
    border-radius: 28px; padding: 40px 48px; background: #fff; border: 2px solid var(--green);
    display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.bg-white .promo { background: var(--green-tint); }
.promo-copy { display: flex; flex-direction: column; gap: 10px; }
.promo-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.promo-title svg { color: var(--green-mid); flex-shrink: 0; }
.promo-text { font-size: 18px; color: var(--muted); }
.promo-note { font-size: 14px; color: var(--muted-2); }
@media (max-width: 900px) { .promo { flex-direction: column; align-items: stretch; padding: 28px 22px; } }

/* ---------- Testo + immagine ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split--reverse .split-media { order: -1; }
.split-copy { display: flex; flex-direction: column; gap: 20px; }
.split-copy .eyebrow { margin: 0; }
.rounded-img { width: 100%; border-radius: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split-media { order: -1; } }

/* ---------- Numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 24px 0 0; border-top: 3px solid var(--blue); }
.stat:nth-child(4n+2) { border-top-color: var(--sky); }
.stat:nth-child(4n+3) { border-top-color: var(--teal); }
.stat:nth-child(4n+4) { border-top-color: var(--green); }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.stat dt { color: var(--muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 0; font-family: var(--font-display); font-size: 20px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.faq-item[open] .faq-sign { transform: rotate(45deg); }
.faq-item .prose { padding: 0 0 24px; }

/* ---------- Loghi ---------- */
.logos-title { font-size: 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 32px; }
.logos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 56px; }
.logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos a:hover img, .logos img:hover { filter: none; opacity: 1; }

/* ---------- Testimonianze ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.bg-white .quote { background: var(--ground); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 56px; line-height: .6; color: var(--sky); margin-bottom: 12px; }
.quote figcaption { color: var(--muted); font-size: 15px; }
.quote figcaption strong { color: var(--ink); }

/* ---------- Testi ---------- */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose h2 { font-size: 22px; font-weight: 700; margin-top: 36px; }
.prose h3 { font-size: 19px; font-weight: 700; margin-top: 24px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ground); font-weight: 700; }
.legal { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; }
.legal .section-title { font-size: clamp(30px, 3.6vw, 40px); }
.legal-updated { color: var(--muted-2); font-size: 15px; margin: 10px 0 28px; }
@media (max-width: 700px) { .legal { padding: 28px 20px; } }

/* ---------- Messaggio ---------- */
.message { max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 48px 0; }
.message-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); display: flex; align-items: center; justify-content: center; }
.message p { font-size: 19px; color: var(--muted); }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px;
    font: inherit; font-weight: 400; color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(30, 154, 214, .35); border-color: var(--blue); }
.captcha-q { color: var(--blue); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-required { font-size: 14px; color: var(--muted-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside { background: var(--ground); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 22px; font-size: 16px; }
.bg-light .contact-aside { background: #fff; }
.contact-aside h3 { font-size: 20px; font-weight: 700; }
.contact-group { display: flex; flex-direction: column; gap: 4px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.contact-group strong { color: var(--ink); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { color: var(--blue); margin-top: 4px; flex-shrink: 0; }
@media (max-width: 960px) {
    .contact { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
    .contact-aside { padding: 28px 22px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px 0 36px; font-size: 16px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; }
.footer-title { font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.flow-line--footer { margin: 48px 0 24px; height: 3px; opacity: .8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile: spaziature ---------- */
@media (max-width: 760px) {
    :root { --gutter: 16px; --section-y: 56px; }
    body { font-size: 16px; }
    .intro { margin-bottom: 28px; }
    .intro-text { font-size: 17px; }
    .features { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .feature-icon { width: 48px; height: 48px; border-radius: 14px; }
    .feature h3 { font-size: 17px; }
    .feature p { font-size: 14px; }
    .card { padding: 24px; }
    .cards, .cases, .quotes { grid-template-columns: 1fr; }
}

/* I link interni (#noleggio, #contatti…) non finiscono sotto l'intestazione fissa */
[id] { scroll-margin-top: 150px; }
@media (max-width: 1080px) { [id] { scroll-margin-top: 90px; } }
