/* Patriot Auto Dealer AI OS 5.0 — public retail experience */
:root{
  --patriot-navy:#06183f;
  --patriot-blue:#0b3f91;
  --patriot-blue-bright:#1765d8;
  --patriot-orange:#f45a24;
  --patriot-red:#d9263f;
  --patriot-cream:#fbfcff;
  --patriot-surface:#ffffff;
  --patriot-soft:#f3f6fb;
  --patriot-line:#dce5f0;
  --patriot-ink:#13223a;
  --patriot-muted:#66758a;
  --patriot-shadow:0 18px 54px rgba(6,24,63,.11);
  --patriot-shadow-lg:0 34px 90px rgba(3,17,48,.22);
}
html{scroll-behavior:smooth}
body.patriot-public{background:var(--patriot-cream);color:var(--patriot-ink);letter-spacing:-.006em}
body.patriot-public a{transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.public-top.v4-top{background:linear-gradient(90deg,#041331 0%,#092d6d 58%,#0b3f91 100%);border-bottom:2px solid var(--patriot-orange)}
.public-top.v4-top .wrap{min-height:38px}
.public-header{backdrop-filter:saturate(150%) blur(16px);background:rgba(255,255,255,.96)}
.v4-nav{min-height:86px}
.brand-logo img{width:205px;height:68px;filter:drop-shadow(0 4px 10px rgba(6,24,63,.08))}
.v4-nav .navlinks a{font-weight:800;color:#263952;letter-spacing:.01em}
.v4-nav .navlinks a:hover{color:var(--patriot-blue)}
.nav-actions .btn{font-weight:850}
.icon-action{border:1px solid #d8e2ee;background:#f7f9fc}
.trust-ribbon{background:#f8fafc}
.trust-ribbon span{font-weight:760}
.hero.patriot-home-hero{min-height:650px;background:
  radial-gradient(circle at 84% 17%,rgba(244,90,36,.24),transparent 28%),
  radial-gradient(circle at 75% 78%,rgba(23,101,216,.28),transparent 34%),
  linear-gradient(120deg,#03112d 0%,#071f50 46%,#0b3f91 100%)}
.hero.patriot-home-hero:before{background:
  linear-gradient(90deg,rgba(3,17,45,.22),transparent 48%),
  repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 13px)}
.hero.patriot-home-hero .wrap{padding:88px 0 78px}
.hero.patriot-home-hero .hero-grid{align-items:center;gap:62px}
.hero.patriot-home-hero h1{font-size:clamp(48px,6.4vw,82px);line-height:.97;letter-spacing:-4.4px;text-wrap:balance;max-width:780px}
.hero.patriot-home-hero p{font-size:18px;line-height:1.65;max-width:690px;color:#dbe6f7}
.hero.patriot-home-hero .eyebrow{color:#ffb094;letter-spacing:1.6px}
.hero-search-card{position:relative;padding:26px!important;border:1px solid rgba(255,255,255,.62)!important;background:rgba(255,255,255,.97)!important;box-shadow:0 38px 100px rgba(0,8,30,.34)!important}
.hero-search-card:before{content:"";position:absolute;inset:-1px;border-radius:22px;padding:1px;background:linear-gradient(140deg,rgba(255,255,255,.9),rgba(244,90,36,.34),rgba(23,101,216,.32));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.hero-card-top h3{font-size:25px;line-height:1.18;letter-spacing:-.8px}
.ai-chip{background:linear-gradient(135deg,#e7f0ff,#eef4fd);border:1px solid #cbdaf0;color:#0b3f91}
.hero-search label{font-size:11px;text-transform:uppercase;letter-spacing:.75px;color:#52647a}
.hero-search input,.hero-search select{min-height:48px;border-radius:11px;background:#f6f8fb!important;border:1px solid #d7e1ec!important;font-size:14px}
.hero-search input:focus,.hero-search select:focus{border-color:#4382dc!important;box-shadow:0 0 0 4px rgba(23,101,216,.1)}
.spotlight-mini{border-top:1px solid #e3e9f2}
.spotlight-mini img{box-shadow:0 8px 18px rgba(6,24,63,.13)}
.purchase-path{position:relative;z-index:2}
.purchase-path .wrap{padding:22px 0}
.path-step>b{background:linear-gradient(135deg,#0b3f91,#1765d8);color:#fff;box-shadow:0 6px 14px rgba(11,63,145,.2)}
.section{padding:86px 0}
.section.soft{background:linear-gradient(180deg,#f4f7fb 0%,#eef3f9 100%)}
.section h2{font-size:clamp(34px,4vw,52px);line-height:1.04;letter-spacing:-2.4px;color:var(--patriot-navy);text-wrap:balance}
.section-intro{font-size:16px;line-height:1.7;color:var(--patriot-muted)}
.section-heading-row{align-items:flex-end}
.inventory-grid{gap:24px}
.v4-vehicle-card{border:1px solid #dbe4ee;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(6,24,63,.07)}
.v4-vehicle-card:hover{transform:translateY(-6px);box-shadow:0 28px 58px rgba(6,24,63,.15);border-color:#bfd0e6}
.vehicle-media img{aspect-ratio:16/10.3}
.vehicle-media:after{content:"";position:absolute;left:0;right:0;bottom:0;height:28%;background:linear-gradient(transparent,rgba(2,14,40,.14));pointer-events:none}
.v4-vehicle-card .vehicle-body{padding:19px}
.v4-vehicle-card h3{font-size:20px;letter-spacing:-.45px}
.vehicle-price{font-size:29px;letter-spacing:-1px;color:var(--patriot-navy)}
.vehicle-payment{color:#65758b}
.vehicle-card-actions .btn{border-radius:10px}
.favorite{position:relative;z-index:2;border:1px solid rgba(255,255,255,.92)}
.floating-badge{z-index:2;background:rgba(6,24,63,.92);backdrop-filter:blur(10px)}
.experience-grid{gap:18px}
.experience-card{border-radius:19px;padding:23px;box-shadow:0 12px 34px rgba(6,24,63,.06)}
.experience-card:hover{transform:translateY(-4px);box-shadow:0 22px 46px rgba(6,24,63,.11);border-color:#c5d4e6}
.experience-card.main{background:
  radial-gradient(circle at 92% 15%,rgba(244,90,36,.34),transparent 28%),
  linear-gradient(135deg,#041536,#0b3f91)}
.experience-icon{border-radius:13px;box-shadow:inset 0 0 0 1px rgba(11,63,145,.08)}
.trust-feature-grid>div{border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(6,24,63,.045)}
.contact-card{border-radius:21px;border-top:0;box-shadow:var(--patriot-shadow)}
.contact-card:before{content:"";display:block;height:5px;margin:-20px -20px 20px;border-radius:21px 21px 0 0;background:linear-gradient(90deg,var(--patriot-orange),var(--patriot-red),var(--patriot-blue-bright))}
.card,.panel{border-radius:18px}
.filterbar{top:102px;padding:17px;border-radius:18px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);box-shadow:0 20px 55px rgba(6,24,63,.13)}
.filterbar label{font-size:10px;letter-spacing:.55px;text-transform:uppercase;color:#5b6b80}
.filterbar input,.filterbar select{min-height:45px;border-radius:10px;background:#f7f9fc}
.public-detail{gap:30px}
.gallery-main{border-radius:22px;box-shadow:0 22px 58px rgba(6,24,63,.16);background:#eef2f6}
.thumbs{gap:10px}
.thumbs img{border-radius:11px;border:2px solid transparent;box-shadow:0 5px 14px rgba(6,24,63,.1)}
.thumbs img:hover{border-color:var(--patriot-orange)}
.sticky-card{top:112px;border:1px solid #d5e1ee;border-top:6px solid var(--patriot-orange);box-shadow:0 26px 65px rgba(6,24,63,.15)}
.price-big{font-size:46px;line-height:1;color:var(--patriot-navy);letter-spacing:-2px}
.timeline-item{border-left-color:#bdd0e6}
.timeline-item:before{background:var(--patriot-orange);box-shadow:0 0 0 5px rgba(244,90,36,.13)}
.footer-cta{background:
  radial-gradient(circle at 84% 25%,rgba(244,90,36,.34),transparent 26%),
  linear-gradient(115deg,#06183f,#0b3f91);border-top:0}
.footer-cta .wrap{padding:52px 0}
.footer-cta h2{font-size:clamp(30px,4vw,46px);letter-spacing:-1.8px}
.v4-footer{background:#030e25}
.v4-footer .footer-brand img{padding:7px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.favorite-drawer-card{border-left:4px solid var(--patriot-orange)}
/* Public service and intake pages */
.patriot-public form label{color:#43546b}
.patriot-public input,.patriot-public select,.patriot-public textarea{border-radius:10px;border-color:#d7e1ec;background:#fff}
.patriot-public input:focus,.patriot-public select:focus,.patriot-public textarea:focus{border-color:#4e87d9;box-shadow:0 0 0 4px rgba(23,101,216,.1);outline:0}
.patriot-public .notice{border-radius:12px}
.patriot-public .badge{font-weight:850;letter-spacing:.02em}
@media(max-width:1120px){
  .brand-logo img{width:184px}
  .hero.patriot-home-hero .hero-grid{gap:35px}
  .hero.patriot-home-hero h1{font-size:56px;letter-spacing:-3px}
}
@media(max-width:850px){
  .v4-nav{min-height:76px}.brand-logo img{width:172px;height:58px}
  .hero.patriot-home-hero{min-height:auto}.hero.patriot-home-hero .wrap{padding:60px 0}
  .hero.patriot-home-hero .hero-grid{display:block}.hero-search-card{margin-top:34px}
  .hero.patriot-home-hero h1{font-size:52px}
  .section{padding:64px 0}.section h2{font-size:38px;letter-spacing:-1.8px}
  .filterbar{top:82px}
}
@media(max-width:560px){
  .public-top.v4-top .wrap{min-height:34px}
  .v4-nav{padding:8px 0}.brand-logo img{width:156px;height:54px}
  .hero.patriot-home-hero .wrap{padding:46px 0 52px}.hero.patriot-home-hero h1{font-size:43px;letter-spacing:-2.4px}.hero.patriot-home-hero p{font-size:16px}
  .hero-search-card{padding:19px!important;border-radius:17px!important}.hero-card-top h3{font-size:21px}
  .section{padding:54px 0}.section h2{font-size:34px}
  .v4-vehicle-card{border-radius:17px}.v4-vehicle-card .vehicle-body{padding:16px}
  .filterbar{position:static}.public-detail{gap:18px}.gallery-main{border-radius:16px}.sticky-card{position:static}
  .footer-cta .wrap{padding:38px 0}
}
