.header__burger {
	display: none;
}

.header__burger-lines {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.header__burger-line {
	width: 12px;
	height: 2px;
	background: #28303f;
	transition: transform 0.3s ease;
}

.header__burger-line:first-child {
	opacity: 0.4;
}

.header__burger-line:last-child {
	opacity: 0.4;
}

.reviews__stats-mobile {
	display: none;
}

.reviews__stats-mobile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 40px;
	border-radius: 32px;
	background: rgba(224, 224, 222, 0.07);
	backdrop-filter: blur(8px);
	margin-bottom: 64px;
}

.reviews__stat-mobile {
	color: #c1c1c5;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.36px;
}

/* Mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: block;
	pointer-events: none;
}

.mobile-menu__overlay {
	position: absolute;
	inset: 0;
	background: #1b1c2e;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.mobile-menu__panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: #ffffff;
	border-bottom-left-radius: 24px;
	border-bottom-right-radius: 24px;
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.16);
	transform: translateY(-110%);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	padding: 20px 24px 32px;
	display: flex;
	flex-direction: column;
}

.mobile-menu__top {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: center;
	margin-bottom: 48px;
}

.mobile-menu__logo img {
	height: 28px;
}

.mobile-menu__divider,
.menu__divider {
	color: #1b1c2e;
	opacity: 0.1;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.08px;
}

.mobile-menu__close {
	border: none;
	background: transparent;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu__nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}

.mobile-menu__link {
	color: #1b1c2e;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.12px;
	text-align: center;
}

.mobile-menu__cta {
	text-align: center;
	display: flex;
	justify-content: center;
}

.mobile-menu__cta a {
	padding: 12px 24px;
	display: flex;
	gap: 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	letter-spacing: -0.2px;
}

.mobile-menu__cta .btn__icon {
	display: flex;
	padding: 8px 16px;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.15);
}

.mobile-menu--open {
	display: block;
	pointer-events: auto;
	visibility: visible;
}

.mobile-menu--open .mobile-menu__overlay {
	opacity: 0.6;
	pointer-events: auto;
}

.mobile-menu--open .mobile-menu__panel {
	transform: translateY(0);
	opacity: 1;
}

.service-card--mobile {
	display: none;
}

/* ADAPTIVE */

@media (max-width: 1600px) {
	.hero__content {
		flex-direction: column;
		gap: 32px;
	}

	.hero__card {
		margin-left: 64px;
		margin-right: 64px;
	}
}

@media (max-width: 1400px) {
	.hero__card {
		padding: 48px;
		margin-top: calc(1034px - 100vw);
	}

	.reviews__stat-3 {
		right: 2%;
	}
}

@media (max-width: 1240px) {
	.reviews__stat-3 {
		top: 6%;
	}

	.form-section__image-container {
		left: calc(50vw + 64px);
	}
}

@media (max-width: 1024px) {
	.form-section__image-container {
		left: calc(50vw + 140px);
	}

	#reviews .reviews__title {
		font-size: 100px;
		line-height: 100px;
		letter-spacing: -3px;
	}

	#reviews .reviews__stats {
		display: none;
	}

	#reviews {
		padding: 120px 0 80px 0;
	}

	.service-wide {
		display: none;
	}

	.service-card--mobile {
		display: flex;
	}

	.reviews__stats-mobile {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	#reviews .reviews__title {
		margin-bottom: 64px;
	}

	.header__inner {
		gap: 24px;
	}

	.cards-grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.team-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.benefits {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__card {
		margin-left: 48px;
		margin-right: 48px;
		gap: 24px;
		margin-top: calc(966px - 100vw);
	}

	.hero__content {
		gap: 24px;
	}

	.hero__title {
		font-size: 48px;
		line-height: 48px;
		letter-spacing: -0.72px;
	}

	.hero__subtitle {
		font-size: 16px;
		line-height: 24px;
		letter-spacing: -0.16px;
	}

	.hero__accent {
		font-size: 16px;
	}
}

@media (max-width: 896px) {
	.form-section__image-container {
		display: none;
	}

	.form-section__form-container {
		max-width: 100%;
		padding-right: 0;
	}
	.hero__card {
		margin-left: 48px;
		margin-right: 48px;
		gap: 24px;
		margin-top: -60px;
	}

	.header__inner {
		margin: 0 auto;
		width: auto;
	}

	.header .nav,
	.header__cta {
		display: none;
	}

	.header__burger {
		display: flex;
		align-items: center;
		cursor: pointer;
		gap: 8px;
	}

	/* Делаем меню доступным для анимации, но скрытым до открытия */
	.mobile-menu {
		display: block;
	}

	.mobile-menu__panel {
		margin: 0 auto;
	}

	.header__burger-text {
		color: #1b1c2e;
		font-size: 16px;
		font-weight: 600;
		line-height: 24px;
		letter-spacing: -0.08px;
	}

	.hero__photo {
		height: 100vh;
	}

	.hero__photo img {
		max-width: unset;
		object-position: 50% 50%;
		height: 100%;
		object-fit: cover;
	}

	.hero__card {
		margin-top: -360px;
	}
}

@media (max-width: 800px) {
	.header__inner {
		flex-wrap: wrap;
		justify-content: center;
	}

	.benefits {
		padding-bottom: 64px;
	}

	.benefit__content {
		flex-wrap: wrap;

		gap: 48px;
	}

	.benefit__item {
		order: 2;
		width: 100%;
		margin: 0 32px;
		max-width: 100%;
	}

	.benefit__list-item {
		flex-basis: 100%;
	}

	.benefit__image {
		order: 1;
		place-items: center;
	}

	.benefit__list-text {
		max-width: 100%;
	}

	.nav {
		flex-wrap: wrap;
		justify-content: center;
	}

	.hero__card {
		padding: 28px 24px;
	}

	.cards-grid--three {
		grid-template-columns: minmax(0, 1fr);
	}

	.service-wide {
		grid-template-columns: minmax(0, 1fr);
	}

	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.form-section {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	.reviews__list.swiper {
		width: 100%;
	}

	.reviews__list .swiper-button-next {
		right: 0;
	}

	.reviews__list .swiper-button-prev {
		left: 0;
	}

	.modal__content {
		padding: 32px 24px;
		max-width: 90%;
	}

	.modal__icon {
		width: 56px;
		height: 56px;
		font-size: 28px;
		margin-bottom: 20px;
	}

	.modal__title {
		font-size: 20px;
	}

	.modal__message {
		font-size: 14px;
	}

	.footer__meta-container {
		display: flex;
		flex-direction: column;
	}

	.footer__meta-container .footer__meta-divider {
		display: none;
	}
}

@media (max-width: 600px) {
	#reviews .reviews__title {
		font-size: 60px;
		line-height: 60px;
		letter-spacing: -0;
	}
	.team-grid {
		gap: 48px;
	}
	.team-card__photo img {
		width: 100%;
	}
	#services {
		padding: 90px 32px 32px 64px;
	}

	.header__inner {
		padding-inline: 16px;
	}

	.hero {
		padding-top: 24px;
	}

	.hero__card {
		padding: 24px;
		margin-left: 16px;
		margin-right: 16px;
		border-radius: 24px;
	}

	.hero__photo img {
		object-position: 54% 50%;
	}

	.hero__title {
		line-height: 24px;
		letter-spacing: -0.36px;
		font-size: 24px;
	}

	.hero__content {
		gap: 16px;
	}

	.hero__actions a {
		width: 100%;
	}

	.section {
		padding: 56px 0;
	}

	.team-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer__top {
		flex-direction: column;
	}

	.policy__title {
		font-size: 28px;
		line-height: 32px;
		letter-spacing: -0.14px;
		margin-bottom: 24px;
	}

	.footer__nav {
		flex-direction: column;
		display: flex;
		gap: 8px;
	}

	.footer__meta-divider {
		display: none;
	}
	.footer__contact-container {
		grid-template-columns: minmax(0, 1fr);
	}

	.policy {
		padding: 216px 0 80px;
	}
}
