/* =====================================================
   RESET BASE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #0d2341;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    min-height: 500px;
    padding-top: 0px;
    background: #ffffff;
}


/* =====================================================
   HEADER - PAGINE INTERNE
   Blu di default. La Home viene sovrascritta dal blocco
   .site-header.home-header piu in basso.
===================================================== */

.site-header {
    width: 100%;
    height: 92px;

    background: #06233f;
    backdrop-filter: none;

    position: relative;
    z-index: 1000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.10);
}

.header-container {
    width: min(1400px, 90%);
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    width: 250px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.main-nav a {
    position: relative;

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    padding: 34px 0 29px;

    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #159cf4;
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 20px;

    height: 2px;

    background: #159cf4;
}

.menu-arrow {
    margin-left: 4px;
    font-size: 14px;
}


/* MENU MOBILE */

.mobile-menu-button {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 27px;
    height: 2px;
    margin: 6px 0;
    background: #ffffff;
}


/* =====================================================
   HOME - HERO
===================================================== */

.hero-home {
    position: relative;
    min-height: 610px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 48, 0.94) 0%,
            rgba(4, 30, 56, 0.82) 42%,
            rgba(4, 28, 51, 0.20) 100%
        ),
        url("../images/hero/hero-automazione.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    width: min(1400px, 90%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero-content > span {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-content > span::before {
    content: "";
    width: 32px;
    height: 2px;
    background: #19a8ff;
}

.hero-content h1 {
    max-width: 680px;
    margin: 0 0 22px;

    font-size: clamp(46px, 5vw, 76px);
    line-height: 0.98;
    letter-spacing: -2px;

    color: #ffffff;
}

.hero-content h1 strong {
    color: #19a8ff;
}

.hero-content p {
    max-width: 620px;
    margin-bottom: 34px;

    font-size: 19px;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.90);
}


/* PULSANTI HERO */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 25px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.hero-actions a:first-child {
    background: #159cf4;
    color: #ffffff;
    border: 1px solid #159cf4;
}

.hero-actions a:first-child:hover {
    background: #078be0;
    border-color: #078be0;
    transform: translateY(-2px);
}

.hero-actions a:last-child {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-actions a:last-child:hover {
    background: #ffffff;
    color: #0d2341;
}


/* =====================================================
   FASCIA PROGETTAZIONE / REALIZZAZIONE / ASSISTENZA /
   EFFICIENZA
===================================================== */

.home-strengths {
    width: 100%;
    margin: 0;

    padding: 20px max(5%, calc((100% - 1400px) / 2));

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #071f37;
    color: #ffffff;
}

.strength-item {
    min-height: 86px;
    padding: 0 30px;

    display: flex;
    align-items: center;
    gap: 20px;

    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.strength-item:first-child {
    padding-left: 0;
}

.strength-item:last-child {
    border-right: none;
}

.strength-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;

    flex: 0 0 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #159cf4;
    border-radius: 50%;
}

.strength-icon svg {
    width: 34px;
    height: 34px;

    fill: none;
    stroke: #ffffff;
    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.strength-text {
    min-width: 0;
}

.strength-text h3 {
    margin: 0 0 6px;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;

    text-transform: uppercase;
}

.strength-text p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
    line-height: 1.4;
}


/* =====================================================
   HOME - SOLUZIONI
===================================================== */

.home-solutions {
    background: #f5f9fc;
    padding: 85px 0 95px;
}

.section-heading,
.solutions-grid {
    width: min(1400px, 90%);
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading > span {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #52667e;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.3px;
}

.section-heading > span::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #159cf4;
}

.section-heading h2 {
    margin-top: 10px;

    color: #0d2341;

    font-size: clamp(32px, 3vw, 48px);
    letter-spacing: -1.2px;
}


/* CARD SOLUZIONI */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: start;
    grid-auto-rows: max-content;
}

.solution-card {
    overflow: hidden;
    display: block;

    background: #ffffff;

    border-radius: 12px;
    border: 1px solid #e7edf3;

    color: #0d2341;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 46, 75, 0.10);
}

.solution-card img {
    width: 100%;
    height: 210px;

    object-fit: cover;

    background: #e8eef4;
}

.solution-card h3 {
    margin: 22px 22px 8px;

    color: #0d2341;
    font-size: 20px;
}

.solution-card p {
    margin: 0 22px 25px;

    color: #64748a;
    font-size: 14px;
    line-height: 1.5;
}


/* =====================================================
   HOME - AUTOMAZIONE E SUPERVISIONE
===================================================== */

.home-supervision {
    width: 100%;
    background: #0b2440;
    color: #ffffff;
    overflow: hidden;
}

.supervision-container {
    width: 100%;
    margin: 0;

    display: grid;
    grid-template-columns: 46% 54%;
    align-items: stretch;

    min-height: 520px;
}

.supervision-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 70px;
    padding-bottom: 70px;

    padding-left: max(
        5%,
        calc((100vw - 1400px) / 2)
    );

    padding-right: 70px;
}

.supervision-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;

    color: #b8d7ef;
}

.supervision-copy .eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #159cf4;
}

.supervision-copy h2 {
    margin: 0 0 24px;

    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: -1.5px;

    color: #ffffff;
}

.supervision-copy h2 strong {
    color: #159cf4;
}

.supervision-copy p {
    max-width: 600px;
    margin: 0 0 16px;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.88);
}

.supervision-secondary {
    color: rgba(255, 255, 255, 0.68);
}

.supervision-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    margin-top: 20px;

    min-height: 48px;
    padding: 0 24px;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;

    color: #ffffff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.supervision-btn:hover {
    background: #ffffff;
    color: #0b2440;
    transform: translateY(-2px);
}

.supervision-visual {
    width: 100%;
    height: 100%;
    min-height: 520px;

    overflow: hidden;
}

.supervision-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;

    display: block;

    object-fit: cover;
    object-position: center center;
}


/* =====================================================
   FOOTER DEFINITIVO
===================================================== */

.site-footer {
    width: 100%;

    background: #071f37;
    color: #ffffff;

    border-top: 1px solid rgba(255,255,255,0.10);

    padding: 30px 0;
}

.footer-container {
    width: min(1400px, 90%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/* LOGO FOOTER */

.footer-brand {
    flex: 0 0 auto;
}

.footer-brand img {
    width: 230px;
    max-width: 230px;
}


/* DIVISORI FOOTER */

.footer-divider {
    width: 1px;
    height: 65px;

    flex: 0 0 1px;

    background: #ccd7e2;
}


/* CONTATTI FOOTER */

.footer-contacts {
    color: rgba(255,255,255,0.90);
    font-size: 13px;
    line-height: 1.8;
}

.footer-contacts p {
    margin: 0;
    white-space: nowrap;
}

.footer-contacts a {
    color: rgba(255,255,255,0.90);
    text-decoration: none;
}

.footer-contacts a:hover {
    color: #19a8ff;
}

.footer-symbol {
    color: #19a8ff;
}


/* SITO WEB FOOTER */

.footer-web a {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #19a8ff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;
}

.footer-web a:hover {
    color: #ffffff;
}

.footer-globe {
    font-size: 20px;
}


/* SOCIAL FOOTER */

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #ffffff;
    color: #071f37;

    font-size: 16px;
    font-weight: 700;
}

.social-icon.youtube {
    font-size: 14px;
}

.social-icon.facebook {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
}


/* PAYOFF FOOTER */

.footer-payoff {
    color: rgba(255,255,255,0.90);

    font-size: 12px;
    line-height: 1.45;

    white-space: nowrap;
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 1100px) {

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-strengths {
        grid-template-columns: repeat(2, 1fr);
    }

    .strength-item {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .footer-container {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer-divider {
        display: none;
    }

    .footer-brand {
        width: 100%;
        margin-bottom: 10px;
    }
}


/* =====================================================
   RESPONSIVE - SUPERVISIONE
===================================================== */

@media (max-width: 900px) {

    .site-header {
        height: 78px;
    }

    .header-logo img {
        width: 210px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .supervision-container {
        grid-template-columns: 1fr;
    }

    .supervision-copy {
        padding: 55px 0 40px;
    }

    .supervision-visual,
    .supervision-visual img {
        min-height: 340px;
    }
}


/* =====================================================
   RESPONSIVE - SMARTPHONE
===================================================== */

@media (max-width: 700px) {

    .hero-home {
        min-height: 560px;
        background-position: 65% center;
    }

    .hero-content h1 {
        font-size: 44px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions a {
        width: 100%;
        max-width: 280px;
    }


    /* FASCIA SERVIZI */

    .home-strengths {
        grid-template-columns: 1fr;
        padding: 12px 5%;
    }

    .strength-item {
        padding: 18px 0;
        min-height: auto;
    }

    .strength-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;

        flex-basis: 54px;
    }

    .strength-icon svg {
        width: 28px;
        height: 28px;
    }


    /* SOLUZIONI */

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .home-solutions {
        padding: 60px 0;
    }


    /* SUPERVISIONE */

    .supervision-copy h2 {
        font-size: 38px;
    }

    .supervision-copy p {
        font-size: 16px;
    }

    .supervision-visual,
    .supervision-visual img {
        min-height: 280px;
    }


    /* FOOTER */

    .site-footer {
        padding: 35px 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;
    }

    .footer-brand {
        width: auto;
        margin-bottom: 0;
    }

    .footer-brand img {
        width: 200px;
    }

    .footer-divider {
        display: none;
    }

    .footer-contacts p {
        white-space: normal;
    }

    .footer-payoff {
        white-space: normal;
    }
    }

    /* =====================================================
   HEADER TRASPARENTE SOLO HOME
===================================================== */

.site-header.home-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 100px;

    background: linear-gradient(
        180deg,
        rgba(3, 21, 39, 0.68) 0%,
        rgba(3, 21, 39, 0.30) 60%,
        rgba(3, 21, 39, 0) 100%
    );

    border-bottom: none;
    box-shadow: none;

    z-index: 1000;
}


/* LOGO BIANCO SOLO HOME */

.home-header .header-logo img {
    width: 270px;
    height: auto;
    filter: none;
}


/* MENU BIANCO SOLO HOME */

.home-header .main-nav a {
    color: #ffffff;
}

.home-header .main-nav a:hover,
.home-header .main-nav a.active {
    color: #19a8ff;
}

.home-header .main-nav a.active::after {
    background: #19a8ff;
}


/* La Hero occupa anche la zona dietro l'header */

.home-header + main .hero-home {
    padding-top: 100px;
}

/* =====================================================
   PAGINA CHI SIAMO / AZIENDA
===================================================== */


/* =====================================================
   HERO CHI SIAMO
===================================================== */

.about-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;

    background:
        url("../images/company/chi-siamo-hero-clean.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(4, 25, 48, 0.92) 0%,
        rgba(4, 30, 56, 0.76) 42%,
        rgba(4, 28, 51, 0.12) 100%
    );
}

.about-hero-content {
    width: min(1400px, 90%);
    margin: 0 auto;

    position: relative;
    z-index: 2;

    color: #ffffff;
    padding-top: 25px;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;

    font-size: 14px;
    color: rgba(255,255,255,0.84);
}

.about-breadcrumb a {
    color: rgba(255,255,255,0.84);
    text-decoration: none;
}

.about-breadcrumb a:hover {
    color: #19a8ff;
}

.about-hero-content h1 {
    margin: 0 0 22px;

    font-size: clamp(68px, 7vw, 105px);
    line-height: 0.92;
    letter-spacing: -3px;

    color: #ffffff;
    font-weight: 700;
}

.about-hero-content > p {
    max-width: 720px;
    margin-bottom: 30px;

    font-size: 24px;
    line-height: 1.4;

    color: rgba(255,255,255,0.92);
}

.about-since {
    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #ffffff;
}

.about-since > span {
    width: 32px;
    height: 2px;

    background: #19a8ff;
}


/* =====================================================
   STORIA TECNEL
===================================================== */

.about-story {
    background: #ffffff;
    padding: 85px 0;
}

.about-story-container {
    width: min(1500px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    align-items: center;
    gap: 55px;
}

.about-story-copy {
    max-width: 600px;
}

/* CONTENITORE FOTO */
.about-story-image {
    width: 100%;
    height: 480px;

    overflow: hidden;
    border-radius: 14px;
}

/* FOTO */
.about-story-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 14px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 16px;

    color: #159cf4;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.section-label::before {
    content: "";

    width: 30px;
    height: 2px;

    background: #159cf4;
}

.about-story-copy h2 {
    margin: 0 0 24px;

    color: #0d2341;

    font-size: clamp(34px, 3.5vw, 52px);
    line-height: 1.06;
    letter-spacing: -1.3px;
}

.about-story-copy h2 strong {
    color: #159cf4;
}

.about-story-copy p {
    margin: 0 0 16px;

    color: #586b82;

    font-size: 16px;
    line-height: 1.7;
}



.about-story-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;

    object-fit: cover;
}


/* =====================================================
   PUNTI DI FORZA
===================================================== */

.about-strengths {
    background: #f5f9fc;
    border-top: 1px solid #e6edf4;
    border-bottom: 1px solid #e6edf4;
}

.about-strengths-container {
    width: min(1400px, 90%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.about-strength-box {
    min-height: 135px;

    padding: 28px 32px;

    display: flex;
    align-items: center;
    gap: 18px;

    position: relative;
}

.about-strength-box:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 30px;
    bottom: 30px;

    width: 1px;

    background: #d6e0ea;
}

.about-strength-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #159cf4;
    border-radius: 50%;
}

.about-strength-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: #159cf4;
    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-strength-box h3 {
    margin: 0 0 4px;

    color: #0d2341;

    font-size: 19px;
}

.about-strength-box p {
    margin: 0;

    color: #617188;

    font-size: 14px;
    line-height: 1.4;
}


/* =====================================================
   MISSIONE
===================================================== */

.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 540px;

    background: #0b2947;
    color: #ffffff;
}

.about-mission-image {
    min-height: 540px;
    overflow: hidden;
}

.about-mission-image img {
    width: 100%;
    height: 100%;
    min-height: 540px;

    object-fit: cover;
}

.about-mission-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 75px 9% 75px 70px;
}

.about-mission-content > span {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: #b6d8ef;
}

.about-mission-content > span::before {
    content: "";

    width: 30px;
    height: 2px;

    background: #19a8ff;
}

.about-mission-content h2 {
    max-width: 620px;

    margin: 0 0 24px;

    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: -1.5px;

    color: #ffffff;
}

.about-mission-content p {
    max-width: 680px;

    margin: 0 0 30px;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(255,255,255,0.84);
}

.about-mission-services {
    display: grid;
    gap: 12px;
}

.about-mission-services > div {
    position: relative;

    padding-left: 25px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
}

.about-mission-services > div::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 10px;
    height: 10px;

    border: 2px solid #19a8ff;
    border-radius: 50%;

    transform: translateY(-50%);
}


/* =====================================================
   CONTENITORE SEZIONI
===================================================== */

.about-section-container {
    width: min(1400px, 90%);
    margin: 0 auto;
}

.about-section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.about-section-heading.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.about-section-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;

    color: #159cf4;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.about-section-heading > span::before {
    content: "";

    width: 28px;
    height: 2px;

    background: #159cf4;
}

.about-section-heading.centered > span::before {
    display: none;
}

.about-section-heading h2 {
    margin: 0 0 18px;

    color: #0d2341;

    font-size: clamp(34px, 3.5vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.about-section-heading h2 strong {
    color: #159cf4;
}

.about-section-heading p {
    margin: 0;

    color: #617188;

    font-size: 16px;
    line-height: 1.65;
}


/* =====================================================
   TEAM
===================================================== */

.about-team {
    background: #ffffff;
    padding: 95px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 24px;
}

.team-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e6edf4;
    border-radius: 12px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 35px rgba(13, 35, 65, 0.09);
}

.team-photo {
    width: 100%;
    height: 320px;

    overflow: hidden;

    background: #e9f0f6;
}

.team-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.team-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #718399;

    font-size: 14px;
}

.team-card-content {
    padding: 22px;
}

.team-card-content h3 {
    margin: 0 0 6px;

    color: #0d2341;

    font-size: 20px;
}

.team-card-content p {
    margin: 0;

    color: #68798e;

    font-size: 14px;
}


/* =====================================================
   PARTNER
===================================================== */

.about-partners {
    background: #f5f9fc;
    padding: 90px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 18px;
}

.partner-placeholder,
.partner-card {
    min-height: 130px;

    padding: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #e3ebf2;
    border-radius: 10px;

    color: #718399;

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(13, 35, 65, 0.08);
}

.partner-card img {
    max-width: 170px;
    max-height: 70px;

    object-fit: contain;
}


/* =====================================================
   CERTIFICAZIONI
===================================================== */

.about-certifications {
    background: #ffffff;
    padding: 90px 0;
}

.certifications-grid {
    max-width: 1000px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.certification-placeholder,
.certification-card {
    min-height: 180px;

    padding: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8fbfd;

    border: 1px solid #e2eaf2;
    border-radius: 12px;

    color: #718399;

    text-align: center;
}

.certification-card img {
    max-width: 150px;
    max-height: 110px;

    object-fit: contain;
}


/* =====================================================
   CTA CONTATTI
===================================================== */

.about-contact-cta {
    position: relative;

    min-height: 250px;

    display: flex;
    align-items: center;

    background:
        url("../images/company/cta-azienda.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.about-contact-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 28, 52, 0.92),
            rgba(5, 28, 52, 0.60)
        );
}

.about-contact-container {
    width: min(1400px, 90%);
    margin: 0 auto;

    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.about-contact-container > div > span {
    display: block;

    margin-bottom: 10px;

    color: #9ed8ff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.about-contact-container h2 {
    max-width: 760px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.1;
}

.about-contact-container > a {
    min-height: 52px;

    padding: 0 27px;

    display: inline-flex;
    align-items: center;
    gap: 16px;

    background: #159cf4;

    border-radius: 28px;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.about-contact-container > a:hover {
    background: #078be0;

    transform: translateY(-2px);
}


/* =====================================================
   RESPONSIVE AZIENDA - TABLET
===================================================== */

@media (max-width: 1100px) {

    .about-story-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-strengths-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-strength-box:nth-child(2)::after {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =====================================================
   RESPONSIVE AZIENDA - TABLET PICCOLO
===================================================== */

@media (max-width: 900px) {

    .about-hero {
        min-height: 470px;
    }

    .about-story-container {
        grid-template-columns: 1fr;
    }

    .about-story-image {
        min-height: 350px;
    }

    .about-story-image img {
        min-height: 350px;
    }

    .about-mission {
        grid-template-columns: 1fr;
    }

    .about-mission-image {
        min-height: 400px;
    }

    .about-mission-image img {
        min-height: 400px;
    }

    .about-mission-content {
        padding: 60px 5%;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-contact-container {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =====================================================
   RESPONSIVE AZIENDA - SMARTPHONE
===================================================== */

@media (max-width: 700px) {

    .about-hero {
        min-height: 440px;
        background-position: 62% center;
    }

    .about-hero-content h1 {
        font-size: 50px;
    }

    .about-hero-content > p {
        font-size: 18px;
    }

    .about-story {
        padding: 60px 0;
    }

    .about-story-container {
        gap: 35px;
    }

    .about-strengths-container {
        grid-template-columns: 1fr;
    }

    .about-strength-box {
        padding: 22px 0;
        min-height: auto;
    }

    .about-strength-box::after {
        display: none !important;
    }

    .about-mission-content {
        padding: 55px 5%;
    }

    .about-team,
    .about-partners,
    .about-certifications {
        padding: 65px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-photo {
        height: 360px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .about-contact-cta {
        min-height: 300px;
    }

    .about-contact-container {
        padding: 50px 0;
    }

}

/* =====================================================
   PAGINA SOLUZIONI
===================================================== */


/* =====================================================
   HERO SOLUZIONI
===================================================== */

.solutions-hero {
    position: relative;
    min-height: 330px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 48, 0.96) 0%,
            rgba(4, 30, 56, 0.88) 48%,
            rgba(4, 28, 51, 0.55) 100%
        ),
        url("../images/hero/hero-soluzioni.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.solutions-hero-content {
    width: min(1400px, 90%);
    margin: 0 auto;

    color: #ffffff;
}

.solutions-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 16px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.7px;

    color: #d8edf9;
}

.solutions-eyebrow::before {
    content: "";

    width: 30px;
    height: 2px;

    background: #19a8ff;
}

.solutions-hero h1 {
    max-width: 700px;

    margin: 0 0 20px;

    font-size: clamp(46px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -2px;

    color: #ffffff;
}

.solutions-hero h1 strong {
    color: #19a8ff;
}

.solutions-hero p {
    max-width: 720px;

    margin: 0;

    font-size: 18px;
    line-height: 1.6;

    color: rgba(255,255,255,0.90);
}


/* =====================================================
   AREA CARD
===================================================== */

.solutions-page {
    background: #f4f8fb;
    padding: 70px 0 90px;
}

.solutions-page-container {
    width: min(1400px, 90%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;

    /* Ogni card mantiene la propria altezza quando quella accanto viene aperta */
    align-items: start;
}


/* =====================================================
   CARD SOLUZIONE
===================================================== */

.solution-detail-card {
    align-self: start;
    height: fit-content;

    background: #ffffff;

    border: 1px solid #e1eaf2;
    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 8px 24px rgba(13, 35, 65, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.solution-detail-card:hover {
    transform: translateY(-3px);

    border-color: #cbdceb;

    box-shadow:
        0 14px 32px rgba(13, 35, 65, 0.08);
}

.solution-detail-card[open] {
    border-color: rgba(21, 156, 244, 0.35);

    box-shadow:
        0 16px 36px rgba(13, 35, 65, 0.09);
}


/* card networking a tutta larghezza */

.solution-detail-wide {
    grid-column: 1 / -1;
}


/* =====================================================
   SUMMARY
===================================================== */

.solution-detail-card summary {
    position: relative;

    list-style: none;

    display: grid;
    grid-template-columns: 90px 1fr 54px;

    align-items: start;
    gap: 24px;

    padding: 30px;

    cursor: pointer;
}

.solution-detail-card summary::-webkit-details-marker {
    display: none;
}

.solution-detail-card summary::marker {
    display: none;
}


/* =====================================================
   ICONA
===================================================== */

.solution-detail-icon {
    width: 84px;
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #eef8ff;

    flex-shrink: 0;
}

.solution-detail-icon svg {
    width: 42px;
    height: 42px;

    fill: none;
    stroke: #159cf4;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =====================================================
   TESTO CARD
===================================================== */

.solution-detail-main {
    min-width: 0;
}

.solution-detail-main h2 {
    margin: 0 0 10px;

    color: #0d2341;

    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.solution-detail-main > p {
    max-width: 600px;

    margin: 0 0 16px;

    color: #53687f;

    font-size: 15px;
    line-height: 1.55;
}


/* =====================================================
   ELENCO PREVIEW
===================================================== */

.solution-preview-list {
    margin: 0;
    padding: 0;

    list-style: none;

    display: grid;
    gap: 7px;
}

.solution-preview-list li {
    position: relative;

    padding-left: 25px;

    color: #405771;

    font-size: 14px;
    line-height: 1.4;
}

.solution-preview-list li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #159cf4;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
}


/* =====================================================
   FRECCIA
===================================================== */

.solution-arrow {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    align-self: start;

    border-radius: 50%;

    background: #eef8ff;

    color: #159cf4;

    font-size: 25px;
    line-height: 1;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.solution-detail-card summary:hover .solution-arrow {
    background: #159cf4;
    color: #ffffff;

    transform: translateX(2px);
}

.solution-detail-card[open] .solution-arrow {
    background: #159cf4;
    color: #ffffff;
}


/* =====================================================
   CONTENUTO ESPANSO
===================================================== */

.solution-expanded {
    padding: 0 30px 32px 144px;

    border-top: 1px solid #edf2f6;
}

.solution-expanded > div:first-child {
    padding-top: 28px;
}

.solution-expanded h3 {
    margin: 0 0 10px;

    color: #0d2341;

    font-size: 21px;
}

.solution-expanded > div:first-child > p {
    max-width: 760px;

    margin: 0 0 25px;

    color: #5a6d82;

    font-size: 15px;
    line-height: 1.65;
}


/* =====================================================
   DETTAGLI INTERNI
===================================================== */

.solution-expanded-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.solution-expanded-grid > div {
    padding: 18px 20px;

    background: #f7fafc;

    border: 1px solid #e8eef4;
    border-radius: 10px;
}

.solution-expanded-grid strong {
    display: block;

    margin-bottom: 6px;

    color: #0d2341;

    font-size: 15px;
}

.solution-expanded-grid span {
    display: block;

    color: #617287;

    font-size: 13px;
    line-height: 1.5;
}


/* =====================================================
   ANCORAGGIO HEADER / HOME
===================================================== */

.solution-detail-card {
    scroll-margin-top: 120px;
}

.solution-detail-card:target {
    border-color: #159cf4;
}


/* =====================================================
   CTA FINALE
===================================================== */

.solutions-cta {
    background: #0b2947;

    padding: 65px 0;
}

.solutions-cta-container {
    width: min(1400px, 90%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.solutions-cta-container > div {
    max-width: 780px;
}

.solutions-cta-container > div > span {
    display: block;

    margin-bottom: 10px;

    color: #8ed2ff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.solutions-cta h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(30px, 3vw, 44px);
}

.solutions-cta p {
    margin: 0;

    color: rgba(255,255,255,0.78);

    font-size: 16px;
    line-height: 1.6;
}

.solutions-cta a {
    min-height: 52px;

    padding: 0 27px;

    display: inline-flex;
    align-items: center;
    gap: 15px;

    border-radius: 28px;

    background: #159cf4;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.solutions-cta a:hover {
    background: #078be0;
    transform: translateY(-2px);
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 1050px) {

    .solutions-page-container {
        grid-template-columns: 1fr;
    }

    .solution-detail-wide {
        grid-column: auto;
    }

}


/* =====================================================
   RESPONSIVE - TABLET PICCOLO
===================================================== */

@media (max-width: 800px) {

    .solutions-hero {
        min-height: 300px;
    }

    .solution-detail-card summary {
        grid-template-columns: 70px 1fr 44px;
        gap: 18px;

        padding: 24px;
    }

    .solution-detail-icon {
        width: 68px;
        height: 68px;

        border-radius: 14px;
    }

    .solution-detail-icon svg {
        width: 34px;
        height: 34px;
    }

    .solution-expanded {
        padding:
            0 24px 28px 112px;
    }

    .solutions-cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =====================================================
   RESPONSIVE - SMARTPHONE
===================================================== */

@media (max-width: 650px) {

    .solutions-hero {
        min-height: 300px;
        padding: 45px 0;
    }

    .solutions-hero h1 {
        font-size: 46px;
        letter-spacing: -1px;
    }

    .solutions-hero p {
        font-size: 16px;
    }

    .solutions-page {
        padding: 45px 0 60px;
    }

    .solution-detail-card summary {
        grid-template-columns: 58px 1fr;
        gap: 15px;

        padding: 20px;
    }

    .solution-detail-icon {
        width: 56px;
        height: 56px;
    }

    .solution-detail-icon svg {
        width: 29px;
        height: 29px;
    }

    .solution-arrow {
        position: absolute;

        right: 18px;
        top: 18px;

        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    .solution-detail-main {
        padding-right: 38px;
    }

    .solution-detail-main h2 {
        font-size: 21px;
    }

    .solution-detail-main > p {
        font-size: 14px;
    }

    .solution-preview-list {
        grid-column: 1 / -1;
    }

    .solution-expanded {
        padding: 0 20px 24px;
    }

    .solution-expanded-grid {
        grid-template-columns: 1fr;
    }

    .solutions-cta {
        padding: 50px 0;
    }

}

/* =====================================================
   PAGINA REALIZZAZIONI
===================================================== */


/* =====================================================
   HERO REALIZZAZIONI
===================================================== */

.projects-hero {
    position: relative;
    min-height: 330px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 48, 0.96) 0%,
            rgba(4, 30, 56, 0.88) 48%,
            rgba(4, 28, 51, 0.55) 100%
        ),
        url("../images/hero/hero-realizzazioni.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.projects-hero-content {
    width: min(1400px, 90%);
    margin: 0 auto;

    color: #ffffff;
}

.projects-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 16px;

    color: #d8edf9;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.projects-eyebrow::before {
    content: "";

    width: 30px;
    height: 2px;

    background: #19a8ff;
}

.projects-hero h1 {
    max-width: 800px;

    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(46px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.projects-hero h1 strong {
    color: #19a8ff;
}

.projects-hero p {
    max-width: 720px;

    margin: 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 18px;
    line-height: 1.6;
}


/* =====================================================
   AREA REALIZZAZIONI
===================================================== */

.projects-page {
    background: #f4f8fb;
    padding: 75px 0 95px;
}

.projects-container {
    width: min(1400px, 90%);
    margin: 0 auto;

    display: grid;
    gap: 28px;
}


/* =====================================================
   CARD REALIZZAZIONE
===================================================== */

.project-card {
    display: grid;
    grid-template-columns: 40% 60%;

    min-height: 330px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1eaf2;
    border-radius: 18px;

    box-shadow:
        0 10px 28px rgba(13, 35, 65, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);

    border-color: #cbdceb;

    box-shadow:
        0 16px 38px rgba(13, 35, 65, 0.09);
}


/* card alternate */

.project-card-reverse {
    grid-template-columns: 60% 40%;
}

.project-card-reverse .project-image {
    order: 2;
}

.project-card-reverse .project-content {
    order: 1;
}


/* =====================================================
   FOTO REALIZZAZIONE
===================================================== */

.project-image {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 330px;

    overflow: hidden;

    background: #dfe8f0;
}

.project-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(8, 35, 61, 0.02) 0%,
            rgba(8, 35, 61, 0.14) 100%
        );

    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;

    min-height: 330px;

    object-fit: cover;
    object-position: center;

    transition: transform 0.45s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.035);
}


/* =====================================================
   CONTENUTO CARD
===================================================== */

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 42px 48px;
}

.project-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: #159cf4;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.project-label::before {
    content: "";

    width: 26px;
    height: 2px;

    background: #159cf4;
}

.project-content h2 {
    margin: 0 0 7px;

    color: #0d2341;

    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.project-location {
    margin: 0 0 18px;

    color: #75879a;

    font-size: 14px;
    font-weight: 600;
}

.project-description {
    max-width: 700px;

    margin: 0 0 24px;

    color: #53687f;

    font-size: 16px;
    line-height: 1.65;
}


/* =====================================================
   TAG / CATEGORIE
===================================================== */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.project-tags span {
    display: inline-flex;
    align-items: center;

    min-height: 32px;

    padding: 0 13px;

    border-radius: 18px;

    background: #eef8ff;
    border: 1px solid #d6ebfa;

    color: #117fc0;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.2px;
}


/* =====================================================
   CTA SOCIAL FINALE
===================================================== */

.projects-social-cta {
    background: #0b2947;

    padding: 75px 0;
}

.projects-social-container {
    width: min(1400px, 90%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.projects-social-container > div:first-child {
    max-width: 800px;
}

.projects-social-container > div:first-child > span {
    display: block;

    margin-bottom: 10px;

    color: #8ed2ff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.projects-social-container h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.08;
}

.projects-social-container h2 strong {
    color: #19a8ff;
}

.projects-social-container p {
    max-width: 760px;

    margin: 0;

    color: rgba(255, 255, 255, 0.80);

    font-size: 16px;
    line-height: 1.7;
}


/* =====================================================
   BOTTONI SOCIAL
===================================================== */

.projects-social-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    flex-wrap: wrap;
}

.social-cta-btn {
    min-height: 50px;

    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    border-radius: 28px;

    background: #ffffff;

    color: #0b2947;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.social-cta-btn:hover {
    background: #159cf4;
    color: #ffffff;

    transform: translateY(-2px);
}


/* =====================================================
   RESPONSIVE REALIZZAZIONI - TABLET
===================================================== */

@media (max-width: 1050px) {

    .project-card,
    .project-card-reverse {
        grid-template-columns: 42% 58%;
    }

    .project-card-reverse .project-image {
        order: 2;
    }

    .project-content {
        padding: 35px 34px;
    }

    .projects-social-container {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =====================================================
   RESPONSIVE REALIZZAZIONI - TABLET PICCOLO
===================================================== */

@media (max-width: 820px) {

    .project-card,
    .project-card-reverse {
        grid-template-columns: 1fr;
    }

    .project-card-reverse .project-image,
    .project-card-reverse .project-content {
        order: initial;
    }

    .project-image,
    .project-image img {
        min-height: 300px;
        height: 300px;
    }

    .project-content {
        padding: 30px;
    }

}


/* =====================================================
   RESPONSIVE REALIZZAZIONI - SMARTPHONE
===================================================== */

@media (max-width: 650px) {

    .projects-hero {
        min-height: 300px;
        padding: 45px 0;
    }

    .projects-hero h1 {
        font-size: 46px;
        letter-spacing: -1px;
    }

    .projects-hero p {
        font-size: 16px;
    }

    .projects-page {
        padding: 50px 0 65px;
    }

    .projects-container {
        gap: 22px;
    }

    .project-card {
        border-radius: 14px;
    }

    .project-image,
    .project-image img {
        min-height: 240px;
        height: 240px;
    }

    .project-content {
        padding: 24px 22px 28px;
    }

    .project-content h2 {
        font-size: 29px;
    }

    .project-description {
        font-size: 15px;
    }

    .projects-social-cta {
        padding: 55px 0;
    }

    .projects-social-actions {
        width: 100%;
    }

    .social-cta-btn {
        width: 100%;
        justify-content: center;
    }

}

/* =========================================
   CERTIFICAZIONI
========================================= */

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.certification-card {
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dce6ef;
    border-radius: 10px;
    box-sizing: border-box;
}

.certification-card img {
    display: block;
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 85px;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 850px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smartphone */
@media (max-width: 550px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   SLIDER REALIZZAZIONI
===================================================== */

.project-slider {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 330px;

    overflow: hidden;

    background: #eef3f7;
}


/* Necessario per le card alternate */

.project-card-reverse .project-slider {
    order: 2;
}

.project-card-reverse .project-content {
    order: 1;
}


/* CONTENITORE SLIDE */

.project-slides {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 330px;
}


/* SINGOLA SLIDE */

.project-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

.project-slide.active {
    opacity: 1;
    visibility: visible;
}


/* FOTO */

.project-slide img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 330px;

    object-fit: cover;
    object-position: center;

    transition: transform 0.45s ease;
}

.project-card:hover .project-slide.active img {
    transform: scale(1.025);
}


/* PRIMA SLIDE = LOGO */

.project-logo-slide {
    background: #ffffff;
}

.project-logo-slide img {
    object-fit: contain;

    padding: 45px;

    background: #ffffff;
}


/* =====================================================
   FRECCE
===================================================== */

.project-slider-btn {
    position: absolute;
    top: 50%;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: none;
    border-radius: 50%;

    background: rgba(7, 31, 55, 0.82);

    color: #ffffff;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    z-index: 10;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.project-slider-btn:hover {
    background: #159cf4;
}

.project-slider-prev {
    left: 15px;
}

.project-slider-next {
    right: 15px;
}


/* =====================================================
   PALLINI
===================================================== */

.project-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 16px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 7px;

    z-index: 10;
}

.project-slider-dots button {
    width: 9px;
    height: 9px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.75);

    box-shadow:
        0 1px 5px rgba(0, 0, 0, 0.25);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.project-slider-dots button.active {
    width: 24px;

    border-radius: 10px;

    background: #159cf4;
}


/* =====================================================
   RESPONSIVE SLIDER
===================================================== */

@media (max-width: 820px) {

    .project-card-reverse .project-slider,
    .project-card-reverse .project-content {
        order: initial;
    }

    .project-slider,
    .project-slides,
    .project-slide img {
        height: 300px;
        min-height: 300px;
    }

}


@media (max-width: 650px) {

    .project-slider,
    .project-slides,
    .project-slide img {
        height: 240px;
        min-height: 240px;
    }

    .project-logo-slide img {
        padding: 30px;
    }

    .project-slider-btn {
        width: 36px;
        height: 36px;

        font-size: 22px;
    }

}

/* =====================================================
   PAGINA CONTATTI
===================================================== */


/* =====================================================
   HERO
===================================================== */

.contact-hero {
    position: relative;

    min-height: 370px;

    display: flex;
    align-items: center;

    background:
        url("../images/hero/hero-contatti.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 48, 0.96) 0%,
            rgba(4, 30, 56, 0.82) 48%,
            rgba(4, 28, 51, 0.30) 100%
        );
}

.contact-hero-content {
    width: min(1400px, 90%);
    margin: 0 auto;

    position: relative;
    z-index: 2;

    color: #ffffff;
}

.contact-hero-content > span {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;

    color: #b7dcf4;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.contact-hero-content > span::before {
    content: "";

    width: 30px;
    height: 2px;

    background: #19a8ff;
}

.contact-hero h1 {
    max-width: 760px;

    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(50px, 5.5vw, 78px);
    line-height: 0.98;

    letter-spacing: -2px;
}

.contact-hero h1 strong {
    color: #19a8ff;
}

.contact-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,0.88);

    font-size: 18px;
    line-height: 1.6;
}


/* =====================================================
   GENERALE
===================================================== */

.contact-container {
    width: min(1400px, 90%);
    margin: 0 auto;
}


/* =====================================================
   DOVE SIAMO
===================================================== */

.contact-location {
    padding: 85px 0 95px;

    background: #ffffff;
}

.contact-section-heading {
    max-width: 780px;

    margin: 0 auto 40px;

    text-align: center;
}

.contact-section-heading > span {
    display: block;

    margin-bottom: 10px;

    color: #159cf4;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.contact-section-heading h2 {
    margin: 0 0 15px;

    color: #0d2341;

    font-size: clamp(34px, 3.5vw, 50px);
    line-height: 1.05;

    letter-spacing: -1px;
}

.contact-section-heading h2 strong {
    color: #159cf4;
}

.contact-section-heading p {
    margin: 0;

    color: #62748a;

    font-size: 16px;
}


/* MAPPA */

.contact-map {
    width: 100%;
    height: 480px;

    overflow: hidden;

    border-radius: 18px;

    border: 1px solid #dce6ef;

    box-shadow:
        0 15px 40px rgba(13, 35, 65, 0.08);
}

.contact-map iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* =====================================================
   CONTATTI + FORM
===================================================== */

.contact-main {
    padding: 90px 0;

    background: #f4f8fb;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;
}


/* =====================================================
   INFO
===================================================== */

.contact-info {
    padding-top: 15px;
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: #159cf4;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-label::before {
    content: "";

    width: 27px;
    height: 2px;

    background: #159cf4;
}

.contact-info > h2,
.contact-form-box > h2 {
    margin: 0 0 15px;

    color: #0d2341;

    font-size: clamp(34px, 3.5vw, 48px);

    line-height: 1.05;
}

.contact-intro,
.contact-form-box > p {
    max-width: 600px;

    margin: 0 0 35px;

    color: #607287;

    font-size: 16px;
    line-height: 1.65;
}


/* ELEMENTI CONTATTO */

.contact-info-list {
    display: grid;
    gap: 17px;
}

.contact-info-item {
    display: flex;
    align-items: center;

    gap: 18px;
}

.contact-info-icon {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eaf7ff;
}

.contact-info-icon svg {
    width: 25px;
    height: 25px;

    fill: none;

    stroke: #159cf4;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-item strong {
    display: block;

    margin-bottom: 3px;

    color: #0d2341;

    font-size: 15px;
}

.contact-info-item p {
    margin: 0;

    color: #617287;

    font-size: 14px;
    line-height: 1.45;
}

.contact-info-item a {
    color: #617287;

    text-decoration: none;
}

.contact-info-item a:hover {
    color: #159cf4;
}


/* =====================================================
   ORARI
===================================================== */

.contact-hours {
    margin-top: 38px;

    padding: 27px;

    border-radius: 14px;

    background: #0b2947;

    color: #ffffff;
}

.contact-hours > span {
    display: block;

    margin-bottom: 18px;

    color: #8dd2ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.contact-hours > div {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.12);
}

.contact-hours > div:last-child {
    border-bottom: 0;
}

.contact-hours strong {
    font-size: 14px;
}

.contact-hours p {
    margin: 0;

    color: rgba(255,255,255,0.72);

    font-size: 14px;
}


/* =====================================================
   FORM
===================================================== */

.contact-form-box {
    padding: 42px;

    background: #ffffff;

    border: 1px solid #e1eaf2;
    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(13, 35, 65, 0.06);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #0d2341;

    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d7e1ea;
    border-radius: 9px;

    outline: none;

    color: #0d2341;

    font-family: inherit;
    font-size: 14px;

    background: #fbfdff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input {
    min-height: 49px;
}

.form-group textarea {
    resize: vertical;

    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #159cf4;

    box-shadow:
        0 0 0 3px rgba(21, 156, 244, 0.10);
}


/* PRIVACY */

.contact-privacy {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #64768b;

    font-size: 12px;
    line-height: 1.5;
}

.contact-privacy input {
    margin-top: 2px;
}


/* PULSANTE */

.contact-submit {
    justify-self: start;

    min-height: 50px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;

    gap: 15px;

    border: none;
    border-radius: 28px;

    background: #159cf4;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-submit:hover {
    background: #078be0;

    transform: translateY(-2px);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 950px) {

    .contact-main-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 700px) {

    .contact-hero {
        min-height: 330px;
    }

    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-location,
    .contact-main {
        padding: 60px 0;
    }

    .contact-map {
        height: 380px;
    }

    .contact-form-box {
        padding: 28px 22px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-hours > div {
        flex-direction: column;

        gap: 4px;
    }

}

/* =====================================================
   GALLERIA REALIZZAZIONI + LIGHTBOX
===================================================== */

.project-gallery-slider {
    width: 100%;
    max-width: 440px;
    margin-top: 22px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.project-gallery-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.project-gallery-track {
    display: flex;
    gap: 8px;
    will-change: transform;
    transition: transform 0.35s ease;
}

.project-gallery-item {
    flex: 0 0 calc((100% - 24px) / 4);
    height: 65px;

    padding: 0;
    overflow: hidden;

    border: 1px solid #d8e3ec;
    border-radius: 8px;

    background: #f4f8fb;
    cursor: pointer;
    appearance: none;
}

.project-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.project-gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.92);
}

/* Frecce miniature: compaiono solo quando servono */
.project-gallery-nav {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #0b2947;
    color: #ffffff;

    font-size: 20px;
    line-height: 1;
    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}

.project-gallery-nav:hover {
    background: #159cf4;
}

.project-gallery-nav:disabled {
    opacity: 0.28;
    cursor: default;
}

/* =====================================================
   LIGHTBOX FOTO GRANDE
===================================================== */

.project-lightbox {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 35px 80px;

    background: rgba(3, 18, 32, 0.92);
    z-index: 99999;
}

.project-lightbox.active {
    display: flex;
}

.project-lightbox-inner {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: 1200px;
    max-height: 90vh;
}

.project-lightbox img {
    display: block;

    max-width: 82vw;
    max-height: 80vh;

    width: auto;
    height: auto;

    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.45);
}

.project-lightbox-caption {
    margin-top: 12px;

    color: #ffffff;
    text-align: center;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.project-lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #159cf4;
    color: #ffffff;

    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
}

.project-lightbox-nav {
    position: fixed;
    top: 50%;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;

    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;

    transition: background 0.2s ease;
}

.project-lightbox-nav:hover {
    background: #159cf4;
}

.project-lightbox-prev {
    left: 25px;
}

.project-lightbox-next {
    right: 25px;
}

/* =====================================================
   RESPONSIVE GALLERIA
===================================================== */

@media (max-width: 650px) {
    .project-gallery-slider {
        max-width: 100%;
    }

    .project-gallery-item {
        flex-basis: calc((100% - 16px) / 3);
        height: 62px;
    }

    .project-lightbox {
        padding: 25px 55px;
    }

    .project-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 27px;
    }

    .project-lightbox-prev {
        left: 8px;
    }

    .project-lightbox-next {
        right: 8px;
    }

    .project-lightbox-close {
        top: -15px;
        right: -5px;
    }
}

@media (max-width: 480px) {
    .project-gallery-item {
        flex-basis: calc((100% - 8px) / 2);
        height: 70px;
    }
}



/* =====================================================
   FOOTER TECNEL - VERSIONE DEFINITIVA 2026
   Override finale: mantiene intatto il resto del sito
===================================================== */

.site-footer {
    width: 100%;
    padding: 0;
    background: #071f37;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-container {
    width: min(1400px, 90%);
    margin: 0 auto;
    padding: 32px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.footer-brand {
    flex: 0 0 auto;
}

.footer-brand img {
    width: 230px;
    max-width: 230px;
    height: auto;
}

.footer-divider {
    width: 1px;
    height: 72px;
    flex: 0 0 1px;
    background: rgba(204, 215, 226, 0.45);
}

/* CONTATTI */

.footer-contacts {
    color: rgba(255, 255, 255, 0.90);
    font-size: 13px;
    line-height: 1.75;
}

.footer-contacts p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.90);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contacts a:hover {
    color: #19a8ff;
}

.footer-symbol {
    color: #19a8ff;
    min-width: 17px;
    text-align: center;
}

/* WHATSAPP */

.footer-whatsapp-row a:hover {
    color: #25d366;
}

.footer-whatsapp-icon {
    width: 17px;
    height: 17px;
    min-width: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
}

.footer-whatsapp-icon svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

/* SITO */

.footer-web a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #19a8ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer-web a:hover {
    color: #ffffff;
}

.footer-globe {
    font-size: 20px;
}

/* SOCIAL */

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    background: #ffffff;
    color: #071f37;
    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: #159cf4;
    color: #ffffff;
    border-color: #159cf4;
}

.social-icon.facebook {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.social-icon.linkedin {
    font-size: 14px;
    letter-spacing: -0.5px;
}

.social-icon.youtube {
    font-size: 13px;
}

/* PAYOFF */

.footer-payoff {
    color: rgba(255, 255, 255, 0.90);
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
}

.footer-payoff p {
    margin: 0;
}

/* FASCIA COPYRIGHT / DATI SOCIETARI */

.footer-legal {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #051a2d;
}

.footer-legal-container {
    width: min(1400px, 90%);
    margin: 0 auto;
    padding: 13px 0 14px;
}

.footer-legal p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
}

.footer-legal a {
    color: #8ed2ff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* TABLET */

@media (max-width: 1100px) {

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 24px 38px;
        padding: 30px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
        width: auto;
        margin-bottom: 0;
    }

    .footer-divider {
        display: none;
    }

    .footer-web,
    .footer-social,
    .footer-payoff,
    .footer-contacts {
        min-width: 0;
    }

    .footer-legal p {
        text-align: left;
    }
}

/* SMARTPHONE */

@media (max-width: 700px) {

    .site-footer {
        padding: 0;
    }

    .footer-container {
        width: min(90%, 520px);
        padding: 30px 0;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-brand {
        width: auto;
        margin-bottom: 0;
    }

    .footer-brand img {
        width: 200px;
    }

    .footer-contacts p {
        white-space: normal;
        align-items: flex-start;
    }

    .footer-web a {
        white-space: normal;
    }

    .footer-social {
        gap: 10px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .footer-payoff {
        white-space: normal;
    }

    .footer-legal-container {
        width: 90%;
        padding: 14px 0 16px;
    }

    .footer-legal p {
        text-align: left;
        font-size: 10px;
        line-height: 1.7;
    }

    .footer-legal a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
/* =====================================================
   CONTATTI - INFORMATIVA PRIVACY MODALE
===================================================== */

.contact-privacy-note {
    margin: 4px 0 22px;
    color: #66788c;
    font-size: 13px;
    line-height: 1.6;
}

.privacy-link {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: #159cf4;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.privacy-link:hover {
    color: #078be0;
}


/* FINESTRA */

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.privacy-modal.active {
    display: flex;
}

.privacy-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(3, 18, 32, 0.82);
    backdrop-filter: blur(3px);
}


/* CONTENITORE INFORMATIVA */

.privacy-modal-dialog {
    position: relative;
    z-index: 2;

    width: min(680px, 100%);
    max-height: 85vh;
    overflow-y: auto;

    padding: 38px 42px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.28);
}

.privacy-modal-label {
    display: block;

    margin-bottom: 9px;

    color: #159cf4;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.privacy-modal-dialog h2 {
    margin: 0 45px 24px 0;

    color: #0d2341;

    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}


/* TESTO */

.privacy-modal-content {
    color: #5b6e83;

    font-size: 14px;
    line-height: 1.65;
}

.privacy-modal-content p {
    margin: 0 0 18px;
}

.privacy-modal-content strong {
    color: #0d2341;
}

.privacy-modal-content a {
    color: #159cf4;
    text-decoration: none;
    font-weight: 600;
}

.privacy-modal-content a:hover {
    text-decoration: underline;
}


/* X CHIUSURA */

.privacy-modal-close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #eef8ff;
    color: #159cf4;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.privacy-modal-close:hover {
    background: #159cf4;
    color: #ffffff;
}


/* PULSANTE CHIUDI */

.privacy-modal-button {
    min-height: 44px;

    margin-top: 5px;
    padding: 0 24px;

    border: 0;
    border-radius: 24px;

    background: #159cf4;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.privacy-modal-button:hover {
    background: #078be0;
    transform: translateY(-1px);
}


/* MOBILE */

@media (max-width: 650px) {

    .privacy-modal {
        padding: 18px;
    }

    .privacy-modal-dialog {
        max-height: 88vh;
        padding: 30px 24px;
        border-radius: 13px;
    }

    .privacy-modal-dialog h2 {
        margin-right: 35px;
        font-size: 23px;
    }

    .privacy-modal-close {
        top: 15px;
        right: 15px;

        width: 34px;
        height: 34px;

        font-size: 22px;
    }

}

/* ==============================
   CITAZIONE GIUSEPPE ADINOLFI
   ============================== */

.company-quote {
    margin-top: 32px;
    padding: 4px 0 4px 22px;
    border-left: 3px solid #159cf4;
    max-width: 650px;
}

.company-quote p {
    margin: 0 0 12px;
    color: #0d2341;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
    font-style: italic;
}

.company-quote span {
    display: block;
    color: #159cf4;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .company-quote {
        margin-top: 25px;
        padding-left: 17px;
    }

    .company-quote p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* =========================================
   MENU MOBILE TECNEL
========================================= */

@media (max-width: 900px) {

    .site-header .header-container {
        position: relative;
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px 20px;

        background: #06233f;
        border-radius: 0 0 12px 12px;

        box-shadow: 0 15px 30px rgba(0,0,0,0.25);

        z-index: 2000;
    }

    .site-header .main-nav.menu-open {
        display: flex;
    }

    .site-header .main-nav a {
        padding: 15px 5px;
        border-bottom: 1px solid rgba(255,255,255,0.10);
    }

    .site-header .main-nav a:last-child {
        border-bottom: none;
    }

    .site-header .main-nav a.active::after {
        display: none;
    }

    .mobile-menu-button {
        position: relative;
        z-index: 2001;
        padding: 8px;
    }
}

/* TEST PULSANTE HAMBURGER */
@media (max-width: 900px) {
    .mobile-menu-button {
        position: relative;
        z-index: 99999 !important;
        pointer-events: auto !important;
    }
}