/* === Header === */

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 15px 25px;
	overflow-x: hidden;
	transition: all 0.6s ease;
	background-color: var(--secondary-color);
}

.header-active {
	padding: 8px 25px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-active .secondary-btn {
	padding: 8px 35px;
}

.header-nav {
	display: flex;
	gap: 200px;
	align-items: center;
}

.header-nav-list {
	display: flex;
	gap: 30px;
}

.header-nav-list a {
	transition: all 0.3s ease;
	color: var(--text-secondary);
}

.header-nav-list a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.burger-btn {
	display: none;
}

.mobile-menu {
	display: none;
}

a.header-link-active {
	color: var(--primary-color);
}

@media screen and (max-width: 1240px) {
	.header {
		padding: 10px 25px;
	}

	.header .secondary-btn,
	.header-nav {
		display: none;
	}

	.burger-btn {
		display: block;
		border: none;
		background-color: transparent;
		cursor: pointer;
		padding: 3px;
	}

	.burger-btn svg {
		width: 45px;
		height: 45px;
		color: var(--text-secondary);
	}

	.burger-btn:active svg {
		color: var(--primary-hover);
	}

	.mobile-menu {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		gap: 20px;
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background-color: var(--secondary-color);
		backdrop-filter: blur(10px);
		padding: 15px 30px 60px;
		z-index: 1000;
		transition: all 0.3s ease;
	}

	.mobile-menu-active {
		right: 0;
	}

	.mobile-menu .primary-btn {
		display: block;
	}

	.close-btn {
		display: block;
		border: none;
		background-color: transparent;
		cursor: pointer;
		padding: 3px;
		margin-left: auto;
	}

	.close-btn svg {
		width: 35px;
		height: 35px;
		stroke: var(--text-secondary);
	}

	.close-btn:active svg {
		stroke: var(--primary-hover);
	}

	.mobile-nav-list {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.mobile-nav-list a {
		color: var(--text-secondary);
	}
}

/* === Hero === */

.hero {
	padding: 260px 0 190px;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 75px;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('../images/hero.png');
	background-size: cover;
	filter: grayscale(100%) brightness(0.6);
	z-index: -1;
}

.hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0 15px;
}

.hero-content .section-name {
	justify-content: center;
	color: var(--text-secondary);
}

.hero-title {
	font-weight: 700;
	font-size: 70px;
	line-height: 128%;
	letter-spacing: 0.03em;
	max-width: 800px;
	color: var(--text-secondary);
}

.hero-line {
	max-width: 560px;
	width: 100%;
	height: 2px;
	background-color: var(--primary-color);
	margin-bottom: 20px;
}

.hero .descr {
	color: var(--text-secondary);
	max-width: 790px;
	margin-bottom: 30px;
}

.hero-list {
	display: flex;
	gap: 20px;
}

@media screen and (max-width: 768px) {
	.hero {
		padding: 230px 0 160px;
	}

	.hero-title {
		font-size: 58px;
	}
}

/* === About Us === */

.about-us {
	padding: 100px 0;
}

.about-us-content,
.wrapper {
	width: calc((100% - 80px) / 2);
}

.wrapper {
	position: relative;
}

.wrapper .wrapper-img:nth-child(1) {
	max-width: 400px;
	height: 400px;
}

.wrapper .wrapper-img:nth-child(2) {
	position: absolute;
	top: 180px;
	right: -10px;
	max-width: 300px;
	height: 300px;
}

.wrapper-img {
	width: 100%;
	object-fit: cover;
	border-radius: var(--border-radius-primary);
}

.about-us-content {
	display: flex;
	flex-direction: column;
	align-items: start;
}

.about-us-content .title {
	margin-bottom: 30px;
}

.about-us-content .descr {
	margin-bottom: 20px;
}

.about-us-content .descr:nth-child(4) {
	margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
	.about-us .container-flex {
		flex-direction: column-reverse;
	}

	.about-us-content,
	.wrapper {
		width: 100%;
	}
}

/* === Our Services === */

.our-services {
	padding: 100px 0;
	background-color: var(--secondary-color);
}

.our-services-content,
.our-services-list {
	width: calc((100% - 80px) / 2);
}

.our-services-content {
	display: flex;
	flex-direction: column;
	align-items: start;
}

.our-services-content .section-name {
	color: var(--text-secondary);
}

.our-services-content .title {
	color: var(--text-secondary);
	margin-bottom: 23px;
}

.our-services-content .descr {
	color: var(--text-secondary);
	margin-bottom: 40px;
}

.our-services-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 60px 20px;
}

.our-services-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc((100% - 20px) / 2);
	background-color: var(--background-color);
	border-radius: var(--border-radius-primary);
	padding: 0 15px 22px;
}

.our-services-item-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	width: 82px;
	height: 82px;
	background-color: var(--primary-color);
	border: 3px solid var(--background-color);
	margin-top: -41px;
	margin-bottom: 13px;
}

.our-services-item-wrap img {
	width: 46px;
	object-fit: contain;
}

.our-services-item .subtitle {
	margin-bottom: 13px;
	text-align: center;
}

.our-services-item .descr {
	text-align: center;
	font-size: 14px;
}

@media screen and (max-width: 768px) {
	.our-services-content,
	.our-services-list {
		width: 100%;
	}
}

/* === Plans === */

.plans {
	padding: 100px 0 50px;
}

.plans-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-bottom: 60px;
}

.plans-content .title {
	margin-bottom: 8px;
}

.plans-content .descr {
	max-width: 900px;
}

.plans-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.plans-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 30px 25px 50px;
	width: calc((100% - 60px) / 3);
	overflow: hidden;
	height: auto;
	box-shadow: 0 10px 52px 0 rgba(0, 0, 0, 0.08);
	background-color: var(--background-color);
}

.plans-item::after {
	content: '';
	position: absolute;
	top: -250px;
	left: -80px;
	right: -80px;
	height: 505px;
	background-color: var(--primary-color);
	border-radius: 50%;
	z-index: 1;
}

.plans-item-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 2;
	margin-bottom: 90px;
}

.plans-item-content .subtitle {
	color: var(--text-secondary);
	font-size: 30px;
	margin-bottom: 7px;
}

.plans-item-content .descr {
	color: var(--text-secondary);
	margin-bottom: 25px;
}

.plans-item-price {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 40px;
	color: var(--text-secondary);
}

.plans-item-price span {
	font-weight: 500;
	font-size: 13px;
	opacity: 0.8;
}

.plans-item-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	margin-bottom: 30px;
}

.plans-list-item {
	position: relative;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 9px;
}

.plans-list-item:not(:last-child)::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #eee;
}

.plans-list-item-icon {
	width: 14px;
	height: 12px;
	fill: transparent;
	stroke: var(--secondary-color);
}

.plans-item .primary-btn {
	margin-top: auto;
}

@media screen and (max-width: 1024px) {
	.plans-item {
		width: calc((100% - 30px) / 2);
	}

	.plans-item-content .subtitle {
		font-size: 24px;
	}
}

@media screen and (max-width: 768px) {
	.plans-item {
		width: 100%;
	}
}

/* === Our Blog === */

.our-blog {
	padding: 100px 0;
}

.our-blog-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-bottom: 60px;
}

.our-blog-content .title {
	margin-bottom: 20px;
}

.our-blog-content .descr {
	max-width: 800px;
}

.our-blog .swiper-wrapper {
	margin-bottom: 45px;
}

.our-blog-item {
}

.swiper-slide {
	height: auto;
}

.our-blog-item-wrap {
	position: relative;
}

.our-blog-item-wrap img {
	border-radius: var(--border-radius-primary);
	filter: grayscale(100%) brightness(0.6);
	height: 280px;
	width: 100%;
	object-fit: cover;
}

.our-blog-item-wrap .secondary-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.our-blog-item-content {
	padding: 10px;
}

.our-blog-item-info {
	margin-bottom: 15px;
	font-weight: 500;
	font-size: 16px;
}

.our-blog-item-info span {
	font-weight: 300;
}

.our-blog-item-content .subtitle {
	margin-bottom: 8px;
}

/* === Swiper Nav === */

.swiper-nav {
	display: flex;
	justify-content: end;
	align-items: center;
}

.swiper-button-prev,
.swiper-button-next {
	position: static;
	max-width: 35px;
	width: 100%;
	height: 35px;
	background-color: var(--primary-color);
	color: var(--text-secondary);
	border-radius: 50%;
	margin: 0;
	transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	background-color: var(--primary-hover);
}

.swiper-button-prev {
	transform: rotate(180deg);
	margin-right: 15px;
}

.swiper-button-next {
	margin-right: 30px;
}

.swiper-button-prev svg,
.swiper-button-next svg {
	width: 20px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	display: none;
}

.swiper-nav-line {
	max-width: 170px;
	height: 2px;
	width: 100%;
	background-color: #d8d8d8;
	margin-right: 30px;
}

.swiper-nav div.swiper-pagination {
	position: static;
	width: auto;
}

.swiper-pagination-bullet {
	width: 16px;
	height: 16px;
	border: 2px solid #d8d8d8;
	background-color: #d8d8d8;
	opacity: 1;
	transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
	border: 2px solid var(--primary-color);
	background-color: transparent;
}

/* === Testimonial === */

.testimonial {
	padding: 100px 0;
	background-color: var(--secondary-color);
}

.testimonial .swiper-nav,
.testimonial-content {
	width: calc((100% - 80px) / 2);
}

.testimonial-content .section-name {
	color: var(--text-secondary);
}

.testimonial-content .title {
	color: var(--text-secondary);
}

.testimonial .swiper-wrapper {
	padding-top: 45px;
}

.testimonial-item {
	display: flex;
	flex-direction: column;
	padding: 0 18px 18px;
	border-radius: var(--border-radius-primary);
	align-items: center;
	background-color: var(--background-color);
	text-align: center;
}

.testimonial-item-wrap {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 3px solid var(--background-color);
	background-color: var(--primary-color);
	overflow: hidden;
	margin-top: -40px;
	margin-bottom: 11px;
}

.testimonial-item-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-item .subtitle {
	margin-bottom: 14px;
}

.testimonial-item-rating {
	height: 20px;
	width: 140px;
	object-fit: cover;
	margin-bottom: 14px;
}

.testimonial-item .descr {
	font-size: 14px;
}

@media screen and (max-width: 768px) {
	.testimonial .swiper-nav,
	.testimonial-content {
		width: 100%;
	}
}

/* === Contact === */

.contact {
	padding: 120px 0 180px;
	position: relative;
}

.contact .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 70px;
}

.contact-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	width: calc((100% - 70px) / 2);
}

.contact-content .section-name {
	margin-bottom: 14px;
}

.contact-content .title {
	margin-bottom: 30px;
	text-align: start;
	max-width: 700px;
}

.contact-content .descr {
	margin-bottom: 24px;
	max-width: 670px;
}

.contact-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	border: 0.5px solid #e1e1e1;
	background-color: transparent;
	box-shadow: 0 10px 52px 0 rgba(0, 0, 0, 0.08);
	border-radius: var(--border-radius-secondary);
	gap: 40px;
	width: 100%;
}

.contact-list-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 25px;
	gap: 13px;
	width: calc((100% - 80px) / 3);
	font-family: var(--font-family);
	font-size: 18px;
	position: relative;
}

.contact-list-item:not(:last-child):after {
	content: '';
	position: absolute;
	top: 15px;
	right: -20px;
	bottom: 15px;
	width: 1px;
	background-color: #e1e1e1;
}

.contact-list-item svg {
	width: 70px;
	height: 70px;
	fill: var(--primary-color);
}

.contact-list-item:nth-child(2) svg {
	fill: transparent;
	stroke: var(--primary-color);
}

.contact-list-item .subtitle {
	text-align: center;
	font-weight: 500;
}

.contact-form {
	display: flex;
	flex-direction: column;
	align-items: start;
	background-color: var(--background-color);
	box-shadow: 0 10px 52px 0 rgba(0, 0, 0, 0.08);
	padding: 40px 30px;
	width: calc((100% - 70px) / 2);
	border-radius: var(--border-radius-primary);
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group {
	margin-bottom: 24px;
	width: 100%;
}

.form-group:nth-child(4) {
	margin-bottom: 60px;
}

.form-group label {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 14px;
	line-height: 171%;
	color: #d3d3d3;
	margin-bottom: 10px;
}

.form-group textarea,
.form-group input {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 16px;
	line-height: 150%;
	color: var(--text-primary);
	border: none;
	background-color: transparent;
	outline: none;
	border: 1px solid var(--text-primary);
	border-radius: var(--border-radius-primary);
	padding: 10px 15px;
	transition: 0.3s all ease;
}

.form-group textarea:hover,
.form-group input:hover {
	border: 1px solid var(--primary-hover);
}

.form-group textarea:focus,
.form-group input:focus {
	border: 1px solid var(--primary-color);
}

.contact-form .primary-btn {
	margin-top: auto;
}

.contact-map {
	height: auto;
	border-radius: var(--border-radius-primary);
	border: none;
	width: calc((100% - 70px) / 2);
	min-height: 600px;
}

@media screen and (max-width: 768px) {
	.contact-form {
		padding: 25px;
	}

	.contact-content,
	.contact-form,
	.contact-map {
		width: 100%;
	}

	.contact-list-item {
		width: calc((100% - 40px) / 2);
	}

	.contact-list-item:nth-child(3) {
		width: 100%;
	}
}

/* === Footer === */

.footer {
	padding: 70px 0 20px;
	background: var(--secondary-color);
	color: var(--text-secondary);
	overflow: hidden;
}

.footer a {
	color: var(--text-secondary);
	opacity: 0.8;
}

.footer a:hover {
	text-decoration: underline;
}

.footer .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 0 100px;
}

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-contact,
.footer-menu ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-rights {
	width: 100%;
	margin-top: 30px;
	text-align: center;
}

@media screen and (max-width: 1240px) {
	.footer {
		padding: 60px 0 20px;
	}

	.footer .container {
		padding: 0 15px;
		justify-content: space-between;
		gap: 40px;
	}
}

/* === Cookie Popup === */

.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--background-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	z-index: 1000;
	display: none;
}

.cookie-popup-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cookie-popup a {
	text-decoration: underline;
	transition: all 0.3s ease;
}

.cookie-popup a:hover {
	color: var(--primary-hover);
}

.cookie-popup h2 {
	margin: 0 0 10px;
	font-size: 1.5rem;
}

.cookie-popup p {
	margin: 0 0 20px;
	font-size: 1rem;
}
