/* === Header === */

.header {
	position: fixed;
	top: 5px;
	left: 10px;
	right: 10px;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 25px;
	overflow-x: hidden;
	transition: all 0.6s ease;
	background-color: transparent;
}

.header-active {
	border-radius: var(--border-radius-primary);
	padding: 8px 25px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	background: linear-gradient(
		136deg,
		rgba(0, 0, 0, 0.4) 0%,
		rgba(0, 0, 0, 0.4) 100%
	);
	backdrop-filter: blur(8px);
}

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

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

.burger-btn {
	display: none;
}

.mobile-menu {
	display: none;
}

.header-nav-list 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: black;
	}

	.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: 160px 0 60px;
	background-image: url('../images/hero.png');
	background-repeat: no-repeat;
	background-size: cover;
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	background: rgb(124, 121, 121);
	backdrop-filter: blur(8px);
	border-radius: var(--border-radius-secondary);
	padding: 40px 55px;
	max-width: 725px;
	margin-bottom: 80px;
}

.hero-title {
	font-weight: 600;
	font-size: 64px;
	line-height: 112%;
	color: var(--text-secondary);
	margin-bottom: 40px;
	font-family: var(--secondary-family);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .descr {
	margin-bottom: 40px;
	color: var(--text-secondary);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 90px;
	padding: 25px 55px;
	backdrop-filter: blur(8px);
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.05) 0%,
		rgba(0, 0, 0, 0.05) 100%
	);
	border-radius: var(--border-radius-secondary);
	border: 0.5px solid var(--text-secondary);
}

.hero-item {
	width: calc((100% - 270px) / 4);
}

.hero-item .subtitle {
	margin-bottom: 6px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-item .subtitle,
.hero-item .descr {
	color: var(--text-secondary);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 1024px) {
	.hero-list {
		gap: 35px;
	}

	.hero-item {
		width: calc((100% - 105px) / 4);
	}
}

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

	.subtitle {
		font-size: 20px;
	}
}

@media screen and (max-width: 500px) {
	.hero-content {
		padding: 20px 10px;
		margin-bottom: 80px;
	}

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

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

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

.about-us .container-flex {
	align-items: stretch;
}

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

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

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

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

.about-us-item {
	width: calc((100% - 32px) / 2);
	padding: 24px;
	background-color: var(--secondary-background);
	border-radius: var(--border-radius-secondary);
}

.about-us-item:nth-child(3) {
	width: 100%;
}

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

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

.about-us-img {
	object-fit: cover;
	border-radius: var(--border-radius-primary);
	min-height: 370px;
}

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

	.about-us-item {
		padding: 14px;
	}
}

@media screen and (max-width: 500px) {
	.about-us-list {
		gap: 20px;
	}

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

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

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

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

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

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

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

.our-services-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: calc((100% - 120px) / 4);
}

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

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

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

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

@media screen and (max-width: 500px) {
	.our-services-list {
		gap: 20px;
	}

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

/* === Plans === */

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

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

/* === Testimonial === */

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

.testimonial .container {
	padding-right: 0;
	align-items: start;
}

.testimonial-content {
	width: calc(30% - 40px);
	padding-top: 40px;
}

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

.swiperTestimonial {
	width: calc(70% - 40px);
}

.testimonial-item {
	display: flex;
	flex-wrap: wrap;
	padding: 24px;
	gap: 25px;
	background-color: var(--background-color);
	border-radius: var(--border-radius-secondary);
}

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

.testimonial-item .descr {
	font-style: italic;
}

.testimonial-item-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: calc(100% - 125px);
}

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

.testimonial-item-info .subtitle {
	font-size: 22px;
}

.swiper-nav {
	display: flex;
	gap: 50px;
	margin-top: 50px;
}

.swiper-button-prev,
.swiper-button-next {
	position: static;
	color: var(--text-secondary);
	background-color: var(--primary-color);
	box-shadow: var(--box-shadow);
	width: 45px;
	border-radius: 20px;
	transition: all 0.3s ease;
}

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

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

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

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

@media screen and (max-width: 1024px) {
	.testimonial-content {
		width: calc(40% - 40px);
	}

	.swiperTestimonial {
		width: calc(60% - 40px);
	}
}

@media screen and (max-width: 768px) {
	.testimonial .container {
		padding-right: 15px;
	}

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

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

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

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

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

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

.our-blog-item {
	display: flex;
	flex-wrap: wrap;
	border-radius: var(--border-radius-primary);
	overflow: hidden;
	border: 0.5px solid var(--text-inverted);
}

.swiper-slide {
	height: auto;
}

.our-blog-item-content,
.our-blog-item-img {
	width: 50%;
}

.our-blog-item-img {
	object-fit: cover;
}

.our-blog-item-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	padding: 20px;
}

.our-blog-item-info {
	font-size: 14px;
	margin-bottom: 30px;
}

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

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

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

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

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

	.our-blog-item-img {
		height: 360px;
	}
}

/* === FAQ === */

.faq {
	padding: 100px 0;
	text-align: center;
}

.faq .container {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
}

.faq-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.faq .section-name {
	margin-bottom: 20px;
}

.accordion {
	width: 100%;
}

.accordion .subtitle {
	margin-bottom: 22px;
}

/* === Accordion === */

.accordion {
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: start;
}

.accordion-item {
	border-radius: var(--border-radius-secondary) !important;
}

.accordion-button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: none !important;
	border-radius: var(--border-radius-secondary) !important;
	transition: all 0.3s ease;
}

.accordion-button::after {
	display: none;
}

.accordion-button svg {
	fill: none;
	stroke: #000;
	width: 20px;
	height: 20px;
	stroke-width: 2px;
	transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
	color: var(--text-primary);
	background-color: var(--accordion-active);
}

.accordion-button:not(.collapsed) svg {
	transform: rotate(180deg);
	stroke: var(--primary-hover);
}

.accordion-button:hover {
	background-color: var(--accordion-active);
}

.accordion-button:hover svg {
	stroke: var(--primary-color);
}

/* === Contact === */

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

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

.contact-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
	width: 100%;
}

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

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

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

.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-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 40px;
	background-color: var(--background-color);
	box-shadow: 0 10px 52px 0 rgba(0, 0, 0, 0.08);
	padding: 40px 30px;
	width: 100%;
	border-radius: var(--border-radius-primary);
}

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

.form-group {
	width: calc((100% - 40px) / 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%;
	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-form,
	.contact-map {
		width: 100%;
	}

	.form-group {
		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;
}
