/* Sell Your Car — modern layout + multi-step wizard */

.nhm-sell {
	background: #eef1f5;
}

/* Hero */
.nhm-sell__hero {
	position: relative;
	overflow: hidden;
	color: var(--nhm-white);
	padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem);
	background: linear-gradient(155deg, #041528 0%, var(--nhm-primary) 50%, #0c3a6e 100%);
}

.nhm-sell__hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 75% at 92% 10%, rgba(247, 197, 45, 0.22), transparent 55%),
		radial-gradient(ellipse 50% 60% at 5% 90%, rgba(255, 255, 255, 0.06), transparent 50%);
	pointer-events: none;
}

.nhm-sell__hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(1.75rem, 4vw, 2.5rem);
	align-items: center;
}

@media (min-width: 900px) {
	.nhm-sell__hero-grid {
		grid-template-columns: 1.2fr 0.8fr;
		gap: var(--nhm-space-8);
	}
}

.nhm-sell__eyebrow {
	margin: 0 0 var(--nhm-space-3);
	font-family: var(--nhm-font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nhm-secondary);
}

.nhm-sell__eyebrow--dark {
	color: var(--nhm-primary);
}

.nhm-sell__hero h1 {
	color: var(--nhm-white);
	margin: 0 0 var(--nhm-space-4);
	font-size: clamp(2rem, 4.5vw, 3rem);
	letter-spacing: var(--nhm-tracking);
	line-height: var(--nhm-lh-tight);
	max-width: 14ch;
}

.nhm-sell__lead {
	margin: 0 0 var(--nhm-space-6);
	color: rgba(255, 255, 255, 0.78);
	font-size: var(--nhm-fs-lg);
	line-height: 1.55;
	max-width: 42ch;
}

.nhm-sell__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--nhm-space-3);
}

.nhm-sell__hero .nhm-btn--outline {
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--nhm-white);
	background: transparent;
}

.nhm-sell__hero .nhm-btn--outline:hover {
	border-color: var(--nhm-white);
	background: rgba(255, 255, 255, 0.1);
	color: var(--nhm-white);
}

.nhm-sell__hero-stats {
	display: grid;
	gap: 0.85rem;
}

@media (min-width: 480px) {
	.nhm-sell__hero-stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nhm-sell__stat {
	padding: 1.1rem 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
}

.nhm-sell__stat-value {
	display: block;
	font-family: var(--nhm-font-display);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--nhm-secondary);
	line-height: 1.2;
	margin-bottom: 0.25rem;
}

.nhm-sell__stat-label {
	display: block;
	font-size: 0.78rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.7);
}

/* Intro duo */
.nhm-sell__intro {
	padding-block: clamp(2rem, 5vw, 3rem);
}

.nhm-sell__duo {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
	align-items: stretch;
}

@media (min-width: 960px) {
	.nhm-sell__duo {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
		min-height: 28rem;
	}
}

.nhm-sell__panel {
	display: flex;
	flex-direction: column;
	border-radius: 28px;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	box-shadow: 0 18px 48px rgba(7, 29, 61, 0.12);
}

.nhm-sell__panel--dark {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, #071d3d 0%, #0a274d 55%, #06182f 100%);
	color: var(--nhm-white);
	box-shadow: 0 18px 48px rgba(7, 29, 61, 0.22);
}

.nhm-sell__panel--dark::after {
	content: "";
	position: absolute;
	top: -20%;
	right: -15%;
	width: 55%;
	height: 70%;
	background: radial-gradient(circle, rgba(247, 197, 45, 0.14), transparent 65%);
	pointer-events: none;
}

.nhm-sell__panel--dark > * {
	position: relative;
	z-index: 1;
}

.nhm-sell__panel-badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.5rem;
	padding: 0.4rem 0.9rem 0.4rem 0.65rem;
	margin: 0 0 var(--nhm-space-5);
	border-radius: var(--nhm-radius-pill);
	background: rgba(255, 255, 255, 0.96);
	font-family: var(--nhm-font-display);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--nhm-primary);
}

.nhm-sell__panel-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--nhm-secondary);
	box-shadow: 0 0 0 3px rgba(247, 197, 45, 0.28);
}

.nhm-sell__panel--dark h2 {
	margin: 0 0 var(--nhm-space-4);
	font-size: clamp(1.65rem, 3.2vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: var(--nhm-tracking);
	color: var(--nhm-white);
	max-width: 16ch;
}

.nhm-sell__panel-lead {
	margin: 0 0 clamp(1.5rem, 3vw, 2rem);
	color: rgba(255, 255, 255, 0.68);
	line-height: 1.65;
	max-width: 40ch;
	font-size: var(--nhm-fs-base);
}

.nhm-sell__benefits {
	list-style: none;
	margin: auto 0 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nhm-sell__benefits li {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nhm-sell__benefits li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.nhm-sell__benefit-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 12px;
	background: rgba(247, 197, 45, 0.15);
	color: var(--nhm-secondary);
}

.nhm-sell__benefit-icon svg {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
}

.nhm-sell__benefits strong {
	display: block;
	margin-bottom: 0.15rem;
	font-family: var(--nhm-font-display);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--nhm-white);
	letter-spacing: var(--nhm-tracking);
}

.nhm-sell__benefits li > div > span {
	display: block;
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.62);
}

.nhm-sell__panel--tips {
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
	border: 1px solid rgba(7, 29, 61, 0.08);
}

.nhm-sell__tips-head {
	margin-bottom: var(--nhm-space-5);
}

.nhm-sell__tips-head .nhm-sell__eyebrow {
	margin-bottom: 0.65rem;
}

.nhm-sell__tips-head h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	color: var(--nhm-primary);
	line-height: 1.2;
}

.nhm-sell__tips-head p {
	margin: 0;
	font-size: var(--nhm-fs-sm);
	line-height: 1.55;
	color: var(--nhm-text-muted);
	max-width: 36ch;
}

.nhm-sell__tips-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr;
	flex: 1;
}

@media (min-width: 520px) {
	.nhm-sell__tips-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nhm-sell__tip-card {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 1rem;
	border-radius: 18px;
	background: var(--nhm-white);
	border: 1px solid rgba(7, 29, 61, 0.08);
	box-shadow: 0 4px 14px rgba(7, 29, 61, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nhm-sell__tip-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(7, 29, 61, 0.1);
	border-color: rgba(247, 197, 45, 0.35);
}

.nhm-sell__tip-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 12px;
	background: #eef4fb;
	color: var(--nhm-primary);
}

.nhm-sell__tip-icon svg {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	flex-shrink: 0;
}

.nhm-sell__tip-card strong {
	display: block;
	margin-bottom: 0.2rem;
	font-family: var(--nhm-font-display);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--nhm-primary);
	line-height: 1.3;
}

.nhm-sell__tip-card div > span {
	display: block;
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--nhm-text-muted);
}

.nhm-sell__tips-cta {
	margin-top: var(--nhm-space-5);
	padding-top: var(--nhm-space-5);
	border-top: 1px solid rgba(7, 29, 61, 0.08);
}

.nhm-sell__tips-cta .nhm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
}

/* Process timeline */
.nhm-sell__process {
	padding-block: 0 clamp(2rem, 5vw, 3rem);
}

.nhm-sell__process-header {
	margin-bottom: var(--nhm-space-6);
}

.nhm-sell__process-header h2 {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--nhm-primary);
}

.nhm-sell__timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	counter-reset: none;
}

@media (min-width: 768px) {
	.nhm-sell__timeline {
		grid-template-columns: repeat(4, 1fr);
		gap: 0;
		position: relative;
	}

	.nhm-sell__timeline::before {
		content: "";
		position: absolute;
		top: 1.25rem;
		left: 12%;
		right: 12%;
		height: 2px;
		background: linear-gradient(90deg, var(--nhm-secondary), rgba(247, 197, 45, 0.3));
		z-index: 0;
	}
}

.nhm-sell__timeline-item {
	position: relative;
	display: flex;
	gap: var(--nhm-space-4);
	padding: var(--nhm-space-4) 0;
	z-index: 1;
}

@media (min-width: 768px) {
	.nhm-sell__timeline-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0 var(--nhm-space-3);
	}
}

.nhm-sell__timeline-num {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--nhm-white);
	border: 2px solid var(--nhm-secondary);
	color: var(--nhm-primary);
	font-family: var(--nhm-font-display);
	font-weight: 800;
	font-size: 0.9rem;
	box-shadow: 0 4px 14px rgba(7, 29, 61, 0.1);
}

.nhm-sell__timeline-item h3 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	color: var(--nhm-primary);
}

.nhm-sell__timeline-item p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--nhm-text-muted);
	line-height: 1.5;
}

/* Form section */
.nhm-sell__form-section {
	padding-block: 0 clamp(3rem, 7vw, 5rem);
}

.nhm-sell__form-header {
	max-width: 40rem;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.nhm-sell__form-header h2 {
	margin: 0 0 var(--nhm-space-3);
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--nhm-primary);
}

.nhm-sell__form-header p {
	margin: 0;
	color: var(--nhm-text-muted);
	line-height: 1.6;
	max-width: 50ch;
}

.nhm-sell__form-wrap {
	background: var(--nhm-white);
	border: 1px solid var(--nhm-border);
	border-radius: 28px;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	box-shadow: 0 20px 56px rgba(7, 29, 61, 0.12);
}

.nhm-sell__alert {
	padding: var(--nhm-space-4);
	border-radius: var(--nhm-radius-lg);
	margin-bottom: var(--nhm-space-5);
	font-size: var(--nhm-fs-sm);
	font-weight: 600;
}

.nhm-sell__alert--success {
	background: #dcfce7;
	color: var(--nhm-success);
}

.nhm-sell__alert--error {
	background: #fee2e2;
	color: var(--nhm-danger);
}

.nhm-sell__grid {
	display: grid;
	gap: var(--nhm-space-4);
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.nhm-sell__grid {
		grid-template-columns: 1fr 1fr;
	}

	.nhm-sell__grid-span {
		grid-column: 1 / -1;
	}
}

.nhm-sell__form .nhm-field span,
.nhm-sell__consent .required {
	color: var(--nhm-danger);
}

.nhm-sell__form input.is-invalid,
.nhm-sell__form select.is-invalid,
.nhm-sell__form textarea.is-invalid {
	border-color: var(--nhm-danger);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.nhm-sell__file-hint {
	margin: 0;
	font-size: 0.8rem;
	color: var(--nhm-text-muted);
}

.nhm-sell__consent {
	margin-top: var(--nhm-space-4);
}

.nhm-sell__consent-label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-family: var(--nhm-font-sans);
	font-size: var(--nhm-fs-sm);
	font-weight: 500;
	line-height: 1.5;
	color: var(--nhm-text);
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.nhm-sell__consent-label input {
	margin-top: 0.25rem;
	flex-shrink: 0;
	width: 1.1rem;
	height: 1.1rem;
}

.nhm-sell__honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.nhm-sell__disclaimer {
	margin-top: var(--nhm-space-6);
	padding-top: var(--nhm-space-5);
	border-top: 1px solid var(--nhm-border);
}

.nhm-sell__disclaimer p {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	line-height: 1.55;
	color: var(--nhm-text-muted);
}

.nhm-sell__disclaimer a {
	color: var(--nhm-primary);
	font-weight: 600;
	text-decoration: none;
}

.nhm-sell__disclaimer a:hover {
	text-decoration: underline;
}

/* Multi-step wizard */
.nhm-sell-wizard__progress {
	margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.nhm-sell-wizard__steps {
	list-style: none;
	margin: 0 0 var(--nhm-space-4);
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
}

.nhm-sell-wizard__step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	text-align: center;
}

.nhm-sell-wizard__step-circle {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: #eef1f5;
	border: 2px solid var(--nhm-border);
	color: var(--nhm-text-muted);
	font-family: var(--nhm-font-display);
	font-size: 0.8rem;
	font-weight: 800;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.nhm-sell-wizard__step-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--nhm-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nhm-sell-wizard__step-item.is-active .nhm-sell-wizard__step-circle {
	background: var(--nhm-primary);
	border-color: var(--nhm-primary);
	color: var(--nhm-white);
	transform: scale(1.08);
	box-shadow: 0 4px 14px rgba(7, 29, 61, 0.2);
}

.nhm-sell-wizard__step-item.is-active .nhm-sell-wizard__step-label {
	color: var(--nhm-primary);
}

.nhm-sell-wizard__step-item.is-complete .nhm-sell-wizard__step-circle {
	background: var(--nhm-secondary);
	border-color: var(--nhm-secondary);
	color: var(--nhm-primary);
}

.nhm-sell-wizard__step-item.is-complete .nhm-sell-wizard__step-label {
	color: var(--nhm-primary);
}

.nhm-sell-wizard__bar {
	height: 4px;
	border-radius: 999px;
	background: #eef1f5;
	overflow: hidden;
}

.nhm-sell-wizard__bar-fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--nhm-secondary), #f5d76e);
	transition: width 0.35s ease;
}

.nhm-sell-wizard__panel {
	animation: nhm-sell-fade-in 0.3s ease;
}

.nhm-sell-wizard__panel[hidden] {
	display: none !important;
}

@keyframes nhm-sell-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nhm-sell-wizard__panel-head {
	margin-bottom: var(--nhm-space-5);
	padding-bottom: var(--nhm-space-4);
	border-bottom: 1px solid var(--nhm-border);
}

.nhm-sell-wizard__panel-head h3 {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	color: var(--nhm-primary);
}

.nhm-sell-wizard__panel-head p {
	margin: 0;
	font-size: var(--nhm-fs-sm);
	color: var(--nhm-text-muted);
	line-height: 1.5;
}

/* File upload */
.nhm-sell-wizard__dropzone {
	position: relative;
	border: 2px dashed var(--nhm-border);
	border-radius: var(--nhm-radius-lg);
	background: #f8fafc;
	transition: border-color 0.2s, background 0.2s;
}

.nhm-sell-wizard__dropzone:hover,
.nhm-sell-wizard__dropzone:focus-within {
	border-color: var(--nhm-secondary);
	background: #fffbeb;
}

.nhm-sell-wizard__dropzone input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.nhm-sell-wizard__dropzone-inner {
	padding: 2rem 1.5rem;
	text-align: center;
	pointer-events: none;
}

.nhm-sell-wizard__dropzone-icon {
	display: inline-flex;
	margin-bottom: 0.75rem;
	color: var(--nhm-primary);
	opacity: 0.7;
}

.nhm-sell-wizard__dropzone-inner p {
	margin: 0 0 0.35rem;
	font-size: var(--nhm-fs-sm);
	font-weight: 600;
	color: var(--nhm-primary);
}

.nhm-sell-wizard__file-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: var(--nhm-space-4);
}

.nhm-sell-wizard__file-thumb {
	width: 4.5rem;
	height: 4.5rem;
	border-radius: var(--nhm-radius);
	overflow: hidden;
	border: 1px solid var(--nhm-border);
	box-shadow: var(--nhm-shadow);
}

.nhm-sell-wizard__file-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Review step */
.nhm-sell-wizard__review {
	display: grid;
	gap: var(--nhm-space-4);
	margin: 0 0 var(--nhm-space-5);
}

@media (min-width: 600px) {
	.nhm-sell-wizard__review {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nhm-sell-wizard__review-group {
	margin: 0;
	padding: var(--nhm-space-4);
	border-radius: var(--nhm-radius-lg);
	background: #f8fafc;
	border: 1px solid var(--nhm-border);
}

.nhm-sell-wizard__review-group dt {
	margin: 0 0 var(--nhm-space-3);
	font-family: var(--nhm-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nhm-primary);
}

.nhm-sell-wizard__review-group dd {
	margin: 0;
	font-size: var(--nhm-fs-sm);
	line-height: 1.55;
	color: var(--nhm-text);
}

/* Navigation */
.nhm-sell-wizard__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--nhm-space-3);
	margin-top: clamp(1.5rem, 4vw, 2rem);
	padding-top: var(--nhm-space-5);
	border-top: 1px solid var(--nhm-border);
}

.nhm-sell-wizard__back {
	margin-right: auto;
}

.nhm-sell-wizard__submit[hidden],
.nhm-sell-wizard__next[hidden],
.nhm-sell-wizard__back[hidden] {
	display: none !important;
}

@media (max-width: 479px) {
	.nhm-sell-wizard__step-label {
		font-size: 0.62rem;
	}

	.nhm-sell-wizard__step-circle {
		width: 2rem;
		height: 2rem;
		font-size: 0.72rem;
	}
}
