/* Speak to an Expert Form */

.eef {
	--eef-primary: #1f8a4c;
	--eef-primary-dark: color-mix(in srgb, var(--eef-primary) 78%, #000);
	--eef-primary-soft: color-mix(in srgb, var(--eef-primary) 42%, #fff);
	--eef-primary-line: color-mix(in srgb, var(--eef-primary) 30%, #fff);
	--eef-bg: #f0f0f0;
	--eef-text: #222;
	--eef-muted: #666;
	--eef-border: #dcdcdc;
	--eef-error: #b45309;

	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	background: var(--eef-bg);
	border-radius: 14px;
	padding: 44px 56px 52px;
	color: var(--eef-text);
	font-size: 14px;
	line-height: 1.45;
}

.eef *,
.eef *::before,
.eef *::after {
	box-sizing: border-box;
}

.eef [hidden] {
	display: none !important;
}

/* Heading */
.eef .eef-title {
	font-family: inherit;
	text-align: center;
	font-weight: 800;
	font-size: clamp(1.75rem, 3.2vw, 2.4rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #454545;
	margin: 0 0 22px;
	padding: 0;
	text-transform: none;
}

/* Step indicator */
.eef .eef-steps {
	display: flex;
	justify-content: center;
	gap: 14px;
	list-style: none;
	margin: 0 0 44px;
	padding: 0;
}

.eef .eef-step {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 40px;
	min-width: 40px;
	padding: 0 10px;
	margin: 0;
	border-radius: 4px;
	background: #fff;
	color: #b9b9b9;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.eef .eef-step-icon {
	width: 19px;
	height: 19px;
	flex: none;
}

.eef .eef-step-label {
	display: none;
	padding-right: 8px;
}

.eef .eef-step.is-active {
	background: var(--eef-primary);
	color: #fff;
	padding: 0 18px;
}

.eef .eef-step.is-active .eef-step-label {
	display: inline;
}

.eef .eef-step.is-done {
	background: var(--eef-primary-soft);
	color: #fff;
}

/* Fields */
.eef .eef-field {
	margin: 0 0 14px;
}

.eef .eef-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--eef-text);
	margin: 0 0 4px;
	line-height: 1.3;
}

.eef .eef-req {
	margin-right: 1px;
}

.eef .eef-control {
	position: relative;
}

.eef .eef-input,
.eef .eef-select select {
	display: block;
	width: 100%;
	max-width: none;
	height: 42px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--eef-border);
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	color: #555;
	font-family: inherit;
	font-size: 13px;
	line-height: 40px;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.eef .eef-control.has-icon .eef-input {
	padding-left: 44px;
}

.eef .eef-input-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	color: var(--eef-primary);
	fill: var(--eef-primary);
	pointer-events: none;
}

.eef .eef-input-icon--mail path {
	fill: none;
	stroke: #fff;
	stroke-width: 2.4;
}

.eef .eef-input:focus,
.eef .eef-combo.is-open .eef-combo-control {
	border-color: var(--eef-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--eef-primary) 18%, transparent);
}

/* Native select with the original's small triangle */
.eef .eef-select {
	position: relative;
}

.eef .eef-select select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	cursor: pointer;
}

.eef .eef-select::after,
.eef .eef-caret {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #888;
	transform: translateY(-50%);
	pointer-events: none;
}

/* Searchable dropdown */
.eef .eef-combo {
	position: relative;
}

.eef .eef-combo-control {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 36px 0 6px;
	cursor: pointer;
	line-height: normal;
}

.eef .eef-combo.is-open .eef-caret {
	transform: translateY(-50%) rotate(180deg);
}

.eef .eef-combo-value {
	display: flex;
	align-items: center;
	min-height: 30px;
}

.eef .eef-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px 5px 7px;
	background: #efefef;
	border: 1px solid #d3d3d3;
	border-radius: 3px;
	color: #555;
	font-size: 13px;
}

.eef .eef-chip-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: transparent;
	color: #555;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	min-height: 0;
}

.eef .eef-chip-clear:hover {
	color: #000;
	background: #e2e2e2;
}

.eef .eef-combo-panel {
	position: absolute;
	z-index: 50;
	left: 0;
	right: 0;
	top: calc(100% - 1px);
	background: #fff;
	border: 1px solid var(--eef-primary);
	border-top-color: var(--eef-border);
	border-radius: 0 0 3px 3px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.eef .eef-combo-search {
	display: block;
	width: calc(100% - 16px);
	max-width: none;
	height: 36px;
	margin: 8px;
	padding: 0 10px;
	border: 1px solid var(--eef-border);
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 13px;
	color: #444;
	outline: none;
}

.eef .eef-combo-search:focus {
	border-color: var(--eef-primary);
}

.eef .eef-combo-list {
	list-style: none;
	margin: 0;
	padding: 0 0 4px;
	max-height: 240px;
	overflow-y: auto;
}

.eef .eef-combo-list li {
	margin: 0;
	padding: 8px 14px;
	font-size: 13px;
	color: #555;
	cursor: pointer;
}

.eef .eef-combo-list li.is-active {
	background: #e6e6e6;
	color: #222;
}

.eef .eef-combo-list li[aria-selected="true"] {
	font-weight: 600;
	color: var(--eef-primary-dark);
}

.eef .eef-combo-list li.eef-empty {
	color: #999;
	cursor: default;
}

/* File upload */
.eef .eef-file {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	margin: 0;
	padding: 12px 14px;
	background: #fff;
	border: 1.5px dashed var(--eef-border);
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.eef .eef-file:hover,
.eef .eef-file.is-drag {
	border-color: var(--eef-primary);
	background: color-mix(in srgb, var(--eef-primary) 5%, #fff);
}

.eef .eef-file.has-file {
	border-style: solid;
	border-color: var(--eef-primary);
}

.eef .eef-file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.eef .eef-file-icon {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--eef-primary);
}

.eef .eef-file-text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	color: #555;
}

.eef .eef-file.has-file .eef-file-text {
	color: var(--eef-text);
	font-weight: 600;
}

.eef .eef-file-btn {
	flex: none;
	padding: 7px 14px;
	border-radius: 3px;
	background: var(--eef-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.eef .eef-file:has(.eef-file-input:focus-visible) {
	outline: 2px solid var(--eef-primary-dark);
	outline-offset: 2px;
}

.eef .is-invalid .eef-file {
	border-color: var(--eef-error);
}

.eef .eef-hint {
	margin: 5px 0 0;
	font-size: 11.5px;
	color: var(--eef-muted);
}

/* Errors */
.eef .eef-error {
	margin: 5px 0 0;
	color: var(--eef-error);
	font-size: 12px;
	font-weight: 600;
}

.eef .is-invalid .eef-input,
.eef .is-invalid .eef-combo-control {
	border-color: var(--eef-error);
}

/* Employee notice */
.eef .eef-notice {
	margin: 8px 0 24px;
	padding: 0 16px;
	color: var(--eef-primary-dark);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

/* Buttons */
.eef .eef-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.eef .eef-actions--end {
	justify-content: flex-end;
}

.eef .eef-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	min-height: 42px;
	margin: 0;
	padding: 10px 20px;
	border: 0;
	border-radius: 3px;
	background: var(--eef-primary);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.eef .eef-btn:hover,
.eef .eef-btn:focus {
	background: var(--eef-primary-dark);
	color: #fff;
}

.eef .eef-btn[disabled] {
	opacity: 0.7;
	cursor: progress;
}

/* Focus visibility for keyboard users */
.eef .eef-btn:focus-visible,
.eef .eef-combo-control:focus-visible,
.eef .eef-chip-clear:focus-visible,
.eef .eef-card:has(input:focus-visible) {
	outline: 2px solid var(--eef-primary-dark);
	outline-offset: 2px;
}

/* Services */
.eef .eef-services {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.eef .eef-services-title {
	display: block;
	width: 100%;
	margin: 0 0 26px;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--eef-text);
}

.eef .eef-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}

.eef .eef-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 228px;
	margin: 0;
	padding: 26px 18px 28px;
	background: #fff;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 0 0 1px transparent;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.eef .eef-card:hover {
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.eef .eef-card:has(input:checked) {
	box-shadow: 0 0 0 2px var(--eef-primary), 0 18px 40px rgba(0, 0, 0, 0.16);
}

.eef .eef-card-icon {
	width: 46px;
	height: 46px;
	color: var(--eef-primary-dark);
	stroke-width: 1.4;
	margin: 0 0 22px;
	flex: none;
}

.eef .eef-card-title {
	align-self: stretch;
	min-height: 2.6em;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin: 0 6px 10px;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--eef-primary-line);
	text-transform: uppercase;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--eef-text);
}

.eef .eef-card-desc {
	display: block;
	font-size: 10.5px;
	line-height: 1.5;
	color: #333;
}

.eef .eef-card-check {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--eef-primary);
	color: #fff;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.eef .eef-card:has(input:checked) .eef-card-check {
	opacity: 1;
	transform: scale(1);
}

.eef .eef-card-check-icon {
	width: 17px;
	height: 17px;
	stroke-width: 3;
}

.eef .eef-services + .eef-actions {
	margin-top: 36px;
}

/* Status and success */
.eef .eef-status {
	margin: 18px 0 0;
	padding: 10px 14px;
	border-radius: 3px;
	background: #fff4e0;
	color: #7a3e00;
	font-weight: 600;
	font-size: 13px;
}

.eef .eef-success {
	text-align: center;
	padding: 24px 12px 12px;
	outline: none;
}

.eef .eef-success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--eef-primary);
	color: #fff;
}

.eef .eef-success-svg {
	width: 32px;
	height: 32px;
	stroke-width: 3;
}

.eef .eef-success-text {
	margin: 0 auto;
	max-width: 46ch;
	font-size: 16px;
	font-weight: 600;
	color: var(--eef-text);
}

/* Honeypot and screen-reader helpers */
.eef .eef-hp,
.eef .eef-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
	.eef .eef-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
	}
}

@media (max-width: 767px) {
	.eef {
		padding: 32px 20px 36px;
		border-radius: 10px;
	}

	.eef .eef-steps {
		margin-bottom: 30px;
	}

	.eef .eef-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.eef .eef-card {
		min-height: 0;
		padding: 20px 12px 22px;
	}

	.eef .eef-card-desc {
		font-size: 11px;
	}
}

@media (max-width: 420px) {
	.eef .eef-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eef *,
	.eef *::before,
	.eef *::after {
		transition: none !important;
	}
}
