
/* ==========================================
   LongoStefano.it
   Stile generale del sito
   ========================================== */

:root {
    --ls-green: #2FAF7A;
    --ls-green-dark: #23885E;
    --ls-text: #263238;
    --ls-muted: #66757C;
    --ls-background: #FFFFFF;
    --ls-light: #F5F8F7;
    --ls-border: #E5EBE8;
}

/* Impostazioni generali */

html {
    font-size: 16px;
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ls-text);
    background-color: var(--ls-background);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--ls-green-dark);
}

    a:hover {
        color: var(--ls-green);
    }

/* Barra di navigazione */

.navbar {
    padding: 18px 0;
    background-color: #FFFFFF;
}

.navbar-brand {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--ls-text);
}

    .navbar-brand:hover {
        color: var(--ls-text);
    }

    .navbar-brand .text-success {
        color: var(--ls-green) !important;
    }

.navbar-nav {
    gap: 5px;
}

.navbar .nav-link {
    color: var(--ls-text);
    font-size: 0.94rem;
    font-weight: 500;
    padding: 8px 11px !important;
    transition: color 0.2s ease;
}

    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
        color: var(--ls-green-dark);
        background-color: #E8F7F0;
        border-radius: 7px;
    }

/* Pulsanti */

.btn-ls-primary {
    background-color: var(--ls-green);
    border: 1px solid var(--ls-green);
    color: #FFFFFF;
    padding: 11px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .btn-ls-primary:hover {
        background-color: var(--ls-green-dark);
        border-color: var(--ls-green-dark);
        color: #FFFFFF;
    }

/* Titoli */

h1, h2, h3, h4, h5, h6 {
    color: var(--ls-text);
    font-weight: 650;
    line-height: 1.25;
}

/* Footer */

footer {
    background-color: var(--ls-light);
    color: var(--ls-muted);
    font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 991.98px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar-nav {
        padding-top: 15px;
        gap: 0;
    }

    .navbar .nav-link {
        padding: 10px 0 !important;
    }
}

/* ==========================================
   HOME - HERO CON IMMAGINE ORIGINALE
   ========================================== */
.home-hero-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #061B31;
}

.hero-full-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Aree cliccabili sovrapposte ai pulsanti */

.hero-hotspot {
    position: absolute;
    display: block;
    z-index: 2;
    border-radius: 12px;
}

/* Pulsante Contattami */

.hero-hotspot-contact {
    left: 6.6%;
    top: 60.8%;
    width: 12.9%;
    height: 10.5%;
}

/* Pulsante Scopri i servizi */

.hero-hotspot-services {
    left: 20.7%;
    top: 60.8%;
    width: 13.5%;
    height: 10.5%;
}

/* Accessibilità tastiera */

.hero-hotspot:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

/* Smartphone */

@media (max-width: 575.98px) {
    .home-hero-image {
        overflow-x: auto;
    }

    .hero-full-image {
        min-width: 900px;
    }

    .hero-hotspot {
        display: none;
    }
}

/* ==========================================
   HOME - SERVIZI
   ========================================== */

.home-services {
    padding: 90px 0 100px;
    background-color: var(--ls-light);
}

.services-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-eyebrow {
    display: block;
    color: var(--ls-green-dark);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.services-heading h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    margin-bottom: 20px;
}

.services-heading p {
    font-size: 1.05rem;
    color: var(--ls-muted);
    line-height: 1.8;
}

/* Schede */

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 255px;
    padding: 32px;
    background-color: #FFFFFF;
    border: 1px solid var(--ls-border);
    border-radius: 16px;
    color: var(--ls-text);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.025);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        border-color: #A8DDC5;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
        color: var(--ls-text);
    }

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background-color: #E8F7F0;
    border-radius: 12px;
    color: var(--ls-green-dark);
    font-size: 1.65rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--ls-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-link {
    margin-top: auto;
    color: var(--ls-green-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 767.98px) {
    .home-services {
        padding: 65px 0;
    }

    .services-heading {
        margin-bottom: 35px;
    }

    .service-card {
        min-height: auto;
        padding: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }

        .service-card:hover {
            transform: none;
        }
}

/* ==========================================
   HOME - CHI SONO
   ========================================== */

.home-about {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.about-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 25px;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--ls-text);
    margin-bottom: 18px;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ls-muted);
    margin-bottom: 25px;
}

.about-quote {
    border-left: 4px solid var(--ls-green);
    padding: 12px 0 12px 22px;
    margin: 0 0 30px;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ls-text);
}

.about-button {
    padding: 13px 25px;
    border-radius: 8px;
    font-weight: 600;
}

/* Riquadro esperienza */

.about-experience {
    background-color: var(--ls-light);
    border: 1px solid var(--ls-border);
    border-radius: 20px;
    padding: 38px;
}

.experience-header {
    text-align: center;
}

    .experience-header > i {
        display: block;
        font-size: 2.4rem;
        color: var(--ls-green);
        margin-bottom: 10px;
    }

.experience-year {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ls-green-dark);
}

.experience-caption {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ls-text);
    margin-top: 10px;
}

.experience-divider {
    height: 1px;
    background-color: var(--ls-border);
    margin: 30px 0;
}

.experience-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 23px;
    font-size: 0.98rem;
    color: var(--ls-text);
}

    .experience-feature:last-child {
        margin-bottom: 0;
    }

    .experience-feature i {
        flex-shrink: 0;
        font-size: 1.45rem;
        color: var(--ls-green-dark);
    }

/* Responsive */

@media (max-width: 991.98px) {
    .home-about {
        padding: 75px 0;
    }
}

@media (max-width: 575.98px) {
    .home-about {
        padding: 60px 0;
    }

    .about-experience {
        padding: 28px;
    }

    .experience-year {
        font-size: 3rem;
    }
}

/* ==========================================
   HOME - SERVIZI: COLORI WINDOWS VIVACI
   ========================================== */

/* 1. Rosso - Assistenza informatica */
.home-services .row > div:nth-child(1) .service-card {
    background-color: #F25F55;
    --service-text: #102C46;
}

/* 2. Verde - Siti web */
.home-services .row > div:nth-child(2) .service-card {
    background-color: #73B83D;
    --service-text: #102C46;
}

/* 3. Blu - Scuole e uffici */
.home-services .row > div:nth-child(3) .service-card {
    background-color: #278BD2;
    --service-text: #102C46;
}

/* 4. Giallo - Infrastrutture e reti */
.home-services .row > div:nth-child(4) .service-card {
    background-color: #FFF000;
    --service-text: #102C46;
}

/* Testi coordinati */
.home-services .service-card,
.home-services .service-card:hover,
.home-services .service-card h3,
.home-services .service-card p,
.home-services .service-link {
    color: var(--service-text);
}

/* Icone */
.home-services .service-icon {
    background-color: rgba(255, 255, 255, 0.22);
    color: var(--service-text);
}

/* Effetto hover */
.home-services .service-card:hover {
    transform: translateY(-5px);
    filter: brightness(0.96);
    border-color: transparent;
}



/* ==========================================
   HOME - ALLINEAMENTO MARGINI
   ========================================== */

.home-services > .container,
.home-about > .container,
.home-showcase > .container
.home-tips > .container {
    width: 94%;
    max-width: 1800px;
}

/* Tablet */
@media (max-width: 991.98px) {
    .home-services > .container,
    .home-about > .container,
    .home-showcase > .container {
        width: 92%;
    }
}

/* Smartphone */
@media (max-width: 575.98px) {
    .home-services > .container,
    .home-about > .container,
    .home-showcase > .container {
        width: 92%;
    }
}


/* ==========================================
   HOME - REALIZZAZIONI E OFFERTE
   ========================================== */

.home-showcase {
    padding: 90px 0;
    background-color: var(--ls-light);
}

.showcase-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 340px;
    padding: 42px;
    background-color: #FFFFFF;
    border: 1px solid var(--ls-border);
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .showcase-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
    }

.showcase-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    background-color: #E8F7F0;
    color: var(--ls-green-dark);
    border-radius: 14px;
    font-size: 1.7rem;
}

.showcase-card h2 {
    font-size: 1.65rem;
    margin-bottom: 18px;
}

.showcase-card p {
    color: var(--ls-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.showcase-button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 22px;
    background-color: var(--ls-green);
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .showcase-button:hover {
        background-color: var(--ls-green-dark);
        color: #FFFFFF;
    }

/* Offerta */

.showcase-offer .showcase-icon {
    background-color: #FFF3CF;
    color: #A66A00;
}

.showcase-offer-placeholder {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 25px;
    padding: 10px 16px;
    background-color: #FFF8E5;
    color: #946200;
    border-radius: 8px;
    font-weight: 600;
}

.showcase-offer .showcase-button {
    background-color: #102C46;
}

    .showcase-offer .showcase-button:hover {
        background-color: #1B466B;
    }

/* Responsive */

@media (max-width: 767.98px) {

    .home-showcase {
        padding: 65px 0;
    }

    .showcase-card {
        min-height: auto;
        padding: 30px;
    }

    /* Mantiene visibile la scheda Offerta del momento */
    .showcase-offer-link {
        display: block;
        min-height: 280px;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-card,
    .showcase-button {
        transition: none;
    }

        .showcase-card:hover {
            transform: none;
        }
}



/* ==========================================
   HOME - FASCIA SHADI
   ========================================== */

.home-shadi {
    width: 100%;
    padding: 70px 3%;
    background-color: #2FAF7A;
}

.shadi-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: 0;
    width: 100%;
}
.shadi-content-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-right: 50px;
    min-width: 0;
}

.shadi-image-area {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.shadi-notebook {
    display: block;
    width: 100%;
    max-width: 850px;
    height: auto;
}

/* SINISTRA */

.shadi-logo-area {
    text-align: left;
}

.shadi-title {
    margin: 0 0 12px;
    color: #FFFFFF;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 3px;
}

.shadi-eyebrow {
    display: block;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* CENTRO */

.shadi-action {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.shadi-text-area {
    text-align: left;
}

.shadi-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    background-color: #FFFFFF;
    color: #23885E;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .shadi-button:hover {
        background-color: #E8F7F0;
        color: #176B49;
        transform: translateY(-2px);
    }

/* DESTRA */

.shadi-subtitle {
    margin-bottom: 18px;
    color: #FFFFFF;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 600;
}

.shadi-description {
    margin: 0;
    color: #FFFFFF;
    font-size: 1rem;
    line-height: 1.8;
}

/* TABLET E SMARTPHONE */

@media (max-width: 991.98px) {

    .shadi-layout {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }

    .shadi-content-area {
        align-items: center;
        text-align: center;
        padding-right: 0;
    }

    .shadi-logo-area,
    .shadi-text-area {
        text-align: center;
    }

    .shadi-action {
        justify-content: center;
    }

    .home-shadi {
        padding: 60px 5%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shadi-button {
        transition: none;
    }

        .shadi-button:hover {
            transform: none;
        }
}

/* ==========================================
   HOME - TIPS & TRICKS
   ========================================== */

.home-tips {
    padding: 95px 0 100px;
    background-color: #FFFFFF;
}

.tips-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

    .tips-heading h2 {
        font-size: clamp(2rem, 3vw, 2.7rem);
        margin-bottom: 20px;
    }

    .tips-heading p {
        color: var(--ls-muted);
        font-size: 1.05rem;
        line-height: 1.8;
    }

/* Schede */

.tip-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 340px;
    padding: 32px;
    background-color: #F5F8F7;
    border: 1px solid var(--ls-border);
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .tip-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
    }

.tip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    background-color: #E8F7F0;
    color: var(--ls-green-dark);
    border-radius: 12px;
    font-size: 1.65rem;
}

.tip-category {
    display: block;
    margin-bottom: 12px;
    color: var(--ls-green-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.tip-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tip-card p {
    margin-bottom: 24px;
    color: var(--ls-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.tip-link {
    margin-top: auto;
    color: var(--ls-green-dark);
    font-weight: 600;
    text-decoration: none;
}

    .tip-link:hover {
        color: #176B49;
        text-decoration: underline;
    }

/* Pulsante finale */

.tips-footer {
    margin-top: 45px;
    text-align: center;
}

    .tips-footer .btn {
        padding: 13px 28px;
        border-radius: 8px;
        font-weight: 600;
    }

/* Responsive */

@media (max-width: 767.98px) {
    .home-tips {
        padding: 65px 0;
    }

    .tips-heading {
        margin-bottom: 35px;
    }

    .tip-card {
        min-height: auto;
        padding: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tip-card {
        transition: none;
    }

        .tip-card:hover {
            transform: none;
        }
}

/* ==========================================
   HOME - CONTATTI
   ========================================== */

.home-contact {
    width: 100%;
    padding: 90px 0 100px;
    background-color: #102C46;
}

    .home-contact > .container {
        width: 94%;
        max-width: 1800px;
    }

.contact-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

    .contact-heading h2 {
        margin-bottom: 20px;
        color: #FFFFFF;
        font-size: clamp(2rem, 3vw, 2.7rem);
    }

    .contact-heading p {
        color: #D5E1E9;
        font-size: 1.05rem;
        line-height: 1.8;
    }

/* Schede */

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 310px;
    padding: 35px 28px;
    background-color: #FFFFFF;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
    }

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-bottom: 22px;
    background-color: #E8F7F0;
    color: var(--ls-green-dark);
    border-radius: 15px;
    font-size: 1.9rem;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #102C46;
    font-size: 1.4rem;
}

.contact-card p {
    margin-bottom: 25px;
    color: var(--ls-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.contact-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 13px 25px;
    background-color: var(--ls-green);
    color: #FFFFFF;
    border-radius: 9px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .contact-card-button:hover {
        background-color: var(--ls-green-dark);
        color: #FFFFFF;
    }

/* Responsive */

@media (max-width: 991.98px) {
    .home-contact {
        padding: 70px 0;
    }

        .home-contact > .container {
            width: 92%;
        }

    .contact-card {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-card-button {
        transition: none;
    }

        .contact-card:hover {
            transform: none;
        }
}


/* ==========================================
   NAVBAR HOME - SOVRAPPOSTA ALLA HERO
   ========================================== */

.home-page header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

    .home-page header .navbar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-top: 20px;
        padding-bottom: 12px;
    }

.home-page .navbar-inner {
    width: 94%;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.home-page .navbar-brand {
    color: #FFFFFF !important;
    margin-right: 45px;
    white-space: nowrap;
}

.home-page .navbar-nav {
    gap: 6px;
}

    .home-page .navbar-nav .nav-link {
        color: #FFFFFF !important;
        font-size: 0.92rem;
        white-space: nowrap;
        padding: 8px 10px;
    }

        .home-page .navbar-nav .nav-link:hover,
        .home-page .navbar-nav .nav-link:focus {
            color: #2FAF7A !important;
        }


/* ==========================================
   NAVBAR HOME - RESPONSIVE
   ========================================== */

@media (max-width: 1199.98px) {

    /* Il menu torna nel normale flusso della pagina */
    .home-page header {
        position: relative;
        width: 100%;
        background-color: #061B31;
    }

        .home-page header .navbar {
            background-color: #061B31 !important;
            padding: 12px 0;
        }

    .home-page .navbar-inner {
        width: 94%;
        flex-wrap: wrap;
    }

    /* Menu espanso */
    .home-page .navbar-collapse {
        background-color: #061B31;
        padding: 15px 0;
    }

    /* Pulsante hamburger */
    .home-page .navbar-toggler {
        margin-left: auto;
        border-color: rgba(255,255,255,0.5);
    }

    .home-page .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }
}

/* ==========================================
   MENU RESPONSIVE - LEGGIBILITÀ
   ========================================== */

@media (max-width: 1199.98px) {

    .home-page header {
        position: relative !important;
        background-color: #061B31 !important;
    }

        .home-page header .navbar {
            background: #061B31 !important;
        }

    .home-page .navbar-collapse {
        background: #061B31 !important;
        padding: 15px 18px;
        margin-top: 10px;
        border-radius: 10px;
    }

    .home-page .navbar-nav .nav-link {
        color: #FFFFFF !important;
        padding: 10px 12px;
    }

        .home-page .navbar-nav .nav-link:hover,
        .home-page .navbar-nav .nav-link:focus {
            color: #2FAF7A !important;
            background-color: rgba(255, 255, 255, 0.08);
        }
}



/* ==========================================
   HOME - MENU RESPONSIVE
   ========================================== */

/* Desktop ampio: menu orizzontale */
@media (min-width: 1600px) {

    .home-page .navbar-expand-xl .navbar-collapse {
        display: flex !important;
    }

    .home-page .navbar-expand-xl .navbar-toggler {
        display: none !important;
    }
}

/* Finestre intermedie: menu hamburger */
@media (min-width: 1200px) and (max-width: 1599.98px) {

    .home-page .navbar-expand-xl .navbar-toggler {
        display: block !important;
        margin-left: auto;
        border-color: rgba(255, 255, 255, 0.5);
    }

    .home-page .navbar-expand-xl .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .home-page .navbar-expand-xl .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        width: 100%;
    }

        .home-page .navbar-expand-xl .navbar-collapse.show {
            display: block !important;
        }

        .home-page .navbar-expand-xl .navbar-collapse.collapsing {
            display: block !important;
            overflow: hidden;
        }

    .home-page .navbar-expand-xl .navbar-nav {
        flex-direction: column;
    }

    .home-page .navbar-inner {
        flex-wrap: wrap;
    }

    .home-page .navbar-collapse {
        background-color: #061B31 !important;
        padding: 15px;
        margin-top: 12px;
        border-radius: 10px;
    }
}

/* ==========================================
   HOME - PULSANTE MENU HAMBURGER
   ========================================== */

@media (max-width: 1599.98px) {

    .home-page .navbar .navbar-toggler {
        background-color: #2FAF7A !important;
        border: 2px solid #FFFFFF !important;
        border-radius: 10px;
        padding: 10px 13px;
        margin-left: auto;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    }

    .home-page .navbar .navbar-toggler-icon {
        filter: brightness(0) invert(1);
        width: 26px;
        height: 26px;
    }

    .home-page .navbar .navbar-toggler:hover {
        background-color: #23885E !important;
    }

    .home-page .navbar .navbar-toggler:focus-visible {
        outline: 3px solid #FFFFFF;
        outline-offset: 3px;
    }
}

/* ==========================================
   HAMBURGER - TRE LINEE BIANCHE
   ========================================== */

@media (max-width: 1599.98px) {

    .home-page .navbar .navbar-toggler-icon {
        display: block;
        width: 26px;
        height: 22px;
        background-image: linear-gradient( to bottom, #FFFFFF 0px, #FFFFFF 3px, transparent 3px, transparent 9px, #FFFFFF 9px, #FFFFFF 12px, transparent 12px, transparent 19px, #FFFFFF 19px, #FFFFFF 22px ) !important;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        filter: none !important;
    }
}

/* ==========================================
   PULSANTE TORNA SU
   ========================================== */

#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2FAF7A;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

    #backToTop.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #backToTop:hover {
        background-color: #23885E;
    }

    #backToTop:focus-visible {
        outline: 3px solid #102C46;
        outline-offset: 3px;
    }

@media (max-width: 575.98px) {
    #backToTop {
        right: 15px;
        bottom: 15px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================
   FOOTER - COLLEGAMENTO FACEBOOK
   ========================================== */

.footer-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #FFFFFF;
    background-color: #1877F2;
    border-radius: 10px;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

    .footer-facebook:hover {
        background-color: #1259B2;
        color: #FFFFFF;
        transform: translateY(-2px);
    }

    .footer-facebook:focus-visible {
        outline: 3px solid #2FAF7A;
        outline-offset: 3px;
    }

/* ==========================================
   FOOTER LONGOSTEFANO.IT
   ========================================== */

.site-footer {
    background-color: #102C46;
    color: #FFFFFF;
    padding: 22px 0;
}

.footer-inner {
    width: 94%;
    max-width: 1800px;
    margin: 0 auto;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Versione smartphone */

@media (max-width: 575.98px) {
    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
}

/* ==========================================
   FOOTER - RIFINITURE
   ========================================== */

.site-footer {
    background-color: #061B31;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* Spostamento icona Facebook verso sinistra */
.footer-facebook {
    margin-right: 65px;
}

/* Smartphone */
@media (max-width: 575.98px) {
    .footer-facebook {
        margin-right: 0;
    }
}

/* ==========================================
   CHI SONO - LOGHI SISTEMI OPERATIVI
   ========================================== */

.home-systems-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

    .home-systems-logos img {
        width: 42px;
        height: 42px;
        object-fit: contain;
        transition: transform 0.25s ease;
    }

        .home-systems-logos img:hover {
            transform: scale(1.15);
        }

@media (max-width: 575.98px) {
    .home-systems-logos {
        gap: 10px;
    }

        .home-systems-logos img {
            width: 36px;
            height: 36px;
        }
}

/* CHI SONO - CORREZIONE DIMENSIONE UBUNTU */

.home-systems-logos img[alt="Ubuntu"] {
    transform: scale(1.35);
}

    .home-systems-logos img[alt="Ubuntu"]:hover {
        transform: scale(1.5);
    }

/* ==========================================
   HOME HERO - RESPONSIVE
   ========================================== */

/* Desktop e finestre intermedie */
@media (min-width: 768px) and (max-width: 1599.98px) {

    .home-hero-image {
        overflow: hidden;
    }

    .hero-full-image {
        width: 1600px;
        max-width: none;
        height: auto;
    }
}

/* ==========================================
   HOME - NUOVA HERO RESPONSIVE
   ========================================== */

.home-hero {
    position: relative;
    width: 100%;
    min-height: 710px;
    display: flex;
    align-items: center;
    background-color: #061B31;
    background-image: url('/images/hero-background.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}


.home-hero-content {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: none;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
    transform: none;
}

/* TITOLO */

.home-hero-title {
    max-width: 850px;
    margin: 0 0 25px;
    color: #FFFFFF;
    font-size: clamp(2.2rem, 3.2vw, 4rem);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -0.025em;
}

    .home-hero-title span {
        display: block;
        color: #35D99B;
    }

/* DESCRIZIONE */

.home-hero-description {
    max-width: 610px;
    margin-bottom: 35px;
    color: #FFFFFF;
    font-size: clamp(1.05rem, 1.4vw, 1.55rem);
    line-height: 1.5;
}

/* PULSANTI */

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.home-hero-btn {
    min-height: 62px;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.home-hero-btn-primary {
    background-color: #35D99B;
    color: #061B31;
    border: 2px solid #35D99B;
}

    .home-hero-btn-primary:hover {
        background-color: #2FAF7A;
        border-color: #2FAF7A;
        color: #061B31;
        transform: translateY(-2px);
    }

.home-hero-btn-outline {
    background-color: rgba(6, 27, 49, 0.25);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

    .home-hero-btn-outline:hover {
        background-color: rgba(255, 255, 255, 0.15);
        color: #FFFFFF;
        transform: translateY(-2px);
    }

.home-hero-btn:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 4px;
}

/* FINESTRE INTERMEDIE */

@media (min-width: 768px) and (max-width: 1599.98px) {

    .home-hero {
        min-height: 650px;
        background-position: 58% center;
    }

    .home-hero-content {
        padding-top: 110px;
    }

    .home-hero-title {
        max-width: 680px;
    }
}

/* SMARTPHONE */

@media (max-width: 767.98px) {

    .home-hero {
        min-height: 620px;
        background-position: 62% center;
        align-items: center;
    }

        .home-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient( 90deg, rgba(6, 27, 49, 0.94), rgba(6, 27, 49, 0.65) );
        }

    .home-hero-content {
        width: 90%;
        padding: 70px 0;
    }

    .home-hero-title {
        font-size: clamp(2rem, 7vw, 2.7rem);
        line-height: 1.15;
    }

    .home-hero-description {
        font-size: 1.05rem;
    }

    .home-hero-actions {
        gap: 12px;
    }

    .home-hero-btn {
        min-height: 54px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero-content {
        transform: none;
        margin: 0 auto;
    }
}

/* HERO - PUNTI DI FORZA */

.home-hero {
    padding-bottom: 110px;
}

.home-hero-features {
    position: absolute;
    z-index: 2;
    bottom: 35px;
    left: 3%;
    right: 3%;
    display: flex;
    align-items: center;
    gap: 55px;
}

.home-hero-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #FFFFFF;
}

    .home-hero-feature i {
        font-size: 2rem;
        color: #35D99B;
        flex-shrink: 0;
    }

    .home-hero-feature strong,
    .home-hero-feature span {
        display: block;
    }

    .home-hero-feature strong {
        font-size: 1rem;
        font-weight: 700;
    }

    .home-hero-feature span {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
    }

@media (max-width: 991.98px) {
    .home-hero {
        padding-bottom: 0;
    }

    .home-hero-features {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 94%;
        margin: 0 auto 30px;
        flex-wrap: wrap;
        gap: 24px 35px;
    }

    .home-hero {
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .home-hero-features {
        width: 90%;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}

/* HERO - SEPARATORI TRA I PUNTI DI FORZA */

@media (min-width: 992px) {

    .home-hero-feature:not(:last-child) {
        position: relative;
        padding-right: 35px;
    }

        .home-hero-feature:not(:last-child)::after {
            content: "";
            position: absolute;
            right: -13px;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 42px;
            background-color: rgba(255, 255, 255, 0.45);
        }
}
/* ==========================================
   NAVBAR - PAGINE INTERNE
   ========================================== */

/* Aspetto generale */

body:not(.home-page) .navbar {
    background-color: #061B31;
    padding: 18px 0;
}

body:not(.home-page) .navbar-inner {
    width: 94%;
    margin: 0 auto;
    flex-wrap: wrap;
}

body:not(.home-page) .navbar-brand,
body:not(.home-page) .navbar-brand:hover {
    color: #FFFFFF;
    white-space: nowrap;
}

body:not(.home-page) .navbar .nav-link {
    color: #FFFFFF;
}

    body:not(.home-page) .navbar .nav-link:hover,
    body:not(.home-page) .navbar .nav-link:focus {
        color: #2FAF7A;
        background-color: rgba(255, 255, 255, 0.08);
        border-radius: 7px;
    }

/* Menu orizzontale solo da 1600px */

@media (min-width: 1600px) {

    body:not(.home-page) .navbar-expand-xl .navbar-collapse {
        display: flex !important;
    }

    body:not(.home-page) .navbar-expand-xl .navbar-toggler {
        display: none !important;
    }
}

/* Hamburger fino a 1599px */

@media (max-width: 1599.98px) {

    body:not(.home-page) .navbar-expand-xl .navbar-toggler {
        display: block !important;
        margin-left: auto;
        background-color: #2FAF7A;
        border: 2px solid #FFFFFF;
        border-radius: 10px;
        padding: 10px 13px;
    }

    body:not(.home-page) .navbar-expand-xl .navbar-toggler-icon {
        display: block;
        width: 26px;
        height: 22px;
        background-image: linear-gradient( to bottom, #FFFFFF 0px, #FFFFFF 3px, transparent 3px, transparent 9px, #FFFFFF 9px, #FFFFFF 12px, transparent 12px, transparent 19px, #FFFFFF 19px, #FFFFFF 22px ) !important;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }

    body:not(.home-page) .navbar-expand-xl .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        width: 100%;
        background-color: #061B31;
        padding: 15px 18px;
        margin-top: 10px;
        border-radius: 10px;
    }

        body:not(.home-page) .navbar-expand-xl .navbar-collapse.show,
        body:not(.home-page) .navbar-expand-xl .navbar-collapse.collapsing {
            display: block !important;
        }

    body:not(.home-page) .navbar-expand-xl .navbar-nav {
        flex-direction: column;
    }
}
/* ==========================================
   CHI SONO - INTRODUZIONE
   ========================================== */

.chi-sono-intro {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.chi-sono-container {
    width: 94%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
}

/* Titolo */

.chi-sono-title {
    margin-bottom: 35px;
    color: #102C46;
    font-size: clamp(2.1rem, 3.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
}

    .chi-sono-title span {
        display: block;
        color: #2FAF7A;
    }

/* Testo */

.chi-sono-text p {
    margin-bottom: 22px;
    color: #263238;
    font-size: 1.05rem;
    line-height: 1.85;
}

    .chi-sono-text p:last-child {
        margin-bottom: 0;
    }

/* Immagine */

.chi-sono-figure {
    margin: 0;
    padding: 14px;
    background-color: #F5F8F7;
    border: 1px solid #E5EBE8;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(6, 27, 49, 0.07);
}

.chi-sono-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.chi-sono-caption {
    padding: 18px 5px 5px;
    color: #66757C;
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
}

/* Tablet */

@media (max-width: 991.98px) {

    .chi-sono-intro {
        padding: 70px 0;
    }

    .chi-sono-container {
        width: 92%;
    }
}

/* Smartphone */

@media (max-width: 575.98px) {

    .chi-sono-intro {
        padding: 55px 0;
    }

    .chi-sono-title {
        font-size: 2rem;
    }

    .chi-sono-text p {
        font-size: 1rem;
    }

    .chi-sono-figure {
        padding: 10px;
    }
}
/* ==========================================
   CHI SONO - ESPERIENZA
   ========================================== */

.chi-sono-experience {
    padding: 100px 0;
    background-color: #F5F8F7;
}

/* Frase conclusiva */

.chi-sono-experience-conclusion {
    font-weight: 700;
    color: #102C46 !important;
}

/* Responsive tablet */

@media (max-width: 991.98px) {

    .chi-sono-experience {
        padding: 70px 0;
    }
}

/* Responsive smartphone */

@media (max-width: 575.98px) {

    .chi-sono-experience {
        padding: 55px 0;
    }
}
/* CHI SONO - FRASE CONCLUSIVA INTRODUZIONE */

.chi-sono-intro-conclusion {
    font-weight: 700;
    color: #102C46 !important;
}
/* ==========================================
   CHI SONO - SEPARATORE EVOLUZIONE
   ========================================== */

.chi-sono-evolution {
    width: 100%;
    padding: 45px 0;
    background-color: #FFFFFF;
}

.chi-sono-evolution-container {
    width: 94%;
    max-width: 1800px;
    margin: 0 auto;
}

.chi-sono-evolution-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Tablet */

@media (max-width: 991.98px) {

    .chi-sono-evolution {
        padding: 35px 0;
    }

    .chi-sono-evolution-container {
        width: 92%;
    }
}

/* Smartphone */

@media (max-width: 575.98px) {

    .chi-sono-evolution {
        padding: 25px 0;
    }

    .chi-sono-evolution-image {
        border-radius: 8px;
    }
}
/* ==========================================
   CHI SONO - IL MIO APPROCCIO
   ========================================== */

.chi-sono-approach {
    width: 100%;
    padding: 80px 0 100px;
    background-color: #FFFFFF;
}

/* Frase conclusiva */

.chi-sono-approach-conclusion {
    font-weight: 700;
    color: #102C46 !important;
}

/* Tablet */

@media (max-width: 991.98px) {

    .chi-sono-approach {
        padding: 65px 0 70px;
    }
}

/* Smartphone */

@media (max-width: 575.98px) {

    .chi-sono-approach {
        padding: 50px 0 55px;
    }
}
/* ==========================================
   CHI SONO - A CHI MI RIVOLGO
   ========================================== */

.chi-sono-audience {
    width: 100%;
    padding: 100px 0;
    background-color: #F5F8F7;
    text-align: right;
}

/* Frase conclusiva */

.chi-sono-audience-conclusion {
    font-weight: 700;
    color: #102C46 !important;
}

/* Tablet */

@media (max-width: 991.98px) {

    .chi-sono-audience {
        padding: 70px 0;
    }
}

/* Smartphone */

@media (max-width: 575.98px) {

    .chi-sono-audience {
        padding: 55px 0;
    }
}
/* ==========================================
   CHI SONO - SEPARATORE POSTAZIONE
   ========================================== */

.chi-sono-workspace {
    width: 100%;
    padding: 65px 0;
    background-color: #FFFFFF;
}

.chi-sono-workspace-container {
    width: 92%;
    max-width: 1150px;
    margin: 0 auto;
}

.chi-sono-workspace-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Tablet */

@media (max-width: 991.98px) {

    .chi-sono-workspace {
        padding: 45px 0;
    }
}

/* Smartphone */

@media (max-width: 575.98px) {

    .chi-sono-workspace {
        padding: 30px 0;
    }

    .chi-sono-workspace-image {
        border-radius: 8px;
    }
}
/* ==========================================
   CHI SONO - CALL TO ACTION
   ========================================== */

.chi-sono-cta {
    width: 100%;
    padding: 100px 0;
    background-color: #102C46;
    text-align: center;
}

.chi-sono-cta-title {
    margin-bottom: 30px;
    color: #FFFFFF;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
}

    .chi-sono-cta-title span {
        display: block;
        color: #35D99B;
    }

.chi-sono-cta-text {
    margin-bottom: 18px;
    color: #E5EBF0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.chi-sono-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 16px 32px;
    background-color: #2FAF7A;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .chi-sono-cta-button:hover {
        background-color: #35D99B;
        color: #061B31;
        transform: translateY(-3px);
    }

/* Tablet */

@media (max-width: 991.98px) {

    .chi-sono-cta {
        padding: 75px 0;
    }
}

/* Smartphone */

@media (max-width: 575.98px) {

    .chi-sono-cta {
        padding: 60px 0;
    }

    .chi-sono-cta-title {
        font-size: 2rem;
    }

    .chi-sono-cta-text {
        font-size: 1rem;
    }

    .chi-sono-cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
/* ==========================================
   PAGINA SERVIZI - INTRODUZIONE
   ========================================== */

.servizi-intro {
    width: 100%;
    padding: 100px 0;
    background-color: #FFFFFF;
}

.servizi-container {
    width: 94%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
}

.servizi-title {
    margin-bottom: 35px;
    color: #102C46;
    font-size: clamp(2.1rem, 3.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
}

    .servizi-title span {
        display: block;
        color: #2FAF7A;
    }

.servizi-text p {
    margin-bottom: 22px;
    color: #263238;
    font-size: 1.05rem;
    line-height: 1.85;
}

    .servizi-text p:last-child {
        margin-bottom: 0;
    }

.servizi-intro-conclusion {
    font-weight: 700;
    color: #102C46 !important;
}

/* Tablet */

@media (max-width: 991.98px) {

    .servizi-intro {
        padding: 70px 0;
    }

    .servizi-container {
        width: 92%;
    }
}

/* Smartphone */

@media (max-width: 575.98px) {

    .servizi-intro {
        padding: 55px 0;
    }

    .servizi-title {
        font-size: 2rem;
    }

    .servizi-text p {
        font-size: 1rem;
    }
}
/* ==========================================
   SERVIZI - SEZIONI DI APPROFONDIMENTO
   ========================================== */

.servizi-detail {
    width: 100%;
    padding: 100px 0;
    scroll-margin-top: 100px;
}

/* Sfondo assistenza */

.servizi-assistenza {
    background-color: #F5F8F7;
}

/* Titolo */

.servizi-detail-title {
    margin-bottom: 35px;
    color: #102C46;
    font-size: clamp(2.1rem, 3.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
}

    .servizi-detail-title span {
        display: block;
        color: #2FAF7A;
    }

/* Paragrafi */

.servizi-detail-text p {
    margin-bottom: 22px;
    color: #263238;
    font-size: 1.05rem;
    line-height: 1.85;
}

/* Elenco prestazioni */

.servizi-detail-list {
    margin: 35px 0;
}

    .servizi-detail-list h3 {
        margin-bottom: 20px;
        color: #102C46;
        font-size: 1.25rem;
        font-weight: 700;
    }

    .servizi-detail-list ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .servizi-detail-list li {
        position: relative;
        margin-bottom: 14px;
        padding-left: 30px;
        color: #263238;
        font-size: 1.02rem;
        line-height: 1.6;
    }

        .servizi-detail-list li:last-child {
            margin-bottom: 0;
        }

        /* Le nostre spunte verdi */

        .servizi-detail-list li::before {
            content: "✓";
            position: absolute;
            top: 0;
            left: 0;
            color: #2FAF7A;
            font-size: 1.2rem;
            font-weight: 700;
        }

/* Frase conclusiva */

.servizi-detail-text p.servizi-detail-conclusion {
    margin-bottom: 0;
    color: #102C46;
    font-weight: 700;
}

/* Fotografia */

.servizi-detail-figure {
    margin: 0;
    padding: 14px;
    background-color: #FFFFFF;
    border: 1px solid #E5EBE8;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(6, 27, 49, 0.07);
}

.servizi-detail-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991.98px) {

    .servizi-detail {
        padding: 70px 0;
        scroll-margin-top: 80px;
    }
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 575.98px) {

    .servizi-detail {
        padding: 55px 0;
    }

    .servizi-detail-title {
        font-size: 2rem;
    }

    .servizi-detail-text p {
        font-size: 1rem;
    }

    .servizi-detail-list li {
        font-size: 1rem;
    }

    .servizi-detail-figure {
        padding: 10px;
    }
}
/* ==========================================
   SERVIZI - RETI E INFRASTRUTTURE
   ========================================== */

.servizi-reti {
    background-color: #FFFFFF;
}
/* ==========================================
   SERVIZI - CYBERSECURITY
   ========================================== */

.servizi-cybersecurity {
    background-color: #F5F8F7;
}
/* ==========================================
   SERVIZI - SITI WEB E SOLUZIONI DIGITALI
   ========================================== */

.servizi-web {
    background-color: #FFFFFF;
}
/* ==========================================
   SERVIZI - DIGITAL SIGNAGE
   ========================================== */

.servizi-digital-signage {
    background-color: #F5F8F7;
}
/* ==========================================
   SERVIZI - SOLUZIONI PER LA SCUOLA
   ========================================== */

.servizi-scuola {
    background-color: #FFFFFF;
}

/* ==========================================
   REALIZZAZIONI - BANNER FOTOGRAFICO
   ========================================== */

.realizzazioni-banner {
    width: 100%;
    background-color: #061B31;
}

.realizzazioni-banner-image {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================
   REALIZZAZIONI - INTRODUZIONE
   ========================================== */

.realizzazioni-intro {
    width: 100%;
    padding: 100px 0;
    background-color: #FFFFFF;
}

.realizzazioni-container {
    width: 94%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
}

.realizzazioni-title {
    margin-bottom: 35px;
    color: #102C46;
    font-size: clamp(2.1rem, 3.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
}

    .realizzazioni-title span {
        display: block;
        color: #2FAF7A;
    }

.realizzazioni-text p {
    margin-bottom: 22px;
    color: #263238;
    font-size: 1.05rem;
    line-height: 1.85;
}

    .realizzazioni-text p:last-child {
        margin-bottom: 0;
    }


/* ==========================================
   REALIZZAZIONI - TABLET
   ========================================== */

@media (max-width: 991.98px) {

    .realizzazioni-intro {
        padding: 70px 0;
    }

    .realizzazioni-container {
        width: 92%;
    }
}


/* ==========================================
   REALIZZAZIONI - SMARTPHONE
   ========================================== */

@media (max-width: 575.98px) {

    .realizzazioni-intro {
        padding: 55px 0;
    }

    .realizzazioni-title {
        font-size: 2rem;
    }

    .realizzazioni-text p {
        font-size: 1rem;
    }
}

/* ==========================================
   ADMIN - PAGINA LOGIN
   ========================================== */

.admin-login-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px;
    background-color: #F5F8F7;
}

.admin-login-box {
    width: 100%;
    max-width: 480px;
    padding: 45px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(6, 27, 49, 0.08);
}

.admin-login-header {
    margin-bottom: 35px;
}

    .admin-login-header h1 {
        margin: 15px 0;
        color: #102C46;
        font-size: 1.8rem;
        font-weight: 700;
    }

    .admin-login-header p {
        margin: 0;
        color: #52616B;
        font-size: 0.95rem;
        line-height: 1.7;
    }

.admin-login-box .form-label {
    color: #102C46;
    font-weight: 600;
}

.admin-login-box .form-control {
    padding: 12px 14px;
    border: 1px solid #DCE4E8;
    border-radius: 8px;
}

    .admin-login-box .form-control:focus {
        border-color: #2FAF7A;
        box-shadow: 0 0 0 3px rgba(47, 175, 122, 0.12);
    }

.admin-login-button {
    width: 100%;
    padding: 13px 20px;
    color: #FFFFFF;
    background-color: #102C46;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

    .admin-login-button:hover {
        background-color: #2FAF7A;
    }

@media (max-width: 575.98px) {
    .admin-login-section {
        padding: 55px 15px;
    }

    .admin-login-box {
        padding: 30px 22px;
    }

    .admin-login-header h1 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   ADMIN - DASHBOARD
   ========================================== */

.admin-dashboard {
    min-height: 100vh;
    padding: 100px 0;
    background-color: #050303;
    background-image: url('/images/admin/fenice.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.admin-dashboard-container {
    width: 94%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.admin-dashboard-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    margin-bottom: 55px;
}

    .admin-dashboard-header h1 {
        margin: 15px 0;
        color: #FFFFFF;
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 700;
    }

    .admin-dashboard-header p {
        margin: 0;
        color: #E5E7EB;
        line-height: 1.7;
    }

    .admin-dashboard-header > div:first-child {
        flex: 0 1 850px;
        min-width: 0;
    }

    .admin-dashboard-header > div:last-child {
        flex-shrink: 0;
    }

@media (min-width: 992px) {
    .admin-dashboard-header {
        justify-content: flex-start;
        gap: 30px;
    }

        .admin-dashboard-header > div:first-child {
            flex: 0 0 700px;
        }
}

.admin-logout-button {
    padding: 12px 28px;
    color: #FFFFFF;
    background-color: #102C46;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

    .admin-logout-button:hover {
        background-color: #2FAF7A;
    }

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 330px;
    max-width: 1250px;
    margin-right: auto;
    margin-left: -90px;
}

.admin-dashboard-card {
    padding: 35px;
    background-color: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(6, 27, 49, 0.05);
}

    .admin-dashboard-card h2 {
        margin-bottom: 18px;
        color: #102C46;
        font-size: 1.4rem;
        font-weight: 700;
    }

    .admin-dashboard-card p {
        margin-bottom: 25px;
        color: #52616B;
        line-height: 1.7;
    }

    .admin-dashboard-card span {
        color: #2FAF7A;
        font-size: 0.9rem;
        font-weight: 600;
    }

@media (max-width: 991.98px) {
    .admin-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

        .admin-dashboard-header > div:first-child {
            flex: 0 1 auto;
            width: 100%;
        }

    .admin-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        margin-top: 80px;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 575.98px) {
    .admin-dashboard {
        padding: 60px 0;
    }

    .admin-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-card {
        padding: 25px;
    }
}

/* ==========================================
   REALIZZAZIONI - GALLERIA E FILTRI
   ========================================== */

.realizzazioni-gallery {
    padding: 30px 0 100px;
    background-color: #FFFFFF;
}

.realizzazioni-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 55px;
}

.realizzazioni-filter {
    padding: 11px 22px;
    background-color: transparent;
    color: #102C46;
    border: 1px solid #DCE4E8;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .realizzazioni-filter:hover {
        color: #2FAF7A;
        border-color: #2FAF7A;
    }

    .realizzazioni-filter.active {
        background-color: #2FAF7A;
        color: #FFFFFF;
        border-color: #2FAF7A;
    }

    .realizzazioni-filter:focus-visible {
        outline: 3px solid rgba(47, 175, 122, 0.4);
        outline-offset: 3px;
    }

/* Griglia delle realizzazioni */

.realizzazioni-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 25px;
}

/* Tablet */

@media (max-width: 991.98px) {
    .realizzazioni-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */

@media (max-width: 575.98px) {
    .realizzazioni-gallery {
        padding: 20px 0 65px;
    }

    .realizzazioni-filters {
        justify-content: flex-start;
        gap: 9px;
        margin-bottom: 35px;
    }

    .realizzazioni-filter {
        padding: 9px 16px;
        font-size: 0.85rem;
    }

    .realizzazioni-gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* =========================================
   REALIZZAZIONI - COPERTINE GALLERIA
   ========================================= */


.realizzazioni-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border: 2px solid #198754;
    border-radius: 6px;
}


/* =========================================
   REALIZZAZIONI - FRECCE POPUP FOTOGRAFICO
   ========================================= */

.realizzazioni-gallery .carousel-control-prev,
.realizzazioni-gallery .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #198754;
    border-radius: 50%;
    opacity: 0.95;
}

/* Frecce dei popup fotografici */
.modal[id^="realizzazioneModal-"] .carousel-control-prev,
.modal[id^="realizzazioneModal-"] .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #198754;
    border-radius: 50%;
    opacity: 0.95;
}

.modal[id^="realizzazioneModal-"] .carousel-control-prev {
    left: 12px;
}

.modal[id^="realizzazioneModal-"] .carousel-control-next {
    right: 12px;
}

    .modal[id^="realizzazioneModal-"] .carousel-control-prev:hover,
    .modal[id^="realizzazioneModal-"] .carousel-control-next:hover {
        opacity: 1;
        background-color: #146c43;
    }

.modal[id^="realizzazioneModal-"] .carousel-control-prev-icon,
.modal[id^="realizzazioneModal-"] .carousel-control-next-icon {
    width: 22px;
    height: 22px;
}

/* =========================================
   REALIZZAZIONI - CONTATORE FOTOGRAFICO
   ========================================= */

.realizzazioni-photo-counter {
    color: #198754;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

/* =========================================
   REALIZZAZIONI - AREA FOTOGRAFICA POPUP
   ========================================= */

.modal[id^="realizzazioneModal-"] .carousel-item {
    height: 55vh;
    min-height: 250px;
}

    .modal[id^="realizzazioneModal-"] .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

@media (max-width: 767px) {
    .modal[id^="realizzazioneModal-"] .carousel-item {
        height: 40vh;
        min-height: 200px;
    }
}
/* ==========================================
   NAVBAR - CAMPO DI RICERCA
   ========================================== */

.ricerca-nav-item {
    position: relative;
}

#pannelloRicerca {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 280px;
    z-index: 1100;
}

.ricerca-contenuto {
    width: 100%;
}

#inputRicerca {
    min-width: 0;
}

/* Nelle finestre compatte, ricerca sotto la lente */
@media (max-width: 1599.98px) {

    .ricerca-nav-item {
        width: 100%;
    }

        .ricerca-nav-item > .d-flex {
            display: flex;
            flex-direction: column;
            align-items: flex-start !important;
        }

    #pannelloRicerca {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 10px;
    }

    .ricerca-contenuto {
        width: 100%;
    }
}
/* FOOTER - TITOLI DELLE COLONNE */
.site-footer .footer-main h5 {
    color: #FFFFFF;
    font-weight: 600;
}
/* FOOTER - LOGO E INTESTAZIONE */

.footer-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.footer-brand-text strong {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-brand-text small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}
/* FOOTER - FASCIA INFERIORE */

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-legal,
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

    .footer-social a {
        font-size: 1.15rem;
    }
    /* FOOTER - SEPARATORI VERTICALI */

    .footer-bottom > *:not(:last-child)::after,
    .footer-legal a:not(:last-child)::after {
        content: "|";
        color: rgba(255, 255, 255, 0.4);
        margin-left: 0;
        margin-right: 0;
    }

    .footer-legal a:not(:last-child)::after {
        margin-left: 15px;
    }
/* PUBBLICA AMMINISTRAZIONE - RICHIESTE MEPA */

.pa-richiesta {
    background-color: #F0F7FA;
    border: 1px solid #D7E7EF;
    border-left: 4px solid #2AAF83;
}

    .pa-richiesta h2 {
        color: #102C46;
    }

    .pa-richiesta .lead {
        color: #35556B;
    }
/* PUBBLICA AMMINISTRAZIONE - GRIGLIA SERVIZI */

.pa-servizi > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pa-servizi i {
    color: #2AAF83;
    font-size: 1.5rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.pa-servizi span {
    line-height: 1.5;
}
/* CONTATTI - PROTEZIONE ANTISPAM */
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* HOME - BANNER OFFERTE A TUTTA SCHEDA */
.showcase-offer-link {
    display: block;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
    cursor: default;
    background: transparent;
    border: none;
    box-shadow: none;
}



.showcase-offer-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}


/* HOME - SFONDO REALIZZAZIONI */
.showcase-projects {
    background-image: url('/images/realizzazioni/realizzazioni-sfondo-definitivo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


    /* HOME - TESTO REALIZZAZIONI */
    .showcase-projects h2,
    .showcase-projects p {
        max-width: 225px;
    }

@media (max-width: 767.98px) {
    .showcase-projects h2,
    .showcase-projects p {
        max-width: 55%;
    }
}

/* HOME - POSIZIONE DESCRIZIONE REALIZZAZIONI */
.showcase-projects p {
    margin-top: 25px;
}


/* HOME - OFFERTA COME SFONDO DELLA SCHEDA */
.showcase-card.showcase-offer-link {
    padding: 0;
    background-image: url('/images/offerte/stay-tuned.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    overflow: hidden;
}

    /* HOME - VOLANTINO ATTIVO */
    .showcase-card.showcase-offer-link.showcase-offer-active {
        background-image: url('/images/offerte/offerta-attiva.png');
        cursor: pointer;
    }


/* OFFERTE - VISUALIZZAZIONE SMARTPHONE */
@media (max-width: 767.98px) {

    .offerte-table-wrapper {
        overflow-x: visible;
    }

        .offerte-table-wrapper table,
        .offerte-table-wrapper tbody,
        .offerte-table-wrapper tr,
        .offerte-table-wrapper td {
            display: block;
            width: 100%;
        }

        .offerte-table-wrapper thead {
            display: none;
        }

        .offerte-table-wrapper tbody tr {
            margin-bottom: 24px;
            padding: 20px;
            border: 1px solid var(--ls-border);
            border-radius: 14px;
            background-color: #FFFFFF;
        }

        .offerte-table-wrapper tbody td {
            padding: 10px 0;
            border: none;
            text-align: center;
        }

            .offerte-table-wrapper tbody td:first-child > div {
                margin: 0 auto;
            }
}


/* OFFERTE - FOTOGRAFIE PRODOTTI */
.offerte-product-image {
    display: block;
    width: 180px;
    max-width: 100%;
    height: 130px;
    object-fit: contain;
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .offerte-product-image {
        margin: 0 auto;
    }
}

/* OFFERTE - SEPARAZIONE TRA PRODOTTI */
@media (min-width: 768px) {
    .offerte-table-wrapper tbody tr {
        border-bottom: 2px solid #D8DEE3;
    }

    .offerte-table-wrapper tbody td {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

/* =========================================
   BANNER CONSENSO COOKIE
   ========================================= */

.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    z-index: 1050;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.16);
    padding: 24px 28px;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 0;
}

    .cookie-consent-text h5 {
        margin: 0 0 10px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #20242a;
    }

    .cookie-consent-text p {
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.6;
        color: #555d66;
    }

    .cookie-consent-text a {
        color: #198754;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

    .cookie-consent-actions .btn {
        min-width: 155px;
        padding: 10px 16px;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
        white-space: nowrap;
    }

/* Tablet e smartphone */

@media (max-width: 991px) {

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .cookie-consent-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 575px) {

    .cookie-consent-banner {
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 20px;
        border-radius: 12px;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }

    .cookie-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .cookie-consent-actions .btn {
            width: 100%;
            min-width: 0;
            white-space: normal;
        }

    .cookie-consent-text h5 {
        font-size: 1.05rem;
    }

    .cookie-consent-text p {
        font-size: 0.88rem;
    }
}

/* ==========================================
   TIPS & TRICKS - COLONNA UTILITIES
   ========================================== */

@media (min-width: 992px) {

    .tips-utilities {
        position: sticky;
        top: 100px;
    }
}

/* ==========================================
   TIPS & TRICKS - SEPARATORE COLONNE
   ========================================== */

@media (min-width: 992px) {

    .tips-page aside {
        border-right: 2px solid #ADB5BD;
        padding-right: 24px;
    }

    .tips-page main {
        padding-left: 36px;
    }
}

/* ==========================================
   TIPS & TRICKS - GALLERIA
   ========================================== */

.tips-card {
    width: 100%;
}

.tips-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.tips-card-title {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

/* ==========================================
   TIPS & TRICKS - CONTENUTO POPUP
   ========================================== */

.tip-modal-content {
    overflow-wrap: break-word;
}

    .tip-modal-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 16px auto;
        border-radius: 6px;
    }

    .tip-modal-content iframe {
        max-width: 100%;
    }

    .tip-modal-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

/* ==========================================
   TIPS & TRICKS - ELENCO UTILITIES
   ========================================== */

.tips-utilities-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tips-utility-link {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .tips-utility-link:hover {
        background-color: rgba(0, 0, 0, 0.06);
    }

    .tips-utility-link:focus-visible {
        outline: 2px solid #198754;
        outline-offset: 2px;
    }

/* ==========================================
   CALCOLATORE IP - DETTAGLI BINARI
   ========================================== */

.ip-binary-row {
    margin-bottom: 20px;
}

.ip-binary-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.ip-binary-value {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 2;
}

.ip-binary-bit,
.ip-binary-separator {
    flex-shrink: 0;
}

.ip-binary-bit {
    display: inline-block;
    padding: 2px 3px;
    border-radius: 3px;
}

.ip-binary-network {
    background-color: #d1e7dd;
    color: #0f5132;
}

.ip-binary-host {
    background-color: #fff3cd;
    color: #664d03;
}

.ip-binary-separator {
    font-weight: bold;
    padding: 0 2px;
}

.ip-binary-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.ip-binary-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ip-binary-legend-color {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.ip-binary-scroll {
    overflow-x: auto;
}

/* HOME - TIPS - COPERTINE CATEGORIE */

.home-tips .tip-icon:has(.tip-category-image) {
    width: 100%;
    height: 190px;
    margin-bottom: 24px;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background-color: #E8F7F0;
}

.home-tips .tip-category-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-tips button.tip-link {
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* HOME - REALIZZAZIONI: TESTO SMARTPHONE */
@media (max-width: 767.98px) {

    .showcase-projects p {
        color: #FFFFFF;
        font-weight: 600;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
    }
}