@charset "UTF-8";
/* CSS Document 
Theme Name: Tema ST Personalizzato
Author:  Si.Be Group*/

@font-face {
	font-family: "Montserrat", sans-serif;
}

* {
	padding:0;
	margin:0;
}

.clearer {
	clear:both;
}
body {
	font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

img {
	border:none;
	display: block;
}

header, nav, article, aside, section, footer, main, figure, caption, hgroup {
	display:block;	
}

h1, h2, h3, h4, h5, h6 {
    color: #0D2A3F;
}

p {
    font-size: 18px;
	margin-bottom: 10px;
    color: #0D2A3F;
}

li {
    font-size: 18px;
    color: #0D2A3F;
}

input, textarea, select {
	font-family: "Montserrat", sans-serif;
}

.home_1,
.home_1 * {
    box-sizing: border-box;
}

.home_1 {
   
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 80px 0 80px;
    overflow: hidden;
}

.home_1 h2, .home_1 h1 {
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 55px;
    padding: 0 20px;
    text-align: center;
    color: #0e2e49;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.home_1 h2 span, .home_1 h1 span {
    color: #5ea4c7;
}

.home_1_kpi {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.home_1_line {
    flex: 1 1 auto;
    height: 4px;
    background: #d6d83f;
    display: block;
}

.home_1_item {
    flex: 0 0 245px;
    width: 245px;
    display: flex;
    justify-content: center;
}

.home_1_shield {
    position: relative;
    width: 245px;
    height: 285px;
    text-align: center;
    color: #ffffff;
    background-image: url("./Immagini/Scudo KPI.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 130% auto;
}

.home_1_shield--feedaty {
    background-image: url("./Immagini/Scudo KPI_feedaty.png");
}

.home_1_shield_content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78%;
    transform: translate(-50%, -50%);
}

.home_1_shield strong {
    display: block;
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1;
    font-weight: 600;
}

.home_1_shield p {
    margin: 0;
    font-size: 16px;
    line-height: 1.05;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
}

.home_2 {
    background: #dfeef5;
}

.home_2_int {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    padding-top: 70px;
    padding-bottom: 70px;
    box-sizing: border-box;
}

/* radio nascosti */
.home_2_int input[type="radio"] {
    display: none;
}

/* NAV TAB */
.home_2_tabs_nav {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.home_2_tab_btn {
    width: 320px;
    padding: 22px 30px 18px 30px;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    
    transition: background 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.home_2_tab_btn:hover {
    transform: translateY(-2px);
}

.home_2_tab_btn .tab_num {
    display: block;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    color: #8ec3df;
    margin-bottom: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.home_2_tab_btn .tab_num:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 14px;
    background: #5ea7cf;
    transition: background 0.3s ease;
}

.home_2_tab_btn .tab_text {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: #8ec3df;
    transition: color 0.3s ease;
}

/* TAB ATTIVA */
#tab-agenzia:checked ~ .home_2_tabs_nav label[for="tab-agenzia"],
#tab-privato:checked ~ .home_2_tabs_nav label[for="tab-privato"] {
    background: #4790b255;
    opacity: 1;
}

#tab-agenzia:checked ~ .home_2_tabs_nav label[for="tab-agenzia"] .tab_num,
#tab-agenzia:checked ~ .home_2_tabs_nav label[for="tab-agenzia"] .tab_text,
#tab-privato:checked ~ .home_2_tabs_nav label[for="tab-privato"] .tab_num,
#tab-privato:checked ~ .home_2_tabs_nav label[for="tab-privato"] .tab_text {
    color: #0f2d4a;
}

#tab-agenzia:checked ~ .home_2_tabs_nav label[for="tab-agenzia"] .tab_num:after,
#tab-privato:checked ~ .home_2_tabs_nav label[for="tab-privato"] .tab_num:after {
    background: #5ea7cf;
}

/* CONTENUTI */
.home_2_tabs_content {
    position: relative;
    overflow: visible;
}

.home_2_panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

.home_2_panel .home_2_text {
    opacity: 0;
    transform: translateX(-40px) translateY(18px);
    filter: blur(4px);
    transition:
        opacity 0.55s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease;
}

.home_2_panel .home_2_video {
    opacity: 0;
    transform: translateX(40px) translateY(18px);
    filter: blur(4px);
    transition:
        opacity 0.55s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease;
}

#tab-agenzia:checked ~ .home_2_tabs_content .panel_agenzia,
#tab-privato:checked ~ .home_2_tabs_content .panel_privato {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.45s ease, visibility 0s linear 0s;
    z-index: 2;
}

#tab-agenzia:checked ~ .home_2_tabs_content .panel_agenzia .home_2_text,
#tab-privato:checked ~ .home_2_tabs_content .panel_privato .home_2_text {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
    transition-delay: 0.06s;
}

#tab-agenzia:checked ~ .home_2_tabs_content .panel_agenzia .home_2_video,
#tab-privato:checked ~ .home_2_tabs_content .panel_privato .home_2_video {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
    transition-delay: 0.14s;
}

/* GRID */
.home_2_grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.home_2_text {
    width: 52%;
}

.home_2_video {
    width: 48%;
}

.home_2_big_num {
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    color: #9fcbe0;
    margin-bottom: 20px;
}

.home_2_text h2 {
    margin: 0 0 50px 0;
    color: #0f2d4a;
    font-size: 40px;
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.home_2_text h2 span {
    display: block;
    font-size: 28px;
    line-height: 1.08;
}

/* LISTA */
.home_2_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home_2_list li {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    line-height: 1.45;
    color: #1f3b56;
}

.home_2_list li:before {
    content: "";
    flex: 0 0 26px;
    width: 26px;
    height: 31px;
    background: url("./Immagini/Bullet-point.png") no-repeat center center;
    background-size: contain;
}

.home_2_list li span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.home_2_list li strong {
    font-weight: 700;
    color: #0f2d4a;
}

/* VIDEO */
.video_wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.video_wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.home_3 {
    width: 100%;
    padding: 0 20px;
    background: #6ba8c7;
    box-sizing: border-box;
    background-image: url(./Immagini/Servizio-Telematico-Sfondo.png);
    background-position: right center;
    background-size: 800px auto;
    background-repeat: no-repeat;
    padding-bottom: 120px;
}

.home_3_triangolo {
    width: 120px;
    margin: 0 auto;
}

.home_3_triangolo img {
    width: 100%;
    height: auto;
}

.home_3_arch {
    background-color: #FFFFFF;
}

.home_3 .home_3_int {
    max-width: 1320px;
    margin: 0 auto;
}

.home_3 .home_3_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.home_3 .home_3_card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 320px;
    padding: 0px 24px 64px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: linear-gradient(
        135deg,
        #edf4f8 0%,
        #e9f0f4 42%,
        #e3ebf0 72%,
        #dde7ed 100%
    );
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18),
        0 0 28px rgba(58, 141, 182, 0.28);
}

.home_3 .home_3_card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.06) 28%,
        rgba(255, 255, 255, 0) 55%
    );
}

.home_3 .home_3_card:hover {
    transform: translateY(-15px);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.22),
        0 0 34px rgba(58, 141, 182, 0.34);
}

.home_3 .home_3_card_inner {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 226px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.home_3 .home_3_icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.home_3 .home_3_card h4 {
    margin: 0;
    max-width: 92%;
    font-size: 18px;
    line-height: 1.18;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.home_3 .home_3_arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: auto;
    display: block;
    z-index: 2;
    transform-origin: center;
    will-change: transform, filter;
    transition: filter 0.25s ease;
}

.home_3 .home_3_card:hover .home_3_arrow,
.home_3 .home_3_card:focus-visible .home_3_arrow {
    animation: home_3_arrow_pulse 0.9s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(218, 220, 42, 0.45));
}

@keyframes home_3_arrow_pulse {
    0% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.10) translateX(5px);
    }
    100% {
        transform: scale(1) translateX(0);
    }
}

.home_3_intro {
    margin-bottom: 50px;
    margin-top: 70px;
}

.home_3_intro p {
    text-align: center;
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 600;
}

.linea_titolo {
    width: 100px;
    height: 4px;
    background-color: #d6d83f;
    margin: 0 auto;
}

.home_4_int {
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 70px;
    width: 90%;
    max-width: 1400px;
}

.home_4_intro {
    margin-bottom: 5px;
}

.home_4_intro p {
    text-align: center;
    color: #0D2A3F;
    font-size: 30px;
    font-weight: 600;
}

.home_4_intro p.home_4_intro_testo {
    font-size: 18px;
    margin-top: 20px;
}

.linea_blu {
    width: 100%;
    height: 4px;
    background-color: #4791B2;
}

.azione {
    background-color: #E2DE45;
}

.azione_int {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.azione p {
    color: #FFFFFF;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #0D2A3F;
    margin-bottom: 35px;
}

.azione_int_editor p {
    font-size: 18px;
    font-weight: 400;
}

.azione_triangolo {
    width: 120px;
    margin: 0 auto;
}

.azione_triangolo img {
    width: 100%;
    height: auto;
}

.contatto_int {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.contatto_chi_siamo .contatto_int {
    padding-top: 00px !important; 
}

.contatto_intro p {
    font-weight: 700;
    font-size: 25px;
    width: 42%;
}

.contatto_sx {
    width: 47.5%;
    float: left;
}

.form_titolo {
    margin-top: 40px;
    margin-bottom: 30px;
}

.form_titolo p {
    font-weight: 700;
}

.contatto_dx {
    width: 47.5%;
    float: right;
    background-color: #4791B2;
}

.dati_titolo p {
    padding-top: 50px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 40px;
    margin-left: 20px;
}

.contatto_dx_int {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 30px;
}

.contatto_dx_triangolo {
    width: 120px;
    height: auto;
}

.contatto_dx_triangolo img {
    width: 100%;
    height: auto;
}

.singolo input[type=text],
.singolo input[type=email],
.singolo input[type=tel],
.singolo select {
    width: 100%;
    height: 40px;
    font-size: 18px;
    color: #0D2A3F;
    padding-left: 7px;
    box-sizing: border-box;
    border: 1px solid #8f9da6;
    background-color: #fff;
    font-family: inherit;
}

.singolo select {
    cursor: pointer;
}

.singolo {
    margin-bottom: 20px;
}

.doppio .singolo {
    width: 48.5%;
    float: left;
}

.singolo_sx {
    margin-right: 3%;
}

textarea {
    width: 100%;
    height: 120px;
    font-size: 18px;
    color: #0D2A3F;
    padding-left: 7px;
    box-sizing: border-box;
    padding-top: 10px;
}

.dati_singolo {
    display: flex;
    align-items: center;   /* allinea verticalmente immagine e testo */
    gap: 10px;             /* spazio tra immagine e testo */
    padding-bottom: 30px;
}

.dati_singolo img {
    width: 40px;           /* oppure la misura che vuoi */
    height: auto;
    margin-right: 20px;
    margin-left: 20px;
}

.dati_singolo p {
    margin: 0;
    color:#FFFFFF;
    font-weight: 600;
}

.contatti_cont a:link, .contatti_cont a:visited {
    text-decoration: none;
}

.pre_footer {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
}

.pre_footer_triangolo {
    width: 10%;
    max-width: 100px;   
}

.pre_footer_triangolo img {
    width: 100%;
    height: auto;
}

footer {
    background-color: #0d2a3f;
}

footer p {
    color: #FFFFFF;
}

.footer_int {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    padding-top: 10px;
    position: relative;
}

.footer_logo {
    width: 10%;
    float: left;
    max-width: 100px;
    margin-bottom: 20px;
}

.footer_logo img {
    width: 100%;
    height: auto;
}

.footer_frase {
    width: 80%;
    float: left;
    padding-top: 10px;
    margin-bottom: 20px;
}

.footer_frase p {
    text-align: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
    padding-top: 5px;
}

.footer_frase p span {
    color: #4791B2;
}

.footer_uno {
    width: 20%;
    margin-right: 2.5%;
    float: left;
    margin-bottom: 20px;
}

.footer_uno p {
    color: #FFFFFF;
    margin-bottom: 0;
}

.footer_uno_titolo p {
    font-size: 20px;
    font-weight: 600;
}

.loghi_social {
    margin-top: 20px;
}

.loghi_social img {
    width: 30px;
    height: auto;
    margin-right: 10px;
    float: left;
}

.footer_due {
    width: 20%;
    float: left;
    margin-right: 2.5%;
    margin-bottom: 20px;
}

.footer_due p {
    font-weight: 600;
    color: #FFFFFF;
}

.footer_tre {
    width: 10%;
    float: left;
    margin-right: 2.5%;
    margin-bottom: 20px;
}

.footer_tre_titolo p {
    color: #4791B2;
    font-weight: 700;
}

.footer_tre_elenco ul {
    list-style: none;
}

.footer_tre_elenco li {
    color: #FFFFFF;
    margin-left: 0px;
    margin-bottom: 5px;
    font-weight: 600;
}

.footer_quattro {
    float: left;
}

.footer_cinque {
    float: right;
    width: 20%;
}

.footer_cinque_titoli p {
    text-align: right;
    color: #4791B2;
    font-weight: 700;
}

.footer_cinque_titoli a:link, .footer_cinque_titoli a:visited {
    text-align: right;
    color: #4791B2 !important;
    font-weight: 700;
    text-decoration: none;
}

.footer_sotto {
    margin: 0 auto;
    margin-top: 20px;
    padding-bottom: 5px;
}

.footer_sotto p {
    text-align: center;
    margin-bottom: 0;
}

.footer_sotto a:link, .footer_sotto a:visited {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

.footer_email p {
    overflow-wrap: anywhere;
    word-break: break-word;
} 

.footer_due a:link, .footer_due a:visited, .footer_tre a:link, .footer_tre a:visited, .footer_quattro a:link, .footer_quattro a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.sez_intro {
    background-color: #4791b2;
}

.sez_intro_int {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.linea_pre_sez_intro {
    width: 150px;
    height: 4px;
    background-color: #e2de45;
}

.sez_intro p, .sez_intro h1 {
    font-size: 45px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0;
}

.sez_intro h1 {
    font-size: 45px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0;
}

.icona_azzurro_basso {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
}

.icona_azzurro_basso_int {
    width: 100px;
}

.icona_azzurro_basso img {
    width: 100%;
    height: auto;
}

.chi_siamo_1 {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    padding-top: 120px;
    padding-bottom: 120px;
}

.chi_siamo_1_sx {
    width: 35%;
    float: left;
}

.chi_siamo_1_sx h1 {
    margin-bottom: 30px;
}

.chi_siamo_1_sx h2 span {
    color: #40809e;
}

.chi_siamo_1_dx {
    width: 60%;
    float: right;
}

.colla {
    background-color: #4791b2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    
}

.colla_est {
    
    padding-top: 150px;
    padding-bottom: 150px;
    
}

.colla_int {
    width: 90%;
    margin: 0 auto;
    max-width: 800px;
    background-color: #40809ed6;
    padding-top: 40px;
    padding-bottom: 40px;
}

.colla p {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 0;
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 1.4;
    font-style: italic;
    font-weight: 500;
}

.colla_linea {
    width: 150px;
    height: 2px;
    background-color: #e2de45;
    margin: 0 auto;
}

.storia {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
    padding-top: 120px;
    padding-bottom: 120px;
}

.storia_linea {
    width: 100px;
    height: 4px;
    background-color: #e2de45;
}

.storia_sx {
    width: 45%;
    float: left;
}

.storia_dx {
    width: 45%;
    float: right;
}

.storia_titolo {
    margin-bottom: 30px;
}

.storia_titolo p {
    font-weight: 600;
    font-size: 25px;
}

.valori {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
}

.valori_titolo p {
    text-align: center;
    font-weight: 600;
    font-size: 25px;
}

.valori_linea {
    width: 100px;
    height: 4px;
    background-color: #e2de45;
    margin: 0 auto;
}

.valori_box_cont {
    margin-top: 40px;
    display: flex;
    align-items: stretch;
    margin-bottom: 40px;
}

.valori_box {
    width: 33.33%;
    padding: 100px 30px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center; /* centra in altezza */
    align-items: center;     /* centra in larghezza */
    text-align: center;
    color: #FFFFFF;
}

.valori_box h4 {
    color: #FFFFFF;
    margin: 0 0 20px 0;
    font-size: 21px;
    font-weight: 600;
}

.valori_box p {
    color: #FFFFFF;
    margin: 0;
}

.azzurro_1 {
    background-color: #4791B2;
}

.azzurro_2 {
    background-color: #277CA2;
}

.azzurro_3 {
    background-color: #165A79;
}

.informativa {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 400px;
}

.informativa h1 {
    margin-bottom: 15px;
}

.informativa a:link, .informativa a:visited {
    color: #165A79;
}





.home_4_carosello {
    --items-visible: 7;
    --gap: 20px;

    position: relative;
    width: 100%;
    padding: 55px 80px;
    box-sizing: border-box;
    overflow: hidden;
}

.home_4_carosello_viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.home_4_carosello_viewport::-webkit-scrollbar {
    display: none;
}

.home_4_carosello_viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.home_4_carosello_track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.home_4_carosello_item {
    flex: 0 0 calc(
        (100% - (var(--gap) * (var(--items-visible) - 1))) / var(--items-visible)
    );
    max-width: calc(
        (100% - (var(--gap) * (var(--items-visible) - 1))) / var(--items-visible)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    user-select: none;
}

.home_4_carosello_item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

/* Frecce */
.home_4_carosello_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    padding: 12px;
    border: 1px solid rgba(18, 54, 80, 0.18);
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.home_4_carosello_btn img {
    width: 18px;
    height: auto;
    display: block;
    opacity: 0.65;
}

.home_4_carosello_btn.prev {
    left: 22px;
}

.home_4_carosello_btn.prev img {
    transform: rotate(180deg);
}

.home_4_carosello_btn.next {
    right: 22px;
}

.home_4_carosello_btn:hover img {
    opacity: 1;
}

.home_4_carosello_btn:focus {
    outline: none;
}

.home_4_carosello_btn:focus-visible {
    border-color: rgba(18, 54, 80, 0.45);
}

/* Frecce disattivate */
.home_4_carosello_btn:disabled,
.home_4_carosello_btn.is-disabled {
    opacity: 0.28;
    cursor: default;
    pointer-events: none;
    border-color: rgba(18, 54, 80, 0.10);
}

.home_4_carosello_btn:disabled img,
.home_4_carosello_btn.is-disabled img {
    opacity: 0.35;
}

/* Tablet */
@media (max-width: 1024px) {
    .home_4_carosello {
        --items-visible: 4;
        --gap: 20px;

        padding: 30px 65px;
    }

    .home_4_carosello_item img {
        max-width: 170px;
    }

    .home_4_carosello_btn {
        width: 40px;
        height: 40px;
        padding: 11px;
    }

    .home_4_carosello_btn img {
        width: 16px;
    }

    .home_4_carosello_btn.prev {
        left: 18px;
    }

    .home_4_carosello_btn.next {
        right: 18px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .home_4_carosello {
        --items-visible: 2;
        --gap: 20px;

        padding: 25px 50px;
    }

    .home_4_carosello_item img {
        max-width: 150px;
    }

    .home_4_carosello_btn {
        width: 34px;
        height: 34px;
        padding: 9px;
    }

    .home_4_carosello_btn img {
        width: 14px;
    }

    .home_4_carosello_btn.prev {
        left: 10px;
    }

    .home_4_carosello_btn.next {
        right: 10px;
    }
}



.contatto {
    position: relative;
}

#ancora {
    position: absolute;
    top: -110px;
}


.prezzi-editor ul {
    margin-bottom: 10px;
}

.prezzi-tabella-editor {
    width: 100%;
    margin: 30px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding-bottom: 12px;
}

.prezzi-tabella-editor table {
    width: 100%;
    border-collapse: collapse;
    color: #12324a;
    font-size: 16px;
    line-height: 1.3;
}

.prezzi-tabella-editor th,
.prezzi-tabella-editor td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 2px solid var(--panel-color, #d7a7ff);
    white-space: nowrap;
}

.prezzi-tabella-editor th {
    font-weight: 800;
}

.prezzi-tabella-editor td {
    font-weight: 600;
}

.prezzi-tabella-editor th:first-child,
.prezzi-tabella-editor td:first-child {
    padding-left: 0;
}

.prezzi-tabella-editor th:last-child,
.prezzi-tabella-editor td:last-child {
    padding-right: 0;
}

.prezzi-tabella-editor tbody tr:last-child td {
    border-bottom: 2px solid var(--panel-color, #d7a7ff);
}


/* Responsive */
@media (max-width: 768px) {

    .prezzi-tabella-editor {
        padding-bottom: 16px;
    }

    .prezzi-tabella-editor::before {
        content: "← scorri la tabella →";
        display: inline-block;
        margin-bottom: 10px;
        font-size: 13px;
        font-weight: 700;
        color: #12324a;
        opacity: 0.75;
    }

    .prezzi-tabella-editor::after {
        content: "";
        position: absolute;
        top: 34px;
        right: 0;
        bottom: 18px;
        width: 45px;
        pointer-events: none;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.95)
        );
    }

    .prezzi-tabella-editor table {
        min-width: 760px;
    }

    .prezzi-tabella-editor::-webkit-scrollbar {
        height: 6px;
    }

    .prezzi-tabella-editor::-webkit-scrollbar-track {
        background: rgba(18, 50, 74, 0.08);
        border-radius: 20px;
    }

    .prezzi-tabella-editor::-webkit-scrollbar-thumb {
        background: var(--panel-color, #d7a7ff);
        border-radius: 20px;
    }

    .prezzi-tabella-editor {
        scrollbar-width: thin;
        scrollbar-color: var(--panel-color, #d7a7ff) rgba(18, 50, 74, 0.08);
    }
}



.briciole {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 20px;
}

.briciole a:link, .briciole a:visited {
    color: #40809e;
}

.recensioni {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; 
}





/*media for tablet and mobile device*/
@media only screen and (min-width: 801px) and (max-width: 991px) {
	body { overflow-x:hidden; }

	.home_1 {
        padding: 55px 0 65px;
    }

    .home_1 h2, .home_1 h1 {
        margin-bottom: 40px;
        padding: 0 20px;
        font-size: 34px;
        line-height: 1.12;
        letter-spacing: -0.7px;
    }

    .home_1_kpi {
        max-width: 760px;
        margin: 0 auto;
        flex-wrap: wrap;
        gap: 18px 8px;
        padding: 0 20px;
    }

    .home_1_line {
        display: none;
    }

    .home_1_item {
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
    }

    .home_1_shield {
        width: 230px;
        height: 268px;
        background-size: 130% auto;
    }

    .home_1_shield strong {
        font-size: 38px;
    }

    .home_1_shield p {
        font-size: 15px;
    }

	.home_2_tabs_nav {
        gap: 20px;
        margin-bottom: 45px;
    }

    .home_2_tab_btn {
        width: 260px;
        padding: 18px 20px 16px 20px;
    }

    .home_2_grid {
        gap: 35px;
    }

    .home_2_big_num {
        font-size: 64px;
    }

    .home_2_text h2 {
        font-size: 40px;
    }

    .home_2_text h2 span {
        font-size: 24px;
    }

    .home_2_list li {
        gap: 14px;
    }

    .home_2_list li:before {
        flex-basis: 22px;
        width: 22px;
        height: 26px;
    }

    .home_3 {
       
    }

    .home_3 .home_3_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .home_3 .home_3_card {
        min-height: 300px;
        padding: 24px 20px 58px;
    }

    .home_3 .home_3_card_inner {
        min-height: 206px;
        gap: 18px;
    }

    .home_3 .home_3_icon {
        width: 128px;
        height: 128px;
    }

    .home_3 .home_3_arrow {
        width: 38px;
    }

    .footer_due {
    width: 100%;
    float: none;
    margin-right: 0%;
    margin-bottom: 20px;
}


.footer_tre {
    width:100%;
    float: none;
    margin-right: 0%;
    margin-bottom: 20px;
}
}

@media only screen and (max-width: 800px) {
 	body { overflow-x:hidden; }

	.home_1 {
        padding: 45px 0 55px;
    }

    .home_1 h2, .home_1 h1 {
        margin-bottom: 30px;
        padding: 0 20px;
        font-size: 26px;
        line-height: 1.15;
        letter-spacing: -0.4px;
    }

    .home_1_kpi {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

    .home_1_line {
        display: none;
    }

    .home_1_item {
        flex: 0 0 auto;
        width: 220px;
    }

    .home_1_shield {
        width: 220px;
        height: 255px;
        background-size: 130% auto;
    }

    .home_1_shield_content {
        width: 80%;
    }

    .home_1_shield strong {
        font-size: 36px;
    }

    .home_1_shield p {
        font-size: 15px;
    }

	.home_2_int {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .home_2_tabs_nav {
        gap: 12px;
        justify-content: space-between;
        align-items: stretch;
        margin-bottom: 35px;
        flex-wrap: nowrap;
    }

    .home_2_tab_btn {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        padding: 14px 12px 12px 12px;
        border-radius: 8px;
    }

    .home_2_tab_btn .tab_num {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .home_2_tab_btn .tab_num:after {
        height: 2px;
        margin-top: 10px;
    }

    .home_2_tab_btn .tab_text {
        font-size: 14px;
    }

    .home_2_panel .home_2_text,
    .home_2_panel .home_2_video {
        transform: translateY(22px);
        filter: blur(3px);
    }

    #tab-agenzia:checked ~ .home_2_tabs_content .panel_agenzia .home_2_text,
    #tab-privato:checked ~ .home_2_tabs_content .panel_privato .home_2_text,
    #tab-agenzia:checked ~ .home_2_tabs_content .panel_agenzia .home_2_video,
    #tab-privato:checked ~ .home_2_tabs_content .panel_privato .home_2_video {
        transform: translateY(0);
        filter: blur(0);
    }

    .home_2_grid {
        flex-direction: column;
        gap: 30px;
    }

    .home_2_text,
    .home_2_video {
        width: 100%;
    }

    .home_2_big_num {
        font-size: 48px;
        margin-bottom: 14px;
    }

    .home_2_text h2 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .home_2_text h2 span {
        font-size: 22px;
    }

    .home_2_list li {
        gap: 12px;
        margin-bottom: 14px;
    }

    .home_2_list li:before {
        flex-basis: 18px;
        width: 18px;
        height: 22px;
    }

    .home_3 {
        
    }

    .home_3 .home_3_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .home_3 .home_3_card {
        min-height: 270px;
        padding: 22px 16px 54px;
    }

    .home_3 .home_3_card_inner {
        min-height: 184px;
        gap: 16px;
    }

    .home_3 .home_3_icon {
        width: 110px;
        height: 110px;
    }

    .home_3 .home_3_card h4 {
        max-width: 100%;
    }

    .home_3 .home_3_arrow {
        width: 36px;
        right: 12px;
        bottom: 12px;
    }

  .contatto_sx {
    width: 100%;
    float: none;
    margin-bottom: 50px;
}

    .contatto_dx {
    width: 100%;
    float: none;
}

.footer_logo {
    width: 18%;
    float: left;
    max-width: 100px;
    margin-bottom: 20px;
}


.pre_footer_triangolo {
    width: 18%;
    max-width: 100px;   
}

.footer_frase {
    width: 75%;
    float: right;
    padding-top: 10px;
    margin-bottom: 20px;
}

.footer_uno {
    width: 100%;
    margin-right: 0%;
    float: none;
    margin-bottom: 20px;
}

.footer_due {
    width: 100%;
    float: none;
    margin-right: 0%;
    margin-bottom: 20px;
}


.footer_tre {
    width:100%;
    float: none;
    margin-right: 0%;
    margin-bottom: 20px;
}

.footer_cinque {
    float: none;
    width: 100%;
}

.footer_quattro {
    float: none;
}

.chi_siamo_1_sx {
    width: 100%;
    float: none;
    margin-bottom: 30px;
}

.chi_siamo_1 {
    padding-top: 60px;
    padding-bottom: 80px;
}

.chi_siamo_1_dx {
    width: 100%;
    float: none;
}

.storia_sx {
    width: 100%;
    float: none;
    margin-bottom: 70px;
}

.storia_dx {
    width: 100%;
    float: none;
}

.valori_box_cont {
        flex-direction: column;
    }

    .valori_box {
        width: 100%;
        padding: 60px 30px;
    }


.contatto_intro p {
    width: 100%;
}    

}


/* accessibilità */
@media (prefers-reduced-motion: reduce) {
    .home_2_tab_btn,
    .home_2_tab_btn .tab_num,
    .home_2_tab_btn .tab_num:after,
    .home_2_tab_btn .tab_text,
    .home_2_panel,
    .home_2_panel .home_2_text,
    .home_2_panel .home_2_video {
        transition: none;
    }
}



/* ----------------------------------------
   FOOTER - PULSANTI ACCEDI / REGISTRATI
---------------------------------------- */

.footer_auth_buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.footer_auth_btn {
  --footer-btn-yellow: #e2de45;
  --footer-btn-blue: #0D2A3F;

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

  min-width: 150px;
  min-height: 34px;
  padding: 0 20px;

  border-radius: 999px;
  border: 3px solid var(--footer-btn-yellow);

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.footer_auth_btn_solid {
  background: var(--footer-btn-yellow);
  color: var(--footer-btn-blue);
}

.footer_auth_btn_outline {
  background: transparent;
  color: var(--footer-btn-yellow);
}

.footer_auth_btn:hover,
.footer_auth_btn:focus {
  transform: translateY(-1px);
  filter: brightness(1.05);
  text-decoration: none;
}

.footer_auth_btn_solid:hover,
.footer_auth_btn_solid:focus {
  color: var(--footer-btn-blue);
}

.footer_auth_btn_outline:hover,
.footer_auth_btn_outline:focus {
  background: var(--footer-btn-yellow);
  color: var(--footer-btn-blue);
}


/* ----------------------------------------
   FOOTER - RESPONSIVE PULSANTI
---------------------------------------- */

@media only screen and (max-width: 991px) {
  .footer_auth_buttons {
    align-items: center;
    margin-top: 22px;
  }

  .footer_auth_btn {
    min-width: 140px;
    min-height: 32px;
    padding: 0 17px;
    font-size: 12px;
    border-width: 2px;
  }
}

@media only screen and (max-width: 800px) {
  .footer_auth_buttons {
    align-items: center;
    gap: 8px;
  }

  .footer_auth_btn {
    min-width: 130px;
    min-height: 31px;
    padding: 0 15px;
    font-size: 11px;
  }
}


/* ----------------------------------------
   FAQ PAGE
---------------------------------------- */

.mie_faq,
.mie_faq * {
    box-sizing: border-box;
}

.mie_faq {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0 120px;
}

.mie_faq_int {
    width: 100%;
}


/* ----------------------------------------
   FAQ - CERCA
---------------------------------------- */

.mie_faq_search {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 58px;
}

.mie_faq_search_label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.mie_faq_search_box {
    position: relative;
    width: 100%;
    max-width: 390px;
}

.mie_faq_search_input {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #d6e9f1;
    color: #0D2A3F;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 0 24px 0 52px;
    box-sizing: border-box;
    outline: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.mie_faq_search_input::placeholder {
    color: rgba(13, 42, 63, 0.45);
    font-weight: 600;
}

.mie_faq_search_input:focus {
    background: #e3f1f6;
    box-shadow: 0 0 0 3px rgba(71, 145, 178, 0.22);
}

.mie_faq_search_icon {
    position: absolute;
    left: 20px;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 3px solid #0D2A3F;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.65;
    pointer-events: none;
    box-sizing: border-box;
}

.mie_faq_search_icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 3px;
    background: #0D2A3F;
    right: -8px;
    bottom: -5px;
    transform: rotate(45deg);
    border-radius: 10px;
}


/* ----------------------------------------
   FAQ - NESSUN RISULTATO
---------------------------------------- */

.mie_faq_no_results {
    display: none;
    text-align: center;
    margin: -20px 0 45px;
}

.mie_faq_no_results.is-visible {
    display: block;
}

.mie_faq_no_results p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0D2A3F;
}


/* ----------------------------------------
   FAQ - ACCORDION
---------------------------------------- */

.mie_faq_item {
    border-bottom: 2px solid rgba(13, 42, 63, 0.65);
}

.mie_faq_item:first-child {
    border-top: 2px solid rgba(13, 42, 63, 0.65);
}

.mie_faq_item[hidden] {
    display: none;
}

.mie_faq_question {
    width: 100%;
    min-height: 100px;
    padding: 28px 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 48px;
    cursor: pointer;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    color: #0D2A3F;
}

.mie_faq_question span:last-child {
    display: block;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
    color: #0D2A3F;
    transition: color 0.25s ease;
}

.mie_faq_question:hover span:last-child,
.mie_faq_question:focus-visible span:last-child {
    color: #4791B2;
}

.mie_faq_question:focus {
    outline: none;
}

.mie_faq_question:focus-visible {
    outline: 3px solid rgba(71, 145, 178, 0.35);
    outline-offset: 4px;
}


/* ----------------------------------------
   FAQ - ICONA + / -
---------------------------------------- */

.mie_faq_icon {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
}

.mie_faq_icon::before,
.mie_faq_icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #0D2A3F;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mie_faq_icon::before {
    width: 24px;
    height: 5px;
}

.mie_faq_icon::after {
    width: 5px;
    height: 24px;
}

.mie_faq_item.is-open .mie_faq_icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}


/* ----------------------------------------
   FAQ - RISPOSTA
---------------------------------------- */

.mie_faq_answer {
    height: 0;
    overflow: hidden;
    transition: height 0.32s ease;
}

.mie_faq_answer_inner {
    padding: 0 0 55px 76px;
}

.mie_faq_answer_inner p {
    max-width: 850px;
    margin: 0 0 12px 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
    color: #0D2A3F;
}

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

.mie_faq_answer_inner ul,
.mie_faq_answer_inner ol {
    max-width: 850px;
    margin: 12px 0 0 22px;
    padding: 0;
}

.mie_faq_answer_inner li {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
    color: #0D2A3F;
}

.mie_faq_answer_inner a:link,
.mie_faq_answer_inner a:visited {
    color: #4791B2;
    font-weight: 700;
    text-decoration: underline;
}

.mie_faq_answer_inner a:hover,
.mie_faq_answer_inner a:focus {
    color: #0D2A3F;
}


/* ----------------------------------------
   FAQ - TABLET
---------------------------------------- */

@media only screen and (min-width: 801px) and (max-width: 991px) {
    .mie_faq {
        padding: 65px 0 95px;
    }

    .mie_faq_search {
        margin-bottom: 50px;
    }

    .mie_faq_question {
        min-height: 88px;
        gap: 34px;
    }

    .mie_faq_question span:last-child {
        font-size: 19px;
    }

    .mie_faq_answer_inner {
        padding-left: 62px;
    }

    .mie_faq_answer_inner p,
    .mie_faq_answer_inner li {
        font-size: 18px;
    }
}


/* ----------------------------------------
   FAQ - MOBILE
---------------------------------------- */

@media only screen and (max-width: 800px) {
    .mie_faq {
        width: 90%;
        padding: 55px 0 80px;
    }

    .mie_faq_search {
        margin-bottom: 42px;
    }

    .mie_faq_search_box {
        max-width: 100%;
    }

    .mie_faq_search_input {
        height: 46px;
        font-size: 15px;
        padding-left: 50px;
    }

    .mie_faq_no_results {
        margin: -15px 0 35px;
    }

    .mie_faq_no_results p {
        font-size: 16px;
    }

    .mie_faq_question {
        min-height: 82px;
        padding: 24px 0;
        gap: 22px;
        align-items: flex-start;
    }

    .mie_faq_question span:last-child {
        font-size: 18px;
        line-height: 1.25;
    }

    .mie_faq_icon {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        margin-top: 1px;
    }

    .mie_faq_icon::before {
        width: 22px;
        height: 4px;
    }

    .mie_faq_icon::after {
        width: 4px;
        height: 22px;
    }

    .mie_faq_answer_inner {
        padding: 0 0 38px 46px;
    }

    .mie_faq_answer_inner p {
        font-size: 17px;
        line-height: 1.35;
    }

    .mie_faq_answer_inner li {
        font-size: 17px;
        line-height: 1.35;
    }

    .mie_faq_answer_inner ul,
    .mie_faq_answer_inner ol {
        margin-left: 18px;
    }
}


/* ----------------------------------------
   FAQ - ACCESSIBILITÀ
---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .mie_faq_answer,
    .mie_faq_icon::before,
    .mie_faq_icon::after,
    .mie_faq_question span:last-child,
    .mie_faq_search_input {
        transition: none;
    }
}

.prezzi-listino__qty span {
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    font-style: normal;
}


.prezzi__panel-inner a:link, .prezzi__panel-inner a:visited {
    color: #0D2A3F;
}


.sin_campo_form {
	margin-bottom: 15px;
}

.sin_campo_form a:link, .sin_campo_form a:visited {
	color: #0D2A3F;
}

body .wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0em;
}


.grecaptcha-badge {
    z-index: 999999 !important;
}


