:root {
	--esf-primary: linear-gradient(300deg, #3DE9B5, #04112A);
	--esf-primary-hover: #082f29;
	--esf-accent: #25c99b;
	--esf-text: #1d2a2f;
	--esf-muted: #6d787d;
	--esf-border: #dfe5e3;
	--esf-error: #b42318;
	--esf-success: #067647;
	--esf-radius: 12px;
}

.esf-form,
.esf-form * {
	box-sizing: border-box;
}

.esf-form {
	width: 100%;
	margin: 0;
	font-family: inherit;
	color: var(--esf-text);
}

.esf-quote-form {
	padding: clamp(22px, 4vw, 40px);
	background: #fff;
	border: 1px solid #edf0ef;
	border-radius: 24px;
	box-shadow: 0 18px 50px rgba(14, 46, 39, 0.07);
}

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

.esf-field-full {
	grid-column: 1 / -1;
}

.esf-field,
.esf-contact-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.esf-field > label,
.esf-contact-fieldset > legend {
	display: block;
	margin: 0 0 7px;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #61706d;
}

.esf-form input[type="text"],
.esf-form input[type="email"],
.esf-form input[type="tel"],
.esf-form input[type="time"],
.esf-form select,
.esf-form textarea {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 14px 15px;
	border: 1px solid var(--esf-border);
	border-radius: var(--esf-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
	font: inherit;
	font-size: 15px;
	line-height: 1.45;
	color: var(--esf-text);
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.esf-form textarea {
	min-height: 112px;
	resize: vertical;
}

.esf-form select {
	appearance: auto;
}

.esf-form input::placeholder,
.esf-form textarea::placeholder {
	color: #687276;
	opacity: 1;
}

.esf-form input:hover,
.esf-form select:hover,
.esf-form textarea:hover {
	border-color: #bdc9c5;
}

.esf-form input:focus,
.esf-form select:focus,
.esf-form textarea:focus,
.esf-form button:focus-visible,
.esf-toggle-group label:focus-visible,
.esf-toggle-group input:focus-visible + label {
	outline: none;
	border-color: var(--esf-accent);
	box-shadow: 0 0 0 4px rgba(37, 201, 155, 0.16);
}

.esf-form input[aria-invalid="true"],
.esf-form select[aria-invalid="true"],
.esf-form textarea[aria-invalid="true"] {
	border-color: var(--esf-error);
	box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.esf-toggle-group input[aria-invalid="true"] + label {
	border-color: var(--esf-error);
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.10);
}

.esf-form .iti {
	width: 100%;
	display: block;
}

.esf-form .iti input {
	padding-left: 104px !important;
}

.esf-form .iti__selected-country-primary {
	padding-left: 14px;
	padding-right: 10px;
}

.esf-form .iti__selected-country {
	cursor: default;
}

.esf-form .iti__country-container {
	z-index: 5;
}

.esf-form .iti__dropdown-content {
	z-index: 100000;
}

.esf-toggle-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.esf-toggle-group input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.esf-toggle-group label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--esf-border);
	border-radius: var(--esf-radius);
	background: #fff;
	font-size: 14px;
	font-weight: 650;
	cursor: pointer;
	transition: all 160ms ease;
}

.esf-toggle-group input:checked + label {
	border-color: var(--esf-accent);
	background: rgba(37, 201, 155, 0.08);
	color: var(--esf-primary);
	box-shadow: 0 0 0 1px rgba(37, 201, 155, 0.18);
}

.esf-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 45px;
	margin: 10px 0 0;
	padding: 13px 20px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(300deg, #3DE9B5, #04112A)!important;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.esf-submit:hover:not(:disabled) {
	background: linear-gradient(300deg, #3DE9B5, #04112A)!important;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(11, 61, 52, 0.17);
}

.esf-submit:disabled {
	cursor: not-allowed;
	opacity: 0.62;
}

.esf-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.38);
	border-top-color: #fff;
	border-radius: 50%;
	animation: esf-spin 700ms linear infinite;
}

.esf-submit.is-loading .esf-spinner {
	display: inline-block;
}

.esf-submit.is-loading > svg {
	display: none;
}

.esf-status {
	min-height: 0;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 550;
	line-height: 1.5;
	text-align: center;
}

.esf-status:empty {
	display: none;
}

.esf-status.is-error {
	padding: 11px 13px;
	border-radius: 10px;
	background: #fef3f2;
	color: var(--esf-error);
}

.esf-status.is-success {
	padding: 11px 13px;
	border-radius: 10px;
	background: #ecfdf3;
	color: var(--esf-success);
}

.esf-field-error {
	min-height: 0;
	margin-top: 6px;
	font-size: 13px;
	color: var(--esf-error);
}

.esf-field-error:empty {
	display: none;
}

.esf-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.esf-sr-only {
	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;
}

/* FilePond bill uploader. */
.esf-bill-form {
	width: 100%;
}

.esf-bill-form .esf-uploader-wrap {
	width: 100%;
}

.esf-bill-form .filepond--root {
	width: 100%;
	min-height: clamp(200px, 34vw, 250px);
	margin: 0;
	font-family: inherit;
	color: #fff;
}

.esf-bill-form .filepond--drop-label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(220px, 34vw, 300px);
	padding: 28px;
	color: #fff;
}

.esf-bill-form .filepond--drop-label label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	cursor: pointer;
}

.esf-bill-form .filepond--panel-root {
	border: none!important;
	/*border-radius: 32px;*/
	background:transparent!important;
}

.esf-bill-form .filepond--drip-blob,
.esf-bill-form .filepond--panel[data-scalable="true"] {
	background: transparent!important;
}

.esf-bill-form .filepond--label-action {
	text-decoration: none;
}

.esf-upload-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 8px 12px;
	text-align: center;
}

.esf-upload-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.12);
	color: #c6fff0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.esf-upload-icon svg {
	display: block;
}

.esf-upload-label strong {
	font-size: clamp(15px, 2.3vw, 16px);
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.esf-upload-label small {
	max-width: 780px;
	font-size: clamp(14px, 1.65vw, 15px);
	font-weight: 500;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.80);
}

.esf-bill-form .filepond--item-panel {
	background-color: var(--esf-primary);
}

.esf-bill-form .filepond--file {
	color: #fff;
}

.esf-bill-form .filepond--file-status-main,
.esf-bill-form .filepond--file-status-sub,
.esf-bill-form .filepond--file-info-main,
.esf-bill-form .filepond--file-info-sub {
	color: #fff;
}

.esf-bill-form.esf-bill-has-file .filepond--root {
	min-height: 65px;
}

.esf-bill-form.esf-bill-has-file .filepond--drop-label {
	display: none;
}

.esf-bill-form.esf-bill-has-file .filepond--panel-root {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.esf-bill-form.esf-bill-has-file .filepond--list-scroller,
.esf-bill-form.esf-bill-has-file .filepond--list {
	margin: 0;
}

.esf-bill-form.esf-bill-has-file .filepond--item {
	left: 0 !important;
	right: 0 !important;
	margin: 0;
}

.esf-bill-form.esf-bill-has-file .filepond--item-panel {
	border-radius: 12px;
}

.esf-reveal {
	max-height: 0;
	margin-top: 0;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	transform: translateY(-10px);
	transition: max-height 420ms ease, opacity 260ms ease, transform 320ms ease, margin-top 320ms ease, visibility 0s linear 420ms;
}

.esf-reveal.is-visible {
	max-height: 760px;
	margin-top: -5px;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: max-height 500ms ease, opacity 300ms ease 80ms, transform 360ms ease 50ms, margin-top 320ms ease, visibility 0s;
}

.esf-bill-form .esf-reveal {
	padding: 0 2px;
}

.esf-captcha {
	margin-top: 18px;
}

@keyframes esf-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 680px) {
	.esf-quote-form {
		padding: 20px 16px;
		border-radius: 18px;
	}

	.esf-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 15px;
	}

	.esf-field-full {
		grid-column: auto;
	}

	.esf-bill-form .filepond--root,
	.esf-bill-form .filepond--drop-label {
		min-height: 200px;
	}

	.esf-bill-form.esf-bill-has-file .filepond--root {
		min-height: 72px;
	}

	.esf-bill-form .filepond--drop-label {
		padding: 20px 16px;
	}

	.esf-bill-form .filepond--panel-root {
		border-radius: 24px;
	}

	.esf-upload-label {
		gap: 14px;
		padding: 0 6px;
	}

	.esf-upload-icon {
		width: 60px;
		height: 60px;
		border-radius: 18px;
	}

	.esf-upload-label strong {
		font-size: 16px;
	}

	.esf-upload-label small {
		font-size: 13px;
		line-height: 1.4;
	}

	.esf-toggle-group {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.esf-form *,
	.esf-form *::before,
	.esf-form *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
