/* Identita grafica condivisa - Gestionale sul Web */
:root {
    --gw-ink: #172033;
    --gw-muted: #667085;
    --gw-primary: #f7961c;
    --gw-primary-dark: #d96d0b;
    --gw-warm: #fff8ef;
    --gw-surface: #ffffff;
    --gw-line: #e9edf3;
    --gw-shadow: 0 18px 50px rgba(23, 32, 51, .08);
}

html { scroll-behavior: smooth; }
body.modern-site {
    color: var(--gw-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    overflow-x: hidden;
}
.modern-site h1, .modern-site h2, .modern-site h3,
.modern-site h4, .modern-site h5, .modern-site h6 {
    color: var(--gw-ink);
    letter-spacing: -.025em;
}
.modern-site p, .modern-site li { line-height: 1.7; }
.modern-site .text-muted { color: var(--gw-muted) !important; }
.modern-site .text-primary { color: var(--gw-primary-dark) !important; }
.modern-site a { text-underline-offset: 3px; }

/* Navigazione */
.modern-site #topnav {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(23, 32, 51, .07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.modern-site #topnav .navigation-menu > li > a {
    color: var(--gw-ink);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .035em;
}
.modern-site #topnav .submenu {
    border: 1px solid var(--gw-line);
    border-radius: 12px;
    box-shadow: var(--gw-shadow);
}

/* Pulsanti */
.modern-site .btn {
    border: 0 !important;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.modern-site .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(217, 109, 11, .22);
}
.modern-site .btn-primary {
    padding: .8rem 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--gw-primary), var(--gw-primary-dark));
}

/* Hero delle pagine interne */
.modern-site:not(.modern-home) #home {
    position: relative;
    min-height: 460px;
    padding-top: 145px;
    padding-bottom: 90px;
    background-color: var(--gw-warm);
    background-blend-mode: screen;
}
.modern-site:not(.modern-home) #home::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.38));
}
.modern-site:not(.modern-home) #home > .container {
    position: relative;
    z-index: 1;
}
.modern-site:not(.modern-home) #home .heading,
.modern-site:not(.modern-home) #home h1 {
    max-width: 900px;
    font-size: clamp(2.25rem, 4.5vw, 4rem) !important;
    line-height: 1.08;
    font-weight: 760;
    letter-spacing: -.045em;
}
.modern-site:not(.modern-home) #home .para-desc {
    max-width: 720px;
    margin-top: 1.1rem;
    color: var(--gw-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

/* Hero home */
.modern-home #home {
    position: relative;
    min-height: 720px;
    padding-top: 150px;
    background:
        radial-gradient(circle at 82% 42%, rgba(247, 150, 28, .24), transparent 27%),
        linear-gradient(135deg, #fff 0%, #fff 58%, var(--gw-warm) 100%);
}
.modern-home #home::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: 80px;
    border: 1px solid rgba(247, 150, 28, .22);
    border-radius: 50%;
}
.modern-home #home .title-heading { position: relative; z-index: 2; }
.modern-home #home .heading {
    max-width: 720px;
    font-size: clamp(2.7rem, 5vw, 4.65rem) !important;
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -.055em;
}
.modern-home #home .heading .fw-bold { font-weight: 780 !important; }
.modern-home #home .para-desc {
    max-width: 660px;
    margin-top: 1.35rem;
    font-size: 1.08rem;
    line-height: 1.75;
}
.modern-home #home .badge {
    padding: .65rem .9rem;
    color: #9a3412;
    background: #fff0dc !important;
    border: 1px solid #ffd29a;
    font-weight: 700;
}
.modern-home #home .classic-saas-image {
    z-index: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 30px 45px rgba(23, 32, 51, .16));
}

/* Indicatori home */
.gw-proof {
    position: relative;
    z-index: 4;
    margin-top: -46px;
    margin-bottom: 46px;
}
.gw-proof__panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--gw-line);
    border-radius: 18px;
    box-shadow: var(--gw-shadow);
}
.gw-proof__item {
    padding: 1.15rem 1.3rem;
    text-align: center;
    border-right: 1px solid var(--gw-line);
}
.gw-proof__item:last-child { border-right: 0; }
.gw-proof__value {
    display: block;
    color: var(--gw-ink);
    font-size: 1.15rem;
    font-weight: 800;
}
.gw-proof__label {
    display: block;
    margin-top: .15rem;
    color: var(--gw-muted);
    font-size: .82rem;
}

/* Sezioni, superfici e card */
.modern-site .section-title .title {
    font-size: clamp(1.9rem, 3.1vw, 2.8rem);
    line-height: 1.14;
}
.modern-site .bg-light { background: #f8fafc !important; }
.modern-site .bg-soft-primary { background: #fff9f1 !important; }
.modern-site .card,
.modern-site .custom-form {
    border: 1px solid var(--gw-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 36px rgba(23, 32, 51, .07) !important;
}
.modern-site .features {
    height: calc(100% - 1.5rem);
    margin-bottom: 1.5rem;
    padding: 1.45rem;
    background: var(--gw-surface);
    border: 1px solid rgba(247, 150, 28, .14);
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(23, 32, 51, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.modern-site .features:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 150, 28, .38);
    box-shadow: 0 18px 42px rgba(23, 32, 51, .09);
}
.modern-site .features .image {
    display: inline-grid !important;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--gw-primary-dark);
    background: #fff1df;
    border-radius: 14px;
}
.modern-site .features .image i { color: var(--gw-primary-dark) !important; margin: 0; }
.modern-site .features .content { margin-top: 1.1rem !important; }
.modern-site .features h5 { font-weight: 750; }
.modern-site .features p { line-height: 1.65; }

/* Prezzi, tabelle, form e FAQ */
.modern-site .pricing-rates,
.modern-site .table-responsive {
    overflow: hidden;
    border: 1px solid var(--gw-line);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(23, 32, 51, .06);
}
.modern-site .table { margin-bottom: 0; }
.modern-site .table thead { background: #fff4e5; }
.modern-site .form-control,
.modern-site .form-select {
    min-height: 48px;
    border-color: var(--gw-line);
    border-radius: 10px;
}
.modern-site .form-control:focus,
.modern-site .form-select:focus {
    border-color: var(--gw-primary);
    box-shadow: 0 0 0 .2rem rgba(247, 150, 28, .13);
}
.modern-site .accordion-item {
    overflow: hidden;
    border: 1px solid var(--gw-line) !important;
    border-radius: 14px !important;
}
.modern-site .accordion-button {
    color: var(--gw-ink);
    background: #fff !important;
    font-weight: 700;
    text-transform: none !important;
}
.modern-home #buyingquestion .accordion-button::before {
    content: none !important;
    display: none !important;
}
.modern-home #buyingquestion .accordion-button::after {
    content: "";
    display: block !important;
    width: 1.15rem;
    height: 1.15rem;
    margin-left: auto;
    flex: 0 0 1.15rem;
    border: 0;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d96d0b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 1rem !important;
    transform: rotate(0deg);
    transition: transform .22s ease;
}
.modern-home #buyingquestion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}
.modern-site .bg-gradient.bg-primary {
    background: linear-gradient(135deg, #1d2738 0%, #303c50 100%) !important;
}

/* Pagina prezzi e confronto funzioni */
.pricing-page #prezzi {
    padding-top: 3rem !important;
    padding-bottom: 3.5rem !important;
    background: linear-gradient(180deg, #fff9f1 0%, #fff 100%) !important;
}
.pricing-page #prezzi .pricing {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #e8ecf2 !important;
    border-top: 5px solid #f6b45f !important;
    box-shadow: 0 20px 55px rgba(23, 32, 51, .09) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-page #prezzi .row.align-items-center {
    align-items: stretch !important;
    margin-top: 1.25rem;
}
.pricing-page #prezzi .row.align-items-center > [class*="col-"] {
    display: flex;
}
.pricing-page #prezzi .row.align-items-center > [class*="col-"]:nth-child(2) .pricing {
    z-index: 2;
    transform: translateY(-10px);
    border: 2px solid var(--gw-primary) !important;
    border-top: 6px solid var(--gw-primary) !important;
    box-shadow: 0 26px 65px rgba(217, 109, 11, .17) !important;
}
.pricing-page #prezzi .row.align-items-center > [class*="col-"]:nth-child(3) .pricing {
    border-top-color: #344054 !important;
}
.pricing-page #prezzi .pricing:hover {
    transform: translateY(-6px);
    border-color: #f1bd7d !important;
    box-shadow: 0 28px 65px rgba(23, 32, 51, .14) !important;
}
.pricing-page #prezzi .row.align-items-center > [class*="col-"]:nth-child(2) .pricing:hover {
    transform: translateY(-16px);
}
.pricing-page #prezzi .pricing .card-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2.5rem 2rem !important;
}
.pricing-page #prezzi .pricing .name {
    min-height: 2.4rem;
    margin-bottom: 1.25rem !important;
    color: var(--gw-primary-dark);
    font-size: .83rem;
    letter-spacing: .085em;
}
.pricing-page #prezzi .pricing .price { color: var(--gw-ink); }
.pricing-page #prezzi .pricing .price {
    font-size: 3.35rem;
    font-weight: 750;
    letter-spacing: -.06em;
}
.pricing-page #prezzi .pricing .price + .h4,
.pricing-page #prezzi .pricing .price ~ .h4 {
    color: var(--gw-muted);
    font-size: 1rem;
}
.pricing-page #prezzi .pricing .badge.bg-danger {
    max-width: 100%;
    padding: .55rem .75rem;
    color: #9a4b05;
    background: #fff0dc !important;
    border: 1px solid #ffd39a;
    font-size: .69rem;
    line-height: 1.3;
    white-space: normal;
}
.pricing-page #prezzi .pricing p {
    min-height: 7.2rem;
    padding: 1rem 0;
    margin: 0 !important;
    border-top: 1px solid var(--gw-line);
    border-bottom: 1px solid var(--gw-line);
    font-size: .92rem;
    line-height: 1.65;
    text-align: left;
}
.pricing-page #prezzi .pricing ul {
    flex-grow: 1;
    padding-top: 1.2rem;
}
.pricing-page #prezzi .pricing ul li {
    position: relative;
    padding: .32rem 0 .32rem 1.8rem;
    font-size: .88rem;
    line-height: 1.45;
}
.pricing-page #prezzi .pricing ul li .icon {
    position: absolute;
    top: .27rem;
    left: 0;
    color: #1f9d68;
}
.pricing-page #prezzi .pricing ul li:not(:has(.icon)) {
    padding-left: 0;
}
.pricing-page #prezzi .pricing .btn {
    width: 100%;
    margin-top: auto !important;
    padding: .85rem 1rem;
}
.pricing-page #prezzi .pricing .ribbon span {
    background: linear-gradient(135deg, var(--gw-primary), var(--gw-primary-dark));
}
.pricing-page .pricing-features-section {
    position: relative;
    margin-top: 0 !important;
    padding-bottom: 4rem;
    scroll-margin-top: 100px;
}
.pricing-page .pricing-features-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(92vw, 1120px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #ffd9a8, transparent);
}
.pricing-page #accordionFunzioniPrezzi {
    display: grid;
    gap: .7rem;
    margin-bottom: .75rem;
}
.pricing-page #accordionFunzioniPrezzi .accordion-item {
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(23, 32, 51, .055);
}
.pricing-page #accordionFunzioniPrezzi .accordion-button {
    min-height: 60px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
}
.pricing-page #accordionFunzioniPrezzi .accordion-button:not(.collapsed) {
    color: var(--gw-primary-dark);
    background: #fff9f1 !important;
    box-shadow: inset 4px 0 0 var(--gw-primary);
}
.pricing-page #accordionFunzioniPrezzi .accordion-button::before,
.pricing-page #accordionFaqPrezzi .accordion-button::before {
    content: none !important;
    display: none !important;
}
.pricing-page #accordionFunzioniPrezzi .accordion-button::after,
.pricing-page #accordionFaqPrezzi .accordion-button::after {
    content: "";
    display: block !important;
    width: 1.15rem;
    height: 1.15rem;
    margin-left: auto;
    flex: 0 0 1.15rem;
    border: 0;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d96d0b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 1rem !important;
    transform: rotate(0deg);
    transition: transform .22s ease;
}
.pricing-page #accordionFunzioniPrezzi .accordion-button:not(.collapsed)::after,
.pricing-page #accordionFaqPrezzi .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}
.pricing-page #accordionFunzioniPrezzi .accordion-body {
    padding: 0 1.25rem 1.25rem;
    line-height: 1.75;
}
.pricing-page #faq-prezzi {
    padding-bottom: 3.5rem;
}
.pricing-page #counter {
    padding-top: 2rem;
}
.pricing-page .features-comparison-wrap {
    position: relative;
    margin-top: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--gw-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23, 32, 51, .08);
}
.pricing-page .features-comparison-wrap > table {
    width: 100%;
    min-width: 880px;
    margin: 0 !important;
    color: var(--gw-ink);
    font-size: .9rem;
    line-height: 1.5;
    border: 0 !important;
}
.pricing-page .features-comparison-wrap > table td {
    padding: .8rem .75rem;
    vertical-align: middle;
    border-color: #e5eaf1 !important;
}
.pricing-page .features-comparison-wrap > table tr:first-child td {
    padding: .95rem 1rem;
    color: var(--gw-muted) !important;
    background: #f8fafc !important;
    font-size: .86rem;
}
.pricing-page .features-comparison-wrap > table tr:nth-child(2) td {
    position: sticky;
    top: 73px;
    z-index: 3;
    height: 64px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--gw-primary), var(--gw-primary-dark)) !important;
    border-color: rgba(255,255,255,.22) !important;
    text-align: center;
}
.pricing-page .features-comparison-wrap > table tr:nth-child(2) td:first-child {
    background: #263247 !important;
}
.pricing-page .features-comparison-wrap > table td:first-child {
    width: 52%;
    color: var(--gw-ink) !important;
    background: #fff !important;
}
.pricing-page .features-comparison-wrap > table td:not(:first-child) {
    text-align: center;
    background: #f8fafc !important;
}
.pricing-page .features-comparison-wrap > table tr:hover td { background: #fff8ed !important; }
.pricing-page .features-comparison-wrap > table tr:not(:first-child) > td[colspan="5"] {
    padding: .82rem 1rem;
    color: #9a4f06 !important;
    background: #fff0dc !important;
    border-top: 2px solid #f5bd72 !important;
    font-size: .82rem;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.pricing-page .features-comparison-wrap > table .uil-check { color: #1f9d68 !important; }

@media (max-width: 767.98px) {
    .pricing-page #prezzi .row.align-items-center > [class*="col-"] {
        display: block;
    }
    .pricing-page #prezzi .row.align-items-center > [class*="col-"]:nth-child(2) .pricing,
    .pricing-page #prezzi .row.align-items-center > [class*="col-"]:nth-child(2) .pricing:hover {
        transform: none;
    }
    .pricing-page #prezzi .pricing { height: auto; }
    .pricing-page #prezzi .pricing p { min-height: auto; }
    .pricing-page .features-comparison-wrap::after {
        content: "Scorri orizzontalmente per confrontare i pacchetti →";
        position: sticky;
        left: 0;
        display: block;
        width: 100%;
        padding: .7rem 1rem;
        color: var(--gw-muted);
        background: #fff;
        border-top: 1px solid var(--gw-line);
        font-size: .78rem;
        text-align: center;
    }
    .pricing-page .features-comparison-wrap > table { font-size: .82rem; }
    .pricing-page .features-comparison-wrap > table td { padding: .7rem .6rem; }
}

/* Articoli del blog */
.modern-site .seo-article {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 3.5rem);
    background: #fff;
    border: 1px solid var(--gw-line);
    border-radius: 22px;
    box-shadow: var(--gw-shadow);
}
.modern-site .seo-article > h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.1;
}
.modern-site .seo-article section { margin-top: 2.7rem; }
.modern-site .seo-article h2 { margin-bottom: 1rem; font-size: clamp(1.55rem, 2.5vw, 2.1rem); }
.modern-site .seo-article h3 { margin-top: 1.75rem; font-size: 1.3rem; }
.modern-site .seo-article .box,
.modern-site .seo-article .toc {
    padding: 1.2rem 1.35rem;
    background: var(--gw-warm);
    border: 1px solid #ffe0b7;
    border-radius: 14px;
}
.modern-site .seo-article .toc a { display: block; padding-top: .35rem; }
.modern-site .seo-article img { border-radius: 16px; }

/* Landing legacy software gestionale */
body.modern-site.legacy-software-page {
    padding-top: 78px;
    background: #fff;
}
.legacy-software-page .legacy-topbar {
    min-height: 78px;
    padding: .65rem 0;
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(23, 32, 51, .08);
    box-shadow: 0 10px 30px rgba(23, 32, 51, .07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.legacy-software-page .legacy-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.legacy-software-page .legacy-topbar img {
    height: 52px;
    border-radius: 11px;
}
.legacy-software-page .btn-danger {
    padding: .82rem 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, var(--gw-primary), var(--gw-primary-dark)) !important;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(217, 109, 11, .24);
}
.legacy-software-page .legacy-software-hero {
    position: relative;
    display: flex;
    min-height: 540px;
    height: auto !important;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center 34%;
    border: 0;
}
.legacy-software-page .legacy-software-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 43%, rgba(255,255,255,.18) 76%, rgba(255,255,255,.05) 100%);
}
.legacy-software-page .legacy-software-hero .container {
    position: relative;
    z-index: 1;
}
.legacy-software-page .legacy-software-hero .row {
    min-height: 460px;
    align-items: center;
}
.legacy-software-page .legacy-software-hero .row > .col-auto:first-of-type {
    max-width: 790px;
    padding: 2rem 2.25rem;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(23, 32, 51, .10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.legacy-software-page .legacy-software-hero .row > .col-auto:first-of-type > span {
    display: block;
}
.legacy-software-page .legacy-software-hero .h1,
.legacy-software-page .legacy-software-hero h1 {
    margin-bottom: .85rem;
    color: var(--gw-ink) !important;
    font-size: clamp(2.45rem, 4.25vw, 4.25rem) !important;
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.055em;
}
.legacy-software-page .legacy-software-hero .fs-3 {
    color: #475467 !important;
    font-size: clamp(1.1rem, 2vw, 1.45rem) !important;
    line-height: 1.45;
}
.legacy-software-page .legacy-software-hero .fs-5 {
    color: #475467 !important;
}
.legacy-software-page .legacy-software-hero h5 {
    color: #475467 !important;
}
.legacy-software-page .legacy-software-hero .text-danger {
    margin-top: .4rem;
    color: var(--gw-primary-dark) !important;
    font-weight: 750;
}
.legacy-software-page .legacy-software-hero .row > .col-auto:last-child {
    padding: .85rem;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--gw-line);
    border-radius: 18px;
    box-shadow: var(--gw-shadow);
}
.legacy-software-page .legacy-software-hero .row > .col-auto:last-child img {
    display: block;
    max-width: 150px;
    height: auto;
}
.legacy-software-page .legacy-social-proof {
    padding-top: 3.75rem;
    padding-bottom: 4rem;
}
.legacy-software-page .legacy-social-proof > .row:last-child {
    align-items: stretch;
}
.legacy-software-page .legacy-social-proof .dives p,
.legacy-software-page .legacy-social-proof .dives span {
    color: var(--gw-ink);
}
.legacy-software-page .legacy-social-proof .divesp {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--gw-line);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(23, 32, 51, .07);
}
.legacy-software-page .legacy-social-proof .divesp table {
    width: 100%;
}
.legacy-software-page .legacy-social-proof .img-circle {
    border: 3px solid #fff0dc;
    box-shadow: 0 0 0 1px #ffd09a;
}
.legacy-software-page .legacy-trial-section {
    padding: 4.5rem 0 5rem !important;
    background: linear-gradient(180deg, #fff8ef 0%, #f8fafc 54%, #fff 100%) !important;
}
.legacy-software-page .legacy-trial-card {
    max-width: 900px;
    margin: 0 auto 4.5rem;
    padding: 1.75rem clamp(.6rem, 3vw, 2rem);
    color: #fff;
    background: linear-gradient(135deg, #172033 0%, #303c50 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(23, 32, 51, .18);
}
.legacy-software-page .legacy-trial-card h1,
.legacy-software-page .legacy-trial-card h2,
.legacy-software-page .legacy-trial-card h5,
.legacy-software-page .legacy-trial-card h6,
.legacy-software-page .legacy-trial-card p {
    color: #fff;
}
.legacy-software-page .legacy-trial-card h1 {
    margin-bottom: .25rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
}
.legacy-software-page .legacy-trial-card hr {
    opacity: .14;
}
.legacy-software-page .legacy-trial-card .form-control,
.legacy-software-page .legacy-trial-card .form-select {
    min-height: 56px;
    padding: .85rem 1rem;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 13px;
    background: rgba(255,255,255,.97);
}
.legacy-software-page .legacy-trial-card .btn {
    min-height: 58px;
    font-size: 1.05rem;
}
.legacy-software-page .legacy-trial-card .h3nero {
    color: #d8dee9;
    font-size: .78rem;
    line-height: 1.55;
    text-align: center;
}
.legacy-software-page .legacy-trial-card .h3nero a { color: #ffd39a; }
.legacy-software-page .legacy-features-heading {
    margin-bottom: 2.25rem;
}
.legacy-software-page .legacy-features-heading span {
    color: var(--gw-primary-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.legacy-software-page .legacy-features-heading h2 {
    margin-top: .45rem;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 760;
}
.legacy-software-page .legacy-trial-section > .container > .row:not(.legacy-trial-card) > [class*="col-"] {
    display: flex;
    padding: .55rem;
}
.legacy-software-page .legacy-trial-section .divlnkl {
    display: flex;
    width: 100%;
    min-height: 105px;
    padding: 1.35rem 1.5rem !important;
    align-items: center;
    color: var(--gw-ink);
    background: #fff;
    border: 1px solid var(--gw-line);
    border-radius: 17px;
    box-shadow: 0 10px 30px rgba(23, 32, 51, .055);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.legacy-software-page .legacy-trial-section .divlnkl:hover {
    color: var(--gw-ink);
    background: #fff;
    border-color: #f2bd78;
    box-shadow: 0 18px 42px rgba(23, 32, 51, .10);
    transform: translateY(-4px);
}
.legacy-software-page .legacy-trial-section .divlnkl > i,
.legacy-software-page .legacy-trial-section .divlnkl > h3 > i {
    display: inline-grid;
    width: 54px;
    height: 54px;
    margin-right: 1rem;
    padding: 0 !important;
    place-items: center;
    flex: 0 0 54px;
    color: var(--gw-primary-dark);
    background: #fff0dc;
    border-radius: 14px;
    font-size: 1.65rem;
}
.legacy-software-page .legacy-trial-section .divlnkl .h3 {
    margin: 0;
    color: var(--gw-ink);
    font-size: 1.15rem;
    font-weight: 740;
}
.legacy-software-page .legacy-editorial {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}
.legacy-software-page .legacy-editorial > hr,
.legacy-software-page .legacy-editorial > .row:not(.legacy-article-card) {
    display: none;
}
.legacy-software-page .legacy-article-card {
    margin: 0 0 1.25rem;
    padding: 1.4rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--gw-line);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(23, 32, 51, .06);
}
.legacy-software-page .legacy-article-card hr { display: none; }
.legacy-software-page .legacy-article-card img {
    width: 100%;
    max-width: 305px;
    height: auto;
    border-radius: 14px;
}
.legacy-software-page .legacy-article-card h2 {
    margin-bottom: .8rem;
    font-size: clamp(1.5rem, 2.7vw, 2.15rem);
    font-style: normal !important;
}
.legacy-software-page .legacy-article-card a {
    color: var(--gw-primary-dark);
    font-weight: 700;
}
.legacy-software-page .legacy-footer {
    padding: 2rem 0 1rem;
    color: #d8dee9;
    background: #141c2b;
    border: 0;
}
.legacy-software-page .legacy-footer .scrittebot,
.legacy-software-page .legacy-footer .scrittebottp { color: #d8dee9; }
.legacy-software-page .legacy-footer a { color: #ffd39a; }
.legacy-software-page .legacy-footer img { margin: .2rem; }

/* Landing legacy nella cartella gestionale-in-cloud */
body.modern-site.cloud-folder-landing {
    padding-top: 78px;
    background: #fff;
}
.cloud-folder-landing > nav.navbar {
    min-height: 78px;
    padding: .65rem 0;
    background: rgba(255,255,255,.96) !important;
    border-bottom: 1px solid rgba(23,32,51,.08);
    box-shadow: 0 10px 30px rgba(23,32,51,.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.cloud-folder-landing > nav.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cloud-folder-landing > nav.navbar img {
    height: 52px;
    border-radius: 11px;
}
.cloud-folder-landing .btn-danger {
    padding: .82rem 1.15rem;
    color: #fff;
    background: linear-gradient(135deg,var(--gw-primary),var(--gw-primary-dark)) !important;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(217,109,11,.24);
}
.cloud-folder-landing main > .divcenter,
.cloud-folder-landing main > .divcenterl {
    position: relative;
    display: flex;
    min-height: 520px;
    height: auto !important;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center 34%;
    border: 0;
}
.cloud-folder-landing main > .divcenter::before,
.cloud-folder-landing main > .divcenterl::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.82) 46%,rgba(255,255,255,.12) 80%);
}
.cloud-folder-landing main > .divcenter > .container,
.cloud-folder-landing main > .divcenterl > .container {
    position: relative;
    z-index: 1;
}
.cloud-folder-landing main > .divcenter .row,
.cloud-folder-landing main > .divcenterl .row {
    min-height: 430px;
    align-items: center;
}
.cloud-folder-landing main > .divcenter h1,
.cloud-folder-landing main > .divcenterl h1,
.cloud-folder-landing main > .divcenterl .h1 {
    color: var(--gw-ink) !important;
    font-size: clamp(2.35rem,4.2vw,4.1rem) !important;
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.05em;
}
.cloud-folder-landing main > .divcenter .col-7,
.cloud-folder-landing main > .divcenterl .col-auto:first-of-type {
    padding: 1.8rem 2rem;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(23,32,51,.1);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}
.cloud-folder-landing main > .divcenterl .col-auto:first-of-type > span {
    display: block;
}
.cloud-folder-landing main > .divcenter h2,
.cloud-folder-landing main > .divcenter h5,
.cloud-folder-landing main > .divcenter h6,
.cloud-folder-landing main > .divcenterl .fs-3,
.cloud-folder-landing main > .divcenterl .fs-5,
.cloud-folder-landing main > .divcenterl h5 {
    color: #475467 !important;
}
.cloud-folder-landing main > .divcenter .text-danger,
.cloud-folder-landing main > .divcenterl .text-danger {
    color: var(--gw-primary-dark) !important;
    font-weight: 750;
}
.cloud-folder-landing .divesp {
    height: calc(100% - .5rem);
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--gw-line);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(23,32,51,.07);
}
.cloud-folder-landing .divesp table { width: 100%; }
.cloud-folder-landing .reveal,
.cloud-folder-landing .reveal.active {
    opacity: 1;
    transform: none;
}
.cloud-folder-landing .divesp .img-circle {
    border: 3px solid #fff0dc;
    box-shadow: 0 0 0 1px #ffd09a;
}
.cloud-folder-landing main > .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.cloud-folder-landing .container-fluid:has(.divlnk2),
.cloud-folder-landing .container-fluid:has(.divlnkl) {
    padding-top: 4rem !important;
    padding-bottom: 4.5rem !important;
    background: linear-gradient(180deg,#fff8ef 0%,#f8fafc 58%,#fff 100%) !important;
}
.cloud-folder-landing .container-fluid:has(.divlnk2) > .container > .row,
.cloud-folder-landing .container-fluid:has(.divlnkl) > .container > .row:not(.text-center) {
    align-items: stretch;
}
.cloud-folder-landing .container-fluid:has(.divlnk2) .col-md-6,
.cloud-folder-landing .container-fluid:has(.divlnkl) .col-md-6 {
    display: flex;
    padding: .5rem;
}
.cloud-folder-landing .divlnk2,
.cloud-folder-landing .divlnkl {
    width: 100%;
    min-height: 112px;
    padding: 1.25rem 1.4rem !important;
    color: var(--gw-ink);
    background: #fff;
    border: 1px solid var(--gw-line);
    border-radius: 17px;
    box-shadow: 0 10px 30px rgba(23,32,51,.055);
    transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.cloud-folder-landing .divlnkl {
    display: flex;
    align-items: center;
}
.cloud-folder-landing .divlnk2:hover,
.cloud-folder-landing .divlnkl:hover {
    color: var(--gw-ink);
    background: #fff;
    border-color: #f2bd78;
    box-shadow: 0 18px 42px rgba(23,32,51,.1);
    transform: translateY(-4px);
}
.cloud-folder-landing .divlnk2 h3,
.cloud-folder-landing .divlnkl .h3 {
    margin: 0;
    color: var(--gw-ink);
    font-size: 1.15rem;
    font-weight: 740;
}
.cloud-folder-landing .divlnk2 h6 {
    margin: .55rem 0 0;
    color: var(--gw-muted);
    font-size: .9rem;
    line-height: 1.55;
}
.cloud-folder-landing .divlnk2 img,
.cloud-folder-landing .divlnkl > i {
    max-width: 50px;
    max-height: 50px;
    margin-right: .8rem;
    object-fit: contain;
}
.cloud-folder-landing .divlnkl > i {
    display: inline-grid;
    width: 52px;
    height: 52px;
    padding: 0 !important;
    place-items: center;
    flex: 0 0 52px;
    color: var(--gw-primary-dark);
    background: #fff0dc;
    border-radius: 14px;
    font-size: 1.55rem;
}
.cloud-folder-landing .row.text-center:has(#txtragsoc) {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 1.75rem clamp(.6rem,3vw,2rem);
    color: #fff;
    background: linear-gradient(135deg,#172033,#303c50) !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(23,32,51,.18);
}
.cloud-folder-landing .row.text-center:has(#txtragsoc) h1,
.cloud-folder-landing .row.text-center:has(#txtragsoc) h2,
.cloud-folder-landing .row.text-center:has(#txtragsoc) h5,
.cloud-folder-landing .row.text-center:has(#txtragsoc) h6,
.cloud-folder-landing .row.text-center:has(#txtragsoc) p {
    color: #fff;
}
.cloud-folder-landing .row.text-center:has(#txtragsoc) .form-control,
.cloud-folder-landing .row.text-center:has(#txtragsoc) .form-select {
    min-height: 54px;
    padding: .8rem 1rem;
    background: rgba(255,255,255,.98);
    border-radius: 13px;
}
.cloud-folder-landing footer.divgrey {
    padding: 2rem 0 1rem;
    color: #d8dee9;
    background: #141c2b;
    border: 0;
}
.cloud-folder-landing footer.divgrey .scrittebot,
.cloud-folder-landing footer.divgrey .scrittebottp { color: #d8dee9; }
.cloud-folder-landing footer.divgrey a { color: #ffd39a; }

/* Ritocchi comuni alle pagine gia basate sul tema corrente */
.cloud-folder-page .features {
    border-color: rgba(247,150,28,.16);
}
.cloud-folder-page .footer {
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Footer */
.modern-site .footer.bg-black,
.modern-site .fixed-bottom.bg-black { background: #141c2b !important; }
.modern-site .footer .footer-head { color: #fff; }

@media (max-width: 991.98px) {
    .modern-home #home { min-height: auto; padding-top: 125px; padding-bottom: 90px; }
    .modern-home #home .heading { font-size: clamp(2.4rem, 8vw, 3.7rem) !important; }
    .modern-home #home .classic-saas-image { transform: none; }
    .modern-site:not(.modern-home) #home { min-height: 390px; padding-top: 125px; padding-bottom: 70px; }
    .gw-proof { margin-top: -32px; }
    .gw-proof__panel { grid-template-columns: repeat(2, 1fr); }
    .gw-proof__item:nth-child(2) { border-right: 0; }
    .gw-proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--gw-line); }
}

@media (max-width: 575.98px) {
    .modern-site .row { margin-right: 0; margin-left: 0; }
    .modern-site .table {
        width: 100%;
        table-layout: fixed;
        font-size: .82rem;
    }
    .modern-site .table th,
    .modern-site .table td { overflow-wrap: anywhere; }
    .modern-home #home { padding-top: 105px; padding-bottom: 62px; }
    .modern-home #home .heading { font-size: 2.35rem !important; }
    .modern-home #home .para-desc { font-size: 1rem; }
    .modern-site:not(.modern-home) #home { min-height: 340px; padding-top: 105px; padding-bottom: 55px; }
    .modern-site:not(.modern-home) #home .heading,
    .modern-site:not(.modern-home) #home h1 { font-size: 2.25rem !important; }
    .modern-site .seo-article { border-radius: 16px; }
    .gw-proof { margin-bottom: 26px; }
    .gw-proof__panel { grid-template-columns: 1fr; }
    .gw-proof__item { border-right: 0; border-bottom: 1px solid var(--gw-line); }
    .gw-proof__item:nth-child(3) { border-bottom: 1px solid var(--gw-line); }
    .gw-proof__item:last-child { border-bottom: 0; }
    body.modern-site.legacy-software-page { padding-top: 70px; }
    .legacy-software-page .legacy-topbar { min-height: 70px; padding: .5rem 0; }
    .legacy-software-page .legacy-topbar img { width: auto; height: 44px; }
    .legacy-software-page .legacy-topbar .btn { padding: .7rem .8rem; font-size: .78rem; }
    .legacy-software-page .legacy-software-hero {
        min-height: 430px;
        padding: 2.5rem 0;
        background-position: 58% center;
    }
    .legacy-software-page .legacy-software-hero::before {
        background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.72));
    }
    .legacy-software-page .legacy-software-hero .row { min-height: 350px; }
    .legacy-software-page .legacy-software-hero .row > .col-12 {
        padding: 1.4rem;
        background: rgba(255,255,255,.82);
        border: 1px solid rgba(255,255,255,.9);
        border-radius: 18px;
        box-shadow: 0 18px 46px rgba(23,32,51,.1);
    }
    .legacy-software-page .legacy-software-hero h1 { font-size: 2.1rem !important; }
    .legacy-software-page .legacy-social-proof { padding: 2.5rem .75rem 3rem; }
    .legacy-software-page .legacy-social-proof .divesp { margin-bottom: .85rem !important; }
    .legacy-software-page .legacy-trial-section { padding: 3rem 0 3.5rem !important; }
    .legacy-software-page .legacy-trial-card { margin-bottom: 3.5rem; border-radius: 18px; }
    .legacy-software-page .legacy-trial-section > .container > .row:not(.legacy-trial-card) > [class*="col-"] { padding: .4rem 0; }
    .legacy-software-page .legacy-trial-section .divlnkl { min-height: 90px; padding: 1.05rem !important; }
    .legacy-software-page .legacy-trial-section .divlnkl > i,
    .legacy-software-page .legacy-trial-section .divlnkl > h3 > i {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 1.35rem;
    }
    .legacy-software-page .legacy-editorial { padding: 3rem .75rem; }
    .legacy-software-page .legacy-article-card { padding: 1rem; }
    body.modern-site.cloud-folder-landing { padding-top: 70px; }
    .cloud-folder-landing > nav.navbar { min-height: 70px; padding: .5rem 0; }
    .cloud-folder-landing > nav.navbar img { width: auto; height: 44px; }
    .cloud-folder-landing > nav.navbar .btn { padding: .7rem .8rem; font-size: .78rem; }
    .cloud-folder-landing main > .divcenter,
    .cloud-folder-landing main > .divcenterl {
        min-height: 430px;
        padding: 2.5rem 0;
        background-position: 58% center;
    }
    .cloud-folder-landing main > .divcenter::before,
    .cloud-folder-landing main > .divcenterl::before {
        background: linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.72));
    }
    .cloud-folder-landing main > .divcenter .row,
    .cloud-folder-landing main > .divcenterl .row { min-height: 350px; }
    .cloud-folder-landing main > .divcenter .col-12,
    .cloud-folder-landing main > .divcenterl .col-12 {
        padding: 1.3rem;
        background: rgba(255,255,255,.82);
        border: 1px solid rgba(255,255,255,.9);
        border-radius: 18px;
        box-shadow: 0 18px 46px rgba(23,32,51,.1);
    }
    .cloud-folder-landing main > .divcenter h1,
    .cloud-folder-landing main > .divcenterl h1 { font-size: 2.05rem !important; }
    .cloud-folder-landing main > .container { padding: 2.5rem .75rem 3rem; }
    .cloud-folder-landing .divesp { height: auto; margin-bottom: .85rem !important; }
    .cloud-folder-landing .container-fluid:has(.divlnk2),
    .cloud-folder-landing .container-fluid:has(.divlnkl) { padding: 3rem .75rem 3.5rem !important; }
    .cloud-folder-landing .container-fluid:has(.divlnk2) .col-md-6,
    .cloud-folder-landing .container-fluid:has(.divlnkl) .col-md-6 { padding: .4rem 0; }
    .cloud-folder-landing .divlnk2,
    .cloud-folder-landing .divlnkl { min-height: 96px; padding: 1rem !important; }
    .cloud-folder-landing .row.text-center:has(#txtragsoc) {
        margin-bottom: 3rem;
        padding: 1.25rem .55rem;
        border-radius: 18px;
    }
}
