html,
body {
	overflow-x: hidden;
	max-width: 100%;
}

.scp-site-header {
	position: relative;
	background: #ffffff;
	border-bottom: 1px solid #dee2e6;
	z-index: 20;
}

.scp-site-header .container {
	width: min(100% - 32px, 1140px);
	max-width: 1140px;
	margin: 0 auto;
}

.scp-site-header .navbar {
	min-height: 76px;
	display: flex;
	align-items: center;
}

.scp-site-header .d-flex {
	display: flex;
}

.scp-site-header .justify-content-between {
	justify-content: space-between;
}

.scp-site-header .navbar-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.scp-site-header .navbar-brand img {
	display: block;
	width: auto;
	height: 60px;
}

.scp-site-header .d-none {
	display: none;
}

.scp-site-header .navbar-nav {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.scp-site-header .flex-row {
	flex-direction: row;
}

.scp-site-header .gap-4 {
	gap: 1.5rem;
}

.scp-site-header .nav-link,
.scp-site-header .dropdown-item {
	color: #333333;
	text-decoration: none;
	font-weight: 500;
	line-height: 1.5;
}

.scp-site-header .nav-link:hover,
.scp-site-header .nav-link:focus,
.scp-site-header .dropdown-item:hover,
.scp-site-header .dropdown-item:focus {
	color: #002f6c;
}

.scp-site-header .dropdown {
	position: relative;
}

.scp-site-header .dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.scp-site-header .dropdown:hover .dropdown-menu,
.scp-site-header .dropdown-menu.show {
	display: block;
}

.scp-site-header .dropdown-item {
	display: block;
	padding: 8px 16px;
	white-space: nowrap;
}

.scp-header-social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: -4px;
}

.scp-header-social__link,
.scp-mobile-social__link {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0;
	border: 1px solid rgba(0, 47, 108, 0.18);
	border-radius: 50%;
	color: #002f6c;
	background: rgba(0, 47, 108, 0.06);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.scp-header-social__link:hover,
.scp-header-social__link:focus,
.scp-mobile-social__link:hover,
.scp-mobile-social__link:focus {
	transform: translateY(-2px);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.scp-header-social__link--facebook:hover,
.scp-header-social__link--facebook:focus,
.scp-mobile-social__link--facebook:hover,
.scp-mobile-social__link--facebook:focus {
	background: #1877f2;
}

.scp-header-social__link--x:hover,
.scp-header-social__link--x:focus,
.scp-mobile-social__link--x:hover,
.scp-mobile-social__link--x:focus {
	background: #111111;
}

.scp-header-social__link--instagram:hover,
.scp-header-social__link--instagram:focus,
.scp-mobile-social__link--instagram:hover,
.scp-mobile-social__link--instagram:focus {
	background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.scp-header-social__link--youtube:hover,
.scp-header-social__link--youtube:focus,
.scp-mobile-social__link--youtube:hover,
.scp-mobile-social__link--youtube:focus {
	background: #ff0000;
}

#menu-toggler {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2100;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

#menu-toggler .hamb {
	display: block;
	width: 30px;
	height: 3px;
	margin: 5px auto;
	background-color: #009688;
	transition: all 0.3s ease-in-out;
}

#menu-toggler.active {
	display: none;
}

#overlay-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 2000;
	display: none;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding: 92px 20px 32px;
	overflow-y: auto;
}

#overlay-menu.active {
	display: flex;
}

#overlay-menu .close-btn {
	position: fixed;
	top: 60px;
	right: 20px;
	font-size: 2rem;
	color: #ffffff;
	background: none;
	border: none;
	z-index: 2101;
}

#overlay-menu .nav {
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

#overlay-menu .nav-link {
	display: block;
	color: #ffffff;
	font-size: 1.5rem;
	margin: 10px 0;
	text-decoration: none;
}

.scp-mobile-social {
	display: none;
}

#overlay-menu .scp-mobile-social {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 24px;
	margin-bottom: 44px;
	padding-top: 18px;
}

.scp-mobile-social__list {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

#overlay-menu .scp-mobile-social__link {
	border-color: rgba(255, 255, 255, 0.28);
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.scp-footer {
	background: #061f3f;
	color: #ffffff;
	margin-top: 0;
	overflow: visible;
}

.scp-footer__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 24px 42px;
	display: grid;
	grid-template-columns: minmax(240px, 1.15fr) minmax(0, 2.35fr);
	gap: 56px;
	align-items: start;
}

.scp-footer__brand,
.scp-footer__col,
.scp-footer__contact {
	min-width: 0;
}

.scp-footer__logo {
	width: 160px;
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 20px;
	padding: 10px;
	border-radius: 6px;
	background: #ffffff;
}

.scp-footer__name {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: 1.22rem;
	font-weight: 800;
	line-height: 1.3;
}

.scp-footer__description {
	margin: 0;
	color: #c9d7e3;
	font-size: 0.98rem;
	line-height: 1.7;
}

.scp-footer__columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
	align-items: start;
}

.scp-footer__title {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.3;
}

.scp-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.scp-footer__list > * {
	margin-bottom: 11px;
}

.scp-footer__link,
.scp-footer__contact-text {
	color: #d8e4ee;
	text-decoration: none;
	transition: color 0.2s ease;
}

.scp-footer__link:hover,
.scp-footer__link:focus,
.scp-footer__contact-text:hover,
.scp-footer__contact-text:focus {
	color: #00b4a6;
}

.scp-footer__contact-list {
	display: grid;
	gap: 13px;
}

.scp-footer__contact-item {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	color: #d8e4ee;
	line-height: 1.5;
}

.scp-footer__contact-icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	fill: #00b4a6;
}

.scp-footer__contact-text {
	min-width: 0;
	overflow-wrap: break-word;
}

.scp-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.scp-footer__social-link {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.scp-footer__social-link:hover,
.scp-footer__social-link:focus {
	transform: translateY(-2px);
	border-color: transparent;
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
	color: #ffffff;
}

.scp-footer__social-link--facebook:hover,
.scp-footer__social-link--facebook:focus {
	background: #1877f2;
}

.scp-footer__social-link--x:hover,
.scp-footer__social-link--x:focus {
	background: #111111;
}

.scp-footer__social-link--instagram:hover,
.scp-footer__social-link--instagram:focus {
	background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.scp-footer__social-link--youtube:hover,
.scp-footer__social-link--youtube:focus {
	background: #ff0000;
}

.scp-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding: 18px 24px;
	text-align: center;
}

.scp-footer__copyright {
	margin: 0;
	color: #c9d7e3;
	font-size: 0.94rem;
	line-height: 1.5;
}

@media (min-width: 992px) {
	.scp-site-header .d-lg-block {
		display: block;
	}

	.scp-site-header .d-lg-none {
		display: none;
	}
}

@media (max-width: 991.98px) {
	.scp-site-header .d-lg-none {
		display: block;
	}

	.scp-header-social {
		display: none;
	}

	.scp-footer__inner {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 48px 22px 36px;
	}

	.scp-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.scp-site-header .navbar-brand img {
		width: 250px;
		max-width: calc(100vw - 112px);
		height: auto;
	}

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

	.scp-footer__inner {
		padding: 42px 18px 32px;
	}

	.scp-footer__logo {
		width: 145px;
	}

	.scp-footer__social-link {
		width: 38px;
		height: 38px;
	}
}
