:root {
	--wrap-pad: clamp(1rem, 4vw, 2rem);
	--ink: #0f172a;
	--ink-muted: #334155;
	--muted: #64748b;
	--surface: #ffffff;
	--surface-2: #f8fafc;
	--line: #e2e8f0;
	--blue: #1d4ed8;
	--blue-dark: #1e3a8a;
	--blue-soft: #dbeafe;
	--blue-chip: #eff6ff;
	--footer: #0b1220;
	--shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
	--radius: 12px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--font-display: "Montserrat", system-ui, sans-serif;
	--font-body: "DM Sans", system-ui, sans-serif;
	--step--1: clamp(0.85rem, 0.82rem + 0.12vw, 0.9375rem);
	--step-0: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
	--step-1: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
	--step-2: clamp(1.35rem, 1.15rem + 0.85vw, 1.65rem);
	--step-3: clamp(1.65rem, 1.25rem + 1.5vw, 2.25rem);
	--step-4: clamp(2rem, 1.35rem + 2.4vw, 3.1rem);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	background: var(--surface-2);
}

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

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--blue-dark);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	background: var(--blue);
	color: var(--surface);
	padding: 0.6rem 1rem;
	border-radius: var(--radius-sm);
	z-index: 100;
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
	outline: 2px solid var(--blue-dark);
	outline-offset: 2px;
}

.wrap {
	width: min(1140px, 100%);
	margin-inline: auto;
	padding-left: max(var(--wrap-pad), env(safe-area-inset-left, 0px));
	padding-right: max(var(--wrap-pad), env(safe-area-inset-right, 0px));
	box-sizing: border-box;
}

/* ——— Header ——— */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem 1.5rem;
	padding-block: 0.65rem;
}

.site-header__panel {
	display: contents;
}

.site-nav {
	grid-column: 2;
	justify-self: center;
}

.lang-switch {
	grid-column: 3;
	justify-self: end;
	align-self: center;
	display: inline-flex;
	flex-shrink: 0;
	font-family: var(--font-display);
	justify-content: flex-end;
}

.logo {
	grid-column: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--ink);
	text-decoration: none;
	font-family: var(--font-display);
}

.logo__glyph {
	flex-shrink: 0;
	color: var(--blue);
}

.logo__img {
	flex-shrink: 0;
	width: 2.55rem;
	height: 2.55rem;
	object-fit: contain;
	display: block;
}

.logo__words {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.logo__line1 {
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.logo__line2 {
	font-weight: 600;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	color: var(--ink-muted);
}

.logo--footer-link {
	color: #f1f5f9;
}

.logo--footer-link .logo__line2 {
	color: rgba(241, 245, 249, 0.75);
}

.logo--footer-link .logo__glyph {
	color: #93c5fd;
}

.nav-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: var(--surface);
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	z-index: 2;
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 1.1rem;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
}

.nav-toggle__bar {
	top: calc(50% - 1px);
}

.nav-toggle__bar::before {
	top: -6px;
}

.nav-toggle__bar::after {
	top: 6px;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.2rem 0.35rem;
}

.site-nav__link {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step--1);
	color: var(--ink-muted);
	text-decoration: none;
	padding: 0.45rem 0.85rem;
	border-radius: var(--radius-pill);
	border: none;
	background: transparent;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover {
	color: var(--ink);
	background: var(--surface-2);
}

.site-nav__link.is-active {
	background: var(--blue-soft);
	color: var(--blue-dark);
}

.site-nav__more::after {
	content: ' ▾';
	font-size: 0.75em;
	opacity: 0.7;
}

.nav-dropdown {
	position: relative;
}

.nav-dropdown__menu {
	list-style: none;
	margin: 0;
	padding: 0.35rem;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 200px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 80;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav__sublink {
	display: block;
	padding: 0.55rem 0.75rem;
	border-radius: var(--radius-sm);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step--1);
	color: var(--ink-muted);
	text-decoration: none;
}

.site-nav__sublink:hover {
	background: var(--surface-2);
	color: var(--ink);
}

.site-nav__sublink.is-active {
	background: var(--blue-chip);
	color: var(--blue-dark);
}

.lang-switch__track {
	display: inline-flex;
	align-items: stretch;
	padding: 3px;
	gap: 2px;
	border-radius: var(--radius-pill);
	background: linear-gradient(165deg, #eef2f6 0%, #e2e8f0 100%);
	border: 1px solid rgba(148, 163, 184, 0.45);
	box-shadow:
		inset 0 1px 1px rgba(255, 255, 255, 0.75),
		inset 0 -1px 1px rgba(15, 23, 42, 0.04);
}

.lang-switch a {
	text-decoration: none;
	text-decoration-thickness: 0;
	text-underline-offset: unset;
}

.lang-switch__opt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	padding: 0.42rem 0.5rem;
	border-radius: var(--radius-pill);
	font-weight: 700;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	color: var(--muted);
	line-height: 1;
	transition:
		color 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.12s ease;
}

.lang-switch__code {
	display: block;
}

.lang-switch__opt:hover:not(.is-active) {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.lang-switch__opt.is-active {
	color: #fff;
	background: linear-gradient(165deg, #2563eb 0%, var(--blue) 45%, #1d4ed8 100%);
	box-shadow:
		0 2px 8px rgba(29, 78, 216, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.lang-switch__opt:active:not(.is-active) {
	transform: scale(0.97);
}

.lang-switch__opt:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

@media (max-width: 960px) {
	.site-header__inner {
		grid-template-columns: 1fr auto;
		align-items: center;
	}

	.logo {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	.nav-toggle {
		display: grid;
		place-items: center;
		grid-column: 2;
		grid-row: 1;
	}

	.site-header__panel {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		grid-column: 1 / -1;
		grid-row: 2;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		padding-inline: var(--wrap-pad);
		margin-inline: calc(-1 * var(--wrap-pad));
		border-top: 0 solid var(--line);
		background: rgba(255, 255, 255, 0.98);
		transition: max-height 0.35s ease, opacity 0.2s ease, visibility 0.2s ease, padding 0.2s ease, border-width 0.2s ease;
	}

	.site-header__inner.is-open .site-header__panel {
		max-height: min(85vh, 560px);
		overflow-y: auto;
		opacity: 1;
		visibility: visible;
		padding-top: 0.85rem;
		padding-bottom: 1rem;
		border-top-width: 1px;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
	}

	.site-nav__link,
	.site-nav__more {
		text-align: left;
		width: 100%;
	}

	.nav-dropdown__menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		background: var(--surface-2);
		margin-top: 0.35rem;
		display: none;
	}

	.nav-dropdown.is-open .nav-dropdown__menu {
		display: block;
	}

	/* Язык: только в выезжающем меню, компактная полоса */
	.lang-switch--in-drawer {
		grid-column: auto;
		grid-row: auto;
		justify-self: stretch;
		width: 100%;
		justify-content: center;
		margin-top: 0.35rem;
		padding-top: 0.65rem;
		border-top: 1px solid var(--line);
	}

	.lang-switch--in-drawer .lang-switch__track {
		width: max-content;
		max-width: 100%;
		margin-inline: auto;
		padding: 2px;
		gap: 1px;
	}

	.lang-switch--in-drawer .lang-switch__opt {
		min-width: 1.85rem;
		padding: 0.26rem 0.34rem;
		font-size: 0.56rem;
		letter-spacing: 0.06em;
	}
}

@media (min-width: 961px) {
	.nav-toggle {
		display: none !important;
	}
}

/* ——— Hero (как на старом сайте) ——— */
.hero--cover {
	position: relative;
	min-height: min(88vh, 840px);
	display: flex;
	align-items: center;
	padding-block: clamp(4rem, 10vw, 6.5rem) clamp(5rem, 12vw, 8rem);
	padding-inline: 0;
	margin-top: 0;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background-color: #0f172a;
	background-position: center 35%;
	background-size: cover;
	background-repeat: no-repeat;
	/* Картинка героя задаётся на главной (index.php) через inline background-image */
	z-index: 0;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		125deg,
		rgba(15, 23, 42, 0.82) 0%,
		rgba(15, 23, 42, 0.45) 45%,
		rgba(248, 250, 252, 0.99) 100%
	);
}

.hero__inner {
	position: relative;
	z-index: 2;
	flex: 0 1 auto;
	min-width: 0;
	/* Ширина и padding — только от .wrap (не задавать width:100% — перебивает контейнер) */
}

.hero__content {
	max-width: 52rem;
	text-align: left;
}

.hero__badge {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.4rem 1rem;
	background: var(--blue-dark);
	color: #fff;
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: var(--radius-pill);
	box-shadow: 0 4px 20px rgba(30, 58, 138, 0.35);
}

.hero__title {
	margin: 0 0 1.35rem;
	font-family: var(--font-display);
	font-size: var(--step-4);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
	max-width: 24ch;
}

.hero__lead {
	margin: 0 0 2rem;
	font-size: var(--step-1);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 52ch;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	margin: 0 0 1.35rem;
}

.hero__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.32rem 0.8rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(6px);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.2rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step--1);
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn__arrow {
	font-size: 1.1em;
	transition: transform 0.2s ease;
}

.btn--primary:hover .btn__arrow {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--blue);
	color: #fff;
	box-shadow: 0 10px 28px rgba(29, 78, 216, 0.4);
}

.btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(29, 78, 216, 0.45);
}

.btn--hero-secondary {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
	backdrop-filter: blur(8px);
}

.btn--hero-secondary:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	transform: translateY(-2px);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border: 2px solid var(--line);
}

.btn--ghost:hover {
	background: var(--surface-2);
	color: var(--ink);
}

@media (max-width: 640px) {
	.hero__title {
		max-width: none;
	}
}

/* Metrics strip */
.section--metrics {
	padding: 2.25rem 0;
	background: var(--surface);
	border-block: 1px solid var(--line);
}

.section--metrics.section--tight {
	padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2rem, 4.5vw, 3rem);
	padding-inline: 0;
}

.metrics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem 1.35rem;
	text-align: center;
	align-items: start;
}

.metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.4rem;
	min-width: 0;
	margin: 0;
}

.metric__value {
	display: block;
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 800;
	line-height: 1.12;
	color: var(--blue-dark);
}

.metric__label {
	display: block;
	margin: 0;
	font-size: var(--step--1);
	line-height: 1.4;
	color: var(--muted);
	max-width: 14rem;
	margin-inline: auto;
}

@media (max-width: 840px) {
	.metrics {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.metrics {
		grid-template-columns: 1fr;
	}
}

/* Sections */
.section {
	padding: clamp(2.75rem, 7vw, 4.5rem) 0;
}

.section--tight {
	padding-top: 0;
}

.section__head {
	max-width: 640px;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section__eyebrow {
	font-family: var(--font-display);
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
	margin: 0 0 0.45rem;
}

.section__title {
	font-family: var(--font-display);
	font-size: var(--step-3);
	font-weight: 800;
	margin: 0 0 0.65rem;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.section__lead {
	margin: 0;
	color: var(--muted);
	font-size: var(--step-1);
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.35rem;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.card__icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--radius-sm);
	background: var(--blue-chip);
	color: var(--blue-dark);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.8rem;
	margin-bottom: 1rem;
}

.card__title {
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.card__text {
	margin: 0;
	color: var(--muted);
	font-size: var(--step--1);
}

@media (max-width: 960px) {
	.cards {
		grid-template-columns: 1fr;
	}
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.75rem, 5vw, 3rem);
	align-items: start;
}

.split__box {
	background: linear-gradient(145deg, var(--blue-dark), #0f172a);
	color: #e2e8f0;
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2.1rem);
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.split__box::after {
	content: '';
	position: absolute;
	inset: -30% -20% auto auto;
	width: 60%;
	height: 60%;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 65%);
	pointer-events: none;
}

.split__box h3 {
	position: relative;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 700;
	margin: 0 0 1rem;
	z-index: 1;
	color: #fff;
}

.split__box ul {
	position: relative;
	margin: 0;
	padding-left: 1.15rem;
	z-index: 1;
	color: rgba(226, 232, 240, 0.95);
}

.split__box li {
	margin-bottom: 0.45rem;
}

@media (max-width: 820px) {
	.split {
		grid-template-columns: 1fr;
	}
}

/* Jobs — карточки вакансий (компактный список, красный акцент) */
.job-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.job.job-card {
	--job-accent: #dc2626;
	--job-accent-hover: #b91c1c;
	position: relative;
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 0;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.05),
		0 12px 28px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.2s ease;
}

.job.job-card:hover {
	border-color: color-mix(in srgb, var(--job-accent) 22%, var(--line));
	box-shadow:
		0 2px 4px rgba(220, 38, 38, 0.06),
		0 16px 40px rgba(15, 23, 42, 0.08);
}

.job-card--urgent {
	border-color: color-mix(in srgb, var(--job-accent) 18%, var(--line));
}

.job-card__ribbon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.42rem 0.85rem;
	background: var(--job-accent);
	color: #fff;
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.job-card__ribbon-flame {
	font-size: 0.9rem;
	line-height: 1;
}

.job__body {
	min-width: 0;
	padding: 0.85rem 1rem 0.8rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(104px, 208px);
	column-gap: 0.75rem;
	row-gap: 0.38rem;
	align-items: start;
}

/* Прямые дочерние grid-элементы: заголовок, факты, превью, текст, футер */
.job-card__hero,
.job-card__text-col {
	display: contents;
}

.job-card__title-block {
	min-width: 0;
	grid-column: 1;
	grid-row: 1;
	align-self: start;
	margin-bottom: 0.55rem;
}

.job__title,
.job-card__title {
	font-weight: 800;
	margin: 0;
	min-width: 0;
	font-size: clamp(1.05rem, 2.4vw, 1.28rem);
	font-family: var(--font-display);
	letter-spacing: -0.02em;
	line-height: 1.22;
	color: #e11d48;
}

.job-card__title-en {
	margin: 0.2rem 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.32;
	color: var(--muted);
	letter-spacing: 0.01em;
}

.job-card__thumb {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 100%;
	max-width: 208px;
	justify-self: end;
	align-self: stretch;
	min-height: 112px;
	min-width: 0;
	border-radius: 14px;
	background-color: #1e293b;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.2);
	border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.job-card__facts {
	grid-column: 1;
	grid-row: 2;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.38rem;
	align-self: start;
}

.job-card__fact {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.33;
	color: var(--ink);
}

.job-card__fact-ico {
	flex-shrink: 0;
	width: 1.2rem;
	height: 1.2rem;
	margin-top: 0.08rem;
	color: #94a3b8;
}

.job-card__fact-ico svg {
	display: block;
	width: 100%;
	height: 100%;
}

.job-card__fact-txt {
	color: var(--ink-muted);
	font-weight: 600;
}

.job-card__excerpt {
	grid-column: 1 / -1;
	margin: 0;
	padding-top: 0.15rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.job-card__foot {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	margin-top: 0.35rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--line);
}

.job-card__ago {
	font-size: 0.8125rem;
	color: var(--muted);
	white-space: nowrap;
}

.job-card__ago--muted {
	opacity: 0.5;
}

.job-card__apply.job-card__apply--outline {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.42rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	border-radius: 10px;
	white-space: nowrap;
	background: var(--surface);
	color: var(--job-accent);
	border: 1.5px solid var(--job-accent);
	box-shadow: none;
}

.job-card__apply.job-card__apply--outline:hover {
	background: color-mix(in srgb, var(--job-accent) 6%, var(--surface));
	border-color: var(--job-accent-hover);
	color: var(--job-accent-hover);
}

.job-card__apply-ico {
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
}

/* Узкая секция после героя вакансий — не прилипает к h1 */
.section.vacancies-section.section--tight {
	padding-top: clamp(0.65rem, 2.5vw, 1.25rem);
}

@media (max-width: 560px) {
	.job__body {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 0.5rem;
		padding: 1rem 1rem 0.95rem;
	}

	/* Заголовок → фото → факты: меньше прокрутки до картинки */
	.job-card__title-block {
		grid-column: 1;
		grid-row: auto;
		order: 1;
		margin-bottom: 0.15rem;
	}

	.job-card__thumb {
		grid-column: 1;
		grid-row: auto;
		order: 2;
		width: 100%;
		max-width: none;
		justify-self: stretch;
		min-height: 0;
		aspect-ratio: 16 / 10;
		border-radius: 12px;
	}

	.job-card__facts {
		grid-column: 1;
		grid-row: auto;
		order: 3;
		gap: 0.42rem;
	}

	.job-card__excerpt {
		order: 4;
		padding-top: 0.1rem;
		-webkit-line-clamp: 4;
	}

	.job-card__foot {
		grid-column: 1;
		order: 5;
		margin-top: 0.45rem;
		padding-top: 0.75rem;
	}

	.job-card__title,
	.job-card__title.job__title {
		font-size: clamp(1rem, 4.5vw, 1.2rem);
		line-height: 1.2;
	}

	.job-card__fact {
		font-size: 0.8125rem;
		line-height: 1.35;
	}

	.job-list {
		gap: 1.15rem;
	}
}

@media (max-width: 520px) {
	.job-card__foot {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
	}

	.job-card__ago {
		white-space: normal;
		font-size: 0.78rem;
	}

	.job-card__apply.job-card__apply--outline {
		width: 100%;
		justify-content: center;
		min-width: 0;
		padding: 0.55rem 1rem;
		font-size: 0.8125rem;
	}
}

/* Vacancy apply modal — в тон карточкам вакансий */
.vacancy-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.vacancy-modal[hidden] {
	display: none;
}

.vacancy-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(6px);
}

.vacancy-modal__dialog {
	--vm-accent: #dc2626;
	--vm-accent-hover: #b91c1c;
	position: relative;
	width: min(400px, 100%);
	background: var(--surface);
	border-radius: 18px;
	padding: 1rem 1.1rem 1rem;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.05),
		0 12px 32px rgba(15, 23, 42, 0.1);
	border: 1px solid var(--line);
}

.vacancy-modal__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--line);
	background: var(--surface);
	border-radius: 10px;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	color: var(--muted);
	display: grid;
	place-items: center;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vacancy-modal__close:hover {
	background: var(--surface-2);
	color: var(--ink-muted);
	border-color: color-mix(in srgb, var(--muted) 25%, var(--line));
}

.vacancy-modal__title {
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 2.25rem 0.65rem 0;
	line-height: 1.3;
}

.vacancy-modal__form {
	max-width: none;
	gap: 0.62rem;
}

.vacancy-modal__form.form {
	gap: 0.62rem;
}

.vacancy-modal__form .form__row {
	gap: 0.28rem;
}

.vacancy-modal__form label {
	font-weight: 500;
	font-size: 0.8125rem;
	color: var(--ink-muted);
	letter-spacing: 0.01em;
}

.vacancy-modal__form input,
.vacancy-modal__form select {
	padding: 0.55rem 0.75rem;
	border-radius: 10px;
	border: 1px solid var(--line);
	background-color: var(--surface);
	font-size: 0.875rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vacancy-modal__form input:disabled {
	background: var(--surface-2);
	color: var(--muted);
	opacity: 1;
}

.vacancy-modal__form input:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--vm-accent) 55%, var(--line));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--vm-accent) 12%, transparent);
}

.vacancy-modal .alert {
	padding: 0.5rem 0.65rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	border-radius: 10px;
	margin: 0;
}

.vacancy-modal__submit {
	width: 100%;
	margin-top: 0.15rem;
	padding: 0.52rem 1rem;
	font-size: 0.8125rem;
	font-weight: 700;
	font-family: var(--font-display);
	border-radius: 10px;
	border: none;
	cursor: pointer;
	background: var(--vm-accent);
	color: #fff;
	box-shadow: 0 4px 16px rgba(220, 38, 38, 0.22);
	transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.vacancy-modal__submit:hover:not(:disabled) {
	background: var(--vm-accent-hover);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.28);
	transform: none;
}

.vacancy-modal__submit:disabled {
	opacity: 0.42;
	cursor: not-allowed;
	box-shadow: none;
}

.vacancy-modal__panel--success {
	text-align: center;
	padding: 0.5rem 0.25rem 0.15rem;
}

.vacancy-modal__success-icon {
	margin: 0 auto 0.85rem;
	color: #15803d;
	display: flex;
	justify-content: center;
}

.vacancy-modal__success-title {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 0.45rem;
	color: var(--ink);
	line-height: 1.2;
}

.vacancy-modal__success-text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--ink-muted);
}

.vacancy-modal__panel--success .vacancy-modal__submit {
	margin-top: 0;
}

/* Forms */
.form {
	display: grid;
	gap: 1rem;
	max-width: 560px;
}

.form__row {
	display: grid;
	gap: 0.35rem;
}

.form label {
	font-weight: 600;
	font-size: var(--step--1);
}

.form input,
.form textarea,
.form select {
	font: inherit;
	padding: 0.75rem 0.9rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	width: 100%;
}

.form textarea {
	min-height: 140px;
	resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
	border-color: transparent;
}

/*
 * Select в модалке: идёт ПОСЛЕ .form select, специфичность .vacancy-modal__form.form select выше.
 * Иначе shorthand background: у .form сбрасывает background-repeat → иконка тайлится по полю.
 */
.vacancy-modal__form.form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 0.55rem 2.85rem 0.55rem 0.75rem;
	background-color: var(--surface);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M8.25 10.5 12 14.25l3.75-3.75'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 1.35rem 1.35rem;
	background-position: right 1rem center;
	cursor: pointer;
}

.vacancy-modal__form.form select:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--vm-accent) 55%, var(--line));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--vm-accent) 12%, transparent);
	background-color: var(--surface);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23dc2626' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M8.25 10.5 12 14.25l3.75-3.75'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 1.35rem 1.35rem;
	background-position: right 1rem center;
}

.alert {
	padding: 0.9rem 1rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: var(--step--1);
}

.alert--ok {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.alert--err {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.75rem, 5vw, 3rem);
	align-items: start;
}

.contact-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
}

.contact-card h3 {
	font-family: var(--font-display);
	margin-top: 0;
}

/* Страница контактов (без формы — CTA на анкету) */
.contact-page-section {
	background: var(--surface-2);
	padding-bottom: clamp(2.5rem, 6vw, 4rem);
	border-top: 1px solid var(--line);
}

.section.contact-page-section.section--tight {
	padding-top: clamp(1rem, 3vw, 1.75rem);
}

.contact-page-inner {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 4vw, 2.25rem);
}

/* Контакты: реквизиты и CTA «Заявка» — в один ряд на десктопе */
.contact-page-inner.contact-page-inner--single {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.25rem, 3vw, 1.75rem);
	max-width: min(72rem, 100%);
	margin-inline: auto;
	align-items: stretch;
}

@media (min-width: 880px) {
	.contact-page-inner.contact-page-inner--single {
		grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.92fr);
		gap: clamp(1.35rem, 3.5vw, 2rem);
	}

	.contact-page-inner.contact-page-inner--single .home-cta-panel {
		margin-top: 0;
		height: 100%;
		display: flex;
		flex-direction: column;
	}

	.contact-page-inner.contact-page-inner--single .home-cta-panel__inner:not(.home-cta-panel__inner--contact) {
		flex: 1;
		align-content: center;
	}

	.contact-page-inner.contact-page-inner--single .home-cta-panel__inner--contact {
		flex: 1;
		align-content: start;
		justify-content: flex-start;
	}
}

.contact-top-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.15rem, 3vw, 1.5rem);
	align-items: stretch;
}

.contact-card--elevated {
	border-radius: 18px;
	padding: clamp(1.35rem, 3vw, 1.65rem);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.contact-card__eyebrow {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #dc2626;
}

.contact-card__title {
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 800;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--ink);
}

.contact-card__footer-link {
	margin: 1rem 0 0;
	font-size: var(--step--1);
	font-weight: 600;
}

.contact-card__meta--large a {
	font-size: var(--step-1);
	font-weight: 600;
}

.contact-card__hint {
	margin: 1rem 0 0;
	font-size: var(--step--1);
	line-height: 1.5;
	color: var(--muted);
}

.contact-card__legal--primary {
	margin: 0 0 0.35rem;
	font-size: var(--step-1);
}

.contact-card__trade--muted {
	display: block;
	margin: 0 0 1.1rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--muted);
	font-weight: 500;
}

.contact-card__meta--spaced {
	margin-top: 0.25rem;
	margin-bottom: 0.35rem;
}

.contact-card__address {
	margin: 0 0 0.85rem;
	font-size: var(--step--1);
	line-height: 1.55;
	color: var(--ink);
	white-space: normal;
}

/* «Контакты»: тот же ритм героя, что у лицензии (.page-hero--license); подзаголовок с отступом от h1 */
.page-hero--contact.page-hero--license .page-hero__lead--after-license-title {
	margin-top: clamp(0.85rem, 2.2vw, 1.15rem);
	max-width: min(60ch, 100%);
}

/* Карточка «Информация о компании» (макет: иконки + бейджи) */
.company-info-card__title {
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--ink);
}

.company-info-card__header {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 clamp(1.35rem, 3vw, 1.85rem);
	padding-bottom: clamp(1rem, 2.5vw, 1.25rem);
	border-bottom: 1px solid var(--line);
}

.company-info-card__header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--blue);
	flex-shrink: 0;
}

.company-info-card__header-icon .company-info-icon-svg {
	display: block;
	width: 28px;
	height: 28px;
}

.company-info-card__sections {
	display: flex;
	flex-direction: column;
	gap: clamp(1.35rem, 3vw, 1.75rem);
}

.company-info-section {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.company-info-section__icon-wrap {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--blue-soft);
	color: var(--blue);
}

.company-info-section__icon-wrap .company-info-icon-svg {
	display: block;
	width: 24px;
	height: 24px;
}

.company-info-section__main {
	min-width: 0;
	flex: 1;
}

.company-info-section__label {
	margin: 0 0 0.35rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.company-info-section__value {
	margin: 0 0 0.5rem;
	font-size: var(--step-0);
	font-weight: 600;
	line-height: 1.45;
	color: var(--ink);
}

.company-info-section__value--address {
	font-weight: 600;
}

.company-info-section__regs {
	margin: 0 0 0.65rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--muted);
	font-weight: 500;
}

.company-info-section__email {
	font-weight: 700;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: rgba(29, 78, 216, 0.35);
	text-underline-offset: 0.2em;
}

.company-info-section__email:hover {
	color: var(--blue-dark);
}

.company-info-section__hint {
	margin: 0.35rem 0 0;
	font-size: var(--step--1);
	line-height: 1.5;
	color: var(--muted);
}

.company-info-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.45rem 0.85rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	max-width: 100%;
}

.company-info-badge--soft {
	background: var(--blue-chip);
	color: var(--blue);
	border: 1px solid rgba(29, 78, 216, 0.15);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.company-info-badge--soft span {
	font-weight: 700;
}

.company-info-badge__star {
	flex-shrink: 0;
	color: var(--blue);
	opacity: 0.95;
}

.company-info-badge--solid {
	display: block;
	width: fit-content;
	background: var(--blue);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.6875rem;
	padding: 0.55rem 0.95rem;
	box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

.company-info-card__footer {
	margin: clamp(1.25rem, 3vw, 1.5rem) 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-size: var(--step--1);
	font-weight: 600;
}

@media (max-width: 480px) {
	.company-info-section {
		flex-direction: column;
		gap: 0.65rem;
	}

	.company-info-section__icon-wrap {
		width: 44px;
		height: 44px;
	}
}

.page-hero__lead {
	margin: 0;
	max-width: 48ch;
	color: var(--muted);
	font-size: var(--step-1);
	line-height: 1.55;
}

.page-hero__lead strong {
	color: var(--ink-muted);
	font-weight: 700;
}

/* Внутренние герои: «О компании», «Услуги» */
.about-page-hero-section,
.services-page-hero-section {
	background: linear-gradient(165deg, #eef2f7 0%, var(--surface-2) 48%, var(--surface) 100%);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(2.35rem, 6.5vw, 4rem);
}

.about-page-hero,
.services-page-hero {
	max-width: min(50rem, 100%);
}

.about-page-hero__badge,
.services-page-hero__badge {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.4rem 1rem;
	background: var(--blue-soft);
	color: var(--blue-dark);
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(29, 78, 216, 0.18);
}

.about-page-hero__title,
.services-page-hero__title {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: var(--step-4);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink);
	max-width: min(100%, 28ch);
}

.about-page-hero__chips,
.services-page-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	margin: 0 0 1.25rem;
}

.about-page-hero__chip,
.services-page-hero__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.32rem 0.85rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-muted);
	background: var(--surface);
	border: 1px solid var(--line);
}

.about-page-hero__lead,
.services-page-hero__lead {
	margin: 0 0 1.5rem;
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--muted);
	max-width: 52ch;
}

.about-page-hero__actions,
.services-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.about-page .about-page-hero__btn-primary,
.services-page .services-page-hero__btn-primary {
	background: #dc2626;
	border-color: #dc2626;
	box-shadow: 0 10px 28px rgba(220, 38, 38, 0.35);
	color: #fff;
}

.about-page .about-page-hero__btn-primary:hover,
.services-page .services-page-hero__btn-primary:hover {
	background: #b91c1c;
	color: #fff;
	box-shadow: 0 14px 36px rgba(220, 38, 38, 0.42);
}

@media (max-width: 560px) {
	.about-page-hero__title,
	.services-page-hero__title {
		max-width: none;
	}
}

.contact-page-cta {
	margin-top: 0;
}

@media (max-width: 820px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-top-grid {
		grid-template-columns: 1fr;
	}
}

/* Только вертикаль: shorthand padding с «0» по бокам затирал padding у .wrap на том же элементе */
.page-hero {
	padding-block-start: clamp(1.75rem, 5vw, 2.75rem);
}

.page-hero h1 {
	font-family: var(--font-display);
	font-size: var(--step-4);
	font-weight: 800;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.page-hero p {
	margin: 0;
	max-width: 60ch;
	color: var(--muted);
	font-size: var(--step-1);
}

/* Заголовок страницы лицензии: больше воздуха под навигацией и перед карточками */
.page-hero--license {
	padding-top: clamp(2.5rem, 6.5vw, 4rem);
	padding-bottom: clamp(1.75rem, 4.5vw, 3rem);
}

.page-hero--license h1 {
	margin: 0;
	line-height: 1.14;
	max-width: min(100%, 22ch);
}

@media (max-width: 560px) {
	.page-hero--license h1 {
		max-width: none;
	}
}

/* Вакансии: поверх .page-hero--license (на странице оба класса) */
.page-hero--license.page-hero--vacancies {
	padding-top: clamp(2rem, 5.5vw, 3.75rem);
	padding-bottom: clamp(1.45rem, 3.8vw, 2.65rem);
}

@media (max-width: 560px) {
	.page-hero--license.page-hero--vacancies {
		padding-top: clamp(1.45rem, 4.5vw, 2.1rem);
		padding-bottom: 1.1rem;
	}

	.page-hero--license.page-hero--vacancies h1 {
		font-size: clamp(1.28rem, 6.2vw, 1.85rem);
		line-height: 1.16;
	}
}

.section.license-page-section.section--tight {
	padding-top: clamp(1.25rem, 3.5vw, 2.25rem);
}

.prose {
	max-width: 68ch;
}

.prose p {
	color: var(--muted);
}

.content-block .license-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.5rem 1.25rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.license-dl {
	display: grid;
	grid-template-columns: minmax(8rem, 12rem) 1fr;
	gap: 0.65rem 1.25rem;
	margin: 0;
}

.license-dl dt {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step--1);
	color: var(--ink-muted);
	margin: 0;
}

.license-dl dd {
	margin: 0;
	color: var(--muted);
}

@media (max-width: 640px) {
	.license-dl {
		grid-template-columns: 1fr;
	}
}

.content-block .license-card h2 {
	font-family: var(--font-display);
	font-size: var(--step-2);
	margin: 0 0 1rem;
}

.license-card__lead {
	margin: 0 0 0.75rem;
}

.license-card__text {
	margin: 0 0 0.75rem;
}

.license-card__h3 {
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 700;
	margin: 1.25rem 0 0.5rem;
}

.license-list {
	margin: 0;
	padding-left: 1.25rem;
	color: var(--muted);
	line-height: 1.55;
}

.license-list li {
	margin-bottom: 0.4rem;
}

.license-card__muted {
	margin-bottom: 0 !important;
	font-size: var(--step--1) !important;
}

.license-figure {
	margin: 1.25rem 0 0;
	text-align: center;
}

.license-figure__img {
	width: 100%;
	max-width: 720px;
	height: auto;
	margin-inline: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
}

.license-figure__cap {
	margin: 0.85rem auto 0;
	font-size: var(--step--1);
	color: var(--muted);
	max-width: 56ch;
	text-align: left;
}

/* ——— Страница лицензии: компактная сетка (карточки) ——— */
.license-page-section {
	background: #eef2f7;
	padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
	margin-top: 0;
	border-top: 1px solid var(--line);
}

.license-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 1.02fr);
	gap: 1.25rem;
	align-items: start;
}

.license-layout__col--stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.license-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 1.35rem 1.4rem 1.3rem;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.license-panel__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.license-panel__icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	background: var(--blue-chip);
	color: var(--blue);
	display: grid;
	place-items: center;
}

.license-panel__icon svg {
	width: 1.45rem;
	height: 1.45rem;
}

.license-panel__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--ink);
}

.license-kicker {
	margin: 0 0 0.3rem;
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--blue);
}

.license-name {
	margin: 0 0 0.2rem;
	font-weight: 800;
	font-size: var(--step-1);
	color: var(--ink);
	line-height: 1.3;
}

.license-trade {
	margin: 0 0 1rem;
	font-size: var(--step--1);
	color: var(--muted);
	font-weight: 600;
}

.license-ids {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem 1rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}

.license-id__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.25rem;
}

.license-id__value {
	display: block;
	font-weight: 800;
	color: var(--ink);
	font-size: 0.9375rem;
	word-break: break-word;
}

.license-address {
	margin: 0 0 0.5rem;
	color: var(--ink);
	line-height: 1.45;
	font-size: var(--step--1);
}

.license-activity {
	background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 100%);
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	padding: 0.95rem 1rem;
	margin-top: 0.85rem;
}

.license-activity .license-kicker {
	color: #1d4ed8;
	margin-bottom: 0.4rem;
}

.license-activity p {
	margin: 0;
	font-size: var(--step--1);
	color: var(--ink-muted);
	line-height: 1.5;
}

.license-industries {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: var(--muted);
	line-height: 1.5;
}

.license-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.license-checklist li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: var(--step--1);
	line-height: 1.45;
	color: var(--ink-muted);
}

.license-checklist__icon {
	flex-shrink: 0;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: #dcfce7;
	color: #15803d;
	display: grid;
	place-items: center;
	margin-top: 0.12rem;
}

.license-checklist__icon svg {
	width: 0.78rem;
	height: 0.78rem;
}

.license-panel--doc .license-panel__head {
	margin-bottom: 0.65rem;
}

.license-doc-lead {
	margin: 0 0 0.85rem;
	font-size: var(--step--1);
	color: var(--muted);
	line-height: 1.5;
}

.license-doc-frame {
	padding: 0.65rem;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.license-doc-frame .license-figure {
	margin: 0;
}

.license-doc-frame .license-figure__img {
	max-width: 100%;
	width: 100%;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.license-layout__col--doc .license-panel--doc {
	position: sticky;
	top: calc(4.75rem + 0.5rem);
}

@media (max-width: 960px) {
	.license-layout {
		grid-template-columns: 1fr;
	}

	.license-layout__col--doc .license-panel--doc {
		position: static;
	}
}

@media (max-width: 520px) {
	.license-ids {
		grid-template-columns: 1fr;
	}
}

.contact-card__legal {
	line-height: 1.45;
	margin: 0 0 1rem;
	font-size: var(--step--1);
}

.contact-card__trade {
	display: inline-block;
	margin-top: 0.35rem;
	color: var(--muted);
	font-weight: 500;
}

.contact-card__meta {
	font-size: var(--step--1);
	line-height: 1.5;
	margin: 0 0 0.75rem;
}

/* ——— Главная: плитки в духе карточек вакансий ——— */
.home-board {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1.15rem;
	align-items: stretch;
}

.home-tile {
	--tile-accent: #dc2626;
	--tile-accent-dark: #b91c1c;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 1.35rem 1.35rem 1.2rem;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.05),
		0 12px 28px rgba(15, 23, 42, 0.06);
	transition: box-shadow 0.25s ease, border-color 0.2s ease;
}

.home-tile:hover {
	border-color: color-mix(in srgb, var(--tile-accent) 22%, var(--line));
	box-shadow:
		0 2px 4px rgba(220, 38, 38, 0.06),
		0 16px 40px rgba(15, 23, 42, 0.08);
}

.home-tile__eyebrow {
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tile-accent);
	margin: 0 0 0.45rem;
}

.home-tile__title {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
	font-weight: 800;
	margin: 0 0 0.55rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--ink);
}

.home-tile__text {
	margin: 0 0 0.85rem;
	color: var(--muted);
	font-size: var(--step--1);
	line-height: 1.55;
	flex-grow: 0;
}

.home-tile__list {
	margin: 0 0 1rem;
	padding-left: 1.15rem;
	color: var(--ink-muted);
	font-size: var(--step--1);
	line-height: 1.45;
}

.home-tile__list li {
	margin-bottom: 0.35rem;
}

.home-tile__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.25rem;
}

.home-tile__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.48rem 0.9rem;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	border-radius: 10px;
	text-decoration: none;
	border: 1.5px solid var(--tile-accent);
	color: var(--tile-accent);
	background: var(--surface);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-tile__link:hover {
	background: color-mix(in srgb, var(--tile-accent) 8%, var(--surface));
	color: var(--tile-accent-dark);
	border-color: var(--tile-accent-dark);
}

.home-tile__link--solid {
	background: var(--tile-accent);
	color: #fff;
	border-color: var(--tile-accent);
}

.home-tile__link--solid:hover {
	background: var(--tile-accent-dark);
	color: #fff;
	border-color: var(--tile-accent-dark);
}

.home-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1rem;
}

.home-step {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 1.2rem 1.15rem 1.05rem;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
	overflow: hidden;
}

.home-step::after {
	content: attr(data-step);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.5rem, 6vw, 3.25rem);
	line-height: 1;
	color: rgba(220, 38, 38, 0.09);
	position: absolute;
	right: 0.75rem;
	top: 0.25rem;
	pointer-events: none;
}

.home-step h3 {
	position: relative;
	z-index: 1;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 700;
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
	color: var(--ink);
	max-width: 15ch;
}

.home-step p {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: var(--step--1);
	color: var(--muted);
	line-height: 1.45;
}

.home-cta-panel {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 55%, #1e1b4b 100%);
	color: #e2e8f0;
	border-radius: 18px;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	margin-top: 0.5rem;
	box-shadow:
		0 2px 4px rgba(220, 38, 38, 0.08),
		0 20px 50px rgba(15, 23, 42, 0.2);
	border: 1px solid rgba(148, 163, 184, 0.2);
	position: relative;
	overflow: hidden;
}

.home-cta-panel::before {
	content: '';
	position: absolute;
	inset: -40% 30% auto -20%;
	height: 120%;
	background: radial-gradient(ellipse, rgba(220, 38, 38, 0.22), transparent 55%);
	pointer-events: none;
}

.home-cta-panel__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.25rem 2rem;
	align-items: center;
}

.home-cta-panel__eyebrow {
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fda4af;
	margin: 0 0 0.5rem;
}

.home-cta-panel h2 {
	font-family: var(--font-display);
	font-size: var(--step-3);
	font-weight: 800;
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
	line-height: 1.12;
	color: #fff;
}

.home-cta-panel__lead {
	margin: 0;
	font-size: var(--step-1);
	line-height: 1.5;
	color: rgba(226, 232, 240, 0.88);
	max-width: 52ch;
}

.home-cta-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: flex-end;
}

.home-cta-panel .btn--primary {
	box-shadow: 0 10px 28px rgba(220, 38, 38, 0.35);
	background: #dc2626;
}

.home-cta-panel .btn--primary:hover {
	box-shadow: 0 14px 36px rgba(220, 38, 38, 0.42);
	background: #b91c1c;
}

.home-cta-panel .btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.home-cta-panel .btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

@media (max-width: 720px) {
	.home-cta-panel__inner:not(.home-cta-panel__inner--contact) {
		grid-template-columns: 1fr;
	}

	.home-cta-panel__inner:not(.home-cta-panel__inner--contact) .home-cta-panel__actions {
		justify-content: flex-start;
	}
}

/* Блок «Заявка» на странице контактов: без длинного текста, шаги-карточки */
.home-cta-panel--contact {
	container-type: inline-size;
	container-name: contact-cta;
}

.home-cta-panel--contact .home-cta-panel__inner--contact {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.15rem;
	text-align: left;
}

.home-cta-panel__intro .home-cta-panel__eyebrow {
	margin-bottom: 0.4rem;
}

.home-cta-panel__intro h2 {
	margin-bottom: 0.35rem;
}

.home-cta-panel__tagline {
	margin: 0;
	font-size: var(--step--1);
	font-weight: 600;
	color: rgba(226, 232, 240, 0.78);
	line-height: 1.4;
	max-width: 36ch;
}

.contact-cta-flow {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
}

@container contact-cta (min-width: 400px) {
	.contact-cta-flow {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.contact-cta-flow__item {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.6rem 0.65rem;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 12px;
	backdrop-filter: blur(6px);
}

.contact-cta-flow__num {
	flex-shrink: 0;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #ef4444, #b91c1c);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.75rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.contact-cta-flow__text {
	font-size: 0.8125rem;
	line-height: 1.35;
	font-weight: 600;
	color: rgba(248, 250, 252, 0.94);
	margin: 0;
	padding-top: 0.12rem;
}

.home-cta-panel__actions--contact {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	width: 100%;
	margin-top: 0.15rem;
}

.home-cta-panel__actions--contact .btn {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.metrics--surface {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	/* Симметричные отступы: сверху и снизу одинаково, по горизонтали умеренно (боковой воздух даёт .wrap) */
	padding-block: clamp(1.45rem, 2.8vw, 1.85rem);
	padding-inline: clamp(0.65rem, 2vw, 1.1rem);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

/* ——— Завершение анкеты: ассистент TG / WA (как funnel на rt-crm) ——— */
.lead-confirm-page {
	background: var(--surface-2);
}

.lead-confirm-section {
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

.lead-confirm-wrap {
	display: flex;
	justify-content: center;
}

.lead-confirm-card {
	width: 100%;
	max-width: 32.5rem;
	margin-inline: auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 1.85rem);
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
	text-align: center;
}

.lead-confirm-eyebrow {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.lead-confirm-banner {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: var(--radius-sm);
	font-size: var(--step--1);
	line-height: 1.5;
	text-align: left;
}

.lead-confirm-banner--ok {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
	font-weight: 600;
}

.lead-confirm-title {
	margin: 0 0 1.25rem;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--ink);
}

.lead-confirm-photo {
	width: min(210px, 70vw);
	height: min(210px, 70vw);
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 0.75rem;
	display: block;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.lead-confirm-name {
	margin: 0 0 0.2rem;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 800;
	color: var(--ink);
}

.lead-confirm-role {
	margin: 0 0 0.5rem;
	font-size: var(--step--1);
	color: var(--muted);
}

.lead-confirm-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.35rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ink-muted);
	background: var(--surface-2);
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	margin-bottom: 1rem;
}

.lead-confirm-badge--neutral {
	color: var(--ink-muted);
	background: #f1f5f9;
	border-color: #e2e8f0;
}

.lead-confirm-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
	animation: lead-confirm-pulse 1.5s infinite;
}

.lead-confirm-dot--offline {
	background: #94a3b8;
	box-shadow: none;
	animation: none;
}

@keyframes lead-confirm-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

.lead-confirm-desc {
	margin: 0 0 1.25rem;
	font-size: var(--step--1);
	line-height: 1.55;
	color: var(--muted);
	text-align: center;
}

.lead-confirm-buttons {
	display: grid;
	gap: 0.75rem;
}

.lead-confirm-btn {
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 1rem;
	font-size: var(--step--1);
	border-radius: var(--radius-sm);
}

.lead-confirm-btn__ico {
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

.lead-confirm-btn--tg {
	border: 1.5px solid rgba(42, 171, 238, 0.45);
	background: var(--surface);
	color: #0369a1;
}

.lead-confirm-btn--tg:hover {
	background: #f0f9ff;
	color: #0c4a6e;
}

.lead-confirm-btn--tg .lead-confirm-btn__ico {
	color: #229ed9;
}

.lead-confirm-btn--wa {
	border: 1.5px solid rgba(34, 197, 94, 0.45);
	background: var(--surface);
	color: #15803d;
}

.lead-confirm-btn--wa:hover {
	background: #f0fdf4;
	color: #14532d;
}

.lead-confirm-btn--wa .lead-confirm-btn__ico {
	color: #25d366;
}

.lead-confirm-btn--secondary {
	background: var(--surface-2);
	color: var(--ink-muted);
	border: 1px solid var(--line);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lead-confirm-btn--secondary:hover {
	background: var(--line);
	color: var(--ink);
}

.lead-confirm-wa-wrap {
	display: block;
}

.lead-confirm-note {
	margin: 1rem 0 0;
	font-size: var(--step--1);
	line-height: 1.45;
	text-align: center;
}

.lead-confirm-note--err {
	color: #b91c1c;
}

.lead-confirm-note--warn {
	color: #92400e;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--radius-sm);
	padding: 0.75rem 1rem;
	margin-top: 1rem;
}

.lead-confirm-note--info {
	color: var(--muted);
	margin-top: 0;
}

.lead-confirm-fallback {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.lead-confirm-btn--mail {
	background: var(--blue);
	color: #fff !important;
	border: none;
	text-decoration: none !important;
	font-weight: 700;
	box-shadow: 0 6px 20px rgba(29, 78, 216, 0.3);
}

.lead-confirm-btn--mail:hover {
	background: var(--blue-dark);
	color: #fff !important;
}

.lead-confirm-back {
	margin: 1.5rem 0 0;
	font-size: var(--step--1);
}

.lead-confirm-back a {
	font-weight: 600;
}

/* ——— Страница отзывов ——— */
.reviews-page .reviews-section {
	background: #eef2f7;
	border-top: 1px solid var(--line);
	padding-bottom: clamp(2.5rem, 6vw, 3.75rem);
}

.section.reviews-section.section--tight {
	padding-top: clamp(1rem, 3vw, 1.5rem);
}

.reviews-toolbar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
	padding: clamp(1.05rem, 2.5vw, 1.35rem) clamp(1.2rem, 3vw, 1.85rem);
	padding-left: clamp(1.15rem, 3vw, 1.85rem);
	background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: clamp(18px, 2.8vw, 22px);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 14px 36px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.reviews-toolbar::before {
	content: "";
	position: absolute;
	left: 0;
	top: clamp(0.75rem, 2vw, 1.1rem);
	bottom: clamp(0.75rem, 2vw, 1.1rem);
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(180deg, var(--blue) 0%, #38bdf8 100%);
	box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
	pointer-events: none;
}

.reviews-toolbar__lead {
	display: flex;
	align-items: center;
	gap: 1rem 1.1rem;
	flex: 1 1 16rem;
	min-width: 0;
	padding-left: 0.35rem;
}

.reviews-toolbar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.1rem;
	height: 3.1rem;
	flex-shrink: 0;
	border-radius: 14px;
	color: var(--blue-dark);
	background: linear-gradient(145deg, rgba(219, 234, 254, 0.95), rgba(238, 242, 255, 0.9));
	border: 1px solid rgba(59, 130, 246, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 6px 16px rgba(37, 99, 235, 0.12);
}

.reviews-toolbar__text {
	flex: 1 1 auto;
	min-width: 0;
}

.reviews-toolbar__title {
	margin: 0 0 0.2rem;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink);
	line-height: 1.2;
}

.reviews-toolbar__tagline {
	margin: 0;
	font-size: var(--step--1);
	line-height: 1.45;
	color: var(--muted);
	max-width: 36ch;
}

.reviews-toolbar__btn {
	flex-shrink: 0;
	align-self: center;
	min-height: 2.875rem;
	padding-inline: 1.35rem 1.5rem;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(29, 78, 216, 0.42);
}

.reviews-toolbar__btn:hover {
	box-shadow: 0 14px 34px rgba(29, 78, 216, 0.5);
}

.reviews-toolbar__btn-icon {
	flex-shrink: 0;
	opacity: 0.95;
}

@media (max-width: 640px) {
	.reviews-toolbar {
		flex-direction: column;
		align-items: stretch;
		padding: 1.15rem 1.1rem 1.2rem;
		padding-left: 1.1rem;
	}

	.reviews-toolbar::before {
		top: 0.65rem;
		bottom: 0.65rem;
	}

	.reviews-toolbar__lead {
		padding-left: 0.25rem;
		align-items: flex-start;
	}

	.reviews-toolbar__tagline {
		max-width: none;
	}

	.reviews-toolbar__btn {
		width: 100%;
		order: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reviews-toolbar__btn:hover {
		box-shadow: 0 10px 28px rgba(29, 78, 216, 0.42);
	}
}

.reviews-local {
	margin-bottom: clamp(1.5rem, 4vw, 2rem);
	padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
	border-bottom: 1px dashed var(--line);
}

.reviews-local__heading {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.reviews-local__note {
	margin: 0 0 1rem;
	max-width: 60ch;
	font-size: var(--step--1);
	color: var(--muted);
	line-height: 1.45;
}

.reviews-section__subtitle {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--ink-muted);
}

.review-write-modal__lead {
	margin: -0.25rem 0 1.1rem;
	font-size: var(--step--1);
	line-height: 1.5;
	color: var(--muted);
}

.vacancy-modal.review-write-modal textarea,
.vacancy-modal.review-write-modal .review-write-modal__textarea {
	width: 100%;
	min-height: 6.5rem;
	padding: 0.65rem 0.75rem;
	font-family: var(--font-body);
	font-size: var(--step--1);
	line-height: 1.45;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	resize: vertical;
	background: var(--surface);
	color: var(--ink);
}

.vacancy-modal.review-write-modal textarea:focus {
	outline: 2px solid rgba(29, 78, 216, 0.35);
	outline-offset: 1px;
	border-color: rgba(29, 78, 216, 0.4);
}

.review-card--local {
	border-color: rgba(29, 78, 216, 0.28);
	box-shadow: 0 4px 20px rgba(29, 78, 216, 0.07);
}

.review-card__private {
	margin: 0;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--blue-dark);
	background: var(--blue-chip);
	padding: 0.35rem 0.65rem;
	border-radius: 8px;
	width: fit-content;
	border: 1px solid rgba(29, 78, 216, 0.15);
}

.review-card__local-actions {
	margin: 0;
	padding-top: 0.25rem;
	margin-top: auto;
}

.review-card__delete {
	background: transparent;
	border: none;
	padding: 0;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
	font-family: var(--font-body);
}

.review-card__delete:hover {
	color: #b91c1c;
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 1.15rem;
	align-items: stretch;
}

.review-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 1.15rem 1.2rem 1.1rem;
	box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-height: 100%;
}

.review-card__accent {
	position: absolute;
	top: 0.65rem;
	right: 0.85rem;
	pointer-events: none;
}

.review-card__qmark {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(2.5rem, 8vw, 3.25rem);
	line-height: 1;
	color: rgba(15, 23, 42, 0.06);
	font-weight: 700;
	display: block;
}

.review-card__head {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding-right: 2rem;
}

.review-card__avatar {
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	color: #fff;
	background: linear-gradient(
		145deg,
		hsl(var(--review-avatar-h, 215), 52%, 42%),
		hsl(var(--review-avatar-h, 215), 48%, 34%)
	);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.review-card__who {
	min-width: 0;
}

.review-card__name {
	margin: 0 0 0.15rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: var(--step-0);
	letter-spacing: -0.02em;
	color: var(--ink);
	line-height: 1.2;
}

.review-card__role {
	margin: 0 0 0.2rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--blue);
}

.review-card__origin {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.review-card__rating-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.review-card__stars {
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	color: #ca8a04;
	line-height: 1;
}

.review-card__date {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--muted);
}

.review-card__cal {
	flex-shrink: 0;
	opacity: 0.75;
}

.review-card__quote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 0.875rem;
	line-height: 1.45;
	font-style: normal;
	color: var(--ink-muted);
	flex: 1;
}

.review-card__status {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding-top: 0.25rem;
	margin-top: auto;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #15803d;
}

.review-card__check {
	flex-shrink: 0;
	color: #16a34a;
}

.reviews-cta {
	margin-top: clamp(1.75rem, 4vw, 2.5rem);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.reviews-cta__text {
	margin: 0;
	font-size: var(--step-0);
	font-weight: 600;
	color: var(--ink-muted);
	max-width: 36ch;
	line-height: 1.45;
}

.reviews-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

/* Главная: акцент как у карточек вакансий */
.is-home .hero__badge {
	background: #b91c1c;
	box-shadow: 0 4px 22px rgba(220, 38, 38, 0.38);
}

.is-home .btn--primary {
	background: #dc2626;
	box-shadow: 0 10px 28px rgba(220, 38, 38, 0.4);
}

.is-home .btn--primary:hover {
	background: #b91c1c;
	box-shadow: 0 14px 36px rgba(220, 38, 38, 0.48);
}

/* Footer */
.site-footer {
	--footer-fg: rgba(226, 232, 240, 0.92);
	--footer-muted: rgba(148, 163, 184, 0.82);
	position: relative;
	color: var(--footer-fg);
	margin-top: clamp(2.5rem, 7vw, 4rem);
	padding: clamp(2.5rem, 5.5vw, 3.5rem) 0 0;
	padding-bottom: env(safe-area-inset-bottom, 0);
	background:
		radial-gradient(120% 80% at 15% -20%, rgba(59, 130, 246, 0.14), transparent 55%),
		radial-gradient(90% 60% at 100% 100%, rgba(56, 189, 248, 0.06), transparent 45%),
		linear-gradient(180deg, #0f172a 0%, var(--footer) 38%, #070d16 100%);
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(59, 130, 246, 0.35) 18%,
		#38bdf8 50%,
		rgba(59, 130, 246, 0.35) 82%,
		transparent 100%
	);
	opacity: 0.95;
	pointer-events: none;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.site-footer .logo--footer-link {
	border-bottom: none;
	border-radius: var(--radius-sm);
	margin: -0.35rem -0.5rem;
	padding: 0.35rem 0.5rem;
	align-self: flex-start;
	transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.15s ease;
}

.site-footer .logo--footer-link:hover {
	background: rgba(59, 130, 246, 0.1);
	box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.22);
	color: #f8fafc;
}

.site-footer .logo--footer-link:hover .logo__line2 {
	color: rgba(248, 250, 252, 0.82);
}

.site-footer .logo--footer-link:hover .logo__glyph {
	color: #7dd3fc;
}

.site-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(12rem, 1.35fr) minmax(9.5rem, 0.95fr) minmax(9.5rem, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
	justify-content: space-between;
	padding-bottom: clamp(1.75rem, 4vw, 2.35rem);
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.site-footer__brand {
	max-width: 26rem;
}

.site-footer__tagline {
	margin: 0.85rem 0 0;
	color: var(--footer-muted);
	font-size: var(--step--1);
	line-height: 1.55;
	max-width: 22rem;
}

.site-footer__heading {
	font-family: var(--font-display);
	font-size: calc(var(--step--1) * 0.95);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	color: var(--footer-muted);
	font-weight: 700;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
	position: relative;
}

.site-footer__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 2.25rem;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, #60a5fa, #38bdf8);
}

.site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.15rem;
}

.site-footer__links a {
	display: block;
	padding: 0.5rem 0.65rem;
	margin: 0 -0.65rem;
	border-radius: var(--radius-sm);
	color: #e2e8f0;
	border-bottom: none;
	font-size: var(--step--1);
	font-weight: 500;
	line-height: 1.35;
}

.site-footer__links a:hover {
	color: #bae6fd;
	background: rgba(59, 130, 246, 0.12);
}

.site-footer__links a:focus-visible {
	outline: 2px solid #7dd3fc;
	outline-offset: 2px;
}

.site-footer .logo--footer-link:focus-visible {
	outline: 2px solid #7dd3fc;
	outline-offset: 3px;
}

.site-footer__bottom {
	position: relative;
	z-index: 1;
	padding-block: clamp(1rem, 3vw, 1.35rem);
	padding-inline: 0;
}

.site-footer__copy {
	margin: 0;
	font-size: var(--step--1);
	color: rgba(100, 116, 139, 0.92);
	line-height: 1.5;
	text-align: center;
	max-width: 52rem;
	margin-inline: auto;
}

@media (max-width: 900px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 2rem 1.5rem;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
		max-width: none;
		padding-bottom: 0.5rem;
		border-bottom: 1px dashed rgba(148, 163, 184, 0.12);
	}
}

@media (max-width: 720px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.65rem;
	}

	.site-footer__brand {
		border-bottom: none;
		padding-bottom: 0;
	}

	.site-footer__heading {
		margin-bottom: 0.65rem;
	}

	.site-footer__copy {
		text-align: center;
		padding-inline: 0.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer a {
		transition: none;
	}
}
