/* Search section. Formal institutional palette.
   Outer header/footer keep Savisa branding. No prices in this stylesheet. */
:root{
  --inv-navy:#0e1624;
  --inv-navy-2:#162033;
  --inv-charcoal:#1a1f28;
  --inv-ink:#12161d;
  --inv-muted:#3e4551;
  --inv-line:#2a3140;
  --inv-paper:#e8eaee;
  --inv-card:#f4f5f7;
  --inv-accent:#8c2f3b;
  --inv-serif:"Cinzel",serif;
  --inv-sans:"Inter",sans-serif;
}
.search-preview-banner{
  background:#1a1f28;
  color:#e8eaee;
  text-align:center;
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.04em;
  padding:.45rem 1rem;
  border-bottom:2px solid var(--inv-accent);
}
body.search-section{background:var(--inv-paper);color:var(--inv-ink);font-family:var(--inv-sans)}
body.search-section .page-hero,
.search-hero{
  background:linear-gradient(165deg,#0b1018 0%,#162033 55%,#121821 100%);
  color:#e8eaee;
  border-bottom:1px solid #2a3140;
  box-shadow:none;
}
body.search-section .page-hero h1,
.search-hero h1{font-family:var(--inv-serif);color:#f4f5f7;letter-spacing:.05em;font-weight:600}
body.search-section .page-hero p,
.search-hero .lead{color:#c5cbd4;max-width:42rem}
.search-kicker{
  display:inline-block;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
  color:#c5cbd4;font-weight:700;margin-bottom:.7rem
}
.search-subnav{background:#0e1624;border-bottom:1px solid #2a3140;position:sticky;top:68px;z-index:40}
.search-subnav ul{list-style:none;margin:0;padding:.35rem 0;display:flex;flex-wrap:wrap;gap:.15rem}
.search-subnav a{
  display:block;color:#c5cbd4;text-decoration:none;font-size:.88rem;font-weight:600;
  padding:.5rem .8rem;border-radius:4px
}
.search-subnav a:hover{color:#fff;background:rgba(255,255,255,.06)}
.search-subnav a[aria-current="page"]{color:#fff;box-shadow:inset 0 -2px 0 var(--inv-accent)}
.search-ctas{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.4rem}
.search-btn-secondary{
  background:transparent;color:#f4f5f7;border:1px solid #9aa3b2
}
.search-btn-secondary:hover{background:rgba(255,255,255,.08);color:#fff}
.search-section h2{font-family:var(--inv-serif);font-weight:600;letter-spacing:.03em;color:#0e1624}
.search-section h3{font-family:var(--inv-sans);color:#0e1624}
.search-card{
  background:var(--inv-card);border:1px solid #d5d8de;border-top:3px solid #0e1624;
  border-radius:4px;padding:1.4rem 1.5rem;box-shadow:none
}
.search-card h3{margin-top:0}
.search-grid{display:grid;gap:1.2rem}
.search-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.search-steps{list-style:none;padding:0;margin:0;counter-reset:invstep}
.search-steps li{position:relative;padding:0 0 1.1rem 3rem;border-left:1px solid #c5cbd4;margin-left:.9rem}
.search-steps li:last-child{border-left-color:transparent;padding-bottom:0}
.search-steps li::before{
  counter-increment:invstep;content:counter(invstep);position:absolute;left:-0.85rem;top:0;
  width:1.7rem;height:1.7rem;border-radius:50%;background:#0e1624;color:#f4f5f7;
  font-size:.85rem;font-weight:700;display:grid;place-items:center
}
.search-disclaimer{
  background:#eceef2;border:1px solid #c5cbd4;border-left:4px solid #0e1624;
  padding:1rem 1.15rem;font-size:1rem;line-height:1.55;color:#12161d;margin:1.5rem 0 0
}
.search-disclaimer h2,.search-limits h2{font-size:1.15rem;margin:0 0 .5rem}
.search-limits{
  background:#fff;border:1px solid #c5cbd4;border-left:4px solid var(--inv-accent);
  padding:1.15rem 1.25rem;margin:1.5rem 0;font-size:1.0625rem;line-height:1.6;color:#12161d
}
.search-sample{border:1px dashed #7a818c;background:#fff;padding:1.2rem 1.3rem;margin:1rem 0}
.search-sample-label{
  display:inline-block;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  background:#0e1624;color:#f4f5f7;padding:.25rem .55rem;margin-bottom:.7rem
}
.search-rating{display:inline-block;font-weight:700;padding:.15rem .55rem;border:1px solid #0e1624;font-size:.9rem}
.search-section-footer{
  background:#0e1624;color:#c5cbd4;padding:1.2rem 0;margin-top:0;border-top:1px solid #2a3140;font-size:.95rem
}
.search-section-footer p{margin:0;max-width:50rem}
.search-fineprint{
  background:#F3F4F6;color:#5C6370;font-size:11px;line-height:1.45;padding:.85rem 0;
  /* Contrast of #5C6370 on #F3F4F6 is 5.49:1 (WCAG AA normal text). */
}
.search-fineprint p{margin:0;font-size:11px;color:#5C6370}
body.search-section .sv-form{border-radius:4px;border-top:3px solid #0e1624}
body.search-section label.check{display:flex;align-items:flex-start;gap:.6rem;font-size:1.0625rem;line-height:1.5;font-weight:500;margin:.85rem 0}
body.search-section label.check input[type="checkbox"]{width:1.15rem;height:1.15rem;min-width:1.15rem;margin-top:.2rem;flex:none;accent-color:#0e1624}
body.search-section select[multiple]{min-height:14rem;padding:.4rem}
.search-hidden{display:none !important}
.search-note{font-size:.92rem;color:#3e4551}
.search-payment{background:#fff;border:1px solid #d5d8de;padding:1.4rem 1.5rem}
#vin-field.search-hidden{display:none !important}
@media (max-width:800px){
  .search-grid-2{grid-template-columns:1fr}
  .search-subnav{top:0}
}

button[type=submit]:disabled,.btn:disabled{opacity:.55;cursor:not-allowed}
