/* Hero Banner With Form — desktop split: content left, form right */

.dm-hero-banner-form.hero_banner {
	mask-image: none;
	-webkit-mask-image: none;
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(100svh, 920px);
	padding: 7.5rem 0 4rem;
	overflow: hidden;
}

.dm-hero-banner-form__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.dm-hero-banner-form__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(10, 4, 18, 0.88) 0%,
		rgba(41, 15, 73, 0.72) 42%,
		rgba(41, 15, 73, 0.55) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.dm-hero-banner-form__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.dm-hero-banner-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

.dm-hero-banner-form__content {
	min-width: 0;
}

.dm-hero-banner-form__text {
	text-align: center;
}

.dm-hero-banner-form__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 1rem;
	font-family: "Rajdhani", sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: #c9a8ff;
}

.dm-hero-banner-form__eyebrow .fa {
	color: #c9a8ff;
}

.dm-hero-banner-form .hero__text h1 {
	float: none;
	width: 100%;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.02;
	margin-bottom: 1rem;
}

.dm-hero-banner-form .hero__text p {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.dm-hero-banner-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 0.75rem;
}

.dm-hero-banner-form__actions .primary-btn {
	float: none;
	display: inline-block;
	margin: 0;
}

.dm-hero-banner-form__actions .dm-hero-btn-secondary {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.75);
	color: #fff;
}

.dm-hero-banner-form__actions .dm-hero-btn-secondary:hover {
	background: #fff;
	color: #5c00ce;
	border-color: #fff;
}

.dm-hero-banner-form__actions .play-btn {
	margin: 0;
	flex-shrink: 0;
}

.dm-hero-banner-form__form-col {
	min-width: 0;
}

.dm-hero-banner-form .dm-hero-form-card {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	background: rgba(20, 8, 40, 0.9);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	border-radius: 16px;
	padding: 1.75rem 1.5rem 2rem;
	border: 1px solid rgba(140, 80, 255, 0.28);
	position: relative;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: #f4f0ff;
}

.dm-hero-form-card__title {
	font-family: "Rajdhani", sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	color: #f4f0ff;
	text-align: left;
	margin: 0 0 0.35rem;
	line-height: 1.15;
}

.dm-hero-form-card__accent {
	color: #c9a8ff;
}

.dm-hero-form-card__subtitle {
	text-align: left;
	color: rgba(244, 240, 255, 0.72);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 0 1.25rem;
}

.dm-hero-form-card__phone {
	text-align: center;
	margin: 1rem 0 0;
	font-size: 0.82rem;
	color: rgba(244, 240, 255, 0.72);
}

.dm-hero-form-card__phone a {
	color: #e8c547;
	font-weight: 600;
	text-decoration: none;
}

.dm-hero-form-card__phone a:hover {
	text-decoration: underline;
}

/* CF7 inside card — override theme white form box */
.dm-hero-banner-form.hero_banner_with_form .dm-hero-form-card .wpcf7,
.dm-hero-banner-form .hero_banner_with_form .dm-hero-form-card .wpcf7,
.dm-hero-banner-form .dm-hero-form-card .wpcf7,
.dm-hero-banner-form__form-col.hero_banner_with_form .dm-hero-form-card .wpcf7 {
	width: 100% !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.dm-hero-banner-form .dm-hero-form-card .wpcf7 input[type="text"],
.dm-hero-banner-form .dm-hero-form-card .wpcf7 input[type="email"],
.dm-hero-banner-form .dm-hero-form-card .wpcf7 input[type="tel"],
.dm-hero-banner-form .dm-hero-form-card .wpcf7 input[type="date"],
.dm-hero-banner-form__form-col.hero_banner_with_form .dm-hero-form-card .wpcf7 input[type="text"],
.dm-hero-banner-form__form-col.hero_banner_with_form .dm-hero-form-card .wpcf7 input[type="email"],
.dm-hero-banner-form__form-col.hero_banner_with_form .dm-hero-form-card .wpcf7 input[type="tel"],
.dm-hero-banner-form__form-col.hero_banner_with_form .dm-hero-form-card .wpcf7 input[type="date"] {
	background-color: rgba(10, 4, 18, 0.85) !important;
	height: 48px;
	font-size: 0.88rem;
	color: #f4f0ff;
	padding-left: 16px;
	border: 1px solid rgba(140, 80, 255, 0.28) !important;
	width: 100%;
	margin-bottom: 10px;
	margin-right: 0;
	padding-right: 15px;
	border-radius: 8px;
}

.dm-hero-banner-form .dm-hero-form-card .wpcf7 input::placeholder,
.dm-hero-banner-form .dm-hero-form-card .wpcf7 textarea::placeholder {
	color: rgba(244, 240, 255, 0.45);
}

.dm-hero-banner-form .dm-hero-form-card .wpcf7 input:focus,
.dm-hero-banner-form .dm-hero-form-card .wpcf7 textarea:focus {
	border-color: #5c00ce !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(92, 0, 206, 0.2);
}

.dm-hero-banner-form .dm-hero-form-card .input__list .wpcf7-form-control-wrap {
	width: 100%;
	display: block;
	margin: 0 0 10px;
}

.dm-hero-banner-form .dm-hero-form-card .input__list .wpcf7-form-control-wrap[data-name="c_message"] {
	width: 100%;
	margin-bottom: 0;
}

.dm-hero-banner-form .dm-hero-form-card .wpcf7 form {
	position: relative;
	padding-bottom: 0;
}

.dm-hero-banner-form .dm-hero-form-card .wpcf7 textarea,
.dm-hero-banner-form__form-col.hero_banner_with_form .dm-hero-form-card .wpcf7 textarea {
	background-color: rgba(10, 4, 18, 0.85) !important;
	height: 80px;
	font-size: 0.88rem;
	color: #f4f0ff;
	border: 1px solid rgba(140, 80, 255, 0.28) !important;
	width: 100%;
	margin-bottom: 12px;
	padding: 12px 16px;
	border-radius: 8px;
}

.dm-hero-banner-form .dm-hero-form-card .wpcf7 .site-btn,
.dm-hero-banner-form__form-col.hero_banner_with_form .dm-hero-form-card .wpcf7 .site-btn {
	position: relative;
	bottom: auto;
	left: auto;
	transform: none;
	max-width: none;
	width: 100%;
	margin-top: 0.25rem;
	border-radius: 8px;
	background: linear-gradient(135deg, #5c00ce 0%, #7c2ae8 100%) !important;
	box-shadow: 0 8px 24px rgba(92, 0, 206, 0.35);
}

.dm-hero-banner-form .dm-hero-form-card .wpcf7 form .wpcf7-response-output {
	margin: 0 0 1rem;
	border: 0;
	text-align: center;
	color: rgba(244, 240, 255, 0.85);
}

.dm-hero-banner-form .linear__icon {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

/* Desktop: left content + right form (reference layout) */
@media screen and (min-width: 992px) {
	.dm-hero-banner-form.hero_banner {
		padding: 8.5rem 0 4.5rem;
	}

	.dm-hero-banner-form__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(360px, 420px);
		gap: 3rem;
	}

	.dm-hero-banner-form__text {
		text-align: left;
	}

	.dm-hero-banner-form .hero__text p {
		margin-left: 0;
		margin-right: 0;
	}

	.dm-hero-banner-form__actions {
		justify-content: flex-start;
	}

	.dm-hero-banner-form__form-col {
		justify-self: end;
		width: 100%;
	}

	.dm-hero-banner-form .dm-hero-form-card {
		margin: 0;
		max-width: none;
	}
}

@media screen and (max-width: 991px) {
	.dm-hero-banner-form.hero_banner {
		padding-top: 7rem;
		padding-bottom: 3rem;
		min-height: auto;
	}

	.dm-hero-banner-form__form-col {
		margin-top: 0.5rem;
	}
}

@media screen and (max-width: 767px) {
	.dm-hero-banner-form.hero_banner {
		padding-top: 6.5rem;
		padding-bottom: 2.5rem;
	}

	.dm-hero-banner-form .dm-hero-form-card {
		max-width: none;
		padding: 1.35rem 1.15rem 2rem;
	}

	.dm-hero-banner-form .dm-hero-form-card .input__list .wpcf7-form-control-wrap,
	.dm-hero-banner-form .dm-hero-form-card .input__list .wpcf7-form-control-wrap[data-name="c_message"] {
		width: 100%;
		margin: 0 auto 10px;
	}

	.dm-hero-banner-form__actions {
		flex-direction: column;
	}

	.dm-hero-banner-form__actions .primary-btn {
		width: 100%;
		max-width: 280px;
		text-align: center;
	}
}
