/*Fonts include*/

@font-face {
	font-family: 'ma';
	src: url('../fonts/MontserratAlternates/MontserratAlternates-Regular.woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'ma';
	src: url('../fonts/MontserratAlternates/MontserratAlternates-Medium.woff2');
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: 'ma';
	src: url('../fonts/MontserratAlternates/MontserratAlternates-SemiBold.woff2');
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: 'ma';
	src: url('../fonts/MontserratAlternates/MontserratAlternates-Bold.woff2');
	font-weight: 700;
	font-display: swap;
}

/*Base CSS*/
*,
*::before,
*::after {
	font-family: ma, sans-serif;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	outline: none;
}

.no-scroll {
	overflow: hidden;
}

.no-scroll .scrollbar {
	display: none;
}

.scrollbar {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	width: 12px;
	background: transparent;
	z-index: 100;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.scrollbar.visible,
.scrollbar:hover {
	opacity: 1;
}

.thumb {
	position: absolute;
	width: 12px;
	opacity: 0.5;
	transition: opacity 0.25s ease;
	cursor: pointer;
}

.thumb:before {
	content: '';
	position: absolute;
	inset: 2.5px;
	border-radius: 10em;
	background: #000;
	outline: 1px solid rgb(255 255 255 / 50%);
}

.thumb:hover {
	opacity: 1;
}

::-webkit-scrollbar {
	width: 0;
	height: 0;
	overflow: hidden;
	display: none;
}

html,
body {
	scrollbar-width: none;
}

html {
	padding: 0 2px;
}

body {
	font-size: 16px;
	min-width: 375px;
	font-weight: 400;
	position: relative;
	line-height: 1.5;
	overflow-x: hidden;
	color: #000;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #fff;
}

b,
strong {
	font-weight: 700;
}

img {
	max-width: 100%;
	display: inline-block;
}

a {
	text-decoration: none;
}

/*Main CSS*/
.noise__overlay {
	pointer-events: none;
	z-index: 9999;
	opacity: 0.02;
	background-image: url(./../img/noise.gif);
	background-position: 0 0;
	background-size: 480px;
	position: absolute;
	inset: 0;
}

.loader.done {
	opacity: 0;
	visibility: hidden;
}

.container {
	max-width: 1330px;
	width: 100%;
	margin: 0 auto;
	padding-left: max(30px, env(safe-area-inset-left));
	padding-right: max(30px, env(safe-area-inset-right));
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 30px 0;
	will-change: transform;
	z-index: 9;
}

.header__box {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 33px;
	font-weight: 600;
	color: #fff;
}

.logo img {
	width: 44px;
}

.menu ul {
	display: flex;
	align-items: center;
	gap: 25px;
	list-style: none;
}

.menu a {
	color: #fff;
	opacity: 0.7;
	transition: all 0.3s ease;
}

.menu a:hover {
	color: #3ef4fc;
	opacity: 1;
}

.header .btn {
	padding: 12px 24px;
	border-radius: 16px;
	font-size: 15px;
}

.btn {
	display: inline-block;
	background: #3ef4fc;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	padding: 15px 30px;
	position: relative;
	border-radius: 18px;
	border: 0;
	cursor: pointer;
	outline: 2px solid #3ef4fc;
	outline-offset: 4px;
	transform: scale(0.96);
	line-height: 1.5;
	transition: all 0.3s ease;
	will-change: transform;
}

.btn span {
	display: block;
	transition: all 0.3s ease;
	will-change: transform;
}

.btn span:last-child {
	position: absolute;
	opacity: 0;
	visibility: hidden;
}

.btn:hover span {
	transform: translateY(-100%);
}

.btn:hover span:first-child {
	visibility: hidden;
	opacity: 0;
}

.btn:hover span:last-child {
	visibility: visible;
	opacity: 1;
}

.hero {
	position: relative;
	padding-top: 180px;
	padding-bottom: 140px;
	margin-bottom: 50px;
	background: linear-gradient(45deg, #000, #3e3e3e, #000);
	border-radius: 0 0 50px 50px;
}

.hero__flex {
	display: grid;
	grid-template-columns: 6fr 4fr;
	align-items: center;
	gap: 50px;
}

.hero__box .hero__img {
	position: relative;
	height: 100%;
	border-radius: 30px;
	overflow: hidden;
}

.hero__slide {
	height: 100%;
}

.hero__slide img {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	transition: all 2.5s ease-in-out;
	background-position: bottom;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.3);
	object-fit: cover;
}

.slide-hidden img {
	transform: scale(1.3);
	opacity: 0;
	visibility: hidden;
}

.slide-visible img {
	transform: scale(1);
	opacity: 1;
	visibility: visible;
	filter: none;
}

h1 {
	font-size: 66px;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 40px;
}

.hero p {
	font-size: 21px;
	margin-bottom: 60px;
	opacity: 0.7;
	color: #fff;
}

.hero .btn {
	font-size: 21px;
	padding: 18px 36px;
	border-radius: 21px;
}

section {
	padding: 80px 0 50px;
}

.service-box {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 40px;
}

.service-box .item {
	text-align: center;
	background: linear-gradient(45deg, #dbdbdb, #f5f5f5);
	padding: 20px 20px 35px;
	border-radius: 30px;
}

.service-box .item h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}

.service-box .item .item__icon {
	font-size: 60px;
}

.dop__service {
	text-align: center;
}

.dop__service p {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 25px;
}

.dop__service a {
	border-bottom: 1px solid;
	color: #fc3e98;
}

h2.title {
	position: relative;
	font-size: 40px;
	text-align: center;
	color: #000;
	margin-bottom: 50px;
}

.projects {
	overflow: hidden;
}

.projects__box {
	display: grid;
	gap: 50px;
}

.projects-slider {
	width: 50vw;
	margin: 0 auto;
}

.projects-slider .swiper-slide img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 30px;
}

.project__info {
	padding: 30px;
	position: absolute;
	bottom: 6px;
	background: rgb(0 0 0 / 30%);
	width: 100%;
	border-radius: 0 0 30px 30px;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	color: #fff;
}

.project__info h3 {
	font-size: 26px;
	line-height: 1;
	margin-bottom: 10px;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	white-space: normal;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

.slider-nav button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	background: #e8e8e8;
	color: #000;
	cursor: pointer;
	transition: all 0.3s ease;
}

.slider-nav button:not(.swiper-button-disabled):hover {
	background: #3ef4fc;
}

.slider-nav button.swiper-button-disabled {
	cursor: default;
	opacity: 0.3;
}

.slider-nav button svg {
	width: 26px;
	height: 26px;
}

.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
	border: 2px solid #3ef4fc !important;
}

.fancybox__thumb,
.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
	border-radius: 10px !important;
}

.process__box {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	justify-content: center;
	gap: 0 50px;
	padding: 30px 0;
}

.process__box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	height: 100%;
	background: #fc3e98;
}

.process__box .item {
	position: relative;
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: 20px;
	background: linear-gradient(45deg, #dbdbdb, #f5f5f5);
	padding: 30px;
	border-radius: 30px;
	max-width: 500px;
	width: 100%;
	margin-bottom: 50px;
}

.process__box .item:last-child {
	margin-bottom: 0;
}

.process__box .item::before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fc3e98;
}

.process__box .item:nth-child(odd)::before {
	right: -33px;
}

.process__box .item:nth-child(even)::before {
	left: -33px;
}

.process__box .item::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 2px;
	z-index: -1;
}

.process__box .item:nth-child(odd)::after {
	right: -17px;
	background: #efefef;
}

.process__box .item:nth-child(even)::after {
	left: -17px;
	background: #d9d9d9;
}

.process__box .empty {
	max-width: 500px;
	width: 100%;
}

.process__box .item .item__number {
	font-size: 26px;
	line-height: 1;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 16px;
	font-weight: 600;
}

.process__box .item h3 {
	font-size: 20px;
	font-weight: 600;
	padding-top: 5px;
	margin-bottom: 8px;
	line-height: 1.2;
}

.process__box .item__icon {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 34px;
}

.process__box .item:nth-child(odd) .item__icon {
	right: -100px;
}

.process__box .item:nth-child(even) .item__icon {
	left: -100px;
}

.work__process .btn {
	margin: 50px auto 0;
	display: table;
	background: #fc3e98;
	outline-color: #fc3e98;
	color: #fff;
}

.installment__box {
	background: radial-gradient(rgb(0 0 0 / 20%), rgb(0 0 0 / 20%) 1px, transparent 1px, transparent 100%), #f5f5f5;
	background-size: 40px 40px;
	background-position: center;
	padding: 20px 30px 60px;
	border-radius: 30px;
	text-align: center;
}

.installment__box .icon {
	font-size: 85px;
}

.installment__box h2.title {
	margin-bottom: 20px;
}

.installment__box p {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 16px;
}

.installment__box p a {
	color: #fc3e98;
	border-bottom: 1px solid;
}

.installment__box .btn {
	background: #000;
	outline-color: #000;
	color: #fff;
	margin-top: 24px;
}

.contacts__box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	border-radius: 30px;
	overflow: hidden;
	background: #000;
	border: 5px solid transparent;
}

.contacts__box h3 {
	position: relative;
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 30px;
	color: #fff;
}

.contacts__info {
	padding: 50px;
}

.contacts__info .item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	gap: 10px;
	font-size: 18px;
	color: #fff;
	padding-left: 3px;
}

.contacts__info .item a {
	color: #fff;
}

.contacts__info .item .icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #3ef4fc;
	border-radius: 8px;
	outline: 1px solid #3ef4fc;
	outline-offset: 2px;
}

.contacts__info .item svg {
	width: 22px;
	stroke-width: 3px;
	stroke: #000;
	fill: none;
}

.contact__social {
	display: flex;
	align-items: center;
	gap: 40px;
	border-top: 1px solid rgb(255 255 255 / 20%);
	margin-top: 30px;
	padding-top: 30px;
}

.contact__social a {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 20px;
	font-weight: 500;
	color: #fff;
}

.contact__social img {
	width: 32px;
	transition: all 0.3s ease;
	will-change: transform;
}

.contact__social a:hover img {
	transform: scale(1.1);
}

.contacts__map {
	position: relative;
	height: 100%;
	border-radius: 25px;
	overflow: hidden;
	background: #888;
}

.contacts__map span {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-weight: 500;
}

.contacts__map .map {
	height: 100%;
	position: relative;
	z-index: 2;
}

.footer {
	position: relative;
	background: linear-gradient(45deg, #000, #3e3e3e, #000);
	color: #f3f7f9;
	padding: 50px 0;
	margin-top: 100px;
	border-radius: 50px 50px 0 0;
}

.footer__box {
	display: flex;
	justify-content: space-between;
	gap: 30px;
}

.footer__first {
	padding-bottom: 5px;
}

.footer__logo {
	line-height: 1.3;
}

.footer__second a {
	color: #f3f7f9;
}

.footer__third {
	align-self: center;
}

.footer__social {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer__social a {
	width: 32px;
	height: 32px;
	transition: all 0.3s ease;
	will-change: transform;
}

.footer__social a:hover {
	transform: scale(1.1);
}

.footer .end {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgb(255 255 255 / 20%);
	padding-top: 30px;
	margin-top: 30px;
	font-size: 14px;
}

.develop__by {
	justify-self: center;
}

.develop__by a {
	color: #3ef4fc;
	font-weight: 500;
}

.slide__up {
	justify-self: end;
	background: 0;
	border: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #f3f7f9;
	font-size: 14px;
}

.slide__up svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.form__popup {
	display: flex;
	justify-content: center;
	position: fixed;
	inset: 0;
	background: rgb(0 0 0 / 50%);
	visibility: hidden;
	opacity: 0;
	z-index: 999;
	transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.form__popup.visible {
	visibility: visible;
	opacity: 1;
}

.popup__wrap {
	position: relative;
	max-width: 500px;
	width: 100%;
	height: calc(100vh - 40px);
	height: calc(100dvh - 40px);
	border-radius: 30px;
	margin: 20px;
	background: #fff;
	transform: translateY(110%);
	opacity: 0;
	will-change: transform;
	transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
	overflow: hidden;
}

.popup {
	display: flex;
	flex-direction: column;
	padding: 30px;
	height: 100%;
	overflow: auto;
	scrollbar-width: none;
}

.popup::-webkit-scrollbar {
	width: 0;
}

.form__popup.visible .popup__wrap {
	transform: none;
	opacity: 1;
}

.close__popup {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 1;
	width: 30px;
	height: 30px;
	cursor: pointer;
	opacity: 0.6;
	transition: all 0.3s ease;
}

.close__popup:hover {
	opacity: 1;
}

.close__popup svg {
	pointer-events: none;
	width: 30px;
	height: 30px;
}

.popup .popup__logo {
	position: relative;
	margin-bottom: 10px;
}

.popup .popup__logo svg {
	width: 100px;
	margin: 0 auto;
	display: block;
}

.popup .popup__logo svg.done__submit {
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	height: 120px;
	left: 50%;
	top: 50%;
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0);
}

.popup h2 {
	text-align: center;
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 30px;
}

.popup h2.form__h22 {
	display: none;
}

.popup.sending__end .popup__logo svg.popup__crown {
	transform: scale(0);
	visibility: hidden;
	opacity: 0;
	transition: all 0.5s ease;
}

.popup.sending__end .popup__logo svg.done__submit {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	transition: all 0.5s ease;
}

.popup.sending__end h2.form__h2 {
	display: none;
}

.popup.sending__end h2.form__h22 {
	display: block;
}

.popup.sending__end form {
	visibility: hidden;
	opacity: 0;
}

input {
	display: block;
	width: 100%;
	height: 52px;
	font-size: 18px;
	padding: 0 20px;
	border: 0;
	margin-bottom: 16px;
	outline: 0;
	border-radius: 18px;
	background: #f5f5f5;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

input:focus {
	border-color: #000;
}

.popup .btn {
	display: table;
	margin: 20px auto 30px;
}

.popup__phone {
	text-align: center;
	margin-bottom: 20px;
	flex: 1;
	height: 100%;
	display: flex;
	justify-content: end;
	flex-direction: column;
	align-items: center;
}

.popup__phone span {
	display: block;
	font-size: 18px;
	opacity: 0.7;
	margin-bottom: 5px;
}

.popup__phone a {
	font-size: 20px;
	color: #fc3e98;
	font-weight: 500;
	border-bottom: 1px solid;
	transition: all 0.3s ease;
}

.popup__social {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.popup__social img {
	width: 45px;
	height: 45px;
	transition: all 0.3s ease;
	will-change: transform;
}

.popup__social a:hover img {
	transform: scale(1.15);
}

/* Media CSS */
@media (max-width: 1200px) {
	.menu {
		display: none;
	}

	h1 {
		font-size: 56px;
	}

	.projects-slider {
		width: 65vw;
	}
}

@media (max-width: 1120px) {
	.process__box .item,
	.process__box .empty {
		max-width: 400px;
	}
}

@media (max-width: 1050px) {
	.service-box {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 992px) {
	h1 {
		font-size: 42px;
	}

	.hero p {
		font-size: 18px;
	}

	.projects-slider {
		width: 75vw;
	}

	.contacts__box {
		display: grid;
		grid-template-columns: 1fr;
		margin-bottom: 20px;
	}

	.contacts__info {
		padding: 40px;
	}

	.contacts__map {
		height: 350px;
	}

	.footer__box {
		display: grid;
		grid-template-columns: auto;
		justify-content: center;
		text-align: center;
	}

	.footer__first {
		padding-bottom: 0;
	}

	.footer__second {
		margin-bottom: 5px;
	}

	.footer__second span {
		display: none;
	}

	.footer__social {
		flex-direction: row;
		justify-content: center;
		gap: 20px;
	}

	.footer__social a {
		width: 42px;
		height: 42px;
	}

	.footer .end {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.footer .end div,
	.footer .end button {
		justify-self: center;
	}
}

@media (max-width: 920px) {
	.process__box .item,
	.process__box .empty {
		max-width: 600px;
	}

	.process__box .item::before,
	.process__box .item::after,
	.process__box .item__icon {
		display: none;
	}

	.process__box .item {
		margin-bottom: 30px;
	}
}

@media (max-width: 880px) {
	.hero__flex {
		grid-template-columns: 100%;
		text-align: center;
	}

	.hero__img {
		display: none;
	}
}

@media (max-width: 750px) {
	html {
		padding: 0;
	}

	.container {
		padding-left: max(15px, env(safe-area-inset-left));
		padding-right: max(15px, env(safe-area-inset-right));
	}

	section {
		padding: 50px 0;
	}

	.hero {
		padding-top: 150px;
		padding-bottom: 100px;
		border-radius: 0 0 40px 40px;
	}

	h2.title {
		line-height: 1.1;
		font-size: 34px;
		margin-bottom: 35px;
	}

	.projects-slider {
		width: 85vw;
	}

	.project__info {
		padding: 20px;
		font-size: 14px;
	}

	.project__info h3 {
		font-size: 16px;
		font-weight: 500;
		margin-bottom: 5px;
	}

	.process__box .item {
		padding: 20px 20px 25px;
		gap: 15px;
	}

	.installment__box .icon {
		font-size: 60px;
	}

	.footer {
		border-radius: 40px 40px 0 0;
		margin-top: 50px;
	}
}

@media (max-width: 550px) {
	.logo {
		margin: 0 auto;
	}

	.header .btn {
		display: none;
	}

	.hero {
		padding-bottom: 80px;
	}

	h1 {
		font-size: 40px;
		line-height: 1.3;
		margin-bottom: 25px;
	}

	.service-box {
		gap: 10px;
	}

	.service-box .item {
		padding: 20px 15px 30px;
	}

	.service-box .item .item__icon {
		font-size: 50px;
	}

	.service-box .item h3 {
		font-size: 15px;
		line-height: 1.3;
	}

	.service-box .item p {
		font-size: 12px;
	}

	.popup {
		padding: 30px 20px;
	}

	.contacts__info {
		padding: 30px 20px 50px;
	}

	.contacts__box h3 {
		text-align: center;
		margin-bottom: 40px;
	}
}

@media (max-width: 500px) {
	h1 {
		font-size: 31px;
	}
}

@media (max-width: 440px) {
	.popup h2 {
		font-size: 22px;
	}

	.contact__social {
		gap: 0;
		justify-content: space-between;
	}

	.contacts__info .item {
		font-size: 17px;
	}

	.contacts__info .item svg {
		width: 26px;
	}

	.contact__social a {
		font-size: 16px;
	}

	.contact__social img {
		width: 28px;
	}
}
