/* Crosswood Divine Hero Section — frontend styles */

.cdhs-hero {
	position: relative;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	overflow: hidden;
}

.cdhs-hero * {
	box-sizing: border-box;
}

.cdhs-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.15);
	z-index: 1;
	pointer-events: none;
}

.cdhs-hero .cdhs-overlay {
	background-color: var(--cdhs-overlay-color, rgba(255,255,255,0.15));
}

.cdhs-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.cdhs-inner--full-width {
	max-width: none !important;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Content column */
.cdhs-content {
	flex: 1 1 480px;
	max-width: 640px;
}

.cdhs-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #D8A93B;
	margin-bottom: 14px;
}

.cdhs-badge--lines::before,
.cdhs-badge--lines::after {
	content: "";
	display: inline-block;
	width: 30px;
	height: 1px;
	background-color: #D8A93B;
}

.cdhs-heading {
	margin: 0 0 20px 0;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	color: #122B54;
}

.cdhs-heading-line {
	display: block;
}

.cdhs-description {
	margin: 0 0 32px 0;
	font-size: 16px;
	line-height: 1.6;
	color: #4B5768;
	max-width: 560px;
}

.cdhs-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.cdhs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .25s ease, color .25s ease, transform .2s ease;
	padding: 14px 26px;
	border-radius: 8px;
}

.cdhs-btn:hover {
	transform: translateY(-2px);
}

.cdhs-btn-primary {
	background-color: #E8B93F;
	color: #1B2A4A;
}

.cdhs-btn-secondary {
	background-color: #FFFFFF;
	color: #122B54;
	border: 1px solid #D8DEE8;
}

.cdhs-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.cdhs-btn-icon svg {
	fill: currentColor;
	width: 1em;
	height: 1em;
}

/* Search / Plan panel */
.cdhs-panel {
	flex: 0 0 auto;
	width: 300px;
	max-width: 100%;
	background-color: #122B54;
	border-radius: 16px;
	padding: 28px 24px;
	box-sizing: border-box;
}

.cdhs-panel-title {
	font-size: 19px;
	font-weight: 700;
	color: #E8B93F;
	margin: 0 0 20px 0;
}

.cdhs-panel-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cdhs-field {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: #FFFFFF;
	border-radius: 8px;
	padding: 12px 14px;
	width: 100%;
}

.cdhs-field-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #122B54;
	flex-shrink: 0;
	line-height: 1;
}

.cdhs-field-icon svg {
	fill: currentColor;
	width: 1em;
	height: 1em;
}

.cdhs-field select,
.cdhs-field input {
	border: none;
	outline: none;
	background: transparent;
	width: 100%;
	font-size: 14px;
	color: #4B5768;
	font-family: inherit;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.cdhs-select-wrap {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
}

.cdhs-select-wrap::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #8A93A6;
	border-bottom: 2px solid #8A93A6;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.cdhs-select-wrap select {
	padding-right: 18px;
}

.cdhs-stepper {
	width: 100%;
}

.cdhs-panel-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background-color: #E8B93F;
	color: #1B2A4A;
	text-decoration: none;
	font-weight: 600;
	padding: 14px 20px;
	border-radius: 8px;
	margin-top: 20px;
	transition: background-color .25s ease;
	border: none;
	cursor: pointer;
}

.cdhs-panel-btn:hover {
	background-color: #D8A93B;
	color: #1B2A4A;
}

/* =========================================================
 * RESPONSIVE
 * =======================================================*/
@media (max-width: 1024px) {
	.cdhs-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.cdhs-content {
		max-width: 100%;
	}

	.cdhs-panel {
		width: 100%;
	}

	.cdhs-heading {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	.cdhs-heading {
		font-size: 28px;
	}

	.cdhs-description {
		font-size: 15px;
	}

	.cdhs-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.cdhs-btn {
		width: 100%;
	}

	.cdhs-panel {
		padding: 22px 18px;
	}
}

@media (max-width: 480px) {
	.cdhs-heading {
		font-size: 24px;
	}

	.cdhs-badge {
		font-size: 12px;
	}
}
