/* ==========================================================================
   Prosite theme — дизайн перенесён с Tilda (page72184545)
   Палитра: тёмный фон #181e27, карточки #202732, градиент #72dbb0 → #3297e1
   Шрифт: Manrope (свободная замена Gilroy)
   ========================================================================== */

:root {
	--bg: #181e27;
	--bg-card: #202732;
	--bg-card-2: #232326;
	--bg-light: #f7f7f7;
	--text: #ffffff;
	--text-muted: #afb0b1;
	--text-dark: #101010;
	--accent-green: #7de8ad;
	--accent-blue: #2a90ec;
	--gradient: linear-gradient(100deg, #72dbb0 0%, #3297e1 100%);
	--radius: 15px;
	--font: 'Manrope', 'Gilroy', Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	background-color: var(--bg);
	color: var(--text);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent-green);
	text-decoration: none;
}

a:hover {
	opacity: 0.85;
}

.container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 90px 0;
}

/* ---------- Заголовки секций ---------- */

.section-label {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 100px;
	background: var(--gradient);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 24px;
}

.section-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
	max-width: 800px;
}

.section-descr {
	color: var(--text-muted);
	font-size: 18px;
	max-width: 720px;
	margin: 0 0 48px;
}

/* ---------- Кнопки ---------- */

.btn {
	display: inline-block;
	padding: 16px 32px;
	border: 0;
	border-radius: 5px;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
	transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.btn--gradient {
	background: var(--gradient);
	color: #fff;
}

.btn--gradient:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.btn--outline {
	background: transparent;
	border: 1px solid var(--accent-green);
	color: var(--accent-green);
}

.btn--ghost {
	background: transparent;
	border: 1px solid #dddddd;
	color: var(--text-dark);
}

/* ---------- Шапка ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(24, 30, 39, 0.95);
	backdrop-filter: blur(8px);
	padding: 14px 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
}

.site-logo {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.site-logo__name {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.06em;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.site-logo__tag {
	font-size: 10px;
	color: var(--text-muted);
}

.main-navigation {
	margin-left: auto;
}

.main-menu {
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-menu a {
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
}

.main-menu a:hover {
	color: var(--accent-green);
}

.site-header__contacts {
	display: flex;
	gap: 10px;
}

.site-header__messenger img {
	display: block;
	width: 32px;
	height: 32px;
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}

.burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	transition: transform 0.2s, opacity 0.2s;
}

.burger.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
	opacity: 0;
}

.burger.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--bg);
	padding: 90px 24px 40px;
	transform: translateX(100%);
	transition: transform 0.25s ease-in-out;
	overflow-y: auto;
}

.mobile-menu.is-open {
	transform: translateX(0);
}

.mobile-menu__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.mobile-menu__list li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__list a {
	display: block;
	padding: 14px 0;
	color: var(--text);
	font-size: 18px;
	font-weight: 600;
}

.mobile-menu__contacts p {
	color: var(--text-muted);
}

.mobile-menu__socials {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
}

.mobile-menu__socials img {
	width: 36px;
	height: 36px;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	padding: 56px 0 80px;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -160px;
	right: -180px;
	width: 640px;
	height: 640px;
	background: radial-gradient(circle, rgba(50, 151, 225, 0.22) 0%, transparent 65%);
	pointer-events: none;
}

.hero__intro {
	max-width: 760px;
	position: relative;
	z-index: 1;
}

.hero__badge {
	display: inline-block;
	padding: 8px 20px;
	border: 1px solid rgba(125, 232, 173, 0.4);
	border-radius: 100px;
	color: var(--accent-green);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 24px;
}

.hero__title {
	font-size: 48px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 20px;
}

.hero__subtitle {
	font-size: 20px;
	color: var(--text-muted);
	margin: 0 0 32px;
	max-width: 560px;
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 220px));
	gap: 40px;
	margin: 56px 0 40px;
	position: relative;
	z-index: 1;
}

.hero-fact {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: none;
	padding: 0;
}

.hero-fact__icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	margin-top: 2px;
}

.hero-fact p {
	margin: 0;
	font-size: 16px;
	line-height: 1.35;
	color: #fff;
	font-weight: 500;
}

.hero-fact strong {
	color: #fff;
	font-weight: 700;
}

.hero__messengers {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	color: var(--text-muted);
	font-size: 14px;
}

.hero__messengers img {
	display: block;
	width: 36px;
	height: 36px;
}

.hero__offer {
	position: relative;
	background: #fff;
	border-radius: 20px;
	padding: 48px 40px 40px;
	min-height: 280px;
	overflow: hidden;
	z-index: 1;
}

.hero__offer-inner {
	position: relative;
	z-index: 2;
	max-width: 640px;
}

.hero__offer-title {
	margin: 0 0 28px;
	color: #101010;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.3;
}

.hero__offer-title strong {
	font-weight: 800;
}

.hero__offer-form {
	display: flex;
	align-items: stretch;
	gap: 16px;
	margin: 0;
	max-width: 620px;
}

.hero__offer-form .btn {
	width: auto;
	white-space: nowrap;
	border-radius: 12px;
	padding: 16px 28px;
	flex-shrink: 0;
}

.hero__offer .lead-form__note {
	color: #6b7280;
	margin-top: 16px;
	max-width: 420px;
}

.hero__offer .lead-form__note a {
	color: #3297e1;
}

.phone-field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
	background: #f3f4f6;
	border-radius: 12px;
	padding: 0 16px;
}

.phone-field__flag {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.phone-field__flag svg {
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.phone-field .lead-form__input {
	margin: 0;
	padding: 16px 4px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.phone-field .lead-form__input:focus {
	outline: none;
}

.hero__offer-media {
	position: absolute;
	right: -24px;
	top: 50%;
	transform: translateY(-42%);
	width: 46%;
	max-width: 460px;
	pointer-events: none;
	z-index: 1;
}

.hero__offer-media img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 30px rgba(16, 24, 40, 0.18));
}

/* ---------- Формы ---------- */

.lead-form__input {
	width: 100%;
	padding: 16px 20px;
	border: 1px solid #dddddd;
	border-radius: 5px;
	font-family: var(--font);
	font-size: 15px;
	background: #fff;
	color: var(--text-dark);
	margin-bottom: 14px;
}

.lead-form__input:focus {
	outline: 2px solid var(--accent-blue);
}

.lead-form__btn {
	width: 100%;
}

.lead-form__note {
	font-size: 11px;
	color: var(--text-muted);
	margin: 12px 0 0;
}

.lead-form__note a {
	color: var(--text-muted);
	text-decoration: underline;
}

.hero__form {
	max-width: 560px;
}

/* ---------- Услуги ---------- */

.services__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 36px;
}

h2.section-title.services__title {
	font-size: 52px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	max-width: 860px;
	background: linear-gradient(100deg, #7de8c8 0%, #8fd4ff 45%, #ffffff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services__lead {
	margin: 18px 0 0;
	max-width: 760px;
	color: #fff;
	font-size: 18px;
	line-height: 1.45;
}

.btn--pill {
	flex-shrink: 0;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: #fff;
	padding: 12px 22px;
}

.services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	overflow: hidden;
}

.service-card {
	background: transparent;
	border-radius: 0;
	padding: 28px 32px;
	display: grid;
	grid-template-columns: 240px 78px 1fr;
	gap: 28px;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
}

.service-card:not(.service-card--shot) {
	grid-template-columns: 1fr;
}

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

.services__grid.is-expanded .service-card--extra {
	display: grid;
}

.service-card__shot {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-card__shot img {
	display: block;
	width: 100%;
	height: auto;
}

.service-card__body {
	min-width: 0;
}

.service-card__title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 14px;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}

.service-card__text {
	color: #d7d8da;
	font-size: 16px;
	margin: 0 0 16px;
	line-height: 1.45;
}

.service-card__price {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
}

.service-card__logos--stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.service-card__logos img {
	width: 58px;
	height: 58px;
	padding: 13px;
	box-sizing: border-box;
	object-fit: contain;
	border-radius: 50%;
	background: #e8edf2;
}

.service-card__logos img.is-round {
	padding: 0;
	object-fit: cover;
}

.services__more {
	text-align: center;
	margin-top: 40px;
}

/* ---------- CRM-баннер ---------- */

.crm-banner {
	padding: 0 0 40px;
}

.crm-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: var(--bg-card);
	border-radius: var(--radius);
	padding: 36px 48px;
	border: 1px solid rgba(125, 232, 173, 0.25);
}

.crm-banner__text strong {
	font-size: 24px;
	font-weight: 800;
}

.crm-banner__text p {
	margin: 6px 0 0;
	color: var(--text-muted);
}

/* ---------- Кейсы ---------- */

.cases__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.case-card {
	background: #fff;
	color: var(--text-dark);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.case-card__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #101010;
}

.case-card__text {
	color: #555;
	font-size: 14px;
	margin: 0;
}

.case-card__imgwrap {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #fff;
}

.case-card__imgwrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease-in-out;
}

.case-card:hover .case-card__imgwrap img {
	transform: scale(1.04);
}

.case-card__body {
	padding: 22px;
}

/* ---------- Результаты (лента кейсов) ---------- */

.results__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.result-card {
	background: #fff;
	color: var(--text-dark);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.result-card__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.35;
	color: #101010;
}

.result-card__text {
	color: #555;
	font-size: 14px;
	margin: 0 0 16px;
	flex-grow: 1;
}

.result-card__imgwrap {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.result-card__imgwrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.result-card__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.result-card__tags {
	font-size: 11px;
	letter-spacing: 0.05em;
	color: var(--accent-blue);
	font-weight: 700;
	margin-bottom: 10px;
}

.result-card__date {
	font-size: 12px;
	color: var(--text-muted);
}

/* ---------- Аудит / Консультация ---------- */

.audit__grid,
.consult__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 64px;
	align-items: center;
}

.audit__steps {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
}

.audit__steps li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
	color: var(--text-muted);
	font-size: 16px;
}

.audit__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--gradient);
	color: #fff;
	font-weight: 700;
}

.audit__form,
.consult__form {
	background: var(--bg-light);
	border-radius: var(--radius);
	padding: 36px;
}

.audit__form .lead-form__note,
.consult__form .lead-form__note {
	color: #777;
}

.audit__form .lead-form__note a,
.consult__form .lead-form__note a {
	color: #777;
}

.consult__mail {
	color: var(--text);
	font-weight: 600;
}

/* ---------- Квиз ---------- */

.quiz__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.quiz__aside {
	background: var(--bg-card);
	border-radius: var(--radius);
	padding: 36px;
}

.quiz__director {
	display: flex;
	gap: 18px;
	align-items: center;
	margin-bottom: 20px;
}

.quiz__director-photo {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
}

.quiz__director-name {
	font-size: 18px;
	font-weight: 700;
}

.quiz__director-role {
	color: var(--text-muted);
	font-size: 13px;
}

.quiz__online {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--accent-green);
	margin-top: 4px;
}

.quiz__online-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3ac25a;
}

.quiz__aside p {
	color: var(--text-muted);
	font-size: 15px;
}

.quiz__gifts {
	display: grid;
	gap: 12px;
	margin: 20px 0;
}

.quiz__gift {
	border: 1px dashed rgba(125, 232, 173, 0.5);
	border-radius: 10px;
	padding: 14px 18px;
	font-size: 14px;
	color: var(--accent-green);
	font-weight: 600;
}

.quiz__messengers {
	display: flex;
	gap: 12px;
}

.quiz__messengers img {
	width: 36px;
	height: 36px;
}

.quiz__form {
	background: var(--bg-light);
	color: var(--text-dark);
	border-radius: var(--radius);
	padding: 36px;
}

.quiz__progress {
	margin-bottom: 20px;
	font-size: 13px;
	color: #777;
}

.quiz__step {
	display: none;
	border: 0;
	margin: 0;
	padding: 0;
}

.quiz__step.is-active {
	display: block;
}

.quiz__step legend {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 18px;
	padding: 0;
}

.quiz__radio {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #e5e4e4;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 10px;
	cursor: pointer;
	font-size: 15px;
	transition: border-color 0.15s;
}

.quiz__radio:hover {
	border-color: var(--accent-blue);
}

.quiz__radio input {
	accent-color: var(--accent-blue);
}

.quiz__final-title {
	font-size: 17px;
	font-weight: 700;
	margin: 24px 0 6px;
}

.quiz__nav {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.quiz__prev {
	flex-shrink: 0;
}

.quiz__next {
	flex-grow: 1;
}

.quiz__submit {
	display: none;
	flex-grow: 1;
}

.quiz__form.is-last .quiz__next {
	display: none;
}

.quiz__form.is-last .quiz__submit {
	display: inline-block;
}

.quiz__form.is-first .quiz__prev {
	visibility: hidden;
}

.quiz__agree {
	display: block;
	margin-top: 16px;
	font-size: 12px;
	color: #777;
}

.quiz__agree a {
	color: #777;
	text-decoration: underline;
}

/* ---------- Преимущества ---------- */

.advantages__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.adv-card {
	background: var(--bg-card);
	border-radius: var(--radius);
	padding: 32px;
}

.adv-card__icon {
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
}

.adv-card__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px;
}

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

/* ---------- Клиенты ---------- */

.clients__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.clients__item {
	background: #fff;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	aspect-ratio: 3 / 2;
}

.clients__item img {
	max-width: 100%;
	max-height: 64px;
	object-fit: contain;
}

/* ---------- Команда ---------- */

.team__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.team-card__imgwrap {
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	margin-bottom: 14px;
	background: var(--bg-card);
}

.team-card__imgwrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-card__name {
	font-size: 17px;
	font-weight: 700;
}

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

/* ---------- FAQ ---------- */

.faq__list {
	max-width: 860px;
}

.faq__item {
	background: var(--bg-card);
	border-radius: var(--radius);
	margin-bottom: 12px;
	overflow: hidden;
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	background: none;
	border: 0;
	padding: 22px 28px;
	font-family: var(--font);
	font-size: 17px;
	font-weight: 600;
	color: var(--text);
	text-align: left;
	cursor: pointer;
}

.faq__icon {
	position: relative;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--accent-green);
	transition: transform 0.2s;
}

.faq__icon::before {
	width: 16px;
	height: 2px;
	transform: translate(-50%, -50%);
}

.faq__icon::after {
	width: 2px;
	height: 16px;
	transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon::after {
	transform: translate(-50%, -50%) scaleY(0);
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-in-out;
}

.faq__answer p {
	margin: 0;
	padding: 0 28px 22px;
	color: var(--text-muted);
	font-size: 15px;
}

/* ---------- Подвал ---------- */

.site-footer {
	background: #141922;
	padding: 64px 0 0;
	margin-top: 40px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
}

.site-footer__online {
	color: var(--text-muted);
	font-size: 14px;
	margin: 20px 0 12px;
}

.site-footer__socials {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
}

.site-footer__socials img {
	width: 32px;
	height: 32px;
}

.site-footer__cta {
	font-size: 14px;
	padding: 12px 24px;
}

.site-footer__coltitle {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 16px;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	margin-bottom: 8px;
}

.footer-menu a {
	color: var(--text-muted);
	font-size: 14px;
}

.footer-menu a:hover {
	color: var(--accent-green);
}

.site-footer__linklike {
	display: block;
	background: none;
	border: 0;
	padding: 0;
	margin: 14px 0 0;
	color: var(--text-muted);
	font-family: var(--font);
	font-size: 14px;
	text-align: left;
	cursor: pointer;
	text-decoration: underline;
}

.site-footer__linklike:hover {
	color: var(--accent-green);
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 20px;
	padding-bottom: 20px;
	color: var(--text-muted);
	font-size: 12px;
}

/* ---------- Модалки ---------- */

.modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.modal.is-open {
	display: flex;
}

.modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.modal__box {
	position: relative;
	background: #fbfbf9;
	color: var(--text-dark);
	border-radius: var(--radius);
	max-width: 640px;
	max-height: 80vh;
	overflow-y: auto;
	padding: 40px;
}

.modal__box h3 {
	margin-top: 0;
}

.modal__box--offer {
	max-width: 460px;
	padding: 48px 40px 36px;
	text-align: center;
	border-radius: 8px;
}

.modal__box--offer h3 {
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 14px;
}

.modal__box--offer p {
	margin: 0 0 22px;
	color: #444;
	font-size: 16px;
}

.offer-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.offer-form .lead-form__input {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	padding: 14px 16px;
	font-size: 16px;
	color: #111;
}

.offer-form .btn {
	width: 100%;
	border: 0;
	border-radius: 7px;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 500;
}

.offer-form__agree {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #666;
}

.offer-form__agree a {
	color: #3d8bfd;
}

.modal__close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: 0;
	font-size: 28px;
	cursor: pointer;
	color: #555;
}

/* ---------- Cookie ---------- */

.cookie {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 250;
	max-width: 380px;
	background: var(--bg-card);
	border-radius: var(--radius);
	padding: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cookie p {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--text-muted);
}

.cookie__btn {
	padding: 10px 24px;
	font-size: 13px;
}

/* ---------- Адаптив ---------- */

@media screen and (max-width: 1199px) {
	.section-title {
		font-size: 34px;
	}

	.hero__title {
		font-size: 38px;
	}

	.main-menu {
		gap: 16px;
	}

	.main-menu a {
		font-size: 13px;
	}
}

@media screen and (max-width: 959px) {
	.main-navigation,
	.site-header__contacts {
		display: none;
	}

	.burger {
		display: flex;
		margin-left: auto;
	}

	.audit__grid,
	.consult__grid,
	.quiz__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero__offer {
		padding: 36px 28px 28px;
	}

	.hero__offer-media {
		width: 38%;
		right: -40px;
	}

	.hero__offer-form {
		flex-direction: column;
	}

	.hero__offer-form .btn {
		width: 100%;
	}

	.hero__facts,
	.cases__grid,
	.results__grid,
	.advantages__grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.service-card {
		grid-template-columns: 1fr;
	}

	h2.section-title.services__title,
	.services__title {
		font-size: 34px;
	}

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

	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.crm-banner__inner {
		flex-direction: column;
		text-align: center;
	}
}

@media screen and (max-width: 639px) {
	.section {
		padding: 56px 0;
	}

	.section-title {
		font-size: 26px;
	}

	.hero {
		padding-top: 40px;
	}

	.hero__title {
		font-size: 28px;
	}

	.hero__subtitle {
		font-size: 16px;
	}

	.hero__offer-title {
		font-size: 20px;
	}

	.hero__offer-media {
		position: relative;
		right: auto;
		top: auto;
		transform: none;
		width: 80%;
		max-width: 280px;
		margin: 24px auto -12px;
	}

	.hero__facts {
		margin: 32px 0 28px;
		gap: 20px;
	}

	.hero__facts,
	.cases__grid,
	.results__grid,
	.advantages__grid,
	.team__grid {
		grid-template-columns: 1fr;
	}

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

	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.quiz__nav {
		flex-direction: column;
	}

	.modal__box {
		padding: 28px 20px;
	}
}

/* ---------- Внутренние страницы ---------- */

a.case-card,
a.result-card {
	text-decoration: none;
	color: inherit;
}

a.case-card:hover,
a.result-card:hover {
	opacity: 1;
	transform: translateY(-2px);
	transition: transform 0.2s ease;
}

.entry-page,
.archive-page {
	padding: 40px 0 80px;
}

.entry__back {
	display: inline-block;
	margin-bottom: 24px;
	color: var(--accent-green);
	font-size: 14px;
	font-weight: 600;
}

.entry__tags {
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--accent-blue);
	font-weight: 700;
	margin-bottom: 12px;
}

.entry__title {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 24px;
	max-width: 860px;
}

.entry__site {
	color: var(--text-muted);
	margin: 0 0 24px;
}

.entry__cover {
	margin: 0 0 36px;
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}

.entry__cover img {
	display: block;
	width: 100%;
	max-height: 420px;
	object-fit: cover;
}

.entry__content {
	max-width: 760px;
	font-size: 17px;
	line-height: 1.65;
	color: #d7d8da;
}

.entry__content h2 {
	color: #fff;
	font-size: 26px;
	margin: 36px 0 16px;
}

.entry__content ul,
.entry__content ol {
	padding-left: 20px;
}

.entry__content li {
	margin-bottom: 8px;
}

.entry__cta {
	margin-top: 48px;
	padding: 32px;
	background: var(--bg-card);
	border-radius: var(--radius);
	max-width: 760px;
}

.entry__cta p {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
}

.entry-page--light {
	background: #fff;
	color: #111;
	margin-top: 0;
}

.entry-page--light .entry__narrow {
	max-width: 760px;
}

.entry-page--light .entry__back {
	color: #111;
	font-weight: 500;
}

.entry-page--light .entry__title {
	color: #111;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 12px;
}

.entry-page--light .entry__site {
	color: #111;
}

.entry-page--light .entry__site a {
	color: #e31b23;
}

.entry-page--light .entry__cover--shot {
	background: transparent;
	margin-bottom: 20px;
}

.entry-page--light .entry__cover--shot img {
	max-height: none;
	width: auto;
	max-width: 100%;
}

.entry-page--light .entry__content {
	color: #222;
	max-width: none;
	font-size: 16px;
}

.entry-page--light .entry__content h2,
.entry-page--light .entry__content strong {
	color: #111;
	font-size: 18px;
	margin: 22px 0 8px;
	display: block;
}

.entry-page--light .entry__content a {
	color: #e31b23;
}

.entry-page--light .entry__content ul {
	margin: 0 0 8px;
}

.entry-page--case .entry__narrow {
	max-width: 760px;
}

.entry-page--case .entry__title {
	text-align: center;
	font-size: 32px;
	margin-top: 8px;
}

.entry-page--case .entry__tags {
	text-align: center;
	color: #9a9a9a;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 28px;
}

.entry-page--case .entry__cover--full {
	margin-bottom: 28px;
}

.entry-page--case .entry__cover--full img,
.entry-page--case .entry__content img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	display: block;
}

.entry-page--case .entry__content strong {
	display: inline;
	font-size: inherit;
	margin: 0;
}

.entry-page--case .entry__content h2 {
	display: block;
	font-size: 26px;
	font-weight: 700;
	margin: 28px 0 12px;
}

.entry-page--case .entry__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 28px;
}

.entry-page--case .entry__content td {
	border: 1px solid #e4e4e4;
	padding: 12px 14px;
	vertical-align: top;
	width: 50%;
}

.entry-page--case .entry__content blockquote {
	margin: 16px 0;
	padding-left: 16px;
	border-left: 3px solid #d0d0d0;
	color: #333;
}

.entry-page--case .entry__cta {
	background: transparent;
	padding: 8px 0 0;
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.blog-card {
	background: #fff;
	color: #111;
	border-radius: 16px;
	overflow: hidden;
}

.blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.blog-card__img img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.blog-card__body {
	padding: 22px 24px 26px;
}

.blog-card__date,
.entry__date {
	display: block;
	color: #8a8a8a;
	font-size: 13px;
	margin-bottom: 8px;
}

.blog-card__title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.3;
	color: #111;
}

.blog-card__text {
	margin: 0;
	color: #444;
	font-size: 15px;
}

.blog__empty {
	max-width: 640px;
	font-size: 18px;
}

.blog__pager {
	margin-top: 36px;
}

.blog__pager .nav-links {
	display: flex;
	gap: 8px;
}

.blog__pager a,
.blog__pager span {
	display: inline-flex;
	min-width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
}

.entry-page--case .entry__date {
	text-align: center;
	margin-top: -8px;
	margin-bottom: 24px;
}

@media screen and (max-width: 959px) {
	.blog__grid {
		grid-template-columns: 1fr;
	}
}

.product {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 36px;
	align-items: start;
}

.product__gallery img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 18px;
	border-radius: 16px;
}

.product__side {
	position: sticky;
	top: 96px;
}

.product__order {
	display: inline-block;
	margin: 4px 0 18px;
	border: 0;
	border-radius: 8px;
	padding: 14px 28px;
}

.entry-page--product .entry__title {
	font-size: 34px;
	margin-bottom: 16px;
}

@media screen and (max-width: 959px) {
	.product {
		grid-template-columns: 1fr;
	}

	.product__side {
		position: static;
	}
}
