/* === Header === */

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 15px 25px;
	background-color: black;
	overflow-x: hidden;
	transition: all 0.6s ease;
}

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

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

.header-nav-list a {
	transition: all 0.3s ease;
	color: whitesmoke;
}

.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: #fff;
	}

	.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: 90%;
		height: 100vh;
		background-color: var(--secondary-background);
		backdrop-filter: blur(120px);
		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;
		max-width: 150px;
	}

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

/* === Hero === */

.hero {
	padding: 0 0 100px;
}

.wrapper,
.hero-content {
	width: calc((100% - 90px) / 2);
}

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

.hero-title {
	font-family: var(--second-family);
	font-weight: 600;
	font-size: 56px;
	line-height: 121%;
	margin-bottom: 32px;
}

.hero-content .descr {
	margin-bottom: 32px;
}

.wrapper {
	height: 730px;

	overflow: hidden;
	padding: 30px;
}

.wrapper-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 50%;
	border-top-right-radius: 50%;
}

.hero-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
	width: 100%;
}

.hero-list-item {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 16px;
	border-radius: var(--border-radius-primary);

	background-color: var(--primary-color);
	width: calc((100% - 64px) / 3);
}

.hero-list-item .subtitle,
.hero-list-item .descr {
	color: var(--text-secondary);
}

@media screen and (max-width: 768px) {
	.hero {
		padding-top: 80px;
	}

	.hero::after {
		top: 25%;
	}

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

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

@media screen and (max-width: 500px) {
	.wrapper {
		height: 500px;
		padding: 15px;
	}

	.hero-list-item {
		width: 100%;
	}
}

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

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

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

.our-services-content .title {
	margin-bottom: 15px;
}

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

.swiperServices {
	padding-top: 20px;
}

.our-services-item {
	display: flex;
	gap: 20px;
	padding: 30px 20px 20px;
	border: 1px solid #000;
}

.swiper-slide {
	height: auto;
}

.our-services-item-wrap {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 180px;
	height: 150px;
	margin-top: -50px;
}

.our-services-item-bg {
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	background: var(--primary-color);
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 5"><path d="M 0 0 L 0 2 C 0 3 1 5 1 5 L 5 5 C 5 5 6 3 6 2 L 6 0" fill="white"/></svg>')
		center / contain no-repeat;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 5"><path d="M 0 0 L 0 2 C 0 3 1 5 1 5 L 5 5 C 5 5 6 3 6 2 L 6 0" fill="white"/></svg>')
		center / contain no-repeat;
}

.our-services-item-wrap::after {
	content: '';
	position: absolute;
	top: -1px;
	left: -21px;
	clip-path: polygon(100% 100%, 0% 100%, 100% 0);
	width: 21px;
	height: 20px;
	background-color: var(--primary-hover);
}

.our-services-item-wrap::before {
	content: '';
	position: absolute;
	top: -1px;
	right: -21px;
	clip-path: polygon(100% 100%, 0% 100%, 0 0);
	width: 21px;
	height: 20px;
	background-color: var(--primary-hover);
}

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

.our-services-item-content {
	width: calc((100% - 200px));
}

.our-services-item-content .subtitle {
	margin-bottom: 6px;
}

.swiper-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 50px;
}

.swiper-pagination,
.swiper-button-prev,
.swiper-button-next {
	position: static;
	display: flex;
}

.swiper-button-prev,
.swiper-button-next {
	width: 50px;
	height: 30px;
	background-color: var(--secondary-color);
	color: var(--text-secondary);
	padding: 5px;
	border-radius: var(--border-radius-primary);
	transition: all 0.3s ease;
}

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

.swiper-button-prev {
	transform: rotate(180deg);
}

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

.swiper-pagination {
	justify-content: center;
	align-items: center;
}

.swiper-pagination-bullet {
	width: 25px;
	height: 4px;
	border-radius: 0;
	background-color: var(--primary-color);
	opacity: 0.7;
}

.swiper-pagination-bullet-active {
	background-color: var(--primary-hover);
	opacity: 1;
}

@media screen and (max-width: 500px) {
	.our-services-item {
		flex-direction: column;
		align-items: center;
	}

	.our-services-item-content {
		width: 100%;
	}
}

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

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

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

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

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

.about-us-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
	width: 100%;
}

.about-us-item {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 16px;
	border-radius: var(--border-radius-primary);

	background-color: var(--primary-color);
}

.about-us-item-img {
	width: 80px;
	object-fit: contain;
}

.about-us-item-content .descr {
	margin: 0;
}

.about-us-item-content .subtitle,
.about-us-item-content .descr {
	color: var(--text-secondary);
}

.about-us-item-content .subtitle {
	margin-bottom: 6px;
}

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

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

/* === Plans === */

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

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

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

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

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

.plans-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc((100% - 80px) / 3);
	height: auto;
	position: relative;
	z-index: 1;
}

.plans-item-wrap {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -40px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 140px;
	aspect-ratio: 6 / 5;
}

.plans-item-wrap-bg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1;
}

.plans-item-wrap-price {
	font-size: 36px;
	position: relative;
	z-index: 4;
	color: var(--text-secondary);
}

.plans-item-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	padding: 30px;
	border-radius: var(--border-radius-primary);
	overflow: hidden;
	width: 100%;
	background-color: var(--secondary-background);
	color: var(--text-secondary);
	padding-top: 90px;
}

.plans-item-content .descr,
.plans-item-content .subtitle,
.plans-item-content .secondary-btn {
	color: var(--text-secondary);
}

.plans-item-content .subtitle {
	text-align: center;
	font-size: 42px;
	margin-bottom: 15px;
}

.plans-item-stars {
	display: flex;
	justify-content: center;
	width: 100%;
	gap: 20px;
}

.plans-item-star {
	width: 40px;
	height: 40px;
	clip-path: polygon(
		50% 0%,
		61% 35%,
		98% 35%,
		68% 57%,
		79% 91%,
		50% 70%,
		21% 91%,
		32% 57%,
		2% 35%,
		39% 35%
	);
	background-color: yellow;
}

.plans-item-stars::after {
	content: '';
	width: 30px;
	height: 30px;
	clip-path: polygon(
		50% 0%,
		61% 35%,
		98% 35%,
		68% 57%,
		79% 91%,
		50% 70%,
		21% 91%,
		32% 57%,
		2% 35%,
		39% 35%
	);
	background-color: yellow;
}

.plans-item-stars::before {
	content: '';
	content: '';
	width: 30px;
	height: 30px;
	clip-path: polygon(
		50% 0%,
		61% 35%,
		98% 35%,
		68% 57%,
		79% 91%,
		50% 70%,
		21% 91%,
		32% 57%,
		2% 35%,
		39% 35%
	);
	background-color: yellow;
}

.plans-content-list {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 35px;
	margin-bottom: 45px;
}

.plans-content-list-item {
	display: flex;
	align-items: center;
	padding: 8px;
	padding-left: 60px;
	border-radius: 20px;
	background-color: var(--text-secondary);
	position: relative;
}

.plans-content-list-item .descr {
	color: var(--text-primary);
	font-size: 16px;
}

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

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

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

/* === Why Choose === */

.why-choose {
	padding: 100px 0;
	position: relative;
}

.why-choose::after {
	content: '';
	position: absolute;
	bottom: 40px;
	left: 30px;
	width: 140px;
	height: 150px;
	z-index: -1;
	background: var(--text-primary);
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2 0 4 4"><path d="M 0 0 L 0 4 C 0 3 1 2 2 2 C 1 2 0 1 0 0 C 0 1 -1 2 -2 2 C -1 2 0 3 0 4" fill="white"/></svg>')
		center / contain no-repeat;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2 0 4 4"><path d="M 0 0 L 0 4 C 0 3 1 2 2 2 C 1 2 0 1 0 0 C 0 1 -1 2 -2 2 C -1 2 0 3 0 4" fill="white"/></svg>')
		center / contain no-repeat;
	opacity: 0.7;
}

.why-choose-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.why-choose-content .title {
	margin-bottom: 20px;
}

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

.why-choose-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px;
	width: calc((100% - 90px) / 2);
}

.why-choose-item {
	display: flex;
	border: 1px solid #000;
	width: 100%;
	padding-left: 10px;
}

.why-choose-item-wrap {
	position: relative;
	margin-top: -15px;
	margin-bottom: -15px;
}

.why-choose-item-wrap-bg {
	display: flex;
	justify-content: center;
	align-items: center;
	clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
	background-color: var(--primary-color);
	width: 120px;
	height: 100%;
	font-size: 60px;
	color: var(--text-secondary);
}

.why-choose-item-wrap::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: -11px;
	width: 14px;
	height: 15px;
	background-color: var(--primary-hover);
	z-index: -1;
	clip-path: polygon(78% 100%, 0 0, 100% 0);
}

.why-choose-item-wrap::before {
	content: '';
	position: absolute;
	top: 0;
	right: -10px;
	width: 14px;
	height: 15px;
	background-color: var(--primary-hover);
	z-index: -1;
	clip-path: polygon(29% 0, 0% 100%, 100% 100%);
}

.why-choose-item-content {
	padding: 20px;
	width: calc(100% - 120px);
}

@media screen and (max-width: 768px) {
	.why-choose-list {
		width: 100%;
	}

	.why-choose-item-content {
		padding: 10px;
	}

	.why-choose::after {
		bottom: -50px;
	}
}

/* === Testimonial === */

.testimonial {
	padding: 100px 0;
}

.testimonial .container {
	padding: 0;
}

.testimonial-content {
	text-align: center;
	margin-bottom: 50px;
	padding: 0 80px;
}

.swiperTestimonial {
	padding: 30px 0;
}

.testimonial .swiper-slide {
	opacity: 0.8;
	transition: all 0.3s ease;
}

.testimonial .swiper-slide-active {
	transform: scale(1.1);
	opacity: 1;
}

.testimonial-item-content {
	background-color: var(--secondary-background);
	padding: 20px 20px 40px;
	border-radius: var(--border-radius-primary);
}

.testimonial-item-content .descr {
	color: var(--text-secondary);
	text-align: center;
	position: relative;
	display: inline-block;
}

.testimonial-item-content .descr::before {
	content: '“';
	font-size: 1.5em;
	margin-right: 4px;
	vertical-align: top;
	line-height: 1;
}

.testimonial-item-content .descr::after {
	content: '”';
	font-size: 1.5em;
	margin-left: 4px;
	vertical-align: bottom;
	line-height: 1;
}

.testimonial-item-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: -35px;
}

.testimonial-item-wrap img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 5px;
}

.testimonial .swiper-nav {
	padding: 0 80px;
}

@media screen and (max-width: 1240px) {
	.testimonial-content,
	.testimonial .swiper-nav {
		padding: 0 15px;
	}
}

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

	.testimonial .container {
		padding: 0 15px;
	}

	.testimonial .swiper-slide-active {
		transform: scale(1);
	}
}

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

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

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

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

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

.our-blog-item {
	display: flex;
	flex-direction: column;
	height: auto;
	border-top-left-radius: var(--border-radius-primary);
	border-top-right-radius: var(--border-radius-primary);
	overflow: hidden;
}

.our-blog-item-img {
	width: 100%;
	height: 340px;
	object-fit: cover;
}

.our-blog-item-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: start;
	padding: 15px;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
	border-left: 1px solid #333;
	border-bottom-left-radius: var(--border-radius-primary);
	border-bottom-right-radius: var(--border-radius-primary);
}

.our-blog-info {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 400px;
}

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

.our-blog-item-content .descr {
	margin-bottom: 25px;
}

.our-blog-item-content .primary-btn {
	margin-top: auto;
	padding: 10px 30px;
}

/* === Contact === */

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

.contact .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 70px;
	column-gap: 0;
}

.contact-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	flex: 1;
	width: calc(100% / 2);
	background-color: var(--secondary-background);
	border-radius: var(--border-radius-primary) 0 0 var(--border-radius-primary);
	padding: 40px 30px;
}

.contact-content .title {
	margin-bottom: 12px;
	text-align: start;
	color: var(--text-secondary);
}

.contact-content .descr {
	margin-bottom: 30px;
	max-width: 670px;
	color: var(--text-secondary);
}

.contact-list {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

.contact-list-item {
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	font-family: var(--font-family);
	font-size: 18px;
	color: var(--text-secondary);
	position: relative;
}

.contact-content .subtitle {
	margin-bottom: 15px;
	color: var(--text-secondary);
}

.contact-content svg {
	width: 25px;
	height: 25px;
	fill: transparent;
	stroke: var(--primary-color);
}

.contact-list-item .descr {
	width: calc(100% - 38px);
}

.contact-content-wrap:not(:last-child) {
	margin-bottom: 30px;
}

.contact-content a {
	color: var(--text-secondary);
}

.contact-content-wrap .descr {
	display: flex;
	align-items: center;
	color: var(--text-secondary);
	gap: 13px;
	margin: 0;
}

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

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

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

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

.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%;
	padding-bottom: 5px;
	color: var(--text-primary);
	border: none;
	background-color: transparent;
	outline: none;
	border: 1px solid var(--text-primary);
	border-radius: var(--border-radius-primary);
	padding: 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-map {
	height: auto;
	border-radius: var(--border-radius-primary);
	border: none;
	min-height: 400px;
	width: 100%;
}

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

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

/* === Footer === */

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

.footer-contact li,
.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;
}
