/**
 * UI-2028 / UI-2044 — зеркало a-vostok.com (секции Elementor + тексты,
 * Roboto, #F7931E, контент ~1140px). Не медиа-галерея.
 * Изоляция: только .Avostok-shell / html.Avostok-html. Не токены portal.css.
 */
html.Avostok-html,
html.Avostok-html body {
	background: #fff !important;
	color: #333;
	margin: 0;
	padding: 0;
}

html.Avostok-html body.Avostok-body {
	font-family: Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
}

html.Avostok-html .Aiesec-cabinet__nav,
html.Avostok-html .Aiesec-cabinet__nav-shell,
html.Avostok-html [data-aiesec-megamenu],
html.Avostok-html .Aiesec-forms-aside,
html.Avostok-html .Aiesec-aside,
html.Avostok-html .Aiesec-page-header,
html.Avostok-html .Aiesec-dev-switch,
html.Avostok-html [data-aiesec-lk-shell],
html.Avostok-html .dd-footer,
html.Avostok-html footer.footer,
html.Avostok-html #dd-sidebar,
html.Avostok-html .Aiesec-portal-top {
	display: none !important;
}

.Avostok-shell {
	--av-black: #0d0d0d;
	--av-ink: #1a1a1a;
	--av-body: #333333;
	--av-muted: #54595f;
	--av-paper: #ffffff;
	--av-soft: #f5f5f5;
	--av-line: #e5e5e5;
	--av-accent: #f7931e; /* Elementor CTA rgb(247,147,30) */
	--av-content: 1140px;
	--av-gutter: 28px;
	background: var(--av-paper);
	color: var(--av-body);
	min-height: 100vh;
	isolation: isolate;
}

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

.Avostok-shell a {
	color: inherit;
	text-decoration: none;
}

.Avostok-shell img,
.Avostok-shell video {
	max-width: 100%;
	display: block;
}

.Avostok-shell ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.Avostok-wrap {
	max-width: var(--av-content);
	margin: 0 auto;
	padding-left: var(--av-gutter);
	padding-right: var(--av-gutter);
}

/* Header — sticky black bar like WP */
.Avostok-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--av-black);
	color: #fff;
}

.Avostok-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	/* UI-2043: full-bleed — логотип в колонке контента, приветствие у правого края */
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 10px var(--av-gutter) 10px max(var(--av-gutter), calc((100% - var(--av-content)) / 2 + var(--av-gutter)));
	box-sizing: border-box;
}

/* UI-2041/2043: приветствие у правого края; текст left */
.Avostok-header__user {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 10px;
	margin-left: auto;
	margin-right: 0;
	max-width: min(28rem, 55vw);
	color: #fff;
	background: transparent;
}

.Avostok-header__greet {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	min-width: 0;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	color: #fff;
}

.Avostok-header__greet-hello,
.Avostok-header__greet-name,
.Avostok-header__greet-role {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #fff;
}

.Avostok-header__logout {
	flex: 0 0 auto;
	margin: 0;
	padding-top: 0.05em;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #fff !important;
	text-decoration: underline;
	background: transparent;
}

.Avostok-header__logout:hover,
.Avostok-header__logout:focus {
	color: var(--av-accent) !important;
	text-decoration: none;
}

.Avostok-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	transition: opacity 0.25s ease;
}

.Avostok-logo:hover {
	opacity: 0.88;
}

.Avostok-logo img {
	/* оригинал ~190×89 */
	height: 89px;
	width: auto;
}

/* UI-2037: меню шапки скрыто */
.Avostok-nav {
	display: none !important;
}

.Avostok-nav--legacy {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0;
}

.Avostok-nav__link {
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	color: #fff;
	padding: 13px 20px;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.Avostok-nav__link:hover,
.Avostok-nav__link.is-active {
	color: var(--av-accent);
	border-bottom-color: var(--av-accent);
}

/* Hero */
.Avostok-hero {
	position: relative;
	min-height: min(72vh, 700px);
	background: #1a1a1a center / cover no-repeat;
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
}

.Avostok-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.52) 100%);
	pointer-events: none;
	z-index: 1;
}

.Avostok-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 28px;
	/* UI-2035: левый край = колонка логотипа шапки (п.5) */
	max-width: var(--av-content);
	width: 100%;
	margin: 0 auto;
	padding: 48px var(--av-gutter) 28px;
	box-sizing: border-box;
}

/* UI-2034/2035: сущность «СЕРВИС КЛАССА» + знак A — по вертикали с логотипом */
.Avostok-hero__brand {
	max-width: min(36rem, 100%);
	margin-right: auto;
}

.Avostok-hero__brand-img {
	display: block;
	width: clamp(180px, 28vw, 360px);
	height: auto;
	margin: 0 0 18px;
	object-fit: contain;
}

.Avostok-hero__title {
	margin: 0 0 12px;
	max-width: 28em;
	font-family: Roboto, sans-serif;
	font-size: clamp(18px, 2.2vw, 28px);
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: #fff;
}

.Avostok-hero__lead {
	margin: 0;
	max-width: 36em;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
}

/* UI-2043: ACL-кнопки — у правого края hero (не колонки контента) */
.Avostok-hero__actions {
	position: absolute;
	z-index: 4;
	right: var(--av-gutter);
	bottom: 28px;
	left: auto;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	width: auto;
	max-width: calc(100% - 2 * var(--av-gutter));
}

.Avostok-hero__cta,
.Avostok-gate__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 250px;
	min-height: 48px;
	padding: 15px 50px;
	border: 0;
	border-radius: 2px;
	background: var(--av-accent);
	color: #fff !important;
	font-family: Roboto, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.Avostok-hero__cta:hover,
.Avostok-hero__cta:focus,
.Avostok-gate__btn:hover,
.Avostok-gate__btn:focus {
	background: #ffa94a;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(247, 147, 30, 0.35);
}

.Avostok-hero__cta {
	flex: 0 0 auto;
	margin-right: auto;
}

.Avostok-hero__gate {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	margin-left: 0;
	max-width: none;
}

.Avostok-gate__btn--client,
.Avostok-gate__btn--specialist {
	background: var(--av-accent);
	color: #fff !important;
}

/* UI-2032: служебные сообщения Joomla на витрине А-Восток не показывать */
html.Avostok-html #system-message-container,
html.Avostok-html #system-message,
body.Avostok-body #system-message-container,
body.Avostok-body #system-message,
.Avostok-shell ~ #system-message-container,
.Avostok-shell ~ #system-message {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

/* UI-2033: слот логина — верхний правый угол hero */
.Avostok-hero__login-slot {
	position: absolute;
	z-index: 6;
	top: 16px;
	right: 16px;
	pointer-events: none;
}

.Avostok-hero__login-slot > * {
	pointer-events: auto;
}

.Avostok-hero-login {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 11.5rem;
	padding: 12px;
	/* фон прозрачен на 60% → alpha 0.4, фото проглядывает */
	/* UI-2045: ещё на 40% прозрачнее (было 0.4 → 0.24) */
	background: rgba(255, 255, 255, 0.24);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(2px);
}

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

.Avostok-hero-login__input {
	width: 100%;
	height: 2rem;
	margin: 0;
	padding: 0 8px;
	border: 1px solid rgba(0, 0, 0, 0.28);
	border-radius: 2px;
	background: #fff;
	color: #111;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.2;
}

.Avostok-hero-login__input::placeholder {
	color: rgba(0, 0, 0, 0.45);
}

.Avostok-hero-login__btn {
	width: 100%;
	height: 2.15rem;
	margin: 0;
	padding: 0 10px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 2px;
	background: color-mix(in srgb, var(--av-accent) 55%, #fff);
	color: #111;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.Avostok-hero-login__btn:hover {
	background: color-mix(in srgb, var(--av-accent) 40%, #fff);
}

/* Reveal (Elementor fadeInUp analogue) */
.Avostok-reveal {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity 0.7s ease, transform 0.7s ease;
	will-change: opacity, transform;
}

.Avostok-reveal.is-in {
	opacity: 1;
	transform: none;
}

.Avostok-reveal--delay-1 { transition-delay: 0.08s; }
.Avostok-reveal--delay-2 { transition-delay: 0.16s; }
.Avostok-reveal--delay-3 { transition-delay: 0.24s; }
.Avostok-reveal--delay-4 { transition-delay: 0.32s; }

/* About — без контактов справа; шеврон как фон */
.Avostok-about {
	position: relative;
	overflow: hidden;
	background: #fff;
	padding: 72px 0 48px;
}

.Avostok-about__mark {
	position: absolute;
	left: 50%;
	top: 8%;
	width: min(520px, 48vw);
	height: auto;
	opacity: 0.14;
	transform: translateX(-18%);
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

.Avostok-about__inner {
	position: relative;
	z-index: 1;
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
}

.Avostok-about__main {
	max-width: 720px;
	margin-left: auto;
	margin-right: 0;
	padding-right: min(4vw, 48px);
}

.Avostok-about__kicker {
	margin: 0 0 12px;
	font-size: clamp(48px, 8vw, 90px);
	font-weight: 600;
	line-height: 1;
	color: var(--av-ink);
	letter-spacing: -0.02em;
}

.Avostok-about__title {
	margin: 0 0 20px;
	font-family: Roboto, sans-serif;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 600;
	line-height: 1.25;
	color: var(--av-ink);
}

.Avostok-about__text p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--av-body);
}

/* Stats — плотная сетка 4×2 */
.Avostok-stats {
	background: #fff;
	padding: 8px 0 64px;
}

.Avostok-stats__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
}

.Avostok-stats__title {
	margin: 0 0 28px;
	font-family: Roboto, sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--av-ink);
}

.Avostok-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 14px;
	max-width: 920px;
	margin: 0 auto;
}

.Avostok-stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.Avostok-stat__media {
	overflow: hidden;
}

.Avostok-stat__img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	background: #ddd;
	transition: transform 0.45s ease;
}

.Avostok-stat:hover .Avostok-stat__img {
	transform: scale(1.04);
}

.Avostok-stat__num {
	margin: 0;
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 400;
	line-height: 1;
	font-family: Roboto, sans-serif;
	color: var(--av-ink);
}

.Avostok-stat__label {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--av-muted);
	min-height: 2.6em;
}

/* Services intro + dark lists + checks + cats */
.Avostok-services {
	background: #fff;
	padding: 40px 0 0;
}

.Avostok-services__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter) 40px;
}

.Avostok-services__title {
	margin: 0 0 24px;
	font-family: Roboto, sans-serif;
	font-size: clamp(48px, 8vw, 90px);
	font-weight: 600;
	line-height: 1;
	color: var(--av-ink);
}

.Avostok-services__lead {
	max-width: 820px;
}

.Avostok-services__lead p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--av-body);
}

.Avostok-services-dark {
	background: #4a4a4a;
	color: #fff;
	padding: 48px 0;
}

.Avostok-services-dark__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 48px;
}

.Avostok-services-dark__h {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.Avostok-bullets {
	list-style: none;
	margin: 0;
	padding: 0;
}

.Avostok-bullets li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 18px;
	font-size: 15px;
	line-height: 1.45;
	color: inherit;
}

.Avostok-bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--av-accent);
}

.Avostok-services-dark .Avostok-bullets li {
	color: rgba(255, 255, 255, 0.92);
}

.Avostok-services-checks {
	background: #fff;
	padding: 56px 0 48px;
}

.Avostok-services-checks__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 28px;
}

.Avostok-check {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.Avostok-check__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 2px solid var(--av-accent);
	border-radius: 50%;
	color: var(--av-accent);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.Avostok-check__icon::before {
	content: "\2713";
}

.Avostok-check__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--av-body);
}

.Avostok-cats {
	background: #3f3f3f;
	padding: 28px 0 32px;
}

.Avostok-cats__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px 12px;
}

.Avostok-cat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: #fff;
	min-width: 0;
	transition: transform 0.3s ease;
}

.Avostok-cat:hover {
	transform: translateY(-3px);
	color: #fff;
}

.Avostok-cat__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #222;
}

.Avostok-cat__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.Avostok-cat:hover .Avostok-cat__media img {
	transform: scale(1.06);
}

.Avostok-cat__title {
	font-size: 13px;
	line-height: 1.35;
	font-weight: 500;
}

/* Topic blocks (питание / клининг / …) — видео внутри раздела */
.Avostok-topic {
	background: #fff;
	padding: 56px 0 40px;
	border-bottom: 1px solid var(--av-line);
}

.Avostok-topic__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
}

.Avostok-topic__title {
	margin: 0 0 24px;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--av-ink);
}

.Avostok-topic__banner {
	margin: 0 0 32px;
	overflow: hidden;
	background: #111;
}

.Avostok-topic__banner video,
.Avostok-topic__banner img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	display: block;
}

.Avostok-topic__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 48px;
	margin-bottom: 36px;
}

.Avostok-topic__block {
	margin-bottom: 22px;
}

.Avostok-topic__block-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: var(--av-ink);
}

.Avostok-topic .Avostok-bullets li {
	color: var(--av-body);
}

.Avostok-topic__note {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--av-body);
	max-width: 40rem;
}

.Avostok-principles {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 28px 36px;
	align-items: start;
	margin-bottom: 28px;
}

.Avostok-principles__media {
	overflow: hidden;
	background: #eee;
}

.Avostok-principles__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.Avostok-principles__title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 600;
	color: var(--av-ink);
}

.Avostok-principles:not(:has(.Avostok-principles__media)) {
	grid-template-columns: 1fr;
}

.Avostok-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.Avostok-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease;
}

.Avostok-cta--order {
	background: var(--av-accent);
	color: #111;
}

.Avostok-cta--order:hover {
	background: #e08416;
	color: #111;
}

.Avostok-cta--job {
	background: transparent;
	color: var(--av-ink);
	border: 2px solid var(--av-accent);
}

.Avostok-cta--job:hover {
	background: rgba(247, 147, 30, 0.12);
	color: var(--av-ink);
}

/* Projects — тёмный фон, сетка 2×2 + подписи */
.Avostok-projects {
	padding: 64px 0 72px;
	background: #2c2c2c;
	color: #fff;
}

.Avostok-projects__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
}

.Avostok-projects__title {
	margin: 0 0 28px;
	font-family: Roboto, sans-serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	color: #fff;
}

.Avostok-projects__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
}

.Avostok-proj {
	margin: 0;
	overflow: hidden;
}

.Avostok-proj img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.Avostok-proj:hover img {
	transform: scale(1.04);
}

.Avostok-proj__cap {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
	white-space: pre-line;
}

.Avostok-map {
	margin-top: 40px;
	overflow: hidden;
	background: #1a1a1a;
}

.Avostok-map img {
	width: 100%;
	height: auto;
	transition: transform 0.6s ease;
}

.Avostok-map:hover img {
	transform: scale(1.02);
}

/* Footer */
.Avostok-footer {
	background: var(--av-black);
	color: #fff;
	padding: 56px 0 36px;
}

.Avostok-footer__inner {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 0 var(--av-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 40px;
	align-items: start;
}

.Avostok-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.Avostok-footer__logo {
	width: auto;
	height: 56px;
	object-fit: contain;
	object-position: left center;
}

.Avostok-footer__social {
	display: flex;
	gap: 10px;
}

.Avostok-footer__soc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
}

.Avostok-footer__soc:hover {
	border-color: var(--av-accent);
	color: var(--av-accent);
}

.Avostok-footer__pay {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.Avostok-footer__pay img {
	height: 22px;
	width: auto;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

.Avostok-footer__pay-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.75);
}

.Avostok-footer__contacts {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.Avostok-footer h2 {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 600;
	font-family: Roboto, sans-serif;
	color: #fff;
}

.Avostok-footer p,
.Avostok-footer a {
	margin: 0 0 8px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.88);
	transition: color 0.2s ease;
}

.Avostok-footer a:hover {
	color: var(--av-accent);
}

.Avostok-footer__legal {
	grid-column: 1 / -1;
	margin-top: 8px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.Avostok-stub {
	max-width: var(--av-content);
	margin: 0 auto;
	padding: 16px var(--av-gutter);
	font-size: 13px;
	color: var(--av-muted);
	background: #fff8e8;
	border-bottom: 1px solid #f0e0b8;
}

/* UI-2038: служебная заглушка только под подвалом */
.Avostok-stub--below-footer {
	max-width: none;
	margin: 0;
	padding: 14px var(--av-gutter) 20px;
	background: #1a1a1a;
	color: rgba(255, 255, 255, 0.72);
	border-bottom: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

@media (max-width: 960px) {
	.Avostok-logo img {
		height: 64px;
	}

	.Avostok-stats__grid,
	.Avostok-services-dark__inner,
	.Avostok-services-checks__inner,
	.Avostok-topic__cols,
	.Avostok-principles,
	.Avostok-projects__grid,
	.Avostok-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

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

	.Avostok-about__main {
		margin-right: auto;
		padding-right: 0;
	}

	.Avostok-stat__num {
		font-size: 42px;
	}

	.Avostok-about__kicker,
	.Avostok-services__title {
		font-size: 56px;
	}
}

@media (max-width: 640px) {
	.Avostok-header__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 10px 16px;
	}

	.Avostok-hero__content,
	.Avostok-about__inner,
	.Avostok-stats__inner,
	.Avostok-services__inner,
	.Avostok-services-dark__inner,
	.Avostok-services-checks__inner,
	.Avostok-cats__inner,
	.Avostok-topic__inner,
	.Avostok-projects__inner,
	.Avostok-footer__inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.Avostok-stats__grid,
	.Avostok-services-dark__inner,
	.Avostok-services-checks__inner,
	.Avostok-cats__inner,
	.Avostok-topic__cols,
	.Avostok-principles,
	.Avostok-projects__grid,
	.Avostok-footer__inner {
		grid-template-columns: 1fr;
	}

	.Avostok-hero {
		min-height: 70vh;
	}

	.Avostok-hero__content {
		padding: 40px 16px 20px;
		gap: 20px;
	}

	.Avostok-hero__brand-img {
		width: clamp(140px, 55vw, 260px);
		margin-bottom: 12px;
	}

	.Avostok-hero__login-slot {
		top: 12px;
		right: 12px;
	}

	.Avostok-hero__actions {
		right: 16px;
		bottom: 16px;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: 12px;
	}

	.Avostok-hero__gate {
		width: auto;
		margin-left: 0;
		justify-content: flex-end;
		flex-wrap: wrap;
	}

	.Avostok-gate__btn {
		min-width: 0;
		width: auto;
		max-width: 100%;
		padding: 14px 28px;
	}

	.Avostok-stat__img {
		height: 120px;
	}

	.Avostok-stat__num {
		font-size: 36px;
	}

	.Avostok-footer__contacts {
		gap: 20px;
	}
}
