/*
 * Dream Cars 77 — design layer for Divi 5.
 * Loaded by mu-plugins/dreamcars-ui.php on every front-end page.
 * Removing that one PHP file reverts the site to plain Divi.
 */

:root {
	--dc-red: #e02b20;
	--dc-red-dark: #b81f16;
	--dc-ink: #0d0e11;
	--dc-ink-2: #16181d;
	--dc-ink-3: #22252c;
	--dc-text: #1d1f24;
	--dc-muted: #5f6672;
	--dc-line: #e6e8ec;
	--dc-soft: #f4f5f7;
	--dc-white: #fff;
	--dc-radius: 16px;
	--dc-radius-sm: 10px;
	--dc-shadow: 0 1px 2px rgba(16, 18, 24, .06), 0 8px 24px rgba(16, 18, 24, .08);
	--dc-shadow-lg: 0 2px 4px rgba(16, 18, 24, .06), 0 24px 48px rgba(16, 18, 24, .16);
	--dc-wrap: 1240px;
	--dc-font: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
	--dc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 1. Migration fixes: page background, boxed layout, fonts ---------- */

/* Divi 5 copies the WordPress background colour (#000000 on this site) onto
   #main-content and makes it transparent on builder pages, so every car page
   turned black after the migration. The site now runs full width on white. */
body,
body.custom-background {
	background: var(--dc-white) !important;
	color: var(--dc-text);
	font-family: var(--dc-font);
	-webkit-font-smoothing: antialiased;
}
.et_boxed_layout #page-container,
.et_boxed_layout #page-container #main-header,
.et_boxed_layout #page-container #top-header,
.et_boxed_layout #page-container .container {
	box-shadow: none;
}
.et_boxed_layout #page-container,
.et_boxed_layout.et_non_fixed_nav.et_transparent_nav #page-container #top-header,
.et_boxed_layout.et_non_fixed_nav.et_transparent_nav #page-container #main-header,
.et_fixed_nav.et_boxed_layout #page-container #top-header,
.et_fixed_nav.et_boxed_layout #page-container #main-header {
	max-width: none;
	width: 100%;
}
body.et_divi_theme #page-container,
body.et_divi_theme #et-main-area,
body.et_divi_theme #main-content {
	background: var(--dc-white);
}

body,
p,
li,
input,
textarea,
select,
button,
.et_pb_text,
.et_pb_post .post-content,
.et_pb_testimonial_description,
#top-menu a,
#et-secondary-nav a,
#et-info {
	font-family: var(--dc-font);
}
h1, h2, h3, h4, h5, h6,
.et_pb_module_header,
.entry-title,
.et_pb_post .entry-title {
	font-family: var(--dc-font) !important;
	color: var(--dc-text);
	letter-spacing: -.01em;
	line-height: 1.2;
	font-weight: 800;
}
p { line-height: 1.75; }
a { transition: color .2s var(--dc-ease); }

/* Wider, modern content width */
.container,
.et_pb_row {
	width: 90%;
	max-width: var(--dc-wrap);
}

/* ---------- 2. Header ---------- */

/* Divi's customizer prints `.et_secondary_nav_enabled #page-container #top-header {… !important}`,
   so these selectors carry one more element to win. */
body.et_secondary_nav_enabled #page-container #top-header,
body #page-container #top-header {
	background: var(--dc-ink) !important;
}
#top-header .container { padding-top: 9px; }
body #top-header,
body #top-header a,
body #et-info,
body #et-secondary-nav li a {
	color: rgba(255, 255, 255, .78) !important;
	font-size: 13px;
	font-weight: 600;
}
#top-header a:hover,
#et-secondary-nav li a:hover { color: #fff !important; }
#et-info-phone::before,
#et-info-email::before { color: var(--dc-red); }

#main-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 9999;
	background: rgba(255, 255, 255, .92) !important;
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 1px 0 var(--dc-line);
	transition: box-shadow .3s var(--dc-ease), background .3s var(--dc-ease);
}
.dc-scrolled #main-header {
	box-shadow: 0 1px 0 var(--dc-line), 0 10px 30px rgba(16, 18, 24, .08);
}
#main-header .container { width: 94%; max-width: 1400px; }
#logo {
	max-height: 58px !important;
	width: auto;
	transition: max-height .3s var(--dc-ease);
}
.dc-scrolled #logo { max-height: 46px !important; }
.et_header_style_left #et-top-navigation,
.et_header_style_left .logo_container { padding: 0; }
.et_header_style_left #et-top-navigation { padding-top: 0 !important; }
#et-top-navigation { display: flex; align-items: center; min-height: 84px; transition: min-height .3s var(--dc-ease); }
.dc-scrolled #et-top-navigation { min-height: 68px; }
#main-header .logo_container { display: flex; align-items: center; }

@media (min-width: 981px) {
	#main-header .et_menu_container { display: flex; align-items: center; justify-content: space-between; }
	#main-header .logo_container { position: relative; height: auto; width: auto; flex: 0 0 auto; }
	#main-header .logo_helper { display: none; }
	/* Divi's JS writes an inline padding-left sized for the old float layout. */
	#et-top-navigation { float: none; flex: 1 1 auto; justify-content: flex-end; padding-left: 24px !important; }
	/* Dropdowns near the right edge open leftwards instead of off-screen. */
	#top-menu > li:nth-last-child(-n+3) > ul { left: auto; right: 0; }
	#top-menu > li:nth-last-child(-n+3) > ul ul { left: auto; right: 100%; }
	#top-menu-nav,
	#top-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
	#top-menu > li { padding-right: 0; }
	#main-header #top-menu > li > a {
		position: relative;
		padding: 10px 11px !important;
		font-size: 15px;
		font-weight: 700;
		color: var(--dc-text) !important;
		opacity: 1 !important;
	}
	#top-menu > li > a::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 4px;
		height: 2px;
		background: var(--dc-red);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .3s var(--dc-ease);
	}
	#top-menu > li.menu-item-has-children > a::after { right: 26px; }
	#top-menu > li > a:hover::after,
	#top-menu > li.current-menu-item > a::after,
	#top-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
	#top-menu > li.menu-item-has-children > a { padding-right: 26px !important; }
	#top-menu > li.menu-item-has-children > a:first-child::before { right: 6px; top: 11px; color: var(--dc-muted); }
	#main-header #top-menu li.current-menu-item > a { color: var(--dc-red) !important; }

	/* Last item becomes a call-to-action pill */
	#main-header #top-menu > li.dc-nav-cta > a {
		margin-left: 8px;
		padding: 11px 20px !important;
		border-radius: 999px;
		background: var(--dc-red);
		color: #fff !important;
		box-shadow: 0 6px 18px rgba(224, 43, 32, .32);
		transition: background .2s, transform .2s var(--dc-ease), box-shadow .2s;
	}
	#top-menu > li.dc-nav-cta > a::after { display: none; }
	#main-header #top-menu > li.dc-nav-cta > a:hover { background: var(--dc-red-dark); transform: translateY(-1px); }

	#top-menu li ul,
	.nav li ul {
		border-top: 0;
		border-radius: 12px;
		padding: 8px;
		width: 260px;
		box-shadow: var(--dc-shadow-lg);
		background: #fff;
	}
	/* Divi makes every menu li inline-block: two short sub-items would share a row. */
	#top-menu li li { display: block; padding: 0; }
	#main-header #top-menu li li a {
		width: 100%;
		padding: 9px 12px;
		border-radius: 8px;
		font-size: 14px;
		font-weight: 600;
		color: var(--dc-text) !important;
	}
	#top-menu li li a:hover { background: var(--dc-soft); opacity: 1; }
}
@media (min-width: 981px) and (max-width: 1300px) {
	#main-header #top-menu > li > a { padding: 10px 7px !important; font-size: 13.5px; }
	#main-header #top-menu > li.menu-item-has-children > a { padding-right: 20px !important; }
	#main-header #top-menu > li.dc-nav-cta > a { padding: 10px 16px !important; }
	#top-menu > li > a::after { left: 7px; right: 7px; }
	#top-menu > li.menu-item-has-children > a:first-child::before { right: 2px; }
	#logo { max-height: 44px !important; }
	#et-top-navigation { padding-left: 12px !important; }
}

/* Mobile menu */
.mobile_menu_bar::before { color: var(--dc-text) !important; font-size: 34px; }
.et_mobile_menu {
	border-top: 0;
	border-radius: 0 0 var(--dc-radius) var(--dc-radius);
	box-shadow: var(--dc-shadow-lg);
	padding: 10px 6% 18px;
}
.et_mobile_menu li a {
	font-family: var(--dc-font);
	font-weight: 700;
	font-size: 16px;
	color: var(--dc-text) !important;
	border-bottom: 1px solid var(--dc-line);
	padding: 13px 4%;
}
.et_mobile_menu li li a { font-weight: 600; font-size: 15px; color: var(--dc-muted) !important; }
.et_mobile_menu li.dc-nav-cta > a {
	margin-top: 12px;
	border: 0;
	border-radius: 999px;
	background: var(--dc-red);
	color: #fff !important;
	text-align: center;
}
@media (max-width: 980px) {
	#main-header { position: sticky; }
	#main-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
	#main-header .logo_container { position: relative; height: auto; width: auto; }
	#main-header .logo_helper { display: none; }
	#main-header #et-top-navigation { min-height: 70px; display: flex; align-items: center; padding-left: 0 !important; }
	#main-header .mobile_menu_bar { padding-bottom: 0 !important; display: block; }
	#et_mobile_nav_menu { margin: 0; }
	#logo { max-height: 46px !important; }
	#top-header .container { padding-top: 6px; }
}

/* ---------- 3. Buttons ---------- */

.dc-btn,
body #page-container .et_pb_button:not(.et_pb_more_button) {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--dc-font);
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s var(--dc-ease), box-shadow .2s var(--dc-ease), background .2s;
}
.dc-btn--primary,
body #page-container .et_pb_button:not(.et_pb_more_button) {
	background: var(--dc-red) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(224, 43, 32, .3);
}
.dc-btn--primary:hover,
body #page-container .et_pb_button:not(.et_pb_more_button):hover {
	background: var(--dc-red-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(224, 43, 32, .38);
}
body #page-container .et_pb_button::after { display: none !important; }
.dc-btn--glass {
	background: rgba(255, 255, 255, .1);
	color: #fff !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.dc-btn--glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.dc-btn--ghost {
	background: transparent;
	color: var(--dc-text) !important;
	box-shadow: inset 0 0 0 2px var(--dc-line);
}
.dc-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--dc-text); transform: translateY(-2px); }
.dc-btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- 4. Home: hero ---------- */

.et_pb_section.dc-sec-hero,
.et_pb_section:has(> .et_pb_row .dc-hero) {
	padding: 0 !important;
	background: var(--dc-ink) !important;
}
.dc-sec-hero > .et_pb_row,
.et_pb_section:has(.dc-hero) > .et_pb_row {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
}
.dc-sec-hero .et_pb_column,
.dc-sec-hero .et_pb_module { margin-bottom: 0 !important; }

.dc-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(88vh, 860px);
	overflow: hidden;
	color: #fff;
	isolation: isolate;
}
.dc-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--dc-ink) center / cover no-repeat;
}
.dc-hero__media img,
.dc-hero__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 50%;
}
.dc-hero__media img { animation: dc-kenburns 22s ease-in-out infinite alternate; }
.dc-hero__media video { opacity: 0; transition: opacity 1.2s ease; }
.dc-hero__media video.is-playing { opacity: 1; }
/* The still is fully covered once the video plays; stop animating it. */
.dc-hero.has-video .dc-hero__media img { animation-play-state: paused; }
@keyframes dc-kenburns {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.dc-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 9, 12, .92) 0%, rgba(8, 9, 12, .7) 38%, rgba(8, 9, 12, .15) 70%, rgba(8, 9, 12, .35) 100%),
		linear-gradient(0deg, rgba(8, 9, 12, .85) 0%, rgba(8, 9, 12, 0) 35%);
}
.dc-hero__inner {
	width: 90%;
	max-width: var(--dc-wrap);
	margin: 0 auto;
	padding: 120px 0 150px;
}
.dc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .9);
}
.dc-eyebrow i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dc-red);
	box-shadow: 0 0 0 0 rgba(224, 43, 32, .7);
	animation: dc-pulse 2s infinite;
}
@keyframes dc-pulse {
	70% { box-shadow: 0 0 0 10px rgba(224, 43, 32, 0); }
	100% { box-shadow: 0 0 0 0 rgba(224, 43, 32, 0); }
}
.dc-hero h1 {
	max-width: 760px;
	margin: 0 0 22px;
	padding: 0;
	color: #fff !important;
	font-size: clamp(38px, 6vw, 76px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -.03em;
}
.dc-hero h1 span {
	background: linear-gradient(90deg, #ff5a4e, var(--dc-red));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.dc-hero__lead {
	max-width: 600px;
	margin: 0 0 34px;
	padding: 0;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
}
.dc-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.dc-hero__stats {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	background: linear-gradient(0deg, rgba(8, 9, 12, .7), rgba(8, 9, 12, .35));
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.dc-hero__stats ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	width: 90%;
	max-width: var(--dc-wrap);
	margin: 0 auto;
	padding: 0 !important;
	list-style: none !important;
}
.dc-hero__stats li {
	padding: 22px 18px 22px 0;
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
	line-height: 1.4;
}
.dc-hero__stats li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.dc-hero__stats strong {
	display: block;
	margin-bottom: 4px;
	color: #fff;
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 800;
	letter-spacing: -.02em;
}
.dc-hero__scroll {
	position: absolute;
	right: 5%;
	bottom: 108px;
	width: 26px;
	height: 42px;
	border-radius: 14px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45);
}
.dc-hero__scroll::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 8px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: dc-scroll 1.8s infinite;
}
@keyframes dc-scroll {
	0% { opacity: 0; transform: translateY(0); }
	40% { opacity: 1; }
	100% { opacity: 0; transform: translateY(14px); }
}

/* Hero entrance */
.dc-js .dc-hero [data-in] { opacity: 0; transform: translateY(24px); }
.dc-js .dc-hero.is-ready [data-in] {
	opacity: 1;
	transform: none;
	transition: opacity .9s var(--dc-ease), transform .9s var(--dc-ease);
	transition-delay: calc(var(--d, 0) * 120ms + 100ms);
}

@media (max-width: 980px) {
	/* Stats leave the absolute overlay and follow the buttons, so nothing overlaps on phones. */
	.dc-hero { min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-end; }
	.dc-hero__inner { padding: 150px 0 36px; }
	.dc-hero__stats { position: relative; }
	.dc-eyebrow { font-size: 11px; letter-spacing: .05em; }
	.dc-hero__shade {
		background: linear-gradient(0deg, rgba(8, 9, 12, .95) 0%, rgba(8, 9, 12, .7) 50%, rgba(8, 9, 12, .3) 100%);
	}
	.dc-hero__stats ul { grid-template-columns: repeat(2, 1fr); }
	.dc-hero__stats li { padding: 14px 10px 14px 0; }
	.dc-hero__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
	.dc-hero__stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.dc-hero__scroll { display: none; }
}
@media (max-width: 600px) {
	.dc-hero__inner { padding-top: 120px; }
	.dc-hero__ctas .dc-btn { width: 100%; justify-content: center; }
	.dc-hero__stats li + li { padding-left: 14px; }
	.dc-hero__stats li:nth-child(3) { padding-left: 0; }
}

/* ---------- 5. Home: shared section styles ---------- */

.et_pb_section.dc-sec { padding: 96px 0; }
.et_pb_section.dc-sec--soft { background: var(--dc-soft) !important; }
.et_pb_section.dc-sec--dark { background: var(--dc-ink) !important; color: rgba(255, 255, 255, .78); }
.et_pb_section.dc-sec--tight { padding-top: 0; }
.dc-sec .et_pb_row { padding: 0; }
.dc-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.dc-head--left { margin-left: 0; text-align: left; }
.dc-kicker {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--dc-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.dc-head h2,
.dc-sec h2 {
	margin: 0 0 14px;
	padding: 0;
	font-size: clamp(28px, 3.4vw, 44px);
	letter-spacing: -.02em;
}
.dc-sec--dark h2,
.dc-sec--dark h3 { color: #fff !important; }
.dc-head p { margin: 0; color: var(--dc-muted); font-size: 18px; }
.dc-head h1 { margin: 0 0 14px; padding: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; }
.dc-head p a { color: var(--dc-red); font-weight: 700; }
.dc-listing-intro { max-width: 860px; }
.dc-sec--dark .dc-head p { color: rgba(255, 255, 255, .7); }

/* Features */
.dc-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.dc-card {
	position: relative;
	padding: 30px 26px;
	border-radius: var(--dc-radius);
	background: #fff;
	box-shadow: var(--dc-shadow);
	transition: transform .35s var(--dc-ease), box-shadow .35s var(--dc-ease);
}
.dc-card:hover { transform: translateY(-6px); box-shadow: var(--dc-shadow-lg); }
.dc-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: rgba(224, 43, 32, .1);
	color: var(--dc-red);
}
.dc-card__icon svg { width: 26px; height: 26px; }
.dc-card h3 { margin: 0 0 8px; padding: 0; font-size: 19px; }
.dc-card p { margin: 0; padding: 0; color: var(--dc-muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 1100px) { .dc-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dc-features { grid-template-columns: 1fr; } }

/* Model guide */
.dc-models {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.dc-model {
	padding: 30px;
	border-radius: var(--dc-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--dc-line);
	transition: box-shadow .3s var(--dc-ease), transform .3s var(--dc-ease);
}
.dc-model:hover { box-shadow: inset 0 0 0 1px var(--dc-line), var(--dc-shadow-lg); transform: translateY(-4px); }
.dc-model h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; padding: 0; font-size: 24px; }
.dc-model h3 small { color: var(--dc-red); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dc-model p { margin: 0 0 14px; padding: 0; color: var(--dc-muted); font-size: 15.5px; }
.dc-model .dc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 !important; list-style: none !important; }
.dc-model .dc-tags li {
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--dc-soft);
	color: var(--dc-text);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
}
@media (max-width: 800px) { .dc-models { grid-template-columns: 1fr; } }

/* Long-form SEO copy */
.dc-prose { max-width: 820px; margin: 0 auto; }
.dc-prose h2 { margin-top: 0; }
.dc-prose h3 { margin: 34px 0 10px; padding: 0; font-size: 22px; }
.dc-prose p { color: #3b404a; font-size: 17px; }
.dc-prose a { color: var(--dc-red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dc-split {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 36px;
}
.dc-split > div {
	padding: 26px;
	border-radius: var(--dc-radius);
	background: var(--dc-soft);
}
.dc-sec--soft .dc-split > div { background: #fff; box-shadow: var(--dc-shadow); }
.dc-split h3 { margin-top: 0; font-size: 19px; }
.dc-split p { margin: 0; font-size: 15.5px; }
@media (max-width: 800px) { .dc-split { grid-template-columns: 1fr; } }

/* Testimonials */
.dc-quotes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.dc-quote {
	margin: 0;
	padding: 34px;
	border: 0;
	border-radius: var(--dc-radius);
	background: var(--dc-ink-2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.dc-quote::before {
	content: "\201C";
	display: block;
	height: 44px;
	color: var(--dc-red);
	font-size: 80px;
	font-weight: 800;
	line-height: 1;
}
.dc-quote p { margin: 0 0 20px; padding: 0; color: rgba(255, 255, 255, .86); font-size: 17px; font-style: normal; }
.dc-quote cite { color: #fff; font-style: normal; font-weight: 800; }
.dc-quote cite span { display: block; color: rgba(255, 255, 255, .55); font-weight: 600; font-size: 14px; }
.dc-stars { display: block; margin-bottom: 6px; color: #f5b301; letter-spacing: 2px; }
@media (max-width: 800px) { .dc-quotes { grid-template-columns: 1fr; } }

/* FAQ */
.dc-faq { max-width: 860px; margin: 0 auto; }
.dc-faq details {
	margin-bottom: 12px;
	border-radius: var(--dc-radius-sm);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--dc-line);
	transition: box-shadow .25s var(--dc-ease);
}
.dc-faq details[open] { box-shadow: inset 0 0 0 1px var(--dc-line), var(--dc-shadow); }
.dc-faq summary {
	position: relative;
	padding: 20px 56px 20px 24px;
	list-style: none;
	cursor: pointer;
	font-weight: 800;
	font-size: 17px;
	color: var(--dc-text);
}
.dc-faq summary::-webkit-details-marker { display: none; }
.dc-faq summary::after {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 2px solid var(--dc-red);
	border-bottom: 2px solid var(--dc-red);
	transform: rotate(45deg);
	transition: transform .25s var(--dc-ease);
}
.dc-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.dc-faq details > div { padding: 0 24px 20px; color: #3b404a; }
.dc-faq details > div p { margin: 0; padding: 0; }

/* Call-to-action band */
.dc-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 56px;
	border-radius: 24px;
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18), transparent 40%),
		linear-gradient(120deg, var(--dc-red) 0%, #8e130c 100%);
	color: #fff;
}
.dc-cta h2 { margin: 0 0 8px; padding: 0; color: #fff !important; font-size: clamp(26px, 3vw, 38px); }
.dc-cta p { margin: 0; padding: 0; color: rgba(255, 255, 255, .85); font-size: 17px; }
.dc-cta .dc-btn--white { background: #fff; color: var(--dc-red) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.dc-cta .dc-btn--white:hover { transform: translateY(-2px); }
.dc-cta > div:first-child { flex: 1 1 420px; }
.dc-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .dc-cta { padding: 34px 24px; } .dc-cta__actions .dc-btn { width: 100%; justify-content: center; } }

/* ---------- 6. Car grid (blog module on home, brand and Tesla pages) ---------- */

.et_pb_posts .et_pb_blog_posts.et_grid_module,
.et_pb_blog_grid .et_pb_salvattore_content {
	gap: 24px;
}
.et_pb_posts .et_pb_blog_posts.et_grid_module > article.et_pb_post,
.et_pb_blog_grid article.et_pb_post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: var(--dc-radius);
	background: #fff;
	box-shadow: var(--dc-shadow);
	transition: transform .35s var(--dc-ease), box-shadow .35s var(--dc-ease);
}
.et_pb_posts .et_pb_blog_posts.et_grid_module > article.et_pb_post:hover,
.et_pb_blog_grid article.et_pb_post:hover {
	transform: translateY(-6px);
	box-shadow: var(--dc-shadow-lg);
}
.et_pb_posts article.et_pb_post .et_pb_image_container {
	margin: 0 !important;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--dc-soft);
}
.et_pb_posts article.et_pb_post .et_pb_image_container a,
.et_pb_posts article.et_pb_post .et_pb_image_container img {
	display: block;
	width: 100%;
	height: 100%;
}
.et_pb_posts article.et_pb_post .et_pb_image_container img {
	object-fit: cover;
	transition: transform .7s var(--dc-ease);
}
.et_pb_posts article.et_pb_post:hover .et_pb_image_container img { transform: scale(1.06); }
.et_pb_posts article.et_pb_post .et_overlay {
	background: linear-gradient(0deg, rgba(13, 14, 17, .55), rgba(13, 14, 17, 0) 60%);
	border: 0;
}
.et_pb_posts article.et_pb_post .et_overlay::before { display: none; }
.et_pb_posts article.et_pb_post .entry-title {
	position: relative;
	margin: 0;
	padding: 18px 20px 22px !important;
	font-size: 16.5px !important;
	line-height: 1.4 !important;
	font-weight: 700 !important;
}
.et_pb_posts article.et_pb_post .entry-title::after {
	content: "Виж детайли \2192";
	display: block;
	margin-top: 10px;
	color: var(--dc-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
}
.et_pb_posts article.et_pb_post .entry-title a { color: var(--dc-text) !important; }
.et_pb_posts article.et_pb_post .entry-title a::before {
	/* whole card clickable */
	content: "";
	position: absolute;
	inset: -1000px 0 0 0;
}
.et_pb_posts article.et_pb_post .post-meta:empty,
.et_pb_posts article.et_pb_post .post-content:empty,
.et_pb_posts article.et_pb_post .post-content-inner:empty { display: none; }
.et_pb_posts article.et_pb_post { position: relative; }

/* Pagination */
.et_pb_posts .pagination { display: flex; justify-content: space-between; margin-top: 36px; }
.et_pb_posts .pagination .alignleft,
.et_pb_posts .pagination .alignright { float: none; }
.et_pb_posts .wp-pagenavi a,
.et_pb_posts .wp-pagenavi span,
.et_pb_posts .pagination a {
	display: inline-block;
	border-radius: 999px;
	padding: 12px 22px;
	background: var(--dc-ink);
	color: #fff !important;
	font-weight: 700;
	transition: background .2s;
}
.et_pb_posts .pagination a:hover { background: var(--dc-red); }

/* ---------- 7. Car page (single post) ---------- */

body.et_divi_theme.single-post #main-content { background: var(--dc-soft); padding-bottom: 64px; }
.single-post #main-content .container { padding-top: 40px; }
.single-post #main-content .container::before { display: none; }
.single-post #left-area {
	padding: 0 !important;
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--dc-shadow);
	overflow: hidden;
}
.single-post #left-area article { padding: 0; }
.single-post .et_post_meta_wrapper { padding: 34px 34px 0; }
.single-post .et_post_meta_wrapper:empty { display: none; }
.single-post h1.entry-title {
	margin: 0 0 22px;
	padding: 0;
	color: var(--dc-text) !important;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.15;
}
.single-post .et_post_meta_wrapper img {
	width: 100%;
	max-height: 640px;
	object-fit: cover;
	border-radius: 14px;
}
.single-post .entry-content { padding: 6px 34px 34px; }
.single-post .entry-content .et_pb_section { padding: 10px 0 !important; background: transparent !important; }
.single-post .entry-content .et_pb_row { width: 100%; max-width: none; padding: 10px 0; }
.single-post .post-meta { display: none; }

/* Gallery (also the photo grid on service pages, section 13) */
.single-post .et_pb_gallery_grid .et_pb_gallery_items,
.dc-sec-gallery .et_pb_gallery_grid .et_pb_gallery_items {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.single-post .et_pb_gallery_grid .et_pb_gallery_item,
.dc-sec-gallery .et_pb_gallery_grid .et_pb_gallery_item {
	width: auto !important;
	margin: 0 !important;
	clear: none !important;
	float: none !important;
}
.single-post .et_pb_gallery_image,
.dc-sec-gallery .et_pb_gallery_image {
	overflow: hidden;
	border-radius: 10px;
	aspect-ratio: 4 / 3;
	background: var(--dc-soft);
}
.single-post .et_pb_gallery_image a,
.single-post .et_pb_gallery_image img,
.dc-sec-gallery .et_pb_gallery_image a,
.dc-sec-gallery .et_pb_gallery_image img { display: block; width: 100%; height: 100%; }
.single-post .et_pb_gallery_image img,
.dc-sec-gallery .et_pb_gallery_image img { object-fit: cover; transition: transform .6s var(--dc-ease), filter .3s; }
.single-post .et_pb_gallery_image:hover img,
.dc-sec-gallery .et_pb_gallery_image:hover img { transform: scale(1.07); filter: brightness(1.05); }
.single-post .et_pb_gallery_image .et_overlay,
.dc-sec-gallery .et_pb_gallery_image .et_overlay { display: none; }
@media (max-width: 980px) {
	.single-post .et_pb_gallery_grid .et_pb_gallery_items,
	.dc-sec-gallery .et_pb_gallery_grid .et_pb_gallery_items { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.single-post .et_pb_gallery_grid .et_pb_gallery_items,
	.dc-sec-gallery .et_pb_gallery_grid .et_pb_gallery_items { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* Description text */
.single-post .entry-content .et_pb_text {
	max-width: 820px;
	color: #3b404a;
	font-size: 16.5px;
}
.single-post .entry-content .et_pb_text h1,
.single-post .entry-content .et_pb_text h2,
.single-post .entry-content .et_pb_text h3 {
	margin: 30px 0 10px;
	padding: 0;
	font-size: 22px;
}
.single-post .entry-content .et_pb_text h4 { margin: 22px 0 8px; font-size: 18px; }
.single-post .entry-content .et_pb_text hr { margin: 28px 0; border: 0; border-top: 1px solid var(--dc-line); }
.single-post .entry-content .et_pb_text ul,
.single-post .entry-content .et_pb_text ol { padding-left: 1.2em; margin-bottom: 1.2em; }
.single-post .entry-content .et_pb_text li { margin-bottom: .45em; line-height: 1.7; }
.single-post .entry-content .et_pb_text strong { color: var(--dc-text); }
.single-post .entry-content .et_pb_text table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.single-post .entry-content .et_pb_text th,
.single-post .entry-content .et_pb_text td { padding: 10px 12px; border-bottom: 1px solid var(--dc-line); text-align: left; }

/* English original kept under the Bulgarian description (collapsed) */
.single-post .entry-content .et_pb_code { max-width: 820px; }
.dc-lang-en {
	margin: 8px 0 0;
	border-radius: 12px;
	background: var(--dc-soft);
	box-shadow: inset 0 0 0 1px var(--dc-line);
}
.dc-lang-en summary {
	position: relative;
	padding: 14px 48px 14px 18px;
	list-style: none;
	cursor: pointer;
	color: var(--dc-muted);
	font-weight: 700;
	font-size: 15px;
}
.dc-lang-en summary::-webkit-details-marker { display: none; }
.dc-lang-en summary::before {
	content: "EN";
	display: inline-block;
	margin-right: 10px;
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--dc-ink);
	color: #fff;
	font-size: 11px;
	letter-spacing: .06em;
	vertical-align: 1px;
}
.dc-lang-en summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--dc-red);
	font-size: 22px;
	font-weight: 800;
}
.dc-lang-en[open] summary::after { content: "\2013"; }
.dc-lang-en__body { padding: 0 18px 18px; color: #4a4f59; font-size: 15px; }
.dc-lang-en__body h2,
.dc-lang-en__body h3,
.dc-lang-en__body h4 { margin: 20px 0 8px; padding: 0; font-size: 18px; }
.dc-lang-en__body ul,
.dc-lang-en__body ol { padding-left: 1.2em; }
.dc-lang-en__body li { margin-bottom: .4em; }
.dc-lang-en__body hr { margin: 18px 0; border: 0; border-top: 1px solid var(--dc-line); }
.dc-lang-en__body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dc-lang-en__body th,
.dc-lang-en__body td { padding: 8px 10px; border-bottom: 1px solid var(--dc-line); text-align: left; }

@media (max-width: 600px) {
	.single-post .et_post_meta_wrapper { padding: 22px 18px 0; }
	.single-post .entry-content { padding: 4px 18px 24px; }
	.single-post #main-content .container { padding-top: 16px; width: 94%; }
}

/* Enquiry box after the description */
.dc-enquiry {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 30px 0 0;
	padding: 28px;
	border-radius: var(--dc-radius);
	background: var(--dc-ink);
	color: rgba(255, 255, 255, .78);
}
.dc-enquiry h3 { margin: 0 0 6px; padding: 0; color: #fff !important; font-size: 21px; }
.dc-enquiry p { margin: 0; padding: 0; font-size: 15px; line-height: 1.6; }
.dc-enquiry__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dc-enquiry .dc-btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
.dc-enquiry .dc-btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }

/* Sidebar */
.single-post #sidebar,
.page #sidebar { padding-left: 0; }
#main-content .container::before { background: transparent; }
@media (min-width: 981px) {
	.et_right_sidebar #left-area { width: 72%; padding-right: 0 !important; }
	.et_right_sidebar #sidebar { width: 25%; float: right; position: sticky; top: 110px; }
}
#sidebar .et_pb_widget {
	float: none;
	width: 100%;
	margin-bottom: 18px !important;
	padding: 24px;
	border-radius: var(--dc-radius);
	background: #fff;
	box-shadow: var(--dc-shadow);
}
#sidebar .et_pb_widget:has(> .wp-block-heading) { padding: 0; background: transparent; box-shadow: none; }
#sidebar .wp-block-heading,
#sidebar h2 { margin: 0; padding: 0; font-size: 20px; }
#sidebar .wp-block-quote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14.5px;
	line-height: 1.65;
	color: #3b404a;
}
#sidebar .wp-block-quote::before {
	content: "\201C";
	display: block;
	height: 34px;
	color: var(--dc-red);
	font-size: 56px;
	font-weight: 800;
	line-height: 1;
}
#sidebar .wp-block-quote cite { display: block; margin-top: 10px; color: var(--dc-text); font-style: normal; font-weight: 800; font-size: 14px; }
#sidebar ul { padding: 0 !important; list-style: none !important; }
#sidebar ul li { margin: 0; padding: 0; }
#sidebar ul li a {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--dc-line);
	color: var(--dc-text);
	font-weight: 700;
}
#sidebar ul li:last-child a { border-bottom: 0; }
#sidebar ul li a::after { content: "\2192"; color: var(--dc-red); }

/* ---------- 8. Generic pages ---------- */

.page:not(.home) #main-content .et_pb_section:first-child { padding-top: 56px; }
.page:not(.home) .entry-title.main_title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 20px; }
.et_pb_contact_form_container .et_pb_contact_field input,
.et_pb_contact_form_container .et_pb_contact_field textarea,
.et_pb_contact_captcha {
	border-radius: 10px !important;
	background: var(--dc-soft) !important;
	border: 1px solid var(--dc-line) !important;
	color: var(--dc-text) !important;
	font-family: var(--dc-font);
}
.et_pb_contact_submit { margin-left: 0 !important; }

/* ---------- 9. Footer ---------- */

#main-footer {
	position: relative;
	background: var(--dc-ink) !important;
	border-top: 3px solid var(--dc-red);
}
#et-footer-nav { background: transparent !important; }
#et-footer-nav .container { padding: 34px 0 18px; text-align: center; }
.bottom-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 26px;
	padding: 0 !important;
}
.bottom-nav li { padding: 0 !important; }
.bottom-nav a,
#et-footer-nav .bottom-nav a {
	color: rgba(255, 255, 255, .75) !important;
	font-size: 15px !important;
	font-weight: 700;
	opacity: 1 !important;
}
.bottom-nav a:hover { color: #fff !important; }
#footer-bottom { background: rgba(0, 0, 0, .35) !important; padding: 18px 0; }
#footer-info,
#footer-info a { color: rgba(255, 255, 255, .55) !important; font-size: 13px; line-height: 1.7; }
#footer-info a:hover { color: #fff !important; }

/* Back-to-top */
.et_pb_scroll_top.et-pb-icon {
	right: 18px;
	bottom: 18px;
	padding: 10px;
	border-radius: 50%;
	background: var(--dc-red);
	box-shadow: 0 8px 20px rgba(224, 43, 32, .35);
}

/* ---------- 10. Mobile call bar ---------- */

.dc-callbar { display: none; }
@media (max-width: 980px) {
	.dc-callbar {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: 12px;
		z-index: 9990;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 8px;
		border-radius: 18px;
		background: rgba(13, 14, 17, .9);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
		transform: translateY(140%);
		transition: transform .45s var(--dc-ease);
	}
	.dc-callbar.is-visible { transform: none; }
	.dc-callbar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 13px 10px;
		border-radius: 12px;
		color: #fff !important;
		font-weight: 800;
		font-size: 15px;
	}
	.dc-callbar a:first-child { background: var(--dc-red); }
	.dc-callbar a:last-child { background: rgba(255, 255, 255, .1); }
	.dc-callbar svg { width: 18px; height: 18px; }
	body.dc-has-callbar #footer-bottom { padding-bottom: 92px; }
	body.dc-has-callbar .et_pb_scroll_top.et-pb-icon { bottom: 90px; }
}

/* ---------- 11. Scroll reveal ---------- */

.dc-js .dc-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--dc-ease), transform .8s var(--dc-ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}
.dc-js .dc-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.dc-js .dc-reveal,
	.dc-js .dc-hero [data-in] { opacity: 1; transform: none; }
	.dc-hero__media video { display: none; }
}

/* ---------- 12. Cookie banner, brand-matched ---------- */

.cky-consent-container .cky-consent-bar { border-radius: var(--dc-radius) !important; box-shadow: var(--dc-shadow-lg) !important; font-family: var(--dc-font) !important; }
.cky-btn { border-radius: 999px !important; font-family: var(--dc-font) !important; }

/* ---------- 13. Service pages (Tesla за сватби) ---------- */

/* Text beside a framed photo: the photos are phone shots (~1100 px), too small for a full-bleed hero. */
.dc-phero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 56px;
	align-items: center;
}
.dc-phero h1 {
	margin: 0 0 18px;
	padding: 0;
	color: #fff !important;
	font-size: clamp(32px, 4.4vw, 54px);
	line-height: 1.08;
	letter-spacing: -.025em;
}
.dc-phero__lead { margin: 0 0 24px; padding: 0; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.65; }
.dc-sec .dc-ticks { display: grid; gap: 10px; margin: 0 0 30px; padding: 0 !important; list-style: none !important; }
.dc-ticks li { position: relative; padding-left: 32px; color: rgba(255, 255, 255, .9); font-weight: 600; line-height: 1.5; }
.dc-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--dc-red);
}
.dc-ticks li::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 6px;
	width: 5px;
	height: 10px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}
.dc-phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.dc-phero__media { position: relative; margin: 0; }
.dc-phero__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 22px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.dc-phero__badge {
	position: absolute;
	left: -22px;
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--dc-shadow-lg);
	color: var(--dc-text);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}
.dc-phero__badge small { display: block; color: var(--dc-muted); font-size: 13px; font-weight: 600; }
.dc-phero__badge svg { width: 28px; height: 28px; flex: none; color: var(--dc-red); }
#snimki { scroll-margin-top: 110px; }
@media (max-width: 980px) {
	.dc-phero { grid-template-columns: 1fr; gap: 36px; }
	.dc-phero__badge { left: 14px; bottom: 14px; }
}
@media (max-width: 600px) { .dc-phero__ctas .dc-btn { width: 100%; justify-content: center; } }

/* Numbered steps */
.dc-sec .dc-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0 !important;
	list-style: none !important;
	counter-reset: dc-step;
}
.dc-steps li {
	padding: 30px 26px 28px;
	border-radius: var(--dc-radius);
	background: #fff;
	box-shadow: var(--dc-shadow);
	counter-increment: dc-step;
}
.dc-steps li::before {
	content: counter(dc-step);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--dc-red);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
}
.dc-steps h3 { margin: 0 0 8px; padding: 0; font-size: 19px; }
.dc-steps p { margin: 0; padding: 0; color: var(--dc-muted); font-size: 15.5px; line-height: 1.6; }
.dc-steps a { color: var(--dc-red); font-weight: 800; white-space: nowrap; }
.dc-note { margin: 28px 0 0; padding: 0; color: var(--dc-muted); font-size: 15px; text-align: center; }
@media (max-width: 800px) { .dc-sec .dc-steps { grid-template-columns: 1fr; } }
