:root {
    --navy: #10233f;
    --blue: #1769e0;
    --blue2: #0b4db3;
    --cyan: #19a7ce;
    --bg: #f5f7fb;
    --card: #fff;
    --text: #182335;
    --muted: #607089;
    --border: #dfe6ef;
    --success: #16865b;
    --shadow: 0 18px 50px rgba(16, 35, 63, .10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1160px, calc(100% - 32px));
    margin: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(223, 230, 239, .85);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 900;
    letter-spacing: -1.5px;
    font-size: 28px;
    color: var(--navy);
}

    .brand span {
        color: var(--blue);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .nav-links a {
        font-size: 14px;
        font-weight: 700;
        color: #41516a;
    }

        .nav-links a:hover {
            color: var(--blue);
        }


/* =========================================================
   PULSANTE ASSISTENZA
   ========================================================= */

.nav-assistance {
    padding: 11px 15px;
    border-radius: 10px;
    background: #1769e0;
    color: #ffffff !important;
    border: 1px solid #1769e0;
    font-weight: 700;
}

    .nav-assistance:hover {
        background: #0b4db3;
        border-color: #0b4db3;
        color: #ffffff !important;
    }


/* =========================================================
   PULSANTE CONTATTACI
   ========================================================= */

.nav-cta {
    padding: 11px 17px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff !important;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 26px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient( 135deg, #10233f 0%, #153f78 58%, #0b6e9c 100% );
    color: #fff;
}

    .hero:after {
        content: "";
        position: absolute;
        width: 480px;
        height: 480px;
        border-radius: 50%;
        right: -180px;
        top: -180px;
        background: rgba(25, 167, 206, .18);
    }

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 96px 0 90px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -2.8px;
    margin: 20px 0;
}

.hero p {
    font-size: 19px;
    color: #dbe8f7;
    max-width: 650px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: var(--navy);
}

    .btn-primary:hover {
        background: #edf4ff;
    }

.btn-secondary {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.hero-card {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .16);
}

    .hero-card h3 {
        margin: 0 0 18px;
        font-size: 20px;
    }

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .check-list li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        font-size: 14px;
    }

        .check-list li:last-child {
            border: 0;
        }

.check {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #5bd1a4;
    color: #10233f;
    text-align: center;
    line-height: 20px;
    font-weight: 900;
    margin-right: 8px;
}


/* =========================================================
   SEZIONI
   ========================================================= */

.section {
    padding: 78px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 34px;
}

    .section-head .eyebrow {
        color: var(--blue);
        border-color: #cfe0fb;
    }

.section h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -1.6px;
    margin: 12px 0;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
}


/* =========================================================
   GRIGLIE
   ========================================================= */

.grid {
    display: grid;
    gap: 18px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}


/* =========================================================
   CARD
   ========================================================= */

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 8px 28px rgba(16, 35, 63, .045);
    transition: .2s transform, .2s box-shadow;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow);
    }

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf3ff;
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 18px;
}

.card h3 {
    margin: 0 0 9px;
    font-size: 20px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   PRODOTTI
   ========================================================= */

.product-card {
    display: flex;
    flex-direction: column;
}

    .product-card .card-link {
        margin-top: auto;
        padding-top: 18px;
    }

.product-logo {
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -4px 0 18px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

    .product-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


/* =========================================================
   BRAND
   ========================================================= */

.brand-strip {
    margin-top: 42px;
    padding: 24px 0 4px;
    border-top: 1px solid var(--border);
}

.brand-strip-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: center;
}

    .brand-logos img {
        width: 100%;
        height: 64px;
        object-fit: contain;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 10px;
    }


/* =========================================================
   ASSISTENZA
   ========================================================= */

.assistance-visual {
    margin: 24px 0 0;
}

    .assistance-visual img {
        display: block;
        max-width: 220px;
        width: 100%;
        border-radius: 12px;
        background: #fff;
    }


/* =========================================================
   BAND / SPLIT
   ========================================================= */

.band {
    background: #eaf2fc;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}


/* =========================================================
   FEATURE
   ========================================================= */

.feature-list {
    display: grid;
    gap: 14px;
}

.feature {
    display: flex;
    gap: 13px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

    .feature strong {
        display: block;
    }

    .feature span {
        display: block;
        color: var(--muted);
        font-size: 13px;
    }


/* =========================================================
   CONTACT CTA
   ========================================================= */

.contact-cta {
    background: var(--navy);
    color: #fff;
    border-radius: 28px;
    padding: 48px;
}

    .contact-cta p {
        color: #d4dfed;
        max-width: 650px;
    }


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #0b172a;
    color: #c9d4e2;
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.site-footer h3 {
    color: #fff;
    margin-top: 0;
}

.site-footer p,
.site-footer address {
    font-size: 14px;
    color: #aebdce;
}

.site-footer a:hover {
    color: #fff;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 35px;
    padding-top: 18px;
    font-size: 12px;
    color: #8ea0b5;
}


/* =========================================================
   PAGINA CONTATTI
   ========================================================= */

.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 55px 0;
}

    .page-hero h1 {
        font-size: 44px;
        letter-spacing: -1.5px;
        margin: 0 0 8px;
    }

    .page-hero p {
        color: #d4dfed;
        margin: 0;
    }

.form-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 800;
        margin-bottom: 7px;
    }

.input,
.textarea {
    width: 100%;
    border: 1px solid #ccd6e3;
    border-radius: 10px;
    padding: 12px 13px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

    .input:focus,
    .textarea:focus {
        outline: 0;
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(23, 105, 224, .12);
    }


/* =========================================================
   MESSAGGI FORM
   ========================================================= */

.error-msg {
    display: block;
    color: #c52f42;
    font-size: 12px;
    margin-top: 5px;
}

.success-msg {
    display: block;
    padding: 12px 14px;
    background: #e8f7f0;
    color: #106b49;
    border-radius: 10px;
    margin-top: 16px;
    font-weight: 700;
}


/* =========================================================
   PRIVACY
   ========================================================= */

.conditions {
    padding: 18px;
    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    color: #506078;
}

    .conditions h3 {
        font-size: 15px;
        color: var(--text);
        margin: 0 0 8px;
    }

.checkbox {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 13px;
}

    .checkbox input {
        margin-top: 4px;
    }


/* =========================================================
   PULSANTE FORM
   ========================================================= */

.full-btn {
    width: 100%;
    background: var(--blue);
    color: #fff;
}

    .full-btn:hover {
        background: var(--blue2);
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .hero-inner,
    .split,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-inner {
        padding: 70px 0;
    }

    .hero-card {
        max-width: 620px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .nav {
        min-height: 66px;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 66px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 12px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links a {
            display: block;
            padding: 11px 12px;
        }

    .nav-assistance,
    .nav-cta {
        text-align: center;
    }

    .brand-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        padding: 30px 24px;
    }

    .page-hero h1 {
        font-size: 35px;
    }
}
