:root {
	--bg-page: #f8f6f1;
	--bg-white: #ffffff;
	--bg-hero-card: #ffffff;
	--bg-services: #f8f6f1;
	--bg-dark: #111327;

	--text-main: #1b1c2e;
	--text-muted: #5f606d;
	--text-soft: #b1b1b1;
	--text-on-dark: #ffffff;

	--accent: #e6aa7f;
	--accent-soft: #eeebe6;

	--border-soft: #e3e3e3;
	--border-card: #ece6dc;

	--radius-xl: 32px;
	--radius-lg: 24px;
	--radius-md: 16px;
	--radius-pill: 999px;

	--shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

#main {
	margin-top: -112px;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--bg-page);
	color: var(--text-main);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-block-start: 0;
	margin-block-end: 0;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* HEADER */

.header {
	display: flex;
	position: sticky;
	top: 48px;
	z-index: 20;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	padding: 12px 24px;
	margin: 0 auto;
	background: var(--bg-white);
	border: 1px solid #eeeeee;
	border-radius: 100px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.logo img {
	height: 24px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #1b1c2e;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.08px;
}

.nav__link {
	position: relative;
}

.nav__divider {
	opacity: 0.1;
}

.nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--text-main);
	transition: width 0.2s ease;
}

.nav__link:hover::after {
	width: 100%;
}

.header__cta {
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.08px;
	padding: 16px 4px;
}

.header__cta .btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: 4px;
}

/* BUTTONS */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	white-space: nowrap;
}

.btn--dark {
	background: var(--text-main);
	color: var(--text-on-dark);
	box-shadow: 0 10px 25px rgba(27, 28, 46, 0.25);
}

.btn--dark:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(27, 28, 46, 0.3);
}

.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

.btn--lg {
	padding: 12px 24px;
	font-size: 16px;
}

/* HERO */

.hero__bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top, #ffffff 0, #f8f6f1 55%, #f3eadd 100%);
	z-index: -1;
}

.hero__photo {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.hero__photo img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #ffffff;
	position: relative;
}

.hero__card {
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin-top: -96px;
	background: var(--bg-hero-card);
	border-radius: 64px;
	border: 2px solid #e9e9e9;
	box-shadow: 0 20px 40px 0 #f2f2f2;
	padding: 64px;
	max-width: 1546px;
	margin-top: -390px;
}

.hero__content {
	display: flex;
	gap: 64px;
}

.hero__title {
	color: #1b1c2e;
	font-size: 64px;
	font-weight: 700;
	line-height: 64px;
	letter-spacing: -0.96px;
	white-space: nowrap;
	margin: 0;
}

.hero__subtitle {
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	letter-spacing: -0.2px;
	color: var(--text-muted);
}

.hero__accent {
	font-weight: 800;
}

.hero__actions {
	display: flex;
}

.hero__actions a {
	padding: 12px 24px;
	display: flex;
	gap: 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 30px; /* 150% */
	letter-spacing: -0.2px;
	margin: 0;
}

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

.hero__actions .btn__icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

/* GENERIC SECTIONS */

.section {
	padding: 72px 0;
}

.section--light {
	background: #ffffff;
}

.section--dark {
	background: radial-gradient(circle at top, #22254a 0, #050618 80%);
	color: var(--text-on-dark);
}

.section--form {
	background: #eeebe6;
}

.section__header {
	margin-bottom: 40px;
	max-width: 520px;
}

.section__header--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.section__title {
	font-size: 40px;
	font-weight: 700;
	line-height: 48px; /* 120% */
	letter-spacing: -0.6px;
	margin-bottom: 16px;
}

.section__text {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px; /* 150% */
	letter-spacing: -0.16px;
	color: var(--text-muted);
}

.section__text--center {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.section__cta {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

/* SERVICES */
#services {
	padding: 164px 64px 64px 64px;
}

#services .container {
	max-width: 1352px;
}

.cards-grid {
	display: grid;
	gap: 24px;
}

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

.service-card {
	background: #f8f6f1;
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.service-card__image {
	padding: 8px;
	height: 230px;
}

.service-card__image > div,
.service-card__image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid rgba(234, 234, 234, 0.4);
}

.service-card__body {
	padding: 16px 24px 24px;
	display: flex;
	gap: 8px;
}

.service-card__title {
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: -0.18px;
}

.service-card__text {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.16px;
	color: var(--text-muted);
}

.service-wide {
	margin-top: 32px;
	background: #f8f6f1;
	border-radius: var(--radius-lg);
	padding: 8px;
}

.service-wide__content {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid rgba(234, 234, 234, 0.4);
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.service-wide__text-container {
	margin-left: 48px;
	margin-right: auto;
	display: flex;
	align-items: center;
}

.service-wide__text-body {
	display: flex;
	gap: 8px;
}

.service-wide__title {
	margin-bottom: 4px;
	font-size: 18px;
}

.service-wide__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text-muted);
}

.service-wide__text-content {
	max-width: 560px;
}

.service-wide__image {
	margin: 0 auto;
}

.service-wide__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

/* BENEFITS */

.benefit__divider {
	height: 2px;
	width: 100%;
	background: #eeeeee;
	margin: 96px 0;
}

.benefit__image {
	flex-basis: 100%;
}

.benefits-section {
	background: linear-gradient(180deg, #fff 0%, #f8f6f1 100%);
	padding-top: 64px;
	padding-bottom: 120px;
}

.row-reverse {
	flex-direction: row-reverse;
}

#benefits .container {
	max-width: 1048px;
}

#benefits .section__header {
	margin-bottom: 64px;
}

.benefit__content {
	display: flex;
	gap: 100px;
}

.benefit__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 550px;
}

.benefit__number-container {
	margin-bottom: 24px;
}

.benefit__text-container {
	margin-bottom: 40px;
}

.benefit__title {
	color: #1b1c2e;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: -0.3px;
	margin-bottom: 8px;
}

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

.benefit__list {
	display: flex;
	gap: 16px;
}

.benefit__list-item {
	display: flex;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.16px;
}

.benefit__list-text {
	max-width: 235px;
	color: #5f606d;
}

.benefits-actions {
	display: flex;
	justify-content: center;
}

.benefits-actions a {
	padding: 12px 24px;
	display: flex;
	gap: 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 30px; /* 150% */
	letter-spacing: -0.2px;
	margin: 0;
}

.benefits-actions .btn__icon {
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 100px;
}

.benefits-actions .btn__icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

/* REVIEWS */

#reviews {
	position: relative;
	padding: 150px 0;
	overflow: hidden;
}

#reviews .container {
	max-width: 1352px;
}

.reviews {
	display: flex;
	flex-direction: column;
}

#reviews .reviews__title {
	background: linear-gradient(78deg, #fff 25.94%, #2b2e5a 107.74%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 150px;
	font-weight: 800;
	line-height: 150px;
	letter-spacing: -6px;
	margin-bottom: 140px;
}

.reviews__stat {
	position: absolute;
	padding: 40px;
	border-radius: var(--radius-xl);
	background: rgba(224, 224, 222, 0.07);
	backdrop-filter: blur(8px);
}

.reviews__stat-1 {
	top: 5%;
	left: 7.9%;
}

.reviews__stat-2 {
	top: 31%;
	right: 48.8%;
}

.reviews__stat-3 {
	top: 20.2%;
	right: 13.2%;
}

.reviews__stat-number {
	font-size: 72px;
	font-weight: 800;
	line-height: 72px;
	letter-spacing: -1.08px;
	margin-bottom: 8px;
}

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

.reviews__list {
	position: relative;
	padding-bottom: 60px;
	width: 100%;
	overflow: hidden;
}

.reviews__list.swiper {
	width: calc((100vw - 100%) / 2 + 100% + 324px);
	overflow: hidden;
}

.reviews__list .swiper-wrapper {
	width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
	position: relative;
}

.reviews__list .swiper-slide {
	height: auto;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	flex-shrink: 0;
	display: flex;
}

.review {
	border-radius: var(--radius-xl);
	border: 1px solid rgba(255, 255, 255, 0.32);
	padding: 24px 24px 20px;
	font-size: 16px;
	line-height: 1.6;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.review__text {
	margin: 0 0 12px;
}

.review__author {
	margin: 0;
	font-size: 14px;
	color: var(--text-soft);
}

/* Swiper навигация для отзывов */

.reviews__list .swiper-pagination {
	text-align: left;
	position: relative;
	width: unset;
	top: 0;
}

.reviews__list .swiper__buttons {
	display: flex;
	align-items: center;
	margin-top: 24px;
	gap: 24px;
}

.reviews__list .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: rgba(255, 255, 255, 0.4);
	opacity: 1;
	transition: all 0.3s ease;
}

.reviews__list .swiper-pagination-bullet-active {
	background: #ffffff;
	width: 32px;
	border-radius: 6px;
}

.reviews__list .swiper-button-next,
.reviews__list .swiper-button-prev {
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	transition: all 0.3s ease;
	margin-top: 0;
}

.reviews__list .swiper-button-next:hover,
.reviews__list .swiper-button-prev:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
}

.reviews__list .swiper-button-next::after,
.reviews__list .swiper-button-prev::after {
	font-size: 8px;
	font-weight: 700;
}

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

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

.reviews__buttons {
	display: flex;
	align-items: center;
	gap: 24px;
}

/* TEAM */

#team {
	background-color: #ffffff;
}

#team .container {
	max-width: 1352px;
}

#team .section__text,
#team .section__header {
	max-width: 650px;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 64px;
}

.team-card {
	border-radius: var(--radius-xl);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.team-card__body {
	padding: 16px 24px 0;
}

.team-card__name {
	margin: 0 0 4px;
	font-size: 18px;
}

.team-card__role {
	margin: 0;
	font-size: 14px;
	color: var(--text-muted);
}

/* FORM */

.section--form {
	position: relative;
	height: 786px;
}

#contact {
	overflow: hidden;
}

#contact .container {
	max-width: 1352px;
}

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

.form-section__form-container {
	max-width: 596px;
	padding-right: 64px;
}

#contact .section__title {
	color: #1b1c2e;
	font-size: 56px;
	font-weight: 700;
	line-height: 56px;
	letter-spacing: -0.84px;
	margin-bottom: 16px;
}

#contact .section__text {
	color: #5f606d;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.16px;
	margin-bottom: 40px;
}

.form-section__image {
	width: 100%;
}

.form-section__image-container {
	position: absolute;
	bottom: 0%;
	left: calc(50%);
}

.form-section__image-container img {
	max-width: unset;
}

.form--large {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form__row {
	display: flex;
	gap: 16px;
}

.form__group {
	width: 100%;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.16px;
}

.form__group input,
.form__group textarea {
	font: inherit;
	width: 100%;
	padding: 16px;
	border-radius: 16px;
	border: 1px solid #d6d6d6;
	background: #ffffff;
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
	color: #b2b4c5;
}

.form__group input:focus,
.form__group textarea:focus {
	border-color: var(--text-main);
	box-shadow: 0 0 0 1px rgba(27, 28, 46, 0.25);
}

.form__group input.error,
.form__group textarea.error {
	border-color: #e51d21;
	box-shadow: 0 0 0 1px rgba(229, 29, 33, 0.25);
}

.form__error {
	display: none;
	margin-top: 4px;
	color: #e51d21;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
}

.form__error.show {
	display: block;
}

.form__group-checkbox.error .form__group-checkbox-icon {
	position: relative;
}

.form__group-checkbox.error .form__group-checkbox-icon::after {
	content: "";
	position: absolute;
	inset: -2px;
	border: 1px solid #e51d21;
	border-radius: 4px;
}

.form__group-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
}

.form__group-checkbox-icon {
	display: flex;
	cursor: pointer;
}

.form__note {
	color: #b3b3bc;
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: -0.1px;
}

/* FOOTER */

.footer {
	background: #ffffff;
	padding: 48px 0 32px;
}

.footer .container {
	max-width: 1352px;
}

.footer__contact-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.footer__logo-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

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

.footer__contact-item {
	display: flex;
	gap: 8px;
}

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

.footer__bottom-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	color: #1b1c2e;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.07px;
}

.footer__meta-container {
	opacity: 0.2;
}

.footer__meta-container a {
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

.footer__divider {
	height: 2px;
	width: 100%;
	background: #1b1c2e;
	margin: 48px 0;
	opacity: 0.1;
}

.footer__meta-divider {
	padding: 0 12px;
}

.footer__nav .footer__meta-divider {
	opacity: 0.2;
}

/* .footer__brand {
	max-width: 260px;
}

.logo--footer .logo__icon {
	background: #1b1c2e;
}

.footer__tagline {
	margin: 12px 0 0;
	font-size: 16px;
	font-weight: 600;
} */

.footer__nav {
	display: flex;
	flex-wrap: nowrap;
	color: #1b1c2e;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.08px;
}

.footer__link {
	color: var(--text-main);
	white-space: nowrap;
}

/* POLICY */

.policy {
	background-color: #ffffff;
	padding: 216px 0 184px;
}

.policy .container {
	max-width: 1352px;
}

.policy__title {
	color: #1b1c2e;
	font-size: 40px;
	font-weight: 700;
	line-height: 48px;
	letter-spacing: -0.6px;
	margin-bottom: 48px;
}

.policy__list {
	margin: 0;
}

.policy__subtitle-list {
	color: #1b1c2e;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: -0.16px;
}

.policy__text {
	color: #5f606d;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.16px;
}

.policy__content-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.policy__subtitle {
	color: #1b1c2e;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.18px;
	margin-bottom: 16px;
}

.policy__content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 970px;
}

/* MODAL */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.modal.active {
	display: flex;
}

.modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(27, 28, 46, 0.7);
	backdrop-filter: blur(4px);
}

.modal__content {
	position: relative;
	background: var(--bg-white);
	border-radius: var(--radius-lg);
	padding: 40px;
	max-width: 480px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	z-index: 1001;
	text-align: center;
	animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
	background: var(--bg-page);
	color: var(--text-main);
}

.modal__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
}

.modal__icon.success {
	background: #e8f5e9;
	color: #4caf50;
}

.modal__icon.success::before {
	content: "✓";
	font-weight: bold;
}

.modal__icon.error {
	background: #ffebee;
	color: #f44336;
}

.modal__icon.error::before {
	content: "✕";
	font-weight: bold;
}

.modal__title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--text-main);
}

.modal__message {
	font-size: 16px;
	line-height: 24px;
	color: var(--text-muted);
	margin: 0 0 24px;
}

.modal__button {
	margin-top: 8px;
}
