/* === Header === */

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 15px 25px;
	background-color: var(--secondary-background);
	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: 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-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: 80px 0;
	background-color: var(--secondary-background);
}

.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: 500;
	font-size: 64px;
	line-height: 120%;
	color: var(--text-secondary);
	margin-bottom: 16px;
}

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

.hero-content .primary-btn {
	margin-bottom: 40px;
}

.hero-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
}

.hero-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
	padding: 16px;
	width: calc((100% - 32px) / 3);
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--border-radius-primary);
}

.hero-item-subtitle {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 36px;
	line-height: 120%;
	color: #000;
}

.hero-item-descr {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	color: #000;
	opacity: 0.64;
}

.wrapper {
	position: relative;
	height: 600px;
	overflow: hidden;
}

.wrapper.right {
	padding: 0 20px 20px 0;
}

.wrapper.left {
	padding: 0 0 20px 20px;
}

.wrapper-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 2;
	border-radius: 50px;
}

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

	.hero-item-subtitle {
		font-size: 26px;
	}
}

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

	.wrapper {
		height: 550px;
	}
}

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

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

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

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

.our-services-item {
	border: 1px solid var(--secondary-color);
	padding: 40px 24px;
	width: calc((100% - 48px) / 4);
	text-align: center;
}

.our-services-item-img {
	object-fit: contain;
	width: 100px;
	height: 100px;
	margin: 0 auto 24px;
}

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

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

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

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

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

.about-us {
	padding: 80px 0;
	background-image: url('/images/about.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.about-us .container-flex {
	row-gap: 60px;
}

.about-us-wrap {
	text-align: center;
	width: 100%;
}

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

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

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

.about-us-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

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

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

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

/* === Plans === */

.plans {
	padding: 100px 0;
}

.plans-content {
	text-align: center;
	margin-bottom: 60px;
}

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

.plans-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc((100% - 70px) / 3);
	border: 1px solid var(--primary-color);
	padding: 20px 24px;
	height: auto;
	overflow: hidden;
	border-radius: var(--border-radius-primary);
}

.plans-item .descr {
	text-align: center;
	margin-bottom: 30px;
}

.plans-item-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	position: relative;
	margin-bottom: 40px;
}

.plans-item-wrap .subtitle {
	color: #000;
	font-size: 38px;
}

.plans-item-price {
	color: #000;
	font-size: 46px;
}

.plans-item-price span {
	font-size: 12px;
}

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

.plans-item-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
}

.plans-item-list li::before {
	display: flex;
	align-items: center;
	justify-content: center;
	content: '';
	max-width: 25px;
	width: 100%;
	height: 25px;
	background-color: var(--secondary-background);
	border-radius: 10px;
	color: var(--text-secondary);
}

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

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

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

/* === Trigger === */

.trigger {
	position: relative;
	padding: 80px 0;
}

.trigger .container-flex {
	justify-content: space-between;
	align-items: stretch;
}

.trigger::after {
	content: '';
	position: absolute;
	top: 80px;
	left: 82px;
	right: 80px;
	bottom: 80px;
	background-color: var(--secondary-background);
	border-radius: var(--border-radius-primary);
	z-index: -1;
}

.trigger-img {
	width: calc((100% - 90px) / 2);
	object-fit: cover;
	border-radius: var(--border-radius-primary) var(--border-radius-secondary)
		var(--border-radius-secondary) var(--border-radius-primary);
}

.trigger-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	width: calc((100% - 90px) / 2);
	padding-right: 20px;
	padding: 50px 20px;
}

.trigger-content .title {
	color: var(--text-secondary);
	margin-bottom: 20px;
}

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

@media screen and (max-width: 1240px) {
	.trigger::after {
		left: 17px;
		right: 15px;
	}
}

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

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

	.trigger-content {
		padding: 12px;
	}
}

/* === Testimonial === */

.testimonial {
	padding: 80px 0;
	position: relative;
}

.testimonial-content {
	text-align: center;
	margin-bottom: 60px;
}

.testimonial-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 24px 40px;
	border-radius: var(--border-radius-primary);
	border: 1px solid var(--secondary-color);
}

.swiper-slide {
	height: auto;
}

.testimonial-item-quote {
	width: 65px;
	height: 65px;
	object-fit: contain;
}

.testimonial-item-wrap {
	display: flex;

	flex-direction: column;
	width: calc(100% - 116px);
}

.testimonial-item-img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 50%;
}

.testimonial-item-rating {
	height: 27px;
	width: 80px;
	object-fit: cover;
}

.swiper-pagination {
	position: static;
	margin-top: 40px;
}

.swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	transition: all 0.3s ease;
}

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

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

.swiper-button-next {
	right: 58px;
}

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

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

.swiper-button-next svg,
.swiper-button-prev svg {
	width: 26px;
	color: var(--text-secondary);
}

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

@media screen and (max-width: 1240px) {
	.swiper-button-next {
		right: 3px;
	}

	.swiper-button-prev {
		left: 3px;
	}
}

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

.our-blog {
	padding: 80px 0;
	position: relative;
}

.our-blog-content {
	text-align: center;
	margin-bottom: 60px;
}

.our-blog-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.our-blog-item-img,
.our-blog-item .subtitle,
.our-blog-info,
.our-blog-item .descr {
	width: 100%;
}

.our-blog-item-img {
	height: 300px;
	border-radius: var(--border-radius-primary);
	object-fit: cover;
	margin-bottom: 16px;
}

.our-blog-info {
	display: flex;
	gap: 40px;
	justify-content: space-between;
	margin-bottom: 16px;
	font-weight: 400;
	font-size: 14px;
	line-height: 120%;
	letter-spacing: 0.02em;
}

.our-blog-info-name,
.our-blog-info-date {
	display: flex;
	align-items: center;
	gap: 8px;
}

.our-blog-info-name::before {
	content: '';
	width: 18px;
	height: 18px;
	background-image: url('../images/person.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.our-blog-info-date::before {
	content: '';
	width: 17px;
	height: 17px;
	background-image: url('../images/date.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

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

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

.our-blog-item .link {
	margin-top: auto;
}

/* === 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-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 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;
}
