/* ============================================================
   INSTANT MONEY JUNK CARS — Brand System
   Black base #0B0B0C · Brand yellow #FFC400 · Accent red #E10600
   Display: Anton · Body: Inter
   Loaded after output.css; overrides win by cascade order.
   ============================================================ */

:root {
  --imj-black: #0b0b0c;
  --imj-ink: #141416;
  --imj-yellow: #ffc400;
  --imj-yellow-deep: #8a5a00;
  --imj-red: #e10600;
  --imj-red-dark: #b00500;
  --imj-paper: #ffffff;
  --imj-smoke: #f6f6f4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;
  background: #fff;
  color: #1a1a1c;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--imj-yellow);
  color: #0b0b0c;
}

/* ---------- Display typography ---------- */
h1,
h2,
.font-display,
.display {
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.04;
}

h3,
h4 {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* Brand-yellow text: deep amber on light surfaces for readability,
   pure brand yellow on dark surfaces. */
.text-custom {
  color: var(--imj-yellow-deep);
}
section.bg-gray-50:has([data-btn-hamburger]) .text-custom,
footer .text-custom,
.bg-black .text-custom,
[class*="bg-[#0"] .text-custom {
  color: var(--imj-yellow);
}

/* Inline SVG checkmarks that were orange */
[fill="#FFA500"],
[fill="#ffa500"] {
  fill: var(--imj-yellow);
}

/* ---------- Buttons ---------- */
/* Primary (was orange .bg-custom, now brand yellow): black text for contrast */
a.bg-custom,
button.bg-custom,
.bg-custom {
  color: #0b0b0c;
}
a.bg-custom,
button.bg-custom {
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.35);
}
a.bg-custom:hover,
button.bg-custom:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Phone / call CTAs (were green): brand red */
.bg-green-500 {
  background-color: var(--imj-red) !important;
  border-color: var(--imj-red) !important;
}
a.bg-green-500:hover,
button.bg-green-500:hover {
  background-color: var(--imj-red-dark) !important;
  border-color: var(--imj-red-dark) !important;
}
.hover\:bg-green-400:hover {
  background-color: var(--imj-red-dark) !important;
}

/* ---------- Top utility bar ---------- */
body > section.bg-black:first-child {
  border-bottom: 3px solid var(--imj-yellow);
}
body > section.bg-black:first-child strong {
  letter-spacing: 0.08em;
}

/* ---------- Navbar: black, sticky ---------- */
section.bg-gray-50:has([data-btn-hamburger]) {
  position: sticky;
  top: 0;
  z-index: 60;
}
section.bg-gray-50:has([data-btn-hamburger]) > div.bg-white {
  background-color: var(--imj-black);
}
section.bg-gray-50:has([data-btn-hamburger]) nav a {
  color: #f2f2f2;
  font-weight: 600;
}
section.bg-gray-50:has([data-btn-hamburger]) nav a:hover {
  color: var(--imj-yellow);
}
/* Hamburger button on dark bar */
section.bg-gray-50:has([data-btn-hamburger]) [data-btn-hamburger] {
  background-color: transparent;
  color: #fff;
}
section.bg-gray-50:has([data-btn-hamburger]) [data-btn-hamburger]:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--imj-yellow);
}

/* Mobile menu panel: dark card */
[data-mobile-menu] > div {
  background-color: #141416 !important;
  border: 1px solid rgba(255, 196, 0, 0.25);
}
[data-mobile-menu] a,
[data-mobile-menu] button {
  color: #f5f5f5 !important;
}
[data-mobile-menu] .divide-gray-200 > * {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* "Get my offer" nav button */
.imj-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 9999px;
  background: var(--imj-yellow);
  color: #0b0b0c;
  font-weight: 800;
  padding: 0.55rem 1.35rem;
  margin-left: 0.75rem;
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.imj-nav-cta:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  color: #0b0b0c;
}

/* ---------- Hero (homepage bespoke + inner pages) ---------- */
.imj-hero {
  position: relative;
  overflow: hidden;
  background: #0b0b0c;
  isolation: isolate;
}
.imj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--imj-hero-img, none) center / cover no-repeat;
}
.imj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(5, 5, 6, 0.94) 0%,
    rgba(5, 5, 6, 0.72) 45%,
    rgba(5, 5, 6, 0.25) 100%
  );
}
.imj-hero-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--imj-yellow) 0 55%, var(--imj-red) 55% 100%);
  z-index: 1;
}
.imj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--imj-yellow);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.imj-kicker::before {
  content: "";
  width: 2.2rem;
  height: 3px;
  background: var(--imj-yellow);
  display: inline-block;
}
.imj-hero h1 {
  color: #fff;
  text-transform: uppercase;
  text-wrap: balance;
}
.imj-hero .imj-hero-sub {
  color: #e8e8e8;
}
.imj-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.4rem;
}
.imj-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}
.imj-trust svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: var(--imj-yellow);
  flex: none;
}
.imj-stars {
  color: var(--imj-yellow);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

/* Quote form card in hero */
.imj-form-card {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}
.imj-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--imj-yellow);
}

/* Inner-page heroes: lift type, keep their imagery */
section[class*="bg-[url"] {
  position: relative;
}
section[class*="bg-[url"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--imj-yellow) 0 55%,
    var(--imj-red) 55% 100%
  );
  z-index: 5;
}
section[class*="bg-[url"] h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* ---------- Sections & cards ---------- */
.imj-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.imj-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.imj-band {
  background: var(--imj-black);
  color: #fff;
}
.imj-band h2,
.imj-band .font-display {
  color: #fff;
}
.imj-check {
  color: var(--imj-yellow);
}

/* ---------- Footer ---------- */
footer.bg-white {
  background-color: var(--imj-black);
}
footer .border-t {
  border-color: rgba(255, 255, 255, 0.1);
}
footer h3 {
  color: var(--imj-yellow) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
footer p,
footer li,
footer span {
  color: #b9b9bd;
}
footer a {
  color: #cfcfd3;
}
footer a:hover {
  color: var(--imj-yellow);
}
footer .text-gray-900 {
  color: #e8e8e8 !important;
}
footer .text-gray-600,
footer .text-gray-500 {
  color: #a9a9ae !important;
}

/* ---------- Forms polish ---------- */
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
}
.imj-form-card input,
.imj-form-card select {
  font-size: 16px; /* prevent iOS zoom */
}

/* ---------- Misc ---------- */
a {
  transition: color 0.15s ease;
}
img {
  user-select: none;
}

/* Form layout utilities added 2026-10-06 (were missing from compiled Tailwind) */
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.pl-4 { padding-left: 1rem; }

/* Cache-busted bg-url selectors added 2026-10-06: CSS was compiled before the -v2 renames, so these classes never matched */
.bg-\[url\(\'images\/core\/auto-recycling-v2\.jpg\'\)\] {
  background-image: url('images/core/auto-recycling-v2.jpg');
}
.bg-\[url\(\'images\/core\/car-removal-v2\.jpg\'\)\] {
  background-image: url('images/core/car-removal-v2.jpg');
}
.bg-\[url\(\'images\/core\/cash-for-junk-cars-v2\.jpg\'\)\] {
  background-image: url('images/core/cash-for-junk-cars-v2.jpg');
}
.bg-\[url\(\'images\/core\/junk-trucks-v2\.jpg\'\)\] {
  background-image: url('images/core/junk-trucks-v2.jpg');
}
.bg-\[url\(\'images\/core\/junk-v2\.jpg\'\)\] {
  background-image: url('images/core/junk-v2.jpg');
}
.bg-\[url\(\'images\/core\/rapid-car-v2\.jpg\'\)\] {
  background-image: url('images/core/rapid-car-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-1-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-1-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-2-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-2-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-3-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-3-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-4-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-4-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-5-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-5-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-6-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-6-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-7-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-7-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-8-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-8-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-9-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-9-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-10-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-10-v2.jpg');
}
.bg-\[url\(\'images\/gallery\/car-11-v2\.jpg\'\)\] {
  background-image: url('images/gallery/car-11-v2.jpg');
}
.bg-\[url\(\'images\/general\/cadillac-v2\.jpg\'\)\] {
  background-image: url('images/general/cadillac-v2.jpg');
}
.bg-\[url\(\'images\/general\/instant-money-junk-cars-v2\.jpg\'\)\] {
  background-image: url('images/general/instant-money-junk-cars-v2.jpg');
}
.bg-\[url\(\'images\/general\/old-car-v2\.jpg\'\)\] {
  background-image: url('images/general/old-car-v2.jpg');
}
.bg-\[url\(\'images\/general\/team-v2\.jpg\'\)\] {
  background-image: url('images/general/team-v2.jpg');
}
.bg-\[url\(\'images\/general\/truck-v2\.jpg\'\)\] {
  background-image: url('images/general/truck-v2.jpg');
}
.bg-\[url\(\'images\/services\/buyers\/buyer-v2\.jpg\'\)\] {
  background-image: url('images/services/buyers/buyer-v2.jpg');
}
.bg-\[url\(\'images\/services\/buyers\/car-v2\.jpg\'\)\] {
  background-image: url('images/services/buyers/car-v2.jpg');
}
.bg-\[url\(\'images\/services\/buyers\/junk-v2\.jpg\'\)\] {
  background-image: url('images/services/buyers/junk-v2.jpg');
}
.bg-\[url\(\'images\/services\/car\/car-v2\.jpg\'\)\] {
  background-image: url('images/services/car/car-v2.jpg');
}
.bg-\[url\(\'images\/services\/car\/towing-v2\.jpg\'\)\] {
  background-image: url('images/services/car/towing-v2.jpg');
}
.bg-\[url\(\'images\/services\/car\/vehicle-v2\.jpg\'\)\] {
  background-image: url('images/services/car/vehicle-v2.jpg');
}
.bg-\[url\(\'images\/services\/junk\/car-v2\.jpg\'\)\] {
  background-image: url('images/services/junk/car-v2.jpg');
}
.bg-\[url\(\'images\/services\/recycling\/car-v2\.jpg\'\)\] {
  background-image: url('images/services/recycling/car-v2.jpg');
}
.bg-\[url\(\'images\/services\/removal\/car-v2\.jpg\'\)\] {
  background-image: url('images/services/removal/car-v2.jpg');
}
.bg-\[url\(\'images\/services\/scrap\/car-v2\.jpg\'\)\] {
  background-image: url('images/services/scrap/car-v2.jpg');
}
.bg-\[url\(\'images\/services\/trucks\/car-v2\.jpg\'\)\] {
  background-image: url('images/services/trucks/car-v2.jpg');
}

/* Anchor offset for sticky header */
section[id], div[id] { scroll-margin-top: 110px; }


/* Missing lg: grid utilities (never compiled into output.css) */
@media (min-width: 1024px) {
  .lg\:grid { display: grid; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:items-center { align-items: center; }
  .lg\:mt-0 { margin-top: 0; }
  .lg\:text-left { text-align: left; }
  .lg\:flex { display: flex; }
}

/* Missing border utilities */
.border-t-4 { border-top-width: 4px; }
.border-\[\#FFC400\] { border-color: #FFC400; }

/* Compact logo cloud utilities */
.max-h-8 { max-height: 2rem; }
@media (min-width: 640px) {
  .sm\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Compact icon grid utilities */
.max-h-10 { max-height: 2.5rem; }
.gap-x-4 { column-gap: 1rem; }
.mt-1\.5 { margin-top: 0.375rem; }
@media (min-width: 640px) {
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Yellow CTA box utilities */
.border-t-8 { border-top-width: 8px; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }

/* Icon sizing */
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }

/* Arbitrary red background */
.bg-\[\#E10600\] { background-color: #E10600; }

/* Sticky call button (follows visitor for quick quote calls) */
.imj-sticky-call {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #E10600;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}
.imj-sticky-call:hover { color: #fff; filter: brightness(1.1); }
.imj-sticky-call svg { width: 1.4rem; height: 1.4rem; flex: none; }
@media (min-width: 768px) {
  .imj-sticky-call {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1rem 1.6rem;
  }
}
@media (max-width: 767px) {
  body { padding-bottom: 4.5rem; }
}

/* Services swipe carousel */
.imj-svc-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.imj-svc-track::-webkit-scrollbar { display: none; }
.imj-svc-track > div {
  flex: 0 0 84%;
  max-width: 22rem;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .imj-svc-track > div { flex-basis: 47%; }
}
@media (min-width: 1024px) {
  .imj-svc-track > div { flex-basis: 31.8%; }
}
.imj-svc-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.imj-svc-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: #0B0B0C;
  color: #FFC400;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imj-svc-arrow:hover { background: #E10600; color: #fff; }
.imj-swipe-hint {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
@media (min-width: 1024px) {
  .imj-swipe-hint { display: none; }
}

/* Reviews auto-scrolling marquee */
.imj-rev-marquee {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.imj-rev-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: imj-rev-scroll 60s linear infinite;
}
.imj-rev-marquee:hover .imj-rev-track {
  animation-play-state: paused;
}
.imj-rev-track > div {
  flex: 0 0 84%;
  max-width: 24rem;
}
@media (min-width: 768px) {
  .imj-rev-track > div { flex-basis: 46%; }
}
@media (min-width: 1024px) {
  .imj-rev-track > div { flex-basis: 31.5%; }
}
@keyframes imj-rev-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .imj-rev-track { animation: none; flex-wrap: wrap; width: auto; }
}
