:root {
	--dcc-home-navy: #071f35;
	--dcc-home-gold: #ffcd33;
	--dcc-home-white: #fff;
}

/* Replace the old splash and move both search tools into hero-triggered modals. */
body.home #main-content .touch-paint-banner {
	display: none !important;
}

body.home #main-content .home-search-section,
body.home #main-content .touch-paint-banner + .et_pb_section > .et_pb_row_1,
body.home #main-content .home-search-section .et_pb_text_0 {
	display: none !important;
}

body.home #main-content .touch-paint-banner + .et_pb_section {
	display: none !important;
}

.dcc-home-hero {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background: var(--dcc-home-navy);
	color: var(--dcc-home-white);
	font-family: "Libre Franklin", Arial, sans-serif;
}

.dcc-home-hero__inner {
	display: grid;
	min-height: clamp(480px, 38vw, 540px);
	grid-template-columns: minmax(0, 49%) minmax(0, 51%);
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
	padding: 34px clamp(30px, 5.5vw, 88px) 28px;
}

.dcc-home-hero__copy {
	position: relative;
	z-index: 3;
	max-width: 720px;
}

.dcc-home-hero__eyebrow {
	margin: 0 0 18px !important;
	color: var(--dcc-home-gold) !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.35;
}

.dcc-home-hero h1 {
	margin: 0;
	padding: 0;
	color: var(--dcc-home-white);
	font-family: "Libre Franklin", Arial, sans-serif;
	font-size: clamp(40px, 3.6vw, 56px);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.08;
	text-wrap: balance;
}

.dcc-home-hero__lead {
	max-width: 650px;
	margin: 20px 0 0 !important;
	color: #dce7ee !important;
	font-size: clamp(16px, 1.2vw, 19px);
	letter-spacing: 0 !important;
	line-height: 1.55 !important;
}

.dcc-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 27px;
}

.dcc-home-hero__button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 0 27px;
	border: 2px solid var(--dcc-home-white);
	border-radius: 6px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.dcc-home-hero__button:hover {
	transform: translateY(-2px);
}

.dcc-home-hero__button--primary {
	border-color: var(--dcc-home-gold);
	background: var(--dcc-home-gold);
	color: var(--dcc-home-navy) !important;
}

.dcc-home-hero__button--primary:hover {
	border-color: #ffda66;
	background: #ffda66;
}

.dcc-home-hero__button--secondary {
	background: rgba(7, 31, 53, .3);
	color: var(--dcc-home-white) !important;
}

.dcc-home-hero__button--secondary:hover {
	border-color: var(--dcc-home-gold);
	color: var(--dcc-home-gold) !important;
}

.dcc-home-hero__visual {
	position: absolute;
	inset: 0 0 48px 24%;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	pointer-events: none;
}

.dcc-home-hero__visual::before {
	display: none;
}

.dcc-home-hero__visual picture {
	display: block;
	width: 100%;
	height: 100%;
}

.dcc-home-hero__visual img {
	width: 100%;
	height: 100%;
	max-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, #000 31%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, #000 31%);
	object-fit: cover;
	object-position: right center;
}

.dcc-home-hero__ticker {
	position: relative;
	z-index: 4;
	overflow: hidden;
	border-top: 1px solid rgba(255, 205, 51, .72);
	background: rgba(5, 25, 43, .97);
}

.dcc-home-hero__ticker-track {
	display: flex;
	width: max-content;
	animation: dcc-home-ticker 34s linear infinite;
}

.dcc-home-hero__ticker span {
	display: block;
	flex: none;
	padding: 17px 32px;
	color: var(--dcc-home-white);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.dcc-home-hero__ticker i {
	padding: 0 14px;
	color: var(--dcc-home-gold);
	font-style: normal;
}

body.dcc-search-modal-open,
body.dcc-video-modal-open {
	overflow: hidden;
}

.dcc-search-modal[hidden],
.dcc-video-modal[hidden] {
	display: none !important;
}

.dcc-search-modal,
.dcc-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 24px;
}

.dcc-search-modal__backdrop,
.dcc-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 15, 27, .78);
	backdrop-filter: blur(4px);
}

.dcc-search-modal__dialog,
.dcc-video-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(760px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 34px;
	border-top: 5px solid var(--dcc-home-gold);
	border-radius: 10px;
	background: #f4f5f6;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

.dcc-video-modal__dialog {
	width: min(960px, 100%);
	padding: 28px;
	background: var(--dcc-home-navy);
}

.dcc-search-modal[data-dcc-modal-type="vehicle"] .dcc-search-modal__dialog {
	min-height: min(560px, calc(100vh - 48px));
}

.dcc-search-modal__dialog h2,
.dcc-video-modal__dialog h2 {
	margin: 0 48px 24px 0;
	padding: 0;
	color: var(--dcc-home-navy);
	font-family: "Libre Franklin", Arial, sans-serif;
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.18;
}

.dcc-video-modal__dialog h2 {
	color: var(--dcc-home-white);
}

.dcc-search-modal__close,
.dcc-video-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--dcc-home-navy);
	color: #fff;
	cursor: pointer;
	font-size: 30px;
	line-height: 38px;
}

.dcc-video-modal__close {
	background: var(--dcc-home-gold);
	color: var(--dcc-home-navy);
}

.dcc-video-modal__player {
	overflow: hidden;
	border-radius: 6px;
	background: #000;
}

.dcc-video-modal__player video {
	display: block;
	width: 100%;
	max-height: calc(100vh - 190px);
	background: #000;
}

.dcc-search-modal__content form {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.dcc-search-modal__content input,
.dcc-search-modal__content select {
	max-width: 100%;
}

.dcc-search-modal__content input[type="submit"],
.dcc-search-modal__content button[type="submit"] {
	display: inline-flex !important;
	min-width: 78px;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: 5px !important;
	background: var(--dcc-home-gold) !important;
	color: var(--dcc-home-navy) !important;
	cursor: pointer;
	font-size: 17px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	opacity: 1;
}

.dcc-search-modal__content input[type="submit"]:hover,
.dcc-search-modal__content button[type="submit"]:hover {
	background: #ffda66 !important;
}

.dcc-search-modal #color_code_search_form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
}

.dcc-search-modal #color_code_search_form input[type="text"] {
	width: 100% !important;
	height: 50px !important;
	padding: 0 14px !important;
	border: 1px solid #cbd3d8 !important;
	border-radius: 4px !important;
	background: #fff !important;
	font-size: 16px !important;
}

.dcc-search-modal #advanced_search_form input[type="submit"],
.dcc-search-modal #advanced_search_form button[type="submit"] {
	margin-top: 16px !important;
}

.dcc-search-modal__paint-code-help {
	display: none;
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid #d5dadd;
	color: var(--dcc-home-navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.dcc-search-modal[data-dcc-modal-type="vehicle"] .dcc-search-modal__paint-code-help {
	display: block;
}

.dcc-search-modal__paint-code-help a {
	display: inline-block;
	margin-left: 4px;
	color: #8a5b00 !important;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--dcc-home-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.dcc-search-modal__paint-code-help a:hover,
.dcc-search-modal__paint-code-help a:focus {
	color: var(--dcc-home-navy) !important;
}

@keyframes dcc-home-ticker {
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.dcc-home-hero__ticker-track { animation: none; }
}

@media (max-width: 980px) {
	.dcc-home-hero__inner {
		min-height: auto;
		grid-template-columns: 1fr;
		padding: 64px 28px 0;
	}

	.dcc-home-hero__copy {
		max-width: 700px;
	}

	.dcc-home-hero__visual {
		position: relative;
		inset: auto;
		width: calc(100% + 56px);
		height: auto;
		margin: 25px -28px 0;
		overflow: hidden;
		background: var(--dcc-home-navy);
	}

	.dcc-home-hero__visual::before {
		display: none;
	}

	.dcc-home-hero__visual picture {
		height: auto;
	}

	.dcc-home-hero__visual img {
		display: block;
		width: 100%;
		height: auto;
		-webkit-mask-image: none;
		mask-image: none;
		object-fit: contain;
		object-position: center;
	}
}

@media (max-width: 600px) {
	.dcc-home-hero h1 {
		font-size: clamp(39px, 11.2vw, 54px);
	}

	.dcc-home-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.dcc-home-hero__button {
		width: 100%;
	}

	.dcc-home-hero__ticker span {
		padding: 14px 24px;
		font-size: 13px;
	}

	.dcc-search-modal,
	.dcc-video-modal {
		padding: 14px;
	}

	.dcc-search-modal__dialog,
	.dcc-video-modal__dialog {
		padding: 28px 18px 22px;
	}

	.dcc-search-modal[data-dcc-modal-type="vehicle"] .dcc-search-modal__dialog {
		min-height: min(520px, calc(100vh - 28px));
	}

	.dcc-search-modal #color_code_search_form {
		grid-template-columns: 1fr;
	}
}
