.valora-contact-form {
	font-family: Inter, Arial, sans-serif;
	position: relative;
	width: 100%;
}

.valora-contact-form__form {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 8px;
	box-sizing: border-box;
	margin: 0;
	max-width: 100%;
	padding: 24px;
	position: relative;
	width: 100%;
}

.valora-contact-form__grid {
	--valora-contact-columns: 2;
	column-gap: 16px;
	display: grid;
	grid-template-columns: repeat(var(--valora-contact-columns), minmax(0, 1fr));
	row-gap: 16px;
}

.valora-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	grid-column: span 1;
	min-width: 0;
}

.valora-contact-form__field--span-2 { grid-column: span 2; }
.valora-contact-form__field--span-3 { grid-column: span 3; }
.valora-contact-form__field--span-full { grid-column: 1 / -1; }

.valora-contact-form__label {
	color: #202020;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.valora-contact-form__required { color: #cf3434; }
.valora-contact-form__control-wrap { position: relative; }

.valora-contact-form .valora-contact-form__control {
	-webkit-appearance: none !important;
	appearance: none !important;
	background: #fff;
	background-image: none;
	border: 1px solid rgba(20, 20, 20, 0.16);
	border-radius: 5px;
	box-shadow: none !important;
	box-sizing: border-box;
	color: #202020;
	display: block;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.35;
	margin: 0;
	min-height: 48px;
	outline: none !important;
	padding: 12px 14px;
	transition: background-color 180ms ease, border-color 180ms ease;
	width: 100%;
}

.valora-contact-form textarea.valora-contact-form__control {
	min-height: 130px;
	padding-bottom: 34px;
	resize: vertical;
}

.valora-contact-form select.valora-contact-form__control {
	background-image: linear-gradient(45deg, transparent 50%, #202020 50%), linear-gradient(135deg, #202020 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 40px;
}

.valora-contact-form__control::placeholder { color: #747474; opacity: 1; }
.valora-contact-form__control:focus,
.valora-contact-form__control:focus-visible,
.valora-contact-form__control:active,
.valora-contact-form__control[aria-invalid="true"] {
	box-shadow: none !important;
	outline: none !important;
}

.valora-contact-form__control[aria-invalid="true"] { border-color: rgba(20, 20, 20, 0.16); }

.valora-contact-form__counter {
	bottom: 10px;
	color: #555;
	font-size: 12px;
	line-height: 1;
	pointer-events: none;
	position: absolute;
	right: 12px;
}

.valora-contact-form__checkbox {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: 10px;
	min-height: 48px;
}

.valora-contact-form__checkbox input {
	accent-color: #087a45;
	height: 18px;
	margin: 0;
	width: 18px;
}

.valora-contact-form__submit {
	-webkit-appearance: none;
	align-items: center;
	appearance: none;
	background: #087a45;
	border: 1px solid #087a45;
	border-radius: 5px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	gap: 12px;
	justify-content: center;
	line-height: 1.2;
	margin: 16px 0 0;
	min-height: 52px;
	overflow: hidden;
	padding: 12px 24px;
	position: relative;
	text-transform: uppercase;
	transition: background-color 200ms ease, border-color 200ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1);
	width: 210px;
}

.valora-contact-form__submit::before {
	background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, .3) 48%, transparent 78%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(-125%);
	transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
}

.valora-contact-form__submit:hover,
.valora-contact-form__submit:focus-visible {
	background: #0a9152;
	border-color: #0a9152;
	box-shadow: none;
	color: #fff;
	transform: translateY(-1px);
}

.valora-contact-form__submit:hover::before,
.valora-contact-form__submit:focus-visible::before { transform: translateX(125%); }
.valora-contact-form__submit:focus-visible { outline: 3px solid rgba(104, 198, 63, .45); outline-offset: 3px; }
.valora-contact-form__submit:active { transform: translateY(0) scale(.985); }
.valora-contact-form__submit:disabled { cursor: wait; opacity: .82; }

.valora-contact-form__submit-text,
.valora-contact-form__arrow { position: relative; z-index: 2; }
.valora-contact-form__arrow { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform 260ms cubic-bezier(.22, 1, .36, 1); width: 18px; }
.valora-contact-form__submit:hover .valora-contact-form__arrow { transform: translateX(4px); }

.valora-contact-form__loader {
	animation: valora-contact-spin 700ms linear infinite;
	border: 2px solid rgba(255,255,255,.35);
	border-radius: 50%;
	border-top-color: currentColor;
	display: none;
	height: 19px;
	position: absolute;
	width: 19px;
	z-index: 3;
}

.valora-contact-form__form.is-loading .valora-contact-form__submit-text,
.valora-contact-form__form.is-loading .valora-contact-form__arrow { opacity: 0; }
.valora-contact-form__form.is-loading .valora-contact-form__loader { display: block; }
.valora-contact-form__honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }

.valora-contact-form__toast {
	align-items: center;
	background: #7a2727;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 10px;
	box-shadow: 0 14px 36px rgba(0,0,0,.26);
	color: #fff;
	display: flex;
	font-size: 14px;
	font-weight: 600;
	gap: 11px;
	left: 50%;
	line-height: 1.35;
	max-width: min(380px, calc(100vw - 32px));
	opacity: 0;
	padding: 13px 18px;
	pointer-events: none;
	position: fixed;
	transform: translate(-50%, 18px);
	transition: opacity 220ms ease, transform 300ms cubic-bezier(.22,1,.36,1);
	visibility: hidden;
	z-index: 99999;
}

.valora-contact-form__toast::before { align-items: center; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: "!"; display: inline-flex; flex: 0 0 24px; font-size: 13px; font-weight: 800; height: 24px; justify-content: center; width: 24px; }
.valora-contact-form__toast--success { background: #105d38; }
.valora-contact-form__toast--success::before { content: "✓"; }
.valora-contact-form__toast--error { background: #7a2727; }
.valora-contact-form__toast--top-right,
.valora-contact-form__toast--top-center { top: 24px; }
.valora-contact-form__toast--bottom-right,
.valora-contact-form__toast--bottom-center { bottom: 24px; }
.valora-contact-form__toast--top-right,
.valora-contact-form__toast--bottom-right { left: auto; right: 24px; transform: translateY(18px); }
.valora-contact-form__toast.is-visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; }
.valora-contact-form__toast--top-right.is-visible,
.valora-contact-form__toast--bottom-right.is-visible { transform: translateY(0); }

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

@media (max-width: 1024px) {
	.valora-contact-form__field--span-3 { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
	.valora-contact-form__field--span-2,
	.valora-contact-form__field--span-3,
	.valora-contact-form__field--span-full { grid-column: 1 / -1; }
	.valora-contact-form__submit { width: 100%; }
	.valora-contact-form__toast--top-right,
	.valora-contact-form__toast--bottom-right { left: 16px; right: 16px; transform: translateY(18px); }
	.valora-contact-form__toast--top-right.is-visible,
	.valora-contact-form__toast--bottom-right.is-visible { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.valora-contact-form__control,
	.valora-contact-form__submit,
	.valora-contact-form__arrow,
	.valora-contact-form__toast { transition: none !important; }
	.valora-contact-form__loader { animation-duration: 1400ms; }
}
