/* === Header === */

.header {
	position: fixed;
	top: 5px;
	left: 10px;
	right: 10px;
	z-index: 1000;

	padding: 15px 25px;
	overflow-x: hidden;
	transition: all 0.6s ease;
	background-color: transparent;
}

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

.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(255, 255, 255, 0.2) 0%,
		rgba(255, 255, 255, 0.2) 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: #012148;
	position: relative;
}

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

.burger-btn {
	display: none;
}

.mobile-menu {
	display: none;
}

.header-nav-list a.header-link-active {
	color: var(--primary-color);
	position: relative;
}

.header-nav-list a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 50%;
	right: 50%;
	height: 1.6px;
	background-color: var(--primary-color);
	transition: all 0.3s ease;
}

.header-nav-list a.header-link-active::after {
	left: -3px;
	right: -3px;
}

@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-inverted);
	}

	.burger-btn:active svg {
		color: var(--primary-hover);
	}

	.mobile-menu {
		display: flex;
		flex-direction: column;

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

.hero-title {
	font-family: var(--secondary-family);
	font-weight: 600;
	font-size: 56px;
	line-height: 150%;
	color: var(--text-inverted);
	margin-bottom: 24px;
}

.hero-content .descr {
	margin-bottom: 24px;
	font-size: 18px;
	max-width: 720px;
	color: #fff;
}

.hero-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	border-radius: 48px;
	gap: 72px;
	max-width: 1048px;
	width: 100%;
	padding: 40px 64px;
	margin: 0 auto;
	margin-bottom: -100px;
	position: relative;
	z-index: 4;
	background-color: var(--secondary-background);
}

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

.hero-list-item .subtitle {
	margin-bottom: 12px;
}

.hero-list-item-line {
	width: 66px;
	height: 4px;
	background: #252525;
	margin-bottom: 12px;
}

.hero .wrapper {
	width: 100%;
	height: 500px;
}

@media screen and (max-width: 768px) {
	.hero-list {
		padding: 20px 34px;
		gap: 30px;
		max-width: 650px;
	}

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

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

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

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

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

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

.swiper-slide {
	height: auto;
}

.our-services-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.our-services-item-content {
	background-color: var(--secondary-background);
	position: relative;
	height: 100%;
	width: 60%;
	padding: 20px;
}

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

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

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

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

/* === Swiper Nav === */

.swiper-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 70px;
}

.swiper-nav:has(.swiper-button-lock) {
	display: none;
}

.swiper-button-prev,
.swiper-button-next {
	position: static;
	display: block;
	background-color: var(--primary-color);
	border-radius: var(--border-radius-primary);
	color: var(--text-secondary);
	width: 60px;
	padding: 5px 20px;
	transition: all 0.3s ease;
}

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

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

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

.swiper-button-lock {
	display: none;
}

.swiper-pagination {
	position: static;
	display: block;
}

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

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

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

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

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

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

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

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

.about-us-item {
	width: calc((100% - 15px) / 2);
	padding: 15px 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: 10px;
}

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

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

	.about-us-content .section-name {
		justify-content: center;
		text-align: center;
	}
}

/* === Plans === */

.plans {
	padding: 100px 0;
}

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

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

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

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

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

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

/* === Testimonial === */

.testimonial {
	padding: 100px 0;
}

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

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

.testimonial-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	background-color: var(--secondary-background);
	border-radius: 10px;

	padding: 20px 35px;
}

.testimonial-item-rating {
	width: 120px;
	height: 30px;
	object-fit: cover;
	margin-bottom: 12px;
}

.testimonial-item .descr {
	text-align: center;
	font-style: italic;
	margin-bottom: 25px;
}

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

.testimonial-item-info {
	margin-left: 25px;
}

.testimonial-item-name {
	font-family: var(--secondary-family);
	color: var(--primary-color);
	font-size: 26px;
	margin-bottom: 5px;
}

.testimonial-item-descr {
	font-family: var(--secondary-family);
	color: var(--text-inverted);
}

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

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

.our-blog-content .title {
	margin-bottom: 12px;
}
.our-blog-content .descr {
	max-width: 850px;
}

.our-blog-item {
	display: flex;
	flex-direction: column;
	border-radius: var(--border-radius-primary);
	overflow: hidden;
	background-color: var(--secondary-background);
}

.our-blog-item-wrap {
	position: relative;
}

.our-blog-item-wrap::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	aspect-ratio: 8 / 3;
	mask: var(--wave-dip-mask-url) center / cover no-repeat;
	-webkit-mask: var(--wave-dip-mask-url) center / cover no-repeat;
	background-color: var(--secondary-background);
	z-index: 1;
}

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

.our-blog-item-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background-color: #ffffff58;
	backdrop-filter: blur(10px);
	border-radius: 10px;
	padding: 5px;
	position: absolute;
	bottom: 0px;
	right: 8px;
	z-index: 2;
}

.blog-author,
.blog-date {
	color: var(--text-inverted);
	font-size: 14px;
	font-style: italic;
}

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

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

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

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

/* === 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-content .title {
	margin-bottom: 14px;
}

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

.accordion {
	width: calc((100% - 100px) / 2);
}

.accordion .subtitle::after {
	content: '';
	display: block;
	width: 60px;
	height: 2px;
	background-color: var(--primary-color);
}

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

/* === Accordion === */

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

.accordion-item {
	border-radius: var(--border-radius-secondary) !important;
	box-shadow: none !important;
	overflow: hidden;
}

.accordion-button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: none !important;
	border-radius: none !important;
	transition: all 0.3s ease;
	font-size: 18px;
	font-weight: 500;
}

.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: 100px 0 180px;
	position: relative;
}

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

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

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

.contact-content .title {
	text-align: center;
	max-width: 900px;
}

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

.contact-list-item {
	display: flex;
	align-items: center;
	padding: 25px;
	gap: 50px;
	width: 100%;
	font-family: var(--font-family);
	font-size: 18px;

	background-color: var(--secondary-background);
	border-radius: var(--border-radius-primary);
	overflow: hidden;
}

.contact-list-item svg {
	width: 70px;
	height: 70px;
	fill: var(--text-secondary);
	position: relative;
	z-index: 2;
}

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

.contact-item-wrap {
	display: flex;
	flex-direction: column;
	gap: 7px;
	width: calc(100% - 120px);
}

.contact-item-wrap p.descr {
	font-size: 18px;
	margin-bottom: 0;
}

.contact-item-wrap a {
	text-decoration: underline;
}

.contact-item-wrap a:hover {
	color: var(--primary-color);
}

.contact-list-item .subtitle {
	text-align: start;
	font-weight: 500;
}

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

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

.form-group {
	margin-bottom: 40px;
	width: 100%;
}

.form-group:nth-child(4) {
	margin-bottom: 70px;
}

.form-group label {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 14px;
	line-height: 171%;
	color: var(--text-primary);
	padding-left: 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);
	padding: 15px 15px;
	transition: 0.3s all ease;
}

.form-group textarea:hover,
.form-group input:hover {
	border-bottom: 1px solid var(--primary-hover);
}

.form-group textarea:focus,
.form-group input:focus {
	border-bottom: 1px solid var(--primary-color);
}

.contact-form .primary-btn {
	margin-top: auto;
}

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

.contact-wrapper .title {
	margin-bottom: 12px;
}

.contact-wrapper .descr {
	margin-bottom: 35px;
	font-size: 18px;
	text-align: start;
}

.contact-map {
	height: auto;
	border-radius: var(--border-radius-primary);
	border: none;
	min-height: 440px;
	width: 100%;
}

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

	.form-group textarea,
	.form-group input {
		padding-top: 0;
	}
}

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

	.contact-list-item svg {
		width: 50px;
		height: 50px;
	}

	.contact-list-item::after {
		width: 120px;
	}

	.contact-item-wrap {
		width: calc(100% - 100px);
	}
}

/* === Footer === */

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

.footer-logo {
	display: block;
	max-width: 300px;
	margin: 0 auto;
}

.footer-logo img {
	width: 100%;
	object-fit: cover;
}

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

.footer-disclaimer {
	max-width: 800px;
	margin-top: 10px;
	margin: 10px auto 0;
	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;
}
