/**
 * @file
 * Subtheme specific CSS.
 */



@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* ─── CSS CUSTOM PROPERTIES ────────────────────────────────── */
:root {
    --bg-dark: #070a13;
    --bg-dark-accent: #0f1424;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --primary: #f97316;
    /* Safety Orange */
    --primary-rgb: 249, 117, 22;
    --secondary-yellow: rgb(251, 191, 36);
    --secondary: rgb(0, 194, 255);
    /* Alert Yellow */
    --secondary-rgb: 251, 191, 36;
    --accent: #38bdf8;
    /* System Blue */
    --accent-rgb: 56, 189, 248;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.2);
    --border-color-pos: rgba(0, 0, 0, 0.2);
    --border-hover: rgba(255, 255, 255, 0.2);
    --glow-shadow: 0 0 25px rgba(249, 115, 22, 0.15);
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);


    --color-navy: #0A1C33;
    --color-navy-dark: hsl(212, 100%, 11%);
    --color-navy-2: rgba(10, 28, 51, 0.8);
    --color-navy-mid: #0F2545;
    --color-navy-light: #1A3558;
    --color-teal-1: #00B4A4;
    --color-teal: #fbbf24;
    --color-teal-dark: #008F82;
    --color-cyan: #00C2FF;
    --color-white: #FFFFFF;
    --color-gray-50: #F4F7FA;
    --color-gray-100: #E8EEF5;
    --color-gray-300: #B0BEC5;
    --color-gray-500: #607D8B;
    --color-text: #1A2D42;
    --color-text-light: #4A6278;

    --gradient-primary: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 60%, #0D3D6B 100%);
    --gradient-accent: linear-gradient(0deg, var(--color-teal-1) 0%, var(--color-cyan) 100%);
    --gradient-hero: linear-gradient(160deg, rgba(10, 28, 51, 0.92) 0%, rgba(0, 180, 164, 0.25) 100%);
    --gradient-section: linear-gradient(180deg, var(--color-teal) 10%, var(--color-white) 100%);

    --gradient-section-pos: linear-gradient(0deg, var(--secondary-blue) 80%, var(--color-white) 100%);

    --font-heading: 'Outfit', 'Montserrat', sans-serif;
    --font-body: 'Roboto', system-ui, sans-serif;

    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;

    --shadow-card: 0 4px 24px rgba(10, 28, 51, 0.10);
    --shadow-card-hover: 0 12px 40px rgba(0, 180, 164, 0.18);
    --shadow-nav: 0 2px 32px rgba(10, 28, 51, 0.25);
    --shadow-btn: 0 4px 20px rgba(0, 180, 164, 0.35);

    --transition-fast: 0.2s ease;
    --transition-std: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --navbar-height: 80px;
    --section-pad: 96px;
    --section-pad-sm: 56px;
}


/* Ambient Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--color-navy);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.15;
    animation: floatBlob 20s infinite alternate ease-in-out;

}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -5%;
    animation-duration: 25s;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    bottom: -15%;
    left: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 22s;
    animation-delay: -10s;
    opacity: 0.08;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;


}

#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
    background: transparent;
}

.node__content {
    font-size: 1.071em;
    margin-top: 0px;
}

.site-footer {
    background: var(--color-navy-mid);
}

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

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-cyan);
}

ul {
    list-style: none;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-dark-accent);

}

/* ─── NAVBAR  ────────────────────────────────── */
.navbar {
    position: fixed;

    left: 0;
    right: 0;
    /* Rimuovi margini fissi se li gestisce GSAP */
    border-radius: 30px;
    font-size: 14px;
}

#navbar-main {
    background-color: transparent;
    color: #000;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    background-color: transparent;
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: 50%;
    transition: var(--bs-navbar-toggler-transition);
    border-color: #fff;
    width: 50px;
    height: 50px;
}

.nav-link {
    color: rgb(231, 231, 231);
    color: #000
}



.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
    color: rgb(231, 231, 231) !important;
}

.navbar-nav .nav-link {
    color: rgb(231, 231, 231) !important;
}

.top-logo-box {
    float: left;

    padding-left: 15px;
    padding-right: 15px;

}

.top-menu-box {

    padding-left: 15px;
    padding-right: 15px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav .navbar-nav li a .navbar-item {
    font-size: 10px;

}

.navbar-brand img {
    height: 50px
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px
    }
}

#navbar-main {
    background-color: transparent;
    color: #000;

    background-color: rgba(19, 55, 80, .8);
    background-color: var(--color-navy-2);
    backdrop-filter: blur(8px);



}

.dropdown-menu {
    --bs-dropdown-min-width: 10rem;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: 0.5rem;
    --bs-dropdown-font-size: 14px;
    --bs-dropdown-color: #212529;
    --bs-dropdown-bg: #fff;
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-border-radius: 0.375rem;
    --bs-dropdown-border-width: 1px;
    --bs-dropdown-link-color: #212529;
    --bs-dropdown-item-padding-x: 1rem;
    --bs-dropdown-item-padding-y: 0.25rem;
    font-size: var(--bs-dropdown-font-size);
    color: var(--bs-dropdown-color);
    text-align: left;
    list-style: none;
    font-weight: 500;
}

.dropdown-menu {
    left: 0;
    min-width: 260px;
    background: rgba(10, 28, 51, 0.97);
    border: 1px solid rgba(0, 180, 164, 0.18);

}

.dropdown-menu a {
    color: #fff;
    text-decoration: none;
    transition: color var(--transition-fast);
}


.dropdown-item {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.navbar {
    /* Stato di default */
    border-radius: 0px;
    margin-top: 10px;

    background-color: rgba(255, 255, 255, 1);
    /* O il tuo colore brand */
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    /* Un ease molto professionale */
    position: fixed;
    top: 0;
    z-index: 1000;

}

.navbar.is-scrolled {
    /* Stato quando scrolli */


    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 40px;
    background-color: rgba(0, 0, 0, 0.85);
    /* Leggera trasparenza per profondità */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Aggiunge eleganza */
    backdrop-filter: blur(8px);
}

/* NAVBAR - MOD */

.nav-item .menu-item--expanded .dropdown-menu {
    border: 2px solid #fff;
}

.dropdown-menu .dropdown-item {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6x;
    margin-top: 6px;
    margin-bottom: 6px;
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.dropdown-menu .dropdown-item:hover {
    color: #000 !important;
    border-radius: 0px;
    margin: 6px;
    margin-top: 6px;
    margin-bottom: 6px;
    width: 100%;
    padding-left: 10px;
    transition: all .3s linear;
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, .9);
}

.dropdown-menu .dropdown-item:hover a {
    background-color: transparent;
    color: var(--secondary);
}

.show {
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ─── COLORI  ────────────────────────────────── */
.white {
    color: var(--color-white);
}

.blue {
    color: var(--secondary);
}

.navy {
    color: var(--navy);
}

.yellow {
    color: var(--secondary-yellow);
}




.bg-grey {
    background-color: var(--color-gray-100);
}

.bg-dk-blue {
    background-color: var(--color-navy) !important;
}


.bg-dk-yellow {
    background-color: rgba(251, 191, 36, .6);
}

.bg-lt-blue {
    background-color: var(--color-navy);
}


/* ─── MARGIN & PADDING  ────────────────────────────────── */

.no-pad {
    padding: 0;
}

.pad-box {
    margin-top: 0px;

}

.pd-tb-60 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pd-lr-60 {
    padding-left: 30px;
    padding-right: 30px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px
}

.pd-footer {
    padding-left: 30px;
    padding-right: 30px
}

/* ─── HERO  ────────────────────────────────── */

.hero-section {
    max-width: 100%;
    height: calc(100vh - 0px);
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

}

.hero-section-int {
    max-width: 100%;
    height: calc(100vh - 200px);
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

}

.mask-container {
    overflow: hidden;
    /* Fondamentale: nasconde il testo quando è fuori posizione */
    display: block;
    /* Mantiene le parole sulla stessa riga */
    height: auto;
    /* Regola in base al tuo font */
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-navy);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Mantiene le proporzioni coprendo tutto il box */
    z-index: 0;

}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-parallax-1.png');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Scurezza per far risaltare il testo */
    z-index: 1;
    background-color: transparent;
    background-image: radial-gradient(circle, #000 0px, transparent 2px);
    background-position: 0 0;
    background-size: 3px 3px;

}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--navbar-height);
    padding-top: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background: rgba(0, 180, 164, 0.15);
    border: 1px solid rgba(0, 180, 164, 0.35);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 1.5rem;
    width: fit-content;

}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--color-teal);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* ─── PAGINE  ────────────────────────────────── */
.sezione {
    margin-top: 0px;
    padding: 120px 60px 120px 60px;

    display: block;
    border-radius: 0px;

    margin-bottom: 0px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    min-height: calc(100vh / 2);
}

.sezione-hero {
    padding-top: 60px;
    padding-bottom: 60px;
}

.sezione-int {
    margin-top: 0px;
    padding: 80px 60px 80px 60px;

    display: block;
    border-radius: 0px;

    margin-bottom: 0px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    min-height: calc(100vh / 1.3);
}

.row-flex {
    display: flex;
}


/* ───TITOLI  ────────────────────────────────── */

.centrale {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;


}

.big-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: clamp(2.4rem, 5vw, 6.2rem);

    font-display: swap;
    text-shadow: none;
    letter-spacing: -2px;
    overflow: hidden;

}

.h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 3vw, 2.8rem);


    line-height: clamp(2rem, 3.2vw, 3.2rem);

    font-display: swap;
    text-shadow: none;
    letter-spacing: 0px;
}

.h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 2rem);

    line-height: clamp(1.7rem, 3.2vw, 2.5rem);

    font-display: swap;
    text-shadow: none;
    letter-spacing: 0px;
}

.h2-card {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2vw, 1.4rem);

    line-height: clamp(1.7rem, 3.2vw, 1.6rem);

    font-display: swap;
    text-shadow: none;
    letter-spacing: 0px;
}


.h2-hero {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.6vw, 1.8rem);

    line-height: clamp(1.2rem, 1.6vw, 1.5rem);
    font-style: italic;

    font-display: swap;
    text-shadow: none;
    letter-spacing: 0px;

}

.h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: clamp(1.3rem, 1.6vw, 1.3rem);

    line-height: clamp(1.5rem, 1.6vw, 1.7rem);

    font-display: swap;
    text-shadow: none;
    letter-spacing: 0px;

}

.neretto {
    font-weight: 900 !important;
}

.txt-pi {
    font-size: 14px;
    text-align: center;

}

.h80 {
    height: 80px;
}

.h10 {
    height: 10px;
}

.w100 {
    width: 100%
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.8;
}

.divider-accent {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 1rem 0;
}

.divider-accent.center {
    margin: 1rem auto;
}

.line-wrapper {
    overflow: hidden;
    /* Qui avviene la magia della maschera */

    line-height: clamp(3.35rem, 5.7vw, 6.8rem);
}



/* ─── ANIMAZIONI ────────────────────────────────── */

/* Stato iniziale (nascosto) */
.animate-ready {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Stato finale (visibile) */
.animate-ready.is-visible {
    opacity: 1;
    transform: translate(0, 0) !important;
    /* Resetta gli spostamenti */
}

/* Varianti di movimento iniziali */
.sx {
    transform: translateX(-30px);
    opacity: 0;
}

.dx {
    transform: translateX(30px);
    opacity: 0;
}

.up {
    transform: translateY(00px);
    opacity: 0;
    filter: blur(20px);
    rotate: 0;
}

.up-l {
    transform: translateY(00px);
    opacity: 0;
    filter: blur(20px);
    rotate: 0;
}

.down {
    transform: translateY(-100px);
    opacity: 0;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #465aa6;
    background: radial-gradient(circle, rgba(70, 90, 166, 1) 1%, rgba(11, 21, 71, 1) 100%);

    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Rimuoviamo la transizione automatica, la gestiamo tutta via GSAP */
    transition: none;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}


.spinner {
    --color-1: #fff;
    --color-2: #0023FF;
    --size: 1px;

    width: calc(64 * var(--size));
    height: calc(64 * var(--size));
    position: relative;
    background-image: linear-gradient(var(--color-1) calc(16 * var(--size)), transparent 0),
        linear-gradient(var(--color-2) calc(16 * var(--size)), transparent 0),
        linear-gradient(var(--color-2) calc(16 * var(--size)), transparent 0),
        linear-gradient(var(--color-1) calc(16 * var(--size)), transparent 0);
    background-repeat: no-repeat;
    background-size: calc(16 * var(--size)) calc(16 * var(--size));
    background-position: left top,
        left bottom,
        right top,
        right bottom;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% {
        width: calc(64 * var(--size));
        height: calc(64 * var(--size));
        transform: rotate(0deg);
    }

    50% {
        width: calc(30 * var(--size));
        height: calc(30 * var(--size));
        transform: rotate(180deg);
    }

    100% {
        width: calc(64 * var(--size));
        height: calc(64 * var(--size));
        transform: rotate(360deg);
    }
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #133750;

    /* Importante per contenere il wrapper */
}

.marquee-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;

    /* Fondamentale: impedisce agli elementi di andare a capo */
    width: max-content;
    height: 160px;
    align-items: center;
    /* Il wrapper sarà largo quanto la somma dei suoi figli */
}

.marquee-item {
    font-size: 14px;

    flex: 0 0 auto;
    /* Impedisce agli elementi di restringersi */
    width: auto;
    text-align: center;
    /* Esempio: larghezza fissa */
    align-content: center;
    color: #fff;
    background: #ccc;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 30px;
    padding-right: 30px;
    height: 80px;
    background-color: #1d4f72;
    line-height: 1em;
}

.marquee-item:hover {
    background-color: var(--color-navy-mid);
    scale: 1.1;
    transition: all var(--transition-fast);
}

.marquee-item span {

    font-size: 12px;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-sge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary-sge {
    background: var(--gradient-accent);
    color: var(--color-navy);
    box-shadow: var(--shadow-btn);
}

.btn-primary-sge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 180, 164, 0.50);
    color: var(--color-navy);
}

.btn-outline-sge {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-sge:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    background: rgba(0, 180, 164, 0.07);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
}

.btn-outline-dark:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-sm-sge {
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
}

.btn-lg-sge {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}


/* ─── CARDS ───────────────────────────────────────────────── */

.sezione-card {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px;

    border-radius: 0px;


    max-width: 100%;
    width: 100%;


}


.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex: 1;
    grid-template-rows: 1fr;
    gap: 0px;
    column-gap: 0px;
    row-gap: 0px;
    box-sizing: content-box;
    align-items: stretch;
}

.grid4-row {
    display: block;
    grid-template-columns: repeat(2, 1fr);

    flex: 1;
    gap: 0px;
    column-gap: 0px;
    row-gap: 0px;
    box-sizing: content-box;
}

.grid4 .card {
    display: grid;


    grid-template-rows: 60px 1fr 1fr;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border-right: 1px solid rgba(245, 245, 245, 0.3);
    border-top: 1px solid rgba(245, 245, 245, 0.3);
    border-bottom: 1px solid rgba(245, 245, 245, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: 1;

    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.grid4-row .card {

    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border-right: 1px solid rgba(245, 245, 245, 0.3);
    border-left: 1px solid rgba(245, 245, 245, 0.3);
    border-top: 1px solid rgba(245, 245, 245, 0.3);
    border-bottom: 1px solid rgba(245, 245, 245, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    gap: 20px;
    margin: 20px 0px 20px 0px;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.grid4 .card:first-child {
    border-left: 1px solid rgba(245, 245, 245, 0.3);
}



.grid4 .card div {
    border-radius: 0;
    box-shadow: none;

}

.grid4 .card:hover .i-over {
    opacity: 1;
    transition: all var(--transition-fast);
}

.grid4 .card:hover {
    scale: 1.02;
    transition: all 0.5s ease;
    box-shadow: none;
    background: #2774ae;
    /* fallback for old browsers */
    border-radius: 20px;
    color: #fff;
    transition: all var(--transition-fast);

}

.grid5 .card:hover {
    scale: 1.5;
    transition: all 0.5s ease;
    box-shadow: none;
    background: #2774ae;
    /* fallback for old browsers */

    color: #fff;

}

.grid4 .card .txt {
    color: #fff;
    transition: all 0.5s ease;
}

.grid4 .card:hover .txt {
    color: #fff;
    transition: all 0.5s ease;
}

.grid4 .card .h2 {
    color: #fff
}

.grid4 .card:hover .h2 {
    color: #fff
}

.grid4 [class*="col-"] {
    margin-bottom: 15px
}

.grid4 .pad-card[class*="col-"] {
    margin-bottom: 15px;

    border: 0;
    border-radius: 20px;
}

.grid4 .card i {
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    margin-bottom: 0
}

.grid4 .card a:hover i {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    transition: all var(--transition-fast);
    margin-bottom: 4px;
    text-align: center;
}

.card-cta {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    width: fit-content;
    display: inline-flex;
    margin-top: auto
}

.card-cta:hover {
    transition: all var(--transition-fast);
    background-color: var(--color-teal);
    margin-bottom: 0px;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;


}

.card-cta-a {
    width: fit-content;
    padding: 8px 16px 10px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);

}

.card-cta-a a {
    color: #fff;
    font-size: 16px;
}

.card-cta-a a:hover {
    color: var(--secondary);
    transition: all var(--transition-fast);
    color: #fff;

}

.card-cta:hover .card-cta-i {
    color: var(--secondary);
    background-color: #fff;
    transition: all var(--transition-slow);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-cta-i {
    width: fit-content;
    padding: 10px 16px 10px 16px;
    color: #fff;


}

/* CARD POSITIVA */
.card-cta-pos {
    border: 1px solid rgba(0, 46, 93, 0.3);
    border-radius: 10px;
    width: fit-content;
    display: inline-flex;
    margin-top: auto
}

.card-cta-pos:hover {
    background-color: var(--color-teal);
    transition: all var(--transition-fast);
    color: #fff
}

.card-cta-a-pos {
    width: fit-content;
    padding: 8px 16px 10px 16px;
    border-right: 1px solid rgba(0, 46, 93, 0.3);

}

.card-cta-a-pos a {
    color: #002E5D;
    font-size: 16px;

}

.card-cta-a-pos a:hover {
    color: var(--secondary);
    transition: all var(--transition-fast);
    color: #fff
}

.card-cta-pos:hover .card-cta-i-pos {
    color: var(--secondary);
    background-color: #002E5D;
    transition: all var(--transition-slow);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-cta-i-pos {
    width: fit-content;
    padding: 10px 16px 10px 16px;
    color: #000;


}

.sup-card-icn i {
    font-size: 36px !important;

}

/* ─── PARALLAX SECTIONS ─────────────────────────────────────── */
.parallax-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh / 2);
    display: flex;
    align-items: center;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(90deg, rgba(10, 28, 51, 0.88) 50%, rgba(0, 180, 164, 0.20) 50%);*/
    background-color: var(--color-navy);
    opacity: .85;
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
}

.parallax-bg-1 {
    background-image: url(../../../sites/default/files/home/parallax-bg-1.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-2 {
    background-image: url(../../../sites/default/files/home/parallax-bg-2.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-3 {
    background-image: url(../../../sites/default/files/home/parallax-bg-3.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-4 {
    background-image: url(../../../sites/default/files/home/parallax-bg-4.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-5 {
    background-image: url(../../../sites/default/files/home/parallax-bg-5.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-6 {
    background-image: url(../../../sites/default/files/home/parallax-bg-6.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-7 {
    background-image: url(../../../sites/default/files/home/parallax-bg-7.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}


.parallax-bg-8 {
    background-image: url(../../../sites/default/files/home/parallax-bg-8.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-9 {
    background-image: url(../../../sites/default/files/home/parallax-bg-9.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-10 {
    background-image: url(../../../sites/default/files/home/parallax-bg-10.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-11 {
    background-image: url(../../../sites/default/files/home/parallax-bg-11.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-12 {
    background-image: url(../../../sites/default/files/home/parallax-bg-12.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-13 {
    background-image: url(../../../sites/default/files/home/parallax-bg-13.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-14 {
    background-image: url(../../../sites/default/files/home/parallax-bg-14.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-15 {
    background-image: url(../../../sites/default/files/home/parallax-bg-15.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.parallax-bg-16 {
    background-image: url(../../../sites/default/files/home/parallax-bg-16.jpg);
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0%, 15%);
}

.col-style-pos [class*="col-"]:nth-child(4) {
    border-left: 1px solid var(--border-color-pos);
    margin-top: 30px;
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    .grid4 {

        display: grid;

        grid-template-columns: repeat(2, 1fr);
        flex: 1;



        gap: 0px;
        column-gap: 0px;
        row-gap: 0px;
        box-sizing: content-box;
    }

    .grid4-row {

        display: block;

        grid-template-columns: repeat(2, 1fr);
        flex: 1;



        gap: 0px;
        column-gap: 0px;
        row-gap: 0px;
        box-sizing: content-box;
    }

    .grid4 .card {
        display: grid;


        grid-template-rows: 60px 1fr 1fr;
        border-radius: 0;
        box-shadow: none;
        padding: 20px;
        border: 0;
        border-right: 1px solid rgba(245, 245, 245, 0.3);
        border-top: 1px solid rgba(245, 245, 245, 0.3);
        border-bottom: 1px solid rgba(245, 245, 245, 0.3);
        background-color: transparent;
        transition: all 1s ease;
        align-items: flex-start;
        aspect-ratio: 1;
        /*background: #2774ae;*/
        /* fallback for old browsers */
        /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
        /* Chrome 10-25, Safari 5.1-6 */
        /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    }

    .col-style [class*="col-"]:nth-child(3) {
        border-left: 1px solid var(--border-color);
        margin-top: 30px;
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .col-style [class*="col-"]:nth-child(4) {
        border-left: 1px solid var(--border-color);
        margin-top: 30px;
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }


    .col-style-pos [class*="col-"]:nth-child(3) {
        border-left: 1px solid var(--border-color-pos);
        margin-top: 30px;
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

}

@media (max-width: 767px) {
    .sezione {
        margin-top: 0px;
        padding: 30px 15px 30px 15px;

        display: block;
        border-radius: 0px;

        margin-bottom: 0px;
        max-width: 100%;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        min-height: calc(100vh / 2);
    }

    .grid4 {

        display: grid;

        grid-template-columns: repeat(1, 1fr);
        flex: 1;



        gap: 0px;
        column-gap: 0px;
        row-gap: 0px;
        box-sizing: content-box;
    }

    .grid4-row {

        display: block;

        grid-template-columns: repeat(2, 1fr);
        flex: 1;



        gap: 0px;
        column-gap: 0px;
        row-gap: 0px;
        box-sizing: content-box;
    }

    .grid4 .card {
        display: grid;


        grid-template-rows: 60px 1fr 1fr;
        border-radius: 0;
        box-shadow: none;
        padding: 20px;
        border: 0;
        border-right: 1px solid rgba(245, 245, 245, 0.3);
        border-top: 1px solid rgba(245, 245, 245, 0.3);
        border-bottom: 1px solid rgba(245, 245, 245, 0.3);
        background-color: transparent;
        transition: all 1s ease;
        align-items: flex-start;
        aspect-ratio: 1;
        /*background: #2774ae;*/
        /* fallback for old browsers */
        /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
        /* Chrome 10-25, Safari 5.1-6 */
        /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    }

    .card-cta-a {
        width: fit-content;
        padding: 10px 16px 10px 16px;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        font-size: 14px;

    }

    .card-cta-a a {
        color: #fff
    }

    .pd-footer {
        padding-left: 15px;
        padding-right: 15px
    }


    .col-style [class*="col-"] {

        border: 1px solid var(--border-color);
        margin-top: 30px;
        padding: 15px;

        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .col-style-pos [class*="col-"] {

        border: 1px solid var(--border-color-pos);
        margin-top: 30px;
        padding: 15px;

        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    nav.menu--main {
        margin-left: 0px !important;
        width: 100%;
        padding-bottom: 12px;
        border: 0 !important;
    }

    .navbar {
        border-radius: 0px;
        border-bottom-right-radius: 40px;
        border-bottom-left-radius: 40px;
        margin-top: 10px;
        background-color: rgba(255, 255, 255, 1);
        transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        position: fixed;
        top: 0;
        z-index: 1000;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        font-size: 20px;
    }

    .navbar-nav {
        margin-top: 30px;
        border-top: 1px solid;
    }

    .dropdown-menu {
        left: 0;
        min-width: 260px;
        background: transparent;
        border: 1px solid rgba(0, 180, 164, 0.18);
        font-size: 20px;
    }

}


.col-style {
    padding: 0;

}

.col-style [class*="col-"] {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    margin-top: 30px;
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.col-style [class*="col-"]:first-child {

    border-left: 1px solid var(--border-color);
    margin-top: 30px;
    padding: 15px;

    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.col-style-pos {
    padding: 0;

}

.col-style-pos [class*="col-"] {

    border-top: 1px solid var(--border-color-pos);
    border-bottom: 1px solid var(--border-color-pos);
    border-right: 1px solid var(--border-color-pos);
    margin-top: 30px;
    padding: 15px;

    flex-grow: 1;
    display: flex;
    flex-direction: column;


}

.col-style-pos [class*="col-"]:first-child {

    border-left: 1px solid var(--border-color-pos);
    margin-top: 30px;
    padding: 15px;

    flex-grow: 1;
    display: flex;
    flex-direction: column;



}

.container-cards {
    display: flex;
    flex-wrap: wrap;

}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-navy);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(0, 180, 164, 0.12);
}

.footer-logo {
    margin-bottom: 1rem;
}

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

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 280px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 1.2rem;
}

.footer-link {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.60);
    margin-bottom: 0.6rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-teal);
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.30);
}

.footer-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-cert-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(0, 180, 164, 0.6);
    letter-spacing: 0.05em;
}


/* ─── CONTACT BLOCK ──────────────────────────────────────────── */
.contact-info-block {
    padding: 2rem;
    background: var(--color-navy-mid);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 180, 164, 0.15);
}

.contact-info-block h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-info-item .ci-icon {
    color: var(--color-teal);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info-item .ci-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.contact-info-item .ci-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.40);
    margin-bottom: 2px;
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;

}

.scroll-indicator .arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-teal);
    border-bottom: 2px solid var(--color-teal);
    transform: rotate(45deg);
    animation: bounce 2s infinite;

}


.scroll-to-top {
    padding-left: 4px
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

.bordo-evidenza {
    border-left: 4px solid var(--color-teal);
    border-radius: var(--border-radius-md);
    padding: 1.75rem 2rem;
}

.box-evidenza {
    background: linear-gradient(135deg, rgba(0, 180, 164, 0.08) 0%, rgba(0, 194, 255, 0.06) 100%);
    padding: 30px;
    border-radius: 20px;
}

.box-evidenza-dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 180, 164, 0.35);
    border-left-color: var(--color-teal);
}

.box-evidenza p {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.05rem;
}

.box-evidenza-dark p {
    color: rgba(255, 255, 255, 0.88);
}

.list-check {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0;
}

.list-check li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-size: clamp(1.2rem, 2vw, 1.2rem);
    line-height: clamp(1.4rem, 2.4vw, 1.4rem);
    color: var(--color-text-light);
    color: #000000;
    line-height: 1.2;
}


.list-check.white li {
    color: rgba(255, 255, 255, 0.80);
}


/* ─── ACCORDION ─────────────────────────────────────────────── */
.accordion-sge .accordion-button {
    color: var(--color-navy);
    background: var(--color-white);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2vw, 1.4rem);
    line-height: clamp(1.7rem, 3.2vw, 1.6rem);
    font-display: swap;
    text-shadow: none;
    letter-spacing: 0px;
    box-shadow: none;
}

.accordion-sge .accordion-button:not(.collapsed) {
    color: var(--color-teal);
    background: rgba(0, 180, 164, 0.04);
    box-shadow: none;
    font-size: clamp(1.2rem, 2vw, 2rem);

}



.accordion-sge .accordion-item {
    border: 1px solid var(--color-gray-100);
    border-radius: var(--border-radius-sm) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}


/* NEW CSS TEST */

#navbar-main {
    background-color: transparent;
    color: #000;
    background-color: rgba(19, 55, 80, .8);
    background-color: var(--color-navy-2);
    background-color: transparent;

    backdrop-filter: blur(8px);

}

#navbar-main {
    background-color: transparent;
    color: #000;
    padding-left: 15px;
    padding-right: 15px;
}

.top-logo-box {
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    background-color: var(--color-navy-2);

    display: flex;
    align-items: center;
    height: 70px;
    border-radius: 50px;

}

.top-menu-box {
    padding-left: 15px;
    padding-right: 15px;
    background-color: var(--color-navy-2);
    padding: 15px;
    display: flex;
    align-items: center;
    border-radius: 30px;


}

.navbar.is-scrolled {
    /* Stato quando scrolli */
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 60px;
    background-color: rgba(19, 55, 80, .8);
    /* Leggera trasparenza per profondità */
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);*/
    /* Aggiunge eleganza */
    backdrop-filter: blur(20px);

}

#navbar-main {
    background-color: transparent;
    color: #000;
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    padding: 0;
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    background-color: transparent;
    background-color: rgba(19, 55, 80, .8);
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: 50%;
    transition: var(--bs-navbar-toggler-transition);
    border-color: #fff;
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.navbar-toggler-icon {
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");*/
    background-color: #fff;
    width: 40px;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    color: #fff
}

.navbar.is-scrolled {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 40px;
    background-color: rgba(0, 0, 0, 0.85);

    box-shadow: none;
    backdrop-filter: blur(20px);
}


.h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: clamp(1.7rem, 3.2vw, 1.9rem);
    font-display: swap;
    text-shadow: none;
    letter-spacing: 0px;
}

/* GRID 4 CARDS */
.grid1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    flex: 1;

    box-sizing: content-box;
    align-items: stretch;
    margin-top: 40px;
}

.grid1 .card {
    display: grid;
    grid-template-rows: 60px 100px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border: 1px solid rgba(245, 245, 245, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex: 1;
    gap: 10px;
    column-gap: 10px;
    row-gap: 10px;
    box-sizing: content-box;
    align-items: stretch;
    margin-top: 40px;
}

.grid2 .card {
    display: grid;
    grid-template-rows: 60px 100px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border: 1px solid rgba(245, 245, 245, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}



.grid2 .card-pos {
    display: grid;
    grid-template-rows: 60px 100px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex: 1;
    gap: 10px;
    column-gap: 10px;
    row-gap: 10px;
    box-sizing: content-box;
    align-items: stretch;
    margin-top: 40px;
}

.grid3 .card {
    display: grid;
    grid-template-rows: 60px 100px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border: 1px solid rgba(245, 245, 245, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.grid3 .card-pos {
    display: grid;

    grid-template-rows: 60px 100px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.grid4 .card-pos {
    display: grid;
    grid-template-rows: 60px 100px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}


.grid3 .card:hover {
    scale: 1.04 !important;
    transition: all 0.5s ease;
    box-shadow: none;
    background: #2774ae;
    /* fallback for old browsers */
    border-radius: 20px;
    color: #fff;
    transition: all var(--transition-fast);

}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex: 1;
    gap: 10px;
    column-gap: 10px;
    row-gap: 10px;
    box-sizing: content-box;
    align-items: stretch;
    margin-top: 40px;
}



.grid4 .card {
    display: grid;
    grid-template-rows: 60px 100px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
    border: 1px solid rgba(245, 245, 245, 0.3);
    background-color: transparent;
    transition: all 1s ease;
    align-items: flex-start;
    aspect-ratio: inherit;
    /*background: #2774ae;*/
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to top, #002E5D, #002E5D, #2774ae);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}




.grid4 .card:hover {
    scale: 1.04 !important;
    transition: all 0.5s ease;
    box-shadow: none;
    background: #2774ae;
    /* fallback for old browsers */
    border-radius: 20px;
    color: #fff;
    transition: all var(--transition-fast);

}

.grid3 .card-pos:hover {
    scale: 1.04 !important;
    transition: all 0.5s ease;
    box-shadow: none;
    background: #2774ae;
    /* fallback for old browsers */
    border-radius: 20px;
    color: #fff;
    transition: all var(--transition-std);

}

.grid4 .card-pos:hover {
    scale: 1.04 !important;
    transition: all 0.5s ease;
    box-shadow: none;
    background: #2774ae;
    /* fallback for old browsers */
    border-radius: 20px;
    color: #fff;
    transition: all var(--transition-fast);

}

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

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

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

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


}

@media (max-width: 991px) {

    .pad-box {
        margin-top: 30px;
    }

    .bordo-evidenza {
        border-left: none;
        border-top: 4px solid var(--color-teal);
        border-radius: var(--border-radius-md);
        padding: 1.75rem 2rem;
    }

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

    .grid2-pos {
        grid-template-columns: repeat(1, 1fr);
    }

    .show {
        transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);

    }

}

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

    .grid4-pos {
        grid-template-columns: repeat(1, 1fr);
    }

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

    .grid3-pos {
        grid-template-columns: repeat(1, 1fr);
    }

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

    .grid2-pos {
        grid-template-columns: repeat(1, 1fr);
    }

    .bordo-evidenza {
        border-left: none;
        border-top: 4px solid var(--color-teal);
        border-radius: var(--border-radius-md);
        padding: 1.75rem 2rem;
    }

    .show {
        transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);

    }

    .sezione-int {
        margin-top: 0px;
        padding: 40px 15px 40px 15px;
        display: block;
        border-radius: 0px;
        margin-bottom: 0px;
        max-width: 100%;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        min-height: calc(100vh / 1.3);
    }

}

.gradient-txt {
    background: linear-gradient(to right, #003153, #0070B2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.bg-evidenza-pos {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    background-color: var(--secondary);
    border: 1px solid rgba(0, 180, 164, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(8px)
}


.card-logo-img {
    width: 200px
}

.navbar-toggler-icon {
    background-color: #fff;
    width: 30px;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    line-height: 1px;
    margin-bottom: -20px;
    font-size: 2px;
    display: flex;
    margin-bottom: 7px;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
}

.navbar-toggler-icon {
    background-image: none;
}

.copertina-hero {
    height: 100%;
    width: 100% !important;
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.copertina-hero img {
    width: 100%;
    height: auto;
}


/* Override per consentire flex layout ed evitare bug con grid-template-rows fisso */
.grid3 .card-pos {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.grid3 .card-pos .hero-badge {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

/* Stili per la galleria video nelle card delle Risorse */
.video-gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.video-item {
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease;
}

.video-item:hover {
    transform: translateY(-3px);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.video-thumbnail-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.video-item:hover .video-thumbnail-wrapper video {
    opacity: 0.95;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fbbf24;
    /* Giallo del tema */
    font-size: 1.6rem;
    opacity: 0.8;
    transition: all 0.2s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-item:hover .video-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
    color: #fff;
}

.video-title {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.video-item:hover .video-title {
    color: #fff;
}

/* Firefox rendering fix per video all'interno di Bootstrap Modals (evita che il video resti invisibile o nero a causa dei CSS transforms) */
#videoLightboxModal.fade .modal-dialog {
    transform: none !important;
    transition: opacity 0.15s linear !important;
}


/* VIEWS */
.thumbnail {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    box-shadow: 0 1px 20px rgba(255, 255, 255, 0.9);
    background-color: var(--color-gray-100);
    position: relative;

}


.views-field-field-titolo {
    min-height: 50px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 900;
    font-family: "Roboto";

}

.views-field-field-titolo {
    color: var(--color-navy);
}

.views-field-field-data-focus {
    background-color: var(--color-navy);
    font-size: 14px;
    color: #fff;
    padding: 4px 10px;
    margin-bottom: 10px;

    border-radius: 8px;


}

.views-field-body {
    font-size: 16px;
    line-height: 18px;
}

.views-field-field-immagine-focus {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.views-field-field-immagine-focus img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.views-field-view-node {
    position: absolute;
    bottom: 0;
    overflow: hidden;
    display: block;
    right: 0;
    height: 40px;
    width: 100%;
    padding: 4px 10px;
    border-radius: 0 0 10px 10px;
    text-align: right;
}

.thumbnail {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    box-shadow: 0 1px 20px rgba(255, 255, 255, 0.9);
    background-color: var(--color-gray-100);
    position: relative;

}

.view-focus-2026 nav {
    margin-top: 60px
}


.modal-backdrop.show {
    opacity: 0.8 !important;
}

.card-form {
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.captcha__description .description {
    font-size: 16px !important;
    font-weight: 700;
}

.login-block {
    width: auto;
    max-width: 600px;
    padding: 20px;
    border-radius: 20px;
    background: #f5f5f5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    display: grid;
    flex-direction: column;
}

.login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    margin: 0 auto;
    height: 100vh;
}

.login-box label {
    font-size: 14px;
}

.webform-confirmation-modal {
    padding: 20px;
    border-radius: 10px;
}

.ui-dialog-titlebar {
    border-radius: 10px
}

.form-actions button {
    width: 100%
}

.login-img img {
    width: 300px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.sezione-login {
    margin: 0;
}

.login-img-admin img {
    width: 300px;

    margin-bottom: 20px;
}

.login-block .nav-tabs .nav-link {
    background-color: var(--accent);
    background-color: #eee;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0px;
    backdrop-filter: blur(8px);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.login-block .nav-tabs .active {
    background-color: var(--accent);
    border-radius: 0px;
    backdrop-filter: blur(8px);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #fff
}


.table-responsive {
    overflow-x: unset !important;
    -webkit-overflow-scrolling: touch;
}

#edit-header {
    padding: 15px;
    background-color: var(--color-navy-2);
    border-radius: 8px;
    box-shadow: var(--shadow-btn);
    display: flex;
}

.table-responsive .views-field-title a {
    color: #000 !important;
    font-weight: 700;
}

.js-form-wrapper {
    display: block;
}

.view-filters {
    background-color: var(--color-navy);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-btn);
    display: flex;
    margin-bottom: 15px;
}

.views-field-title {
    font-weight: 900;

    font-size: clamp(20px, 22px, 26px);
    line-height: clamp(24px, 24px, 30px);
    color: var(--color-navy);
    margin-bottom: 15px;
    min-height: 40px
}










#block-paulbati-titolodellapagina h1 {
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--color-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 900;
    letter-spacing: -1px;

}

.block-page-title-block h2 {
    font-size: clamp(20px, 22px, 26px);
    line-height: clamp(24px, 24px, 30px);
    color: var(--color-navy);
    margin-bottom: 15px;
    min-height: 40px
}


.node.node--type-focus-page .field--name-field-data-focus {
    background-color: var(--color-navy);
    font-size: 14px;
    color: #fff;
    padding: 4px 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    width: fit-content;
}


.card-aut {
    width: auto;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 60px;
}

@media (max-width: 576px) {

    .card-aut {
        width: auto;
        padding: 4px;
        margin: 10px;
        overflow: hidden;
    }
}

.aut-header {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    background-color: var(--color-navy);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.aut-field {
    font-weight: bold;
    font-size: 18px;
    color: var(--color-navy);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    border-bottom: 1px solid #ccc
}

.aut-label {
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    align-items: center;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
}

.aut-value {
    padding-left: 10px;
    font-size: 20px;
    align-items: center;
    line-height: 24px;
    padding: 10px;
    border-radius: 5px;
    width: auto;
    padding-left: 10px;
}


.card-badge {
    margin-top: 60px;
    padding: 30px;
    background-color: #fff;
    box-shadow: var(--shadow-btn);
    margin-bottom: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.form-badge {
    margin-top: 60px;
    padding: 30px;
    background-color: #fff;
    box-shadow: var(--shadow-btn);
    margin-bottom: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 450px;
    margin: 40px auto;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;

}


.views-field.views-field-title {}

.views-field.views-field-view-node {
    text-align: left;
}

.views-field.views-field-view-node span {
    background-color: var(--color-navy);
    padding: 10px;
    border-radius: 8px;
    text-align: left;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.views-field.views-field-view-node span a {
    color: var(--secondary);
    font-weight: 600;
}

.views-field.views-field-view-node span a:hover {
    color: #fff
}

.views-field-body {
    min-height: 200px;

}

.views-field-view-node {
    position: absolute;
    bottom: 10px
}

.views-field-title a {
    color: #f97316;
    color: var(--secondary)
}

.views-field-title a:hover {
    color: #070a13
}

.views-field-title h2 {
    font-weight: 900;
    font-size: clamp(20px, 22px, 26px);
    line-height: clamp(24px, 24px, 30px);
    color: var(--color-navy);
}