/* === Header === */

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

.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: var(--text-secondary);
}

.header-nav-list a:hover {
	color: var(--secondary-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;
		color: #d3d3d3;
		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: 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;
		padding-top: 50px;
	}

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

/* === Hero === */

.hero {
	padding: 120px 0;
}

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

.hero-title {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 64px;
	line-height: 120%;
	margin-bottom: 32px;
}

.hero .descr {
	margin-bottom: 48px;
	max-width: 500px;
}

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

.wrapper {
	position: relative;
}

.wrapper-img {
	width: 100%;
	height: 490px;
	border-radius: var(--border-radius-secondary);
	object-fit: cover;
}

@media screen and (max-width: 1024px) {
	.hero-title {
		font-size: 56px;
	}
}

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

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

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

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

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

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

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

.about-us-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px 45px;
}

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

.about-us-item-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--secondary-color);
	border-radius: var(--border-radius-secondary);
	margin-bottom: 20px;
	max-width: 44px;
	width: 100%;
	height: 44px;
}

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

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

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

@media screen and (max-width: 1024px) {
	.about-us-item {
		width: 100%;
	}
}

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

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

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

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

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

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

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

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

.our-services-item {
	width: calc((100% - 120px) / 4);
}

.our-services-item-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 56px;
	height: 56px;
	border-radius: var(--border-radius-primary);
	background-color: var(--secondary-color);
	margin-bottom: 33px;
}

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

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

@media screen and (max-width: 1024px) {
	.our-services-item {
		width: calc((100% - 80px) / 3);
	}
}

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

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

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

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

.why-choose-content {
	width: calc((100% - 70px) / 2);
}

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

.why-choose-content .descr {
	margin-bottom: 44px;
}

.why-choose-list {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.why-choose-item {
	display: flex;
	gap: 26px;
}

.why-choose-item-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	background-color: var(--secondary-color);
	border-radius: var(--border-radius-secondary);
}

.why-choose-item-wrap img {
	width: 22px;
	object-fit: contain;
}

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

.why-choose-item-content .subtitle {
	margin-bottom: 12px;
}

.why-choose-item-content .descr {
	margin: 0;
}

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

/* === Plans === */

.plans {
	padding: 100px 0;
}

.plans-content {
	margin-bottom: 68px;
}

.plans-content .title {
	max-width: 600px;
	margin-bottom: 16px;
}

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

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

.plans-item {
	width: calc((100% - 70px) / 3);
	padding: 30px;
	border-radius: var(--border-radius-primary);
	border: 1px solid var(--accordion-active);
	height: auto;
}

.plans-item .subtitle {
	color: var(--secondary-color);
	margin-bottom: 32px;
}

.plans-item-price {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 32px;
	color: var(--primary-color);
	margin-bottom: 16px;
}

.plans-item .descr {
	margin-bottom: 32px;
}

.primary-btn {
	margin-bottom: 32px;
}

.plans-item-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.plans-item-list li {
	position: relative;
	padding-left: 32px;
}

.plans-item-list li::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	border-radius: 4px;
	background-color: var(--secondary-color);
	z-index: 1;
}

.plans-item-list li::before {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	top: 50%;
	left: 4px;
	transform: translateY(-50%);
	background-image: url('../images/check.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 2;
}

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

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

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

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

.how-work-content {
	width: calc((100% - 70px) / 2);
}

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

.how-work-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 35px;
}

.how-work-item {
	width: calc((100% - 35px) / 2);
}

.how-work-item-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--secondary-color);
	border-radius: var(--border-radius-secondary);
	color: var(--text-secondary);
	margin-bottom: 20px;
	max-width: 44px;
	width: 100%;
	height: 44px;
	font-size: 22px;
}

.how-work-item .subtitle {
	margin-bottom: 8px;
}

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

	.how-work-content {
		width: 100%;
	}
}

/* === Testimonial === */

.testimonial {
	padding: 100px 0;
}

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

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

.testimonial-item {
	display: flex;
	flex-wrap: wrap;
	width: calc((100% - 40px) / 3);
	padding: 35px;
	height: auto;
	background-color: var(--secondary-background);
	border-radius: var(--border-radius-primary);
}

.testimonial-item-quote {
	fill: var(--primary-color);
	width: 40px;
	height: 40px;
	transform: rotate(180deg);
	margin-bottom: 37px;
}

.testimonial-item-img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--border-radius-primary);
	margin-left: auto;
	margin-top: auto;
}

.testimonial-item .descr {
	margin-bottom: 60px;
}

.testimonial-item-wrap {
	width: calc(100% - 90px);
	margin-top: auto;
}

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

.testimonial-item-wrap p {
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	color: var(--text-inverted);
}

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

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

/* === Contact === */

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

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

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

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

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

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

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

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

.contact-list-item .descr {
	margin: 0;
}

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

.contact-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	background-color: var(--background-color);
	box-shadow: 0 10px 52px 0 rgba(0, 0, 0, 0.08);
	padding: 40px 30px;
	gap: 30px;
	width: 100%;
	border-radius: var(--border-radius-primary);
}

.contact-form .primary-btn {
	margin-bottom: 0;
}

.form-group {
	display: flex;
	flex-direction: column;
	width: calc((100% - 30px) / 2);
}

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

	.form-group {
		width: 100%;
	}

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

/* === Footer === */

.footer {
	padding: 70px 0 20px;
	background: var(--primary-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;
	max-width: 400px;
}

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