/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */


@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,600,600i,700,900');
@import url('https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,600,700,800');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,600,700,800');

@import url('https://fonts.googleapis.com/css?family=Bebas+Neue:400');



/* ─── 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;
}

/* SLIDE */

.md-slide-items {
    letter-spacing: -2px
}

/* PAGE */
.ancora {
    top: 100px;
    display: block;
}

/* BLOCCHI */

#block-block-1 {
    margin-top: 60px;
    margin-bottom: 60px;

}

#block-block-2 {
    margin-top: 60px;
    margin-bottom: 60px;

}

#block-block-3 {
    margin-top: 0px;
    margin-bottom: 0px;

}

#block-block-4 {
    margin-top: 60px;
    margin-bottom: 60px;

}

#block-block-5 {
    margin-top: 60px;
    margin-bottom: 60px;

}

#block-block-6 {
    margin-top: 60px;
    margin-bottom: 60px;

}

#block-block-7 {
    margin-top: 60px;
    margin-bottom: 0px;

}

#block-block-8 {
    margin-top: 60px;
    margin-bottom: 60px;

}

#block-block-9 {
    margin-top: 60px;
    margin-bottom: 0px;

}

.padded {
    padding-top: 40px;
    padding-bottom: 40px
}

/* AFFIX */
.affix-top {
    padding-top: 0px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1) !important;
    width: 100%;
    z-index: 100;
    margin-top: 0px;
    border-top: 1px solid #5799b4
}

.affix {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8) !important;
    -webkit-transition-property: all;
    -webkit-transition-duration: 1s;
    -webkit-transition-timing-function: ease;
    transition-property: all;
    transition-duration: 0.7s;
    transition-timing-function: ease;
    margin-top: 0px;
    top: 0;
    z-index: 100;
    border-top: 8px solid #5799b4
}

.navbar {
    font-family: "Oswald";
    font-size: 16px;
    background: #fff
}


.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #555;
    background-color: #afd7e8;


}

.navbar-nav li a {
    background: inherit;

}

.navbar-nav li a {
    padding-top: 26px;
    padding-bottom: 26px;
    color: #fff
}

.navbar-nav li a:hover {
    color: #5799b4;
    background-color: #5799b4 !important;

    padding-top: 26px;
    padding-bottom: 26px;
    transition-property: background;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    color: #fff !important;
}


.pull {
    float: right;
}

.navbar .logo {
    padding-right: 0
}

.logo-header {
    width: 200px;
    display: block;
    margin-left: 0;
    margin-right: 0
}

.nav {
    margin: 0;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .navbar-collapse {
        text-align: center;
        margin-left: 0;
        margin-right: 0
    }
}

@media (max-width: 992px) {
    .navbar-collapse {}
}

@media (max-width: 767px) {

    .navbar-collapse {
        background: #fff;
        width: 100% !important;
        margin: 0 !important
    }

    .container-fluid>.navbar-collapse {

        margin-left: -15px;
        margin-right: -15px;

    }


    .pull {
        float: left;

    }

    .navbar-nav li a {
        padding-top: 10px;
        padding-bottom: 10px;

    }

    .navbar-nav li a:hover {
        color: #555;
        padding-top: 10px;
        padding-bottom: 10px;

    }

    .navbar-nav li>a {
        height: auto !important;
    }

    #map {

        width: auto !important
    }

}

.main-container {}

/* COLORI */
.grey {
    background: #e3e3e3
}

.bg-grey {
    background: #e3e3e3
}

.verde-chiaro {
    background: #d0e0d1
}

.rosso-scuro {
    background: #c92c2c
}

.nero {
    background: #000
}

.blu {
    background: #5799b4
}

.verde {
    color: #0c9d2e
}

.bianco {
    color: #fff
}


/* SPACER */

.spacer-20 {
    margin-top: 20px;
    margin-bottom: 20px;
    min-height: 1px;
    display: block;
}

.top-banner {
    height: 50px;
    position: absolute;
    top: 0
}

/* FOOTER */
.footer {
    padding-bottom: 0px;
}

.footer {
    margin-top: 45px;
    padding-top: 0px;
    padding-bottom: 36px;
    padding-bottom: 0px;
    border-top: 0px solid;
    background: #5799b4
}

.footer a {
    color: #fff
}

.tit-footer {
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.txt-footer {
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

.logo-footer {
    width: auto
}

.logo-contatti {
    width: 300px
}

/* TESTI */
.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto
}

.centrale {
    margin-left: auto;
    margin-right: auto
}

.filo-sotto {
    border-top: 8px solid #106023;
    margin-bottom: 40px;
    width: 10%;
    margin-top: 15px;

}

h1 {
    font-family: "Oswald";
    font-size: 46px;
    line-height: 50px;
    letter-spacing: -1px;
    font-weight: 600
}

h2 {
    font-family: "Oswald";
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -1px
}

.testo {
    font-family: "Roboto";
    font-size: 24px;
    line-height: 32px;
    font-weight: 300;

}

.testo-aut {
    font-family: "Roboto";
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;

}

.testo-dida {
    font-family: "Roboto";
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    color: #555;
    padding-top: 16px
}


.testo-dida-1 {
    font-family: "Roboto";
    font-size: 18px;
    line-height: 20px;
    font-weight: 300;
    color: #555;
    font-weight: 600;
    padding-top: 16px;
    padding-bottom: 10px
}

/* ANCHOR */


/* FLEX */
.flexi {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 100%
}


.flexi-area {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center
}



#map {
    width: 100%;
    height: 400px;
    overflow: hidden;

}





.anniversary {
    position: fixed;
    z-index: 300;
    right: 40px;
    bottom: 40px;

    width: 80px;
    height: 80px;

}

.anniversary-pi {

    width: 250px;


}


/* NEWS */


.news-titolo {
    font-family: "Roboto";
    font-size: 24px;
    color: #f00;
}

.news-testo {
    font-family: "Roboto";
    font-size: 20px;
    color: #888;

}


.views-field-created {
    color: #f00
}




.titolo-cookie-h1 {
    font-size: 30px;
    font-family: "Roboto";
    font-weight: 900;
    letter-spacing: -1px
}

.titolo-cookie-h2 {
    font-size: 16px;
    font-family: "Roboto";
    font-weight: 900;
    letter-spacing: -1px
}

.testo-cookie {
    font-size: 14px;
    font-family: "Roboto";

}

#popup-text h2 {
    font-family: "Roboto";
    letter-spacing: 0
}




/* SLIDES */
.md-layer-1-0-0 {
    z-index: 999 !important;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    color: #ffffff !important;
    font-size: 4.3333333333333em;
    font-weight: 700;
    font-family: "Oswald";
}

.md-layer-1-0-1 {
    background: rgb(0, 189, 255);
    background: rgba(0, 189, 255, 0.5);
    z-index: 998 !important;
}

.md-layer-1-0-2 {
    z-index: 1000 !important;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    color: #ffffff !important;
    text-align: left;
    font-size: 4.3333333333333em;
    font-family: "Oswald";
    text-transform: none;
}

.hero-slider {

    height: calc(100vh - 70px);
    position: relative;
    margin: 0;
    padding: 0;
}

.hero-slide-item {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg-1 {
    width: 100%;
    height: 100%;
    background-image: url('../../../sites/default/files/slide-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.claim {
    display: flex;
    height: 100%;
    align-items: flex-start;
    padding-left: 60px;
    justify-content: center;
    flex-direction: column;
}

.claim-box {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0
}

.claim .h1 {
    font-size: clamp(32px, 6vw, 64px);
    line-height: 1.1;
    font-weight: 600;
    text-align: center;
    font-family: "Oswald";
    text-align: left;
}

.claim .h2 {
    font-size: clamp(34px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 600;
    text-align: center;
    font-family: "Oswald";
    text-align: left;
}

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

.cont-parallax {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    display: block;
}

.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%);
}

.img-azienda {

    background-image: url('../../../sites/default/files/azienda.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 0;
    right: 0;
    min-height: 300px;
    position: absolute;
}


/* 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;
}


.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.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.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);
}


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

#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 {
    border-radius: 0px;
    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;
}

.navbar-brand {
    padding-top: var(--bs-navbar-brand-padding-y);
    padding-bottom: var(--bs-navbar-brand-padding-y);
    margin-right: var(--bs-navbar-brand-margin-end);
    font-size: var(--bs-navbar-brand-font-size);
    color: var(--bs-navbar-brand-color);
    text-decoration: none;
    white-space: nowrap;
}

.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;
}


.row {
    --bs-gutter-x: 0rem !important;
    --bs-gutter-y: 0;

}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 0rem !important;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.sezione {
    padding: 60px;
    background-color: #f4f4f4;
    border: 1px solid #f1f1f1;
    border-radius: 60px;
    margin: 20px;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 20px;
}

#servizi,
#chi-siamo,
#contatti,
#recupero,
#prodotti,
#autorizzazioni {
    scroll-margin-top: 100px;
}

.pad-15 {
    padding: 15px !important
}

@media (max-width: 991px) {
    .sezione {
        padding: 30px;
        background-color: #f4f4f4;
        border: 1px solid #f1f1f1;
        border-radius: 15px;
        margin: 15px;
    }

    .cont-parallax {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 40px;
    }

    .img-azienda {
        background-image: url('../../../sites/default/files/azienda.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        left: 0;
        right: 0;
        min-height: 300px;
        position: relative;

        border: 2px solid #f00
    }
}


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

.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: 1;
    padding: var(--section-pad) 0;
    padding: 0 !important;
}

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

.img-rad {
    border-radius: 15px;
}

.button-cont {
    margin-top: 20px
}


.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);
}

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


/* ─── 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;
}

.site-footer__bottom {
    letter-spacing: 0.2px;
    margin-top: 30px;
    border-top: 1px solid #555;
    border-top-color: rgb(85, 85, 85);
    border-color: rgba(255, 255, 255, 0.15);
}

.site-footer {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 10px 60px 30px !important;
    background: black;
}