﻿/* ================= RESET BASE ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= VARIABILI COLORE ================= */

:root {
    --color-primary: #16213e;
    --color-secondary: #2447f9;
    --color-accent: #5a6cff;
    --color-dark: #0d111f;
    --color-light: #f5f7fb;
    --color-white: #ffffff;
    --color-text: #1a1f2b;
    --color-text-soft: #5b6475;
    --color-border: rgba(255, 255, 255, 0.12);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s ease;
}

/* ================= BASE PAGINA ================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
}

    body.overlay-open {
        overflow: hidden;
    }

/* ================= ELEMENTI BASE ================= */

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

section {
    position: relative;
}

/* ================= CONTENITORE ================= */

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* ================= UTILITIES ================= */

.text-center {
    text-align: center;
}

.edge-left {
    max-width: 760px;
    margin-right: auto;
}

.edge-right {
    max-width: 760px;
    margin-left: auto;
    text-align: right;
}

    .edge-right p,
    .edge-right .section-tag,
    .edge-right h2 {
        margin-left: auto;
    }

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(245, 246, 250, 0.2);
    backdrop-filter: blur(12px);
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

    .header.scrolled {
        background: rgba(235, 237, 243, 0.5);
        backdrop-filter: blur(14px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    }

    .header::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: min(1240px, calc(100% - 40px));
        height: 1px;
        background: rgba(74, 63, 151, 0.08);
    }

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 60px;
        width: auto;
        filter: brightness(0) saturate(100%);
    }

/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 13px;
}

.header-linkedin {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0a66c2;
    box-shadow: 0 6px 18px rgba(10,102,194,0.25);
    transition: all 0.25s ease;
}

    .header-linkedin svg {
        width: 18px;
        height: 18px;
        fill: #ffffff;
    }

    .header-linkedin:hover {
        background: #0d74da;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(10,102,194,0.35);
    }

/* NAV */

.nav ul {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav li {
    position: relative;
    padding: 0 12px;
}

    .nav li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 16px;
        background: rgba(74, 63, 151, 0.25);
    }

.nav a {
    position: relative;
    display: inline-block;
    color: #4a3f97;
    font-size: 26px;
    line-height: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color var(--transition), opacity var(--transition), transform 0.28s ease;
}

    .nav a:hover {
        color: #4a3f97;
        opacity: 1;
    }

    .nav a:hover,
    .nav a.is-active {
        transform: translateY(-1px);
    }

    .nav a::after {
        content: "";
        position: absolute;
        left: -8px;
        right: -8px;
        bottom: 3px;
        height: 14px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
        opacity: 0;
        transform: translateY(4px) scaleX(0.86);
        transform-origin: center;
        transition: opacity 0.28s ease, transform 0.32s ease;
    }

    .nav a:hover::after,
    .nav a.is-active::after {
        opacity: 1;
        transform: translateY(0) scaleX(1);
    }

/* MENU TOGGLE */

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
}

    .menu-toggle span {
        width: 20px;
        height: 2px;
        background: var(--color-primary);
        border-radius: 999px;
        transition: transform var(--transition), opacity var(--transition);
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.24);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

/* Dropdown menu Settori */

.menu-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    list-style: none;
    min-width: 260px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1000;
    display: block !important;
}

    .dropdown-menu li {
        display: block;
        width: 100%;
        display: block !important;
    }

        .dropdown-menu li:not(:last-child) {
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

    .dropdown-menu a {
        display: block;
        padding: 10px 18px;
        font-size: 14px;
        color: #1f1f1f;
        text-decoration: none;
        white-space: nowrap;
    }

        .dropdown-menu a:hover {
            background: rgba(74,63,151,0.08);
            color: #4a3f97;
        }



.menu-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mostra dropdown al hover */
.menu-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================= BUTTONS ================= */

.btn-primary {
    background: rgba(255, 255, 255, 0.96);
    color: #2e2269;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.96);
    box-shadow: none;
}

    .btn-primary:hover {
        background: #ffffff;
        color: #20174d;
        box-shadow: 0 14px 28px rgba(16, 10, 44, 0.16);
        transform: translateY(-1px);
    }

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: var(--color-white);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
}

    .btn-secondary:hover {
        background: var(--color-white);
        color: var(--color-dark);
    }

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/hero.webp");
    background-size: cover;
    background-position: center;
    color: var(--color-primary);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    position: relative;
    z-index: 5;
}

.hero h1 {
    color: var(--color-primary);
}

.hero p {
    color: rgba(10, 16, 31, 0.75);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-kicker {
    color: var(--color-secondary);
}

.hero-overlay-lines {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.00) 28%), linear-gradient(300deg, rgba(90, 108, 255, 0.14) 0%, rgba(90, 108, 255, 0.00) 35%);
    pointer-events: none;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 108, 255, 0.22) 0%, rgba(90, 108, 255, 0) 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 140px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.00));
    transform: rotate(45deg);
    pointer-events: none;
}

.hero-diagonal {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #ffffff 72%, rgba(255, 255, 255, 0.94) 100%);
    clip-path: polygon(0 58%, 100% 0, 100% 100%, 0 100%);
    z-index: 3;
    overflow: hidden;
}

.hero-diagonal-fan {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.95;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 220' preserveAspectRatio='none'>\
<defs>\
<linearGradient id='fadeLine' x1='0' y1='0' x2='1' y2='0'>\
<stop offset='0%' stop-color='rgba(36,71,249,0.28)'/>\
<stop offset='55%' stop-color='rgba(36,71,249,0.16)'/>\
<stop offset='100%' stop-color='rgba(36,71,249,0.00)'/>\
</linearGradient>\
</defs>\
<path d='M -40 150 Q 240 130 1620 50' stroke='url(%23fadeLine)' stroke-width='1.4' fill='none'/>\
<path d='M -40 165 Q 280 150 1620 90' stroke='url(%23fadeLine)' stroke-width='1.2' fill='none'/>\
<path d='M -40 180 Q 320 178 1620 120' stroke='url(%23fadeLine)' stroke-width='1.1' fill='none'/>\
<path d='M -40 195 Q 360 204 1620 148' stroke='url(%23fadeLine)' stroke-width='1.0' fill='none'/>\
<path d='M -40 212 Q 420 220 1620 180' stroke='url(%23fadeLine)' stroke-width='0.9' fill='none'/>\
</svg>");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
}

.hero .btn-primary,
.hero .btn-secondary {
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: none;
}

.hero .btn-primary {
    background: rgba(255, 255, 255, 0.96);
    color: #2e2269;
    border: 1px solid rgba(255, 255, 255, 0.96);
}

    .hero .btn-primary:hover {
        background: #ffffff;
        color: #20174d;
        box-shadow: 0 14px 28px rgba(16, 10, 44, 0.16);
        transform: translateY(-1px);
    }

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #2e2269;
    border: 1px solid rgba(74, 63, 151, 0.28);
    backdrop-filter: blur(6px);
}

    .hero .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.18);
        color: #20174d;
        border-color: rgba(74, 63, 151, 0.42);
        box-shadow: 0 14px 28px rgba(16, 10, 44, 0.10);
        transform: translateY(-1px);
    }

/* ================= HERO GRAPHIC TITLE ================= */

.hero-title-graphic {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0;
}

.hero-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

.hero-title-highlight {
    position: relative;
}

/* ================= ABOUT ================= */

.about {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/Pag2.webp");
    background-size: cover;
    background-position: center;
}

.about-container {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 34px;
    align-items: start;
}

.about h2 {
    font-size: 54px;
    line-height: 1.05;
    margin-bottom: 26px;
    color: var(--color-primary);
    letter-spacing: -0.8px;
}

.about-text p {
    margin-bottom: 18px;
    color: rgba(20, 26, 42, 0.88);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
}

.about-side {
    display: grid;
    gap: 18px;
}

.about-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(22, 33, 62, 0.08);
    backdrop-filter: blur(4px);
}

    .about-card h3 {
        margin-bottom: 10px;
        font-size: 18px;
        color: rgba(20, 26, 42, 0.95);
    }

    .about-card p {
        font-size: 15px;
        color: rgba(20, 26, 42, 0.76);
        line-height: 1.65;
    }

.about-brochure-title {
    max-width: 660px;
    margin-left: auto;
    text-align: right;
}

    .about-brochure-title h2 {
        position: relative;
        display: inline-block;
        margin-bottom: 34px;
        font-size: 0;
        line-height: 1;
        letter-spacing: 0;
    }

.about-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

.about-title-highlight {
    position: relative;
}

    .about-title-highlight::after {
        content: "";
        position: absolute;
        left: 325px;
        right: -12px;
        bottom: 10px;
        height: 34px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
    }

/* ================= SECTION HEADING ================= */

.section-tag {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--color-secondary);
}

.section-heading {
    max-width: 860px;
    margin-bottom: 52px;
}

    .section-heading.text-center {
        text-align: start;
    }

    .section-heading h2 {
        font-size: 52px;
        line-height: 1.06;
        color: var(--color-primary);
        margin-bottom: 20px;
        letter-spacing: -0.8px;
        max-width: 900px;
        text-align: start;
    }

    .section-heading p {
        font-size: 17px;
        line-height: 1.75;
        color: var(--color-text-soft);
        max-width: 760px;
        text-align: start;
    }

/* ================= SERVICES ================= */

.services {
    padding: 100px 0 110px;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/Pag3a.jpg");
    background-size: cover;
    background-position: center;
}

.services-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: start;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.services .section-heading p {
    font-weight: 600;
    color: rgba(20, 26, 42, 0.88);
}

.services-title {
    position: relative;
    display: inline-block;
    margin-bottom: 34px;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0;
}

.services-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

.services-title-highlight {
    position: relative;
}

    .services-title-highlight::after {
        content: "";
        position: absolute;
        left: 320px;
        right: -10px;
        bottom: 10px;
        height: 34px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
    }

.services .section-heading h2.services-title {
    max-width: none;
    text-align: start;
}

.service-card {
    position: relative;
    padding: 30px 26px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(22, 33, 62, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
        opacity: 0.9;
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
        border-color: rgba(36, 71, 249, 0.14);
    }

    .service-card h3 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 14px;
        color: var(--color-primary);
    }

    .service-card p {
        font-size: 15px;
        color: var(--color-text-soft);
    }

/* ================= STRENGTHS ================= */

.strengths {
    padding: 95px 0 105px;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/Pag4.webp");
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
}

    .strengths .section-heading {
        margin-left: 0;
        margin-right: auto;
    }

    .strengths .section-tag {
        color: rgba(255, 255, 255, 0.78);
    }

    .strengths .section-heading h2 {
        color: var(--color-white);
    }

    .strengths .section-heading p {
        font-size: 17px;
        line-height: 1.8;
        font-weight: 600;
        color: #000000;
    }

.strengths-title {
    position: relative;
    display: inline-block;
    margin-bottom: 26px;
    font-size: 0;
    line-height: 1;
}

.strengths-title-highlight {
    position: relative;
    z-index: 2;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

    .strengths-title-highlight::after {
        content: "";
        position: absolute;
        left: 505px;
        right: -12px;
        bottom: 10px;
        height: 34px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
    }

.strengths-text {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: #000000;
    max-width: 760px;
}

.strengths-intro {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: #000000;
    max-width: 760px;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.strength-card {
    position: relative;
    padding: 28px 22px;
    min-height: 240px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
    text-align: center;
}

    .strength-card:hover {
        transform: translateY(-6px);
        background: rgba(255, 255, 255, 0.11);
        border-color: rgba(140, 170, 255, 0.35);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    }

.strength-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

    .strength-icon svg {
        width: 40px;
        height: 40px;
        fill: none;
        stroke: #4a3f97;
        stroke-width: 2;
    }

.strength-card:hover .strength-icon {
    transform: translateY(-2px) scale(1.05);
}

    .strength-card:hover .strength-icon svg {
        stroke: rgba(255, 255, 255, 1);
        filter: drop-shadow(0 0 4px rgba(120, 160, 255, 0.35)) drop-shadow(0 0 10px rgba(90, 108, 255, 0.25));
        transform: scale(1.05);
    }

.strength-card h3 {
    font-size: 19px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: #000000;
}

.strength-card p {
    font-size: 15px;
    color: #000000;
}
/* ================= OPERATIONS ================= */

.operations {
    padding: 100px 0 110px;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/Pag5.webp");
    background-size: cover;
    background-position: center;
}

.operations-layout {
    display: block;
}

.operations-top {
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 42px;
}

.operations-heading {
    max-width: 760px;
    margin-bottom: 0;
    margin-left: auto;
    text-align: right;
}

.operations-title {
    position: relative;
    display: inline-block;
    margin-bottom: 34px;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0;
}

.operations-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

.operations-title-highlight {
    position: relative;
}

    .operations-title-highlight::after {
        content: "";
        position: absolute;
        left: -12px;
        right: -12px;
        bottom: 10px;
        height: 34px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
    }

.operations .section-heading h2.operations-title {
    max-width: none;
    text-align: right;
    margin-left: auto;
}

.operations .section-heading p.operations-intro {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: #000000;
    max-width: 760px;
    text-align: right;
    margin-left: auto;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 360px));
    gap: 22px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.operation-card {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 2px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.92);
    border-right: 4px solid #4a3f97;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

    .operation-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
        border-color: rgba(36, 71, 249, 0.16);
        border-right: 6px solid #4a3f97;
       
    }

    .operation-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.70) 34%, rgba(255, 255, 255, 0.32) 68%, rgba(255, 255, 255, 0.18) 100% );
        z-index: 1;
        transition: opacity 0.3s ease;
    }

    .operation-card:hover::before {
        opacity: 0.88;
        background: rgba(255, 255, 255, 0.65);
    }

    .operation-card h3 {
        position: relative;
        z-index: 2;
        font-size: 16px;
        font-weight: 600;
        color: #4a3f97;
        padding-left: 12px;
        max-width: 220px;
    }

        .operation-card h3::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            bottom: 2px;
            width: 3px;
            background: #4a3f97;           
        }

/* IMMAGINI CARD AMBITI OPERATIVI */

.op-card-1 {
    background-image: url("../assets/img/rota.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.op-card-2 {
    background-image: url("../assets/img/trasp.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.op-card-3 {
    background-image: url("../assets/img/manip.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.op-card-4 {
    background-image: url("../assets/img/asse.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.compliance-box {
    padding: 22px 26px;
    border-left: 4px solid #4a3f97;
    background: rgba(255,255,255,0.80);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    max-width: 520px;
    margin-left: auto;
}

.operations-compliance {
    margin-top: 10px;
    margin-left: 0;
    margin-right: auto;
}

.compliance-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #4a3f97;
    text-align: center;
}

.compliance-text {
    font-size: 14px;
    line-height: 1.6;
    color: #2c2c2c;
    font-weight: 600;
    text-align: center;
}
    

/* ================= SYSTEMS ================= */

.systems {
    padding: 95px 0 105px;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/Pag7.webp");
    background-size: cover;
    background-position: center;
}

    .systems .section-heading {
        text-align: right;
    }

.systems-title {
    position: relative;
    display: inline-block;
    margin-bottom: 34px;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0;
    margin-left: auto;
}

.systems-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
    text-align: right;
}

.systems-title-highlight {
    position: relative;
}

    .systems-title-highlight::after {
        content: "";
        position: absolute;
        left: 50px;
        right: -12px;
        bottom: 10px;
        height: 34px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
    }

.systems .section-heading p.systems-intro {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: #000000;
    max-width: 760px;
    text-align: right;
    margin-left: auto;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.system-card {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 2px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.92);
    border-right: 4px solid #4a3f97;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

    .system-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
        border-right: 6px solid #4a3f97;
    }

    .system-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.70) 35%, rgba(255, 255, 255, 0.30) 70%, rgba(255, 255, 255, 0.15) 100% );
        z-index: 1;
    }

    .system-card:hover::before {
        background: rgba(255, 255, 255, 0.65);
    }

/* IMMAGINI CARDS STRUTTURE E IMPIANTI */

.bg-si1 {
    background-image: url("../assets/img/carp.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.bg-si2 {
    background-image: url("../assets/img/skid.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.bg-si3 {
    background-image: url("../assets/img/safe.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.bg-si4 {
    background-image: url("../assets/img/piping.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.bg-si5 {
    background-image: url("../assets/img/idro.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.bg-si6 {
    background-image: url("../assets/img/agri.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.system-card h3 {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 600;
    color: #4a3f97;
    max-width: 220px;
    padding-left: 12px;
}

    .system-card h3::before {
        content: "";
        position: absolute;
        left: 0;
        top: 2px;
        bottom: 2px;
        width: 3px;
        background: #4a3f97;
    }

.system-card p {
    font-size: 15px;
    color: var(--color-text-soft);
}

/* ================= PACKAGING ================= */


.sectors.packaging {
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/pack1.jpg");
    background-size: cover;
    background-position: center;
}

/* PACKAGING TITLE PERSONALIZZATO */

.packaging-title {
    text-align: left;
}

.packaging-highlight {
        position: relative;
}

    .packaging-highlight::after {
        content: "";
        position: absolute;
        left: -12px;
        right: 65px;
        bottom: 10px;
        height: 34px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
    }

.sectors-grid.packaging-grid {
    grid-template-columns: repeat(3, 1fr);
}

.sector-card.packaging-card {
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 2px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.92);
    border-right: 4px solid #4a3f97;
}

.packaging-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.35);
    z-index: 1;
    transition: background 0.3s ease;
}

.sector-card.packaging-card:hover {
        border-right: 6px solid #4a3f97;
}

.sector-card.packaging-card:hover::before {
    background: rgba(255, 255, 255, 0.65);
    
}

.sector-card.packaging-card h3 {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 600;
    color: #4a3f97;
    max-width: 180px;
    padding-left: 12px;
}

    .sector-card.packaging-card h3::before {
        content: "";
        position: absolute;
        left: 0;
        top: 2px;
        bottom: 2px;
        width: 3px;
        background: #4a3f97;
    }

.sector-card.packaging-card.bg-pp1 {
    background-image: url("../assets/img/food.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.sector-card.packaging-card.bg-pp2 {
    background-image: url("../assets/img/farma.jpg");
    background-size: auto 100%;
    background-position: right center;
}

.sector-card.packaging-card.bg-pp3 {
    background-image: url("../assets/img/igie.jpg");
    background-size: auto 100%;
    background-position: right center;
}

/* ================= SECTORS ================= */

.sectors {
    padding: 100px 0 105px;
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.52)), url("../assets/img/Pag10.webp");
    background-size: cover;
    background-position: center;
    }

    .sectors.technology {
        background: linear-gradient(rgba(255,255,255,0.32), rgba(255,255,255,0.52)), url("../assets/img/Pag10.webp");
        background-size: cover;
        background-position: center;
        transform: scaleX(-1);
    }

        .sectors.technology > * {
            transform: scaleX(-1);
        }

#technology .section-heading {
    margin-left: auto;
    text-align: right;
    max-width: 520px;
}

#technology .sectors-title {
    text-align: right;   
}

#technology .sectors-intro {
    text-align: right;    
}
    

.sectors-title {
    position: relative;
    display: inline-block;
    margin-bottom: 34px;
    font-size: 0;
    line-height: 1;
}

.sectors-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: 72px;
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
    

}

.sectors-title-highlight {
    position: relative;
}

    .sectors-title-highlight::after {
        content: "";
        position: absolute;
        left: 260px;
        right: -12px;
        bottom: 10px;
        height: 34px;
        background: rgba(168, 216, 244, 0.8);
        z-index: -1;
    }

.sectors .section-heading p.sectors-intro {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: #000000;
    max-width: 760px;
  
}

#technology .section-heading {
    margin-left: auto;
    text-align: right;
    max-width: 520px;
}

#technology .sectors-title,
#technology .sectors-intro {
    text-align: right;
}

.sectors-grid.technology-grid {
    grid-template-columns: repeat(3, 1fr);
}

.sector-card.technology-card {
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 2px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.92);
    border-right: 4px solid #4a3f97;
}

    .sector-card.technology-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.35);
        z-index: 1;
        transition: background 0.3s ease;
    }

    .sector-card.technology-card:hover::before {
        background: rgba(255, 255, 255, 0.65);
    }

    .sector-card.technology-card h3 {
        position: relative;
        z-index: 2;
        font-size: 16px;
        font-weight: 600;
        color: #4a3f97;
        max-width: 180px;
        padding-left: 12px;
    }

        .sector-card.technology-card h3::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            bottom: 2px;
            width: 3px;
            background: #4a3f97;
        }

    .sector-card.technology-card.bg-tec1 {
        background-image: url("../assets/img/auto.jpg");
        background-size: auto 100%;
        background-position: right center;
    }

    .sector-card.technology-card.bg-tec2 {
        background-image: url("../assets/img/aero.jpg");
        background-size: auto 100%;
        background-position: right center;
    }

    .sector-card.technology-card.bg-tec3 {
        background-image: url("../assets/img/ferro.jpg");
        background-size: auto 100%;
        background-position: right center;
    }

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

.sector-card {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(22, 33, 62, 0.08);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

    .sector-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
        border-color: rgba(36, 71, 249, 0.16);
        border-right: 6px solid #4a3f97;
    }

    .sector-card h3 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 12px;
        color: var(--color-primary);
    }

    .sector-card p {
        font-size: 15px;
        color: var(--color-text-soft);
    }

/* ================= CTA ================= */

.cta {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 20, 60, 0.65), rgba(10, 20, 60, 0.85)), url("../assets/img/hero.webp");
    background-size: cover;
    background-position: center;
}

    .cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.00)), linear-gradient(300deg, rgba(90, 108, 255, 0.12), rgba(90, 108, 255, 0.00));
        pointer-events: none;
    }

.cta-box {
    position: relative;
    padding: 64px 52px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(90deg, #8f92d8 0%, #5f4fb8 20%, #2e2269 100%);
    color: var(--color-white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

    .cta-box::before {
        content: "";
        position: absolute;
        top: -60px;
        right: -60px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(90, 108, 255, 0.26) 0%, rgba(90, 108, 255, 0) 70%);
        pointer-events: none;
    }

    .cta-box h2 {
        position: relative;
        z-index: 1;
        font-size: 42px;
        line-height: 1.12;
        margin-bottom: 16px;
        color: #c2e4f7;
    }

    .cta-box p {
        position: relative;
        z-index: 1;
        max-width: 720px;
        font-size: 16px;
        line-height: 1.8;
        font-weight: 600;
        color: #c2e4f7;
        margin-bottom: 32px;
    }

.cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        min-height: 52px;
        padding: 14px 24px;
        border-radius: 16px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.01em;
        box-shadow: none;
        transform: none;
    }

    .cta-buttons .btn-primary {
        background: rgba(255, 255, 255, 0.96);
        color: #2e2269;
        border: 1px solid rgba(255, 255, 255, 0.96);
    }

        .cta-buttons .btn-primary:hover {
            background: #ffffff;
            color: #20174d;
            box-shadow: 0 14px 28px rgba(16, 10, 44, 0.16);
            transform: translateY(-1px);
        }

    .cta-buttons .btn-secondary,
    .cta-buttons .btn-secondary-dark {
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        border: 1px solid rgba(194, 228, 247, 0.55);
        backdrop-filter: blur(6px);
    }

        .cta-buttons .btn-secondary:hover,
        .cta-buttons .btn-secondary-dark:hover {
            background: rgba(255, 255, 255, 0.14);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.72);
            box-shadow: 0 14px 28px rgba(16, 10, 44, 0.14);
            transform: translateY(-1px);
        }

.cta-legal {
    position: absolute;
    right: 20px;
    bottom: 15px;
    font-size: 12px;
    opacity: 0.8;
}

    .cta-legal a {
        color: #ffffff;
        text-decoration: none;
        margin-left: 8px;
    }

        .cta-legal a:hover {
            text-decoration: underline;
            opacity: 1;
        }



    #technology .section-heading {
        margin-top: 0;
    }

    #technology .container {
        width: min(1200px, calc(100% - 40px));
    }


/* ================= DIVISORI SEZIONI ================= */

.about,
.services,
.strengths,
.operations,
.systems,
.sectors,
.cta {
    position: relative;
}

    .about::after,
    .services::after,
    .strengths::after,
    .operations::after,
    .systems::after,
    .sectors::after,
    .cta::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-70%);
        width: min(1240px, calc(100% - 40px));
        height: 10px;
        background: linear-gradient( 90deg, rgba(36, 71, 249, 0) 0%, rgba(36, 71, 249, 0.36) 18%, rgba(36, 71, 249, 0.16) 82%, rgba(36, 71, 249, 0) 100% );
        pointer-events: none;
    }

/* ================= SERVICES OVERLAY ================= */

.service-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

    .service-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.service-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.48);
    backdrop-filter: blur(4px);
}

.service-overlay-panel {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border-radius: 30px;
    padding: 58px 54px 50px;
    background: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.58)), url("../assets/img/over1.webp");
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 90px rgba(7, 10, 24, 0.28);
    transform: translateY(26px);
    opacity: 0;
    transition: transform 0.36s ease, opacity 0.36s ease;
}

.service-overlay.is-open .service-overlay-panel {
    transform: translateY(0);
    opacity: 1;
}

.service-overlay-content {
    max-width: 760px;
    padding-bottom: 10px;
}

    .service-overlay-content::after {
        content: "";
        display: block;
        margin-top: 26px;
        width: 120px;
        height: 2px;
        background: rgba(74, 63, 151, 0.25);
    }

.service-overlay-title {
    margin: 0 0 22px;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 0.92;
    font-weight: 300;
    letter-spacing: -2.2px;
    color: #4a3f97;
}

.service-overlay-intro {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.service-overlay-block {
    margin-bottom: 28px;
}

    .service-overlay-block:last-of-type {
        margin-bottom: 0;
    }

    .service-overlay-block h3 {
        margin: 0 0 14px;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 600;
        color: #4a3f97;
    }

.service-overlay-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
}

    .service-overlay-list li {
        position: relative;
        padding-left: 20px;
        font-size: 16px;
        line-height: 1.75;
        font-weight: 600;
        color: rgba(20, 26, 42, 0.9);
    }

        .service-overlay-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 11px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: rgba(168, 216, 244, 0.95);
        }

.service-overlay-value {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.service-overlay-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(74, 63, 151, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

    .service-overlay-close:hover {
        transform: translateY(-1px);
        border-color: rgba(168, 216, 244, 0.9);
        background: rgba(255, 255, 255, 0.82);
    }

    .service-overlay-close span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #4a3f97;
    }

        .service-overlay-close span:first-child {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .service-overlay-close span:last-child {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

/* ================= OPERATIONS OVERLAY ================= */

.operation-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

    .operation-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.operation-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.48);
    backdrop-filter: blur(4px);
}

.operation-overlay-panel {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border-radius: 30px;
    padding: 58px 54px 50px;
    background: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.58)), url("../assets/img/over2.webp");
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 90px rgba(7, 10, 24, 0.28);
    transform: translateY(26px);
    opacity: 0;
    transition: transform 0.36s ease, opacity 0.36s ease;
}

.operation-overlay.is-open .operation-overlay-panel {
    transform: translateY(0);
    opacity: 1;
}

.operation-overlay-content {
    max-width: 760px;
    padding-bottom: 10px;
}

    .operation-overlay-content::after {
        content: "";
        display: block;
        margin-top: 26px;
        width: 120px;
        height: 2px;
        background: rgba(74, 63, 151, 0.25);
    }

.operation-overlay-title {
    margin: 0 0 24px;
}

.operation-overlay-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

    .operation-overlay-title-line:last-child {
        margin-bottom: 12px;
    }

.operation-overlay-intro {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.operation-overlay-block {
    margin-bottom: 28px;
}

    .operation-overlay-block:last-of-type {
        margin-bottom: 0;
    }

    .operation-overlay-block h3 {
        margin: 0 0 14px;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 600;
        color: #4a3f97;
    }

.operation-overlay-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
}

    .operation-overlay-list li {
        position: relative;
        padding-left: 20px;
        font-size: 16px;
        line-height: 1.75;
        font-weight: 600;
        color: rgba(20, 26, 42, 0.9);
    }

        .operation-overlay-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 11px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: rgba(168, 216, 244, 0.95);
        }

.operation-overlay-value {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.operation-overlay-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(74, 63, 151, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

    .operation-overlay-close:hover {
        transform: translateY(-1px);
        border-color: rgba(168, 216, 244, 0.9);
        background: rgba(255, 255, 255, 0.82);
    }

    .operation-overlay-close span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #4a3f97;
    }

        .operation-overlay-close span:first-child {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .operation-overlay-close span:last-child {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

/* ================= SYSTEMS OVERLAY ================= */

.system-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

    .system-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.system-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.48);
    backdrop-filter: blur(4px);
}

.system-overlay-panel {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border-radius: 30px;
    padding: 58px 54px 50px;
    background: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.58)), url("../assets/img/over4.webp");
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 90px rgba(7, 10, 24, 0.28);
    transform: translateY(26px);
    opacity: 0;
    transition: transform 0.36s ease, opacity 0.36s ease;
}

.system-overlay.is-open .system-overlay-panel {
    transform: translateY(0);
    opacity: 1;
}

.system-overlay-content {
    max-width: 760px;
    padding-bottom: 10px;
}

    .system-overlay-content::after {
        content: "";
        display: block;
        margin-top: 26px;
        width: 120px;
        height: 2px;
        background: rgba(74, 63, 151, 0.25);
    }

.system-overlay-title {
    margin: 0 0 24px;
}

.system-overlay-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

    .system-overlay-title-line:last-child {
        margin-bottom: 12px;
    }

.system-overlay-intro {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.system-overlay-block {
    margin-bottom: 28px;
}

    .system-overlay-block:last-of-type {
        margin-bottom: 0;
    }

    .system-overlay-block h3 {
        margin: 0 0 14px;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 600;
        color: #4a3f97;
    }

.system-overlay-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
}

    .system-overlay-list li {
        position: relative;
        padding-left: 20px;
        font-size: 16px;
        line-height: 1.75;
        font-weight: 600;
        color: rgba(20, 26, 42, 0.9);
    }

        .system-overlay-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 11px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: rgba(168, 216, 244, 0.95);
        }

.system-overlay-value {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.system-overlay-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(74, 63, 151, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

    .system-overlay-close:hover {
        transform: translateY(-1px);
        border-color: rgba(168, 216, 244, 0.9);
        background: rgba(255, 255, 255, 0.82);
    }

    .system-overlay-close span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #4a3f97;
    }

        .system-overlay-close span:first-child {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .system-overlay-close span:last-child {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

/* ================= SECTORS OVERLAY ================= */

.sector-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

    .sector-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.sector-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.48);
    backdrop-filter: blur(4px);
}

.sector-overlay-panel {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border-radius: 30px;
    padding: 58px 54px 50px;
    background: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.58)), url("../assets/img/over5.webp");
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 90px rgba(7, 10, 24, 0.28);
    transform: translateY(26px);
    opacity: 0;
    transition: transform 0.36s ease, opacity 0.36s ease;
}

.sector-overlay.is-open .sector-overlay-panel {
    transform: translateY(0);
    opacity: 1;
}

.sector-overlay-content {
    max-width: 760px;
    padding-bottom: 10px;
}

    .sector-overlay-content::after {
        content: "";
        display: block;
        margin-top: 26px;
        width: 120px;
        height: 2px;
        background: rgba(74, 63, 151, 0.25);
    }

.sector-overlay-title {
    margin: 0 0 24px;
}

.sector-overlay-title-line {
    display: block;
    position: relative;
    z-index: 2;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 0.88;
    font-weight: 300;
    letter-spacing: -2.6px;
    color: #4a3f97;
}

    .sector-overlay-title-line:last-child {
        margin-bottom: 12px;
    }

.sector-overlay-intro {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.sector-overlay-block {
    margin-bottom: 28px;
}

    .sector-overlay-block:last-of-type {
        margin-bottom: 0;
    }

    .sector-overlay-block h3 {
        margin: 0 0 14px;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 600;
        color: #4a3f97;
    }

.sector-overlay-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
}

    .sector-overlay-list li {
        position: relative;
        padding-left: 20px;
        font-size: 16px;
        line-height: 1.75;
        font-weight: 600;
        color: rgba(20, 26, 42, 0.9);
    }

        .sector-overlay-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 11px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: rgba(168, 216, 244, 0.95);
        }

.sector-overlay-value {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
    color: rgba(20, 26, 42, 0.9);
}

.sector-overlay-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(74, 63, 151, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

    .sector-overlay-close:hover {
        transform: translateY(-1px);
        border-color: rgba(168, 216, 244, 0.9);
        background: rgba(255, 255, 255, 0.82);
    }

    .sector-overlay-close span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #4a3f97;
    }

        .sector-overlay-close span:first-child {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .sector-overlay-close span:last-child {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

/* ================= FOOTER ================= */

.footer {
    padding: 80px 0 50px;
    background: linear-gradient(90deg, #8f92d8 0%, #5f4fb8 20%, #2e2269 100%);
    color: #c2e4f7;
    position: relative;
}

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: min(1240px, calc(100% - 40px));
        height: 5px;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 20%, rgba(255, 255, 255, 0.35) 80%, rgba(255, 255, 255, 0) 100% );
    }

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer-logo {
    margin-bottom: 14px;
}

    .footer-logo img {
        height: 60px;
        width: auto;
        filter: brightness(0) invert(1);
    }

.footer-brand p,
.footer-block p {
    font-size: 15px;
    color: #c2e4f7;
}

.footer-block h3 {
    font-size: 16px;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-block a {
    transition: color var(--transition);
}

    .footer-block a:hover {
        color: #c2e4f7;
    }

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 26, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.overlay-content {
    background: #ffffff;
    max-width: 900px;
    width: calc(100% - 40px);
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    border-radius: 6px;
}

    .overlay-content h2 {
        margin-top: 0;
        color: #4a3f97;
    }

.overlay-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}




/* ================= SCROLL REVEAL ================= */

.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.7s ease;
}

    .reveal-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

.reveal-delay-5 {
    transition-delay: 0.40s;
}

/* Sezioni full screen */

#about,
#services,
#operations,
#sectors,
#systems,
#technology {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}

/* Offset scroll per header fisso */

#about,
#services,
#operations,
#systems,
#sectors,
#technology,
#contacts {
    scroll-margin-top: 90px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


/* ================= RESPONSIVE <= 1200 ================= */

@media (max-width: 1200px) {
    .strengths-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================= RESPONSIVE <= 992 ================= */
@media (max-width: 992px) {

    /* ================= HEADER / NAV ================= */

    .header {
        width: 100%;
        max-width: 100vw;
        left: 0;
        right: 0;
        overflow-x: hidden;
    }

        .header::after {
            width: calc(100% - 40px);
            max-width: calc(100vw - 40px);
        }

    .header-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 12px;
        overflow: hidden;
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }

        .logo img {
            height: 54px;
            width: auto;
            max-width: 100%;
        }

    .nav {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

        .nav ul {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            min-width: 0;
            max-width: 100%;
            flex-wrap: nowrap;
        }

        .nav li {
            min-width: 0;
            padding: 0 6px;
        }

            .nav li:not(:last-child)::after {
                right: -3px;
                height: 14px;
            }

        .nav a {
            font-size: 18px;
            line-height: 0.95;
            letter-spacing: 0.2px;
            white-space: nowrap;
        }

    .header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex: 0 0 auto;
        min-width: 36px;
        max-width: 36px;
    }

    .header-linkedin {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

        .header-linkedin svg {
            width: 16px;
            height: 16px;
        }

    /* ================= HERO ================= */

    .hero {
        min-height: 100svh;
        padding-top: 130px;
        padding-bottom: 100px;
        align-items: flex-start;
    }

    .hero-container {
        align-items: flex-start;
    }

    .hero-text {
        max-width: 620px;
    }

    .hero h1 {
        font-size: 54px;
        line-height: 1.04;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-buttons {
        gap: 14px;
    }

    /* ================= TITOLI GENERALI ================= */

    .about h2,
    .section-heading h2,
    .cta-box h2 {
        font-size: 42px;
    }

    /* ================= LAYOUT SEZIONI ================= */

    .about-container,
    .services-layout {
        grid-template-columns: 1fr;
    }

    /* operations resta gestita dalla sua struttura dedicata */
    .operations-layout {
        display: block;
    }

    /* ================= ABOUT ================= */

    /* About - ordine verticale tablet */
    .about-container {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .about-text {
        order: 1;
    }

    .about-side {
        order: 2;
    }

    .about-title-line {
        font-size: 74px;
    }

    .about-title-highlight::after {
        height: 28px;
        bottom: 8px;
    }

    /* ================= SERVICES ================= */

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

    .services-title-line {
        font-size: 74px;
    }

    .services-title-highlight::after {
        height: 28px;
        bottom: 8px;
    }

    /* ================= EDGE RIGHT ================= */

    .edge-right {
        text-align: right;
        margin-left: 0;
        margin-right: auto;
    }

        .edge-right p,
        .edge-right .section-tag,
        .edge-right h2 {
            margin-left: 0;
        }

    /* ================= OPERATIONS ================= */

    .operations-title-line {
        font-size: 74px;
    }

    .operations-title-highlight::after {
        height: 28px;
        bottom: 8px;
    }

    /* In vista tablet/992:
       title + text sopra, compliance box sotto */
    .operations-top {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 34px;
    }

    .operations-heading {
        order: 1;
    }

    .operations-compliance {
        order: 2;
        margin-top: 0;
        margin-left: 0;
        margin-right: auto;
        max-width: 100%;
    }

    .operations-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    /* ================= SYSTEMS ================= */

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

    /* ================= SECTORS ================= */

    .packaging-grid {
        grid-template-columns: 1fr;
    }

    .packaging-card {
        min-height: 180px;
    }

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

    /* ================= FOOTER ================= */

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ================= CTA ================= */

    .cta-box h2 {
        font-size: 36px;
    }
}


/* ================= RESPONSIVE <= 768 ================= */
@media (max-width: 768px) {

    /* ================= HEADER / NAV MOBILE ================= */

    .header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 8px 0;
        overflow: visible;
    }

    .header-container {
        min-height: 56px;
        gap: 12px;
        overflow: visible;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .logo {
        min-width: 0;
        flex-shrink: 1;
    }

        .logo img {
            height: 40px;
            width: auto;
            max-width: 100%;
        }

    .header-actions {
        flex-shrink: 0;
        max-width: none;
        overflow: visible;
    }

    /* Menu mobile */
    .nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 14px;
        left: auto;
        transform: none;
        width: 92%;
        max-width: 380px;
        display: none;
        padding: 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(14px);
        border: 1px solid rgba(74, 63, 151, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
        overflow-x: hidden;
        box-sizing: border-box;
        z-index: 1200;
    }

        .nav.open {
            display: block;
        }

        .nav ul {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 18px;
            width: 100%;
            min-width: 0;
        }

        .nav li {
            width: 100%;
            padding: 0;
        }

            .nav li:not(:last-child)::after {
                display: none;
            }

        .nav a {
            display: block;
            width: 100%;
            font-size: 24px;
            line-height: 0.98;
            letter-spacing: -0.8px;
            word-break: break-word;
        }

            .nav a::after {
                left: -6px;
                right: -6px;
                bottom: 2px;
                height: 11px;
            }

            .nav a:hover,
            .nav a.is-active {
                transform: translateY(0);
            }

    /* Dropdown "Settori" in versione mobile:
       lo rendiamo statico per non far allargare l'header */
    .menu-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        min-width: 0;
        width: 100%;
        margin-top: 10px;
        padding: 8px 0 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
    }

        .dropdown-menu li {
            width: 100%;
        }

            .dropdown-menu li:not(:last-child) {
                border-bottom: none;
            }

        .dropdown-menu a {
            padding: 8px 0 8px 14px;
            font-size: 16px;
            color: #4a3f97;
            white-space: normal;
        }

    .menu-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* ================= HERO ================= */

    .hero {
        min-height: 100vh;
        padding-top: 88px;
        display: flex;
        align-items: center;
    }

        .hero h1 {
            font-size: 42px;
            line-height: 1.06;
        }

        .hero p {
            font-size: 16px;
            line-height: 1.7;
        }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-diagonal {
        height: 80px;
    }

    .hero-title-line {
        font-size: 56px;
        letter-spacing: -1.8px;
    }

    .hero-title-highlight::after {
        left: -8px;
        right: -8px;
        height: 20px;
        bottom: 6px;
    }

    /* ================= TITOLI / SEZIONI GENERALI ================= */

    .section-heading {
        margin-bottom: 34px;
    }

        .section-heading h2 {
            font-size: 32px;
        }

    /* ================= ABOUT ================= */

    .about {
        padding: 80px 0 70px;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .about-text {
        order: 1;
    }

    .about-side {
        order: 2;
    }

    .about h2,
    .cta-box h2 {
        font-size: 36px;
        line-height: 1.08;
    }

    .about-card {
        padding: 22px;
    }

    .about-brochure-title {
        margin-left: 0;
        max-width: 100%;
        text-align: left;
    }

        .about-brochure-title h2 {
            display: block;
        }

    .about-title-line {
        font-size: 56px;
        letter-spacing: -1.8px;
    }

    .about-title-highlight::after {
        left: -8px;
        right: -8px;
        height: 20px;
        bottom: 6px;
    }

    /* ================= SERVICES ================= */

    .services {
        padding: 75px 0 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 24px 22px;
    }

    .services-title-line {
        font-size: 56px;
        letter-spacing: -1.8px;
    }

    .services-title-highlight::after {
        left: -8px;
        right: -8px;
        height: 20px;
        bottom: 6px;
    }

    /* ================= STRENGTHS ================= */

    .strengths {
        padding: 80px 0 85px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .strength-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .strength-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }

        .strength-icon svg {
            width: 34px;
            height: 34px;
        }

    .strengths-title-highlight {
        font-size: 56px;
        letter-spacing: -1.8px;
    }

        .strengths-title-highlight::after {
            left: -8px;
            right: -8px;
            height: 20px;
            bottom: 6px;
        }

    /* ================= OPERATIONS ================= */

    .operations {
        padding: 80px 0 85px;
    }

    .operations-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .operations-heading {
        margin-left: 0;
        text-align: right;
        order: 1;
    }

    .operations-text,
    .operations-description {
        order: 2;
    }

    .compliance-box {
        order: 3;
    }

    .operations-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 100%;
    }

    .operation-card {
        background-size: auto 100%;
        background-position: right center;
    }

        .operation-card h3 {
            font-size: 16px;
            max-width: 220px;
        }

    .operations-title-line {
        font-size: 56px;
        letter-spacing: -1.8px;
    }

    .operations-title-highlight::after {
        left: -8px;
        right: -8px;
        height: 20px;
        bottom: 6px;
    }

    /* ================= SYSTEMS ================= */

    .systems {
        padding: 80px 0 85px;
    }

    .systems-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
        max-width: 100%;
    }

    .system-card {
        width: 100%;
        min-height: 140px;
        height: 140px;
        padding: 24px 22px;
    }

    .systems-title-line {
        font-size: 56px;
        letter-spacing: -1.8px;
    }

    .systems-title-highlight::after {
        left: -8px;
        right: -8px;
        height: 20px;
        bottom: 6px;
    }

    /* ================= SECTORS ================= */

    .sectors {
        padding: 80px 0 85px;
    }

    .sectors-grid,
    .sectors-grid.packaging-grid,
    .sectors-grid.technology-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
        max-width: 100%;
    }

    .sector-card,
    .sector-card.packaging-card,
    .sector-card.technology-card {
        width: 100%;
        min-height: 140px;
        height: 140px;
    }

    .sectors-title-line {
        font-size: 56px;
        letter-spacing: -1.8px;
    }

    .sectors-title-highlight::after {
        left: -8px;
        right: -8px;
        height: 20px;
        bottom: 6px;
    }

    /* ================= CTA ================= */

    .cta {
        min-height: calc(100vh - 70px);
        display: flex;
        align-items: center;
        padding: 40px 0;
    }

    .cta-box {
        padding: 36px 24px;
    }

        .cta-box h2 {
            font-size: 32px;
        }

        .cta-box p {
            font-size: 15px;
            line-height: 1.75;
        }

    .cta .container {
        display: flex;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

        .cta-buttons .btn-primary,
        .cta-buttons .btn-secondary,
        .cta-buttons .btn-secondary-dark {
            width: 100%;
            justify-content: center;
            text-align: center;
        }

    /* ================= FOOTER ================= */

    .footer {
        padding: 60px 0 34px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-logo img {
        height: 48px;
    }

    /* ================= OVERLAY SERVIZI ================= */

    .service-overlay {
        padding: 14px;
    }

    .service-overlay-panel {
        width: 100%;
        max-height: calc(100vh - 28px);
        border-radius: 24px;
        padding: 58px 24px 32px;
    }

    .service-overlay-title {
        font-size: 42px;
        letter-spacing: -1.6px;
    }

    .service-overlay-intro,
    .service-overlay-value,
    .service-overlay-list li {
        font-size: 15px;
        line-height: 1.75;
    }

    .service-overlay-block h3 {
        font-size: 20px;
    }

    .service-overlay-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* ================= OVERLAY OPERATIONS ================= */

    .operation-overlay {
        padding: 14px;
    }

    .operation-overlay-panel {
        width: 100%;
        max-height: calc(100vh - 28px);
        border-radius: 24px;
        padding: 58px 24px 32px;
    }

    .operation-overlay-title-line {
        font-size: 42px;
        letter-spacing: -1.6px;
    }

    .operation-overlay-intro,
    .operation-overlay-value,
    .operation-overlay-list li {
        font-size: 15px;
        line-height: 1.75;
    }

    .operation-overlay-block h3 {
        font-size: 20px;
    }

    .operation-overlay-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* ================= OVERLAY SYSTEMS ================= */

    .system-overlay {
        padding: 14px;
    }

    .system-overlay-panel {
        width: 100%;
        max-height: calc(100vh - 28px);
        border-radius: 24px;
        padding: 58px 24px 32px;
    }

    .system-overlay-title-line {
        font-size: 42px;
        letter-spacing: -1.6px;
    }

    .system-overlay-intro,
    .system-overlay-value,
    .system-overlay-list li {
        font-size: 15px;
        line-height: 1.75;
    }

    .system-overlay-block h3 {
        font-size: 20px;
    }

    .system-overlay-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* ================= OVERLAY SECTORS ================= */

    .sector-overlay {
        padding: 14px;
    }

    .sector-overlay-panel {
        width: 100%;
        max-height: calc(100vh - 28px);
        border-radius: 24px;
        padding: 58px 24px 32px;
    }

    .sector-overlay-title-line {
        font-size: 42px;
        letter-spacing: -1.6px;
    }

    .sector-overlay-intro,
    .sector-overlay-value,
    .sector-overlay-list li {
        font-size: 15px;
        line-height: 1.75;
    }

    .sector-overlay-block h3 {
        font-size: 20px;
    }

    .sector-overlay-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* Offset scroll mobile coerente con header più compatto */
    
    #about,
    #services,
    #operations,
    #systems,
    #sectors,
    #technology,
    #contacts {
        scroll-margin-top: 65px;
    }
}

/* ================= RESPONSIVE <= 480 ================= */
@media (max-width: 480px) {

    /* ================= CONTENITORE ================= */

    .container {
        width: min(1200px, calc(100% - 28px));
    }

    /* ================= HEADER / NAV ================= */

    .header {
        padding: 6px 0;
    }

    .header-container {
        min-height: 52px;
        gap: 10px;
    }

    .logo img {
        height: 36px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .nav {
        left: 14px;
        right: 14px;
        max-width: calc(100vw - 28px);
        padding: 18px;
        border-radius: 18px;
    }

        .nav a {
            font-size: 22px;
            line-height: 1;
        }

    .dropdown-menu a {
        padding: 8px 0 8px 12px;
        font-size: 15px;
    }

    /* Offset scroll coerente con header compatto */
    #about,
    #services,
    #operations,
    #systems,
    #sectors,
    #technology,
    #contacts {
        scroll-margin-top: 60px;
    }

    /* ================= HERO ================= */

    .hero {
        min-height: 100svh;
        padding-top: 82px;
        display: flex;
        align-items: center;
    }

        .hero h1 {
            font-size: 30px;
            line-height: 1.08;
        }

        .hero p {
            font-size: 15px;
            line-height: 1.7;
        }

    .hero-kicker,
    .section-tag {
        font-size: 11px;
        letter-spacing: 1.8px;
    }

    .hero-title-line {
        font-size: 46px;
        letter-spacing: -1.4px;
    }

    .hero-title-highlight::after {
        left: -6px;
        right: -6px;
        height: 16px;
        bottom: 5px;
    }

    .hero-diagonal {
        height: 54px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* ================= ABOUT ================= */

    .about {
        padding: 72px 0 64px;
    }

    .about-container {
        gap: 20px;
    }

    .about-title-line {
        font-size: 46px;
        letter-spacing: -1.4px;
    }

    .about-title-highlight::after {
        left: -6px;
        right: -6px;
        height: 16px;
        bottom: 5px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-card {
        padding: 20px;
    }

    /* ================= SERVICES ================= */

    .services {
        padding: 72px 0 76px;
    }

    .services-title-line {
        font-size: 46px;
        letter-spacing: -1.4px;
    }

    .services-title-highlight::after {
        left: -6px;
        right: -6px;
        height: 16px;
        bottom: 5px;
    }

    .service-card {
        padding: 22px 20px;
    }

        .service-card h3 {
            font-size: 18px;
        }

        .service-card p {
            font-size: 14px;
        }

    /* ================= STRENGTHS ================= */

    .strengths {
        padding: 72px 0 76px;
    }

    .strengths-title-highlight {
        font-size: 46px;
        letter-spacing: -1.4px;
    }

        .strengths-title-highlight::after {
            left: -6px;
            right: -6px;
            height: 16px;
            bottom: 5px;
        }

    .strength-card {
        padding: 22px 18px;
    }

    /* ================= OPERATIONS ================= */

    .operations {
        padding: 72px 0 76px;
    }

    .operations-top {
        gap: 18px;
        margin-bottom: 24px;
    }

    .operations-title-line {
        font-size: 46px;
        letter-spacing: -1.4px;
    }

    .operations-title-highlight::after {
        left: -6px;
        right: -6px;
        height: 16px;
        bottom: 5px;
    }

    .operation-card {
        height: 132px;
        background-size: auto 86%;
        background-position: right center;
    }

        .operation-card h3 {
            font-size: 15px;
            max-width: 200px;
        }

    .compliance-box {
        padding: 16px 18px;
    }

    .compliance-title {
        font-size: 15px;
    }

    .compliance-text {
        font-size: 13px;
        line-height: 1.55;
    }

    /* ================= SYSTEMS ================= */

    .systems {
        padding: 72px 0 76px;
    }

    .systems-title-line {
        font-size: 46px;
        letter-spacing: -1.4px;
    }

    .systems-title-highlight::after {
        left: -6px;
        right: -6px;
        height: 16px;
        bottom: 5px;
    }

    .system-card {
        height: 132px;
        padding: 20px 18px;
        background-size: auto 86%;
        background-position: right center;
    }

        .system-card h3 {
            font-size: 15px;
            max-width: 200px;
        }

    /* ================= SECTORS ================= */

    .sectors {
        padding: 72px 0 76px;
    }

    .sectors-title-line {
        font-size: 46px;
        letter-spacing: -1.4px;
    }

    .sectors-title-highlight::after,
    .packaging-highlight::after {
        left: -6px;
        right: -6px;
        height: 16px;
        bottom: 5px;
    }

    .sector-card,
    .sector-card.packaging-card,
    .sector-card.technology-card {
        min-height: 132px;
        height: 132px;
        background-size: auto 86%;
        background-position: right center;
    }

        .sector-card h3,
        .sector-card.packaging-card h3,
        .sector-card.technology-card h3 {
            font-size: 15px;
            max-width: 200px;
        }

    /* ================= CTA ================= */

    .cta {
        min-height: calc(100svh - 60px);
        display: flex;
        align-items: center;
        padding: 32px 0;
    }

    .cta-box {
        padding: 30px 18px 40px;
    }

        .cta-box h2 {
            font-size: 28px;
            line-height: 1.14;
        }

        .cta-box p {
            font-size: 14px;
            line-height: 1.7;
        }

    .cta-legal {
        position: static;
        margin-top: 18px;
        text-align: left;
    }

        .cta-legal a {
            margin-left: 0;
            margin-right: 8px;
        }

    /* ================= FOOTER ================= */

    .footer {
        padding: 52px 0 30px;
    }

    .footer-container {
        gap: 18px;
    }

    .footer-logo img {
        height: 44px;
    }

    .footer-brand p,
    .footer-block p {
        font-size: 14px;
    }

    /* ================= OVERLAY SERVIZI ================= */

    .service-overlay-title {
        font-size: 34px;
        line-height: 0.96;
    }

    .service-overlay-panel {
        padding: 54px 18px 26px;
    }

    .service-overlay-block h3 {
        font-size: 18px;
    }

    /* ================= OVERLAY OPERATIONS ================= */

    .operation-overlay-title-line {
        font-size: 34px;
        line-height: 0.96;
    }

    .operation-overlay-panel {
        padding: 54px 18px 26px;
    }

    .operation-overlay-block h3 {
        font-size: 18px;
    }

    /* ================= OVERLAY SYSTEMS ================= */

    .system-overlay-title-line {
        font-size: 34px;
        line-height: 0.96;
    }

    .system-overlay-panel {
        padding: 54px 18px 26px;
    }

    .system-overlay-block h3 {
        font-size: 18px;
    }

    /* ================= OVERLAY SECTORS ================= */

    .sector-overlay-title-line {
        font-size: 34px;
        line-height: 0.96;
    }

    .sector-overlay-panel {
        padding: 54px 18px 26px;
    }

    .sector-overlay-block h3 {
        font-size: 18px;
    }
}
