/*
 * Cashing Carz — design tokens + typography (car-design-system.md)
 */
:root {
	--ink: #0a0a0a;
	--paper: #f4f1ea;
	--bone: #e8e3d6;
	--acid: #d8ff3a;
	--hot: #ff4d1f;
	--cash: #1f6f3a;
	--sky: #7ec8ff;
	--text-muted: #333333;
	--text-on-dark-muted: #bdbdbd;
	--font-display: 'Bricolage Grotesque', Georgia, serif;
	--font-body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ── Typography (site-wide) ── */
html {
	scroll-behavior: smooth;
}

body,
body.skin,
button,
input,
select,
textarea,
.form-control,
.form-select {
	font-family: var(--font-body) !important;
	font-size: 17px;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6,
.intro-title,
.intro h1,
.display,
.cc-section-heading,
.section-title,
.how-it-works-title,
.how-it-works-subtitle,
.parallax-section h2,
.navbar-brand,
.logo-title,
.cc-btn-dark,
.btn-light {
	font-family: var(--font-display) !important;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.navbar.navbar-site ul.navbar-nav > li > a:not(.nav-cta):not(.custom-btn-listing):not(.nav-get-offer-btn),
.navbar.navbar-site .nav-link:not(.nav-cta) {
	font-family: var(--font-body) !important;
	font-weight: 500;
	font-size: 15px;
}

.navbar.navbar-site ul.navbar-nav > li > a:not(.nav-cta):not(.custom-btn-listing):hover {
	color: var(--hot) !important;
}

/* Override LaraClassifier default blue body links */
.skin a:not(.btn):not(.btn-dark):not(.cc-btn-dark):not(.nav-cta):not(.custom-btn-listing):not(.nav-get-offer-btn):not(.hero-get-offer-btn),
.skin .link-color {
	color: var(--ink) !important;
}

.skin a:not(.btn):not(.btn-dark):not(.cc-btn-dark):not(.nav-cta):not(.custom-btn-listing):not(.nav-get-offer-btn):not(.hero-get-offer-btn):hover,
.skin a:not(.btn):not(.btn-dark):not(.cc-btn-dark):not(.nav-cta):not(.custom-btn-listing):focus {
	color: var(--hot) !important;
}

.section-label,
.mono,
.sticky-text,
.peddle-sales__location {
	font-family: var(--font-mono) !important;
	letter-spacing: 0.02em;
}

/* ── Buttons (design system §6) — cc-btn-dark avoids Bootstrap .btn-dark clash ── */
.cc-btn-dark,
a.cc-btn-dark,
#homepage .intro a.hero-get-offer-btn,
#homepage .search-row a.hero-get-offer-btn,
#homepage .search-row a.cc-btn-dark {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--ink) !important;
	background-image: none !important;
	color: var(--acid) !important;
	-webkit-text-fill-color: var(--acid) !important;
	padding: 18px 32px;
	border-radius: 999px;
	font-family: var(--font-display) !important;
	font-weight: 800;
	font-size: 18px;
	border: 2px solid var(--ink) !important;
	transition: all 0.15s ease;
	letter-spacing: -0.01em;
	text-decoration: none !important;
	box-shadow: 4px 4px 0 var(--hot);
	opacity: 1 !important;
}

.cc-btn-dark:hover,
a.cc-btn-dark:hover,
#homepage .intro a.hero-get-offer-btn:hover,
#homepage .search-row a.hero-get-offer-btn:hover {
	transform: translate(-3px, -3px);
	box-shadow: 8px 8px 0 var(--hot) !important;
	background: var(--ink) !important;
	background-image: none !important;
	color: var(--acid) !important;
	-webkit-text-fill-color: var(--acid) !important;
}

.cc-btn-dark .arrow,
a.cc-btn-dark .arrow,
#homepage .intro a.hero-get-offer-btn .arrow {
	color: var(--acid) !important;
	-webkit-text-fill-color: var(--acid) !important;
	transition: transform 0.15s ease;
}

.cc-btn-dark:hover .arrow,
a.cc-btn-dark:hover .arrow {
	transform: translateX(6px);
}

.nav-cta,
a.nav-cta,
.navbar.navbar-site .navbar-nav > li.postadd > a.nav-cta,
.navbar.navbar-site .navbar-nav > li.postadd > a.custom-btn-listing {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--ink) !important;
	background-image: none !important;
	color: var(--acid) !important;
	-webkit-text-fill-color: var(--acid) !important;
	padding: 11px 20px !important;
	width: auto !important;
	min-width: 8.5rem;
	height: auto !important;
	line-height: 1.3 !important;
	border-radius: 999px;
	font-family: var(--font-body) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 2px solid var(--ink) !important;
	box-shadow: 4px 4px 0 var(--hot);
	text-decoration: none !important;
	opacity: 1 !important;
	position: relative;
	z-index: 2;
}

.nav-cta:hover,
a.nav-cta:hover,
.navbar.navbar-site .navbar-nav > li.postadd > a.nav-cta:hover {
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--hot) !important;
	color: var(--acid) !important;
	-webkit-text-fill-color: var(--acid) !important;
	background: var(--ink) !important;
}

/* ── Base surfaces ── */
html,
body {
	background-color: var(--paper) !important;
	color: var(--ink) !important;
	background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px) !important;
	background-size: 4px 4px !important;
}

body.bg-light,
.navbar.bg-light,
.navbar-light,
#wrapper,
.main-container,
.how-it-works,
.content-box,
.box-title {
	background-color: var(--paper) !important;
}

/* Readable headings on light backgrounds (never acid-on-paper) */
.cc-section-heading,
.section-title,
.how-it-works-title,
.how-it-works-subtitle,
.parallax-section h2,
section.client .section-title h2,
.timeline + h4,
h4.mb-5.text-center[style],
.container.my-5 h4 {
	color: var(--ink) !important;
}

/* Accent underline / decorative only */
section.client .section-title::after {
	background-color: var(--hot) !important;
}

/* Subheadings & body on light sections */
.how-it-works-subtitle,
.section-lead,
.text-muted {
	color: var(--text-muted) !important;
}

/* ── How It Works (was yellow→red gradient) ── */
.how-it-works,
section.how-it-works {
	background: var(--paper) !important;
	background-image: none !important;
	color: var(--ink) !important;
}

.how-it-works .step-card {
	background: var(--paper) !important;
	border: 2px solid var(--ink) !important;
	color: var(--ink) !important;
}

.how-it-works .steps-container .step-card:nth-child(1) {
	background: var(--acid) !important;
}

.how-it-works .steps-container .step-card:nth-child(2) {
	background: var(--hot) !important;
	color: var(--paper) !important;
}

.how-it-works .steps-container .step-card:nth-child(2) .step-title,
.how-it-works .steps-container .step-card:nth-child(2) .step-description {
	color: var(--paper) !important;
}

.how-it-works .steps-container .step-card:nth-child(3) {
	background: var(--ink) !important;
	color: var(--paper) !important;
}

.how-it-works .steps-container .step-card:nth-child(3) .step-title {
	color: var(--acid) !important;
}

.how-it-works .steps-container .step-card:nth-child(3) .step-description {
	color: var(--text-on-dark-muted) !important;
}

.how-it-works .step-icon {
	color: var(--ink) !important;
}

.how-it-works .step-card:nth-child(2) .step-icon,
.how-it-works .step-card:nth-child(3) .step-icon {
	color: currentColor !important;
}

/* ── We Buy Cars / conditions (was solid red) ── */
.parallax-section {
	background: var(--bone) !important;
	background-image: none !important;
	color: var(--ink) !important;
}

.parallax-section h2 {
	color: var(--ink) !important;
}

.parallax-section .card {
	background-color: var(--paper) !important;
	color: var(--ink) !important;
	border: 2px solid var(--ink) !important;
}

.parallax-section .text-danger,
.parallax-section .card .text-danger {
	color: var(--hot) !important;
}

.parallax-section .btn-custom,
.parallax-section .btn-custom:hover {
	background-color: var(--ink) !important;
	border: 2px solid var(--ink) !important;
	color: var(--acid) !important;
	box-shadow: 6px 6px 0 var(--hot) !important;
}

.parallax-section .btn-custom a {
	color: var(--acid) !important;
}

/* ── Why Us timeline ── */
.timeline::before {
	background: var(--ink) !important;
}

.timeline-icon {
	background: var(--hot) !important;
	color: var(--paper) !important;
}

.timeline-content {
	background: var(--paper) !important;
	color: var(--ink) !important;
	border-color: var(--ink) !important;
}

.timeline-content h5 {
	color: var(--ink) !important;
}

.timeline-content p {
	color: var(--text-muted) !important;
}

/* ── Blog section ── */
section.bg-light,
section.py-5.bg-light {
	background-color: var(--bone) !important;
}

.blog-grid .card h3 a:hover,
.blog-grid a[style*="e74c3c"],
.blog-grid .btn-link {
	color: var(--hot) !important;
}

.blog-grid .btn-view-all,
a.btn-view-all,
a[style*="e74c3c"][style*="background"] {
	background-color: var(--ink) !important;
	color: var(--acid) !important;
	border: 2px solid var(--ink) !important;
}

.blog-grid .btn-view-all:hover,
a.btn-view-all:hover {
	background-color: var(--ink) !important;
	color: var(--acid) !important;
	box-shadow: 6px 6px 0 var(--hot) !important;
}

/* ── Client logos strip ── */
section.client {
	background-color: var(--bone) !important;
}

section.client .section-title::after {
	background-color: var(--hot) !important;
}

/* ── LaraClassifier skin buttons ── */
.skin .btn-primary,
.skin .btn-primary:hover,
.skin .btn-primary:focus,
.skin .btn-primary:active,
.skin .btn-primary.active,
.skin .show > .btn-primary.dropdown-toggle,
.skin .open .dropdown-toggle.btn-primary,
#homepage .search-row .search-col .btn,
.skin button.btn-search {
	background-color: var(--ink) !important;
	border-color: var(--ink) !important;
	color: var(--acid) !important;
	text-shadow: none !important;
}

#homepage .intro {
	background-color: transparent !important;
}

/* Homepage: fixed nav overlays hero — no cream strip from .header block */
body.skin:has(#homepage) #wrapper > .header {
	height: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	overflow: visible !important;
	background: transparent !important;
}

.custom-btn-listing,
a.custom-btn-listing,
.skin a.custom-btn-listing,
.skin a.custom-btn-listing:hover,
.skin a.custom-btn-listing:focus,
.nav-get-offer-btn,
.hero-get-offer-btn,
.navbar.navbar-site .navbar-nav > li.postadd > a.custom-btn-listing {
	background-color: var(--ink) !important;
	background-image: none !important;
	color: var(--acid) !important;
	-webkit-text-fill-color: var(--acid) !important;
	box-shadow: 4px 4px 0 var(--hot) !important;
	text-decoration: none !important;
	opacity: 1 !important;
}

.custom-btn-listing:hover,
.custom-btn-listing:focus,
a.custom-btn-listing:hover,
a.custom-btn-listing:focus,
.nav-get-offer-btn:hover,
.hero-get-offer-btn:hover,
.skin a.custom-btn-listing:hover,
.skin a.custom-btn-listing:focus {
	background-color: var(--ink) !important;
	background-image: none !important;
	color: var(--acid) !important;
	-webkit-text-fill-color: var(--acid) !important;
}

.custom-btn-listing::after,
.custom-btn-listing:hover::after {
	content: none !important;
	display: none !important;
}

/* Prevent nested scrollbars — clip horizontal bleed only */
.testimonials-track,
.testimonials-row,
.brand-slider,
.wbc-track-wrap {
	max-width: 100%;
}

.sticky-button {
	background-color: var(--ink) !important;
	background-image: none !important;
	color: var(--acid) !important;
}

.navbar.navbar-site {
	background-color: var(--paper) !important;
}

.navbar.navbar-site ul.navbar-nav > li > a {
	color: var(--ink) !important;
}

/* ── Dark blocks ── */
.footer-content,
.peddle-hero,
.peddle-container {
	background-color: var(--ink) !important;
	background-image: none !important;
	color: var(--paper) !important;
}

.footer-content a {
	color: var(--paper) !important;
}

.peddle-button {
	background-color: var(--acid) !important;
	color: var(--ink) !important;
}

.peddle-button:hover {
	background-color: var(--hot) !important;
	color: var(--paper) !important;
}

.peddle-sales {
	background: var(--paper) !important;
	color: var(--ink) !important;
}

/* ── Testimonials ── */
.testimonials-section,
section.testimonials-section {
	background: var(--paper) !important;
	color: var(--ink) !important;
}

.testimonials-section .section-title,
.testimonials-section h2 {
	color: var(--ink) !important;
}

.testimonial-card {
	background-color: var(--bone) !important;
	border-color: var(--ink) !important;
}

.quote,
.stars,
.gr-stars-display,
.anchor-location {
	color: var(--hot) !important;
}

.section-description::before,
.section-description::after {
	background-color: var(--hot) !important;
}

/* ── Donate CTA row on homepage ── */
a[href*="donate"][style*="background-color"] {
	background-color: var(--cash) !important;
	color: var(--paper) !important;
}

/* ── Override legacy inline accent colors ── */
/* Do not force acid on CTA buttons */
[style*="color: #d8ff3a"]:not(.custom-btn-listing):not(.nav-get-offer-btn):not(.hero-get-offer-btn):not(.sticky-button),
[style*="color:#d8ff3a"]:not(.custom-btn-listing):not(.nav-get-offer-btn):not(.hero-get-offer-btn):not(.sticky-button) {
	color: var(--ink) !important;
}

/* Accent headings inside light comparison panels only */
.col-md-8 h1[style*="d8ff3a"],
.col-md-8 h1[style*="D9FF00"] {
	color: var(--hot) !important;
}

[style*="background-color: #0081ff"],
[style*="background-color:#0081ff"],
[style*="background-color: #87CEEB"] {
	background-color: var(--sky) !important;
	color: var(--ink) !important;
}

[style*="background-color: #ffffff"],
[style*="background-color:#ffffff"],
[style*="background: #fff"],
.gr-badge-wrapper {
	background-color: var(--paper) !important;
}

[style*="background-color: #f4f1ea"],
[style*="background-color: #F5F3EB"] {
	background-color: var(--paper) !important;
}

.col-md-4[style*="background-color: #0a0a0a"],
.col-md-4[style*="background-color:#0a0a0a"] {
	background-color: var(--ink) !important;
}

.col-md-4[style*="background-color: #0a0a0a"] li,
.col-md-4[style*="background-color:#0a0a0a"] li {
	color: var(--paper) !important;
}

.col-md-4 h3[style*="background-color"] {
	background-color: var(--paper) !important;
	color: var(--ink) !important;
}

.content_section_easy_step {
	background-color: var(--bone) !important;
}

.fa-map-pin[style*="e42611"],
i[style*="e42611"] {
	color: var(--hot) !important;
}

.learn-more-btn {
	background: var(--acid) !important;
	color: var(--ink) !important;
}

.sticky-banner {
	background: color-mix(in srgb, var(--paper) 80%, transparent) !important;
}
