.navigation-menu {
	position: relative;
	display: block;
	z-index: 1;
	width: 100%;
}

.navigation-menu:not(.sticky) > .container {
	padding: 0;
}

.navigation-menu:not(.sticky) > .bg {
	display: none;
}

.navigation-menu > .bg {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: #ffffff;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.075);
}

html.dark-mode .navigation-menu > .bg {
	background-color: #000;
}

@media (prefers-color-scheme: dark) {
	html:not(.light-mode) .navigation-menu > .bg {
		background-color: #000;
	}
}

.navigation-menu.sticky {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: auto;
	z-index: 1019;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.075);
}

.navigation-menu ul {
	list-style: none;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: nowrap;
	margin: -.5rem -1rem 0 -1rem;
	padding: 0 0 .5rem 0;
	overflow-x: auto;
}

.navigation-menu ul > li {
	position: relative;
	display: block;
	width: auto;
	margin: .5rem 0 0 1rem;
}

.navigation-menu ul > li > a {
	display: inline;
	white-space: nowrap;
	transition: color ease 0.25s, border-bottom-color ease 0.25s;
}

.navigation-menu ul > li > a:before {
	display: inline-block;
	vertical-align: middle;
	border-radius: 50%;
	width: .5rem;
	height: .5rem;
	background-color: rgba(88, 86, 214, .25);
	margin: -.25rem .5rem 0 0;
	content: ''
}

.navigation-menu ul > li > a.active {
	font-weight: bold;
}

@media (min-width: 576px) {
	.navigation-menu ul {
		flex-wrap: wrap;
	}
}

/* region Slide 4 — на телефоне меньше внутренних отступов карточки + корректное сжатие .media */

@media (max-width: 575.98px) {
	.slide-4 .card.card-body {
		padding: 1rem 0.75rem;
	}

	.slide-4 .media > .mr-3 {
		margin-right: 0.5rem !important;
	}
}

.slide-4 .media,
.slide-4 .media-body {
	min-width: 0;
}

/* endregion */

/* region Slide 1 */

.slide-1 .img {
	display: block;
	background: transparent url(/assets/images/index/slide-1/1_256.png) no-repeat bottom right;
	background-size: contain;
	width: 100%;
	height: 256px;
}

@media (min-width: 992px) {
	.slide-1 {
		min-height: calc(100vh - 7rem);
	}

	.slide-1 .img {
		margin-top: 32px;
		background-image: url(/assets/images/index/slide-1/1_512.png);
		height: 512px;
	}
}

@media (min-width: 1300px) {
	.slide-1 .img {
		margin-top: 64px;
		background-image: url(/assets/images/index/slide-1/1_627.png);
		height: 627px;
	}
}

/* endregion */

/* region Slide 3 */

.slide-3 h4.count {
	font-size: 2em;
}

.slide-3 h4.count > small {
	font-size: 60%;
}

@media (min-width: 576px) {
	.slide-3 h4.count {
		font-size: 4em;
	}
}

@media (min-width: 992px) {
	.slide-3 h4.count {
		font-size: 6em;
	}
}

/* endregion */

/* region Slide 10 */

.slide-10 .img {
	position: relative;
	display: block;
	background: transparent url(/assets/images/index/slide-10/1.png) no-repeat bottom right;
	background-size: contain;
	width: 100%;
	height: 100%;
	min-height: 256px;
}

.slide-10::before,
.slide-10::after {
	z-index: 0;
	top: auto;
	right: auto;
	left: 50%;
	width: 100%;
	height: 100%;
	bottom: 0;
	background-color: transparent;
	background-image: linear-gradient(25deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .05));
	transform: rotate(-25deg) !important;
}

.slide-10::after {
	transform: rotate(-25deg) translateX(-102%) !important;
}

.slide-10 > .footer {
	z-index: 1
}

.slide-10 .index-contact-phone-sep > a + a {
	margin-top: 0.45rem;
	padding-top: 0.45rem;
}

/* endregion */

/* region Subscription Block */

.slide-subscription {
	background-image: url(/assets/images/leaf.png);
	background-repeat: no-repeat;
	background-position: 20% center;
	background-size: auto 70%;
	position: relative;
	overflow: hidden;
	padding: 4rem 0;
}

.slide-subscription::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -20%;
	width: 200%;
	height: 200%;
	/* background: 
		radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%); */
	z-index: 1;
}

.slide-subscription .container {
	position: relative;
	z-index: 2;
}

.subscription-content {
	padding: 1rem 0;
}

.subscription-label {
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.subscription-title {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
}

.subscription-subtitle {
	font-size: 1.125rem;
	line-height: 1.4;
}

.subscription-form .form-control {
	border: none;
	border-radius: 0.5rem;
	background-color: rgba(255, 255, 255, 0.95);
	color: #333;
}

.subscription-form .form-control:focus {
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
	border-color: transparent;
}

.subscription-form .form-control::placeholder {
	color: #6c757d;
}

.subscription-form .btn-primary {
	background-color: #4f46e5;
	border-color: #4f46e5;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.subscription-form .btn-primary:hover {
	background-color: #4338ca;
	border-color: #4338ca;
	transform: translateY(-1px);
}

.text-white-75 {
	color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-50 {
	color: rgba(255, 255, 255, 0.5) !important;
}

.text-black-75 {
	color: rgba(0, 0, 0, 0.75) !important;
}

.text-black-50 {
	color: rgba(0, 0, 0, 0.5) !important;
}

.subscription-illustration {
	position: relative;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.subscription-envelope {
	position: relative;
	z-index: 3;
}

.subscription-mail-img {
	max-width: 200px;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.subscription-leaf {
	position: absolute;
	top: -20px;
	right: -20px;
	z-index: 2;
}

.subscription-leaf-img {
	max-width: 80px;
	width: 100%;
	height: auto;
	opacity: 0.7;
	filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.subscription-form .form-check-input:checked {
	background-color: #4f46e5;
	border-color: #4f46e5;
}

.subscription-form .form-check-label a {
	text-decoration: underline;
}

.subscription-form .form-check-label a:hover {
	text-decoration: none;
}

/* Стили для светлого дизайна блока подписки */
.subscription-form .form-check-label a.text-black {
	color: #333 !important;
}

.subscription-form .form-check-label a.text-black:hover {
	color: #5856d6 !important;
}

.subscription-illustration.h-100 {
	height: auto !important;
	min-height: 120px;
}

.subscription-illustration.h-100 .subscription-mail-img {
	max-width: 120px;
	width: 100%;
}

.subscription-content {
	padding: 2rem 1rem;
}

@media (min-width: 768px) {
	.subscription-title {
		font-size: 2.5rem;
	}
	
	.subscription-subtitle {
		font-size: 1.25rem;
	}
	
	.subscription-illustration {
		height: 400px;
	}
	
	.subscription-mail-img {
		max-width: 250px;
	}
	
	.subscription-leaf-img {
		max-width: 100px;
	}
}

@media (min-width: 992px) {
	.slide-subscription {
		padding: 5rem 0;
	}
	
	.subscription-content {
		padding: 2rem 0;
	}
	
	.subscription-title {
		font-size: 3rem;
	}
	
	.subscription-illustration {
		height: 450px;
	}
	
	.subscription-mail-img {
		max-width: 300px;
	}
	
	.subscription-leaf-img {
		max-width: 120px;
	}
}

/* endregion */