html, body {
    width:100%;
    overflow-x:clip;
}
:root {
    --petrol: #00BE81;
    --ink: #111b1c;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--ink);
}

a {
    -webkit-tap-highlight-color: transparent;
}

* {
    font-family: Montserrat;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.08;
}

h3 span {
    color: var(--petrol);
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 35px;
    background: transparent;
    transition: background .35s, box-shadow .35s, padding .35s;
}

#header.is-scrolled {
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, .12);
    padding-top: 8px;
    padding-bottom: 8px;
}

#col-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo {
    max-width: 200px;
    width: auto;
    height: auto;
    transition: .35s;
}

#header.is-scrolled #logo {
    max-width: 145px;
    max-height: 65px;
}
#header .navbar-nav a {
    position:relative;
    transition:color .3s ease;
}

#header .navbar-nav a::after {
    content:"";
    position:absolute;
    bottom:4px;
    left:0;
    width:100%;
    height:2px;
    background: var(--petrol);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .35s cubic-bezier(.16,1,.3,1);
}

#header .navbar-nav a:hover {
    color:var(--petrol);
}

#header .navbar-nav a:hover::after {
    transform:scaleX(1);
}

#header .navbar {
    padding: 0;
}

#header .navbar-nav {
    align-items: center;
    gap: 8px;
}

#header .navbar-nav a {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #111b1c;
    text-decoration: none;
    padding: 10px 12px;
    transition: color .25s;
}

#header .navbar-nav a:hover {
    color:var(--petrol);
}


.dropdown-item.active, .dropdown-item:active {
    color: var(--petrol);
    background-color: var(--servizi-petrol);
}

#hamburger {
    display: none;
}

#header .navbar-toggler {
    border: 1px solid #17636a;
    border-radius: 6px;
    padding: 7px 10px;
}

#header .navbar-toggler:focus {
    box-shadow: none;
}

.header-search {
    margin-top: 10px;
}

#search {
    height: 36px;
    border: 1px solid rgba(23, 99, 106, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .45);
    font: 12px Montserrat, sans-serif;
    padding: 8px 40px 8px 16px;
}

#search:focus {
    background: #fff;
    border-color: #17636a;
    box-shadow: none;
}

#active_search {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #17636a;
    cursor: pointer;
}

.social_header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.social_header > a img {
    width: 50px;
    height: auto;
    transition: transform .25s;
}

.social_header > a:hover img {
    transform: translateY(-3px);
}

#header .lingue {
    width: 100%;
    justify-content: flex-end;
    margin-top: 8px !important;
}

#header .lingue img {
    width: 25px;
    height: auto;
}




/* =====================================
   NAVBAR STICKY
===================================== */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 23px 0;

    transition: background .3s ease,
    box-shadow .3s ease,
    padding .3s ease;
}

.site-nav.is-scrolled {
    background: #fff;
    box-shadow: 0 7px 22px rgba(17, 42, 44, .14);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.06em;
    color: var(--ink) !important;
}

.navbar-brand span {
    color: var(--petrol);
}

.navbar-nav .nav-link {
    color: var(--ink);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
    padding: 12px 17px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--petrol);
}

.navbar-toggler {
    border: 1px solid rgba(23, 99, 106, .4);
    box-shadow: none !important;
}

/* =====================================
   PULSANTI
===================================== */

.nav-cta,
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    border: 1px solid var(--petrol);
    color: var(--petrol);
    text-decoration: none;

    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 14px 22px;

    transition: background .2s ease,
    color .2s ease;
}

.nav-cta:hover,
.hero-cta:hover {
    background: var(--petrol);
    color: white;
}

/* =====================================
   HERO
===================================== */

.hero {
    position: relative;
    min-height: 720px;
    height: 92 svh;
    overflow: hidden;
    background: #c1d9da;
    isolation: isolate;
}

#flowCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -2;
    filter: saturate(1.08) contrast(1.04);
}

/* Sfumatura leggera per il testo */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg, rgba(235, 244, 241, .48) 0%, rgba(235, 244, 241, .16) 42%, transparent 75%
    );
    z-index: -1;
    pointer-events: none;
}

/* =====================================
   CONTENUTO HERO
===================================== */

.hero-content {
    position: relative;
    z-index: 2;

    height: 100%;
    display: flex;
    align-items: center;

    padding-top: 110px;
    padding-bottom: 125px;
}

.eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;

    margin-bottom: 25px;
    color: var(--petrol);
}

.hero-title {
    font-size: clamp(3.4rem, 7.5vw, 5.6rem);
    font-weight: 800;
    line-height: .98;
    max-width: 1150px;
    margin: 60px 0px;
}

.hero-title span {
    color: var(--petrol);
}

.hero-lead {
    font-size: clamp(.96rem, 1.4vw, 1.2rem);
    font-weight: 500;
    line-height: 1.7;

    max-width: 520px;
    margin-bottom: 30px;
}

/* =====================================
   CATEGORIE HERO A DESTRA
===================================== */

.hero-categories {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    border-left:3px solid rgba(17,27,28,.45);
    padding-left:16px;
    width:max-content;
    max-width:100%;
}

.hero-categories a {
    display:flex;
    align-items:center;
    gap:0;
    font-family:'Montserrat',sans-serif;
    font-size:clamp(.9rem,1.2vw,1.2rem);
    font-weight:500;
    line-height:3;
    color:#34494b;
    text-decoration:none;
    transition:color .3s ease,transform .3s ease;
}

.hero-categories a:hover {
    color:var(--petrol);
    transform:translateX(5px);
}

.hero-categories .pittogramma {
    width:0;
    height:50px;
    object-fit:contain;
    opacity:0;
    transform:scale(1);
    transition:
            width .35s ease,
            opacity .3s ease,
            transform .35s ease,
            margin-right .35s ease;
}

.hero-categories a:hover .pittogramma,
.hero-categories a:focus-visible .pittogramma {
    width:50px;
    margin-right:12px;
    opacity:1;
    transform:scale(1);
}

.hero-categories a:focus-visible {
    color:var(--petrol);
    outline:2px solid var(--petrol);
    outline-offset:4px;
}

@media (prefers-reduced-motion:reduce) {
    .hero-categories a,
    .hero-categories .pittogramma {
        transition:none;
    }
}

.hero-bottom {
    position: absolute;
    bottom: 110px;
    left: 0;
    right: 0;

    font-size: .7rem;
    letter-spacing: .14em;
    font-weight: 700;
    text-transform: uppercase;
    color: #37666b;
}

/* CARD SERVIZI */
.service-cards {
    position: relative;
    z-index: 5;
    margin-top: -100px;
}

.service-cards .row {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
}

.service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 330px;
    height: 100%;
    padding: 24px 20px;
    border-radius: 22px;
    color: #fff;
    text-decoration: none;
    background-color: #1b3035;
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 35px rgba(21, 67, 72, .16);
    transition: transform .35s ease, box-shadow .35s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:linear-gradient(180deg, rgba(6, 23, 27, .36), rgba(6, 23, 27, .06) 38%, #00BE81);
}

.service-card:hover {
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(21, 67, 72, .22);
}

.service-card .number {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: #d4ebea;
}

.service-card h3 {
    font-size: clamp(1.25rem, 1.7vw, 1.9rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.045em;
    margin: 15px 0 15px;
    overflow-wrap: anywhere;
}

.service-card .card-arrow {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background .3s, color .3s, transform .3s;
}

.service-card:hover .card-arrow {
    background: #fff;
    color: #17636a;
    transform: translate(3px, -3px);
}

/* Hover */

.service-card:hover {
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(21, 67, 72, .22);
}

.service-card:hover::before {
    transform: scale(1.09);
}

/* Numero card */

.service-card .number {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: #d4ebea;
}

/* Titolo card */

.service-card h3 {
    font-size: clamp(1.25rem, 1.7vw, 1.9rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.045em;

    margin: 15px 0 15px;
    overflow-wrap: anywhere;
}

/* Freccia circolare */

.service-card .card-arrow {
    display: inline-grid;
    place-items: center;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;

    font-size: 1.2rem;

    transition: background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.service-card:hover .card-arrow {
    background: #fff;
    color: var(--petrol);
    transform: translate(3px, -3px);
}

.intro {
    padding: 105px 0;
    background: #fff;
}

.intro h2 {
    font-size: clamp(2rem, 4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.intro h2 span {
    color: var(--petrol);
}

.intro p {
    font-size: 30px;
    line-height: 56px;
}

/* CARD SETTORI */
.settori-section {
    padding: 65px 0;
    background: #edf3f2;
}

.settore-card {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 330px;
    height: 100%;
    padding: 28px;
    border: 1px solid #e0e9e8;
    border-radius: 22px;
    background: #fff;
    color: #111b1c;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(21, 67, 72, .04);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}

.settore-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.settore-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    padding: 15px;
    border-radius: 16px;
    background: #eaf3f1;
    transition: background .3s;
}

.settore-icon .pittogramma {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.settore-number {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: #7b9999;
    white-space: nowrap;
}

.settore-card-body {
    margin-top: 35px;
    margin-bottom: 25px;
}

.settore-card h2 {
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -.045em;
    margin: 0 0 15px;
}

.settore-card p {
    font-size: .85rem;
    line-height: 1.7;
    font-weight: 400;
    color: #637779;
    margin: 0;
}

.settore-arrow {
    display: grid;
    place-items: center;
    align-self: flex-end;
    width: 38px;
    height: 38px;
    margin-top: auto;
    border: 1px solid #a9c3c1;
    border-radius: 50%;
    color: var(--petrol);
    font-size: 1.25rem;
    transition: background .3s, color .3s, transform .3s;
}

.settore-card:hover {
    transform: translateY(-8px);
    border-color: #b8d5d1;
    box-shadow: 0 22px 45px rgba(21, 67, 72, .12);
    color: #111b1c;
}

.settore-card:hover .settore-icon {
    background: #dcece9;
}

.settore-card:hover .settore-arrow {
    background: var(--petrol);
    color: #fff;
    transform: translate(3px, -3px);
}

/*card perchè sceglierci*/
.why-section {
    padding: 110px 0;
    background: #edf3f2;
}

.why-heading {
    text-align: center;
    margin-bottom: 55px;
}

.why-eyebrow {
    display: block;
    margin-bottom: 18px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--petrol);
}

.why-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.055em;
    color: #111b1c;
}

.why-heading h2 span {
    color: var(--petrol);
}

.why-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 32px;
    background: #fff;
    border: 1px solid #dfe9e8;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(21, 67, 72, .05);
}

.why-number {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: #8ba5a4;
}

.why-card h3 {
    margin: 35px 0 14px;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.15;
    color: #111b1c;
}

.why-card p {
    margin: 0;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.75;
    color: #637779;
}

.why-line {
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 30px;
    border-radius: 3px;
    background: #17636a;
}

/*pagine servizi*/

.servizi-list {
    padding: 55px 0;
    background: #f6f9f8;
}


.servizi-list-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(23,99,106,.12);
    border-radius: 18px;
    overflow: hidden;
    transition:
            box-shadow .3s ease,
            transform .3s ease;
}

.servizi-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(17,27,28,.08);
}

.servizi-list-image {
    display: block;
    height: 185px;
    overflow: hidden;
    background: #e5efee;
}

.servizi-list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.servizi-list-card:hover .servizi-list-image img {
    transform: scale(1.05);
}


.servizi-list-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.servizi-list-content h2 {
    margin: 0 0 14px;
    color: var(--servizi-dark);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.servizi-list-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
}

.servizi-list-content h2 a:hover {
    color: var(--servizi-petrol);
}

.servizi-list-description {
    color: var(--servizi-text);
    font-size: .88rem;
    line-height: 1.7;
}

.servizi-list-description p {
    margin: 0 0 10px;
}

.servizi-list-description p:last-child {
    margin-bottom: 0;
}

.servizi-list-description strong {
    color: var(--servizi-dark);
    font-weight: 700;
}


.servizi-list-more {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
    color: var(--petrol);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .3s ease;
}

.servizi-list-more:hover {
    color: var(--servizi-dark);
}

.servizi-page{
    padding: 0px !important;
}

.servizi-page {
    --servizi-petrol: #17636a;
    --servizi-dark: #111b1c;
    --servizi-text: #40575a;
    --servizi-light: #edf4f3;

    color: var(--servizi-dark);
    font-family: 'Montserrat', sans-serif;
}

.hero-categories a {
    display: flex;
    align-items: center;
}

.hero-categories .hero-category-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 400;
    color: #111B1C;
    transition: transform .3s ease, color .3s ease;
}

.hero-categories a:hover .hero-category-arrow {
    transform: translate(4px, -4px);
    color:var(--petrol);
}

.servizi-hero {
    position: relative;
    padding: 190px 0 115px;
    background: linear-gradient(120deg, #D9F5E9 0%, #BCEBD5 55%, #00BE81 100%);
    overflow: hidden;
}

.servizi-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -150px;
    top: -180px;
    border: 1px solid rgba(23,99,106,.15);
    border-radius: 50%;
    box-shadow:
            0 0 0 80px rgba(23,99,106,.025),
            0 0 0 160px rgba(23,99,106,.025);
    pointer-events: none;
}

.servizi-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1050px;
}

.servizi-eyebrow {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--servizi-petrol);
    margin-bottom: 28px;
}

.servizi-hero h1 {
    font-size: clamp(3rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.06em;
    color: var(--servizi-dark);
    margin: 0 0 28px;
}

.servizi-subtitle {
    max-width: 780px;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.6;
    font-weight: 500;
    color: var(--servizi-petrol);
    margin: 0;
}

/* ========================================
   CONTENUTO EDITORIALE
======================================== */

.servizi-content {
    padding: 50px 0;
    background: #fff;
}

.servizi-side {
    position: sticky;
    top: 130px;
    padding-top: 8px;
}

.servizi-section-number {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--servizi-petrol);
}

.servizi-side-line {
    width: 65px;
    height: 3px;
    background: var(--servizi-petrol);
    margin: 28px 0;
}

.servizi-side-text {
    display: block;
    font-size: clamp(1.4rem, 2.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--servizi-dark);
}

.servizi-text p,
.servizi-highlight-content p {
    font-size: 1.04rem;
    line-height: 2;
    font-weight: 400;
    color: var(--servizi-text);
    margin: 0 0 30px;
}

.servizi-text p:last-child,
.servizi-highlight-content p:last-child {
    margin-bottom: 0;
}

.servizi-text strong,
.servizi-highlight-content strong {
    color: var(--servizi-dark);
    font-weight: 700;
}


/* ========================================
   BLOCCO IN EVIDENZA
======================================== */
.servizi-highlight {
    padding: 100px 0;
    background: var(--servizi-light);
    border-top: 1px solid rgba(23,99,106,.08);
    border-bottom: 1px solid rgba(23,99,106,.08);
}

.servizi-highlight-mark {
    display: flex;
    flex-direction: column;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.07em;
    font-weight: 800;
    color: rgba(23,99,106,.15);
    user-select: none;
}

.servizi-highlight-content {
    border-left: 3px solid var(--servizi-petrol);
    padding-left: 35px;
}

.servizi-highlight-title {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem) !important;
    line-height: 1.3 !important;
    letter-spacing: -.035em;
    margin-bottom: 28px !important;
}

/* ========================================
   CONTATTI
======================================== */

.servizi-contact {
    padding: 90px 0 !important;
    background: var(--servizi-dark);
}

.servizi-contact h2 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.05em;
    color: #fff;
    margin: 0;
}

.servizi-contact p {
    color: white;
    font-size: 30px;
}


.servizi-contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.servizi-contact-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: clamp(.95rem, 1.5vw, 1.25rem);
    font-weight: 500;
    text-decoration: none;
    transition: color .3s ease;
}

.servizi-contact-links a span:last-child {
    font-size: 1.5rem;
    color: #9ad1d0;
    transition: transform .3s ease;
}

.servizi-contact-links a:hover {
    color: #9ad1d0;
}

.servizi-contact-links a:hover span:last-child {
    transform: translate(4px,-4px);
}
/* CARD BRAND */

.brand-card .brand-card-image {
    height: 210px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid rgba(23,99,106,.1);
}

.brand-card .brand-card-image img {
    width: 100%;
    height: 100%;
    max-width: 260px;
    max-height: 125px;
    object-fit: contain;
    transition: transform .4s ease;
}

.brand-card:hover .brand-card-image img {
    transform: scale(1.05);
}

.brand-card .servizi-list-content {
    text-align: center;
    align-items: center;
}

.brand-card .servizi-list-content h2 {
    margin-bottom: 0;
}

.brand-card .servizi-list-more {
    align-self: center;
    padding-top: 15px;
}

.box_pagechild .contenitore_img_pagehild {
    height: 200px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
}

.box_pagechild .contenitore_img_pagehild a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box_pagechild .brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 260px;
    max-height: 120px;
    object-fit: contain;
    transition: transform .3s ease;
}

.box_pagechild:hover .brand-logo {
    transform: scale(1.05);
}

.box_pagechild a{
    text-align: center;
}


/* ENTRATA ALLO SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.default-page .servizi-hero h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.4rem);
}

.default-page a {
    text-decoration: none;
    color: #0CC187;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    font-weight: bold;
}

.nav-link {
    color: #00BE81; }

.nav-link:hover {
    color:#00BE81;
    font-weight: bold;
}

#btn-contact
{
    float: right;
    background: #00BE81;
    color: white;
    font-weight: bold;
}

#btn-contact:hover
{
    border: solid 2px #00BE81;
    color:#00BE81;
    background-color: transparent;
}

/*Footer*/
#contenitore_footer {
    background: linear-gradient(180deg, #00BE81, rgb(6 23 27) 90%, rgb(6 23 27));
    padding-top: 30px;
    padding-bottom: 30px;
}
#return-to-top {
    background: #111b1c;
}

.mediatica p{
   font-size: 13px;
}

footer .nav li a:hover {
    color: #0c1219;
    background-color: transparent !important;
}


/*anmazione titoli */


.hero-title .hero-zoom-word {
    display:inline-block;
    color:inherit;
    opacity:0;
    transform:scale(1.35);
    filter:blur(7px);
    animation:heroWordZoom 1.15s cubic-bezier(.16,1,.3,1) both;
    animation-delay:var(--zoom-delay,0s);
}

@keyframes heroWordZoom {
    to {
        opacity:1;
        transform:scale(1);
        filter:blur(0);
    }
}

@media (prefers-reduced-motion:reduce) {
    .hero-title .hero-zoom-word {
        animation:none;
        opacity:1;
        transform:none;
        filter:none;
    }
}

/* =====================================
   RESPONSIVE TABLET
===================================== */

@media (max-width: 1199.98px) {


    .servizi-hero {
        padding: 95px 0 85px;
    }

    .servizi-content,
    .servizi-highlight {
        padding: 75px 0;
    }

    .servizi-side {
        position: static;
    }

    .servizi-contact {
        padding: 70px 0;
    }

    .hero-title {
        font-size: clamp(3.4rem, 7vw, 6.5rem);
    }

    .site-nav {
        padding: 13px 0;
    }

    .navbar-collapse {
        margin-top: 15px;
        padding: 18px;
        background: rgba(242, 248, 246, .97);
        border-radius: 8px;
        box-shadow: 0 12px 30px #294b4b1a;
    }

    .hero {
        min-height: 750px;
        height: auto;
    }

    .hero-content {
        padding-top: 150px;
        padding-bottom: 180px;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 6rem);
    }

    .hero-categories {
        margin-left: 0;
        margin-top: 40px;
    }

    .hero-categories span {
        font-size: .9rem;
    }

    .service-cards {
        margin-top: -55px;
    }

    .service-card {
        min-height: 270px;
    }

}

/* =====================================
   RESPONSIVE MOBILE
===================================== */

@media (max-width: 575.98px) {

    .brand-card .brand-card-image {
        height: 180px;
        padding: 25px;
    }

    .brand-card .brand-card-image img {
        max-height: 110px;
    }

    .box_pagechild .contenitore_img_pagehild {
        height: 170px;
        padding: 25px;
    }

    .box_pagechild .brand-logo {
        max-height: 100px;
    }

    .settori-gallery img {
        margin-bottom: 20px;
    }

    .card-settore {
        margin-bottom: 20px;
    }

    .servizi-hero {
        padding: 307px 0 30px;
    }

    .servizi-hero h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        overflow-wrap: anywhere;
    }

    .servizi-content,
    .servizi-highlight {
        padding: 60px 0;
    }

    .servizi-text p,
    .servizi-highlight-content p {
        font-size: .95rem;
        line-height: 1.85;
    }

    .servizi-highlight-content {
        padding-left: 22px;
    }

    .servizi-highlight-mark {
        font-size: 2.5rem;
    }

    .servizi-contact {
        padding: 60px 0;
    }

    .hero {
        min-height: 790px;
    }

    .hero-content {
        padding-top: 200px;
        padding-bottom:88px;
    }

    .hero-title {
        font-size: clamp(2.3rem, 7vw, 4.5rem);
    }

    .hero-categories {
        margin-top: 30px;
        padding-left: 12px;
        border-left-width: 2px;
    }

    .hero-categories span {
        font-size: .82rem;
        line-height: 1.6;
    }

    .hero-bottom {
        bottom: 95px;
    }

    .intro {
        padding: 65px 0;
    }

    .intro p {
        font-size: 23px;
        line-height: 38px;
    }

    .settori-section {
        padding: 40px 0;
    }

    .settore-card {
        min-height: 280px;
    }

    .why-section {
        padding: 65px 0;
    }

    .why-heading {
        margin-bottom: 35px;
    }

    .why-card {
        min-height: 290px;
        padding: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .service-card,
    .service-card::before,
    .card-arrow,
    .hero-categories span {
        transition: none;
    }

}

@media (max-width: 991.98px) {
    #header {
        padding: 12px 20px;
    }

    #hamburger {
        display: block;
    }

    #header .header-menu {
        margin-top: 0 !important;
    }

    #main_menu_top {
        background: rgba(255, 255, 255, .98);
        border-radius: 12px;
        padding: 20px;
        margin-top: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    }

    .header-social {
        order: 1;
    }
    #col-logo {
        order: 1;
    }

    .social_header {
        order: 2;
    }

    .header-menu {
        order: 3;
    }
    .navbar-toggler {
        order: 2;
    }

    #header .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    #header .navbar-nav a {
        display: block;
        width: 100%;
        padding: 12px 10px;
    }

    .social_header, #header .lingue {
        justify-content: center;
    }

    .service-cards {
        margin-top: -55px;
    }

    .service-card {
        min-height: 270px;
    }

}

@media (max-width: 767.98px) {
    #header {
        padding: 10px 15px;
    }

    #logo {
        max-width: 180px;
    }

    #header.is-scrolled #logo {
        max-width: 120px;
        max-height: 55px;
    }

    #header .header-menu {
        margin-top: 10px !important;
    }

    #header .navbar {
        justify-content: center;
    }

    .header-search {
        margin-top: 12px;
    }

    .social_header {
        margin-top: 12px !important;
    }
}
