:root {
	--lm-primary: #0f4c81;
	--lm-accent: #f2a900;
	--lm-success: #168a5f;
	--lm-ink: #152232;
	--lm-muted: #647082;
	--lm-line: #dbe2ea;
	--lm-bg: #f6f8fb;
	--lm-white: #ffffff;
	--lm-danger: #b42318;
	--lm-radius: 8px;
	--lm-shadow: 0 18px 48px rgba(21, 34, 50, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--lm-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	background: var(--lm-white);
}

a {
	color: inherit;
	text-decoration: none;
}

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

.container {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.skip-link,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
	z-index: 999;
	width: auto;
	height: auto;
	padding: 12px 16px;
	background: var(--lm-ink);
	color: var(--lm-white);
	clip: auto;
}

.topbar {
	background: #111827;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.88rem;
}

.topbar-inner,
.topbar-actions,
.nav-wrap,
.header-cta,
.hero-actions,
.section-heading,
.detail-actions,
.event-pills,
.badge-row {
	display: flex;
	align-items: center;
}

.topbar-inner {
	justify-content: space-between;
	min-height: 38px;
	gap: 16px;
}

.topbar-actions {
	gap: 18px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--lm-line);
	backdrop-filter: blur(12px);
}

.nav-wrap {
	justify-content: space-between;
	min-height: 78px;
	gap: 24px;
}

.site-branding img,
.footer-logo img {
	max-width: 190px;
	max-height: 64px;
}

.brand-text {
	color: var(--lm-primary);
	font-size: 1.35rem;
	font-weight: 800;
}

.menu,
.footer-menu {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a {
	color: #334155;
	font-weight: 700;
}

.menu a:hover,
.text-link:hover {
	color: var(--lm-primary);
}

.header-cta {
	gap: 10px;
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	background: var(--lm-white);
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--lm-ink);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: var(--lm-radius);
	font-weight: 800;
	text-align: center;
	cursor: pointer;
}

.btn-primary {
	background: var(--lm-primary);
	color: var(--lm-white);
}

.btn-accent {
	background: var(--lm-accent);
	color: #171717;
}

.btn-secondary {
	background: #eaf2f8;
	color: var(--lm-primary);
}

.btn-ghost {
	border-color: var(--lm-line);
	background: var(--lm-white);
	color: var(--lm-ink);
}

.btn-light {
	background: var(--lm-white);
	color: var(--lm-primary);
}

.btn-full {
	width: 100%;
}

.hero-section {
	position: relative;
	min-height: 620px;
	display: grid;
	align-items: end;
	overflow: hidden;
	background: #1f2937;
	color: var(--lm-white);
}

.hero-bg {
	position: absolute;
	inset: 0;
}

.hero-bg::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(10, 18, 30, 0.88), rgba(10, 18, 30, 0.58), rgba(10, 18, 30, 0.15));
}

.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	position: relative;
	z-index: 1;
	padding: 112px 0 150px;
}

.hero-content h1,
.page-hero h1 {
	max-width: 780px;
	margin: 0;
	font-size: clamp(2.45rem, 5vw, 4.9rem);
	line-height: 1.02;
	letter-spacing: 0;
}

.hero-content p:not(.eyebrow),
.page-hero p {
	max-width: 640px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.12rem;
}

.eyebrow {
	margin: 0 0 10px;
	color: var(--lm-accent);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero-actions {
	gap: 12px;
	margin-top: 26px;
	flex-wrap: wrap;
}

.search-band {
	position: relative;
	z-index: 2;
	margin-top: -74px;
	padding-bottom: 24px;
}

.archive-filter {
	margin-top: 0;
	padding-top: 22px;
	background: var(--lm-bg);
}

.vehicle-filter {
	display: grid;
	grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(140px, 1fr)) auto;
	align-items: end;
	gap: 12px;
	padding: 18px;
	background: var(--lm-white);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	box-shadow: var(--lm-shadow);
}

.vehicle-filter label {
	display: block;
	margin-bottom: 6px;
	color: var(--lm-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.vehicle-filter input,
.vehicle-filter select,
.newsletter-form input {
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	background: var(--lm-white);
	color: var(--lm-ink);
}

.section {
	padding: 78px 0;
}

.muted {
	background: var(--lm-bg);
}

.section-heading {
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}

.section-heading h2,
.split-layout h2,
.newsletter-card h2,
.content-panel h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.14;
	letter-spacing: 0;
}

.text-link {
	color: var(--lm-primary);
	font-weight: 900;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.card-grid.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-card,
.event-card,
.post-card,
.testimonial-card,
.content-panel,
.spec-panel {
	background: var(--lm-white);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	box-shadow: 0 12px 28px rgba(21, 34, 50, 0.07);
}

.vehicle-image,
.event-image,
.post-image {
	position: relative;
	display: grid;
	min-height: 220px;
	overflow: hidden;
	place-items: center;
	background: #e8edf3;
	color: var(--lm-muted);
	font-weight: 800;
}

.vehicle-image img,
.event-image img,
.post-image img {
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.vehicle-card:hover .vehicle-image img,
.event-card:hover .event-image img {
	transform: scale(1.035);
}

.status-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	background: #eaf2f8;
	color: var(--lm-primary);
	font-size: 0.76rem;
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
}

.vehicle-image .status-badge {
	position: absolute;
	top: 12px;
	left: 12px;
}

.status-aberto,
.status-agendado {
	background: #e7f6ef;
	color: var(--lm-success);
}

.status-vendido,
.status-encerrado,
.status-finalizado {
	background: #fee4e2;
	color: var(--lm-danger);
}

.vehicle-body,
.event-body,
.post-card > div,
.testimonial-card {
	padding: 18px;
}

.badge-row {
	flex-wrap: wrap;
	gap: 8px;
}

.badge-row span,
.event-pills span {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	padding: 0 9px;
	border: 1px solid var(--lm-line);
	border-radius: 999px;
	color: var(--lm-muted);
	font-size: 0.78rem;
	font-weight: 800;
}

.vehicle-card h3,
.event-card h3,
.post-card h3,
.testimonial-card h3 {
	margin: 12px 0 10px;
	font-size: 1.12rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.vehicle-specs,
.spec-list {
	margin: 0;
}

.vehicle-specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 12px 0;
	border-top: 1px solid var(--lm-line);
	border-bottom: 1px solid var(--lm-line);
}

.vehicle-specs div,
.spec-list div {
	min-width: 0;
}

.vehicle-specs dt,
.spec-list dt {
	color: var(--lm-muted);
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
}

.vehicle-specs dd,
.spec-list dd {
	margin: 0;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.bid-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 14px;
	margin: 16px 0;
}

.bid-row span,
.price-panel span {
	display: block;
	color: var(--lm-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.bid-row strong,
.price-panel strong {
	display: block;
	color: var(--lm-primary);
	font-size: 1.35rem;
}

.bid-row time {
	max-width: 145px;
	color: var(--lm-muted);
	font-size: 0.82rem;
	text-align: right;
}

.event-meta {
	display: grid;
	gap: 7px;
	margin: 0 0 18px;
	padding: 0;
	color: var(--lm-muted);
	list-style: none;
}

.split-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
	gap: 48px;
	align-items: center;
}

.split-layout p {
	color: var(--lm-muted);
	font-size: 1.04rem;
}

.check-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	padding: 16px 18px;
	border-left: 4px solid var(--lm-success);
	border-radius: var(--lm-radius);
	background: var(--lm-white);
	box-shadow: 0 10px 24px rgba(21, 34, 50, 0.08);
	font-weight: 800;
}

.seller-section {
	background: #172033;
	color: var(--lm-white);
}

.seller-section p {
	color: rgba(255, 255, 255, 0.78);
}

.testimonial-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.testimonial-card img {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
}

.muted-text,
.post-card p {
	color: var(--lm-muted);
}

.post-card {
	overflow: hidden;
}

.post-card .post-image {
	min-height: 160px;
}

.page-hero {
	background: linear-gradient(135deg, #132238, var(--lm-primary));
	color: var(--lm-white);
}

.lot-nav-section {
	background: var(--lm-white);
	border-bottom: 1px solid var(--lm-line);
}

.lot-event-bar {
	background: #eef2f5;
	color: var(--lm-ink);
	font-size: 0.92rem;
	text-align: center;
}

.lot-event-bar .container {
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.lot-event-bar a {
	font-weight: 800;
}

.lot-event-bar span::before,
.lot-event-bar time::before {
	content: "|";
	margin-right: 8px;
	color: var(--lm-muted);
}

.lot-scroll {
	display: flex;
	justify-content: center;
	gap: 18px;
	overflow-x: auto;
	padding: 22px 0;
	scrollbar-width: thin;
}

.lot-chip {
	display: grid;
	justify-items: center;
	gap: 7px;
	min-width: 82px;
	color: var(--lm-muted);
	font-size: 0.85rem;
}

.lot-chip strong {
	color: inherit;
	font-size: 0.82rem;
	line-height: 1;
}

.lot-thumb {
	display: grid;
	width: 76px;
	height: 76px;
	padding: 4px;
	border: 2px solid #e4e9f0;
	border-radius: 50%;
	background: var(--lm-white);
	place-items: center;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lot-thumb img,
.lot-thumb-placeholder {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.lot-thumb-placeholder {
	display: grid;
	background: #e8edf3;
	color: var(--lm-primary);
	font-weight: 900;
	place-items: center;
}

.lot-chip:hover,
.lot-chip.is-current {
	color: var(--lm-ink);
}

.lot-chip:hover .lot-thumb,
.lot-chip.is-current .lot-thumb {
	border-color: var(--lm-ink);
	box-shadow: 0 8px 20px rgba(21, 34, 50, 0.14);
}

.page-hero.compact {
	padding: 72px 0;
}

.page-hero.compact h1 {
	font-size: clamp(2rem, 4vw, 3.4rem);
}

.vehicle-detail-hero {
	padding: 44px 0;
}

.vehicle-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
	gap: 28px;
	align-items: center;
}

.vehicle-detail-media img,
.image-placeholder,
.single-featured img {
	width: 100%;
	border-radius: var(--lm-radius);
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.image-placeholder {
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.72);
}

.vehicle-detail-summary h1 {
	margin: 14px 0 10px;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.06;
	letter-spacing: 0;
}

.price-panel {
	margin: 22px 0;
	padding: 18px;
	border-radius: var(--lm-radius);
	background: var(--lm-white);
	color: var(--lm-ink);
}

.price-panel strong {
	font-size: 2rem;
}

.price-panel time {
	color: var(--lm-muted);
}

.detail-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	align-items: start;
}

.content-panel,
.spec-panel {
	padding: 26px;
}

.content-panel > *:first-child,
.spec-panel > *:first-child {
	margin-top: 0;
}

.spec-list {
	display: grid;
	gap: 14px;
}

.spec-list div {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--lm-line);
}

.notice-box {
	margin-top: 24px;
	padding: 18px;
	border-radius: var(--lm-radius);
	background: #fff7e0;
	border: 1px solid #f8dc88;
}

.event-detail-heading {
	display: grid;
	gap: 18px;
}

.event-pills {
	flex-wrap: wrap;
	gap: 10px;
}

.event-pills span {
	border-color: rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.88);
}

.empty-state {
	grid-column: 1 / -1;
	padding: 34px;
	border: 1px dashed var(--lm-line);
	border-radius: var(--lm-radius);
	background: var(--lm-white);
	text-align: center;
}

.pagination-wrap {
	margin-top: 32px;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	min-width: 38px;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
}

.page-numbers.current {
	background: var(--lm-primary);
	color: var(--lm-white);
}

.post-list {
	display: grid;
	gap: 18px;
}

.post-row {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 20px;
	padding: 18px;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
}

.post-row-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--lm-radius);
}

.newsletter-section {
	padding: 54px 0;
	background: #eaf2f8;
}

.newsletter-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
	gap: 24px;
	align-items: center;
}

.newsletter-card p {
	color: var(--lm-muted);
}

.newsletter-form {
	display: flex;
	gap: 10px;
}

.site-footer {
	padding: 58px 0 24px;
	background: #171b22;
	color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
	gap: 34px;
	align-items: start;
}

.footer-brand-text {
	display: inline-flex;
	margin-bottom: 14px;
	color: var(--lm-white);
	font-size: 1.45rem;
	font-weight: 900;
}

.footer-brand p,
.footer-safe p,
.footer-contact span {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
}

.footer-nav h3,
.footer-safe h3,
.footer-contact h3 {
	margin: 0 0 14px;
	color: var(--lm-white);
	font-size: 1rem;
}

.footer-menu {
	display: grid;
	gap: 9px;
}

.footer-menu a,
.footer-contact a {
	color: rgba(255, 255, 255, 0.82);
	font-weight: 700;
}

.footer-menu a:hover,
.footer-contact a:hover,
.footer-pill:hover {
	color: var(--lm-white);
}

.footer-contact {
	display: grid;
	align-content: start;
	gap: 9px;
}

.footer-contact h3,
.footer-title {
	margin-top: 0;
	color: var(--lm-white);
}

.footer-safe {
	display: grid;
	gap: 12px;
}

.footer-pill {
	display: inline-flex;
	width: fit-content;
	min-height: 38px;
	align-items: center;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: var(--lm-white);
	font-size: 0.88rem;
	font-weight: 800;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin-top: 38px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.88rem;
}

@media (max-width: 1080px) {
	.vehicle-filter {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.filter-search {
		grid-column: 1 / -1;
	}

	.card-grid,
	.testimonial-grid,
	.post-grid,
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.detail-content-grid,
	.vehicle-detail-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.topbar {
		display: none;
	}

	.nav-wrap {
		min-height: 68px;
	}

	.nav-toggle {
		display: block;
	}

	.primary-nav {
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		display: none;
		padding: 18px 24px;
		background: var(--lm-white);
		border-bottom: 1px solid var(--lm-line);
	}

	.primary-nav.is-open {
		display: block;
	}

	.menu {
		display: grid;
		gap: 14px;
	}

	.header-cta {
		display: none;
	}

	.hero-section {
		min-height: 560px;
	}

	.hero-content {
		padding: 82px 0 122px;
	}

	.search-band {
		margin-top: -54px;
	}

	.vehicle-filter,
	.newsletter-card,
	.split-layout,
	.card-grid,
	.card-grid.three,
	.testimonial-grid,
	.post-grid,
	.footer-grid,
	.post-row {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 56px 0;
	}

	.lot-scroll {
		justify-content: flex-start;
		padding-inline: 12px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.vehicle-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.newsletter-form,
	.footer-bottom {
		flex-direction: column;
	}
}

/* Mobile navigation refinement */
.mobile-menu-actions {
	display: none;
}

@media (max-width: 820px) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 100;
	}

	.nav-wrap {
		position: relative;
		min-height: 72px;
	}

	.nav-toggle {
		display: grid;
		place-items: center;
		padding: 0;
	}

	.nav-toggle span:not(.screen-reader-text) {
		width: 20px;
		margin: 2px auto;
	}

	.primary-nav {
		position: absolute;
		top: 72px;
		left: 12px;
		right: 12px;
		display: none;
		max-height: calc(100vh - 92px);
		overflow-y: auto;
		padding: 10px;
		border: 1px solid #e0e5ee;
		border-radius: 10px;
		background: var(--lm-white);
		box-shadow: 0 22px 48px rgba(16, 24, 40, 0.18);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		display: grid;
		gap: 0;
		white-space: normal;
	}

	.primary-nav .menu > li {
		display: block;
		min-height: 0;
		border-bottom: 1px solid #eef1f5;
	}

	.primary-nav .menu > li:last-child {
		border-bottom: 0;
	}

	.primary-nav .menu a {
		display: flex;
		min-height: 48px;
		align-items: center;
		justify-content: space-between;
		padding: 0 10px;
		color: var(--lm-ink);
		font-size: 0.98rem;
		font-weight: 700;
	}

	.menu-agenda-item > a::after,
	.menu-sell-item > a::after,
	.menu-services-item > a::after {
		content: "›";
		position: static;
		width: auto;
		height: auto;
		color: #98a2b3;
		font-size: 1.2rem;
	}

	.events-dropdown,
	.simple-dropdown {
		position: static;
		display: none;
		width: auto;
		margin: 4px 0 10px;
		border-radius: 8px;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.primary-nav.is-events-open .events-dropdown,
	.primary-nav.is-sell-open .sell-dropdown,
	.primary-nav.is-services-open .services-dropdown {
		display: block;
		transform: none;
	}

	.dropdown-event-card {
		grid-template-columns: 48px 1fr;
		padding-left: 10px;
		padding-right: 10px;
	}

	.simple-dropdown-card {
		padding: 14px 12px;
	}

	.mobile-menu-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		padding: 12px 0 0;
	}

	.mobile-menu-actions .btn {
		width: 100%;
		min-height: 44px;
	}

	.header-cta {
		display: none;
	}
}

@media (max-width: 420px) {
	.mobile-menu-actions {
		grid-template-columns: 1fr;
	}
}

/* Mobile drawer override */
.mobile-nav-head,
.mobile-nav-backdrop {
	display: none;
}

@media (max-width: 820px) {
	body.mobile-menu-open {
		overflow: hidden;
	}

	.mobile-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 98;
		background: rgba(16, 24, 40, 0.5);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease;
	}

	body.mobile-menu-open .mobile-nav-backdrop {
		display: block;
		opacity: 1;
		pointer-events: auto;
	}

	.primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		left: auto;
		z-index: 120;
		display: block;
		width: min(88vw, 380px);
		height: 100vh;
		max-height: none;
		padding: 0;
		overflow-y: auto;
		border: 0;
		border-radius: 0;
		background: var(--lm-white);
		box-shadow: -22px 0 46px rgba(16, 24, 40, 0.22);
		transform: translateX(105%);
		transition: transform 0.22s ease;
	}

	.primary-nav.is-open {
		display: block;
		transform: translateX(0);
	}

	.mobile-nav-head {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 76px;
		padding: 0 20px;
		border-bottom: 1px solid #edf0f5;
		background: var(--lm-white);
	}

	.mobile-nav-head .custom-logo-link img {
		max-width: 140px;
		max-height: 48px;
	}

	.mobile-nav-close {
		display: grid;
		width: 42px;
		height: 42px;
		padding: 0;
		place-items: center;
		border: 1px solid #e0e5ee;
		border-radius: 50%;
		background: var(--lm-white);
		color: var(--lm-ink);
		font-size: 1.7rem;
		line-height: 1;
	}

	.primary-nav .menu {
		padding: 12px 16px 6px;
	}

	.primary-nav .menu > li {
		border-bottom: 0;
	}

	.primary-nav .menu a {
		min-height: 56px;
		padding: 0 8px;
		border-bottom: 1px solid #edf0f5;
		font-size: 1.06rem;
		font-weight: 800;
	}

	.events-dropdown,
	.simple-dropdown {
		margin: 0 16px 12px;
		border: 1px solid #e6ebf2;
		background: #f8f9fb;
	}

	.events-dropdown-title {
		text-align: left;
	}

	.dropdown-event-card,
	.simple-dropdown-card {
		background: var(--lm-white);
	}

	.mobile-menu-actions {
		padding: 12px 16px 22px;
		background: var(--lm-white);
	}

	.mobile-menu-actions .btn-ghost {
		border: 1px solid #d8dee8;
		background: var(--lm-white);
	}
}

/* Requested dark hero, cleaner search and Loop-like product detail */
.hero-section {
	min-height: 455px;
	background:
		radial-gradient(circle at 72% 38%, rgba(255, 23, 68, 0.18) 0 22%, transparent 23%),
		linear-gradient(135deg, #151922 0%, #222832 56%, #101318 100%);
}

.hero-section::before,
.hero-section::after,
.hero-bg::before {
	border-color: var(--lm-accent);
	opacity: 0.92;
}

.hero-section::before {
	left: -58px;
	top: -70px;
	width: 170px;
	height: 170px;
	border-width: 36px;
}

.hero-section::after {
	right: -85px;
	top: 42px;
	width: 270px;
	height: 270px;
	border-width: 48px;
}

.hero-bg::before {
	left: 48%;
	bottom: -112px;
	width: 260px;
	height: 260px;
	border-width: 50px;
}

.hero-bg img {
	opacity: 0.08;
	mix-blend-mode: screen;
}

.hero-content h1 {
	max-width: 670px;
	color: var(--lm-white);
}

.hero-content p:not(.eyebrow) {
	max-width: 565px;
}

.hero-link {
	color: var(--lm-accent);
}

.search-band {
	margin-top: 34px;
	padding-bottom: 18px;
}

.vehicle-filter {
	max-width: 1040px;
	margin-inline: auto;
	border: 1px solid rgba(16, 24, 40, 0.08);
	border-radius: 10px;
	background: var(--lm-white);
	box-shadow: 0 18px 42px rgba(16, 24, 40, 0.16);
}

.filter-tabs {
	display: flex;
	min-height: 52px;
	background: #eef1f5;
}

.filter-tabs a {
	position: relative;
	flex: 1;
	gap: 8px;
	border-right: 1px solid #dfe4ec;
	color: #5f6673;
	font-size: 0.98rem;
	transition: color 0.18s ease, background 0.18s ease;
}

.filter-tabs a::before {
	content: "";
	width: 17px;
	height: 17px;
	border: 2px solid currentColor;
	border-radius: 4px;
	opacity: 0.75;
}

.filter-tabs a:nth-child(2)::before,
.filter-tabs a:nth-child(3)::before {
	border-radius: 50%;
}

.filter-tabs a.is-active {
	background: var(--lm-white);
	color: var(--lm-ink);
}

.filter-tabs a.is-active::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--lm-accent);
	content: "";
}

.filter-main {
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 14px;
	padding: 18px 20px 10px;
}

.vehicle-filter input[type="search"] {
	min-height: 58px;
	border: 1px solid #c7ced9;
	border-radius: 7px;
	box-shadow: inset 0 0 0 1px transparent;
}

.vehicle-filter input[type="search"]:focus {
	outline: 0;
	border-color: var(--lm-accent);
	box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.12);
}

.filter-main .btn {
	min-height: 58px;
	white-space: nowrap;
}

.filter-options {
	justify-content: flex-start;
	padding: 9px 20px 12px;
}

.filter-options p {
	margin: 0;
	color: var(--lm-ink);
	font-size: 0.78rem;
}

.filter-selects {
	margin-left: auto;
}

.filter-selects select {
	min-height: 36px;
	border-color: #d8dee8;
}

.recent-searches {
	padding-bottom: 22px;
}

.loop-product-page {
	background: var(--lm-white);
}

.loop-product-head {
	padding: 28px 0 14px;
	border-top: 1px solid var(--lm-line);
}

.loop-product-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.lot-kicker {
	margin: 0 0 4px;
	color: #344054;
	font-size: 0.82rem;
	font-weight: 500;
}

.loop-product-top h1 {
	margin: 0;
	color: var(--lm-ink);
	font-size: 1.36rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.seller-mark {
	max-width: 180px;
	color: #007d61;
	font-size: 0.82rem;
	font-weight: 800;
	text-align: right;
	text-transform: uppercase;
}

.loop-product-main {
	padding: 0 0 34px;
}

.loop-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 680px) 420px;
	gap: 54px;
	align-items: start;
}

.loop-gallery {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #eef1f4;
}

.loop-gallery img,
.loop-gallery .image-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.gallery-arrow {
	position: absolute;
	top: 50%;
	display: grid;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lm-white);
	color: #667085;
	font-size: 1.6rem;
	line-height: 1;
	place-items: center;
	transform: translateY(-50%);
}

.gallery-prev {
	left: 16px;
}

.gallery-next {
	right: 16px;
}

.media-actions {
	display: flex;
	gap: 18px;
	margin: 18px 0 20px;
}

.media-tab {
	display: inline-flex;
	min-width: 145px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--lm-ink);
	border-radius: 4px;
	color: var(--lm-ink);
	font-weight: 800;
}

.media-tab.is-active {
	background: #2b303a;
	color: var(--lm-white);
}

.loop-spec-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px 34px;
	margin: 0;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--lm-line);
}

.loop-spec-grid dt {
	color: #667085;
	font-size: 0.78rem;
	font-weight: 500;
}

.loop-spec-grid dd {
	margin: 4px 0 0;
	color: var(--lm-ink);
	font-size: 0.95rem;
	font-weight: 700;
}

.loop-bid-aside {
	position: sticky;
	top: 18px;
}

.favorite-btn {
	display: inline-flex;
	float: right;
	min-height: 42px;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 0 18px;
	border: 1px solid var(--lm-line);
	border-radius: 8px;
	color: var(--lm-ink);
	font-weight: 600;
}

.loop-bid-card {
	clear: both;
	overflow: hidden;
	border: 1px solid #dfe5ee;
	border-radius: 8px;
	background: var(--lm-white);
}

.bid-card-status {
	padding: 13px 18px;
	background: #ffbc08;
	color: var(--lm-white);
	font-size: 0.82rem;
	font-weight: 800;
	text-align: center;
}

.bid-card-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 24px;
	border-bottom: 1px solid var(--lm-line);
}

.bid-card-row span {
	color: var(--lm-ink);
	font-size: 1rem;
}

.bid-card-row strong {
	color: var(--lm-ink);
	font-size: 1.1rem;
}

.bid-card-row.large {
	display: block;
	padding-bottom: 12px;
	border-bottom: 0;
}

.bid-card-row.large strong {
	display: block;
	margin-top: 8px;
	font-size: 1.45rem;
}

.loop-bid-card p {
	margin: 0;
	padding: 0 24px 18px;
	color: #344054;
	font-size: 0.82rem;
}

.loop-bid-card .btn {
	width: calc(100% - 48px);
	margin: 0 24px 18px;
}

.bid-locked {
	padding: 17px;
	background: #2c313b;
	color: var(--lm-white);
	font-size: 1.06rem;
	font-weight: 800;
	text-align: center;
}

.bid-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: 1px solid var(--lm-line);
}

.bid-tabs span {
	padding: 15px 10px;
	border-right: 1px solid var(--lm-line);
	color: #344054;
	font-size: 0.85rem;
	text-align: center;
}

.bid-tabs span:last-child {
	border-right: 0;
}

.bid-empty {
	padding: 18px;
	color: #344054;
	font-size: 0.85rem;
	text-align: center;
}

.loop-detail-section {
	padding: 0 0 80px;
}

.loop-detail-narrow {
	width: min(680px, calc(100% - 40px));
	margin-left: max(20px, calc((100% - 1210px) / 2));
	margin-right: auto;
}

.loop-info-block {
	padding: 26px 0;
	border-bottom: 1px solid var(--lm-line);
}

.loop-info-block h2,
.finance-box h2,
.how-works h2 {
	margin: 0 0 20px;
	color: var(--lm-ink);
	font-size: 1.45rem;
	font-weight: 700;
}

.loop-info-block p {
	margin: 0 0 14px;
	color: var(--lm-ink);
	font-size: 0.9rem;
	line-height: 1.45;
	text-transform: uppercase;
}

.vehicle-location-note {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 24px 0 6px;
}

.vehicle-location-note > span {
	width: 18px;
	height: 24px;
	border-radius: 999px 999px 999px 0;
	background: var(--lm-accent);
	transform: rotate(-45deg);
}

.vehicle-location-note small,
.vehicle-location-note strong {
	display: block;
}

.vehicle-location-note small {
	color: #667085;
	font-size: 0.75rem;
}

.vehicle-location-note strong {
	font-size: 0.9rem;
}

.loop-data-table,
.loop-data-list {
	display: grid;
	gap: 0;
}

.loop-data-table div,
.loop-data-list div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 13px 16px;
}

.loop-data-table div:nth-child(odd) {
	background: #f6f6f7;
}

.loop-data-table span,
.loop-data-list span {
	color: var(--lm-ink);
	font-weight: 700;
}

.loop-data-table strong,
.loop-data-list strong {
	color: #344054;
	font-weight: 500;
}

.loop-data-list div {
	padding-left: 0;
	padding-right: 0;
}

.conditions-link,
.finance-brand {
	color: var(--lm-accent);
	font-weight: 700;
}

.finance-box {
	margin: 38px 0 34px;
	padding: 32px;
	border: 1px solid #d9dee8;
	border-radius: 8px;
	background: #f8f8f9;
}

.finance-brand {
	margin: 0 0 18px;
}

.finance-box > p:not(.finance-brand) {
	margin-top: -10px;
	color: #344054;
}

.finance-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 24px;
}

.finance-form input,
.finance-form select {
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid #d9dee8;
	border-radius: 6px;
	background: var(--lm-white);
	font: inherit;
}

.finance-form button {
	grid-column: 2;
}

.how-works {
	padding-top: 6px;
}

.how-works p {
	margin-top: -10px;
	color: #344054;
}

.how-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 24px;
}

.how-grid a {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: space-between;
	padding: 0 18px;
	border: 1px solid #e1e6ef;
	border-radius: 7px;
	color: var(--lm-ink);
	font-weight: 700;
}

@media (max-width: 1080px) {
	.loop-product-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.loop-bid-aside {
		position: static;
	}

	.loop-detail-narrow {
		width: min(760px, calc(100% - 40px));
		margin-inline: auto;
	}
}

@media (max-width: 760px) {
	.loop-product-top,
	.filter-options {
		flex-direction: column;
		align-items: stretch;
	}

	.seller-mark {
		text-align: left;
	}

	.loop-spec-grid,
	.finance-form,
	.how-grid,
	.loop-data-table div,
	.loop-data-list div {
		grid-template-columns: 1fr;
	}

	.finance-form button {
		grid-column: auto;
	}

	.filter-tabs {
		overflow-x: auto;
	}

	.filter-tabs a {
		min-width: 132px;
	}

	.filter-main {
		grid-template-columns: 1fr;
	}

	.filter-selects {
		margin-left: 0;
	}
}

/* Editable hero carousel and events dropdown */
.primary-nav {
	position: relative;
	isolation: isolate;
}

.events-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 80;
	width: 330px;
	overflow: hidden;
	border: 1px solid #d9dee8;
	border-radius: 8px;
	background: var(--lm-white);
	box-shadow: 0 14px 34px rgba(16, 24, 40, 0.22);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.primary-nav.is-events-open .events-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.simple-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 80;
	width: 315px;
	overflow: hidden;
	border: 1px solid #d9dee8;
	border-radius: 8px;
	background: var(--lm-white);
	box-shadow: 0 14px 34px rgba(16, 24, 40, 0.22);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.primary-nav.is-sell-open .sell-dropdown,
.primary-nav.is-services-open .services-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.simple-dropdown-card {
	display: grid;
	gap: 6px;
	padding: 16px 18px;
	border-top: 1px solid #edf0f5;
	color: var(--lm-ink);
}

.simple-dropdown-card:hover {
	background: #fafbfc;
}

.simple-dropdown-card strong {
	font-size: 0.92rem;
	font-weight: 800;
}

.simple-dropdown-card span {
	color: #667085;
	font-size: 0.8rem;
	line-height: 1.4;
}

.menu-agenda-item > a {
	position: relative;
}

.menu-agenda-item > a::after,
.menu-sell-item > a::after,
.menu-services-item > a::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -35px;
	height: 35px;
	content: "";
}

.primary-nav .menu {
	position: relative;
	z-index: 2;
	align-items: center;
	white-space: nowrap;
}

.primary-nav .menu > li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
}

/* Service and sales pages */
.module-hero {
	position: relative;
	overflow: hidden;
	padding: 86px 0 0; /* sem padding-bottom — o carro toca a borda */
	background: linear-gradient(135deg, #171c25, #252c38);
	color: var(--lm-white);
}


.module-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
	gap: 32px;
	align-items: center;
}

.module-hero-grid > div:first-child {
	padding-bottom: 86px; /* respira do fundo sem afetar a coluna do carro */
}

.module-hero h1 {
	max-width: 760px;
	margin: 0 0 18px;
	font-size: clamp(2.25rem, 4vw, 4.1rem);
	line-height: 1.12;
}

.module-hero p:not(.eyebrow) {
	max-width: 690px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.12rem;
}

.module-hero .btn {
	margin-top: 18px;
}

.module-hero-art {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 0;
	overflow: visible;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.module-hero-art-img {
	display: block;
	position: relative;
	width: 112%;
	margin-left: -6%;
	height: auto;
	object-fit: unset;
	filter: drop-shadow(-28px 0 48px rgba(0, 0, 0, 0.55));
}

.module-hero-art.has-image::after {
	display: none;
}

.module-hero-art span {
	position: absolute;
	display: block;
	border-radius: 12px;
	background: var(--lm-accent);
}

.module-hero-art span:nth-child(1) {
	left: 44px;
	top: 70px;
	width: 210px;
	height: 72px;
}

.module-hero-art span:nth-child(2) {
	right: 48px;
	top: 150px;
	width: 170px;
	height: 72px;
	background: var(--lm-white);
}

.module-hero-art span:nth-child(3) {
	left: 88px;
	bottom: 54px;
	width: 240px;
	height: 42px;
	background: rgba(255, 255, 255, 0.18);
}

.module-section {
	padding: 76px 0;
}

.module-section h2 {
	margin: 0 0 18px;
	font-size: clamp(1.8rem, 3vw, 2.55rem);
	line-height: 1.14;
}

.module-section p {
	color: #344054;
}

.module-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
	gap: 54px;
	align-items: start;
}

.module-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.module-card {
	min-height: 185px;
	padding: 24px;
	border: 1px solid #e0e5ee;
	border-radius: 8px;
	background: var(--lm-white);
}

.module-card em {
	display: inline-grid;
	width: 34px;
	height: 34px;
	margin-bottom: 16px;
	place-items: center;
	border-radius: 50%;
	background: var(--lm-accent);
	color: var(--lm-white);
	font-style: normal;
	font-weight: 800;
}

.module-card h3 {
	margin: 0 0 10px;
	font-size: 1.12rem;
}

.module-card p {
	margin: 0;
	color: #667085;
}

.module-lead-form,
.dealer-search,
.finance-box.compact,
.rate-table {
	padding: 28px;
	border: 1px solid #e0e5ee;
	border-radius: 8px;
	background: var(--lm-white);
	box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

.module-lead-form {
	display: grid;
	gap: 12px;
}

.module-lead-form h2,
.dealer-search h2,
.finance-box.compact h2,
.rate-table h2 {
	margin: 0 0 10px;
	font-size: 1.45rem;
}

.module-lead-form input,
.module-lead-form textarea,
.dealer-search input {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #d8dee8;
	border-radius: 6px;
	font: inherit;
}

.module-lead-form textarea {
	padding-top: 12px;
}

.module-lead-form label {
	color: #667085;
	font-size: 0.82rem;
}

.module-image-panel {
	min-height: 360px;
	border-radius: 8px;
	background:
		linear-gradient(rgba(255, 23, 68, 0.78), rgba(255, 23, 68, 0.78)),
		linear-gradient(135deg, #ccd3de, #f1f3f6);
}

.module-checks {
	display: grid;
	gap: 14px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.module-checks li {
	position: relative;
	padding-left: 34px;
	font-weight: 600;
}

.module-checks li::before {
	position: absolute;
	left: 0;
	top: 1px;
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border: 1px solid var(--lm-accent);
	border-radius: 50%;
	color: var(--lm-accent);
	content: "✓";
	font-size: 0.82rem;
}

.module-faq {
	display: grid;
	gap: 10px;
}

.module-faq details {
	border: 1px solid #e0e5ee;
	border-radius: 8px;
	background: var(--lm-white);
}

.module-faq summary {
	padding: 18px 20px;
	cursor: pointer;
	font-weight: 800;
}

.module-faq p {
	margin: 0;
	padding: 0 20px 18px;
	color: #667085;
}

.rate-table {
	display: grid;
	gap: 0;
}

.rate-table div {
	display: flex;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid #e0e5ee;
}

.rate-table div:last-child {
	border-bottom: 0;
}

.finance-stats {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 14px;
	margin-top: 24px;
}

.finance-stats strong {
	color: var(--lm-accent);
	font-size: 2rem;
}

.dealer-search form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 170px 170px 150px;
	gap: 12px;
}

@media (max-width: 920px) {
	.module-hero-grid,
	.module-split,
	.module-card-grid {
		grid-template-columns: 1fr;
	}

	.module-hero-art {
		min-height: 0;
	}

	.module-hero-art-img {
		width: 100%;
		margin-left: 0;
		max-height: 220px;
		object-fit: contain;
		object-position: center bottom;
		filter: drop-shadow(0 -8px 24px rgba(0, 0, 0, 0.45));
	}

	.module-hero-grid > div:first-child {
		padding-bottom: 24px;
	}

	.dealer-search form {
		grid-template-columns: 1fr;
	}
}

/* Final home hero spacing guard */
.hero-section.hero-carousel {
	display: block;
	min-height: 560px !important;
	margin-bottom: 0;
	overflow: hidden;
}

.hero-carousel .hero-slides,
.hero-carousel .hero-slide {
	min-height: 560px !important;
}

.hero-carousel .hero-slide {
	align-items: start;
}

.hero-carousel .hero-content {
	padding-top: 88px !important;
	padding-bottom: 118px !important;
}

.hero-carousel .hero-content h1 {
	max-width: 760px !important;
	margin-bottom: 22px;
}

.hero-carousel .hero-content p:not(.eyebrow) {
	display: block;
	max-width: 690px !important;
	margin-bottom: 24px;
	overflow: visible;
}

.hero-carousel .hero-slide.has-image .hero-bg img {
	opacity: 1 !important;
	mix-blend-mode: normal !important;
}

.hero-carousel .hero-slide.has-image .hero-bg::after {
	background: linear-gradient(90deg, rgba(14, 18, 27, 0.58) 0%, rgba(14, 18, 27, 0.3) 38%, rgba(14, 18, 27, 0.08) 68%, rgba(14, 18, 27, 0) 100%) !important;
}

.search-band {
	margin-top: -44px !important;
	padding-top: 0;
	position: relative;
	z-index: 5;
}

@media (max-width: 760px) {
	.hero-section.hero-carousel,
	.hero-carousel .hero-slides,
	.hero-carousel .hero-slide {
		min-height: 640px !important;
	}

	.hero-carousel .hero-content {
		padding-top: 82px !important;
		padding-bottom: 150px !important;
	}

	.search-band {
		margin-top: -36px !important;
		padding-top: 0;
	}
}

.events-dropdown-title {
	padding: 12px 16px;
	background: #f5f5f6;
	color: #344054;
	font-size: 0.84rem;
	font-weight: 700;
	text-align: center;
}

.dropdown-event-card {
	position: relative;
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 10px;
	padding: 13px 16px 29px;
	border-top: 1px solid #edf0f5;
	color: var(--lm-ink);
}

.dropdown-event-card:hover {
	background: #fafbfc;
}

.dropdown-event-logo {
	display: grid;
	align-self: center;
	width: 44px;
	height: 34px;
	place-items: center;
	color: var(--lm-accent);
	font-size: 0.68rem;
	font-weight: 900;
}

.dropdown-event-main strong {
	display: block;
	margin-bottom: 8px;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dropdown-event-meta {
	display: flex;
	gap: 10px;
	color: #667085;
}

.dropdown-event-meta em {
	font-style: normal;
	font-size: 0.82rem;
}

.dropdown-event-card b {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	padding: 5px 10px;
	background: #ff4d70;
	color: var(--lm-white);
	font-size: 0.78rem;
	font-weight: 800;
	text-align: center;
}

.dropdown-event-empty {
	padding: 18px;
	color: #667085;
	font-size: 0.86rem;
	text-align: center;
}

.dropdown-events-more {
	display: block;
	padding: 12px;
	color: #344054;
	font-size: 0.82rem;
	text-align: center;
}

.hero-carousel {
	min-height: 620px;
	background: #151922;
}

.hero-slides,
.hero-slide {
	position: absolute;
	inset: 0;
}

.hero-slide {
	display: grid;
	align-items: center;
	min-height: 620px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.hero-slide .hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 74% 42%, rgba(255, 23, 68, 0.24) 0 18%, transparent 19%),
		linear-gradient(135deg, #161b24, #222832 54%, #111419);
}

.hero-slide.has-image .hero-bg::after {
	position: absolute;
	inset: 0;
	display: block;
	background: linear-gradient(90deg, rgba(14, 18, 27, 0.58) 0%, rgba(14, 18, 27, 0.34) 38%, rgba(14, 18, 27, 0.08) 68%, rgba(14, 18, 27, 0) 100%);
	content: "";
}

.hero-slide .hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	mix-blend-mode: normal;
}

.hero-carousel .hero-content {
	position: relative;
	z-index: 2;
	max-width: 1210px;
	padding-top: 96px;
	padding-bottom: 96px;
}

.hero-carousel .hero-content h1 {
	max-width: 760px;
	margin-bottom: 18px;
	font-size: clamp(2.35rem, 4.2vw, 4.35rem);
	line-height: 1.12;
}

.hero-carousel .hero-content p:not(.eyebrow) {
	max-width: 700px;
	margin: 0;
	font-size: clamp(1.05rem, 1.7vw, 1.45rem);
	line-height: 1.48;
}

.hero-dots {
	position: absolute;
	right: max(24px, calc((100vw - 1210px) / 2));
	bottom: 34px;
	z-index: 3;
	display: flex;
	gap: 12px;
}

.hero-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: transparent;
}

.hero-dots button.is-active {
	background: var(--lm-accent);
	border-color: var(--lm-accent);
}

/* Stock/archive page */
.vehicle-archive-page {
	padding: 32px 0 90px;
	background: var(--lm-white);
}

.archive-search-panel {
	margin-bottom: 26px;
	padding: 22px 24px;
	border: 1px solid #e0e5ee;
	border-radius: 8px;
	background: #f8f8f9;
}

.archive-search-panel form {
	display: grid;
	grid-template-columns: minmax(260px, 360px) 42px 1fr;
	align-items: center;
	gap: 0;
}

.archive-search-panel input {
	min-height: 58px;
	padding: 0 18px;
	border: 1px solid #d5dbe6;
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: var(--lm-white);
	font: inherit;
}

.archive-search-panel button {
	min-height: 58px;
	border: 1px solid #d5dbe6;
	border-left: 0;
	border-radius: 0 8px 8px 0;
	background: var(--lm-white);
	color: #667085;
	font-size: 1.35rem;
}

.archive-search-panel a {
	justify-self: end;
	color: var(--lm-ink);
	font-weight: 500;
}

.vehicle-archive-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.archive-sidebar {
	position: sticky;
	top: 16px;
}

.archive-sidebar form {
	display: grid;
	gap: 22px;
}

.archive-filter-card {
	overflow: hidden;
	border: 1px solid #dce2eb;
	border-radius: 8px;
	background: var(--lm-white);
}

.archive-filter-card h2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	margin: 0;
	padding: 0 18px;
	color: #344054;
	font-size: 1rem;
	font-weight: 600;
}

.archive-filter-card h2::after {
	content: "⌃";
	color: #667085;
	font-size: 1rem;
}

.archive-filter-card.compact h2::after {
	content: "⌄";
}

.stock-card {
	padding: 24px 18px;
}

.stock-card p {
	margin: 16px 0 0;
	color: #667085;
	font-size: 0.84rem;
	line-height: 1.55;
}

.archive-filter-options {
	display: grid;
	gap: 0;
	padding: 10px 18px 18px;
	background: #f7f7f8;
}

.archive-filter-options.scrollable {
	max-height: 210px;
	overflow-y: auto;
}

.archive-filter-options.tall {
	max-height: 560px;
}

.archive-check {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 42px;
	color: #1f2937;
	font-size: 0.92rem;
}

.archive-check input {
	position: absolute;
	opacity: 0;
}

.archive-check span {
	display: grid;
	width: 18px;
	height: 18px;
	border: 2px solid #4b5563;
	border-radius: 2px;
	background: transparent;
	place-items: center;
}

.archive-check input:checked + span {
	border-color: var(--lm-accent);
	background: var(--lm-accent);
}

.archive-check input:checked + span::after {
	color: var(--lm-white);
	content: "✓";
	font-size: 0.75rem;
	font-weight: 800;
}

.archive-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.archive-results-head p {
	margin: 0;
	font-size: 1rem;
}

.archive-results-head label {
	display: grid;
	min-width: 285px;
	padding: 10px 14px;
	border: 1px solid #dce2eb;
	border-radius: 8px;
	background: var(--lm-white);
	color: #344054;
	font-size: 0.78rem;
}

.archive-results-head select {
	border: 0;
	background: transparent;
	color: var(--lm-ink);
	font: inherit;
	font-size: 1rem;
}

.archive-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.vehicle-archive-page .vehicle-card {
	min-height: 492px;
}

.vehicle-archive-page .vehicle-image {
	margin: 14px 14px 0;
	aspect-ratio: 1.28 / 1;
}

.vehicle-archive-page .auction-date {
	background: #e9ecef;
}

.vehicle-archive-page .vehicle-card h3 {
	min-height: 54px;
	margin-bottom: 46px;
	font-size: 1rem;
}

.vehicle-archive-page .open-bid {
	color: #f4a400;
}

.vehicle-archive-page .bid-mini strong {
	color: var(--lm-ink);
	font-size: 0.96rem;
}

.dealer-ad-card {
	min-height: 492px;
	padding: 42px 32px;
	border: 3px solid var(--lm-accent);
	border-radius: 8px;
	background:
		linear-gradient(rgba(28, 34, 44, 0.94), rgba(28, 34, 44, 0.94)),
		#1d222c;
	color: var(--lm-white);
}

.dealer-ad-card h2,
.dealer-ad-card p {
	margin: 0;
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.2;
}

.dealer-ad-card ul {
	display: grid;
	gap: 10px;
	margin: 28px 0;
	padding: 0;
	list-style: none;
}

.dealer-ad-card li {
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.92rem;
}

.dealer-ad-card .btn {
	width: 100%;
}

@media (max-width: 1120px) {
	.vehicle-archive-layout {
		grid-template-columns: 1fr;
	}

	.archive-sidebar {
		position: static;
	}

	.archive-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.events-dropdown {
		position: static;
		width: 100%;
		margin-top: 10px;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.archive-search-panel form,
	.archive-card-grid,
	.archive-results-head {
		grid-template-columns: 1fr;
	}

	.archive-search-panel form,
	.archive-results-head {
		display: grid;
	}

	.archive-search-panel a,
	.archive-results-head label {
		justify-self: stretch;
		min-width: 0;
	}

	.hero-carousel,
	.hero-slide {
		min-height: 680px;
	}

	.hero-carousel .hero-content {
		padding-top: 78px;
		padding-bottom: 88px;
	}

	.hero-dots {
		left: 20px;
		right: auto;
		bottom: 44px;
	}
}

@media (max-width: 520px) {
	.container {
		width: min(100% - 22px, 1180px);
	}

	.hero-actions,
	.detail-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	.vehicle-filter {
		padding: 14px;
	}

	.vehicle-specs,
	.spec-list div {
		grid-template-columns: 1fr;
	}

	.spec-list div {
		display: block;
	}
}

/* Loop-style auction polish */
:root {
	--lm-primary: #101828;
	--lm-accent: #ff1744;
	--lm-success: #51a100;
	--lm-ink: #101828;
	--lm-muted: #667085;
	--lm-line: #e5e9f2;
	--lm-bg: #f5f5f7;
	--lm-white: #ffffff;
	--lm-radius: 8px;
	--lm-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

html,
body {
	overflow-x: clip;
}

body {
	font-family: "Poppins", "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--lm-ink);
	background: var(--lm-white);
}

.container {
	width: min(1210px, calc(100% - 40px));
}

.topbar {
	display: none;
}

.site-header {
	position: relative;
	background: var(--lm-white);
	border-bottom: 0;
	box-shadow: none;
}

.nav-wrap {
	min-height: 96px;
	gap: 30px;
}

.brand-text {
	position: relative;
	color: var(--lm-ink);
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: 0;
}

.brand-text::after {
	content: "Leiloes";
	display: inline-flex;
	margin-left: 12px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--lm-accent);
	color: var(--lm-white);
	font-size: 0.72rem;
	font-weight: 700;
	vertical-align: middle;
}

.menu {
	gap: 34px;
}

.menu a,
.header-cta .btn {
	color: var(--lm-ink);
	font-size: 0.94rem;
	font-weight: 600;
}

.header-cta {
	gap: 14px;
}

.header-cta .btn {
	min-height: auto;
	padding: 0;
	border: 0;
	background: transparent;
}

.header-cta .btn-primary {
	padding-left: 18px;
	border-left: 1px solid var(--lm-line);
	border-radius: 0;
	color: var(--lm-ink);
}

.btn {
	min-height: 48px;
	border-radius: 8px;
	font-size: 0.94rem;
	font-weight: 800;
}

.btn-accent,
.btn-primary {
	background: var(--lm-accent);
	color: var(--lm-white);
}

.hero-section {
	min-height: 445px;
	align-items: center;
	background: var(--lm-accent);
	color: var(--lm-white);
}

.hero-section::before,
.hero-section::after,
.hero-bg::before,
.hero-bg::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.hero-section::before,
.hero-section::after,
.hero-bg::before {
	display: none;
}

.hero-bg {
	opacity: 1;
}

.hero-bg::after {
	display: none;
}

.hero-bg img {
	opacity: 0.18;
	mix-blend-mode: luminosity;
}

.hero-bg picture {
	position: absolute;
	inset: 0;
	display: block;
}

.hero-bg picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	padding: 84px 0 115px;
}

.hero-content h1 {
	max-width: 620px;
	font-size: clamp(2.1rem, 4vw, 3.45rem);
	font-weight: 800;
	line-height: 1.28;
}

.hero-content p:not(.eyebrow) {
	max-width: 520px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.32rem;
	font-weight: 400;
	line-height: 1.45;
}

.hero-link {
	display: inline-flex;
	margin-top: 22px;
	color: var(--lm-white);
	font-size: 1.24rem;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.eyebrow {
	margin-bottom: 5px;
	color: var(--lm-accent);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hero-content .eyebrow {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.05rem;
	font-weight: 500;
	text-transform: none;
}

.search-band {
	margin-top: 40px;
	padding-bottom: 32px;
}

.vehicle-filter {
	display: block;
	padding: 0;
	overflow: hidden;
	border: 1px solid #dde2ea;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 12px 40px rgba(16, 24, 40, 0.13), 0 2px 6px rgba(16, 24, 40, 0.06);
}

.filter-tabs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	background: #f0f2f5;
	border-bottom: 1px solid #dde2ea;
}

.filter-tabs a {
	display: flex;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	border-right: 1px solid #dde2ea;
	color: #6b7280;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	transition: background 0.15s, color 0.15s;
}

.filter-tabs a:last-child {
	border-right: 0;
}

.filter-tabs a.is-active,
.filter-tabs a:hover {
	background: var(--lm-white);
	color: var(--lm-ink);
	box-shadow: inset 0 -3px 0 var(--lm-accent);
}

.filter-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 245px;
	gap: 16px;
	padding: 28px 28px 16px;
}

.vehicle-filter input[type="search"] {
	min-height: 68px;
	padding: 0 52px 0 22px;
	border: 1.5px solid #cbd2dc;
	border-radius: 10px;
	background: var(--lm-white);
	color: var(--lm-ink);
	font-size: 1.05rem;
	transition: border-color 0.15s;
}

.vehicle-filter input[type="search"]:focus {
	border-color: var(--lm-accent);
}

.vehicle-filter input[type="search"]::placeholder {
	color: #a4a9b3;
}

.filter-main .btn {
	min-height: 68px;
	font-size: 1.05rem;
	border-radius: 10px;
}

.filter-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 28px 22px;
}

.filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lm-ink);
	font-weight: 600;
	cursor: pointer;
}

.filter-toggle input {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: var(--lm-accent);
	cursor: pointer;
}

.filter-selects {
	display: flex;
	gap: 10px;
}

.filter-selects select {
	min-height: 40px;
	max-width: 180px;
	padding: 0 12px;
	border: 1.5px solid var(--lm-line);
	border-radius: 8px;
	background: var(--lm-white);
	color: var(--lm-muted);
	font-size: 0.84rem;
}

.recent-searches {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 28px 30px;
	color: #737b8a;
	font-size: 0.8rem;
}

.recent-searches span {
	height: 1px;
	flex: 1;
	background: #d7dce5;
}

.section {
	padding: 58px 0;
}

.section-heading {
	margin-bottom: 18px;
}

.section-heading h2,
.split-layout h2,
.newsletter-card h2,
.content-panel h2 {
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	font-weight: 800;
	line-height: 1.18;
}

.section-heading .text-link {
	color: var(--lm-accent);
	font-size: 0.9rem;
}

.card-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.card-grid.three {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vehicle-card {
	overflow: hidden;
	border: 1px solid #e4e9f2;
	border-radius: 8px;
	box-shadow: none;
}

.vehicle-image {
	min-height: 0;
	aspect-ratio: 1.36 / 1;
	margin: 16px 16px 0;
	border-radius: 7px;
	background: #eef1f4;
}

.vehicle-image img {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
}

.favorite-dot {
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: rgba(16, 24, 40, 0.78);
	color: var(--lm-white);
	font-size: 1.35rem;
	line-height: 1;
}

.vehicle-body {
	padding: 10px 16px 16px;
}

.auction-date {
	margin: 0 0 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f6f6f7;
	color: #344054;
	font-size: 0.76rem;
	text-align: center;
}

.vehicle-code-row,
.card-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.vehicle-code-row span {
	padding: 6px 10px;
	border: 1px solid #e4e9f2;
	border-radius: 6px;
	color: #344054;
	font-size: 0.74rem;
}

.vehicle-card h3 {
	min-height: 42px;
	margin: 12px 0 24px;
	color: var(--lm-ink);
	font-size: 0.95rem;
	font-weight: 800;
	text-transform: uppercase;
}

.card-line {
	color: #344054;
	font-size: 0.78rem;
}

.open-bid {
	margin: 10px 0 14px;
	color: var(--lm-success);
	font-size: 0.88rem;
	font-weight: 500;
}

.bid-mini {
	margin-bottom: 12px;
}

.bid-mini strong {
	font-size: 0.84rem;
	font-weight: 500;
}

.vehicle-card .btn {
	min-height: 47px;
	border-radius: 8px;
	font-size: 0.9rem;
}

.more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 42px;
}

.more-link {
	color: var(--lm-accent);
	font-size: 1.55rem;
	font-weight: 800;
	text-align: center;
}

.event-card {
	overflow: hidden;
	border: 1px solid #e4e9f2;
	border-radius: 8px;
	box-shadow: none;
}

.event-ribbon {
	display: flex;
	min-height: 27px;
	align-items: center;
	justify-content: center;
	background: var(--lm-accent);
	color: var(--lm-white);
	font-size: 0.78rem;
	font-weight: 800;
}

.event-body {
	padding: 18px 24px 24px;
}

.event-brand {
	margin-bottom: 18px;
	color: var(--lm-ink);
	font-size: 1.2rem;
	font-weight: 800;
	text-align: center;
}

.event-card h3 {
	min-height: 48px;
	margin: 0 0 18px;
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
}

.event-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
	padding-top: 18px;
	border-top: 1px solid var(--lm-line);
	color: var(--lm-ink);
	font-size: 0.86rem;
}

.event-meta li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.event-meta .event-location {
	grid-column: 1 / -1;
	padding-top: 18px;
	border-top: 1px solid var(--lm-line);
}

.trust-section {
	background: var(--lm-white);
}

.seller-section {
	background: var(--lm-white);
	color: var(--lm-ink);
}

.seller-section p,
.split-layout p {
	color: var(--lm-ink);
}

.check-list li {
	border-left: 0;
	box-shadow: none;
	font-weight: 500;
}

.check-list li::before {
	content: "✓";
	display: inline-grid;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	place-items: center;
	border: 1px solid var(--lm-accent);
	border-radius: 50%;
	color: var(--lm-accent);
	font-size: 0.78rem;
}

.testimonial-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-card,
.post-card {
	border: 1px solid #e4e9f2;
	box-shadow: none;
}

.muted {
	background: #f5f5f6;
}

.newsletter-section {
	background: #2b313c;
	color: var(--lm-white);
}

.newsletter-card p {
	color: var(--lm-white);
	font-weight: 700;
}

.newsletter-form input {
	border-radius: 8px 0 0 8px;
	border: 0;
}

.newsletter-form .btn {
	border-radius: 0 8px 8px 0;
}

.site-footer {
	background: #171b22;
}

@media (max-width: 1080px) {
	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.testimonial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.site-header {
		position: sticky;
	}

	.nav-wrap {
		min-height: 70px;
		gap: 16px;
	}

	.primary-nav {
		position: fixed;
		isolation: auto;
	}

	.hero-section {
		min-height: 360px;
	}

	.hero-content {
		padding: 48px 0 88px;
	}

	.filter-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.filter-tabs a:last-child {
		grid-column: 1 / -1;
	}

	.filter-main,
	.card-grid,
	.card-grid.three,
	.testimonial-grid,
	.split-layout,
	.post-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.filter-options,
	.filter-selects {
		align-items: stretch;
		flex-direction: column;
	}

	.filter-selects select {
		max-width: 100%;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.split-layout {
		gap: 28px;
	}

	.seller-section .btn {
		width: 100%;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 12px;
	}
}

@media (max-width: 520px) {
	.container {
		width: min(1210px, calc(100% - 24px));
	}

	.filter-main {
		padding: 18px 16px 12px;
	}

	.filter-options {
		padding: 10px 16px 18px;
	}

	.recent-searches {
		padding: 0 16px 22px;
	}

	.vehicle-filter input[type="search"],
	.filter-main .btn {
		min-height: 56px;
	}

	.filter-tabs a {
		min-height: 48px;
		font-size: 0.9rem;
	}

	.card-grid {
		gap: 14px;
	}

	.more-link {
		font-size: 1.2rem;
	}
}

/* Account pages */
.auth-page,
.account-dashboard {
	background:
		linear-gradient(118deg, rgba(255, 23, 68, 0.98) 0%, rgba(206, 24, 64, 0.96) 54%, rgba(245, 247, 251, 1) 54.2%, rgba(245, 247, 251, 1) 100%),
		#f5f7fb;
}

.auth-page {
	min-height: 760px;
	padding: 72px 0;
}

.clean-auth-body {
	background: #f5f7fb;
}

.clean-auth-main {
	min-height: 100vh;
}

.clean-auth-page {
	min-height: 100vh;
	display: grid;
	align-items: center;
	padding: 48px 0;
}

.clean-auth-brand {
	display: inline-flex;
	margin-bottom: 28px;
	color: var(--lm-white);
	font-size: 1.35rem;
	font-weight: 800;
}

.auth-shell {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
	gap: 42px;
	align-items: center;
}

.auth-shell-login {
	grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
}

.auth-copy {
	color: var(--lm-white);
}

.auth-copy h1,
.dashboard-hero h1 {
	max-width: 640px;
	margin: 10px 0 16px;
	font-size: clamp(2rem, 5vw, 4.3rem);
	line-height: 1;
}

.auth-copy p,
.dashboard-hero p {
	max-width: 560px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.05rem;
}

.auth-benefits,
.auth-mini-dashboard {
	display: grid;
	gap: 12px;
	margin-top: 32px;
}

.auth-benefits {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-benefits span,
.auth-mini-dashboard div {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
}


.auth-benefits span {
	padding: 16px;
	font-weight: 800;
}

.auth-mini-dashboard div {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px 16px;
}

.auth-mini-dashboard strong {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 50%;
	background: var(--lm-accent);
	color: #171717;
}

.auth-panel,
.account-card,
.stat-card {
	border: 1px solid #e1e8f2;
	border-radius: 8px;
	background: var(--lm-white);
	box-shadow: 0 22px 60px rgba(16, 24, 40, 0.14);
}

.auth-panel {
	padding: 32px;
}

.auth-panel-head,
.auth-row,
.dashboard-section-head,
.dashboard-action-card,
.dashboard-lot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.auth-panel-head {
	margin-bottom: 22px;
}

.auth-panel-head h2,
.account-card h2 {
	margin: 0;
	color: var(--lm-ink);
	font-size: 1.4rem;
}

.auth-panel-head a,
.auth-row a {
	color: var(--lm-primary);
	font-weight: 800;
}

.auth-notice {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 8px;
	font-weight: 800;
}

.auth-notice-error {
	background: #fff1f0;
	color: var(--lm-danger);
}

.auth-notice-success {
	background: #edfdf5;
	color: var(--lm-success);
}

.auth-form,
.dashboard-profile-form {
	display: grid;
	gap: 12px;
}

.auth-form-grid,
.dashboard-profile-form {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-wide,
.dashboard-profile-form .btn {
	grid-column: 1 / -1;
}

.auth-form label,
.dashboard-profile-form label {
	color: #334155;
	font-size: 0.84rem;
	font-weight: 800;
}

.auth-panel,
.auth-panel p,
.auth-panel span,
.auth-panel label,
.auth-panel h2 {
	color: var(--lm-ink);
}

.auth-panel .auth-check span {
	color: #475569;
}

.auth-form input:not([type="checkbox"]),
.dashboard-profile-form input {
	width: 100%;
	min-height: 48px;
	margin-top: 6px;
	padding: 0 14px;
	border: 1px solid #d8e1ec;
	border-radius: 8px;
	background: #f8fafc;
	color: var(--lm-ink);
	font: inherit;
}

.auth-form input:focus,
.dashboard-profile-form input:focus {
	border-color: var(--lm-primary);
	background: var(--lm-white);
	outline: none;
	box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.auth-check {
	display: flex;
	align-items: center;
	gap: 10px;
}

.auth-check input {
	width: 18px;
	height: 18px;
	accent-color: var(--lm-accent);
}

.auth-check span {
	color: #475569;
	font-size: 0.9rem;
	font-weight: 700;
}

.account-dashboard {
	min-height: 760px;
	padding: 54px 0 80px;
}

.dashboard-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 0 46px;
	color: var(--lm-white);
}

.dashboard-grid {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.dashboard-sidebar {
	display: grid;
	gap: 16px;
	position: sticky;
	top: 118px;
}

.account-card,
.stat-card {
	box-shadow: none;
}

.account-profile-card {
	padding: 24px;
	text-align: center;
}

.avatar-badge {
	display: grid;
	width: 72px;
	height: 72px;
	margin: 0 auto 14px;
	place-items: center;
	border-radius: 50%;
	background: var(--lm-primary);
	color: var(--lm-white);
	font-size: 2rem;
	font-weight: 800;
}

.account-profile-card p {
	margin: 8px 0 0;
	color: var(--lm-muted);
	word-break: break-word;
}

.profile-meter {
	margin-top: 20px;
	text-align: left;
}

.profile-meter span {
	display: block;
	margin-bottom: 8px;
	font-size: 0.84rem;
	font-weight: 800;
}

.profile-meter div {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #edf2f7;
}

.profile-meter i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--lm-accent);
}

.dashboard-nav {
	display: grid;
	overflow: hidden;
	border: 1px solid #e1e8f2;
	border-radius: 8px;
	background: var(--lm-white);
}

.dashboard-nav a {
	padding: 14px 18px;
	border-bottom: 1px solid #e1e8f2;
	color: #334155;
	font-weight: 800;
}

.dashboard-nav a:last-child {
	border-bottom: 0;
}

.dashboard-nav a.is-active,
.dashboard-nav a:hover {
	background: #f8fafc;
	color: var(--lm-primary);
}

.dashboard-main {
	display: grid;
	gap: 18px;
}

.dashboard-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.stat-card {
	padding: 22px;
}

.stat-card span {
	display: block;
	color: var(--lm-muted);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
}

.stat-card strong {
	display: block;
	margin-top: 8px;
	color: var(--lm-primary);
	font-size: 2rem;
	line-height: 1;
}

.dashboard-action-card,
.account-card {
	padding: 24px;
}

.dashboard-action-card {
	background: #101828;
	color: var(--lm-white);
}

.dashboard-action-card p:not(.eyebrow) {
	max-width: 560px;
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.72);
}

.dashboard-section-head {
	margin-bottom: 18px;
}

.dashboard-lot-list {
	display: grid;
	gap: 10px;
}

.dashboard-lot {
	padding: 12px;
	border: 1px solid #e4e9f2;
	border-radius: 8px;
	background: #f8fafc;
}

.dashboard-lot > span {
	width: 72px;
	height: 54px;
	overflow: hidden;
	border-radius: 6px;
	background: #e5e7eb;
}

.dashboard-lot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dashboard-lot div {
	min-width: 0;
	flex: 1;
}

.dashboard-lot strong,
.dashboard-lot small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dashboard-lot small {
	color: var(--lm-muted);
}

.dashboard-lot em {
	padding: 6px 10px;
	border-radius: 999px;
	background: #edfdf5;
	color: var(--lm-success);
	font-size: 0.76rem;
	font-style: normal;
	font-weight: 800;
}

.dashboard-empty {
	padding: 22px;
	border: 1px dashed #ccd6e3;
	border-radius: 8px;
	background: #f8fafc;
}

.dashboard-empty p {
	margin: 6px 0 0;
	color: var(--lm-muted);
}

@media (max-width: 980px) {
	.auth-page,
	.account-dashboard {
		background: linear-gradient(180deg, #101828 0 360px, #f5f7fb 360px);
	}

	.auth-shell,
	.auth-shell-login,
	.dashboard-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-sidebar {
		position: static;
	}

	.dashboard-hero {
		align-items: flex-start;
		flex-direction: column;
	}

	.clean-auth-page.auth-page {
		background: linear-gradient(180deg, rgba(255, 23, 68, 0.98) 0 470px, #f5f7fb 470px);
	}

	.clean-auth-page .auth-shell,
	.clean-auth-page .auth-shell-login {
		gap: 26px;
	}

	.clean-auth-page .auth-copy {
		padding-top: 8px;
	}

	.clean-auth-page .auth-copy h1 {
		max-width: 560px;
		font-size: clamp(2rem, 10vw, 3.4rem);
	}

	.clean-auth-page .auth-copy p {
		max-width: 560px;
	}
}

@media (max-width: 680px) {
	.auth-page {
		padding: 42px 0;
	}

	.auth-panel,
	.account-card,
	.stat-card {
		padding: 18px;
	}

	.auth-benefits,
	.dashboard-stats,
	.auth-form-grid,
	.dashboard-profile-form {
		grid-template-columns: 1fr;
	}

	.auth-wide,
	.dashboard-profile-form .btn {
		grid-column: auto;
	}

	.auth-row,
	.auth-panel-head,
	.dashboard-action-card,
	.dashboard-lot {
		align-items: stretch;
		flex-direction: column;
	}

	.dashboard-lot > span {
		width: 100%;
		height: 150px;
	}

	.clean-auth-page.auth-page {
		min-height: 100vh;
		padding: 24px 0 36px;
		background: linear-gradient(180deg, rgba(255, 23, 68, 0.98) 0 500px, #f5f7fb 500px);
	}

	.clean-auth-page .clean-auth-brand {
		margin-bottom: 18px;
		font-size: 1.1rem;
	}

	.clean-auth-page .auth-copy .eyebrow {
		font-size: 0.74rem;
	}

	.clean-auth-page .auth-copy h1 {
		margin-bottom: 12px;
		font-size: clamp(2.15rem, 13vw, 3.2rem);
		line-height: 1.04;
	}

	.clean-auth-page .auth-copy p {
		font-size: 0.98rem;
		line-height: 1.5;
	}

	.clean-auth-page .auth-benefits {
		gap: 8px;
		margin-top: 20px;
	}

	.clean-auth-page .auth-benefits span {
		padding: 12px 14px;
	}

	.clean-auth-page .auth-panel {
		padding: 22px 18px;
		box-shadow: 0 18px 46px rgba(16, 24, 40, 0.16);
	}

	.clean-auth-page .auth-panel-head {
		flex-direction: row;
	}

	.clean-auth-page .auth-row {
		gap: 10px;
	}
}

/* Final readability overrides */
.clean-auth-page .auth-copy,
.clean-auth-page .auth-copy h1,
.clean-auth-page .auth-copy .eyebrow,
.clean-auth-page .clean-auth-brand {
	color: var(--lm-white);
}

.clean-auth-page .auth-copy p {
	color: rgba(255, 255, 255, 0.86);
}

.clean-auth-page .auth-benefits span,
.clean-auth-page .auth-mini-dashboard div {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.14);
	color: var(--lm-white);
	box-shadow: 0 16px 38px rgba(120, 12, 36, 0.16);
	backdrop-filter: blur(14px);
}

.hero-carousel .hero-content,
.hero-carousel .hero-content h1,
.hero-carousel .hero-content p,
.hero-carousel .hero-content .eyebrow {
	color: #172033;
}

.hero-carousel .hero-content p:not(.eyebrow) {
	color: #344054;
}

.hero-carousel .hero-link {
	color: #172033;
}

.hero-carousel .hero-slide.has-image .hero-bg::after {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.54) 38%, rgba(255, 255, 255, 0.14) 70%, rgba(255, 255, 255, 0) 100%) !important;
}

/* Cleaner internal page hero */
.module-hero {
	padding: 92px 0 !important;
	background:
		linear-gradient(125deg, rgba(255, 23, 68, 0.12) 0 34%, transparent 34.2%),
		linear-gradient(135deg, #171c25, #252c38) !important;
}

.module-hero::before {
	position: absolute;
	inset: auto -12% -42% 52%;
	height: 420px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(255, 23, 68, 0.34) 0, rgba(255, 23, 68, 0.12) 42%, transparent 70%);
	content: "";
}

.module-hero-grid > div:first-child {
	padding-bottom: 0 !important;
}

.module-hero-art {
	position: relative !important;
	align-self: stretch !important;
	min-height: 330px !important;
	overflow: hidden !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	border-radius: 8px !important;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
		linear-gradient(135deg, rgba(255, 23, 68, 0.18), rgba(16, 24, 40, 0)) !important;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22) !important;
}

.module-hero-art-img,
.module-hero-art.has-image::after {
	display: none !important;
}

.module-hero-art span {
	position: absolute !important;
	display: block !important;
	border-radius: 8px !important;
}

.module-hero-art span:nth-child(1) {
	left: -12% !important;
	top: 26% !important;
	width: 82% !important;
	height: 26% !important;
	background: rgba(255, 23, 68, 0.82) !important;
	transform: rotate(-12deg);
}

.module-hero-art span:nth-child(2) {
	right: 9% !important;
	top: 18% !important;
	width: 42% !important;
	height: 18% !important;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.14) !important;
}

.module-hero-art span:nth-child(3) {
	right: 12% !important;
	bottom: 18% !important;
	left: auto !important;
	width: 66% !important;
	height: 12% !important;
	background: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 920px) {
	.module-hero {
		padding: 64px 0 !important;
	}

	.module-hero-art {
		min-height: 220px !important;
	}
}

/* Internal hero without decorative side panel */
.module-hero {
	padding: 92px 0 !important;
	background:
		radial-gradient(circle at 82% 22%, rgba(255, 23, 68, 0.28) 0 12%, transparent 28%),
		linear-gradient(125deg, rgba(255, 23, 68, 0.16) 0 30%, transparent 30.2%),
		linear-gradient(135deg, #171c25, #252c38) !important;
}

.module-hero::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 76%);
	content: "";
}

.module-hero::after {
	position: absolute;
	right: -12%;
	bottom: -48%;
	width: 620px;
	height: 620px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 23, 68, 0.18) 0, rgba(255, 23, 68, 0.08) 38%, transparent 70%);
	content: "";
}

.module-hero-grid {
	grid-template-columns: minmax(0, 1fr) !important;
}

.module-hero-grid > div:first-child {
	max-width: 820px;
	padding-bottom: 0 !important;
}

.module-hero-art {
	display: none !important;
}

/* Internal hero car placement */
.module-hero {
	min-height: 430px;
	padding: 82px 0 0 !important;
	overflow: visible !important;
	background:
		radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--lm-accent) 34%, transparent) 0 12%, transparent 30%),
		linear-gradient(120deg, color-mix(in srgb, var(--lm-accent) 55%, var(--lm-primary)) 0 26%, color-mix(in srgb, var(--lm-primary) 92%, #111827) 26.2% 58%, color-mix(in srgb, var(--lm-accent) 46%, var(--lm-primary)) 100%),
		linear-gradient(135deg, var(--lm-primary), #111827) !important;
}

.module-hero::before {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 82%);
}

.module-hero::after {
	right: -8%;
	bottom: -46%;
	width: 560px;
	height: 560px;
	background: radial-gradient(circle, color-mix(in srgb, var(--lm-accent) 24%, transparent) 0, color-mix(in srgb, var(--lm-accent) 12%, transparent) 38%, transparent 70%);
}

.module-hero-grid {
	min-height: 348px;
	grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr) !important;
	align-items: end;
}

.module-hero-grid > div:first-child {
	position: relative;
	z-index: 2;
	max-width: 660px;
	padding-bottom: 58px !important;
}

.module-hero-art.has-image {
	position: relative !important;
	z-index: 10;
	display: flex !important;
	align-self: end !important;
	justify-content: flex-end;
	min-height: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.module-hero-art.has-image::before {
	position: absolute;
	right: -9%;
	bottom: -72px;
	z-index: -1;
	width: min(620px, 118%);
	height: 170px;
	border-radius: 50%;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--lm-accent) 68%, transparent), color-mix(in srgb, var(--lm-primary) 42%, transparent)),
		color-mix(in srgb, var(--lm-accent) 24%, transparent);
	filter: blur(3px);
	content: "";
}

.module-hero-art.has-image .module-hero-art-img {
	display: block !important;
	width: min(610px, 112%);
	max-width: none;
	margin-right: -34px;
	margin-bottom: -90px;
	filter: saturate(0.82) contrast(1.06) drop-shadow(0 28px 28px rgba(0, 0, 0, 0.34));
}

@media (max-width: 920px) {
	.module-hero {
		min-height: auto;
		padding: 58px 0 0 !important;
	}

	.module-hero-grid {
		min-height: 0;
		grid-template-columns: 1fr !important;
		gap: 10px;
	}

	.module-hero-grid > div:first-child {
		padding-bottom: 18px !important;
	}

	.module-hero-art.has-image {
		justify-content: center;
		max-height: 230px;
		overflow: hidden !important;
	}

	.module-hero-art.has-image .module-hero-art-img {
		width: min(520px, 118%);
		margin: 0 auto -42px;
	}
}
