:root {
	--text-main: black;
	--text-main-contrast: white;
	--text-caption: rgba(0, 0, 0, 0.40);

	--bg-btn: black;
	--bg-btn-hover: #333;
	--bg-secondary: #F4F4F4;
	--bg-secondary-focus: #FFFFFF;
	--bg-checkbox: #FFFFFF;
	--bg-checkbox-hover: rgba(0, 0, 0, 0.06);

	--border-input: rgba(0, 0, 0, 0.12);
	--border-input-hover: rgba(0, 0, 0, 0.24);
	--border-input-focus: rgba(0, 0, 0, 0.12);
	--border-checkbox: rgba(0, 0, 0, 0.16);
}

.descr {
	font-weight: 400;
	font-size: 16px;
	line-height: 125%;
	color: var(--text-caption);
	display: block;
}

.addr-wrapper {
	font-weight: 400;
	font-size: 20px;
	line-height: 120%;
}

.phone {
	display: block;
	margin-bottom: 12px;
}

.address {
	margin-bottom: 8px;
}

.contact-us-block__map {
	margin-bottom: 96px;
}

.contact-us-block__wrapper {
	display: flex;
	gap: 32px;
}

.contact-us-block__left {
	width: 55%;
	flex-shrink: 0;
}

.contact-us-block__left-top {
	padding: 32px 32px 24px;
	background: var(--bg-secondary);
}

.contact-us-block__left-top__title {
	font-weight: 700;
	font-size: 48px;
	line-height: 100%;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.static_map {
	background: var(--bg-secondary, #F4F4F4);
	padding: 32px 32px 24px;
}
.static_map-block {
	gap: 32px;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: space-between;
	justify-content: space-between;
}
.static_map-header {
	font-weight: 700;
	font-size: 28px;
	line-height: 114%;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.static_map-description {
	font-weight: 400;
	font-size: 16px;
	line-height: 125%;
	margin-bottom: 20px;
}

.static_map-body {
	order: 2;
	width: 100%;
	display: inline-flex;
	gap: 12px;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: space-between;
	align-items: stretch;
}
.static_map-footer {
	order: 4;
	width: 100%;
	margin-bottom: 8px;
}
.static_map-notice {
	font-weight: 400;
	font-size: 12px;
	line-height: 133%;
	color: var(--text-caption, rgba(0, 0, 0, 0.40));
	max-width: 240px;
}


.static_map-title {
	color: var(--text-main, black);
	font-size: 48px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
}
.static_map-description {
	color: var(--text-main, black);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	max-width: 338px;
}
.static_map-error {
	background: rgba(244, 67, 54, 0.1);
	border: 1px solid #F44336;
	border-radius: 8px;
	padding: 20px;
	color: #F44336;
	margin-bottom: 30px;
}


.static_map-field {
	width: 100%;
	margin: 0;
	position: relative;
}
.static_map-field:nth-child(1),
.static_map-field:nth-child(2) {
	width: calc(50% - 6px);
}

.static_map-input,
.static_map-textarea {
	width: 100%;
	height: 64px;
	padding: 30px 20px 14px;
	border-radius: 3px;
	background: var(--bg-secondary, #F4F4F4) !important;
	border: 1px solid var(--border-input, rgba(0, 0, 0, 0.12)) !important;
	outline: none;
	font-size: 16px;
	transition: all 0.3s ease-in-out;
	box-sizing: border-box;
}
.static_map-textarea {
	height: 104px !important;
	resize: none;
}
.static_map-label {
	position: absolute;
	z-index: 1;
	left: 20px;
	top: 20px;
	margin: 0;
	pointer-events: none;
	transition: all 0.2s ease;
	color: var(--text-caption, rgba(0, 0, 0, 0.40));
	font-size: 16px;
	font-weight: 400;
}

.static_map-input:hover,
.static_map-textarea:hover {
	border: 1px solid var(--border-input-hover, rgba(0, 0, 0, 0.12)) !important;
}
.static_map-input:focus,
.static_map-textarea:focus {
	background: var(--bg-secondary-focus, #F4F4F4) !important;
	border: 1px solid var(--border-input-focus, rgba(0, 0, 0, 0.12)) !important;
}
.static_map-input:focus + .static_map-label,
.static_map-textarea:focus + .static_map-label,
.static_map-input:not(:placeholder-shown) + .static_map-label,
.static_map-textarea:not(:placeholder-shown) + .static_map-label {
	font-size: 12px;
	top: 12px;
}

.static_map-field.error .static_map-input,
.static_map-field.error .static_map-textarea {
	border-color: #ff0000;
}
.static_map-field.error .static_map-label {
	color: #ff0000;
}


.static_map-checkbox.checkbox-wrapper {
	position: relative;
	cursor: pointer;
	width: 100%;
	display: inline-flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0 0 24px;
}
.static_map-checkbox .checkbox-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.static_map-checkbox .checkbox-icon {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	margin: 0;
	flex-shrink: 0;
	border: 1px solid var(--border-checkbox);
	outline-offset: -1px;
	background: var(--bg-secondary);
	transition: all 0.2s ease;
}
.static_map-checkbox:hover .checkbox-icon {
	background: var(--bg-checkbox-hover);
}
.static_map-checkbox .checkbox-input:checked + .checkbox-icon::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 10px;
	border: solid var(--text-main);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.static_map-checkbox .checkbox-text {
	color: var(--text-main, black);
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	word-wrap: break-word;
	flex: 1;
}


input.submit-button[type="submit"] {
	width: 100%;
	padding: 16px 24px;
	background: var(--bg-btn, black);
	color: var(--text-main-contrast, white);
	border: none;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.5;
	letter-spacing: 1.28px;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}
input.submit-button[type="submit"]:hover {
	background: var(--bg-btn-hover, #333);
}

@media (max-width: 990px) {
	.contact-us-block__map {
		margin-bottom: 56px;
	}
	.contact-us-block__wrapper {
		flex-direction: column;
		gap: 16px;
	}
	.contact-us-block__left {
		width: 100%;
	}
	.contact-us-block__left-top__title {
		font-size: 32px;
	}
	.addr-wrapper {
		font-size: 16px;
	}
	.address {
		margin-bottom: 0;
	}
	.contact-us-block__left-top {
		padding: 16px 16px 24px;
		background: var(--bg-secondary);
	}





	.static_map {
		padding: 24px;
	}
	.static_map-block {
		gap: 24px;
		flex-direction: column;
	}
	.static_map-header {
		order: 1;
		width: 100%;
		max-width: 100%;
	}
	.static_map-body {
		order: 2;
		width: 100%;
		max-width: 100%;
	}
	.static_map-footer {
		order: 3;
		width: 100%;
		max-width: 100%;
	}

	.static_map-textarea {
		height: 132px;
	}
	.static_map-notice {
		order: 4;
		width: 100%;
		max-width: 100%;
		text-align: center;
	}

	.static_map-title {
		font-size: 32px;
	}
	.static_map-description {
		max-width: 100%;
	}
	.static_map-field:nth-child(1),
	.static_map-field:nth-child(2) {
		width: 100%;
	}


}


@media (max-width: 510px) {
	.static_map {
		padding: 16px;
		width: 100%;
		box-sizing: border-box;
	}

	.static_map-block {
		gap: 16px;
		width: 100%;
	}

	.static_map-title {
		line-height: 32px;
	}

	.static_map-description {
		font-size: 16px;
		line-height: 20px;
	}

	.static_map-body {
		width: 100%;
		max-width: 100%;
		gap: 12px;
	}

	.static_map-field {
		width: 100% !important; /* Переопределяем любые другие ширины */
	}

	.static_map-input,
	.static_map-textarea {
		width: 100%;
		height: 64px;
		padding: 30px 16px 14px;
		font-size: 16px;
		box-sizing: border-box;
	}

	.static_map-textarea {
		height: 132px;
		padding-top: 30px;
	}

	.static_map-label {
		left: 16px;
		top: 22px;
		font-size: 16px;
		line-height: 20px;
	}

	.static_map-input:focus + .static_map-label,
	.static_map-textarea:focus + .static_map-label,
	.static_map-input:not(:placeholder-shown) + .static_map-label,
	.static_map-textarea:not(:placeholder-shown) + .static_map-label {
		font-size: 16px;
		top: 8px;
	}

	/* Чекбокс для мобильной версии */
	.static_map-checkbox.checkbox-wrapper {
		gap: 8px;
		align-items: flex-start;
	}

	.static_map-checkbox .checkbox-icon {
		width: 18px;
		height: 18px;
	}

	.static_map-checkbox .checkbox-input:checked + .checkbox-icon::after {
		left: 5px;
		top: 1px;
		width: 5px;
		height: 9px;
	}

	.static_map-checkbox .checkbox-text {
		font-size: 16px;
		line-height: 20px;
		flex: 1;
	}

	/* Кнопка для мобильной версии */
	.static_map-footer {
		width: 100%;
	}

	.submit-button {
		width: 100%;
		padding: 16px 20px;
		font-size: 16px;
		letter-spacing: 1.28px;
	}

	.static_map-notice {
		font-size: 12px;
		line-height: 16px;
		text-align: center;
	}

	.captcha-container {
		width: 100%;
	}

	.captcha-wrapper {
		flex-direction: column;
		gap: 8px;
	}

	.captcha-input {
		width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 360px) {
	.static_map {
		padding: 12px;
	}

	.static_map-title {
		font-size: 28px;
		line-height: 28px;
	}

	.static_map-description {
		font-size: 14px;
		line-height: 18px;
	}

	.static_map-input,
	.static_map-textarea {
		height: 56px;
		padding: 26px 12px 10px;
	}

	.static_map-textarea {
		height: 120px;
		padding-top: 26px;
	}

	.static_map-label {
		left: 12px;
		font-size: 14px;
	}
}