:root {
    --navy: #2b3448;
    --red: #941622;
    --red2: #b11f2d;
    --ink: #202738;
    --muted: #667085;
    --soft: #f7f8fb;
    --line: #e2e6ee;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff
}

a {
    color: inherit
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 5vw;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 850;
    color: var(--red);
    letter-spacing: .02em
}

.brand img {
    width: 74px;
    height: auto;
    display: block
}

.brand span {
    font-size: 22px
}

.menuBtn {
    display: none;
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--navy);
    font-weight: 800
}

nav {
    display: flex;
    align-items: center;
    gap: 22px
}

nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 750;
    font-size: 15px
}

.navCta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 850
}

.navCta {
    padding: 11px 17px;
    background: var(--red);
    color: white
}

.hero {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 42px;
    align-items: center;
    padding: 74px 5vw 56px;
    background: radial-gradient(circle at 85% 0, rgba(148, 22, 34, .11), transparent 34%), linear-gradient(180deg, #fff, var(--soft))
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    color: var(--red);
    font-size: 13px
}

.hero h1,
.sectionHead h2,
.dashIntro h2,
.demo h2 {
    font-size: clamp(38px, 5.8vw, 82px);
    line-height: .96;
    margin: 10px 0 20px;
    color: var(--navy);
    letter-spacing: -.05em
}

.lead {
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.22;
    font-weight: 750;
    color: #374057
}

.heroText p:not(.eyebrow) {
    color: #566176
}

.heroActions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px
}

.btn {
    padding: 15px 22px
}

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

.btn.ghost {
    background: #fff;
    color: var(--navy);
    border-color: var(--line)
}

.btn.small {
    padding: 10px 15px;
    background: var(--navy);
    color: white;
    font-size: 14px
}

.heroMedia {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    min-height: 450px;
    box-shadow: 0 30px 80px rgba(43, 52, 72, .18);
    background: #111
}

.heroMedia>img,
.heroMedia>video {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    display: block
}

.phoneCard {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .18)
}

.phoneCard b,
.phoneCard span,
.phoneCard small {
    display: block
}

.phoneCard b {
    color: var(--red);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.phoneCard span {
    font-size: 24px;
    font-weight: 850;
    color: var(--navy);
    margin: 5px 0
}

.phoneCard small {
    color: var(--muted)
}

.proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 34px 5vw;
    background: #fff
}

.proof div {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
    background: white;
    box-shadow: 0 14px 38px rgba(43, 52, 72, .06)
}

.proof strong {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: white
}

.proof span {
    font-weight: 700;
    color: #4d5668
}

.sectionHead,
.dashboardWrap,
.demo {
    padding: 72px 5vw
}

.sectionHead {
    max-width: 1180px
}

.sectionHead p:not(.eyebrow),
.dashIntro p,
.demo p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 900px
}

.sectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 0 5vw 72px
}

.sector {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(43, 52, 72, .08)
}

.sector img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block
}

.sector div {
    padding: 22px
}

.sector h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 25px
}

.sector p {
    color: var(--muted);
    line-height: 1.5
}

.sectorBtn {
    border: 0;
    border-radius: 999px;
    background: rgba(148, 22, 34, .1);
    color: var(--red);
    font-weight: 850;
    padding: 11px 15px;
    cursor: pointer
}

.dashboardWrap {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 32px;
    background: linear-gradient(180deg, #f7f8fb, #fff)
}

.dashboard {
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 24px;
    background: white;
    box-shadow: 0 24px 80px rgba(43, 52, 72, .12)
}

.dashTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px
}

.dashTop small {
    color: var(--muted);
    font-weight: 700
}

.dashTop h3 {
    margin: 4px 0 0;
    color: var(--red);
    font-size: 30px
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.kpis div,
.panel {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fafbfe;
    padding: 18px
}

.kpis span {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: var(--navy)
}

.kpis small {
    color: var(--muted);
    font-weight: 700
}

.dashGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px
}

.panel h4 {
    margin: 0 0 12px;
    color: var(--navy)
}

.wide {
    grid-column: span 2
}

.italyMap {
    height: 165px;
    border-radius: 20px;
    background: radial-gradient(circle at 45% 28%, var(--red) 0 7px, transparent 8px), radial-gradient(circle at 52% 45%, var(--red2) 0 5px, transparent 6px), radial-gradient(circle at 61% 65%, var(--navy) 0 6px, transparent 7px), linear-gradient(135deg, #eef1f6, #fff);
    position: relative
}

.bars {
    display: grid;
    gap: 10px
}

.bar {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-weight: 750
}

.bar i {
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--navy));
    display: block;
    max-width: 100%
}

table {
    width: 100%;
    border-collapse: collapse
}

td {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: #4f596b
}

td:last-child {
    text-align: right;
    color: var(--red);
    font-weight: 850
}

.panel ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.55
}

.demo {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 30px;
    align-items: start;
    background: var(--navy);
    color: white
}

.demo h2 {
    color: white
}

.demo p:not(.eyebrow) {
    color: #dbe0ea
}

.demo form {
    display: grid;
    gap: 13px;
    background: white;
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22)
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px;
    font: inherit;
    color: var(--ink)
}

footer {
    padding: 28px 5vw;
    background: #151b2a;
    color: #dfe4ed
}

footer a {
    color: white;
    font-weight: 800
}

@media(max-width:1024px) {

    .hero,
    .dashboardWrap,
    .demo {
        grid-template-columns: 1fr
    }

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

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

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

    .hero h1,
    .sectionHead h2,
    .dashIntro h2,
    .demo h2 {
        font-size: clamp(36px, 7vw, 64px)
    }
}

@media(max-width:760px) {
    .topbar {
        padding: 12px 18px
    }

    .brand img {
        width: 58px
    }

    .brand span {
        font-size: 19px
    }

    .menuBtn {
        display: inline-flex
    }

    nav {
        display: none;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 76px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: white;
        box-shadow: 0 24px 70px rgba(0, 0, 0, .16)
    }

    nav.open {
        display: grid;
        gap: 15px
    }

    .hero,
    .sectionHead,
    .dashboardWrap,
    .demo {
        padding: 48px 22px
    }

    .hero {
        gap: 26px
    }

    .lead {
        font-size: 20px
    }

    .heroMedia,
    .heroMedia>img,
    .heroMedia>video {
        min-height: 340px
    }

    .phoneCard {
        left: 16px;
        right: 16px;
        bottom: 16px
    }

    .phoneCard span {
        font-size: 19px
    }

    .proof {
        grid-template-columns: 1fr;
        padding: 24px 22px
    }

    .sectors {
        grid-template-columns: 1fr;
        padding: 0 22px 48px
    }

    .dashTop {
        display: grid
    }

    .dashGrid {
        grid-template-columns: 1fr
    }

    .wide {
        grid-column: auto
    }

    .kpis {
        grid-template-columns: 1fr 1fr
    }

    .heroActions .btn {
        width: 100%
    }
}

@media(max-width:430px) {
    .brand span {
        display: none
    }

    .hero h1,
    .sectionHead h2,
    .dashIntro h2,
    .demo h2 {
        letter-spacing: -.035em
    }

    .kpis {
        grid-template-columns: 1fr
    }

    .heroMedia,
    .heroMedia>img,
    .heroMedia>video {
        min-height: 290px
    }

    .topbar {
        gap: 10px
    }

    .navCta {
        width: 100%;
        text-align: center
    }

    .btn {
        width: 100%
    }
}