.landing-page {
    background: #f7faff;
}

.landing-page #main {
    padding-top: 0;
    background:
        radial-gradient(ellipse 32% 15% at 12% 7%, rgba(143, 196, 235, 0.3), transparent 100%),
        radial-gradient(ellipse 30% 18% at 87% 34%, rgba(134, 232, 238, 0.23), transparent 100%),
        radial-gradient(ellipse 33% 18% at 14% 67%, rgba(143, 196, 235, 0.2), transparent 100%),
        linear-gradient(180deg, #eef5ff 0%, #f7faff 37%, #edf7fc 72%, #f5faff 100%);
}

.landing-header {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid rgba(68, 94, 126, 0.12);
    background: #f9fcff;
}

.landing-header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.landing-brand img {
    width: clamp(160px, 18vw, 215px);
    height: auto;
}

.landing-hero {
    position: relative;
    padding: clamp(62px, 6vw, 88px) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.34) 55%, rgba(255, 255, 255, 0.08));
}

.landing-page .ambient-ball {
    opacity: 0.68;
}

.landing-hero .ambient-ball-large {
    top: 9%;
    left: 3%;
}

.landing-hero .ambient-ball-small {
    right: 4%;
    bottom: 11%;
}

.landing-section .ambient-ball-large {
    top: 4%;
    right: 2%;
}

.landing-section .ambient-ball-small {
    bottom: 9%;
    left: 2%;
}

.landing-proof .ambient-ball-large {
    top: 8%;
    left: 5%;
}

.landing-proof .ambient-ball-small {
    right: 6%;
    bottom: 9%;
}

.landing-contact .ambient-ball-large {
    top: 10%;
    right: 3%;
}

.landing-contact .ambient-ball-small {
    bottom: 12%;
    left: 4%;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    align-items: center;
    gap: clamp(36px, 6vw, 90px);
}

.landing-hero h1 {
    max-width: 790px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 4.7vw, 4.7rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.landing-lead {
    max-width: 650px;
    margin-bottom: 28px;
    color: #506073;
    font-size: clamp(1.13rem, 1.5vw, 1.28rem);
    line-height: 1.55;
}

.landing-hero-reassurance {
    margin: 14px 0 0;
    color: #62748a;
    font-size: 0.91rem;
}

.landing-shift {
    max-width: 480px;
    padding: clamp(26px, 3vw, 40px);
    border: 1px solid rgba(75, 130, 167, 0.18);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 54px rgba(63, 111, 151, 0.11);
}

.landing-shift-label {
    margin-bottom: 24px;
    color: var(--blue-dark);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-shift-row {
    padding: 18px 22px;
    border: 1px solid #dfe8f1;
    border-radius: 16px;
    background: #f6f9fd;
}

.landing-shift-row span {
    display: block;
    margin-bottom: 7px;
    color: #60758a;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-shift-row strong {
    display: block;
    color: var(--text-dark);
    font-family: "Nexa", "Source Sans 3", sans-serif;
    font-size: clamp(1.16rem, 1.8vw, 1.52rem);
    line-height: 1.3;
}

.landing-shift-arrow {
    height: 36px;
    color: var(--blue-dark);
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.landing-shift-result {
    border-color: #bad8ec;
    background: linear-gradient(105deg, #e6f3fb, #eef9fb);
}

.landing-shift-note {
    margin: 18px 2px 0;
    color: #5d6e80;
    font-size: 0.97rem;
    line-height: 1.5;
}

.landing-section {
    padding-block: clamp(56px, 5vw, 76px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.55) 20%, rgba(255, 255, 255, 0.55) 80%, rgba(255, 255, 255, 0.06));
}

.landing-section-heading,
.landing-proof-heading {
    margin-bottom: 28px;
}

.landing-heading-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.landing-section-heading h2,
.landing-proof h2,
.landing-contact-copy h2 {
    max-width: 690px;
    margin-bottom: 0;
    font-size: clamp(2.15rem, 3.7vw, 3.45rem);
    line-height: 1.12;
}

.landing-section-heading .landing-heading-row > p,
.landing-proof-aside p,
.landing-contact-copy > p:not(.eyebrow) {
    margin-bottom: 0;
    color: #56687b;
    font-size: 1.1rem;
    line-height: 1.55;
}

.landing-section-heading .landing-heading-row > p,
.landing-proof-aside {
    max-width: 72ch;
}

.landing-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-card {
    padding: clamp(23px, 2.4vw, 31px);
    border: 1px solid #dce8f3;
    border-radius: 20px;
    background: #fff;
}

.landing-card::before {
    display: block;
    width: 32px;
    height: 4px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    content: "";
}

.landing-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.landing-card p {
    margin-bottom: 0;
    color: #5b6878;
}

.landing-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(34px, 4vw, 48px);
    padding-top: 26px;
    border-top: 1px solid #d6e4f0;
}

.landing-method-heading {
    margin-bottom: 0;
    color: var(--text-dark);
    font-family: "Nexa", "Source Sans 3", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.landing-method-steps {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 27px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-method-steps li {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.landing-method-steps li > span {
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.landing-method-steps strong {
    color: #46596b;
    font-size: 0.96rem;
}

.landing-proof {
    padding-block: clamp(62px, 6vw, 88px);
    background: linear-gradient(180deg, rgba(216, 235, 249, 0.07), rgba(216, 235, 249, 0.52) 20%, rgba(216, 235, 249, 0.52) 80%, rgba(216, 235, 249, 0.07));
}

.landing-proof-heading {
    margin-bottom: 25px;
}

.landing-proof-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.landing-consulenza-it-aziendale .landing-proof {
    padding-block: clamp(54px, 5vw, 72px);
}

.landing-consulenza-it-aziendale .landing-case::before {
    display: block;
    width: 30px;
    height: 3px;
    margin-bottom: 17px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    content: "";
}

.landing-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 1fr;
    gap: 14px;
    margin-bottom: 0;
}

.landing-case {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #d5e5f1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

.landing-case h3 {
    margin-bottom: 9px;
    font-size: 1.09rem;
}

.landing-case p {
    margin-bottom: 0;
    color: #5b6878;
    font-size: 0.98rem;
}

.landing-case-link,
.landing-proof-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid #b8d5e9;
    border-radius: 999px;
    background: #eaf5fc;
    color: var(--blue-dark);
    font-size: 0.89rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.landing-case-link {
    margin-top: auto;
}

.landing-case--linked p {
    margin-bottom: 18px;
}

.landing-case-link:hover,
.landing-case-link:focus-visible,
.landing-proof-cta:hover,
.landing-proof-cta:focus-visible {
    border-color: #7db6da;
    background: #d8edfa;
}

.landing-contact {
    padding-block: clamp(66px, 6vw, 90px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.42) 20%, rgba(255, 255, 255, 0.42) 80%, rgba(255, 255, 255, 0.05));
    scroll-margin-top: 22px;
}

.landing-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(30px, 6vw, 88px);
}

.landing-contact-copy .eyebrow,
.landing-contact-copy h2 {
    color: var(--text-dark);
}

.landing-contact-copy .eyebrow {
    color: var(--blue-dark);
}

.landing-contact-copy > p:not(.eyebrow) {
    margin-top: 20px;
    color: #56687b;
}

.landing-contact-copy a {
    color: var(--blue-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-form {
    background: #fff;
}

.landing-form h3 {
    margin-bottom: 22px;
    font-family: "Nexa", "Source Sans 3", sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.95rem);
}

.landing-optional {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 400;
}

.landing-footer {
    padding-block: 28px;
    background: #e5eef8;
    color: #566375;
    font-size: 0.85rem;
}

.landing-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.landing-footer p {
    margin: 0;
}

.landing-footer a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .landing-hero-grid,
    .landing-contact-grid {
        grid-template-columns: 1fr;
    }

    .landing-method {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .landing-shift {
        max-width: none;
    }

    .landing-footer-inner {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .landing-hero .ambient-ball-small {
        top: 1%;
        right: 4%;
        bottom: auto;
        width: 72px;
        height: 72px;
    }

    .landing-proof .ambient-ball-large {
        top: 8%;
        right: -4%;
        left: auto;
    }

    .landing-header-inner {
        min-height: 70px;
    }

    .landing-brand img {
        width: 150px;
    }

    .landing-header .button {
        min-height: 38px;
        padding: 7px 13px;
        font-size: 0.78rem;
    }

    .landing-hero {
        padding-block: 52px 58px;
    }

    .landing-hero h1 {
        font-size: clamp(2.55rem, 10.4vw, 3.35rem);
    }

    .landing-shift {
        padding: 25px;
    }

    .landing-section,
    .landing-proof,
    .landing-contact {
        padding-block: 56px;
    }

    .landing-card-grid {
        grid-template-columns: 1fr;
    }

    .landing-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .landing-consulenza-it-aziendale .landing-case-grid {
        grid-template-columns: 1fr;
    }

    .landing-case {
        padding: 17px;
    }

    .landing-case-grid .landing-case:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .landing-section-heading h2,
    .landing-proof h2,
    .landing-contact-copy h2 {
        font-size: clamp(2.05rem, 8.3vw, 2.7rem);
    }
}
