/**
 * Страница «Контакты».
 */

body.algorithm-contact-page {
	background-color: #fff;
}

.contact-page {
	padding-top: 0;
	padding-bottom: clamp(32px, 4vw, 48px);
	--contact-card-pad: clamp(14px, 1.6vw, 18px);
}

.contact-page__title {
	margin: 0 0 clamp(20px, 2.5vw, 32px);
	text-align: center;
	font-family: var(--font-heading);
	font-synthesis: none;
	font-weight: 600;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 120%;
	letter-spacing: -0.02em;
	color: var(--grafit-black);
	text-transform: uppercase;
}

.contact-page.wrap {
	width: 100%;
	max-width: var(--content-max);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.contact-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.6vw, 20px);
	width: 100%;
	max-width: 100%;
	align-items: stretch;
}

.contact-card,
.contact-connect-shell {
	background: #fff;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	min-width: 0;
	min-height: 360px;
	height: 100%;
	box-sizing: border-box;
}

.contact-office,
.contact-form-card {
	background: #fff;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	min-width: 0;
	min-height: 360px;
	height: 100%;
	box-sizing: border-box;
}

.contact-card {
	--contact-card-pad: clamp(14px, 1.6vw, 18px);
	--contact-card-logo-radius: 14px;
	--contact-card-header-bg: #fdf9f0;
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

.contact-office,
.contact-form-card {
	padding: clamp(18px, 2vw, 24px);
	display: flex;
	flex-direction: column;
}

.contact-card__header {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	padding: 18px var(--contact-card-pad);
	background: var(--contact-card-header-bg);
}

.contact-card__logo-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 65px;
	flex-shrink: 0;
	border-radius: var(--contact-card-logo-radius);
	background: #fff;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.contact-card--logo-rect .contact-card__logo-slot {
	width: 140px;
	height: 56px;
	border-radius: 8px;
	box-shadow: none;
}

.contact-card__logo {
	display: block;
	max-width: 90%;
	max-height: 90%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.contact-card--logo-rect .contact-card__logo {
	max-width: 100%;
	max-height: 100%;
}

.contact-card__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	flex: 1 1 auto;
	min-height: 0;
}

.contact-card__info,
.contact-card__aside {
	padding: var(--contact-card-pad);
	min-width: 0;
}

.contact-card__info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-card__aside {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-card__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.2;
	color: var(--grafit-black);
	text-transform: uppercase;
}

.contact-card__legal {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--grafit-grey);
}

.contact-card__badge {
	display: inline-flex;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	line-height: 1.35;
	font-weight: 500;
	color: var(--contact-badge-color, #525659);
	background: color-mix(in srgb, var(--contact-badge-color, #525659) 12%, white);
}

.contact-card__region {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--grafit-secon-text);
}

.contact-card__description {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--grafit-grey);
	flex-grow: 1;
}

.contact-card__contacts {
	width: 100%;
	max-width: none;
	align-self: stretch;
	flex: 1 1 auto;
}

.contact-card__contacts,
.contact-office__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
}

.contact-card__contacts {
	gap: 6px;
}

.contact-office__list {
	gap: 4px;
}

.contact-card__contact {
	gap: 8px;
	line-height: 1.3;
}

.contact-card__contact,
.contact-office__item {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 10px;
	align-items: start;
	font-size: 13px;
	line-height: 1.4;
	color: var(--grafit-grey);
	overflow-wrap: anywhere;
}

.contact-card__contact a,
.contact-office__item a,
.contact-office__item a.contact-office__text {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast);
}

.contact-card__contact a:hover,
.contact-office__item a:hover,
.contact-office__item a.contact-office__text:hover {
	color: var(--orange);
}

.contact-card__icon {
	display: block;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	background-color: var(--grafit-secon-text);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.contact-card__contact--address .contact-card__icon,
.contact-office__item--address .contact-card__icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.contact-card__contact--phone .contact-card__icon,
.contact-office__item--phone .contact-card__icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .3 2 .6 2.9a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.9.3 1.9.5 2.9.6A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .3 2 .6 2.9a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.9.3 1.9.5 2.9.6A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E");
}

.contact-card__contact--email .contact-card__icon,
.contact-office__item--email .contact-card__icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.contact-card__contact--website .contact-card__icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18'/%3E%3C/svg%3E");
}

.contact-card__footer {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.contact-card__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 14px;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}

.contact-office {
	display: flex;
	flex-direction: column;
	min-height: 360px;
}

.contact-office__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: start;
	flex: 0 1 auto;
	min-height: 0;
}

.contact-office__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}

.contact-office__title {
	margin: 0 0 8px;
}

.contact-office__title,
.contact-form-card__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.2;
	color: var(--grafit-black);
	text-transform: uppercase;
}

.contact-form-card__title {
	margin: 0 0 12px;
}

.contact-office__list {
	flex: 0 1 auto;
}

.contact-office__item {
	gap: 8px;
	line-height: 1.3;
	font-size: 12px;
}

.contact-office__callback {
	display: inline-flex;
	margin-top: 10px;
	align-self: center;
	text-decoration: none;
	padding: 10px 18px;
	font-size: 14px;
}

.contact-office__map {
	position: relative;
	width: clamp(160px, 16vw, 256px);
	aspect-ratio: 1;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #efefef;
}

.contact-office__map iframe,
.contact-office__map .algorithm-contact-map {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	border: 0;
}

.contact-form-card {
	min-height: 360px;
}

.contact-form-card__stages {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.contact-form-card__track {
	display: flex;
	flex-direction: row;
	width: 200%;
	flex: 1 1 auto;
	min-height: 0;
	transform: translateX(0);
	transition: transform 0.48s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
	will-change: transform;
}

.contact-form-card__stages.is-success .contact-form-card__track {
	transform: translateX(-50%);
}

.contact-form-card__stage {
	flex: 0 0 50%;
	width: 50%;
	min-width: 0;
}

.contact-form-card__stage--form,
.contact-page-form {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
}

.contact-form-card__stage--success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.contact-page-form form {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.contact-form-card__success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(20px, 2.5vw, 28px);
	flex: 1 1 auto;
	min-height: clamp(280px, 32vw, 360px);
	padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 20px);
	text-align: center;
	box-sizing: border-box;
}

.contact-form-card__success-title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(22px, 2.8vw, 32px);
	line-height: 1.25;
	color: var(--grafit-black);
	text-transform: uppercase;
}

.contact-form-card__success-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: min(100%, 280px);
	text-decoration: none;
}

.contact-page-form__field {
	margin-bottom: 10px;
}

.contact-page-form__label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 500;
	color: var(--grafit-black);
}

.contact-page-form input[type="text"],
.contact-page-form input[type="tel"],
.contact-page-form textarea {
	width: 100%;
	border: none;
	border-radius: 5px;
	padding: 10px 12px;
	box-sizing: border-box;
	background: #f4f4f4;
	font-family: var(--font-family);
	font-size: 14px;
	color: var(--grafit-black);
}

.contact-page-form--island .cart-field-wrap input[type="text"],
.contact-page-form--island .cart-field-wrap input[type="tel"] {
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
	box-sizing: border-box !important;
	font-family: var(--font-family) !important;
	font-weight: 500 !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	color: var(--grafit-black) !important;
	outline: none;
	transition:
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}

.contact-page-form--island .cart-field-wrap input[type="text"].cart-field--required,
.contact-page-form--island .cart-field-wrap input[type="tel"].cart-field--required {
	border-color: rgba(0, 0, 0, 0.08) !important;
}

.contact-page-form--island .cart-field-wrap textarea {
	width: 100%;
	min-height: 88px;
	max-height: none;
	margin: 0;
	padding: 12px 18px;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 20px;
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.4;
	color: var(--grafit-black);
	resize: none;
	outline: none;
	transition:
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}

.contact-page-form--island .cart-field-wrap textarea.cart-field--required {
	border-color: rgba(0, 0, 0, 0.08) !important;
}

.contact-page-form--island .cart-field-wrap input[type="text"].cart-field--filled,
.contact-page-form--island .cart-field-wrap input[type="tel"].cart-field--filled,
.contact-page-form--island .cart-field-wrap textarea.cart-field--filled {
	border-color: rgba(0, 0, 0, 0.08) !important;
}

.contact-page-form--island .cart-field-wrap input::placeholder,
.contact-page-form--island .cart-field-wrap textarea::placeholder {
	color: var(--grafit-secon-text) !important;
}

.contact-page-form--island .cart-field-wrap input:hover {
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.1);
}

.contact-page-form--island .cart-field-wrap input:focus,
.contact-page-form--island .cart-field-wrap textarea:focus {
	border-color: #d2d5da !important;
	box-shadow: 0 2px 10px rgba(32, 33, 36, 0.14) !important;
	background: #fff !important;
}

.contact-page-form--island .cart-field-wrap input[type="text"]:focus:not(.cart-field--filled),
.contact-page-form--island .cart-field-wrap input[type="tel"]:focus:not(.cart-field--filled),
.contact-page-form--island .cart-field-wrap textarea:focus:not(.cart-field--filled),
.contact-page-form--island .cart-field-wrap input.cart-field--required:focus,
.contact-page-form--island .cart-field-wrap textarea.cart-field--required:focus {
	border-color: #d2d5da !important;
	box-shadow: 0 2px 10px rgba(32, 33, 36, 0.14) !important;
}

.contact-page-form--island .cart-field-wrap input[type="text"].cart-field--filled:focus,
.contact-page-form--island .cart-field-wrap input[type="tel"].cart-field--filled:focus,
.contact-page-form--island .cart-field-wrap textarea.cart-field--filled:focus {
	border-color: #d2d5da !important;
}

.contact-page-form--island .cart-field-wrap textarea:hover {
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.1);
}

.contact-page-form--island .cart-field-wrap .cart-field--invalid {
	border-color: var(--form-error-border) !important;
	box-shadow: 0 0 0 2px var(--form-error-ring) !important;
}

.contact-page-form textarea {
	min-height: 72px;
	max-height: 88px;
	resize: none;
}

.contact-page-form__consent {
	margin: 8px 0 10px;
	font-size: 12px;
	line-height: 1.35;
	color: #373838;
}

.contact-page-form:not(.contact-page-form--island) .contact-page-form__consent input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	background-color: transparent;
	border: 1px solid var(--grafit-black);
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	margin-right: 8px;
	vertical-align: middle;
	flex-shrink: 0;
}

.contact-page-form:not(.contact-page-form--island) .contact-page-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}

.contact-page-form:not(.contact-page-form--island) .contact-page-form__consent input[type="checkbox"]:checked::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 6px;
	width: 5px;
	height: 10px;
	border: solid var(--grafit-black);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.contact-page-form__submit {
	margin-top: auto;
}

.contact-page-form__submit .island-cta-btn {
	width: 100%;
	border: none;
	cursor: pointer;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 15px;
	padding: 12px 18px;
}

/* Нижний ряд: ПТК + объединённый блок офис/форма */

.contact-page__grid--footer {
	margin-top: clamp(16px, 1.6vw, 20px);
	align-items: stretch;
}

.contact-page__grid--footer > .contact-connect-shell {
	grid-column: span 2;
}

.contact-page__grid--footer > .contact-card .contact-card__description {
	flex-grow: 0;
}

.contact-page__grid--footer > .contact-card .contact-card__contacts {
	flex: 0 0 auto;
}

.contact-page__grid--footer > .contact-card .contact-card__footer {
	margin-top: 8px;
}

.contact-connect-shell {
	display: flex;
	flex-direction: column;
	padding: var(--contact-card-pad);
	min-height: 0;
}

.contact-connect__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: clamp(16px, 2vw, 24px);
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
}

.contact-connect__form {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	min-height: 0;
}

.contact-connect__office {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}

.contact-office--embedded {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0;
	--contact-office-glass-bg: rgba(255, 255, 255, 0.58);
	--contact-office-glass-border: rgba(255, 255, 255, 0.42);
	--contact-office-glass-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
	--contact-office-glass-divider: rgba(255, 255, 255, 0.38);
}

.contact-office--embedded .contact-office__title {
	margin-bottom: 12px;
	text-align: center;
}

.contact-office--embedded .contact-office__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid var(--contact-office-glass-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--contact-office-glass-bg);
	box-shadow: var(--contact-office-glass-shadow);
	-webkit-backdrop-filter: blur(18px) saturate(165%);
	backdrop-filter: blur(18px) saturate(165%);
}

@supports not (backdrop-filter: blur(1px)) {
	.contact-office--embedded .contact-office__grid {
		background: rgba(255, 255, 255, 0.92);
	}
}

.contact-office--embedded .contact-office__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--grafit-grey);
	overflow-wrap: anywhere;
	border-right: 1px solid var(--contact-office-glass-divider);
	border-bottom: 1px solid var(--contact-office-glass-divider);
	background: rgba(255, 255, 255, 0.16);
	border-radius: 0;
}

.contact-office--embedded .contact-office__item:nth-child(2n) {
	border-right: none;
}

.contact-office--embedded .contact-office__item:nth-last-child(-n+2) {
	border-bottom: none;
}

.contact-office--embedded .contact-office__icon-ring {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.42);
	box-shadow:
		0 4px 18px rgba(0, 0, 0, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(14px) saturate(155%);
	backdrop-filter: blur(14px) saturate(155%);
}

@supports not (backdrop-filter: blur(1px)) {
	.contact-office--embedded .contact-office__icon-ring {
		background: rgba(255, 255, 255, 0.88);
	}
}

.contact-office--embedded .contact-office__icon-ring .contact-card__icon {
	width: 14px;
	height: 14px;
	margin-top: 0;
}

.contact-office--embedded .contact-office__text {
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.contact-office--embedded .contact-office__map {
	position: relative;
	width: 100%;
	flex: 1 1 auto;
	min-height: clamp(150px, 16vw, 200px);
	margin-top: 12px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--contact-office-glass-bg);
	border: 1px solid var(--contact-office-glass-border);
	box-shadow: var(--contact-office-glass-shadow);
	-webkit-backdrop-filter: blur(18px) saturate(165%);
	backdrop-filter: blur(18px) saturate(165%);
	aspect-ratio: unset;
	max-width: none;
}

@supports not (backdrop-filter: blur(1px)) {
	.contact-office--embedded .contact-office__map {
		background: rgba(255, 255, 255, 0.92);
	}
}

.contact-office--embedded .contact-office__map iframe,
.contact-office--embedded .contact-office__map .algorithm-contact-map {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	border: 0;
}

.contact-form-card--embedded {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

.contact-connect__form .contact-form-card--embedded,
.contact-connect__form .contact-form-card--embedded .contact-form-card__stages,
.contact-connect__form .contact-form-card--embedded .contact-form-card__stage--form,
.contact-connect__form .contact-form-card--embedded .contact-page-form,
.contact-connect__form .contact-form-card--embedded .contact-page-form form {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	min-height: 0;
	flex: 1 1 auto;
}

.contact-connect__form .contact-form-card--embedded .contact-form-card__stages {
	overflow: hidden;
}

.contact-connect__form .contact-form-card--embedded .contact-form-card__track {
	display: flex;
	flex-direction: row;
	width: 200%;
	flex: 1 1 auto;
	min-height: 0;
	max-width: none;
	transform: translateX(0);
	transition: transform 0.48s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
	will-change: transform;
}

.contact-connect__form .contact-form-card--embedded .contact-form-card__stages.is-success .contact-form-card__track {
	transform: translateX(-50%);
}

.contact-connect__form .contact-form-card--embedded .contact-form-card__stage {
	flex: 0 0 50%;
	width: 50%;
	min-width: 0;
}

.contact-connect__form .contact-form-card--embedded .contact-form-card__stage--success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.contact-connect__form .contact-form-card--embedded .contact-form-card__success {
	flex: 1 1 auto;
	min-height: 100%;
	width: 100%;
}

.contact-connect__form .contact-page-form.cart-order-form {
	width: 100%;
	max-width: none;
	position: static;
	top: auto;
	align-self: stretch;
	flex-shrink: 1;
	flex: 1 1 auto;
}

.contact-connect__form .contact-form-card__title {
	margin: 0 0 12px;
	text-align: center;
}

.contact-page-form--island .contact-page-form__fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin-bottom: 12px;
	flex: 1 1 auto;
	min-height: 0;
}

.contact-page-form--island .contact-page-form__field--message {
	margin: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.contact-page-form--island .cart-field-wrap {
	width: 100%;
}

.contact-page-form--island .contact-page-form__field--message textarea {
	flex: 1 1 auto;
	min-height: 88px;
}

.contact-page-form--island .contact-page-form__consent {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--grafit-secon-text);
}

.contact-page-form--island .cart-order-form-total-btn {
	margin-top: auto;
	padding-top: 0;
	padding-bottom: 6px;
}

.contact-page-form--island .cart-order-form-total-btn button {
	width: 100%;
}

@media (max-width: 1100px) {
	.contact-page__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-page__grid--footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-page__grid--footer > .contact-connect-shell {
		grid-column: span 2;
	}
}

@media (max-width: 767px) {
	.contact-page__title {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.contact-page__grid {
		grid-template-columns: 1fr;
	}

	.contact-card,
	.contact-office,
	.contact-form-card,
	.contact-connect-shell {
		min-height: 0;
	}

	.contact-card__main {
		grid-template-columns: 1fr;
	}

	.contact-card__info {
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}

	.contact-page__grid--footer > .contact-connect-shell {
		grid-column: span 1;
	}

	.contact-connect__grid {
		grid-template-columns: 1fr;
	}

	.contact-connect__form {
		padding-bottom: 0;
	}

	.contact-connect__office {
		padding-top: 0;
	}

	.contact-office--embedded .contact-office__grid {
		grid-template-columns: 1fr;
	}

	.contact-office--embedded .contact-office__item {
		border-right: none;
	}

	.contact-office--embedded .contact-office__item:not(:last-child) {
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}

	.contact-office--embedded .contact-office__item:last-child {
		border-bottom: none;
	}

	.contact-office--embedded .contact-office__map {
		width: 100%;
		height: clamp(120px, 40vw, 160px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-form-card__track,
	.contact-connect__form .contact-form-card--embedded .contact-form-card__track {
		transition: none;
	}
}
