/* REV11: shared navigation, balanced benefits and home refinements. */
@media(min-width:981px){
 header .nav-link,header .nav-links>a{position:relative;border-radius:999px;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
 header .nav-link:after,header .nav-links>a:after{content:'';position:absolute;left:16%;right:16%;bottom:3px;height:3px;border-radius:6px;background:linear-gradient(90deg,#075dc2,#61bdff);transform:scaleX(0);transform-origin:center;transition:transform .18s ease;box-shadow:0 2px 12px #249cff55;pointer-events:none}
 header .nav-link:hover,header .nav-links>a:hover,header .nav-link:focus-visible,header .nav-links>a:focus-visible,header a.ramacar-nav-current{background:#1889f21c!important;color:#78c2ff!important}
 header.scrolled .nav-link:hover,header.scrolled .nav-link:focus-visible,header.scrolled a.ramacar-nav-current,.site-header-shell.scrolled .nav-links>a:hover,.site-header-shell.scrolled .nav-links>a:focus-visible,.site-header-shell.scrolled a.ramacar-nav-current{color:#075bb9!important}
 header .nav-link:hover:after,header .nav-links>a:hover:after,header .nav-link:focus-visible:after,header .nav-links>a:focus-visible:after,header a.ramacar-nav-current:after{transform:scaleX(1)}
 header a.btn:hover,header a.btn:focus-visible{box-shadow:0 0 0 3px #56b4ff70,0 12px 28px #0465c833;transform:translateY(-2px)}
}
header a:focus-visible{outline:2px solid #60b9ff;outline-offset:4px}
body>header .mega{display:none!important} /* One shared brand menu on every page. */
.loadcars-page .lc-stripe{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px;padding:12px;width:100%;align-items:stretch}
.loadcars-page .lc-stripe:before{content:none!important;display:none!important}
.loadcars-page .lc-stripe-item,.loadcars-page .lc-stripe-item:last-child{display:flex!important;grid-column:auto!important;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;min-height:190px;padding:20px 16px;border-radius:20px}
.loadcars-page .lc-stripe-item>svg{width:34px;height:34px;color:#68b8ff;margin-bottom:14px}
.loadcars-page .lc-stripe-item>strong{font-size:14px;line-height:1.35;overflow-wrap:normal}
.loadcars-page .lc-stripe-item>small{font-size:12px;line-height:1.4;margin-top:7px}
.loadcars-page .lc-stripe-brand{align-items:center;text-align:center;background:radial-gradient(ellipse at top,#25649a,#102b48 75%);border:1px solid #74c6ff66;box-shadow:inset 0 1px #c9eaff25,0 8px 25px #00101f30}
.loadcars-page .lc-stripe-brand>img{width:76px;height:76px;object-fit:contain;margin-bottom:10px;transform:scale(1.8);filter:drop-shadow(0 7px 16px #3baeff40)}
.loadcars-page .lc-stripe-brand>strong{color:#94d4ff;letter-spacing:.12em;font-size:15px}
.loadcars-page .lc-stripe-brand>small{letter-spacing:.15em;text-transform:uppercase;color:#c4e3ff;font-size:10px}
@media(min-width:761px){
 #brand .brand-card:nth-child(2){grid-template-columns:minmax(310px,.72fr) minmax(0,1.7fr)}
 #brand .brand-card:nth-child(2) .brand-content{grid-column:1;grid-row:1}
 #brand .brand-card:nth-child(2) .brand-media{grid-column:2;grid-row:1}
 #brand .brand-card:nth-child(2):before{left:auto;right:18px}
}
.journey-step:nth-child(2):before{background-image:url('/ramacar/servizio-finanziamenti.webp')!important;background-position:center 60%}
.journey-step:nth-child(4):before{background-image:url('/services/officina-hero.webp')!important;background-position:70% center}
.journey-step:nth-child(2):after,.journey-step:nth-child(4):after{background:linear-gradient(180deg,#06162ada 0%,#06162a85 38%,#06162a20 100%)}
body>footer{min-height:650px;background-color:#071321;background-image:linear-gradient(90deg,#06101fed 0%,#06101fbb 24%,#06101f25 58%,#06101f08),linear-gradient(180deg,#06101fbf 0%,#06101f88 30%,#06101f00 63%,#06101f60 100%),url('/ramacar/footer-mustang-racing.webp');background-size:cover;background-position:center 68%;padding-bottom:26px}
body>footer:before{display:none}
body>footer>.container{min-height:560px;display:flex;flex-direction:column}
body>footer .footer-grid{grid-template-columns:minmax(260px,320px) .7fr .8fr 1fr;gap:32px}
body>footer .footer-grid>div:first-child{width:100%;padding:22px;background:#0b192bd9;backdrop-filter:blur(9px)}
body>footer .footer-brand{gap:12px;min-width:0;margin-bottom:18px}
body>footer .footer-logo{width:64px;height:64px;flex:0 0 64px;transform:scale(1.8)}
body>footer .footer-brand .brand-title{font-size:28px;letter-spacing:-.04em}
body>footer .footer-brand .brand-subtitle{font-size:10px;letter-spacing:.28em;margin-top:5px}
body>footer .footer-brand-logos{margin-top:18px;padding-top:17px}
body>footer .brand-logos-label{font-size:10px;letter-spacing:.1em}
body>footer .brand-logo-row{display:flex;gap:18px;align-items:center;justify-content:space-between}
body>footer .brand-logo-row img{width:60px;height:30px;object-fit:contain;filter:brightness(0) invert(1);margin:0;opacity:1}
body>footer .brand-logo-row .logo-ford{width:74px;height:36px}
body>footer .footer-grid a,body>footer .footer-grid p{color:#d0dded;text-shadow:0 2px 8px #0009}
body>footer .copyright{margin-top:auto;padding-top:24px}
body>footer .footer-contact-icon{width:15px;height:15px;display:inline-block;vertical-align:-2px;margin-right:5px;fill:none;stroke:#79bdff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1100px) and (min-width:721px){.loadcars-page .lc-stripe{grid-template-columns:repeat(3,minmax(0,1fr))!important}.loadcars-page .lc-stripe-item{min-height:170px}}
@media(max-width:980px){body>footer .footer-grid{grid-template-columns:1fr 1fr;gap:26px}body>footer .footer-grid>div:first-child{max-width:340px}body>footer>.container{min-height:660px}}
@media(max-width:720px){
 .loadcars-page .lc-stripe{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;padding:10px}
 .loadcars-page .lc-stripe-item,.loadcars-page .lc-stripe-item:last-child{min-height:176px;padding:18px 14px}
 .loadcars-page .lc-stripe-brand>img{width:66px;height:66px}
 body>footer{background-position:63% bottom;background-size:auto 750px;background-repeat:no-repeat}
 body>footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:24px 20px}
 body>footer .footer-grid>div:first-child{grid-column:1/-1;max-width:340px}
 body>footer .footer-grid>div:last-child{grid-column:1/-1}
 body>footer>.container{min-height:990px}
 body>footer .footer-grid a,body>footer .footer-grid p{font-size:14px}
 body>footer .copyright{display:flex;flex-direction:column;gap:8px;align-items:flex-start;line-height:1.5}
}
@media(prefers-reduced-motion:reduce){header a,header a:after{transition:none!important}}

/* Quattro marchi nella tessera del concessionario. */
footer.ramacar-footer .footer-brand-logos .brand-logo-row{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(0,1fr) minmax(0,.82fr) minmax(0,1.04fr);
  align-items:center;
  gap:clamp(7px,1vw,12px);
}
footer.ramacar-footer .footer-brand-logos .brand-logo-row img{
  max-width:100%;
  justify-self:center;
  object-fit:contain;
}
footer.ramacar-footer .footer-brand-logos .brand-logo-row .logo-emc{
  width:64px;
  height:24px;
  filter:brightness(0) invert(1);
  opacity:1;
}