:root {
  /* Brand and layout tokens keep the page consistent without a framework. */
  --color-primary: #f97316;
  --color-primary-dark: #c2410c;
  --color-primary-soft: #fff7ed;
  --color-secondary: #1f2937;
  --color-text: #111827;
  --color-muted: #5b6472;
  --color-border: #e5e7eb;
  --color-band: #f8fafc;
  --color-success: #15803d;
  --color-white: #ffffff;
  --shadow-soft: 0 14px 34px rgba(17, 24, 39, 0.1);
  --shadow-button: 0 10px 22px rgba(249, 115, 22, 0.3);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 3.25rem 0;
}

.band {
  background: var(--color-band);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--color-secondary);
  font-weight: 800;
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: var(--color-white);
}

.logo-text {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-primary-dark);
}

.phone-link {
  display: none;
  color: var(--color-secondary);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.45);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: var(--color-white);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-secondary);
}

.btn-large {
  min-height: 56px;
  padding-inline: 1.5rem;
}

.hero {
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, #ffffff 78%);
}

.hero-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-size: clamp(2.15rem, 8.8vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
  font-size: clamp(1.75rem, 5.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  color: var(--color-secondary);
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 580px;
  margin-bottom: 1.2rem;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-row.center {
  justify-content: center;
}

.micro-proof {
  margin: 0.85rem 0 0;
  color: var(--color-secondary);
  font-size: 0.94rem;
  font-weight: 800;
}

.trust-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--color-secondary);
  font-weight: 700;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44rem;
  width: 0.86rem;
  height: 0.86rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: inset 0 0 0 3px #fed7aa;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 460px;
  margin: 1.25rem 0 0;
}

.hero-metrics div {
  padding: 0.85rem;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics dt {
  color: var(--color-secondary);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-metrics dd {
  margin: 0.2rem 0 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: 230px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 9 / 7;
  background: #e5e7eb;
}

.hero-media.image-fallback {
  display: grid;
  min-height: 260px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f2937, #374151);
  box-shadow: var(--shadow-soft);
}

.hero-media.image-fallback picture {
  display: none;
}

.hero-media.image-fallback::before {
  content: "Used \2022  OEM \2022  Remanufactured Auto Parts";
  max-width: 340px;
  padding: 1.25rem;
  color: var(--color-white);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.55rem;
}

.feature-grid,
.review-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.review-card {
  margin: 0;
  padding: 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
}

.icon-dot {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.icon-dot::before {
  color: currentColor;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.icon-phone::before {
  content: "\260E";
}

.icon-network::before {
  content: "\25C7";
}

.icon-check::before {
  content: "\2713";
}

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

.steps li {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
}

.split-layout,
.quote-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.section-copy {
  max-width: 620px;
  color: var(--color-muted);
}

.tag-grid,
.brand-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-grid span,
.brand-list li {
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-secondary);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.quote-section {
  background: #ffffff;
}

.quote-copy {
  color: var(--color-muted);
}

.quote-benefits {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.quote-benefits li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--color-secondary);
  font-weight: 700;
}

.quote-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-success);
  font-weight: 800;
}

.call-card {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
}

.call-card span {
  font-size: 0.9rem;
  color: #d1d5db;
}

.call-card strong {
  font-size: 1.45rem;
}

.quote-form {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.form-header {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.form-header h3 {
  margin: 0 0 0.25rem;
}

.form-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--color-secondary);
  font-weight: 700;
}

label em {
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  background: var(--color-white);
  color: var(--color-text);
}

input::placeholder,
textarea::placeholder {
  color: #7b8493;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note,
.form-status,
.privacy-note {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.privacy-note {
  font-size: 0.82rem;
}

.form-status:not(:empty) {
  padding: 0.75rem;
  border-radius: var(--radius);
  background: #ecfdf5;
  color: #166534;
  font-weight: 700;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
  border: 0;
}

.review-card blockquote {
  margin: 0 0 1rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.review-card blockquote::before {
  content: "\201C";
  color: var(--color-primary);
  font-size: 1.8rem;
  line-height: 0;
  vertical-align: -0.35rem;
}

.review-card figcaption {
  color: var(--color-muted);
  font-style: normal;
}

.faq-wrap {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
}

details[open] {
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

summary {
  min-height: 56px;
  padding: 1rem;
  color: var(--color-secondary);
  font-weight: 800;
  cursor: pointer;
}

summary::marker {
  color: var(--color-primary);
}

details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--color-muted);
}

.final-cta {
  background: var(--color-secondary);
  color: var(--color-white);
  text-align: center;
}

.final-cta h2 {
  color: var(--color-white);
}

.final-cta p {
  color: #e5e7eb;
}

.site-footer {
  padding: 3rem 0 6.25rem;
  background: #111827;
  color: #d1d5db;
}

.legal-main {
  min-height: 62vh;
  padding: 3rem 0;
  background: var(--color-band);
}

.policy-card {
  max-width: 900px;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.policy-card h1 {
  max-width: 760px;
  font-size: clamp(2rem, 7vw, 3.4rem);
}

.policy-card h2 {
  margin-top: 1.8rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.policy-card a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.legal-footer {
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.site-footer h2 {
  color: var(--color-white);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-white);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
}

.mobile-sticky-actions {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 0.6rem;
}

.mobile-call-button,
.mobile-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
}

.mobile-call-button {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.28);
}

.mobile-quote-button {
  border: 2px solid var(--color-secondary);
  background: var(--color-white);
  color: var(--color-secondary);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.14);
}

.desktop-phone-bar {
  display: none;
}

.reveal {
  /* Lightweight reveal animation; disabled for users who prefer reduced motion. */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 560px) {
  .phone-link {
    display: inline-flex;
  }

  .trust-list,
  .steps,
  .feature-grid,
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .section-pad {
    padding: 5rem 0;
  }

  .hero-grid,
  .split-layout,
  .quote-grid {
    grid-template-columns: 1fr 0.88fr;
  }

  .hero {
    padding-bottom: 1.25rem;
  }

  .tag-grid,
  .brand-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-form {
    padding: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.82fr);
    gap: 2.4rem;
  }

  .tag-grid,
  .brand-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
  }

  .mobile-sticky-actions {
    display: none;
  }

  .desktop-phone-bar {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0.9rem 0.75rem 1rem;
    border-radius: 999px;
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.28);
  }

  .desktop-phone-bar span {
    color: #d1d5db;
    font-size: 0.94rem;
    font-weight: 700;
  }

  .desktop-phone-bar a {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 800;
    text-decoration: none;
  }

  .site-footer {
    padding-bottom: 3rem;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(100% - 1rem, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .logo-text {
    font-size: 0.92rem;
  }

  .header-call {
    min-height: 44px;
    padding-inline: 0.9rem;
  }

  .cta-row .btn {
    width: 100%;
  }
}
