/* ============================================
   Business Landing — Inter, Blue Palette
   ============================================ */

:root {
	--white: #ffffff;
	--bg: #f8fafc;
	--text: #0f172a;
	--muted: #64748b;
	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	--accent-soft: #dbeafe;
	--dark: #0f172a;
	--dark-card: #1e293b;
	--border: #e2e8f0;
	--green: #16a34a;
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
	--shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1);
	--shadow-lg: 0 12px 40px rgba(37, 99, 235, 0.18);
	--radius: 16px;
	--radius-lg: 24px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Inter', sans-serif;
	color: var(--text);
	background: var(--white);
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--accent-soft);
}

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

a {
	color: inherit;
}

strong {
	font-weight: 700;
}

/* ---------- HERO ---------- */

.hero {
	padding: 64px 24px 48px;
	max-width: 900px;
	margin: 0 auto;
	border-bottom: 1px solid var(--border);
}

.hero-inner {
	display: flex;
	align-items: center;
	gap: 48px;
}

.hero-photo {
	width: 176px;
	height: 176px;
	flex-shrink: 0;
	border-radius: var(--radius-lg);
	background-color: var(--bg);
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px var(--border);
}

.hero-copy {
	flex: 1;
}

.kicker {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--accent);
	font-size: 0.625rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-bottom: 16px;
}

.hero-copy h1 {
	font-size: clamp(2.4rem, 5vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1.1;
	margin-bottom: 16px;
}

.hero-lead {
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--muted);
	max-width: 640px;
}

/* ---------- BUTTONS ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 40px;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
	background: var(--accent);
	color: var(--white);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
}

.btn-white {
	background: var(--white);
	color: var(--dark);
	box-shadow: var(--shadow-md);
}

.btn-white:hover {
	background: var(--bg);
	transform: translateY(-1px);
}

/* ---------- SECTIONS ---------- */

.section {
	padding: 64px 24px;
}

.section-inner {
	max-width: 900px;
	margin: 0 auto;
}

.section-head {
	margin-bottom: 48px;
}

.section-head--center {
	text-align: center;
}

.section-head h2 {
	font-size: clamp(1.8rem, 3.8vw, 2.2rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin-bottom: 16px;
	font-style: italic;
	text-transform: uppercase;
}

.section-sub {
	font-size: 0.88rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #93c5fd;
}

.section-sub--light {
	color: #93c5fd;
}

.section-title {
	font-size: clamp(1.5rem, 3vw, 1.7rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.3;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.section-title--center {
	text-align: center;
	margin-bottom: 48px;
	font-style: italic;
}

.section-text {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 24px;
}

/* ---------- GRIDS ---------- */

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

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

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

.grid--align-center {
	align-items: center;
}

/* ---------- PHILOSOPHY CARD ---------- */

.philosophy-card {
	background: var(--bg);
	padding: 32px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
}

.philosophy-title {
	font-size: 1.5rem;
	font-weight: 900;
	font-style: italic;
	margin-bottom: 16px;
}

.philosophy-card p {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 16px;
}

.philosophy-card p:last-child {
	margin-bottom: 0;
}

.philosophy-quote {
	font-weight: 700;
	color: var(--muted);
	border-left: 4px solid var(--accent);
	padding-left: 16px;
}

/* ---------- INFO CHIP ---------- */

.info-chip {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--white);
	padding: 16px;
	border-radius: 12px;
	border: 1px solid var(--border);
}

.info-chip-icon {
	font-size: 1.8rem;
}

.info-chip-text {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--muted);
}

/* ---------- ACCENT SECTION (Система) ---------- */

.section--accent {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: var(--white);
	padding: 80px 24px;
	border-radius: 2rem;
	margin: 0 16px;
	box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
}

.section--accent h2 {
	color: var(--white);
}

/* ---------- SYSTEM CARDS (inside accent) ---------- */

.system-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.system-card-num {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 0.88rem;
}

.system-card h4 {
	font-size: 1.12rem;
	font-weight: 700;
}

.system-card p {
	font-size: 0.78rem;
	line-height: 1.7;
	color: #bfdbfe;
}

/* ---------- TIMELINE (Маршрут) ---------- */

.timeline {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.timeline-line {
	display: none;
}

.timeline-item {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

.timeline-item--reverse {
	direction: rtl;
}

.timeline-item--reverse>* {
	direction: ltr;
}

.timeline-left {
	text-align: right;
}

.timeline-item--reverse .timeline-left {
	text-align: left;
}

.timeline-label {
	font-size: 0.68rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

.timeline-label--blue {
	color: var(--accent);
}

.timeline-label--green {
	color: var(--green);
}

.timeline-label--purple {
	color: #9333ea;
}

.timeline-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 4px solid var(--white);
	box-shadow: var(--shadow-md);
	flex-shrink: 0;
}

.timeline-dot--dark {
	background: var(--dark);
}

.timeline-dot--green {
	background: var(--green);
}

.timeline-dot--purple {
	background: #9333ea;
}

.timeline-card {
	background: var(--white);
	padding: 24px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	transition: border-color 200ms ease;
}

.timeline-item:nth-child(2) .timeline-card:hover {
	border-color: var(--accent);
}

.timeline-item:nth-child(3) .timeline-card:hover {
	border-color: var(--green);
}

.timeline-item:nth-child(4) .timeline-card:hover {
	border-color: #9333ea;
}

.timeline-card h4 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.timeline-card p {
	font-size: 0.78rem;
	line-height: 1.7;
	color: var(--muted);
	font-style: italic;
}

/* ---------- CTA ---------- */

.cta-section {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding: 80px 24px;
	text-align: center;
}

.cta-inner {
	max-width: 640px;
	margin: 0 auto;
}

.cta-inner h2 {
	font-size: clamp(1.7rem, 3.6vw, 1.9rem);
	font-weight: 900;
	margin-bottom: 24px;
}

.cta-inner p {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 40px;
}

/* ---------- FOOTER ---------- */

.site-footer {
	background: var(--white);
	border-top: 1px solid var(--border);
	padding: 48px 24px 32px;
}

.footer-inner {
	max-width: 900px;
	margin: 0 auto;
}

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

.footer-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
	transition: border-color 200ms ease;
}

.footer-card:hover {
	border-color: #93c5fd;
}

.footer-card-icon {
	margin-right: 8px;
}

.footer-card h4 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}

.footer-card p {
	font-size: 0.69rem;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 16px;
}

.footer-link {
	font-size: 0.72rem;
	font-weight: 900;
	color: var(--accent);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	transition: transform 200ms ease;
	display: inline-block;
}

.footer-link:hover {
	transform: translateX(4px);
}

.copyright {
	text-align: center;
	font-size: 0.56rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4em;
	color: #cbd5e1;
}

/* ---------- ANIMATIONS ---------- */

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero,
.section,
.cta-section,
.site-footer {
	animation: rise 600ms ease-out both;
}

/* ---------- RESPONSIVE ---------- */

@media (min-width: 861px) {
	.timeline-line {
		display: block;
		position: absolute;
		left: 50%;
		top: 0;
		bottom: 0;
		width: 1px;
		background: var(--border);
		transform: translateX(-50%);
	}
}

@media (max-width: 860px) {
	.hero-inner {
		flex-direction: column;
		text-align: center;
	}

	.hero-photo {
		margin: 0 auto;
	}

	.hero-lead {
		margin-left: auto;
		margin-right: auto;
	}

	.grid--3,
	.grid--2 {
		grid-template-columns: 1fr;
	}

	.section--accent {
		border-radius: var(--radius);
		margin: 0 8px;
	}

	.timeline-item,
	.timeline-item--reverse {
		grid-template-columns: 1fr;
		gap: 12px;
		justify-items: start;
	}

	.timeline-left {
		text-align: left;
	}

	.timeline-dot {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.hero {
		padding: 40px 16px 32px;
	}

	.hero-photo {
		width: 128px;
		height: 128px;
	}

	.hero-copy h1 {
		font-size: 2rem;
	}

	.section {
		padding: 48px 16px;
	}

	.section--accent {
		padding: 48px 16px;
		margin: 0 8px;
	}

	.cta-section {
		padding: 48px 16px;
	}

	.site-footer {
		padding: 40px 16px 24px;
	}

	.btn {
		width: 100%;
	}

	.philosophy-card {
		padding: 24px;
	}
}

/* ---------- LANGUAGE SWITCHER ---------- */

.lang-switch {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 0;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.lang-switch-current {
	padding: 8px 12px;
	background: var(--accent);
	color: var(--white);
}

.lang-switch-link {
	padding: 8px 12px;
	color: var(--muted);
	text-decoration: none;
	transition: color 150ms ease, background-color 150ms ease;
}

.lang-switch-link:hover {
	color: var(--text);
	background: var(--bg);
}