/* Ramacar REV12 — shared public navigation and footer. */
.ramacar-home>header .brand-logo,.ramacar-home>header.scrolled .brand-logo{width:124px!important;height:104px!important;max-width:none!important;object-fit:contain;flex:0 0 124px;transform:none!important}
.ramacar-home>header .brand{min-width:320px}
@media(min-width:981px){
 header .nav-link,header .nav-links>a{box-sizing:border-box!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:45px;padding:12px 14px!important;border:0!important;border-radius:999px!important;font-family:Inter,Arial,sans-serif!important;font-size:14px!important;font-weight:750!important;line-height:21px!important;letter-spacing:0!important;text-decoration:none!important;white-space:nowrap;position:relative;vertical-align:middle;box-shadow:none;background:transparent}
 header .nav-links{gap:6px!important;align-items:center}
 header .nav-link:after,header .nav-links>a:after{bottom:3px!important;left:16%!important;right:16%!important;height:3px!important;border-radius:6px!important;background:linear-gradient(90deg,#075dc2,#61bdff)!important}
}
/* Exact home footer reused on every public route, independent of parent wrappers. */
footer.ramacar-footer{box-sizing:border-box;position:relative;overflow:hidden;min-height:650px;margin:0;padding:62px 0 26px;font-family:Inter,Arial,sans-serif;color:#fff;background-color:#071321!important;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')!important;background-size:cover!important;background-position:center 68%!important;background-repeat:no-repeat!important;line-height:1.5}
.ramacar-footer:before,.ramacar-footer:after{display:none}
.ramacar-footer *{box-sizing:border-box}
.ramacar-footer>.container{position:relative;width:min(1180px,calc(100% - 36px));margin-inline:auto;min-height:560px;display:flex;flex-direction:column;z-index:1}
.ramacar-footer .footer-grid{display:grid!important;grid-template-columns:minmax(260px,320px) .7fr .8fr 1fr!important;gap:32px!important;align-items:start;text-align:left}
.ramacar-footer .footer-grid>div{min-width:0}
.ramacar-footer .footer-grid>div:first-child{width:100%;padding:22px;border:1px solid #ffffff1a;border-radius:30px;background:#0b192bd9;backdrop-filter:blur(9px)}
.ramacar-footer .footer-brand{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 18px;color:white}
.ramacar-footer .footer-logo{display:block;object-fit:contain;width:64px!important;height:64px!important;flex:0 0 64px;max-width:none;transform:scale(1.8)}
.ramacar-footer .brand-text{display:flex;flex-direction:column;line-height:.9}
.ramacar-footer .brand-title{font-family:Inter,Arial,sans-serif;color:white;font-size:28px!important;font-weight:950;letter-spacing:-.04em}
.ramacar-footer .brand-subtitle{font-family:Inter,Arial,sans-serif;color:#8fc0ff;font-size:10px!important;font-weight:950;letter-spacing:.28em;margin-top:5px;text-transform:uppercase}
.ramacar-footer .footer-grid h4{font-size:15px;font-weight:850;text-transform:uppercase;letter-spacing:.12em;color:white;margin:0 0 16px}
.ramacar-footer .footer-grid a,.ramacar-footer .footer-grid p{display:block;color:#d0dded;font-size:14px;line-height:1.45;margin:9px 0;text-decoration:none;text-shadow:0 2px 8px #0009}
.ramacar-footer .footer-grid a:hover{color:white;text-decoration:underline;text-underline-offset:4px}
.ramacar-footer .footer-brand-logos{margin-top:18px;padding-top:17px;border-top:1px solid #ffffff1a}
.ramacar-footer .brand-logos-label{display:block;font-size:10px!important;font-weight:900;color:#8fc0ff;text-transform:uppercase;letter-spacing:.1em!important;margin-bottom:14px}
.ramacar-footer .brand-logo-row{display:flex;gap:18px;align-items:center;justify-content:space-between}
.ramacar-footer .brand-logo-row img{display:block;width:60px;height:30px;object-fit:contain;filter:brightness(0) invert(1);margin:0;opacity:1}
.ramacar-footer .brand-logo-row .logo-ford{width:74px;height:36px}
.ramacar-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}
.ramacar-footer .copyright{display:flex;justify-content:space-between;gap:20px;margin-top:auto;padding-top:24px;border-top:1px solid #ffffff1a;font-size:12px;color:#aebbd0}
/* Richer brand introductions; preserve alternating photograph placement. */
#brand .brand-card{grid-template-columns:minmax(0,1.5fr) minmax(360px,.9fr);min-height:490px}
#brand .brand-card:nth-child(2){grid-template-columns:minmax(360px,.9fr) minmax(0,1.5fr)}
#brand .brand-content{padding:34px!important;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
#brand .brand-intro-logo{position:static!important;width:88px!important;height:37px!important;object-fit:contain!important;object-position:left center!important;filter:brightness(0) invert(1)!important;margin:0 0 22px;transform:none!important;z-index:auto!important}
#brand .brand-intro-logo.dr{width:66px!important;height:43px!important}
#brand .brand-content h3{font-size:42px;line-height:1.05;margin:0 0 10px}
#brand .brand-content .brand-promise{font-size:19px;line-height:1.35;font-weight:800;color:#eaf5ff;margin:0 0 15px;letter-spacing:-.025em}
#brand .brand-content .brand-description{font-size:15px;line-height:1.65;color:#b8cce2;margin:0 0 20px}
#brand .brand-highlights{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 24px}
#brand .brand-highlights span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;padding:6px 9px;border-radius:6px;border:1px solid #80bfff33;color:#92c9ff;background:#3e8ee910}
#brand .brand-link{margin-top:auto}
/* Keep imagery clear; anchor journey copy below the subject. */
.journey-step{display:flex!important;flex-direction:column;justify-content:space-between;min-height:285px!important}
.journey-copy{margin-top:58px}
.journey-step:after{background:linear-gradient(180deg,#05132738 0%,#06162a05 32%,#06162ac4 72%,#06162af2 100%)!important}
.journey-copy p{font-size:14px;line-height:1.5}
.journey-bottom>div{transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;isolation:isolate}
.journey-bottom>div:before{transition:transform .3s ease,box-shadow .3s ease}
.journey-bottom>div:after{background:linear-gradient(90deg,#0759b3,#68baff,#0759b3)!important;background-size:200% 100%!important;transition:height .2s ease}
@media(hover:hover){.journey-bottom>div:hover{transform:translateY(-7px);border-color:#479cf0!important;box-shadow:0 20px 40px #03112750,0 0 0 1px #69b2ff33}.journey-bottom>div:hover:before{transform:rotate(-8deg) scale(1.1);box-shadow:0 12px 28px #0a70d865}.journey-bottom>div:hover:after{height:6px;animation:ramacar-edge 1.3s ease-in-out infinite alternate}}
@keyframes ramacar-edge{to{background-position:100% 0}}
/* Racing invitation: short entrance animations only, no perpetual text movement. */
.ramacar-home .racing-cta{position:relative;padding:82px 0!important;background:radial-gradient(ellipse at 85% 20%,#1259a94d,transparent 60%),linear-gradient(120deg,#050c16,#0b2038 62%,#06111f);overflow:hidden;border-top:1px solid #6aaaff22;border-bottom:1px solid #6aaaff33;text-align:left}
.racing-cta:before{content:'';position:absolute;right:-30px;top:-80px;width:380px;height:380px;background:repeating-conic-gradient(#70baff0d 0% 25%,transparent 0% 50%) 0 0/42px 42px;transform:rotate(-18deg);mask-image:linear-gradient(135deg,#000,transparent 75%);pointer-events:none}
.racing-cta .container{position:relative;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:55px;align-items:center}
.racing-cta .racing-eyebrow{display:flex;align-items:center;gap:13px;color:#80c2ff;letter-spacing:.17em;font-size:11px;font-weight:900;margin-bottom:22px;text-transform:uppercase}
.racing-flag{width:53px;height:53px;color:white;flex:0 0 auto}
.racing-cta h2{font-size:clamp(36px,4.4vw,62px)!important;line-height:1.03!important;letter-spacing:-.05em;margin:0!important;color:white}
.racing-cta h2 em{font-style:normal;color:#78bcff}
.racing-cta p{max-width:600px;font-size:16px;line-height:1.65;color:#bccde1;margin:20px 0 0!important}
.racing-cta .racing-actions{display:flex;flex-direction:column;gap:12px;align-items:stretch}
.racing-cta .racing-actions .btn{min-height:55px;font-size:14px;width:100%;margin:0;justify-content:center}
.racing-cta .racing-actions small{font-size:12px;letter-spacing:.035em;text-align:center;color:#89a4c4;margin-top:8px}
.racing-copy,.racing-actions{opacity:1;transform:none}
@media(prefers-reduced-motion:no-preference){.racing-cta.motion-ready:not(.in-view) .racing-copy{opacity:0;transform:translateX(-55px)}.racing-cta.motion-ready:not(.in-view) .racing-actions{opacity:0;transform:translateX(55px)}.racing-copy,.racing-actions{transition:opacity .75s ease,transform .75s cubic-bezier(.22,.61,.36,1)}.racing-actions{transition-delay:.12s}}
@media(max-width:1100px){.ramacar-home>header .brand{min-width:270px}#brand .brand-content{padding:28px!important}.ramacar-footer .footer-grid{grid-template-columns:290px 1fr 1fr 1fr!important;gap:22px!important}}
@media(max-width:980px){.ramacar-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:26px!important}.ramacar-footer .footer-grid>div:first-child{max-width:340px}.ramacar-footer>.container{min-height:660px}.racing-cta .container{gap:30px;grid-template-columns:1.2fr .8fr}}
@media(max-width:760px){#brand .brand-card,#brand .brand-card:nth-child(2){grid-template-columns:1fr;min-height:0}#brand .brand-card:nth-child(2) .brand-media,#brand .brand-card:nth-child(2) .brand-content{grid-column:auto;grid-row:auto}#brand .brand-intro-logo{margin-bottom:18px}#brand .brand-content .brand-description{font-size:15px}.journey-step{min-height:270px!important}.journey-copy{margin-top:75px}.racing-cta .container{grid-template-columns:1fr;gap:28px}.ramacar-home .racing-cta{padding:54px 0!important}.racing-cta h2{font-size:40px!important}.racing-cta .racing-actions{max-width:440px}.racing-cta .racing-actions small{text-align:left}}
@media(max-width:720px){.ramacar-home>header .brand-logo,.ramacar-home>header.scrolled .brand-logo{width:104px!important;height:88px!important;flex-basis:104px}.ramacar-home>header .brand{min-width:0;gap:0}footer.ramacar-footer{padding:48px 0 24px;background-position:63% bottom!important;background-size:auto 750px!important;background-repeat:no-repeat!important}.ramacar-footer>.container{min-height:1030px}.ramacar-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:24px 20px!important}.ramacar-footer .footer-grid>div:first-child{grid-column:1/-1;max-width:340px}.ramacar-footer .footer-grid>div:last-child{grid-column:1/-1}.ramacar-footer .copyright{flex-direction:column;gap:8px;align-items:flex-start;line-height:1.5}}
@media(prefers-reduced-motion:reduce){.journey-bottom>div,.journey-bottom>div:before,.journey-bottom>div:after,.racing-copy,.racing-actions{animation:none!important;transition:none!important;transform:none!important;opacity:1!important}}
