﻿/*.container {
    width: 1500PX !important;
}*/

@font-face {
    font-family: "SF Pro Display";
    src: url("/fonts/SFPRODISPLAYREGULAR.OTF") format("opentype");
    font-weight: 400;
    font-style: normal;
}

/* Logo più grande */
.navbar-custom .navbar-brand .logo {
    max-height: 110px;
}

.navbar-custom.top-nav-collapse .navbar-brand .logodark {
    max-height: 110px;
}

.action {
    position: relative;
    background: url('../img/perariaHome.png') no-repeat center center;
    background-size: cover;
    min-height: 587px;
}

    .action .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 0;
    }

    .action .container {
        position: relative;
        z-index: 1;
    }

    .action h2,
    .action p {
        color: #fff;
    }

.arrow-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .arrow-btn:hover {
        background-color: rgba(255, 215, 0, 0.8);
        color: #000;
        transform: translateY(3px);
    }

.carousel-control .icon-next:before {
    color: white;
}
.carousel-control .icon-prev:before {
    color: white;
}

.carousel-indicators .active {
    background-color: #eee;
}
/*
    TIMELINE
*/
.timeline {
    position: relative;
    padding: 40px 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: linear-gradient(to bottom, #ccc 0%, #eee 100%);
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

    .timeline-item.left {
        left: 0;
        text-align: right;
    }

    .timeline-item.right {
        left: 50%;
    }

.timeline-content {
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    padding: 25px 30px;
    position: relative;
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

.timeline-item.left .timeline-content {
    margin-right: 50px;
}

.timeline-item.right .timeline-content {
    margin-left: 50px;
}

.timeline-content::after {
    content: "";
    position: absolute;
    top: 30px;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 3px solid #bbb;
    border-radius: 50%;
}

.timeline-item.left .timeline-content::after {
    right: -63px;
}

.timeline-item.right .timeline-content::after {
    left: -63px;
}

.timeline-content h4 {
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.timeline-icon {
    font-size: 24px;
}

@media (max-width: 992px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
        text-align: left;
    }

        .timeline-item.right {
            left: 0;
        }

    .timeline-content {
        margin: 0 0 30px 0;
    }

        .timeline-content::after {
            left: -38px;
        }
}

/**/

/*.col-lg-5.col-lg-offset-1 {
    padding-top: 50px;
    padding-bottom: 50px;
}*/

.section-small {
    padding: 80px 0;
}

.feature-card {
    background: #fff;
    padding: 15px 18px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    transition: all .25s ease;
}

    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    }

.icon-wrap {
    width: 32px;
    height: 32px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2563eb;
}

.promo-box {
    background: #f9fafc;
    border: 1px solid #eef0f2;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

    .check-list li {
        font-size: 15px;
        color: #444;
        margin-bottom: 8px;
    }

    .check-list i {
        color: #2563eb;
        margin-right: 6px;
    }

.rounded-4 {
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.shadow-lg {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.btn-outline-primary {
    border-color: #2563eb;
    color: #2563eb;
}

    .btn-outline-primary:hover {
        background-color: #2563eb;
        color: #fff;
    }



/* 4 CARD*/

.service-card {
    border: 1px solid #e6e6e6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background-color: #fff;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        border-color: #007bff;
    }

    .service-card .icon-wrapper {
        font-size: 48px;
        color: #007bff;
    }

    .service-card:hover .icon-wrapper {
        color: #0056b3;
    }

    .service-card h5 {
        font-size: 1.1rem;
    }

.section-small {
    padding: 60px 0;
}

#contact div[class*=col-] {
    padding: 30px;
    background: rgba(255, 255, 255, 0.85);
    margin-top: 5px !important;
    box-shadow: 0 0 57px rgba(0, 0, 0, 0.08);
}

/* SAM */

.card-news {
    background: #fff;
    padding: 20px;
    display: table;
    height: 100%;
    width: 100%;
    text-align: center;
}

.card-content {
    display: table-cell;
    vertical-align: top;
    height: 450px
}

.card-footer {
    display: table-row;
    height: 1px;
    vertical-align: bottom;
}

.btn-dark {
    background-color: #222;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 13px;
}

    .btn-dark:hover {
        background-color: #000;
    }

.btn-peraria {
    background-color: #0C7EC3;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
}

    .btn-peraria:hover {
        background-color: #0C7EC3;
    }

.card-news img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.card-news h4 {
    font-weight: bold;
}

.card-news p {
    font-size: 14px;
}

.portfolio-item img {
    object-fit: cover;
}

.portfolio-item a {
    width: 100%
}

.icon-services {
    height: 75px;
    margin-bottom: 50px
}

@media (min-width: 1200px) {
    .container {
        width: 1170px !important;
    }
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important
}

.mw-100 {
    max-width: 100%;
}

.w-100 {
    width: 100%;
}

.mh-100 {
    max-height: 100% !important;
}

.h-100 {
    height: 100%;
}

.justify-content-center {
    justify-content: center;
}

.p-0 {
    padding: 0 !important
}

.img-contain {
    object-fit: contain;
}

.icon-services {
    height: 75px;
    margin-bottom: 50px;
}

.btn-dark-border:hover {
    background-color: #000;
    color: #FFF;
}

.btn-border:hover {
    background-color: #FFF;
    color: #000 !important;
}

.navbar-custom .nav li a:hover {
    /*color: rgba(0,0,0,0.5) !important;*/
    text-decoration: underline;
}
/* link ipertestuale attivo fisso su navbar con immagine*/
.navbar-custom .nav li.active a {
    /*color: rgba(0,0,0,0.5) !important;*/
    /*text-decoration: underline;*/
}
    /* link ipertestuale attivo sull'hover su navbar con immagine*/
    .navbar-custom .nav li.active a:hover {
        /*color: rgba(0,0,0,0.5) !important;*/
        text-decoration: underline;
    }
/* link ipertestuale attivo fisso su navbar bianca*/
.top-nav-collapse.navbar-custom .nav li.active a {
    color: #bbbbbb !important;
}
    /* link ipertestuale attivo sull'hover  su navbar bianca*/
    .top-nav-collapse.navbar-custom .nav li.active a:hover {
        color: #bbbbbb !important;
    }

.top-nav-collapse.navbar-custom .nav li a:hover {
    color: #bbbbbb !important;
}

.m-0 {
    margin: 0 !important;
}

.immagini-servizi img {
    height: 600px !important;
    width: 100%;
    object-fit: contain;
}

.immagini-processi img {
    height: 200px;
    width: 100%;
    object-fit: contain;
}

.home .immagini-servizi img {
    object-fit: cover;
}

#news div[class*=col-] {
    height: 450px !important;
}

.portfolio-carousel .item img {
    transition: transform 0.3s ease;
}

    .portfolio-carousel .item img:hover {
        transform: scale(1.05);
    }

.owl-nav button {
    background: none !important;
    color: #333 !important;
    font-size: 2rem !important;
}

.badge{
    font-size:20px !important;
    border-radius: 50% !important;
}

/* ========================
   SPORT PAGE
   ======================== */

.sport-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    text-transform: uppercase;
}

.sport-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    height: 100%;
}

    .sport-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        border-color: #222;
    }

.sport-card-icon {
    margin-bottom: 20px;
}

.sport-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 18px;
}

.sport-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.sport-card-link {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

    .sport-card-link:hover {
        color: #555;
        text-decoration: underline;
    }

.sport-about {
    background: #f7f7f7;
    padding: 60px 0;
}

.sport-cta {
    padding: 60px 0;
}

.sport-cta-box {
    background: #f7f7f7;
    padding: 50px 40px;
}

@media (max-width: 768px) {
    .sport-card {
        margin-bottom: 20px;
    }

    .sport-about .col-md-5,
    .sport-about .col-md-7 {
        text-align: center;
    }

    .sport-about .col-md-7 {
        margin-top: 25px;
    }

    .sport-cta-box {
        padding: 30px 20px;
    }
}

/* ========================
   COPERTURE SPORTIVE PAGE
   ======================== */

.coperture-feature-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .coperture-feature-card:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

.coperture-feature-icon {
    margin-bottom: 12px;
}

.coperture-feature-card h4 {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 8px;
}

.coperture-feature-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 5px;
}

.coperture-checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

    .coperture-checklist li {
        font-size: 15px;
        color: #333;
        padding: 6px 0;
        line-height: 1.6;
    }

.coperture-check {
    color: #222;
    font-weight: bold;
    margin-right: 8px;
}

.coperture-promo-card {
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    padding: 30px;
    text-align: center;
}

/* ========================
   CARPENTERIA PAGE
   ======================== */

.carpenteria-step-card {
    background: #fff;
    padding: 30px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .carpenteria-step-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

.carpenteria-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #222;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.carpenteria-step-card h4 {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 10px;
}

.carpenteria-step-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* ========================
   ALLESTIMENTI FIERE PAGE
   ======================== */

.allestimenti-settore-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    .allestimenti-settore-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
        border-color: #222;
    }

.allestimenti-settore-card h5 {
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ========================
   HOMEPAGE - Metodo di lavoro
   ======================== */

.home-metodo-row {
    display: flex;
    flex-wrap: wrap;
}

    .home-metodo-row > [class*="col-"] {
        display: flex;
    }

.home-metodo-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .home-metodo-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

.home-metodo-icon {
    margin-bottom: 12px;
}

.home-metodo-card h5 {
    font-size: 15px;
    margin-bottom: 8px;
}

.home-metodo-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========================
   HOMEPAGE - Settori di lavoro
   ======================== */

.home-settore-item {
    margin-bottom: 10px;
    background: #F7FBFE;
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
}

    .home-settore-item:last-child {
        border-bottom: none;
    }

.home-settore-num {
    font-size: 16px;
    font-weight: 700;
    color: #021549;
    min-width: 35px;
    padding-top: 2px;
}

.home-settore-content {
    flex: 1;
}

.home-settore-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

    .home-settore-arrow:hover {
        background: #222;
        color: #fff;
        border-color: #222;
    }

@media (max-width: 768px) {
    .home-metodo-card {
        margin-bottom: 15px;
    }

    .home-settore-item {
        padding: 20px 0;
    }
}

/* ========================
   CHI SIAMO V2 PAGE
   ======================== */

.chi-icon-card {
    padding: 20px 15px;
    margin-bottom: 25px;
}

.chi-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
}

.chi-numeri-box {
    background: #f7f7f7;
    padding: 40px;
}

/* ========================
   STORIA - Animated Timeline
   ======================== */

.storia-section {
    padding: 80px 0;
    overflow: visible !important;
}

.storia-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Left sticky column */
.storia-sticky {
    flex: 0 0 320px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.storia-progress {
    width: 3px;
    height: 200px;
    background: #ddd;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.storia-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #222;
    transition: height 0.15s linear;
}

/* Right scrollable column */
.storia-scroll {
    flex: 1;
    position: relative;
    padding-left: 40px;
}

/* Vertical line (background) */
.storia-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: #ddd;
}

/* Vertical line (fill, animated) */
.storia-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background: #0c7ec3;
    transition: height 0.15s linear;
    z-index: 1;
}

/* Dot on the line */
.storia-dot {
    position: absolute;
    left: -40px;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ccc;
    z-index: 2;
    transform: translateX(-6px);
    transition: all 0.4s ease;
}

    .storia-dot.is-active {
        background: #0c7ec3;
        border-color: #0c7ec3;
        transform: translateX(-6px) scale(1.3);
    }

/* Single entry */
.storia-entry {
    position: relative;
    padding-bottom: 50px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .storia-entry.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .storia-entry:last-child {
        padding-bottom: 0;
    }

/* Card inside entry */
.storia-card {
    background: #F7FBFE;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.3s ease;
}

    .storia-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    }

.storia-year {
    display: inline-block;
    background: #0c7ec3;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.storia-card h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: #111;
}

.storia-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.storia-card img {
    width: 100%;
    object-fit: cover;
    max-height: 250px;
}

/* Responsive */
@media (max-width: 992px) {
    .storia-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .storia-sticky {
        position: relative;
        top: auto;
        flex: none;
        width: 100%;
    }

    .storia-progress {
        display: none;
    }

    .storia-scroll {
        padding-left: 30px;
    }

    .storia-dot {
        left: -30px;
    }
}

@media (max-width: 768px) {
    .chi-numeri-box {
        padding: 25px 15px;
    }

    .chi-numeri-box h2 {
        font-size: 28px !important;
    }

    .coperture-feature-card {
        margin-top: 20px;
    }

    .storia-section {
        padding: 40px 0;
    }

    .storia-card {
        padding: 20px;
    }

    .storia-card img {
        max-height: 180px;
    }
}

h2.title-paragraph {
    
    font-weight: 700;
    margin-top: 20px;
    line-height: 1.3;
    color: #021549;
}

h4.title-paragraph {
    color: #021549;
    margin-top: 30px;
    margin-bottom: 15px;
}

h3.title-paragraph {
    color: #021549;
}

.img-settori {
    width: 100% !important;
    object-fit: cover !important;
    height: 520px !important;
    border-radius: 20px !important;
}

.bg-azzurro {
    background: #F7FBFE;
}

h3 {
    margin: 5px 0 15px;
}

/*.container-fluid {
    padding-right: 150px;
    padding-left: 150px;
}*/

.c-blue {
    color: #0c7ec3 !important;
}

.badge {
    background-color: #0c7ec3;
}

.topbtn {
    color: #fff;
    background: rgb(12 126 195);
}

.social-link {
    color: #0c7ec3 !important;
    opacity: 1 !important;
}

@media (min-width: 991px) {
    .navbar-custom {
        padding-top:20px !important;    
    }
}

.highlight {
    background: #1f78b4;
    color: #fff;
    padding: 6px 26px;
    border-radius: 60px 0px 60px 0px;
    display: inline-block;
}
.about-text {
    max-width: 700px;
    margin: 20px auto 30px;
}

.about-btn {
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
}

.settori-header {
    margin-bottom: 40px;
}

.settore-card {
    margin-bottom: 30px;
}

.settore-img {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

    /* forma immagine tipo screen */

    .settore-img img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 60px 0px 60px 0px;
    }

    /* overlay scuro */

    .settore-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 60px 0px 60px 0px;
    }

/* freccia */

.settore-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border-radius: 60px 60px 60px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    z-index: 2;
}

    .settore-arrow.pink {
        background: #d87594;
    }

    .settore-arrow.red {
        background: #e03b3b;
    }

    .settore-arrow.green {
        background: #2e9f8f;
    }

    .settore-arrow.yellow {
        background: #ffe400;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* immagini */

.gallery-img1 {
    overflow: hidden;
    border-radius: 0px 80px 0px 80px;
}

.gallery-img2 {
    overflow: hidden;
    border-radius: 80px 80px 80px 0px;
}

    .gallery-img1 img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

    .gallery-img2 img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

/* box blu */

.gallery-blue {
    background: #1976a9;
    height: 120px;
    border-radius: 80px 0px 80px 0px;
}

/* INCASRO */

/* immagine sotto blu destra */
.gallery-grid .gallery-img2 {
    margin-top: -200px;
}

/* responsive */

@media (max-width:768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-blue,
    .gallery-img {
        margin-top: 0;
    }
}

.cta-project {
    padding-bottom: 20px;
}
.lavori-title {
    margin: 60px 0 40px;
}

.lavori-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.lavori-nav {
    display: flex;
    gap: 10px;
}

/* frecce moderne */

.lavori-prev,
.lavori-next {
    position: relative;
    width: 40px;
    height: 40px;
    background: #1f78b4;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lavori-prev:after,
    .lavori-next:after {
        font-size: 14px;
        color: #fff;
    }

/* slider che esce dal container a destra */

.lavori-container {
    max-width: 1200px;
    margin-left: auto;
}

.lavori-slider {
    overflow: visible;
}

/* immagini */

.lavoro-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 80px 0 80px 0;
}
.home-certificazioni {
    margin-top: 60px;
}

.cert-title {
    display: inline-block;
    background: #1976a9;
    color: #fff;
    padding: 8px 30px;
    border-radius: 30px;
}

.cert-text {
    max-width: 600px;
    margin: 20px auto;
    color: #666;
}

.cert-logos img {
    margin: 20px;
    max-height: 80px;
}
.cert-logos2 img {
    margin: 20px;
    max-height: 180px;
}
.introhalf .intro-body {
    padding: 180px 180px 110px;
}

.hero-subtitle {
    font-size: 30px;
    max-width: 700px;
}

.intro {
    position: relative;
    overflow: hidden;
}

.hero-number {
    position: absolute;
    right: -400px;
    bottom: -120px;
    z-index: 2;
}

@media (max-width:768px) {

    .hero-number {
        opacity: 0.85;
        right: 0;
        bottom: 80px;
    }

        .hero-number img {
            height: 300px;
        }
}

.introhalf .intro-body2 {
    padding: 220px 0px 220px 0px;
}

section, .section {
    padding-top: 100px;
    padding-bottom: 100px;
}


.btn-brand {
    border-bottom-left-radius: 0;
}

.title-brand{
    font-family: 'SF Pro Display';
    font-weight: 500;
    font-size: 36px;
}

.subtitle-brand {
    font-family: 'SF Pro Display';
    font-weight: 500;
    font-size: 24px !important;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 15px;
}

.intro {
    position: relative;
}

/* overlay scuro background */

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* contenuto sopra overlay */

.intro .container {
    position: relative;
    z-index: 2;
}

/* colonna immagine */

.hero-image-col {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* overlay chiaro lato immagine */

.overlay2 {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* immagine */

.hero-number {
    position: relative;
    z-index: 2;
}

    .hero-number img {
        height: auto;
        width: 900px;
        object-fit: contain;
    }

/* breadcrumb */

.hero-breadcrumb {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .hero-breadcrumb a {
        color: #fff;
    }

1200px) {

    .introhalf .intro-body2 {
        padding: 160px 0 160px 0;
    }

    .hero-subtitle {
        font-size: 26px;
    }

    .hero-number img {
        width: 500px;
    }
}


/* ======================
   MOBILE
   ====================== */

@media (max-width: 768px) {

    .introhalf .intro-body2 {
        padding: 140px 0 120px 0;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 20px;
        margin: auto;
    }

    .hero-image-col {
        justify-content: center;
        margin-top: 40px;
    }

    .hero-number img {
        width: 300px;
    }

    .overlay2 {
        display: none;
    }
}


/* ======================
   SMALL MOBILE
   ====================== */

@media (max-width: 480px) {

    .introhalf .intro-body2 {
        padding: 120px 0 100px 0;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

.gallery-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

/* immagini */

.gallery-img {
    overflow: hidden;
}

    .gallery-img img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

/* box rossi */

.gallery-red {
    background: #DC8889;
}

/* forme arrotondate come nel sito */

.gallery-grid-custom > :nth-child(1) {
    border-radius: 0 60px 0 60px;
}

.gallery-grid-custom > :nth-child(2) {
    border-radius: 0 60px 0 60px;
    height: 120px;
}

.gallery-grid-custom > :nth-child(3) {
    border-radius: 0 60px 0 60px;
}

.gallery-grid-custom > :nth-child(4) {
    border-radius: 0 60px 0 60px;
    height: 120px;
    background: #C62828;
}

.gallery-grid-custom > :nth-child(5) {
    border-radius: 0 60px 0 60px;
    margin-top: -100px;
}

.gallery-grid-custom > :nth-child(6) {
    border-radius: 0 60px 0 60px;
    height: 120px;
    background: #D4666D;
}

/* responsive */

@media (max-width:768px) {

    .gallery-grid-custom {
        grid-template-columns: 1fr;
    }

    .gallery-img img {
        height: 200px;
    }
}

.swiper-button-prev {
    top: 140px !important;
    right: 500px !important;
    left: auto !important;
    width: 50px !important;
    height: 50px !important;
}

.swiper-button-next {
    top: 140px !important;
    right: 440px !important;
    left: auto !important;
    width: 50px !important;
    height: 50px !important;
}
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 16px !important;
        font-weight: 800 !important;
    }
.immagini-servizi > .item > img {
    width: 100%;
    object-fit: cover;
    border-radius: 60px 0px 60px 0px;
}