/* =========================
   FONT IMPORT (GOOGLE)
========================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&display=swap');


/* =========================
   ROOT VARIABLES
========================= */
:root {
    --font-title: 'Poppins', sans-serif;
    --font-text: 'Inter', sans-serif;

    --color-text: #5f6f78;
    --color-text-light: #ffffff;
}


/* =========================
   RESET BASE
========================= */
body {
    font-family: var(--font-text);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus,
a:visited {
    text-decoration: none !important;
    outline: none !important;
}

button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: none !important;
}

.nascosto{
    display: none !important;
}

/* =========================
   HEADINGS
========================= */
h1, h2, h3, h4, h5 {
    font-family: var(--font-title);
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
}

h2 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 600;
}

h3 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
}

h4 {
    font-size: 18px;
    font-weight: 500;
}

h5 {
    font-size: 16px;
    font-weight: 500;
}


/* =========================
   PARAGRAFI
========================= */
p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0 0 15px 0;
}


/* =========================
   LINK
========================= */
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

a:hover {
    opacity: 0.7;
    
    
}
/* =========================
   MENU PRINCIPALE LAVALÀ
========================= */

.all_top .navbar-nav > li > a,
#menu_container_scroll .navbar-nav > li > a {
    color: #ffffff !important;
    opacity: 1 !important;
    background: transparent !important;
    transition: all .25s ease;
}

.all_top .navbar-nav > li > a:hover,
.all_top .navbar-nav > li > a:focus,
#menu_container_scroll .navbar-nav > li > a:hover,
#menu_container_scroll .navbar-nav > li > a:focus {
    color: #ffd22d !important;
    opacity: 1 !important;
    background: transparent !important;
    text-decoration: none !important;
}



/* =========================
   BOTTONI
========================= */
button, .btn {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
}


/* =========================
   MENU
========================= */
nav, .menu {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 15px;
}

@media (min-width: 767px) and (max-width: 1199px) {

    .all_top .navbar-nav > li > a,
    #menu_container_scroll .navbar-nav > li > a {
        font-size: 13px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

}

/* =========================
   SMALL TEXT
========================= */
.small-text {
    font-size: 14px;
    color: var(--color-text-light);
}


/* =========================
   STRONG / BOLD
========================= */
strong {
    font-weight: 600;
    color: var(--color-text);
}


/* =========================
   RESPONSIVE TWEAKS
========================= */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    p {
        font-size: 15px;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

#layout_wrapper{
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #000000;
}

.titolo-sezione {
    color: rgb(0, 70, 140) !important;
    font-weight: 800 !important;
    position: relative;
    display: center-block;
}

/* linea sotto */
.titolo-sezione::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    border-radius: 0% 25% 25% 0%;
    margin-top: 12px;
    background: linear-gradient(90deg, #00a6df, rgb(0, 70, 140));
}

/*Menu */
.all_top{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 15px;
}

.nascondi {
    display: none !important;
    height: 0px;
    opacity: 0px;
    overflow: hidden;
}

/* =========================
   OVERLAY SFUMATO HERO
========================= */

/* Assicurati che il contenitore sia relativo */
.img-home {
    position: relative;
    overflow: hidden;
}

/* Overlay */
.img-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    /* SFUMATURA PRINCIPALE */
    background: 
        linear-gradient(
            to right,
            rgba(0, 90, 170, 0.98) 0%,
            rgba(0, 90, 170, 0.75) 35%,
            rgba(0, 90, 170, 0.25) 50%,
            rgba(0, 90, 170, 0.05) 60%,
            rgba(0, 90, 170, 0) 100%
        ),
        
        /* VELO SUPERIORE per leggibilità menu */
        linear-gradient(
            to bottom,
            rgba(0, 90, 170, 0.80) 0%,
            rgba(0, 90, 170, 0.20) 20%,
            rgba(0, 90, 170, 0) 50%
        );

    opacity: 0;
    animation: overlayFade 1.2s ease forwards;
}


.hero-zoom {
    position: relative;
    overflow: hidden;
    height: 100%; /* o altezza hero */
}

.hero-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1);
    animation: zoomHero 10s ease-out forwards;
}

/* Animazione */
@keyframes zoomHero {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.12);
    }
}

/* =========================
   ANIMAZIONE INGRESSO
========================= */
@keyframes overlayFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* =========================
   CONTENUTI SOPRA OVERLAY
========================= */
.img-home > * {
    position: relative;
    z-index: 2;
}

/* =========================
   HERO TEXT - SOLO TIPOGRAFIA
========================= */

.hero-text {
    color: #ffffff;
    max-width: 900px;
}

/* Titoli */
.hero-text h1,
.hero-text h2 {
    color: #ffffff;
    margin: 0;
}

/* H1 con controllo reale min/max */
.hero-text h1 {
    font-size: clamp(26px, 3vw, 60px);
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    
}

/* H2 più leggibile e proporzionato */
.hero-text h2 {
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.5;
    opacity: 0.95;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}


/* =========================
   CTA UNIVERSALE LAVALÀ
========================= */

/* LINK PRINCIPALE */
.btn-cta a {
    display: inline-block;
    position: relative;
    text-align: center;
    border-radius: 50px;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #FFD166 0%,
        #FF9F1C 100%
    );

    text-decoration: none;
    transition: all 0.3s ease;

    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(255, 159, 28, 0.25);
}

/* CONTENITORE TESTO */
.btn-cta [id^="mattonella_text_container"] {
    padding: 25px 10px 25px;
}

/* TITOLO */
.btn-cta [class^="mattonella_titolo"] {
    margin: 0;
    color: rgb(0, 90, 170);

    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(16px, 1.5vw, 24px);
    letter-spacing: 0.3px;

    text-shadow:
        -2px -2px 0 #ffffff,
         2px -2px 0 #ffffff,
        -2px  2px 0 #ffffff,
         2px  2px 0 #ffffff;
}

/* =========================
   HOVER
========================= */

.btn-cta a:hover {
    transform: translateY(-4px) scale(1.02);

    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.5),
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 10px 25px rgba(255, 159, 28, 0.4);
}

.btn-cta a:hover [class^="mattonella_titolo"] {
    opacity: 0.95;
}

/* =========================
   CLICK
========================= */

.btn-cta a:active {
    transform: translateY(0) scale(1);

    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.35),
        0 5px 12px rgba(0, 90, 170, 0.25);
}


/*Float WhatsApp*/

.float_whatsapp{
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    animation: float_whatsapp 3s infinite;
}

/* =========================
   FOOTER LAVALÀ
========================= */

.gradiente-azzurro {
    position: relative;
    color: #ffffff;

    background: linear-gradient(
        135deg,
        rgb(0, 90, 170) 0%,
        rgb(0, 120, 200) 40%,
        rgb(0, 70, 140) 100%
    );
}

/* LUCE LEGGERA */
.gradiente-azzurro::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0)
    );

    pointer-events: none;
}

/* =========================
   SCROLL TOP LAVALÀ
========================= */

.scroll_top {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    text-decoration: none;
    z-index: 9999;
}

/* HOVER */
.scroll_top:hover {
    transform: translateY(-3px) scale(1.05);
}

/* CLICK */
.scroll_top:active {
    transform: translateY(0) scale(1);
}

#menu_container_scroll {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

#menu_container_scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   SCROLL TOP LAVALÀ
========================= */

.scroll_top_button{
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    border: none !important;

    background: linear-gradient(
        135deg,
        rgb(0, 90, 170) 0%,
        rgb(0, 120, 200) 40%,
        rgb(0, 70, 140) 100%
    );

    color: #fff !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 25px rgba(0,119,189,.25);
    transition: all .3s ease;
}

.scroll_top_button .fa{
    font-size: 22px;
    line-height: 1;
}

.scroll_top_button:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,119,189,.35);
    color: #fff !important;
}

.scroll_top_button,
.scroll_top_button:hover,
.scroll_top_button:focus,
.scroll_top_button:active,
.scroll_top_button:visited{
    color: #fff !important;
    background: linear-gradient(
        135deg,
        rgb(0, 90, 170) 0%,
        rgb(0, 120, 200) 40%,
        rgb(0, 70, 140) 100%
    ) !important;
    border: none !important;
}


/* =========================
   LISTA PERCHE SCEGLIERE LAVALA
========================= */

.lista-scegliere{
    padding: 20px 0 50px;
}

/* reset bootstrap */
.lista-scegliere .schede_bootstrap{
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-wrap: wrap;
}

/* colonne */
.lista-scegliere .col-sm-4{
    padding-left: 14px;
    padding-right: 14px;
    margin-bottom: 28px;
    display: flex;
}

/* card */
.lista-scegliere .thumbnail{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 90, 170, 0.13);
}

/* immagine */
.lista-scegliere .thumbnail > img{
    width: 100% !important;
    height: 270px !important;
    object-fit: cover;
    display: block;
}

/* area testo */
.lista-scegliere .caption{
    padding: 30px 28px 34px;
    background: #ffffff;
}

/* titolo */
.lista-scegliere .caption h4{
    margin: 0 0 14px;
    color: rgb(0, 70, 140);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 800;
    line-height: 1.15;
}

/* linea decorativa */
.lista-scegliere .caption h4::after{
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgb(0, 120, 200),
        rgb(0, 70, 140)
    );
}

/* testo */
.lista-scegliere .caption p{
    margin: 0;
    color: #5f6f78 !important;
    font-size: 16px;
    line-height: 1.7;
}

/* elimina paragrafi vuoti builder */
.lista-scegliere .caption p:empty{
    display: none;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 991px){

    .lista-scegliere{
        padding: 10px 0 40px;
    }

    .lista-scegliere .thumbnail > img{
        height: 240px !important;
    }

    .lista-scegliere .caption{
        padding: 26px 24px 30px;
    }
}

@media(max-width: 767px){

    .lista-scegliere .schede_bootstrap{
        display: block;
    }

    .lista-scegliere .col-sm-4{
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 24px;
    }

    .lista-scegliere .thumbnail{
        border-radius: 24px;
    }

    .lista-scegliere .thumbnail > img{
        height: 250px !important;
    }

    .lista-scegliere .caption h4{
        font-size: 24px;
    }

    .lista-scegliere .caption{
        padding: 24px 22px 28px;
    }
}


/* =========================
   ANIMAZIONE INGRESSO
   LISTA PERCHE SCEGLIERE
========================= */

.lista-scegliere .col-sm-4{
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .75s ease,
        transform .75s ease;
}

/* stato visibile */
.lista-scegliere.is-visible .col-sm-4{
    opacity: 1;
    transform: translateY(0);
}

/* ingresso sfalsato */
.lista-scegliere.is-visible .col-sm-4:nth-child(1){
    transition-delay: .05s;
}

.lista-scegliere.is-visible .col-sm-4:nth-child(2){
    transition-delay: .25s;
}

.lista-scegliere.is-visible .col-sm-4:nth-child(3){
    transition-delay: .50s;
}


/* accessibilità */
@media (prefers-reduced-motion: reduce){
    .lista-scegliere .col-sm-4,
    .lista-scegliere .thumbnail{
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================
   FIX MOBILE ANIMAZIONI
   mostra sempre le schede su smartphone
========================= */

@media (max-width: 767px){

    .lista-scegliere .col-sm-4,
    .sedi .schede_bootstrap > [class*="col-"]{
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

}


/* =========================
   MATTONELLE SERVIZI LAVALA
========================= */

.matt-servizi{
    width: 100%;
}

.matt-servizi a[id^="mattonella_"]{
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 720px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
}

/* overlay scuro normale */
.matt-servizi a[id^="mattonella_"]::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 80, 0.58);
    z-index: 1;
    transition: opacity .35s ease;
}

.matt-servizi a[id^="mattonella_"]:hover{
    filter: none !important;
    opacity: 1 !important;
}

/* hover immagine SENZA overlay */
.matt-servizi a[id^="mattonella_"]:hover::before{
    opacity: 0 !important;
}

/* box testo */
.matt-servizi div[id^="mattonella_text_container"]{
    position: relative;
    z-index: 2;
    width: min(90%, 520px);
    padding: 38px 34px;
    text-align: center;
    border-radius: 28px;

    background: rgba(255,255,255,0.14);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,0.22);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.12);

    transition:
        transform .3s ease,
        background .3s ease,
        border .3s ease,
        box-shadow .3s ease;
}

/* hover box testo AZZURRO */
.matt-servizi a[id^="mattonella_"]:hover div[id^="mattonella_text_container"]{

    transform: translateY(-6px) scale(1.03);

    background: rgba(0, 90, 170, 0.92);

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border: 1px solid rgba(255,255,255,0.16);

    box-shadow:
        0 26px 65px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.10);
}


/* titolo */
.matt-servizi h4[class^="mattonella_titolo"]{
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1.05;
    font-weight: 800;
}

/* linea */
.matt-servizi h4[class^="mattonella_titolo"]::after{
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.45));
}

/* descrizione */
.matt-servizi p[class^="mattonella_descrizione"]{
    margin: 0;
    color: rgba(255,255,255,0.95) !important;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.6;
    font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 991px){

    .matt-servizi a[id^="mattonella_"]{
        min-height: 420px;
    }

    .matt-servizi div[id^="mattonella_text_container"]{
        width: calc(100% - 40px);
        padding: 32px 26px;
    }
}

@media(max-width: 767px){

    .matt-servizi a[id^="mattonella_"]{
        min-height: 340px;
    }

    .matt-servizi div[id^="mattonella_text_container"]{
        padding: 28px 22px;
        border-radius: 22px;
    }

    .matt-servizi h4[class^="mattonella_titolo"]{
        font-size: 36px;
    }

    .matt-servizi p[class^="mattonella_descrizione"]{
        font-size: 15px;
    }
}

/* =========================
   INGRESSO BOX MATTONELLE
========================= */

.matt-servizi div[id^="mattonella_text_container"]{
    opacity: 0;
    transform: scale(.92) translateY(24px);
    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.2,.8,.2,1),
        background .3s ease,
        border .3s ease,
        box-shadow .3s ease;
}

.matt-servizi.is-visible div[id^="mattonella_text_container"]{
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* =========================
   LISTA SEDI LAVALÀ
========================= */

.sedi{
    padding:40px 0;
}

/* Griglia */

.sedi .schede_bootstrap{
    margin:0;
}

.sedi .schede_bootstrap > [class*="col-"]{
    margin-bottom:30px;
}

/* Card */

.sedi .thumbnail{
    overflow:hidden;
    border:none;
    border-radius:22px;
    padding:0;
    margin:0;
    background:#fff;
    box-shadow:0 12px 35px rgba(0,90,170,.15);
    transition:.35s ease;
}

.sedi .thumbnail:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 50px rgba(0,90,170,.22);
}

.sedi .thumbnail .row{
    margin-left:0;
    margin-right:0;
}

/* Immagine */

.sedi .thumbnail > img{
    width:100% !important;
    height:280px !important;
    object-fit:cover;
    object-position:center center;
    display:block;
    transition:transform .5s ease;
}

.sedi .thumbnail:hover > img{
    transform:scale(1.04);
}

/* Banner titolo */

.sedi .caption{
    padding:0;
}

.sedi .caption h4{
    margin:0;
    padding:16px 20px;

    color:#fff;
    text-align:center;

    font-size:24px;
    font-weight:800;
    line-height:1.2;

    background:linear-gradient(
        135deg,
        rgb(0,90,170),
        rgb(0,120,200),
        rgb(0,70,140)
    );
}

/* Area inferiore */

.sedi .thumbnail > .row:last-child{
    padding:22px 24px;
    display:flex;
    align-items:center;
}

/* Indirizzo */

.sedi .sedi-ind{
    padding:0 !important;
    display:flex;
    align-items:center;

    color:rgb(0,70,140);
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

/* Pulsante */

.sedi .btn-scopri{
    padding:0 !important;
    text-align:right;
}

.sedi .btn-scopri > div{
    display:flex;
    justify-content:flex-end;
}

.sedi .btn-scopri p{
    margin:0;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:44px;
    padding:0 26px;

    border-radius:999px;

    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;

    color:rgb(0,70,140);

    background:linear-gradient(
        90deg,
        #FFD166,
        #FF9F1C
    );

    box-shadow:0 8px 20px rgba(255,159,28,.30);

    text-shadow:
        -1px -1px 0 rgba(255,255,255,.9),
         1px -1px 0 rgba(255,255,255,.9),
        -1px  1px 0 rgba(255,255,255,.9),
         1px  1px 0 rgba(255,255,255,.9);

    transition:.3s ease;
}

.sedi .thumbnail:hover .btn-scopri p{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(255,159,28,.40);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:991px){

    .sedi .thumbnail > img{
        height:250px !important;
    }

    .sedi .caption h4{
        font-size:22px;
    }
}

@media (max-width:767px){

    .sedi .thumbnail > .row:last-child{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
    }

    .sedi .sedi-ind{
        flex:1;
    }

    .sedi .btn-scopri{
        width:auto;
        margin-left:auto;
        text-align:right;
    }

    .sedi .btn-scopri > div{
        display:flex;
        justify-content:flex-end;
    }

    .sedi .btn-scopri p{
        width:auto;
        white-space:nowrap;
    }

}

/* =========================
   ANIMAZIONE INGRESSO SEDI
========================= */

.sedi .schede_bootstrap > [class*="col-"]{
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity .75s ease,
        transform .75s ease;
}

.sedi.is-visible .schede_bootstrap > [class*="col-"]{
    opacity: 1;
    transform: translateY(0);
}

/* ingresso sfalsato */

.sedi.is-visible .schede_bootstrap > [class*="col-"]:nth-child(1){
    transition-delay:.10s;
}

.sedi.is-visible .schede_bootstrap > [class*="col-"]:nth-child(2){
    transition-delay:.25s;
}

.sedi.is-visible .schede_bootstrap > [class*="col-"]:nth-child(3){
    transition-delay:.40s;
}

.sedi.is-visible .schede_bootstrap > [class*="col-"]:nth-child(5){
    transition-delay: .70s;
}

.sedi.is-visible .schede_bootstrap > [class*="col-"]:nth-child(6){
    transition-delay:.95s;
}

.sedi.is-visible .schede_bootstrap > [class*="col-"]:nth-child(7){
    transition-delay: 1.20s;
}

@media (prefers-reduced-motion: reduce){

    .sedi .schede_bootstrap > [class*="col-"]{
        opacity:1;
        transform:none;
        transition:none;
    }

}


/* =========================
   LISTA SERVIZI LAVALÀ
   Testo a sinistra, slider a destra
========================= */

.lista-servizi {
    padding: 60px 0 50px;
}

/* Scheda principale */
.lista-servizi [class^="lista_scheda_"] {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: stretch;
    border-radius: 0;
    overflow: hidden !important;
}

/* Pulizia righe vuote di VelociBuilder */
.lista-servizi [class^="lista_scheda_"] > .row {
    margin: 0;
}

/* =========================
   SLIDER A DESTRA
========================= */

.lista-servizi .carousel {
    width: 50%;
    min-height: 780px;
    display: flex;
    align-items: center;
}

.lista-servizi .carousel-inner,
.lista-servizi .item {
    height: auto;
}

.lista-servizi .carousel-inner img {
    width: 100%;
    min-height: 780px;
    border-radius: 25px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Frecce slider */
.lista-servizi .carousel-control {
    background: none;
    opacity: 1;
    width: 8%;
}

.lista-servizi .glyphicon-chevron-left,
.lista-servizi .glyphicon-chevron-right {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 119, 189, 0.85);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(8px);

    box-shadow:
        0 10px 25px rgba(0, 90, 170, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.12);

    transition: all .25s ease;
}

.lista-servizi .glyphicon-chevron-left:hover,
.lista-servizi .glyphicon-chevron-right:hover {
    transform: scale(1.08);
    background: rgb(0, 90, 170);
}

/* =========================
   TESTO A SINISTRA
========================= */

.lista-servizi .caption {
    width: 50%;
    padding: 25px 60px 0px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.lista-servizi .caption > h3 {
    margin: 0 0 8px;
    color: rgb(0, 70, 140) !important;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
}

.lista-servizi .caption > h4 {
    margin: 0 0 26px;
    color: rgb(0, 70, 140);
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    text-align: left;
}

.lista-servizi .caption > h4::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    border-radius: 0 25% 25% 0;
    margin-top: 12px;
    background: linear-gradient(90deg, #00a6df, rgb(0, 70, 140));
}

.lista-servizi .caption > p {
    margin: 0 0 34px;
    color: #5f6f78 !important;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    max-width: 680px;
}

/* =========================
   LISTA NUMERATA
========================= */

.lista-servizi ol {
    list-style: none;
    counter-reset: servizi;
    padding: 0;
    margin: 6px 0 0;
}

.lista-servizi ol li {
    counter-increment: servizi;
    position: relative;
    padding-left: 68px;
    margin-bottom: 24px;
}

.lista-servizi ol li::before {
    content: counter(servizi);
    position: absolute;
    left: 0;
    top: 2px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgb(0, 90, 170) 0%,
        rgb(0, 120, 200) 45%,
        rgb(0, 70, 140) 100%
    );

    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 90, 170, 0.25);
}

.lista-servizi ol li h3 {
    margin: 0 0 7px;
    color: rgb(0, 70, 140);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.lista-servizi ol li p {
    margin: 0;
    color: #5f6f78 !important;
    font-size: 16px;
    line-height: 1.65;
}

.lista-servizi ol li p span {
    color: #5f6f78 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .lista-servizi {
        padding: 45px 0 40px;
    }

    .lista-servizi [class^="lista_scheda_"] {
        flex-direction: column;
    }
   .lista-servizi .caption {
    order: 1;
    }
    .lista-servizi .carousel {
    order: 2;
    }
    .lista-servizi .carousel,
    .lista-servizi .caption {
        width: 100%;
    }

    .lista-servizi .carousel {
        min-height: 360px;
    }

    .lista-servizi .carousel-inner img {
        min-height: 360px;
        border-radius: 22px;
    }

    .lista-servizi .caption {
        padding: 40px 28px 35px;
    }
}

@media (max-width: 767px) {
    .lista-servizi {
        padding: 30px 0;
    }

    .lista-servizi .carousel {
        min-height: 260px;
    }

    .lista-servizi .carousel-inner img {
        min-height: 260px;
        border-radius: 18px;
    }

    .lista-servizi .caption {
        padding: 34px 22px;
    }

    .lista-servizi .caption > h3 {
        font-size: 28px;
    }

    .lista-servizi .caption > h4 {
        font-size: 34px;
        margin-bottom: 22px;
    }

    .lista-servizi .caption > h4::after {
        width: 140px;
    }

    .lista-servizi .caption > p {
        font-size: 17px;
        line-height: 1.55;
        margin-bottom: 30px;
    }

    .lista-servizi ol li {
        padding-left: 52px;
        margin-bottom: 22px;
    }

    .lista-servizi ol li::before {
        width: 38px;
        height: 38px;
        font-size: 16px;
        top: 1px;
    }

    .lista-servizi ol li h3 {
        font-size: 19px;
    }

    .lista-servizi ol li p {
        font-size: 15px;
        line-height: 1.55;
    }
}

/* =========================
   ANIMAZIONE LISTA SERVIZI
========================= */

.lista-servizi ol li {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity .65s ease,
        transform .65s ease;
}

.lista-servizi.is-visible ol li {
    opacity: 1;
    transform: translateY(0);
}

.lista-servizi.is-visible ol li:nth-child(1) {
    transition-delay: .20s;
}

.lista-servizi.is-visible ol li:nth-child(2) {
    transition-delay: .40s;
}

.lista-servizi.is-visible ol li:nth-child(3) {
    transition-delay: .55s;
}

.lista-servizi.is-visible ol li:nth-child(4) {
    transition-delay: .70s;
}

.lista-servizi.is-visible ol li:nth-child(5) {
    transition-delay: .85s;
}

.lista-servizi.is-visible ol li:nth-child(6) {
    transition-delay: 1s;
}

.lista-servizi.is-visible ol li:nth-child(7) {
    transition-delay: 1.20s;
}

.lista-servizi.is-visible ol li:nth-child(8) {
    transition-delay: 1.40s;
}

.lista-servizi.is-visible ol li:nth-child(9) {
    transition-delay: 1.60s;
}

/* =========================
   SPUNTE AGGIUNTIVE TESTO LISTA SERVIZI
========================= */
.plus-lavala{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:0 0 30px;
}

.plus-lavala span{
    background:#eef8ff;
    color:rgb(0,70,140);
    padding:8px 14px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
}

/* =========================
   ONDA
========================= */
.wave-divider-elegante {
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider-elegante svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================
   COME FUNZIONA
========================= */

.come-funziona {
    padding: 0px 20px;
    background: none;
}

.come-funziona-inner {
    max-width: 1640px;
    margin: 0 auto;
}

/* Layout principale */

.come-funziona-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 550px;
    gap: 120px;
    align-items: center;
    justify-content: center;
}

/* Colonna contenuti */

.come-funziona-content {
    min-width: 0;
}

.come-funziona-title {
    text-align: left;
    max-width: 780px;
    margin: 0 0 38px;
}

.come-funziona-title h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    color: rgb(0, 70, 140);
}

.come-funziona-title p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #5f6f7f;
}

/* Pagamenti */

.come-funziona-pagamenti {
    width: 100%;
    margin-top: 25px;
}

.come-funziona-pagamenti img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
}

/* Card */

.come-funziona-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.come-funziona-card {
    position: relative;
    max-width: 480px;
    padding: 30px 22px 28px;
    border-radius: 24px;
    background: #f5fbff;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 90, 170, 0.10);
    border: 1px solid rgba(0, 120, 200, 0.12);
}

.come-funziona-numero {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgb(0, 90, 170) 0%,
        rgb(0, 120, 200) 40%,
        rgb(0, 70, 140) 100%
    );

    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 90, 170, 0.25);
}

.come-funziona-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: rgb(0, 70, 140);
}

.come-funziona-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #607080;
}

/* Colonna video */

.come-funziona-video-wrap {
    display: flex;
    justify-content: center;
}

.come-funziona-video {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 9 / 16;
    border-radius: 32px;
    overflow: hidden;
    background: #eaf6ff;
    box-shadow: 0 24px 60px rgba(0, 90, 170, 0.22);
    border: 8px solid #ffffff;
}

.come-funziona-video video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Stato iniziale */
.come-funziona-card{
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

/* Stato visibile */
.come-funziona-card.is-visible{
    opacity: 1;
    transform: translateY(0);
}

/* Ritardi */
.come-funziona-card:nth-child(1){ transition-delay: .1s; }
.come-funziona-card:nth-child(2){ transition-delay: .2s; }
.come-funziona-card:nth-child(3){ transition-delay: .3s; }
.come-funziona-card:nth-child(4){ transition-delay: .4s; }
.come-funziona-card:nth-child(5){ transition-delay: .5s; }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1520px) {
    .come-funziona-layout {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 40px;
    }

    .come-funziona-video {
        max-width: 420px;
    }
}

@media (max-width: 1199px) {
    .come-funziona-layout {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 45px;
    }

    .come-funziona-video {
        max-width: 390px;
    }
}

@media (max-width: 991px) {
    .come-funziona-layout {
        grid-template-columns: 1fr;
    }

    .come-funziona-title {
        text-align: left;
        margin: 0 auto 38px;
    }

    .come-funziona-pagamenti img {
        margin: 0 auto;
    }

    .come-funziona-video-wrap {
        order: 2;
        margin-top: 20px;
    }

    .come-funziona-video {
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .come-funziona {
        padding: 65px 18px;
    }

    .come-funziona-grid {
        grid-template-columns: 1fr;
    }

    .come-funziona-card {
        padding: 30px 24px;
    }

    .come-funziona-video {
        max-width: 360px;
        border-radius: 26px;
        border-width: 6px;
    }
}



/* =========================
   FORM CONTATTI LAVALÀ
========================= */

.form-ico {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.form-ico .formcontatti {
    padding: 42px 38px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(0, 90, 170, 0.14);
    border: 1px solid rgba(0, 120, 200, 0.12);
}

.form-ico h4 {
    margin: 0 0 30px;
    text-align: center;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 800;
    color: rgb(0, 70, 140);
}

.form-ico .form-group {
    margin-bottom: 20px;
}

.form-ico label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: rgb(0, 70, 140);
}

.form-ico .form-control {
    width: 100%;
    height: 52px;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 120, 200, 0.22);
    background: #f7fbff;
    box-shadow: none;
    font-size: 16px;
    color: #243746;
    transition: all 0.25s ease;
}

.form-ico textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
}

.form-ico .form-control:focus {
    outline: none;
    border-color: rgb(0, 120, 200);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 120, 200, 0.14);
}

.form-ico .panel {
    margin: 0;
    border: 1px solid rgba(0, 120, 200, 0.14);
    border-radius: 16px;
    background: #f7fbff;
    box-shadow: none;
}

.form-ico .panel-body {
    padding: 16px 18px;
    font-size: 13px;
    line-height: 1.55;
    color: #5f6f7f;
}

.form-ico input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    vertical-align: middle;
    accent-color: rgb(0, 120, 200);
}

.form-ico .invia_form_contatti {
    min-width: 220px;
    padding: 15px 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgb(0, 90, 170) 0%,
        rgb(0, 120, 200) 40%,
        rgb(0, 70, 140) 100%
    );
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 14px 30px rgba(0, 90, 170, 0.28);
    transition: all 0.25s ease;
    cursor: pointer;
}

.form-ico .invia_form_contatti:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 90, 170, 0.34);
}

.form-ico .invia_form_contatti:active {
    transform: translateY(0);
}

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

.form-ico #label_trattamento_dati {
    margin-top: 8px;
}

.form-ico [id^="messaggio_errore_validazione_form"] {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #c62828;
}

/* Mobile */
@media (max-width: 600px) {
    .form-ico .formcontatti {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .form-ico h4 {
        margin-bottom: 24px;
        font-size: 28px;
    }

    .form-ico .form-control {
        height: 50px;
        font-size: 15px;
    }

    .form-ico .panel-body {
        font-size: 12.5px;
    }

    .form-ico .invia_form_contatti {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   SEZIONE TESTO STORIA LAVALÀ
========================= */

#testo-storia{
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px 110px;
}

#testo-storia .storia-txt{
    position: relative;
    background: #ffffff;
    border-radius: 34px;
    padding: clamp(38px, 5vw, 70px);
    box-shadow: 0 22px 55px rgba(0, 90, 170, 0.12);
    border: 1px solid rgba(0, 90, 170, 0.12);
    overflow: hidden;
}

/* sfumatura leggera in stile Lavalà */
#testo-storia .storia-txt::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0,90,170,0.08), rgba(255,255,255,0) 45%),
        radial-gradient(circle at 100% 0%, rgba(255,210,45,0.16), rgba(255,255,255,0) 32%);
    pointer-events: none;
    z-index: 0;
}

#testo-storia .storia-txt > *{
    position: relative;
    z-index: 1;
}

/* testo generale */
#testo-storia .storia-txt h4{
    max-width: 980px;
    margin: 0 auto 26px;
    color: var(--color-text);
    font-size: clamp(19px, 1.35vw, 24px);
    line-height: 1.75;
    font-weight: 500;
    text-align: center !important;
    letter-spacing: 0.1px;
}

/* distanze più ordinate */
#testo-storia .storia-txt h4 + h4{
    margin-top: 16px;
}

#testo-storia .storia-txt p{
    margin: 0;
    height: 12px;
}

/* frase centrale */
#testo-storia .storia-txt h4 em{
    display: block;
    max-width: 850px;
    margin: 34px auto 38px;
    padding: 30px 36px;
    border-radius: 26px;
    background: linear-gradient(135deg, #005aaa, #0077bd);
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(0, 90, 170, 0.22);
    font-style: normal;
}

#testo-storia .storia-txt h4 em strong{
    color: #ffffff;
    font-size: clamp(22px, 1.8vw, 31px);
    line-height: 1.45;
    font-weight: 700;
}

/* piccoli dettagli decorativi */
#testo-storia .storia-txt::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 68px;
    transform: translateX(-50%);
    width: 160px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #005aaa, #ffd22d, #e8262e);
    z-index: 1;
}

/* mobile */
@media (max-width: 767px){

    #testo-storia{
        padding: 45px 18px 80px;
    }

    #testo-storia .storia-txt{
        border-radius: 26px;
        padding: 34px 24px 58px;
    }

    #testo-storia .storia-txt h4{
        font-size: 18px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    #testo-storia .storia-txt h4 em{
        margin: 28px auto 32px;
        padding: 26px 24px;
        border-radius: 22px;
    }

    #testo-storia .storia-txt h4 em strong{
        font-size: 21px;
    }

}

/* =========================
   MENU FOOTER LAVALÀ
========================= */

.menu_footer{
    text-align: center !important;
}

.menu_footer .navbar{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    min-height: auto !important;
}

.menu_footer .navbar-collapse{
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.menu_footer .navbar-nav{
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu_footer .navbar-nav > li{
    float: none !important;
    display: block !important;
    text-align: center !important;
}

.menu_footer .navbar-nav > li > a{
    display: inline-block;
    padding: 6px 0 !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 15px;
    font-weight: 500;
    background: transparent !important;
    transition: all .25s ease;
}

.menu_footer .navbar-nav > li > a:hover{
    color: #ffd22d !important;
    transform: translateX(4px);
}


/* =========================
   CARD INFO LAVALÀ
========================= */

.info-card{
    background:#ffffff;
    border-radius:25px;
    padding:45px 35px;
    text-align:center;
    height:100%;
    border:1px solid rgba(0,90,170,0.08);
    box-shadow:0 15px 40px rgba(0,70,140,0.10);
    transition:all .3s ease;
}

.info-icon{
    width:90px;
    height:90px;
    margin:0 auto 25px;
    border-radius:50%;
    background: linear-gradient(
        135deg,
        rgb(0, 90, 170) 0%,
        rgb(0, 120, 200) 45%,
        rgb(0, 70, 140) 100%
    );
    display:flex;
    align-items:center;
    justify-content:center;
}

.info-icon img{
    width:auto;
    height:45px;
    object-fit:contain;
    display:block;
}

.info-card h2{
    margin:0 0 18px;
    color:rgb(0, 70, 140);
    font-size:clamp(30px,2vw,38px);
    font-weight:800;
    line-height:1.2;
}

.info-card p{
    margin:0;
    color:#4f4f4f;
    font-size:18px;
    line-height:1.6;
}

@media(max-width:767px){

    .info-card{
        padding:35px 25px;
    }

    .info-icon{
        width:75px;
        height:75px;
    }

    .info-icon img{
        width:38px;
        height:38px;
    }

    .info-card h2{
        font-size:32px;
    }

    .info-card p{
        font-size:16px;
    }

}

/* =========================
   LAVATRICI / ASCIUGATRICI
========================= */

.blocco-lava-asci{
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: wrap;
}

/* colonne esterne */
.blocco-lava-asci > .col-lava-asci{
    float: none !important;
    display: flex !important;
    padding: 12px !important;
}

/* card principale */
.blocco-lava-asci > .col-lava-asci > .row{
    margin: 0 !important;
    width: 100%;
    flex: 1 1 auto;
    display: flex !important;
    align-items: stretch !important;
    min-height: 385px;
    padding: 30px;
    background: linear-gradient(135deg,#eef8ff 0%,#dceeff 100%);
    border-radius: 18px;
    overflow: hidden;
}

/* elimina padding bootstrap interni */
.blocco-lava-asci > .col-lava-asci > .row > .editor_colonna{
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* colonna immagine */
.blocco-lava-asci > .col-lava-asci > .row > .editor_colonna:first-child{
    width: 42% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* colonna testo */
.blocco-lava-asci > .col-lava-asci > .row > .editor_colonna:last-child{
    width: 58% !important;
    padding-left: 20px !important;
    display: flex !important;
    align-items: flex-start !important;
}

/* immagini */
.img-lava,
.img-asci{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-lava img,
.img-asci img{
    display: block;
    width: 100% !important;
    max-width: 250px;
    height: auto !important;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,.15));
}

/* contenitore testo */
.txt-lava-asci{
    width: 100%;
}

/* titolo */
.txt-lava-asci h4{
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    margin: 0 0 24px;
    color: #005aaa;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.txt-lava-asci h4 img{
    width: 42px !important;
    height: auto !important;
}

/* box capacità */
.txt-lava-asci p{
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 12px;
    color: #005aaa;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,90,170,.08);
}

.txt-lava-asci p:last-child{
    margin-bottom: 0;
}

.txt-lava-asci p img{
    width: 30px !important;
    height: auto !important;
    opacity: 1 !important;
}


/* =========================
   DESKTOP PICCOLO
========================= */

@media (max-width:1199px){

    .blocco-lava-asci > .col-lava-asci > .row{
        padding: 24px;
        min-height: 340px;
    }

    .img-lava img,
    .img-asci img{
        max-width: 180px;
    }

    .txt-lava-asci h4{
        font-size: 20px;
    }

    .txt-lava-asci p{
        font-size: 20px;
    }
}

/* =========================
   TABLET
========================= */

@media (max-width:991px){

    .blocco-lava-asci > .col-lava-asci > .row{
        padding: 24px;
        min-height: 340px;
    }

    .img-lava img,
    .img-asci img{
        max-width: 170px;
    }

    .txt-lava-asci h4{
        font-size: 15px;
    }

    .txt-lava-asci p{
        font-size: 16px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width:767px){

    .blocco-lava-asci{
        display: block !important;
    }

    .blocco-lava-asci > .col-lava-asci{
        display: block !important;
        width: 100% !important;
        padding: 8px 0 !important;
    }

    .blocco-lava-asci > .col-lava-asci > .row{
        display: flex !important;
        align-items: stretch !important;
        min-height: auto;
        padding: 22px 18px;
    }

    .img-lava img,
    .img-asci img{
        max-width: 150px;
    }

    .txt-lava-asci h4{
        font-size: 18px;
        min-height: 45px;
        margin-bottom: 15px;
        gap: 8px;
    }

    .txt-lava-asci h4 img{
        width: 30px !important;
    }

    .txt-lava-asci p{
        padding: 12px 14px;
        margin-bottom: 10px;
        font-size: 17px;
        gap: 10px;
    }

    .txt-lava-asci p img{
        width: 22px !important;
    }
}


/* =========================
   BADGE MAXI FORMATO
   Solo pagina corrente
========================= */

.txt-lava-asci p.extra-large-machine{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    border: 2px solid rgba(255,159,28,.55);
    background: linear-gradient(135deg,#ffffff 0%,#fff8ea 100%);
}

.txt-lava-asci p.extra-large-machine .capacita{
    font-weight: 700;
}

.txt-lava-asci .badge-maxi{
    margin-left: 44px;
    margin-top: 4px;

    padding: 6px 12px;
    border-radius: 999px;

    background: linear-gradient(135deg,#FFD166,#FF9F1C);
    color: #005aaa;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1;

    white-space: nowrap;

    box-shadow: 0 4px 10px rgba(255,159,28,.25);
}

/* piccolo effetto coccarda */

.txt-lava-asci .badge-maxi::before{

    content: "★";

    margin-right: 6px;

    font-size: 12px;

}

/* MOBILE */
@media (max-width:767px){

    .txt-lava-asci .badge-maxi{
        padding: 6px 9px;
        font-size: 10px;
        letter-spacing: .2px;
    }

}

/* =========================
   DESCRIZIONE LAVANDERIE
========================= */

.descrizione-lavanderie{
    width: 100%;
}

/* reset lista */
.descrizione-lavanderie .list-group{
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* singola scheda */
.descrizione-lavanderie .list-group-item{
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

/* riga principale con immagine e testo */
.descrizione-lavanderie .list-group-item > .row:nth-of-type(3){
    display: flex;
    align-items: center;
    margin: 0;
    gap: 50px;
}

/* colonne */
.descrizione-lavanderie .list-group-item > .row:nth-of-type(3) > .col-sm-2,
.descrizione-lavanderie .list-group-item > .row:nth-of-type(3) > .testo{
    float: none !important;
    padding: 0 !important;
}

/* colonna immagine */
.descrizione-lavanderie .list-group-item > .row:nth-of-type(3) > .col-sm-2{
    width: 45% !important;
}

/* immagine */
.descrizione-lavanderie .list-group-item img{
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 18px 35px rgba(0, 60, 120, 0.12);
}

/* colonna testo */
.descrizione-lavanderie .testo{
    width: 60% !important;
}

/* contenuto testo */
.descrizione-lavanderie .caption{
    max-width: 780px;
}

.descrizione-lavanderie h3{
    margin: 0 0 24px;
    color: rgb(0, 70, 140);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.18;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.descrizione-lavanderie p{
    margin: 0 0 16px;
    color: var(--color-text);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
    font-weight: 400;
}

.descrizione-lavanderie p:last-child{
    margin-bottom: 0;
}

.descrizione-lavanderie strong{
    color: var(--color-text);
    font-weight: 800;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px){

    .descrizione-lavanderie .list-group-item > .row:nth-of-type(3){
        display: block;
    }

    .descrizione-lavanderie .list-group-item > .row:nth-of-type(3) > .col-sm-2,
    .descrizione-lavanderie .testo{
        width: 100% !important;
    }

    .descrizione-lavanderie .list-group-item img{
        margin-bottom: 28px;
        border-radius: 14px;
    }

    .descrizione-lavanderie h3{
        font-size: 27px;
    }

    .descrizione-lavanderie p{
        font-size: 16px;
        line-height: 1.6;
    }
}

/* =========================
   GALLERY LAVANDERIE
========================= */

.gallery-lavanderie{
    width: 100%;
    overflow: hidden;
}

/* contenitore immagini */
.gallery-lavanderie .lightboxgallery{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* singola immagine/link */
.gallery-lavanderie .image-link{
    flex: 0 0 480px;
    display: block;
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
}

/* immagini */
.gallery-lavanderie .image{
    display: block;
    width: 100% !important;
    height: 340px !important;
    object-fit: cover;
    object-position: center center;
    border-radius: 18px;
    transition: transform .35s ease, filter .35s ease;
}

/* hover */
.gallery-lavanderie .image-link:hover .image{
    transform: scale(1.04);
    filter: brightness(1.03);
}

/* scrollbar elegante */
.gallery-lavanderie .lightboxgallery::-webkit-scrollbar{
    height: 8px;
}

.gallery-lavanderie .lightboxgallery::-webkit-scrollbar-track{
    background: #e3f2ff;
    border-radius: 20px;
}

.gallery-lavanderie .lightboxgallery::-webkit-scrollbar-thumb{
    background: #005aaa;
    border-radius: 20px;
}

.gallery-lavanderie .lightboxgallery::-webkit-scrollbar-thumb:hover{
    background: #0077bd;
}

/* =========================
   TABLET
========================= */

@media (max-width: 991px){

    .gallery-lavanderie .image-link{
        flex-basis: 300px;
    }

    .gallery-lavanderie .image{
        height: 210px !important;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px){

    .gallery-lavanderie .lightboxgallery{
        gap: 16px;
        padding-bottom: 20px;
    }

    .gallery-lavanderie .image-link{
        flex-basis: 82vw;
    }

    .gallery-lavanderie .image{
        height: 220px !important;
        border-radius: 16px;
    }
}

/* =========================
   CAROUSEL LAVANDERIE FINE PAGINA
========================= */

.lavanderie-fine-pag {
    padding: 45px 0 35px;
    overflow: hidden;
}

.lavanderie-fine-pag .slick-list {
    padding: 10px 0 25px;
}

.lavanderie-fine-pag .slick-slide {
    padding: 0 12px;
}

/* Card */
.lavanderie-fine-pag .thumbnail {
    display: block;
    margin: 0;
    padding: 0;
    min-height: 140px;
    border: 1px solid rgba(0, 90, 170, 0.10);
    border-radius: 22px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 12px rgba(0, 90, 170, 0.08);
    transition: all .3s ease;
}

.lavanderie-fine-pag .thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 90, 170, 0.18);
    opacity: 1 !important;
}

/* Titolo */
.lavanderie-fine-pag .caption {
    padding: 0;
}

.lavanderie-fine-pag .caption h4 {
    margin: 0;
    padding: 16px 18px;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(
        135deg,
        rgb(0,90,170),
        rgb(0,120,200),
        rgb(0,70,140)
    );
}

/* Riga indirizzo + bottone */
.lavanderie-fine-pag .thumbnail > .row:last-child {
    margin: 0;
    padding: 18px 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Indirizzo */
.lavanderie-fine-pag .sedi-ind {
    width: 60%;
    padding: 0 !important;
    color: rgb(0,70,140);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

/* Bottone */
.lavanderie-fine-pag .btn-scopri {
    width: 40%;
    padding: 0 !important;
    text-align: right;
}

.lavanderie-fine-pag .btn-scopri p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 9px 15px;
    border-radius: 999px;
    background: linear-gradient(90deg, #FFD166, #FF9F1C);
    color: rgb(0,70,140);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(255,159,28,.25);
    transition: all .25s ease;
}

.lavanderie-fine-pag .thumbnail:hover .btn-scopri p {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255,159,28,.35);
}

/* Frecce Slick */
.lavanderie-fine-pag .slick-prev,
.lavanderie-fine-pag .slick-next {
    width: 42px;
    height: 42px;
    z-index: 5;
    border-radius: 50%;
    background: rgb(0,90,170) !important;
    box-shadow: 0 10px 25px rgba(0,90,10,.25);
}

.lavanderie-fine-pag .slick-prev {
    left: -10px;
}

.lavanderie-fine-pag .slick-next {
    right: -10px;
}

.lavanderie-fine-pag .slick-prev:before,
.lavanderie-fine-pag .slick-next:before {
    color: #ffffff;
    opacity: 1;
    font-size: 22px;
}

/* Pallini */
.lavanderie-fine-pag .slick-dots {
    bottom: -18px;
}

.lavanderie-fine-pag .slick-dots li button:before {
    font-size: 10px;
    color: rgb(0,90,170);
    opacity: .35;
}

.lavanderie-fine-pag .slick-dots li.slick-active button:before {
    opacity: 1;
    color: rgb(0,90,170);
}

/* Mobile */
@media (max-width: 767px) {
    .lavanderie-fine-pag {
        padding: 35px 0 5px;
    }

    .lavanderie-fine-pag .thumbnail > .row:last-child {
        display: block;
        text-align: center;
    }

    .lavanderie-fine-pag .sedi-ind,
    .lavanderie-fine-pag .btn-scopri {
        width: 100%;
        text-align: center;
    }

    .lavanderie-fine-pag .sedi-ind {
        margin-bottom: 14px;
    }

    .lavanderie-fine-pag .caption h4 {
        font-size: 17px;
    }
}

/* =========================
   PAGINE POLICY LAVALÀ
========================= */

.pagina-policy{
    padding: 80px 0;
    background: linear-gradient(
        180deg,
        #f4fbff 0%,
        #ffffff 100%
    );
}

.pagina-policy .container{
    max-width: 980px;
    background: #ffffff;
    padding: 55px 60px;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 90, 170, 0.13);
}

.pagina-policy h1{
    margin: 0 0 34px;
    color: rgb(0, 70, 140);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
}

.pagina-policy h1::after{
    content: "";
    display: block;
    width: 110px;
    height: 5px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgb(0, 120, 200),
        rgb(0, 70, 140)
    );
}

.pagina-policy h2{
    margin: 36px 0 14px;
    color: rgb(0, 70, 140);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.pagina-policy h3{
    margin: 28px 0 12px;
    color: rgb(0, 120, 200);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.pagina-policy p,
.pagina-policy li{
    color: #5f6f78;
    font-size: 17px;
    line-height: 1.75;
}

.pagina-policy p{
    margin: 0 0 16px;
}

.pagina-policy ul{
    margin: 12px 0 22px;
    padding-left: 22px;
}

.pagina-policy li{
    margin-bottom: 8px;
}

.pagina-policy strong{
    color: rgb(0, 70, 140);
    font-weight: 800;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 991px){

    .pagina-policy{
        padding: 60px 0;
    }

    .pagina-policy .container{
        padding: 42px 38px;
        border-radius: 24px;
    }

}

@media(max-width: 767px){

    .pagina-policy{
        padding: 40px 0;
    }

    .pagina-policy .container{
        padding: 32px 24px;
        border-radius: 22px;
    }

    .pagina-policy h1{
        font-size: 34px;
    }

    .pagina-policy h2{
        font-size: 23px;
    }

    .pagina-policy h3{
        font-size: 19px;
    }

    .pagina-policy p,
    .pagina-policy li{
        font-size: 16px;
        line-height: 1.7;
    }

}