﻿/* ===== RB Service - brand override ===== */
:root{--rb-red:#C41E25;--rb-red-dark:#9E1219;--rb-dark:#171717;--rb-gray:#F7F7F7;--rb-text:#333333;}
body{color:var(--rb-text);}
a{color:var(--rb-red);}
a:hover,a:focus{color:var(--rb-red-dark);}
#sp-header{background:#0d0d0d;}
.sp-megamenu-parent>li>a{font-weight:600;letter-spacing:.3px;}
.sp-megamenu-parent>li.active>a,.sp-megamenu-parent>li.active:hover>a{background:var(--rb-red);color:#fff;}
.sp-megamenu-parent>li:hover>a{color:var(--rb-red);}
.btn-primary,.sppb-btn-primary{background:var(--rb-red);border-color:var(--rb-red);color:#fff;}
.btn-primary:hover,.sppb-btn-primary:hover{background:var(--rb-red-dark);border-color:var(--rb-red-dark);color:#fff;}
.rb-sec{position:relative;}
.rb-sec-gray{background:var(--rb-gray)!important;}
.rb-sec-dark{background:var(--rb-dark)!important;color:#d7d7d7;}
.rb-sec-dark h1,.rb-sec-dark h2,.rb-sec-dark h3,.rb-sec-dark h4,.rb-sec-dark .rb-title{color:#fff;}
.rb-head{margin-bottom:38px;}
.rb-head-center{text-align:center;}
.rb-head-center .rb-lead{margin-left:auto;margin-right:auto;}
.rb-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--rb-red);margin:0 0 10px;}
.rb-title{font-size:44px;line-height:1.15;font-weight:700;color:#111;margin:0 0 18px;}
.rb-title span{color:var(--rb-red);}
.rb-lead{font-size:18px;line-height:1.65;color:#5a5a5a;max-width:820px;margin:0 auto;}
.rb-sec-dark .rb-lead{color:#b9b9b9;}
.rb-list{list-style:none;padding:0;margin:26px 0 0;}
.rb-list li{position:relative;padding-left:30px;margin-bottom:12px;font-weight:600;color:#2a2a2a;}
.rb-list li:before{content:"\f00c";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;left:0;top:1px;color:var(--rb-red);font-size:14px;}
.rb-figure{margin:0;border-radius:16px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.15);background:#fff;}
.rb-figure img{display:block;width:100%;height:auto;}
.rb-figure figcaption{padding:14px 20px;background:#fff;font-size:14px;color:#666;}
.rb-card{background:#fff;border:1px solid #ececec;border-radius:16px;box-shadow:0 6px 24px rgba(0,0,0,.05);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;height:100%;}
.rb-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(0,0,0,.10);border-color:rgba(235,19,19,.35);}
.rb-card .sppb-addon-title{font-weight:600!important;}
.rb-card p{font-size:15.5px;line-height:1.65;margin:0;}
.rb-serv-row .sppb-addon{height:100%;margin-bottom:24px;}
.rb-banners{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;}
.rb-banner{display:block;border-radius:16px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.08);background:#fff;}
.rb-banner img{display:block;width:100%;height:auto;transition:transform .4s ease;}
.rb-banner:hover img{transform:scale(1.03);}
.rb-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.rb-gal-item{display:block;border-radius:12px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.08);}
.rb-gal-item img{display:block;width:100%;height:230px;object-fit:cover;transition:transform .45s ease;}
.rb-gal-item:hover img{transform:scale(1.07);}
.rb-partners img{max-height:64px;width:auto!important;}
.rb-partners .sppb-addon-content{display:flex;align-items:center;justify-content:center;gap:70px;flex-wrap:wrap;}
.rb-sec-dark p{color:#cfcfcf;}
.rb-contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;}
.rb-contact-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:14px;padding:28px 20px;}
.rb-contact-card i{font-size:26px;color:var(--rb-red);margin-bottom:12px;display:inline-block;}
.rb-contact-card h4{font-size:15px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 10px;color:#fff;}
.rb-contact-card p{margin:0;color:#d5d5d5;font-size:15.5px;}
.rb-contact-card a{color:#fff;}
.rb-contact-card a:hover{color:var(--rb-red);}
.rb-hero .js-slider-content{max-width:860px;}
.rb-hero .rb-hero-btn{display:inline-block;background:var(--rb-red)!important;border-radius:6px;font-weight:600;letter-spacing:.04em;}
.rb-hero h1,.rb-hero h2{text-shadow:0 2px 24px rgba(0,0,0,.45);}
#sp-footer{background:#0d0d0d;color:#bdbdbd;}
#sp-footer a{color:#fff;}
#sp-footer a:hover{color:var(--rb-red);}
.rb-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;}
.rb-footer-logo{max-height:46px;width:auto;margin-bottom:18px;}
.rb-footer-col h4{color:#fff;font-size:16px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 16px;}
.rb-footer-col ul{list-style:none;padding:0;margin:0;}
.rb-footer-col li{margin-bottom:9px;}
.rb-footer-col p{color:#bdbdbd;margin:0 0 10px;font-size:15px;}
.rb-footer-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:22px;font-size:14px;color:#9a9a9a;}
.rb-footer-brand p{color:#bdbdbd;font-size:15px;line-height:1.7;max-width:420px;}
@media (max-width:1200px){.rb-title{font-size:38px;}.rb-gallery{grid-template-columns:repeat(3,1fr);}.rb-footer-grid{gap:28px;}}
@media (max-width:991px){.rb-banners{grid-template-columns:1fr;}.rb-gallery{grid-template-columns:repeat(2,1fr);}.rb-gal-item img{height:190px;}.rb-contact-grid{grid-template-columns:repeat(2,1fr);}.rb-partners .sppb-addon-content{gap:40px;}.rb-footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:575px){.rb-title{font-size:30px;}.rb-contact-grid{grid-template-columns:1fr;}.rb-gal-item img{height:150px;}.rb-footer-grid{grid-template-columns:1fr;}}
/* brand css variables + hide demo color switcher */
:root{--sppb-primary:#C41E25;--sppb-primary-hover:#9E1219;}
.sppb-color-switcher{display:none!important;}
.rb-hero .sppb-sp-slider-button{background:#C41E25!important;border:0!important;border-radius:6px!important;color:#fff!important;}
.rb-hero .sppb-sp-slider-button:hover{background:#9E1219!important;}
.rb-hero .sppb-sp-slider-button .sp-slider-btn-text{color:#fff!important;border:0!important;}

/* header at top instead of bottom of slideshow */
#sp-header.has-slideshow{position:relative!important;bottom:auto!important;top:0!important;left:auto!important;right:auto!important;background:#0D0D0D!important;box-shadow:0 2px 18px rgba(0,0,0,.25)!important;}
#sp-header{background:#0D0D0D!important;}
[class*="sppb-color-switcher"]{display:none!important;visibility:hidden!important;}
.rb-hero .sp-slider,.rb-hero .sp-slider .sp-item{height:calc(100vh - 80px)!important;min-height:560px;}
.rb-hero .sp-slider{overflow:hidden;}
@media(max-width:991px){.rb-hero .sp-slider,.rb-hero .sp-slider .sp-item{height:calc(100vh - 60px)!important;}}

/* blue secondary from van logo */
.rb-eyebrow{color:#0B3C8C!important;}
.sp-megamenu-parent>li.active>a{background:#C41E25!important;}
#sp-header .logo img{max-height:44px;width:auto;}

/* ---- sticky header + typography fixes ---- */
#sp-header.has-slideshow{position:sticky!important;top:0!important;bottom:auto!important;left:auto!important;right:auto!important;z-index:9999!important;}
#sp-header.header-sticky{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;}
.rb-title{font-size:44px!important;line-height:1.15!important;font-weight:700!important;color:#111!important;margin:0 0 18px!important;text-transform:none!important;letter-spacing:-.3px!important;}
.rb-head-light .rb-title{color:#fff!important;}
.rb-eyebrow{font-size:13px!important;font-weight:700!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:#0B3C8C!important;margin:0 0 10px!important;}
.rb-lead{font-size:18px!important;line-height:1.65!important;color:#5a5a5a!important;font-weight:400!important;}
.rb-sec-dark .rb-lead{color:#b9b9b9!important;}
.rb-list{list-style:none!important;padding:0!important;margin:26px 0 0!important;}
.rb-list li{list-style:none!important;padding-left:30px!important;margin-bottom:12px!important;font-weight:600!important;color:#2a2a2a!important;}
.rb-list li:before{content:"\f00c";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;left:0;top:1px;color:#C41E25;font-size:14px;}
.rb-list li{position:relative!important;}
.rb-figure{margin:0!important;}
.rb-figure figcaption{padding:14px 20px;background:#fff;font-size:14px;color:#666;}
.rb-card p{font-size:15.5px!important;line-height:1.65!important;}
.rb-footer-col h4{color:#fff!important;font-size:16px!important;letter-spacing:.12em!important;text-transform:uppercase!important;}
.rb-footer-col ul{list-style:none!important;padding:0!important;margin:0!important;}
.rb-footer-col li{list-style:none!important;margin-bottom:9px!important;}
.rb-contact-card h4{font-size:15px!important;}
.rb-partners .sppb-addon-content,.rb-partners .sppb-addon-clients{display:flex;align-items:center;justify-content:center;gap:70px;flex-wrap:wrap;}
.rb-partners .sp-clients-item{margin:0!important;}
@media(max-width:1200px){.rb-title{font-size:38px!important;}.rb-gallery{grid-template-columns:repeat(3,1fr);}}
@media(max-width:991px){.rb-title{font-size:34px!important;}.rb-gallery{grid-template-columns:repeat(2,1fr);}.rb-contact-grid{grid-template-columns:repeat(2,1fr);}.rb-footer-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:575px){.rb-title{font-size:28px!important;}.rb-contact-grid{grid-template-columns:1fr;}.rb-footer-grid{grid-template-columns:1fr;}}
/* leggibilita' su sfondi scuri */
.rb-sec-dark .rb-eyebrow{color:#FFFFFF!important;opacity:.9;}
.rb-sec-dark a{color:#FFFFFF;}
.rb-sec-dark a:hover{color:#FF6B6B;}
#sp-footer .rb-footer-col a,
#sp-footer .rb-footer-bottom a{color:#DCDCDC;}
#sp-footer a:hover{color:#FF6B6B;}
/* card refinement */
.rb-card{padding:32px 28px!important;display:flex;flex-direction:column;}
.rb-card .sppb-icon{margin-bottom:18px!important;}
.rb-card .sppb-icon-container{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:14px!important;padding:0!important;background:rgba(196,30,37,.08)!important;}
.rb-card .sppb-icon-container i{font-size:26px!important;color:#C41E25!important;}
.rb-card .sppb-addon-title{font-size:20px!important;font-weight:600!important;color:#141414!important;margin:0 0 10px!important;line-height:1.3!important;}
.rb-card .sppb-addon-text{color:#5a5a5a!important;font-size:15.5px!important;line-height:1.65!important;}
/* demo cookie banner (ne sara' installato uno dedicato) */
#sp-cookie-consent{display:none!important;}
/* contatti: mappa + form affiancati */
.rb-sec-contacts .sppb-row{display:block!important;}
.rb-sec-contacts .sppb-col-md-6,.rb-sec-contacts .row-column{width:100%!important;max-width:100%!important;flex:1 1 auto!important;}
.rb-map-embed{border-radius:14px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.35);height:420px;}
.rb-map-embed iframe{width:100%;height:420px!important;display:block;border:0;}
.rb-map-link{text-align:center;margin:14px 0 0!important;font-size:14px!important;}
.rb-map-link a{color:#cfcfcf;}
.rb-map-link a:hover{color:#fff;}
@media(max-width:991px){.rb-sec-contacts .sppb-row{grid-template-columns:1fr;}}
/* fix grid overflow + form styling */
.rb-sec-contacts .sppb-row > *{width:100%!important;max-width:100%!important;min-width:0!important;display:block;}
.sppb-addon-form-builder input[type=text],.sppb-addon-form-builder input[type=email],.sppb-addon-form-builder input[type=tel],.sppb-addon-form-builder textarea,.sppb-addon-form-builder select{background:#fff!important;border:1px solid #dfe3e8!important;color:#141414!important;border-radius:10px!important;padding:13px 16px!important;width:100%!important;font-size:15px!important;box-shadow:none!important;}
.sppb-addon-form-builder input::placeholder,.sppb-addon-form-builder textarea::placeholder{color:#8f8f8f!important;}
.sppb-addon-form-builder .sppb-btn{background:#C41E25!important;border:0!important;color:#fff!important;text-transform:uppercase!important;letter-spacing:.06em!important;font-weight:600!important;padding:14px 34px!important;border-radius:6px!important;}
.sppb-addon-form-builder .sppb-btn:hover{background:#9E1219!important;}
.sppb-addon-form-builder .sppb-form-group{margin-bottom:14px!important;}
.rb-form-sec .sppb-addon-form-builder{max-width:760px;margin:38px auto 10px;background:#fff;border-radius:16px;padding:32px 30px;box-shadow:0 26px 60px rgba(0,0,0,.4);}
.rb-sec-contacts .rb-map-block{max-width:1100px;margin:0 auto;}

/* la colonna del form nel quickstart era posizionata in assoluto: la riportiamo nel flusso */
.rb-form-sec .sppb-row-column{position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;}
.rb-form-sec .sppb-row{height:auto!important;min-height:0!important;}
.rb-form-sec .sppb-column,.rb-form-sec .sppb-column-addons{position:static!important;}
/* pagine legali (articoli) */
.com-content.view-article .article-info-wrap,
.com-content.view-article .article-ratings,
.com-content.view-article .article-details .article-info,
.com-content.view-article .mod-articles-category,
.com-content.view-article .article-icons{display:none!important;}
.com-content.view-article .article-details h2{font-size:26px!important;font-weight:700!important;color:#141414!important;margin:34px 0 12px!important;}
.com-content.view-article .article-details p,.com-content.view-article .article-details li{font-size:16px!important;line-height:1.75!important;color:#3a3a3a!important;}
.com-content.view-article .article-details ul{padding-left:22px!important;list-style:disc!important;}
.com-content.view-article .article-details ul li{list-style:disc!important;}
/* pagine legali: solo titolo + contenuto */
.article-details .articl-header-info-wrapper{background:none!important;padding:0!important;margin:0 0 18px!important;border:0!important;box-shadow:none!important;}
.article-details .articl-header-info-wrapper::before,.article-details .articl-header-info-wrapper::after{display:none!important;content:none!important;}
.article-details .blog-info-wrapper > .d-flex,
.article-details .article-info,
.article-details .article-ratings,
.article-details .read-time{display:none!important;}
.article-details .article-header{padding:0!important;}
.article-details .article-header h1{font-size:40px!important;font-weight:800!important;color:#141414!important;margin:0 0 26px!important;line-height:1.15!important;}
.article-details .article-header h1::after{content:"";display:block;width:70px;height:4px;background:#C41E25;border-radius:2px;margin-top:16px;}
#sp-main-body .article-details{padding-top:30px!important;}
.article-details [itemprop="articleBody"]{max-width:900px;}.article-details .article-header::before,.article-details .article-header::after{display:none!important;}
.article-details .article-share,.article-details .pagenavigation{max-width:900px;}
.article-details .article-share a{color:#8a8f98!important;transition:.2s;}
.article-details .article-share a:hover{color:#C41E25!important;}
.article-details .pagenavigation .pagenav{border:1px solid #e6e8ec;border-radius:10px;padding:12px 16px;background:#fff;transition:.2s;}
.article-details .pagenavigation .pagenav:hover{border-color:#C41E25;box-shadow:0 6px 20px rgba(0,0,0,.08);}
.article-details .pagenavigation .pagenav a{color:#141414!important;font-weight:600;text-decoration:none!important;}
.article-details [itemprop="articleBody"] a{color:#C41E25;}/* form contatti: card leggibile su fondo scuro */
.sppb-addon-form-builder input:focus,.sppb-addon-form-builder textarea:focus{border-color:#C41E25!important;outline:0!important;box-shadow:0 0 0 3px rgba(196,30,37,.12)!important;}
.sppb-addon-form-builder label,.sppb-addon-form-builder .sppb-form-label{color:#141414!important;font-weight:600!important;}
.sppb-addon-form-builder .sppb-btn{margin-top:6px!important;}
@media(max-width:767px){.rb-form-sec .sppb-addon-form-builder{padding:22px 18px!important;margin:26px auto 0!important;}}/* footer: annulla il vincolo 400px del template */
#sp-footer #sp-footer1{max-width:100%!important;margin:0!important;text-align:left!important;}
#sp-footer .container-inner{padding:0!important;}
#sp-footer .rb-footer-sec .sppb-section-content{padding:0!important;}
.rb-footer{text-align:left;}
.rb-footer-brand p{margin:0!important;}
.rb-footer-col h4{margin:0 0 16px!important;}
.rb-footer-col li a{text-decoration:none!important;}
@media(max-width:991px){#sp-footer .rb-footer-grid{gap:30px!important;}}/* consenso privacy nel form */
.rb-form .sppb-form-check{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:16px 0 20px!important;text-align:left!important;}
.rb-form .sppb-form-check-input{flex:0 0 auto!important;width:17px!important;height:17px!important;margin-top:3px!important;}
.rb-form .sppb-form-check-label{flex:1 1 auto!important;display:inline!important;font-size:14px!important;line-height:1.55!important;color:#5a5f66!important;font-weight:400!important;text-align:left!important;margin:0!important;padding:0!important;}
.rb-form .sppb-form-check-label a{color:#C41E25!important;font-size:14px!important;font-weight:600!important;display:inline!important;text-decoration:underline!important;background:none!important;padding:0!important;border:0!important;}/* loghi partner: dimensione uniforme su una sola riga */
.rb-partners .sp-clients-item{flex:0 0 auto!important;}
.rb-partners .sp-clients-item img,.rb-partners img{max-height:46px!important;width:auto!important;max-width:180px!important;object-fit:contain!important;}
.rb-partners .sppb-addon-content{gap:46px!important;}
@media(max-width:991px){.rb-partners .sppb-addon-content{gap:32px!important;}.rb-partners img{max-height:38px!important;max-width:140px!important;}}
/* ============================================================
   BLU DEL LOGO su header, footer e sezioni scure
   ============================================================ */
:root{--rb-blue:#0B3C8C;--rb-blue-dark:#08306F;--rb-blue-light:#1249A6;}

/* header */
#sp-header,#sp-header.has-slideshow,#sp-header.header-sticky{background:#0B3C8C!important;box-shadow:0 3px 20px rgba(11,60,140,.28)!important;}
#sp-header{border-bottom:3px solid #C41E25!important;}
.sp-megamenu-parent>li>a{color:#fff!important;}
.sp-megamenu-parent>li:hover>a{color:#fff!important;background:rgba(255,255,255,.12)!important;}
.sp-megamenu-parent>li.active>a,.sp-megamenu-parent>li.active:hover>a{background:#C41E25!important;color:#fff!important;}
#offcanvas-toggler .burger-icon span,#offcanvas-toggler .burger-icon span:before,#offcanvas-toggler .burger-icon span:after{background:#fff!important;}

/* menu mobile */
.offcanvas-menu{background:#0B3C8C!important;}
.offcanvas-menu .offcanvas-inner a,.offcanvas-menu .offcanvas-inner ul.menu>li a,.offcanvas-menu .offcanvas-inner ul.menu>li span{color:#fff!important;}
.offcanvas-menu .offcanvas-inner ul.menu>li a:hover,.offcanvas-menu .offcanvas-inner ul.menu>li.active>a{background:#C41E25!important;color:#fff!important;}
.offcanvas-menu .close-offcanvas .burger-icon span,.offcanvas-menu .close-offcanvas .burger-icon span:before,.offcanvas-menu .close-offcanvas .burger-icon span:after{background:#fff!important;}
.offcanvas-menu .offcanvas-inner ul.menu>li{border-bottom:1px solid rgba(255,255,255,.12)!important;}

/* sezioni scure (contatti, form) in blu profondo */
.rb-sec-dark{background:#08306F!important;color:#DCE6F7!important;}
.rb-sec-dark p,.rb-sec-dark .rb-lead{color:#C7D5EE!important;}
.rb-contact-card{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.16)!important;}
.rb-contact-card p{color:#D5E0F3!important;}

/* footer */
#sp-footer{background:#0B3C8C!important;color:#D3DEF2!important;border-top:4px solid #C41E25!important;}
#sp-footer .rb-footer-col h4{color:#fff!important;}
#sp-footer .rb-footer-brand p,#sp-footer .rb-footer-col p{color:#C6D4EE!important;}
#sp-footer a,#sp-footer .rb-footer-col a{color:#fff!important;}
#sp-footer a:hover,#sp-footer .rb-footer-col a:hover{color:#FFC9CB!important;}
.rb-footer-bottom{border-top:1px solid rgba(255,255,255,.22)!important;color:#C2D0EA!important;}
.rb-footer-logo{background:#fff;padding:8px 12px;border-radius:6px;}

/* scroll up */
.sp-scroll-up{background:#C41E25!important;}
.sp-scroll-up:hover{background:#9E1219!important;}/* riga finale footer: spazio per il pulsante scroll-up del template */
#sp-footer .rb-footer-bottom{padding-right:70px!important;align-items:center!important;}
.rb-footer-credit{color:#C2D0EA!important;font-size:13.5px!important;white-space:nowrap;}
.rb-footer-credit strong{color:#fff!important;font-weight:700!important;}
.rb-footer-vat{color:#C6D4EE!important;font-size:14px!important;margin-top:6px!important;}
#sp-footer .rb-footer-sec{background:#0B3C8C!important;}
@media(max-width:767px){#sp-footer .rb-footer-bottom{padding-right:0!important;gap:10px!important;}.rb-footer-credit{white-space:normal!important;}}/* schede contatto piu leggibili sul blu */
.rb-contact-card{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.24)!important;box-shadow:0 10px 28px rgba(0,0,0,.18)!important;}
.rb-contact-card p{color:#E4EBF7!important;}