/* Cura Hero Search - Glassmorphism Style */

.cura-hero-search {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.cura-hs-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 24px 24px 24px;
	gap: 24px;
	background: #D4E7F4;
	backdrop-filter: blur(180px);
	-webkit-backdrop-filter: blur(180px);
	border-radius: 40px;
	min-height: 280px;
}

.cura-hs-form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.cura-hs-inputs {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	max-width: 1192px;
}

.cura-hs-field {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.cura-hs-label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

.cura-hs-label-text {
	font-family: 'Sofia Sans Semi Condensed', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 32px; /* Figma H-small */
	line-height: 40px;
	display: flex;
	align-items: center;
	color: #223542;
}

/* Helper line under the label (Figma Button/Button-Small: Amiko SemiBold 18, Pr-1). */
.cura-hs-help {
	font-family: 'Amiko', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	color: #41637B;
}

.cura-hs-required {
	font-family: 'Amiko', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1;
	color: #F28E87;
}

.cura-hs-select {
	box-sizing: border-box;
	display: block;
	margin: 0;
	width: 100%;
	height: 40px; /* Figma Input: hug 40, radius 8, 1px Gray3, LGray-Input */
	padding: 8px 40px 8px 16px;
	background-color: #F1F5F9;
	border: 1px solid #C4CFD6;
	border-radius: 8px;
	font-family: 'Amiko', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	color: #223542;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236A6F75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px;
}

.cura-hs-select:focus {
	outline: none;
	border-color: #73B1DD;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(115, 177, 221, 0.25);
}

.cura-hs-select option {
	padding: 12px;
	font-family: 'Amiko', sans-serif;
	font-size: 16px;
	color: #223542;
}

.cura-hs-select option:first-child {
	color: #6A6F75;
}

/* Figma Button/primary: Amiko Bold 32/42, padding 24 60, 2x-large radius. */
.cura-hs-form .cura-hs-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	margin: 8px 0 0;
	padding: 24px 60px;
	gap: 10px;
	width: auto;
	max-width: 100%;
	height: auto;
	background: #41637B;
	border: 0;
	border-radius: 100px;
	font-family: 'Amiko', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 32px;
	line-height: 42px;
	text-align: center;
	color: #FBFEFD;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	white-space: nowrap;
}

.cura-hs-form .cura-hs-button:hover {
	background: #2f4a5e;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(65, 99, 123, 0.3);
}

.cura-hs-form .cura-hs-button:active {
	transform: translateY(0);
}

/* Tablet */
@media (max-width: 1024px) {
	.cura-hs-label-text {
		font-size: 26px;
		line-height: 34px;
	}

	.cura-hs-help {
		font-size: 16px;
	}

	.cura-hs-form .cura-hs-button {
		padding: 16px 44px;
		font-size: 24px;
		line-height: 32px;
	}
}

/* Phone: stacked fields, full-width button, 48px touch targets */
@media (max-width: 767px) {
	.cura-hero-search {
		padding: 0; /* the section already has a gutter */
	}

	.cura-hs-container {
		padding: 20px 16px;
		border-radius: 24px;
		min-height: auto;
		gap: 16px;
	}

	.cura-hs-inputs {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.cura-hs-label-text {
		font-size: 24px;
		line-height: 32px;
	}

	.cura-hs-help {
		font-size: 15px;
	}

	.cura-hs-select {
		height: 48px;
		padding: 10px 40px 10px 14px;
	}

	.cura-hs-form .cura-hs-button {
		width: 100%;
		padding: 14px 24px;
		font-size: 20px;
		line-height: 28px;
	}
}

/* v0.2.557 empty required province: same red as the other site forms (cura-forms.css #F28E87); class added by the sitewide cura-forms-fix script. */
.cura-hero-search .cura-hs-select.cura-field-error,
.cura-hero-search .cura-hs-select.cura-field-error:focus { border-color: #F28E87 !important; outline: 1px solid #F28E87 !important; box-shadow: none !important; }
