/* Instant Junk Car Cash — mobile-first styles */
:root {
  --yellow: #FFC800;
  --yellow-hover: #FFD633;
  --yellow-deep: #E0B000;
  --green: #2E9E3E;
  --green-deep: #1E7A2C;
  --black: #111111;
  --black-soft: #1A1A1A;
  --white: #FFFFFF;
  --paper: #F5F3EC;
  --ink: #1A1A1A;
  --muted: #4A4A4A;
  --line: #E2DFD6;
  --header-h: 4.35rem;
  --font-display: "Oswald", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  --max: 70rem;
  --focus: 0 0 0 3px var(--black), 0 0 0 6px var(--yellow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--green-deep);
}

a:hover {
  color: var(--black);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 3.35rem;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav {
  display: none;
  gap: 1rem;
  margin-right: 0.5rem;
}

.header-nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.header-nav a:hover {
  color: var(--green-deep);
}

@media (min-width: 960px) {
  .header-nav {
    display: flex;
  }

  .logo img {
    height: 3.75rem;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.15;
  white-space: nowrap;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn-call,
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn-call:hover,
.btn-primary:hover,
.btn-call:focus-visible,
.btn-primary:focus-visible {
  background: var(--yellow-hover);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--black);
  color: var(--yellow);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: var(--white);
  color: var(--black);
}

.btn-lg {
  padding: 0.95rem 1.35rem;
  font-size: 1.08rem;
}

.btn-label-full {
  display: none;
}

@media (min-width: 420px) {
  .btn-label-full {
    display: inline;
  }

  .btn-label-short {
    display: none;
  }
}

/* —— Layout —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
}

.section {
  padding: 3.25rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

/* Caution stripe */
.stripe {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--black) 0 10px,
    var(--yellow) 10px 20px
  );
}

/* —— Hero —— */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 2.4rem 0 2.75rem;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
  display: grid;
  gap: 2rem;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  font-size: 0.85rem;
  margin: 0 0 0.7rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 8.4vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero h1 .cash {
  color: var(--green);
}

.hero-sub {
  font-size: 1.08rem;
  color: #D6D6D6;
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  color: #C8C8C8;
  font-size: 0.95rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* —— Form card —— */
.quote-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 200, 0, 0.25);
}

.quote-card-head {
  background: var(--yellow);
  color: var(--black);
  padding: 0.95rem 1.2rem 0.85rem;
}

.quote-card-head h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.25rem;
}

.quote-card-head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.quote-form {
  padding: 1.15rem 1.15rem 1.3rem;
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field label,
.field-label {
  font-weight: 600;
  font-size: 0.92rem;
}

.req {
  color: #B42318;
}

.hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.7rem;
  border: 1.5px solid #C9C6BB;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--black);
  outline: 3px solid var(--yellow);
  outline-offset: 0;
}

.field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  border: 1.5px solid #C9C6BB;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  background: var(--white);
}

.radios label:has(input:checked) {
  border-color: var(--black);
  background: #FFF6CC;
}

.radios input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--black);
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

fieldset.field legend {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0;
  margin-bottom: 0.3rem;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form .btn {
  width: 100%;
  margin-top: 0.2rem;
  border: 0;
}

@media (min-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .hero {
    padding: 3rem 0 3.25rem;
  }

  .hero-grid {
    grid-template-columns: 1fr minmax(22rem, 26.5rem);
    align-items: center;
    gap: 2.5rem;
  }

  .hero-copy {
    padding-top: 0.6rem;
  }
}

/* —— How it works —— */
.section-alt {
  background: var(--paper);
}

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

.steps li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
  border-top: 4px solid var(--yellow);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

/* —— What we buy —— */
.buy-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.buy-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
}

.buy-list .mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.buy-list .mark svg {
  width: 1.15rem;
  height: 1.15rem;
}

.buy-list strong {
  display: block;
  font-size: 1.02rem;
}

.buy-note {
  max-width: 44rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .buy-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Why us —— */
.why-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.why-grid li {
  background: var(--black-soft);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.25rem;
  border-left: 5px solid var(--yellow);
}

.why-grid h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.4rem;
  color: var(--yellow);
}

.why-grid p {
  margin: 0;
  color: #D8D8D8;
  font-size: 0.98rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* —— Areas —— */
.cities {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cities li {
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}

.area-note {
  color: var(--muted);
  margin: 0 0 1.2rem;
  max-width: 42rem;
}

/* —— FAQ —— */
.faq-list {
  margin-top: 1.1rem;
  border-top: 2px solid var(--black);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2.2rem 1rem 0;
  list-style: none;
  position: relative;
  line-height: 1.35;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--black);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list summary:hover {
  color: var(--green-deep);
}

.faq-list details p {
  margin: 0 0 1.05rem;
  color: var(--muted);
  max-width: 46rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--black);
  color: #D0D0D0;
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.03em;
  margin: 0 0 0.25rem;
}

.footer-tag {
  color: var(--yellow);
  font-weight: 600;
  margin: 0 0 1.2rem;
}

.footer-meta {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-meta a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-meta a:hover {
  color: var(--yellow);
}

.footer-hours {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  margin: 0 0 1.4rem;
}

.footer-links a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.operator {
  font-size: 0.82rem;
  color: #9A9A9A;
  margin: 0 0 0.7rem;
}

.copyright {
  font-size: 0.85rem;
  color: #8A8A8A;
  margin: 0;
}

/* —— Mobile call bar —— */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  border-top: 3px solid var(--black);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
}

.call-bar:hover,
.call-bar:focus-visible {
  color: var(--black);
  background: var(--yellow-hover);
}

.call-bar svg {
  width: 1.2em;
  height: 1.2em;
}

@media (min-width: 768px) {
  .call-bar {
    display: none;
  }
}

/* —— Thank-you page —— */
.thanks {
  min-height: calc(70vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: var(--paper);
}

.thanks-card {
  max-width: 38rem;
  margin: 0 auto;
  background: var(--white);
  border-top: 6px solid var(--green);
  border-radius: 14px;
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0 0 0.8rem;
}

.thanks-card p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.thanks-card .hero-ctas {
  justify-content: center;
}

.thanks-card .btn-outline-light {
  color: var(--black);
  border-color: var(--black);
}

.thanks-card .btn-outline-light:hover {
  background: var(--black);
  color: var(--yellow);
}
