main.home {
    .hero {
        position: relative;
        min-height: min(760px, 92vh);
        display: grid;
        align-items: stretch;
        overflow: hidden;
        isolation: isolate;
        border-bottom: 1px solid var(--border);
    }

    .hero-video {
        position: absolute;
        inset: 0;
        z-index: -3;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: var(--fg);
    }

    .hero-overlay-brand {
        position: absolute;
        inset: 0;
        z-index: -2;
        background: linear-gradient(120deg, #008ed6 0%, #008ed6 45%, #2e363a 100%);
        mix-blend-mode: multiply;
    }

    .hero-overlay-ink {
        position: absolute;
        inset: 0;
        z-index: -1;
        background:
            radial-gradient(70% 60% at 90% 12%, rgba(140, 204, 237, 0.55) 0%, transparent 60%),
            radial-gradient(65% 55% at 6% 92%, rgba(0, 142, 214, 0.45) 0%, transparent 60%),
            linear-gradient(180deg, transparent 42%, rgba(46, 54, 58, 0.5) 100%),
            linear-gradient(90deg, rgba(46, 54, 58, 0.4) 0%, transparent 55%);
    }

    .hero-grain {
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        opacity: 0.06;
        background-image:
            radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.6) 0.5px, transparent 1px),
            radial-gradient(circle at 65% 70%, rgba(255, 255, 255, 0.5) 0.5px, transparent 1px);
        background-size: 3px 3px, 5px 5px;
    }

    .hero-inner {
        position: relative;
        padding-block: clamp(48px, 8vw, 96px);
        display: grid;
        grid-template-columns: 1.15fr 1fr;
        gap: var(--gap-2xl);
        align-items: center;
        color: #ffffff;

        @media (max-width: 980px) {
            grid-template-columns: 1fr;
            gap: var(--gap-xl);
        }
    }

    .hero-copy {
        .kicker {
            margin-bottom: 24px;
        }

        h1 {
            font-size: clamp(32px, 3.4vw, 48px);
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.1;
            color: #ffffff;
            margin-bottom: 22px;
            max-width: 22ch;
            text-shadow: 0 2px 24px rgba(46, 54, 58, 0.35);
        }

        .subtitle p {
            font-size: clamp(18px, 1.6vw, 22px);
            max-width: 44ch;
            color: #ffffff;
            opacity: 0.96;
            margin-bottom: 32px;
            line-height: 1.5;
            text-shadow: 0 1px 12px rgba(46, 54, 58, 0.3);
        }

        .subtitle p + p {
            margin-top: 14px;
        }
    }

    .hero-actions {
        display: flex;
        align-items: center;
        gap: var(--gap-md);
        flex-wrap: wrap;
        margin-top: 32px;
    }

    .hero-trust {
        margin-top: 40px;
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
        color: #ffffff;
        font-size: 12px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-weight: 700;

        span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            opacity: 0.92;
        }

        svg {
            width: 14px;
            height: 14px;
            color: #ffffff;
        }
    }

    .hero-form {
        background: #ffffff;
        color: var(--fg);
        padding: 32px;
        border-top: 4px solid var(--accent);
        box-shadow: 0 24px 60px -20px rgba(46, 54, 58, 0.55);
        scroll-margin-top: 140px;

        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 18px;
            border-bottom: 1px solid var(--border);
        }

        header b {
            font-size: 25px;
            font-weight: 800;
            letter-spacing: -0.015em;
            color: var(--fg);
            display: block;
            line-height: 1.25;
        }

        .fields {
            display: grid;
            gap: 14px;
        }

        .actions {
            margin-top: 22px;
            display: grid;
            gap: 10px;
        }

        .or {
            text-align: center;
            color: var(--fg-55);
            font-size: 12px;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            font-weight: 700;
            margin: 14px 0 12px;
            position: relative;

            &::before, &::after {
                content: "";
                position: absolute;
                top: 50%;
                width: calc(50% - 40px);
                height: 1px;
                background: var(--border);
            }

            &::before {
                left: 0;
            }

            &::after {
                right: 0;
            }
        }

        .alt-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
    }

    .presentation {
        .container {
            display: grid;
            grid-template-columns: 1fr 1.15fr;
            gap: var(--gap-2xl);
            align-items: center;

            @media (max-width: 980px) {
                grid-template-columns: 1fr;
            }
        }

        .imgblock {
            aspect-ratio: 891 / 1024;
            background: url("../img/presentation-operatori.jpg") center / cover;
        }

        h2 {
            margin-top: 16px;
            margin-bottom: 24px;
            color: var(--fg);
        }

        p {
            color: var(--fg-70);
            font-size: 17px;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .accent-rule {
            width: 56px;
            height: 3px;
            background: var(--accent);
            margin-bottom: 20px;
        }

        .btn-secondary {
            margin-top: 28px;
        }
    }

    .video-section {
        background: var(--accent);
        color: #ffffff;
        padding: 0;
        border-top: none;

        > .container {
            max-width: none;
            margin: 0;
            padding: 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            align-items: stretch;
            min-height: min(56vw, 720px);
        }

        .text-half {
            padding: clamp(48px, 5vw, 96px);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        h2 {
            color: #ffffff;
            margin-bottom: 20px;
        }

        p {
            color: #ffffff;
            opacity: 0.94;
            font-size: 17px;
            line-height: 1.65;
            margin-bottom: 14px;
        }

        @media (max-width: 980px) {
            > .container {
                grid-template-columns: 1fr;
                min-height: 0;
            }

            .video-frame {
                aspect-ratio: 16 / 9;
                min-height: 0;
            }

            .text-half {
                padding: clamp(32px, 6vw, 56px);
            }
        }
    }

    .video-frame {
        position: relative;
        background: var(--fg);
        overflow: hidden;
        width: 100%;
        height: 100%;
        min-height: 320px;

        iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
    }

    .zones {
        background: var(--fg) url("../img/zones-map.jpg") center / cover no-repeat;
        color: #ffffff;

        .zones-copy {
            max-width: 560px;
        }

        h2 {
            color: #ffffff;
            margin-bottom: 22px;
        }

        p {
            color: #ffffff;
            opacity: 0.85;
            font-size: 16px;
            margin-bottom: 14px;
        }

        .actions {
            margin-top: 28px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
    }

    .features {
        .heading {
            text-align: center;
            margin-bottom: var(--gap-xl);
        }

        h2 {
            color: var(--fg);
        }

        .subtitle {
            color: var(--fg-70);
            font-size: 17px;
            margin-top: 14px;
        }
    }

    .feature-card {
        padding: 40px 32px;
        background: #ffffff;
        border: 1px solid var(--border);
        border-top: 3px solid var(--accent);
        display: flex;
        flex-direction: column;
        gap: 16px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;

        &:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px -24px rgba(46, 54, 58, 0.24);
        }

        h3 {
            font-size: 22px;
            font-weight: 800;
            letter-spacing: -0.005em;
            color: var(--fg);
            margin-top: 8px;
        }

        p {
            color: var(--fg-70);
            font-size: 15px;
            line-height: 1.65;
        }
    }

    .feature-icon {
        width: 88px;
        height: 88px;
        background: var(--surface);
        display: grid;
        place-items: center;
        color: var(--accent);
        border: 1px solid var(--border);

        svg {
            width: 48px;
            height: 48px;
        }
    }

    .clients {
        background: var(--surface);
        border-top: 1px solid var(--border);

        .heading {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: var(--gap-md);
            flex-wrap: wrap;
            margin-bottom: var(--gap-xl);
        }

        h2 {
            font-size: clamp(22px, 2.4vw, 32px);
            color: var(--fg);
        }
    }

    .logo-cell {
        aspect-ratio: 2 / 1;
        background: #ffffff;
        border: 1px solid var(--border);
        display: grid;
        place-items: center;
        padding: 16px;
        color: var(--fg-55);
        font-weight: 700;
        letter-spacing: 0.18em;
        font-size: 14px;
        transition: color 0.15s ease, border-color 0.15s ease;

        &:hover {
            color: var(--accent);
            border-color: var(--accent);
        }

        img {
            max-height: 100%;
            width: auto;
            object-fit: contain;
        }
    }

    .multiservizi {
        .container {
            max-width: none;
        }

        .grid-3 {
            grid-template-columns: repeat(4, minmax(0, 1fr));

            @media (max-width: 1100px) {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            @media (max-width: 640px) {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .multi-card {
            aspect-ratio: 3 / 4;

            @media (max-width: 640px) {
                aspect-ratio: 4 / 3;
            }
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .hero-video {
            display: none;
        }

        .hero {
            background: var(--fg);
        }
    }
}