/* === Header === */

.header {
	width: 100%;
	padding: 15px 25px;
	background-color: var(--secondary-color);
	overflow-x: hidden;
	transition: all 0.6s ease;
}

.header div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header .secondary-btn {
	background-color: var(--secondary-color);
}

.header .secondary-btn:hover {
	background-color: var(--secondary-hover);
}

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

.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;
		color: brown;
	}

	.mobile-menu {
		display: flex;
		flex-direction: column;
		/* justify-content: space-between; */
		align-items: center;
		gap: 20px;
		position: fixed;
		top: 0;
		right: -100%;
		width: 215px;
		height: 100vh;
		background-color: var(--text-inverted);
		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: 50px;
	background-color: #d3d3d3;
}

.hero-container {
	background-color: var(--secondary-background);
	max-width: 1170px;
	margin: 0 auto;
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	padding: 20px 0 20px 28px;
	width: calc((100%) / 2);
}

.hero-title {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 62px;
	line-height: 120%;
	color: var(--text-inverted);
	margin-bottom: 20px;
}

.hero-content .descr {
	max-width: 440px;
	margin-bottom: 40px;
}

.wrapper {
	height: 650px;
	max-width: 600px;
	width: calc((100%) / 2);
	/* clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); */
	overflow: hidden;
}

.wrapper-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 1024px) {
	.hero-content,
	.wrapper {
		width: 100%;
	}

	.wrapper {
		height: 550px;
	}

	.hero-content {
		margin-bottom: 45px;
		padding-right: 50px;
	}

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

	.hero-container {
		justify-content: end;
	}
}

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

	.hero-content {
		padding-right: 10px;
		padding-left: 10px;
	}
}

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

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

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

.our-services-content .title {
	max-width: 700px;
	margin-bottom: 10px;
}

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

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

.our-services-item {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 20px;
	border-radius: 20px;
	box-shadow: 0 0 10px 2px #7dd7c8;

	width: calc((100% - 20px) / 2);
}

.our-services-item-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 80px;
	background-color: var(--background-color);
}

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

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

.our-services-item .subtitle {
	color: #000;
	margin-bottom: 6px;
}

.our-services-item .descr {
	color: #000;
}

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

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

.about-us {
	padding: 100px 0;
	background-color: #bcb5b5;
}

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

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

.about-us-content .descr {
	color: #000;
}

.about-us-content .descr:not(:last-child) {
	margin-bottom: 6px;
}

.about-us-content .primary-btn {
	margin-top: 40px;
}

@media screen and (max-width: 1024px) {
	.about-us .container-flex {
		justify-content: end;
	}

	.about-us-content {
		margin-bottom: 60px;
		width: 100%;
	}
}

/* === How Work === */

.how-work {
	padding: 100px 0;
}

.how-work-content {
	margin-bottom: 60px;
}

.how-work-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 50px;
}

.how-work-item {
	display: flex;
	align-items: stretch;
	box-shadow: 0 0 10px 2px #7dd7c8;
}

.how-work-item-content {
	max-width: 900px;
	padding: 20px 10px;
}

.how-work-item-content .subtitle {
	margin-bottom: 10px;
	text-align: center;
}

.how-work-item-wrap-center {
	flex: 1;
	min-width: 20px;
	height: 1px;
	background-color: var(--text-primary);
}

.title {
	text-align: center;
}

.descr {
	text-align: center;
}

.how-work-item-wrap-right {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 36px;
	border: 1px solid var(--text-primary);
}

.how-work-item:nth-child(1) .how-work-item-wrap-right {
	color: var(--secondary-color);
	border: 1px solid var(--secondary-color);
}

/* === Plans === */

.plans {
	padding: 100px 0 180px;
	background-color: #bcb5b5;
}

.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-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 2;
	margin-bottom: 70px;
}

.plans-item-content .subtitle {
	color: #000;
	font-size: 30px;
	margin-bottom: 7px;
}

.plans-item-content .descr {
	color: #000;
	margin-bottom: 25px;
}

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

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

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

.plans-list-item {
	position: relative;
	display: flex;
	justify-content: center;
	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%;
	}
}

/* === Testimonial === */

.testimonial {
	padding: 100px 0;
}

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

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

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

.swiper-wrapper {
	padding-bottom: 50px;
}

.testimonial-item {
	display: flex;
	border: 1px solid #eee;
	padding: 20px;
	gap: 30px;
	height: auto;
}

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

.testimonial-item-content,
.testimonial-item img {
	width: calc((100% - 30px) / 2);
}

.testimonial-item-content {
	display: flex;
	flex-direction: column;
}

.testimonial-item-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary-color);
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
}

.testimonial-item-wrap svg {
	width: 30px;
	height: 30px;
	fill: var(--text-secondary);
}

.testimonial-item-content .subtitle {
	margin-top: auto;
}

.testimonial-item-content .descr:nth-child(2) {
	font-style: italic;
	font-size: 14px;
	margin-bottom: 30px;
}

.swiper-pagination-bullet {
	width: 15px;
	height: 4px;
	border-radius: 0;
	transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
	background-color: var(--primary-color);
	width: 25px;
}

@media screen and (max-width: 500px) {
	.testimonial-item {
		flex-direction: column;
	}

	.testimonial-item-content,
	.testimonial-item img {
		width: 100%;
	}
}

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

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

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

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

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

.our-blog-item {
	display: flex;
	flex-direction: column;
	align-items: start;
	height: auto;
}

.our-blog-item-img {
	object-fit: cover;
	width: 100%;
	height: 300px;
	margin-bottom: 11px;
}

.our-blog-item-info {
	margin-bottom: 11px;
}

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

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

/* === Contact === */

.contact {
	padding: 100px 0 180px;
	position: relative;
	background-color: #7dd7c8;
}

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

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

.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 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;
}
