.vis-contact-form {
	--vis-blue-deep: #085a8a;
	--vis-blue: #0a6fac;
	--vis-ink: oklch(0.31 0.08 255);
	--vis-paper-blue: oklch(0.98 0.01 240);
	--vis-soft-blue: rgba(10, 111, 172, 0.14);
	--vis-muted: rgba(42, 63, 82, 0.62);
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	color: var(--vis-ink);
}

.vis-contact-form__card {
	border: 1px solid var(--vis-soft-blue);
	border-radius: 1.6rem;
	background: var(--vis-paper-blue);
	padding: 2rem;
}

@media (min-width: 768px) {
	.vis-contact-form__card {
		padding: 3rem;
	}
}

.vis-contact-form__kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--vis-blue);
}

.vis-contact-form__lead {
	margin: 1rem 0 0;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.3;
	color: var(--vis-ink);
}

@media (min-width: 768px) {
	.vis-contact-form__lead {
		font-size: 1.875rem;
	}
}

.vis-contact-form__notice {
	margin-top: 1.25rem;
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
}

.vis-contact-form__notice[hidden] {
	display: none;
}

.vis-contact-form__notice--success {
	background: rgba(10, 111, 172, 0.1);
	color: var(--vis-blue-deep);
}

.vis-contact-form__notice--error {
	background: rgba(207, 46, 46, 0.08);
	color: #9b1c1c;
}

.vis-contact-form__form {
	margin-top: 2.5rem;
}

.vis-contact-form__grid {
	display: grid;
	gap: 1.75rem 2.5rem;
}

@media (min-width: 768px) {
	.vis-contact-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.vis-contact-form__field {
	display: block;
}

.vis-contact-form__field--full {
	margin-top: 1.75rem;
}

.vis-contact-form__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--vis-muted);
}

.vis-contact-form__field input,
.vis-contact-form__field textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--vis-soft-blue);
	background: transparent;
	padding: 0.75rem 0;
	font: inherit;
	font-size: 1rem;
	color: var(--vis-ink);
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
}

.vis-contact-form__field input::placeholder,
.vis-contact-form__field textarea::placeholder {
	color: rgba(42, 63, 82, 0.35);
}

.vis-contact-form__field input:focus,
.vis-contact-form__field textarea:focus {
	outline: none;
	border-bottom-color: var(--vis-blue);
}

.vis-contact-form__field textarea {
	resize: none;
	min-height: 7.5rem;
}

.vis-contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.vis-contact-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2.5rem;
	border: 0;
	border-radius: 9999px;
	background: var(--vis-blue-deep) !important;
	padding: 0.875rem 2rem;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff !important;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.vis-contact-form__submit:hover:not(:disabled) {
	background: var(--vis-blue) !important;
}

.vis-contact-form__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.vis-contact-form__submit svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.vis-contact-form.is-success .vis-contact-form__form {
	display: none;
}

/* Beat Elementor button overrides */
.elementor .vis-contact-form__submit {
	background: var(--vis-blue-deep) !important;
	color: #fff !important;
}

.elementor .vis-contact-form__submit:hover:not(:disabled) {
	background: var(--vis-blue) !important;
	color: #fff !important;
}
