/* =====================================================================
   Mega Car Collection — cash-for-cars.css
   Cash-for-Cars page section styles ONLY. Loaded only on the Cash for Cars
   template (see AssetsService). Shared atoms (mcc-eyebrow, mcc-section-title,
   mcc-btn, mcc-icon-tile, mcc-section, mcc-bg-light, mcc-statbar) come from
   global.css. Mobile-first, Bootstrap 5 grid.
   ===================================================================== */

/* =====================================================================
   1. HERO
   ===================================================================== */
.cfc-hero { position: relative; background: var(--mcc-navy); color: #fff; overflow: hidden; }
.cfc-hero__bg { position: absolute; inset: 0; z-index: 0; }
.cfc-hero__img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.cfc-hero__overlay {
	position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(60% 60% at 100% 12%, rgba(111, 178, 86, .28), transparent 70%),
		radial-gradient(50% 50% at 0% 92%, rgba(66, 133, 244, .40), transparent 70%),
		linear-gradient(120deg, rgba(18, 39, 72, .92), rgba(13, 29, 51, .78));
}
.cfc-hero__inner { position: relative; z-index: 2; padding: 4.5rem 0 5rem; }
.cfc-hero__crumb {
	display: flex; align-items: center; gap: .7rem;
	font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
	margin-bottom: 1.3rem;
}
.cfc-hero__crumb a { color: rgba(255, 255, 255, .78); }
.cfc-hero__crumb a:hover { color: #fff; }
.cfc-hero__crumb span { color: rgba(255, 255, 255, .5); }
.cfc-hero__crumb .is-current { color: var(--mcc-green); }
.cfc-hero__title {
	color: #fff; font-weight: 900; letter-spacing: -.02em; line-height: 1.06;
	font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.5rem); margin-bottom: 1.3rem;
}
.cfc-hero__hl { color: var(--mcc-yellow); }
.cfc-hero__lead { color: rgba(255, 255, 255, .92); font-size: 1.15rem; max-width: 38rem; margin-bottom: 1.5rem; }
.cfc-hero__list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.8rem; }
.cfc-hero__list li { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: rgba(255, 255, 255, .94); }
.cfc-hero__list svg { color: var(--mcc-green); flex: none; }

/* Dark quote form (reuses the shared #quote lead form markup) */
.cfc-quote {
	background: rgba(0, 0, 0, .52);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 28px;
	padding: 2.1rem 2rem;
	box-shadow: 0 30px 70px rgba(22, 33, 15, .18);
}
.cfc-quote .mcc-quote__tag {
	display: inline-flex; align-items: center; gap: .4rem;
	background: #313131; color: var(--mcc-yellow);
	font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
	padding: .45rem 1.1rem; border-radius: 40px;
}
.cfc-quote .mcc-quote__title { color: var(--mcc-green); font-size: 1.7rem; font-weight: 900; margin: .6rem 0 .2rem; }
.cfc-quote .mcc-quote__sub { color: rgba(255, 255, 255, .85); font-size: .95rem; margin: 0; }
.cfc-quote label { display: block; color: #a4a4a4; font-weight: 700; font-size: .85rem; margin-bottom: .4rem; }
.cfc-quote .req { color: var(--mcc-green); }
.cfc-quote .form-control,
.cfc-quote .form-select {
	background: #202020; border: 1px solid #2f2f2f; color: #fff;
	border-radius: 12px; padding: .8rem 1rem;
}
.cfc-quote .form-control::placeholder { color: #9aa593; }
.cfc-quote .form-control:focus,
.cfc-quote .form-select:focus { border-color: var(--mcc-green); box-shadow: 0 0 0 .2rem rgba(111, 178, 86, .25); background: #202020; color: #fff; }
.cfc-quote .mcc-quote__note { color: rgba(255, 255, 255, .7); font-size: .82rem; text-align: center; margin: .9rem 0 0; display: flex; gap: .4rem; justify-content: center; align-items: center; }
.cfc-quote .mcc-quote__note svg { color: var(--mcc-green); }

/* =====================================================================
   2. SELL YOUR CAR (2-col: copy + card cluster)
   ===================================================================== */
.cfc-sell__body p { margin-bottom: 1rem; }
.cfc-sell__pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.4rem 0 1.8rem; }
.cfc-sell__pill {
	display: inline-flex; align-items: center; gap: .55rem;
	background: var(--mcc-light); border: 1px solid var(--mcc-border);
	border-radius: 60px; padding: .8rem 1.1rem; font-weight: 700; color: var(--mcc-heading);
}
.cfc-sell__pill svg { color: var(--mcc-green-dark); flex: none; }
.cfc-sell__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.cfc-sell__cards { display: flex; flex-direction: column; gap: 1.2rem; }
.cfc-sell__badge {
	background: linear-gradient(135deg, var(--mcc-green-dark), var(--mcc-green-darker));
	color: #fff; border-radius: 28px; padding: 2rem; text-align: center;
	box-shadow: 0 30px 35px rgba(79, 142, 62, .28);
}
.cfc-sell__badge-num { display: block; font-weight: 900; font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.cfc-sell__badge-label { display: block; margin-top: .4rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.cfc-sell__steps {
	background: #fff; border: 1px solid var(--mcc-border); border-radius: 28px;
	padding: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem;
	box-shadow: var(--mcc-shadow);
}
.cfc-sell__step { display: flex; gap: 1rem; align-items: flex-start; }
.cfc-sell__step-num {
	flex: none; width: 48px; height: 48px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #2e6fa0, #3f86bf); color: #fff; font-weight: 900;
}
.cfc-sell__step strong { display: block; color: var(--mcc-heading); }
.cfc-sell__step span { color: var(--mcc-body); }
.cfc-sell__trust {
	background: #fff; border: 1px solid var(--mcc-border); border-radius: 28px;
	padding: 1.5rem 1.8rem; display: flex; align-items: center; gap: 1.1rem;
	box-shadow: var(--mcc-shadow-sm);
}
.cfc-sell__trust-icon {
	flex: none; width: 56px; height: 56px; border-radius: 16px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(111, 178, 86, .12); color: var(--mcc-green-dark);
}
.cfc-sell__trust strong { display: block; color: var(--mcc-heading); font-size: 1.25rem; }
.cfc-sell__trust span { color: var(--mcc-body); }

/* =====================================================================
   3. WE BUY (image cards + dashed note)
   ===================================================================== */
.cfc-buy__card {
	height: 100%; background: #fff; border: 1px solid var(--mcc-border);
	border-radius: 28px; overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}
.cfc-buy__card:hover { transform: translateY(-4px); box-shadow: var(--mcc-shadow); }
.cfc-buy__media { aspect-ratio: 5 / 3; background: #eef2ea; overflow: hidden; }
.cfc-buy__img { width: 100%; height: 100%; object-fit: cover; }
.cfc-buy__body { padding: 1.4rem 1.6rem 1.8rem; }
.cfc-buy__body h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.cfc-buy__body p { color: var(--mcc-body); margin: 0; }
.cfc-buy__note {
	display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
	background: #fff; border: 2px dashed var(--mcc-green); border-radius: 18px;
	padding: 1.4rem 2rem; margin-top: 2rem;
}
.cfc-buy__note strong { color: var(--mcc-heading); font-size: 1.2rem; }
.cfc-buy__note span { color: var(--mcc-body); flex: 1 1 260px; }
.cfc-btn--blue { background: var(--mcc-blue); color: #fff; box-shadow: 0 12px 24px rgba(46, 111, 160, .32); }
.cfc-btn--blue:hover { background: var(--mcc-blue-deep); color: #fff; transform: translateY(-2px); }

/* =====================================================================
   4. BRANDS (region cards + gradient CTA)
   ===================================================================== */
.cfc-brand-card {
	height: 100%; background: var(--mcc-light); border: 1px solid var(--mcc-border);
	border-radius: 28px; padding: 2rem 2rem 2.2rem;
}
.cfc-brand-card__flag {
	display: inline-flex; align-items: center; justify-content: center;
	width: 88px; height: 60px; border-radius: 10px; font-size: 2rem;
	background: #fff; border: 1px solid var(--mcc-border);
	box-shadow: 0 4px 16px rgba(22, 33, 15, .07); margin-bottom: 1rem;
}
.cfc-brand-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.cfc-brand-card > p { color: var(--mcc-body); margin-bottom: 1rem; }
.cfc-brand-card__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cfc-brand-card__pills span {
	background: #fff; border: 1px solid var(--mcc-border); border-radius: 60px;
	padding: .4rem 1rem; font-weight: 700; font-size: .9rem; color: var(--mcc-heading);
}
.cfc-brand-card--cta {
	background: linear-gradient(135deg, var(--mcc-green-darker), var(--mcc-eco-b));
	border: 0; color: #fff;
}
.cfc-brand-card--cta h3 { color: #fff; }
.cfc-brand-card--cta > p { color: rgba(255, 255, 255, .92); }
.cfc-brand-card__plus {
	display: inline-flex; align-items: center; justify-content: center;
	width: 88px; height: 60px; border-radius: 10px; margin-bottom: 1rem;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
	color: #fff; font-size: 2rem; font-weight: 900;
}

/* =====================================================================
   5. WHY CHOOSE US (dark section + numbered cards)
   ===================================================================== */
.cfc-why { background: #001d33; color: #fff; overflow: hidden; }
.cfc-why__bg { position: absolute; inset: 0; z-index: 0; }
.cfc-why__img { width: 100%; height: 100%; object-fit: cover; opacity: .27; }
.cfc-why .container { position: relative; z-index: 1; }
.cfc-why__lead { color: rgba(255, 255, 255, .82); }
.cfc-why__card {
	position: relative; height: 100%;
	background: #fff; border: 1px solid var(--mcc-border); border-radius: 18px;
	padding: 2.3rem 1.9rem;
	transition: transform .18s ease, box-shadow .18s ease;
}
.cfc-why__card:hover { transform: translateY(-4px); box-shadow: var(--mcc-shadow); }
.cfc-why__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; border-radius: 18px; background: #eef2ea; color: var(--mcc-green-dark);
	margin-bottom: 1rem;
}
.cfc-why__num {
	position: absolute; top: 1.5rem; right: 1.6rem;
	background: var(--mcc-light); color: var(--mcc-green-dark);
	font-weight: 900; letter-spacing: .08em; padding: .35rem .8rem; border-radius: 60px; font-size: .95rem;
}
.cfc-why__card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.cfc-why__card p { color: var(--mcc-body); margin: 0; }

/* =====================================================================
   6. HOW IT WORKS (3 step cards)
   ===================================================================== */
.cfc-how__grid { position: relative; }
.cfc-how__card {
	position: relative; height: 100%; text-align: center;
	background: #fff; border: 1px solid var(--mcc-border); border-radius: 28px;
	padding: 2.6rem 2rem 2.4rem; box-shadow: 0 4px 8px rgba(22, 33, 15, .07);
	overflow: hidden;
}
.cfc-how__watermark {
	position: absolute; top: .4rem; right: 1.4rem;
	font-weight: 900; font-size: 4.25rem; line-height: 1; color: #eef2ea;
}
.cfc-how__icon {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 92px; height: 92px; border-radius: 24px; color: #fff; margin-bottom: 1rem;
}
.cfc-how__icon--green { background: linear-gradient(135deg, #4f8e3e, #6fb256); box-shadow: 0 14px 15px rgba(79, 142, 62, .32); }
.cfc-how__icon--blue  { background: linear-gradient(135deg, #2e6fa0, #3f86bf); box-shadow: 0 14px 15px rgba(46, 111, 160, .3); }
.cfc-how__icon--gold  { background: linear-gradient(135deg, #f4b400, #ffce4d); box-shadow: 0 14px 15px rgba(244, 180, 0, .32); }
.cfc-how__card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.cfc-how__card p { color: var(--mcc-body); margin: 0; }
.cfc-how__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 991.98px) {
	.cfc-hero__inner { padding: 3rem 0 3.5rem; }
	.cfc-quote { margin-top: 2.5rem; }
	.cfc-sell__cards { margin-top: 2.5rem; }
}
@media (max-width: 575.98px) {
	.cfc-sell__pills { grid-template-columns: 1fr; }
	.cfc-hero__list li { align-items: flex-start; }
	.cfc-buy__note { flex-direction: column; align-items: flex-start; }
}
