:root {
  --ink: #101820;
  --muted: #5f6770;
  --line: #d9dee3;
  --paper: #f7f8f7;
  --white: #ffffff;
  --red: #c81f2b;
  --red-dark: #9f1520;
  --green: #236b45;
  --gold: #f2bb45;
  --charcoal: #202124;
  --shadow: 0 18px 46px rgba(16, 24, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.call-link {
  text-decoration: none;
}

.site-nav a:hover,
.call-link:hover {
  color: var(--red);
}

.call-link {
  color: var(--red);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 73px);
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.86), rgba(8, 12, 16, 0.62) 48%, rgba(8, 12, 16, 0.22)),
    linear-gradient(180deg, rgba(8, 12, 16, 0.2), rgba(8, 12, 16, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 73px);
  margin: 0 auto;
  padding: 58px 0 72px;
}

.hero-copy {
  max-width: 720px;
  color: var(--white);
}

.cash-logo {
  width: 142px;
  height: auto;
  margin-bottom: 22px;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6.3vw, 76px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-text {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions,
.final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.talk-link {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.talk-link a,
.form-note a {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.full {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 34px 0 0;
}

.trust-row div {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 18px;
  background: rgba(16, 24, 32, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
}

.trust-row dt {
  color: var(--white);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.trust-row dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 800;
}

.offer-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.avatar {
  position: absolute;
  right: -42px;
  bottom: -22px;
  width: 166px;
  opacity: 0.24;
  pointer-events: none;
}

.offer-card > :not(.avatar) {
  position: relative;
  z-index: 1;
}

.form-heading h2 {
  margin-bottom: 16px;
  font-size: 26px;
}

.kbb-panel {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #eef5fb;
  border: 1px solid #c7d8e8;
  border-radius: 8px;
}

.kbb-logo {
  display: grid;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: #1168a7;
  border-radius: 6px;
  font-size: 24px;
  font-weight: 900;
}

.kbb-panel h3 {
  margin-bottom: 4px;
}

.kbb-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.kbb-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding-left: 22px;
  color: var(--charcoal);
  font-weight: 700;
}

.kbb-list li::marker {
  color: var(--red);
  font-weight: 900;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.value-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.value-band div {
  display: grid;
  gap: 4px;
  padding: 24px clamp(18px, 4vw, 44px);
  background: var(--white);
}

.value-band strong {
  font-size: 18px;
}

.value-band span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(60px, 8vw, 96px) 0;
}

.inline-cta {
  display: flex;
  width: min(1180px, calc(100% - 36px));
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto clamp(30px, 5vw, 56px);
  padding: clamp(24px, 4vw, 34px);
  color: var(--white);
  background: var(--charcoal);
  border-radius: 8px;
}

.inline-cta h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 38px);
}

.inline-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.inline-cta-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
}

.button.light {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.button.light:hover,
.button.light:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.contact-cta {
  margin-top: clamp(30px, 5vw, 56px);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
}

.section-copy .eyebrow,
.section-heading .eyebrow {
  color: var(--red);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-panel {
  display: grid;
  gap: 18px;
}

.visual-steps {
  position: relative;
}

.visual-steps::before {
  position: absolute;
  top: 66px;
  bottom: 66px;
  left: 46px;
  width: 2px;
  background: var(--line);
  content: "";
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-weight: 900;
}

.steps p,
.vehicle-grid p,
.location-grid p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.inventory,
.faq {
  width: 100%;
  padding-right: max(18px, calc((100% - 1180px) / 2));
  padding-left: max(18px, calc((100% - 1180px) / 2));
  background: var(--white);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 26px;
}

.location-heading {
  display: flex;
  max-width: none;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.location-heading > div {
  max-width: 660px;
}

.location-heading img {
  width: min(250px, 34vw);
  max-height: 104px;
  object-fit: contain;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vehicle-grid article,
.location-grid article {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.store-logo {
  width: 100%;
  height: 58px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.victory-logo {
  height: 54px;
}

.west-branch-logo {
  width: 150px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.location-grid h3 {
  min-height: 52px;
  font-size: 18px;
}

.location-grid a {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.store-links a {
  margin-top: 0;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.store-links a:hover,
.store-links a:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  padding: 0 20px 18px;
}

.final-cta {
  justify-content: space-between;
  gap: 22px;
  padding: clamp(34px, 5vw, 54px) max(18px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--charcoal);
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(18px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.76);
  background: #0d1115;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero-content,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
  }

  .offer-card {
    max-width: 620px;
  }

  .value-band,
  .vehicle-grid,
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .call-link {
    font-size: 13px;
    text-align: right;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding-top: 36px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 12, 16, 0.72), rgba(8, 12, 16, 0.9)),
      linear-gradient(90deg, rgba(8, 12, 16, 0.68), rgba(8, 12, 16, 0.2));
  }

  .hero-text {
    font-size: 17px;
  }

  .trust-row,
  .value-band,
  .vehicle-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .kbb-panel {
    grid-template-columns: 1fr;
  }

  .trust-row {
    max-width: 260px;
  }

  .offer-card {
    padding: 20px;
  }

  .avatar {
    width: 138px;
  }

  .section {
    width: min(100% - 28px, 1180px);
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .location-grid h3 {
    min-height: 0;
  }

  .location-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-heading img {
    width: min(260px, 72vw);
  }
}
