/*
 * Фирменные цвета — как docxtemplate/static/css/variables.css
 * Зелёный основной, оранжевый акцент, тёплые секции.
 */
:root {
	--primary-color: #2D5A27;
	--secondary-color: #2D5A27;
	/* Единый тёмно-оранжевый акцент (hue ~28°, без ухода в красный): кнопки = бейджи = ghost */
	--accent-color: #ae5008;
	--accent-color-dark: #7a3a06;
	--accent-color-light: #d97820;
	--btn-solid-bg: #ae5008;
	--btn-solid-border: #904207;
	--btn-solid-hover: #904207;
	--text-light: #ffffff;
	--text-dark: #333333;
	--success-color: #ae5008;
	--warning-color: #d97820;
	--danger-color: #dc3545;
	--info-color: #2D5A27;
	--section-color: rgba(174, 80, 8, 0.14);

	/* Семантика лендинга (маппинг на фирменные) */
	--background: #f7faf6;
	--foreground: var(--text-dark);
	--card: #ffffff;
	--card-border: rgba(45, 90, 39, 0.45);
	--muted: #5c6b58;
	--primary-hover: #2D5A27;
	--radius: 10px;
	--shadow: 0 1px 3px rgba(45, 90, 39, 0.1);
	--shadow-md: 0 10px 28px rgba(45, 90, 39, 0.18);
	--transition: 0.2s ease;
}
/*
--primary-color: #2d5a27;
--secondary-color: #2d5a27;
--accent-color: #ffa500;
--accent-color-dark: #cc8400;
--accent-color-light: #ffbb33;
--success-color: #57a728;
--warning-color: #ffc107;
--info-color: #ffbb33;
--section-color: rgba(255, 213, 128, 0.3);
--card-border: #c5d9c1;
--primary-hover: #244922;
*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	color: var(--foreground);
	background: var(--background);
}

::-webkit-scrollbar {
	width: 6px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: #a8c4a3;
	border-radius: 3px;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.surface-card {
	background: var(--card);
	border: 2px solid var(--primary-color);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* ——— Header ——— */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--card-border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
}

.logo-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

/* Компактная отрисовка: высота как у старого круга, ширина по пропорции, потолок по ширине */
.logo-mark {
	display: block;
	height: auto;
	max-height: 40px;
	width: auto;
	max-width: 100px;
	object-fit: contain;
	object-position: left center;
	flex-shrink: 0;
}

.logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	min-width: 0;
}

.logo-title {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--foreground);
}

.logo-tagline {
	font-size: 0.68rem;
	color: var(--muted);
	font-weight: 500;
}

.site-nav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 8px 20px;
	align-items: center;
	justify-content: flex-end;
}

.site-nav a {
	text-decoration: none;
	color: var(--foreground);
	font-weight: 500;
	font-size: 0.9rem;
	transition: color var(--transition);
}

.site-nav a:hover {
	color: var(--primary-color);
}

@media (min-width: 769px) {
	.header-inner {
		flex-wrap: nowrap;
	}

	.site-nav {
		flex: 1 1 auto;
		min-width: 0;
	}

	.site-nav ul {
		flex-wrap: nowrap;
		gap: 8px 14px;
	}

	.site-nav a {
		white-space: nowrap;
		font-size: 0.86rem;
	}

	.btn--header-max {
		padding: 10px 12px;
	}

	.btn--header-login {
		padding: 10px 14px;
	}
}

/* Раннее переключение шапки в burger-режим, чтобы не было наложения логотипа и пунктов меню */
@media (max-width: 1100px) {
	.mobile-menu-btn {
		display: block;
	}

	.site-nav {
		display: none;
		width: 100%;
		order: 3;
	}

	.site-nav.active {
		display: block;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.header-inner .logo-brand {
		order: 0;
	}

	.header-inner .btn--header-login {
		order: 1;
		margin-left: 0;
	}

	.header-inner .btn--header-max {
		order: 1;
		margin-left: auto;
	}

	.header-inner .mobile-menu-btn {
		order: 2;
		margin-left: 8px;
	}

	.header-inner .site-nav {
		flex: 1 1 100%;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
		padding: 16px 0;
		border-top: 1px solid var(--card-border);
	}

	.site-nav a {
		display: block;
		padding: 10px 0;
	}
}

/* Кнопка «Войти» — оранжевая; не путать с текстовыми ссылками .site-nav a */
.btn--header-login {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--text-light);
	background: var(--btn-solid-bg);
	border: 1px solid var(--btn-solid-border);
	border-radius: var(--radius);
	transition: background var(--transition), border-color var(--transition), transform var(--transition);
	flex-shrink: 0;
}

.btn--header-login:hover {
	border-color: var(--btn-solid-hover);
	background: var(--btn-solid-hover);
	color: var(--text-light);
	transform: translateY(-1px);
}

.btn--header-max {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--text-light);
	background: var(--btn-solid-bg);
	border: 1px solid var(--btn-solid-border);
	border-radius: var(--radius);
	transition: background var(--transition), border-color var(--transition), transform var(--transition);
	flex-shrink: 0;
}

.btn--header-max:hover {
	background: var(--btn-solid-hover);
	border-color: var(--btn-solid-hover);
	color: var(--text-light);
	transform: translateY(-1px);
}

.mobile-menu-btn {
	display: none;
	background: var(--btn-solid-bg);
	border: 1px solid var(--btn-solid-border);
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 1.25rem;
	cursor: pointer;
	color: var(--text-light);
}

/* ——— Hero ——— */
.hero--landing {
	padding: 72px 0 88px;
	background: linear-gradient(180deg, var(--background) 0%, var(--section-color) 55%, #eef5ec 100%);
	border-bottom: 1px solid var(--card-border);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 48px;
	align-items: center;
}

.hero--text-only .hero-grid {
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
}

.hero--text-only .hero-copy {
	max-width: min(1100px, 100%);
}

.hero--text-only .hero-pills,
.hero--text-only .hero-actions {
	justify-content: center;
}

.hero-copy {
	max-width: 540px;
}

.eyebrow {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-bottom: 12px;
}

.eyebrow--pill {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--section-color);
	border: 1px solid var(--accent-color-light);
	color: var(--primary-color);
	text-transform: none;
	letter-spacing: 0.02em;
	font-size: 0.75rem;
	font-weight: 600;
}

.eyebrow--danger {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #991b1b;
}

.hero-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	justify-content: flex-start;
}

.pill {
	font-size: 0.75rem;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--card-border);
	color: var(--primary-color);
}

.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.me-2 { margin-right: 0.5rem; }

.hero-copy h1 {
	font-size: clamp(1.85rem, 4vw, 2.65rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--foreground);
	margin-bottom: 16px;
}

.hero-title-balanced {
	text-wrap: balance;
	max-width: min(1040px, 100%);
	margin-left: auto;
	margin-right: auto;
}

.hero-title-balanced span {
	display: block;
	width: 100%;
	text-align: center;
}

.hero-lead {
	font-size: 1.05rem;
	color: var(--muted);
	line-height: 1.65;
	margin-bottom: 28px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-counter {
	margin-top: 14px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--primary-color);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
	cursor: pointer;
	border: 1px solid transparent;
}

.btn--primary {
	background: var(--btn-solid-bg);
	color: var(--text-light);
	border-color: var(--btn-solid-border);
	box-shadow: 0 2px 8px rgba(174, 80, 8, 0.38);
}

.btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(144, 66, 7, 0.45);
	background: var(--btn-solid-hover);
	color: var(--text-light);
	border-color: var(--btn-solid-hover);
}

.btn--secondary {
	background: var(--btn-solid-bg);
	color: var(--text-light);
	border-color: var(--btn-solid-border);
}

.btn--secondary:hover {
	background: var(--btn-solid-hover);
	color: var(--text-light);
	border-color: var(--btn-solid-hover);
	transform: translateY(-1px);
}

.btn--success {
	background: var(--btn-solid-bg);
	color: var(--text-light);
	border-color: var(--btn-solid-border);
	box-shadow: var(--shadow);
}

.btn--success:hover {
	background: var(--btn-solid-hover);
	color: var(--text-light);
	border-color: var(--btn-solid-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn--info {
	background: var(--btn-solid-bg);
	color: var(--text-light);
	border-color: var(--btn-solid-border);
	box-shadow: var(--shadow);
}

.btn--info:hover {
	background: var(--btn-solid-hover);
	color: var(--text-light);
	border-color: var(--btn-solid-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn--ghost {
	background: transparent;
	color: var(--accent-color-dark);
	border: 2px solid var(--accent-color);
}

.btn--ghost:hover {
	background: var(--btn-solid-bg);
	color: var(--text-light);
	border-color: var(--btn-solid-border);
}

.btn--block {
	width: min(100%, 340px);
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.btn--accent {
	background: var(--btn-solid-bg);
	color: var(--text-light) !important;
	border: 2px solid var(--btn-solid-border);
}

.btn--accent:hover {
	background: var(--btn-solid-hover);
	color: var(--text-light) !important;
	border-color: var(--btn-solid-hover);
}

.btn--on-dark {
	background: var(--btn-solid-bg);
	color: var(--text-light) !important;
	border: 2px solid var(--btn-solid-border);
}

.btn--on-dark:hover {
	background: var(--btn-solid-hover);
	color: var(--text-light) !important;
}

.hero-visual {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-mockup-frame {
	width: 100%;
	max-width: 520px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--card-border);
	box-shadow: var(--shadow-md);
	background: var(--card);
}

.hero-mockup-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

/* ——— Блоки лендинга (как i.png, цвета MVP_OT) ——— */
.solutions-two {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.solutions-two--single {
	grid-template-columns: minmax(0, 1fr);
	justify-content: center;
}

.solutions-two--single .solution-card {
	width: 100%;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

.solution-card {
	padding: 28px;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
}

/* Ровный ритм карточек на десктопе */
@media (min-width: 961px) {
	.solution-card {
		min-height: 380px;
	}

	.team-card {
		min-height: 340px;
	}

	.why-card,
	.result-card {
		min-height: 360px;
	}

	.faq-col .faq-item {
		min-height: 86px;
	}

	.cta-final {
		min-height: 340px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

/* Кнопки CTA в одном ряду по нижнему краю карточек (высота ряда grid — по самой высокой) */
.solution-card > a.btn {
	margin-top: auto;
	align-self: stretch;
}

.solution-card--emphasis {
	border-width: 2px;
	border-color: var(--primary-color);
	box-shadow: var(--shadow-md);
	text-align: center;
	align-items: center;
}

.solution-card--emphasis .solution-badge {
	align-self: center;
}

.solution-card--emphasis .solution-lead {
	max-width: 760px;
}

.solution-card--emphasis .checklist {
	display: grid;
	justify-content: center;
}

.solution-card--emphasis .checklist li {
	justify-content: flex-start;
	text-align: left;
}

.solution-badge {
	display: inline-block;
	align-self: flex-start;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 2px;
}

.solution-badge--start {
	background: rgba(45, 90, 39, 0.1);
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.solution-badge--care {
	background: var(--section-color);
	color: var(--primary-color);
	border: 1px solid var(--card-border);
}

.solution-badge--docs {
	background: var(--btn-solid-bg);
	color: var(--text-light);
	border: 1px solid var(--btn-solid-border);
}

.solution-card h3 {
	font-size: 1.2rem;
	color: var(--foreground);
}

.section-block--danger {
	background: linear-gradient(180deg, var(--background) 0%, var(--section-color) 55%, #eef5ec 100%);
}

.section-title--left {
	text-align: center;
	margin-bottom: 16px;
}

.pain-list {
	list-style: none;
	padding: 22px;
	border-radius: 18px;
	border: 2px solid var(--primary-color);
}

.pain-list li {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	color: #1f2937;
	text-align: left;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.pain-list li:last-child {
	margin-bottom: 0;
}

.pain-list i {
	color: #b91c1c;
	margin-top: 3px;
}

.segment-switch {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 10px;
	max-width: 1040px;
	margin: 0 auto 16px;
}

.segment-tab {
	border: 2px solid var(--primary-color);
	background: #fff;
	color: var(--foreground);
	padding: 10px 12px;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	min-height: 44px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.25;
}

.segment-tab.is-active {
	background: var(--primary-color);
	border-color: var(--primary-hover);
	color: var(--text-light);
}

.segment-panel {
	display: none;
	padding: 24px;
	text-align: center;
	animation: segment-fade 0.25s ease;
}

.segment-panel.is-active {
	display: block;
}

@keyframes segment-fade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.segment-panel h3 {
	margin-bottom: 8px;
	font-size: 1.2rem;
}

.segment-panel p {
	color: var(--muted);
	margin-bottom: 10px;
}

.segment-panel ul {
	margin: 0 auto 14px;
	max-width: 640px;
	color: var(--foreground);
	text-align: left;
	padding-left: 18px;
}

.segment-panel .btn {
	margin-left: auto;
	margin-right: auto;
	width: min(100%, 340px);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.team-card {
	padding: 0 20px 20px;
	border-radius: 18px;
	text-align: center;
}

.team-bar {
	height: 8px;
	margin: 0 -20px 14px;
	border-radius: 18px 18px 0 0;
}

.team-bar--orange {
	background: var(--accent-color-light);
}

.team-bar--green {
	background: #16a34a;
}

.team-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
	background: #4b5563;
	margin-bottom: 12px;
}

.team-card h3 {
	font-size: 1.12rem;
	margin-bottom: 2px;
}

.team-role {
	font-size: 0.9rem;
	color: var(--muted);
	margin-bottom: 10px;
}

.team-card ul {
	margin: 0 auto;
	max-width: 520px;
	text-align: left;
	padding-left: 18px;
}

.team-synergy {
	margin-top: 16px;
	padding: 16px 20px;
	text-align: center;
	background: var(--card);
	border-color: var(--primary-color);
}

.compare-table-wrap {
	overflow-x: auto;
	border-radius: 18px;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
}

.compare-table th,
.compare-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--card-border);
	text-align: left;
}

.compare-table th {
	background: var(--card);
	font-size: 0.9rem;
}

.compare-row-risk td {
	color: #b91c1c;
	font-weight: 600;
}

.compare-row-own td {
	background: var(--card);
	font-weight: 700;
}

.footer-max-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--text-dark);
	text-decoration: none;
}

.footer-max-link:hover {
	text-decoration: underline;
}

.cta-final-max {
	margin-top: 10px;
}

@media (max-width: 1200px) {
	.solutions-two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.solution-card,
	.team-card,
	.why-card,
	.result-card,
	.faq-col .faq-item,
	.cta-final {
		min-height: 0;
	}
}

.solution-lead {
	color: var(--muted);
	font-size: 0.95rem;
}

.checklist {
	list-style: none;
	margin: 8px 0 16px;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 0.95rem;
	color: var(--foreground);
}

.checklist li i {
	color: var(--success-color);
	margin-top: 3px;
}

.checklist--muted li {
	color: var(--muted);
}

.checklist--compact {
	margin-bottom: 0;
}

.steps-row {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.step-card {
	flex: 1;
	min-width: 200px;
	padding: 24px;
	border-radius: 18px;
	text-align: center;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--accent-color);
	color: var(--text-light);
	border: 1px solid var(--accent-color-dark);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 14px;
}

.step-card h3 {
	font-size: 1.05rem;
	color: var(--foreground);
	margin-bottom: 8px;
}

.step-card p {
	font-size: 0.9rem;
	color: var(--muted);
}

.step-arrow {
	display: flex;
	align-items: center;
	color: var(--muted);
	font-size: 1.25rem;
	padding: 0 4px;
}

.why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.why-card,
.result-card {
	padding: 28px;
	border-radius: 18px;
	text-align: center;
}

.h2-inline {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--foreground);
	margin-bottom: 16px;
}

.risk-list {
	list-style: none;
	margin-bottom: 16px;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.risk-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--foreground);
	font-size: 0.95rem;
}

.risk-list i {
	color: var(--muted);
	margin-top: 3px;
}

.text-link {
	color: var(--foreground);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border-bottom: 1px solid var(--card-border);
}

.text-link:hover {
	border-bottom-color: var(--accent-color);
	color: var(--primary-color);
}

.result-stats {
	list-style: none;
	margin-bottom: 20px;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.result-stats li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--card-border);
	font-size: 0.9rem;
	color: var(--muted);
}

.result-stats li:last-child {
	border-bottom: none;
}

.result-stats strong {
	color: var(--foreground);
}

.result-card {
	background: linear-gradient(180deg, var(--card) 0%, var(--background) 100%);
}

.pricing-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}

.pricing-card {
	padding: 26px;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pricing-card--center {
	text-align: center;
}

.price-tag {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-color);
	margin: 8px 0;
}

.muted {
	color: var(--muted);
}

.small {
	font-size: 0.85rem;
}

.trust-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 28px;
	justify-content: center;
	align-items: center;
	padding: 24px 28px;
	border-radius: 18px;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.88rem;
	color: var(--muted);
	max-width: 260px;
}

.trust-item i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	font-size: 1.2rem;
	line-height: 1;
	color: var(--success-color);
	background: rgba(87, 167, 40, 0.12);
	border: 1px solid rgba(87, 167, 40, 0.2);
}

/* Лёгкий сдвиг оттенка — силуэты заметнее не сливаются в «одну зелёную точку» */
.trust-item:nth-child(1) i {
	color: #2d5a27;
	background: rgba(45, 90, 39, 0.1);
	border-color: rgba(45, 90, 39, 0.18);
}

.trust-item:nth-child(2) i {
	color: var(--btn-solid-bg);
	background: rgba(251, 191, 36, 0.2);
	border-color: rgba(174, 80, 8, 0.22);
}

.trust-item:nth-child(3) i {
	color: var(--primary-color);
	background: var(--section-color);
	border-color: var(--card-border);
}

.trust-item:nth-child(4) i {
	color: #6d28d9;
	background: rgba(139, 92, 246, 0.12);
	border-color: rgba(109, 40, 217, 0.2);
}

.trust-item:nth-child(5) i {
	color: #0f766e;
	background: rgba(20, 184, 166, 0.14);
	border-color: rgba(15, 118, 110, 0.22);
}

.faq-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}

.section-title-left {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--foreground);
	margin-bottom: 16px;
}

.faq-item {
	margin-bottom: 10px;
	border-radius: 14px;
	overflow: hidden;
	border: 2px solid var(--primary-color);
}

.faq-col {
	text-align: center;
}

.faq-item summary {
	padding: 16px 18px;
	font-weight: 600;
	cursor: pointer;
	color: var(--foreground);
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	font-weight: 700;
	color: var(--muted);
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-item p {
	padding: 0 18px 16px;
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.55;
}

.cta-final {
	padding: 32px;
	border-radius: 18px;
	background: var(--card);
	color: var(--foreground);
	border: 2px solid var(--primary-color);
	box-shadow: var(--shadow-md);
	text-align: center;
}

.cta-final h2 {
	font-size: clamp(1.05rem, 2.4vw, 1.35rem);
	line-height: 1.35;
	margin-bottom: 20px;
	color: var(--foreground);
}

.cta-final p {
	color: var(--muted);
	font-size: 0.95rem;
	margin-bottom: 20px;
	line-height: 1.55;
}

/* ——— Sections ——— */
.section-block {
	padding: 80px 0;
	background: linear-gradient(180deg, var(--background) 0%, var(--section-color) 55%, #eef5ec 100%);
}

.section-block--alt {
	background: linear-gradient(180deg, var(--background) 0%, var(--section-color) 55%, #eef5ec 100%);
	border-top: none;
	border-bottom: none;
}

.section-title {
	text-align: center;
	margin-bottom: 48px;
}

.section-title h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--foreground);
	margin-bottom: 12px;
}

.section-title p {
	max-width: 640px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 1rem;
}

.section-title--compact {
	margin-bottom: 24px;
}

/* About */
.about-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.about-main,
.publications {
	padding: 28px;
}

.about-main h3,
.publications h3 {
	font-size: 1.15rem;
	margin-bottom: 14px;
	color: var(--foreground);
}

.about-main > p {
	color: var(--muted);
	margin-bottom: 20px;
}

.about-details {
	margin-top: 8px;
}

.detail-item {
	margin-bottom: 20px;
}

.detail-item h4 {
	font-size: 0.95rem;
	margin-bottom: 8px;
	color: var(--foreground);
}

.detail-item p {
	color: var(--muted);
	font-size: 0.95rem;
}

.publication-card {
	background: var(--background);
	border: 1px solid var(--card-border);
	padding: 16px 18px;
	border-radius: var(--radius);
	margin-bottom: 12px;
	font-size: 0.95rem;
	color: var(--foreground);
}

.publication-card:last-child {
	margin-bottom: 0;
}

/* Services */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	padding: 24px;
	transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.service-card h3 {
	font-size: 1.05rem;
	margin-bottom: 10px;
	color: var(--foreground);
}

.service-card p {
	color: var(--muted);
	font-size: 0.95rem;
}

/* Projects */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 28px;
	justify-items: stretch;
}

.project-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0;
}

.project-image {
	height: 220px;
	background: var(--background);
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--card-border);
}

.project-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 12px;
}

.project-content {
	padding: 24px;
	text-align: left;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	align-items: flex-start;
}

.project-content h3 {
	margin-bottom: 10px;
	color: var(--foreground);
	font-size: 1.1rem;
}

.project-content p {
	margin-bottom: 10px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
}

.tag {
	background: var(--background);
	border: 1px solid var(--card-border);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.75rem;
	color: var(--muted);
	font-weight: 500;
}

.btn-project {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	background: var(--btn-solid-bg);
	color: var(--text-light) !important;
	text-decoration: none;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.9rem;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
	margin: 12px 0 0;
	border: 1px solid var(--btn-solid-border);
	cursor: pointer;
}

.btn-project:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(144, 66, 7, 0.45);
	background: var(--btn-solid-hover);
	color: var(--text-light) !important;
	text-decoration: none;
	border-color: var(--btn-solid-hover);
}

/* Partnership */
.partnership-content {
	padding: 36px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.partnership-content p {
	margin-bottom: 16px;
	color: var(--muted);
}

.partnership-content .btn-project {
	margin-top: 8px;
}

/* ——— Contact (разметка без изменений; стили под палитру) ——— */
#contacts {
	padding: 80px 0;
	background: var(--background);
	border-top: 1px solid var(--card-border);
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.contact-info h3 {
	margin-bottom: 12px;
	color: var(--foreground);
}

.contact-info > p {
	color: var(--muted);
	margin-bottom: 8px;
}

.contact-details {
	margin-top: 20px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 14px;
	gap: 10px;
}

.contact-item i {
	font-style: normal;
	flex-shrink: 0;
}

.contact-item p {
	color: var(--foreground);
}

#about-page .section-title {
	margin-bottom: 18px;
}

#about-page .section-title p {
	max-width: none;
	white-space: nowrap;
}

.about-badges {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 14px;
	border-radius: 14px;
	margin-bottom: 20px;
}

.about-badges span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 6px 12px;
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	text-align: center;
}

.about-team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.about-team-card {
	padding: 0 16px 16px;
	border-radius: 16px;
}

.about-team-top {
	height: 8px;
	margin: 0 -16px 12px;
	border-radius: 16px 16px 0 0;
}

.about-team-top--orange {
	background: var(--accent-color-light);
}

.about-team-top--green {
	background: #16a34a;
}

.about-photo-placeholder {
	aspect-ratio: 4 / 5;
	height: auto;
	max-width: 290px;
	width: 100%;
	border-radius: 12px;
	border: 1px solid #d1d5db;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 0;
	margin: 0 auto 12px;
}

.about-team-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
}

.about-team-card h3 {
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.about-team-card ul {
	margin: 0 0 0 18px;
}

.about-story {
	padding: 18px 20px;
	border-radius: 16px;
	margin-bottom: 20px;
}

.about-story h3 {
	margin-bottom: 8px;
}

.about-proof-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.about-proof-card {
	padding: 16px;
	border-radius: 14px;
}

.about-proof-card h4 {
	margin-bottom: 8px;
	font-size: 1rem;
}

.about-proof-card ul {
	margin: 0 0 0 18px;
}

.about-proof-links {
	margin-top: 10px;
}

.about-proof-links a {
	font-weight: 600;
	color: var(--primary-color);
	text-decoration: none;
}

.about-proof-links a:hover {
	text-decoration: underline;
}

.about-mic {
	margin-top: 12px;
}

.about-mic img {
	display: block;
	width: 100%;
	max-width: 360px;
	height: auto;
	border-radius: 10px;
	border: 1px solid var(--card-border);
}

.about-cta {
	padding: 18px 20px;
	border-radius: 16px;
	background: #ecfdf5;
	border-color: #86efac;
}

.about-cta h3 {
	margin-bottom: 8px;
}

.about-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.contact-form {
	padding: 28px;
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.contact-form h3 {
	margin-bottom: 18px;
	color: var(--foreground);
}

.form-group {
	margin-bottom: 18px;
}

.form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--foreground);
}

.form-control {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--foreground);
	background: var(--card);
	transition: border-color var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.2);
}

textarea.form-control {
	min-height: 120px;
	resize: vertical;
}

#form-message .alert-success {
	background: rgba(87, 167, 40, 0.12);
	color: #2d5a27;
	border: 1px solid rgba(87, 167, 40, 0.45);
	padding: 12px 14px;
	border-radius: var(--radius);
}
#form-message .alert-danger {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
	padding: 12px 14px;
	border-radius: var(--radius);
}

/* ——— Footer: фон #ffbb33, ссылки — текстовые, не оформляем как оранжевые кнопки ——— */
footer {
	background: #ffbb33;
	color: var(--text-dark);
	padding: 48px 0 24px;
}

.footer-container {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
	gap: 32px 28px;
	margin-bottom: 28px;
	align-items: start;
}

.footer-brand-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.logo-brand--footer .logo-mark {
	max-height: 36px;
	max-width: 92px;
}

.logo-brand--footer .logo-title {
	font-size: 1rem;
}

.logo-brand--footer .logo-tagline {
	font-size: 0.65rem;
	color: #1a2e17;
	font-weight: 600;
}

.footer-copyright {
	color: #444444;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

.footer-logo-image-wrap {
	margin-top: 12px;
}

.footer-mic-logo {
	display: block;
	max-width: min(220px, 100%);
	height: auto;
	width: auto;
}

.footer-links h3,
.footer-contact-col h3 {
	margin-bottom: 12px;
	color: var(--text-dark);
	font-size: 1.05rem;
}

.footer-contact-col p {
	margin: 0 0 8px;
	font-size: 0.95rem;
}

.footer-contact-col a {
	color: var(--primary-color);
	font-weight: 500;
	text-decoration: none;
}

.footer-contact-col a:hover {
	text-decoration: underline;
	color: #1a3315;
}

.footer-social-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-top: 12px;
}

.footer-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(45, 90, 39, 0.12);
	color: var(--primary-color);
	font-size: 1.1rem;
	transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.footer-social-svg {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.footer-social-img {
	display: block;
	width: 1.3rem;
	height: 1.3rem;
	object-fit: contain;
	flex-shrink: 0;
}

.footer-social-icon:hover {
	background: #fff;
	color: #1a3315;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(45, 90, 39, 0.12);
}

.footer-links ul {
	list-style: none;
}

.footer-links ul li {
	margin-bottom: 8px;
}

.footer-links ul li a {
	color: var(--primary-color);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color var(--transition);
}

.footer-links ul li a:hover {
	color: #1a3315;
	text-decoration: underline;
}

.privacy-notice {
	background: rgba(255, 255, 255, 0.45);
	padding: 18px 20px;
	border-radius: var(--radius);
	margin-bottom: 20px;
	font-size: 0.8rem;
	line-height: 1.5;
	border: 1px solid rgba(45, 90, 39, 0.2);
}

.privacy-notice p {
	margin: 0;
	text-align: center;
	color: #333333;
}

.privacy-notice a {
	color: var(--primary-color);
	text-decoration: underline;
	font-weight: 500;
}

.privacy-notice a:hover {
	color: #1a3315;
}

/* Policy pages */
.policy-page body {
	font-family: "Inter", system-ui, sans-serif;
	line-height: 1.6;
	color: var(--foreground);
	background: var(--background);
	padding: 20px;
}

.policy-page .container {
	max-width: 1000px;
	margin: 0 auto;
	background: var(--card);
	padding: 40px;
	border-radius: var(--radius);
	border: 1px solid var(--card-border);
	box-shadow: var(--shadow);
}

.policy-page .back-link {
	display: inline-block;
	margin-bottom: 24px;
	color: var(--foreground);
	text-decoration: none;
	font-weight: 600;
}

.policy-page .back-link:hover {
	text-decoration: underline;
}

.policy-page h1 {
	color: var(--foreground);
	margin-bottom: 24px;
	text-align: center;
}

.policy-page h2 {
	color: var(--foreground);
	margin: 28px 0 12px;
	font-size: 1.2rem;
}

.policy-page p {
	margin-bottom: 14px;
	color: var(--muted);
}

.policy-page ul {
	margin: 14px 0;
	padding-left: 22px;
}

.policy-page li {
	margin-bottom: 8px;
}

.policy-page .effective-date {
	text-align: center;
	color: var(--muted);
	font-style: italic;
	margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 960px) {
	.hero-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-copy {
		max-width: none;
	}

	.hero-actions {
		justify-content: center;
	}

	.hero-visual {
		order: -1;
	}

	.about-layout {
		grid-template-columns: 1fr;
	}

	.solutions-two,
	.why-grid,
	.pricing-three,
	.faq-cta-grid {
		grid-template-columns: 1fr;
	}

	.step-arrow {
		display: none;
	}

	.steps-row {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.mobile-menu-btn {
		display: block;
	}

	.site-nav {
		display: none;
		width: 100%;
		order: 3;
	}

	.site-nav.active {
		display: block;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.header-inner .logo-brand {
		order: 0;
	}

	.header-inner .btn--header-login {
		order: 1;
		margin-left: 0;
	}

	.header-inner .btn--header-max {
		order: 1;
		margin-left: auto;
	}

	.header-inner .btn--header-max span {
		display: none;
	}

	.header-inner .mobile-menu-btn {
		order: 2;
		margin-left: 8px;
	}

	.header-inner .site-nav {
		flex: 1 1 100%;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
		padding: 16px 0;
		border-top: 1px solid var(--card-border);
	}

	.site-nav a {
		display: block;
		padding: 10px 0;
	}

	.segment-switch {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.segment-tab {
		width: 100%;
		text-align: center;
	}

	.segment-panel {
		padding: 16px;
	}

	.compare-table {
		min-width: 480px;
	}

	.pain-list {
		padding: 16px;
	}

	.contact-container {
		grid-template-columns: 1fr;
	}

	.about-team-grid,
	.about-proof-grid {
		grid-template-columns: 1fr;
	}

	.hero-title-balanced span {
		display: inline;
	}

	.hero-title-balanced span:not(:last-child)::after {
		content: " ";
	}

	.about-badges {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#about-page .section-title p {
		max-width: 640px;
		white-space: normal;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}


	.policy-page body {
		padding: 12px;
	}

	.policy-page .container {
		padding: 24px;
	}

	.solution-card,
	.team-card,
	.why-card,
	.result-card,
	.faq-col .faq-item,
	.cta-final {
		min-height: 0;
	}
}
