.site-header {
	background: #fff;
	border-bottom: 1px solid rgba(29, 17, 103, 0.1);
	position: relative;
	z-index: 50;
}

.site-header__inner,
.site-footer__inner {
	margin: 0 auto;
	max-width: 1240px;
	padding: 0 24px;
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 28px;
	min-height: 88px;
}

.site-header__logo {
	align-items: center;
	color: #1d1167;
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 700;
	text-decoration: none;
}

.site-header__logo img {
	display: block;
	height: auto;
	max-height: 44px;
	max-width: 180px;
	width: auto;
}

.site-header__nav {
	flex: 1 1 auto;
}

.site-header__menu,
.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header__menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	justify-content: center;
}

.site-header__menu a,
.site-footer__menu a {
	color: inherit;
	text-decoration: none;
}

.site-header__menu a {
	color: #1f2430;
	display: inline-flex;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	padding: 8px 0;
}

.site-header__menu .sub-menu {
	background: #fff;
	border: 1px solid rgba(29, 17, 103, 0.1);
	box-shadow: 0 14px 40px rgba(29, 17, 103, 0.12);
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 220px;
	opacity: 0;
	padding: 12px;
	position: absolute;
	top: 100%;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	visibility: hidden;
}

.site-header__menu .menu-item {
	position: relative;
}

.site-header__menu .menu-item:hover > .sub-menu,
.site-header__menu .menu-item:focus-within > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.site-header__actions,
.site-header__mobile-actions {
	align-items: center;
	display: flex;
	gap: 14px;
}

.site-header__contact,
.site-footer__contact {
	color: #1f2430;
	font-size: 14px;
	text-decoration: none;
}

.site-header__button {
	align-items: center;
	background: #891ce3;
	border: 2px solid #891ce3;
	border-radius: 4px;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	min-height: 42px;
	padding: 10px 18px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__button:hover,
.site-header__button:focus {
	background: #fff;
	color: #891ce3;
}

.site-header__search-toggle,
.site-header__burger {
	background: transparent;
	border: 0;
	color: #1f2430;
	cursor: pointer;
	padding: 0;
}

.site-header__search-toggle {
	font-size: 14px;
	font-weight: 600;
}

.site-header__language {
	align-items: center;
	display: flex;
	gap: 8px;
}

.site-header__language a,
.site-header__language li {
	color: #1f2430;
	font-size: 13px;
	list-style: none;
	text-decoration: none;
}

.site-header__search {
	background: #fff;
	border-top: 1px solid rgba(29, 17, 103, 0.1);
	padding: 18px 24px;
}

.site-header__search form {
	margin: 0 auto;
	max-width: 720px;
}

.site-header__burger {
	display: none;
	flex: 0 0 42px;
	height: 42px;
	position: relative;
	width: 42px;
}

.site-header__burger span {
	background: currentColor;
	display: block;
	height: 2px;
	left: 10px;
	position: absolute;
	right: 10px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header__burger span:nth-child(1) {
	top: 13px;
}

.site-header__burger span:nth-child(2) {
	top: 20px;
}

.site-header__burger span:nth-child(3) {
	top: 27px;
}

.site-header.is-open .site-header__burger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__burger span:nth-child(2) {
	opacity: 0;
}

.site-header.is-open .site-header__burger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-header__mobile-panel {
	background: #fff;
	border-top: 1px solid rgba(29, 17, 103, 0.1);
	box-shadow: 0 20px 40px rgba(29, 17, 103, 0.12);
	padding: 20px 24px 26px;
}

.site-footer {
	background: #15102b;
	color: #fff;
	padding: 56px 0 28px;
}

.site-footer__columns {
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(190px, 1.15fr) minmax(210px, 1.25fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(150px, 0.85fr);
}

/*.site-footer__logo {*/
/*	color: #fff;*/
/*	!*display: inline-flex;*!*/
/*	!*font-weight: 700;*!*/
/*	margin-bottom: 18px;*/
/*	text-decoration: none;*/
/*}*/

/*.site-footer__logo img {*/
/*	display: block;*/
/*	height: auto;*/
/*	max-height: 48px;*/
/*	max-width: 190px;*/
/*	width: auto;*/
/*}*/

.site-footer__description {
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 1.65;
	max-width: 360px;
}

.site-footer__description p {
	margin: 0 0 12px;
}

.site-footer__title {
	color: #fff;
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 14px;
}

.site-footer__nav + .site-footer__title {
	margin-top: 28px;
}

.site-footer__menu {
	display: grid;
	gap: 10px;
}

.site-footer__menu .sub-menu {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0 0 0 12px;
}

.site-footer__menu a {
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 1.4;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus,
.site-footer__contact:hover,
.site-footer__contact:focus {
	color: #fff;
}

.site-footer__column--contacts {
	display: grid;
	gap: 12px;
}

.site-footer__button {
	align-items: center;
	background: #891ce3;
	border: 2px solid #891ce3;
	border-radius: 4px;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	margin-top: 18px;
	min-height: 48px;
	padding: 12px 22px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	width: fit-content;
}

.site-footer__button:hover,
.site-footer__button:focus {
	background: #f7f4fb;
	border-color: #f7f4fb;
	color: #891ce3;
}

.site-footer__contact,
.site-footer__address {
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 1.55;
}

.site-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.site-footer__social a {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	color: #fff;
	display: inline-flex;
	font-size: 13px;
	height: 36px;
	justify-content: center;
	min-width: 36px;
	padding: 8px;
	text-decoration: none;
}

.site-footer__social img {
	display: block;
	height: 18px;
	width: 18px;
}

.site-footer__language {
	margin-top: 18px;
}

.site-footer__language .lang-drops {
	display: grid;
	gap: 10px;
}

.site-footer__language .dropdown {
	position: relative;
}

.site-footer__language .dropbtn {
	align-items: center;
	background: rgba(255, 255, 255, 0.9);
	border: 0;
	border-radius: 4px;
	color: #2e3242;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	gap: 8px;
	min-height: 38px;
	padding: 9px 12px;
}

.site-footer__language .dropdown-content {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	display: none;
	left: 0;
	max-height: 280px;
	min-width: 220px;
	overflow: auto;
	padding: 8px;
	position: absolute;
	top: calc(100% + 0px);
	z-index: 3;
}

.site-footer__language .dropdown:hover .dropdown-content,
.site-footer__language .dropdown:focus-within .dropdown-content {
	display: grid;
	gap: 4px;
}

.site-footer__language .dropdown-content a {
	align-items: center;
	border-radius: 4px;
	color: #2e3242;
	display: flex;
	font-size: 14px;
	gap: 8px;
	padding: 7px 8px;
	text-decoration: none;
}

.site-footer__language .dropdown-content a:hover,
.site-footer__language .dropdown-content a:focus {
	background: #f4f5f9;
}

.site-footer__language .dropdown-content img {
	height: 16px;
	width: 16px;
}

.site-footer__copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.68);
	font-size: 14px;
	margin-top: 42px;
	padding-top: 24px;
}

.site-footer__accordion-toggle {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	padding: 0;
}

.site-footer__accordion-icon {
	border-color: currentColor;
	border-style: solid;
	border-width: 0 2px 2px 0;
	display: inline-block;
	flex: 0 0 auto;
	margin-right: 2px;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-bottom: 8px;
}

.site-footer__accordion.is-open .site-footer__accordion-icon {
	transform: rotate(225deg);
	margin-top: 5px;
	margin-bottom: 0px;
}

.site-footer__accordion-panel[hidden] {
	display: none !important;
}

@media (max-width: 1100px) {
	.site-header__nav,
	.site-header__actions {
		display: none;
	}

	.site-header__inner {
		justify-content: space-between;
		min-height: 74px;
	}

	.site-header__burger {
		display: inline-flex;
	}

	.site-header__mobile-panel .site-header__menu {
		align-items: stretch;
		display: grid;
		gap: 4px;
		justify-content: stretch;
	}

	.site-header__mobile-panel .site-header__menu a {
		display: flex;
		padding: 11px 0;
	}

	.site-header__mobile-panel .site-header__menu .sub-menu {
		background: transparent;
		border: 0;
		box-shadow: none;
		min-width: 0;
		opacity: 1;
		padding: 0 0 0 16px;
		position: static;
		transform: none;
		visibility: visible;
	}

	.site-header__mobile-actions {
		align-items: flex-start;
		border-top: 1px solid rgba(29, 17, 103, 0.1);
		display: grid;
		margin-top: 14px;
		padding-top: 18px;
	}
}

@media (min-width: 1024px) {
	.site-footer__accordion-icon {
		display: none;
	}
}

@media (max-width: 1023px) {
	.site-footer__accordion-toggle {
		min-height: 30px;
	}

	.site-footer__accordion:not(.is-open):not([data-footer-accordion-default-open]) .site-footer__accordion-panel {
		display: none;
	}
}

@media (max-width: 900px) {
	.site-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.site-header__inner,
	.site-footer__inner {
		padding-left: 18px;
		padding-right: 18px;
	}

	.site-footer {
		padding-top: 42px;
	}

	.site-footer__columns {
		grid-template-columns: 1fr;
	}
}
