/* Contact page */

.bsmarty-contact-page {
	background: #fafafa;
	color: #171717;
}

.bsmarty-contact-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	color: #737373;
}

.bsmarty-contact-breadcrumb__list a {
	color: #525252;
	text-decoration: none;
}

.bsmarty-contact-breadcrumb__list a:hover {
	color: var(--bsmarty-blue, #2563eb);
}

.bsmarty-contact-breadcrumb__list li + li::before {
	content: '/';
	margin-right: 0.5rem;
	color: #a3a3a3;
}

.bsmarty-contact-page__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
}

.bsmarty-contact-page__subtitle {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #262626;
}

.bsmarty-contact-page__lead {
	margin: 0 0 2rem;
	font-size: 1rem;
	line-height: 1.65;
	color: #404040;
}

.bsmarty-contact-page__block {
	margin-bottom: 1.75rem;
}

.bsmarty-contact-page__section-title {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: #171717;
}

.bsmarty-contact-page__card {
	padding: 1.125rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 1rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(244, 247, 255, 0.64));
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	backdrop-filter: blur(18px) saturate(145%);
	box-shadow: 0 12px 32px rgba(37, 99, 235, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bsmarty-contact-page__card:hover {
	border-color: rgba(147, 168, 255, 0.52);
	box-shadow: 0 16px 38px rgba(37, 99, 235, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.95);
	transform: translateY(-2px);
}

.bsmarty-contact-page__details {
	margin: 0;
}

.bsmarty-contact-page__details div {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 0.5rem 1rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bsmarty-contact-page__details div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.bsmarty-contact-page__details dt {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #737373;
}

.bsmarty-contact-page__details dd {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: #171717;
}

.bsmarty-contact-page__contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bsmarty-contact-page__contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	padding: 0.65rem 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #171717;
}

.bsmarty-contact-page__contact-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #25d366;
}

.bsmarty-contact-page__contact-svg {
	width: 1.125rem;
	height: 1.125rem;
}

.bsmarty-contact-page__contact-list a {
	color: var(--bsmarty-blue, #2563eb);
	text-decoration: none;
}

.bsmarty-contact-page__contact-list a:hover {
	text-decoration: underline;
}

.bsmarty-contact-page__hours {
	margin: 0 0 0.75rem;
	padding-left: 1.125rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #171717;
}

.bsmarty-contact-page__hours li {
	margin-bottom: 0.25rem;
}

.bsmarty-contact-page__hours-note {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #525252;
}

.bsmarty-contact-page__form-section {
	margin-top: 0.5rem;
	padding-top: 0.25rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, rgba(37, 99, 235, 0) 100%);
}

.bsmarty-contact-form-card {
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 1rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 245, 255, 0.72));
	-webkit-backdrop-filter: blur(20px) saturate(145%);
	backdrop-filter: blur(20px) saturate(145%);
	box-shadow: 0 18px 44px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.bsmarty-contact-form-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.bsmarty-contact-form-card__lead {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #525252;
}

.bsmarty-contact-form-card__hint {
	margin: 0 0 0.35rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #262626;
}

.bsmarty-contact-form-card__fields-list {
	margin: 0 0 1.25rem;
	padding-left: 1.125rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #525252;
}

.bsmarty-contact-form-card__outro {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #525252;
}

.bsmarty-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.bsmarty-contact-form__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #262626;
}

.bsmarty-contact-form__input,
.bsmarty-contact-form__textarea {
	width: 100%;
	padding: 0.75rem 0.875rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0.625rem;
	background: #fff;
	font: inherit;
	color: #171717;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bsmarty-contact-form__input:focus,
.bsmarty-contact-form__textarea:focus {
	outline: none;
	border-color: rgba(37, 99, 235, 0.45);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.bsmarty-contact-form__textarea {
	resize: vertical;
	min-height: 9rem;
}

.bsmarty-contact-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #404040;
	cursor: pointer;
}

.bsmarty-contact-form__consent input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.bsmarty-contact-form__consent a {
	color: var(--bsmarty-blue, #2563eb);
	text-decoration: none;
}

.bsmarty-contact-form__consent a:hover {
	text-decoration: underline;
}

.bsmarty-contact-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.bsmarty-contact-form__captcha {
	margin: 0 0 1rem;
}

.bsmarty-contact-form__actions {
	display: flex;
	justify-content: flex-start;
}

.bsmarty-contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.625rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--bsmarty-blue, #2563eb);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.bsmarty-contact-form__submit:hover,
.bsmarty-contact-form__submit:focus-visible {
	background: #1d4ed8;
	outline: none;
}

.bsmarty-contact-form.is-loading .bsmarty-contact-form__submit {
	opacity: 0.7;
	cursor: wait;
}

.bsmarty-contact-form__msg {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.bsmarty-contact-form__msg.is-success {
	color: #15803d;
}

.bsmarty-contact-form__msg.is-error {
	color: #b91c1c;
}

@supports not (backdrop-filter: blur(1px)) {
	.bsmarty-contact-page__card,
	.bsmarty-contact-form-card {
		background: #fff;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bsmarty-contact-page__card {
		transition: none;
	}

	.bsmarty-contact-page__card:hover {
		transform: none;
	}
}

@media (max-width: 639px) {
	.bsmarty-contact-page__details div {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}

	.bsmarty-contact-form-card {
		padding: 1.25rem;
	}
}
