/* ==========================================================================
   Окская Ярмарка — основные стили
   Разработано: маркетинговое агентство «Мегабит Веб» — megabit-rk.ru
   ========================================================================== */

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/manrope-400.ttf') format('truetype');
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/manrope-500.ttf') format('truetype');
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/manrope-600.ttf') format('truetype');
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/manrope-700.ttf') format('truetype');
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/manrope-800.ttf') format('truetype');
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/unbounded-500.ttf') format('truetype');
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/unbounded-600.ttf') format('truetype');
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/unbounded-700.ttf') format('truetype');
}

:root {
	--ink: #16191e;
	--ink-soft: #3a3f47;
	--muted: #6f747d;
	--bg: #f7f6f2;
	--bg-soft: #efece5;
	--line: #e2dfd6;
	--card: #ffffff;
	--accent: #e4231c;
	--accent-dark: #c01a14;
	--cyan: #19a7ce;
	--green: #7dc242;
	--yellow: #f5b316;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px rgba(22, 25, 30, 0.08);
	--shadow-lg: 0 24px 60px rgba(22, 25, 30, 0.14);
	--font-display: 'Unbounded', 'Arial', sans-serif;
	--font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html,
body { width: 100%; max-width: 100%; }
html { scroll-behavior: smooth; overflow-x: clip; }

body.yarm {
	width: 100%;
	min-width: 320px;
	max-width: 100%;
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }

.yarm-container { width: 100%; max-width: 1280px; min-width: 0; margin: 0 auto; padding: 0 24px; }

.yarm-h1 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(30px, 4.4vw, 54px);
	line-height: 1.08;
	margin: 0 0 18px;
	letter-spacing: 0.01em;
}
.yarm-h1--sm { font-size: clamp(26px, 3.4vw, 40px); }

.yarm-h2 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.15;
	margin: 14px 0 16px;
}
.yarm-h2--light { color: #fff; }

.yarm-h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 18px;
	margin: 34px 0 14px;
}

.yarm-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 10px;
}
.yarm-eyebrow--light { color: var(--yellow); }

.yarm-section { padding: 88px 0; }
.yarm-section--soft { background: var(--bg-soft); }
.yarm-section--top0 { padding-top: 34px; }
.yarm-mt { margin-top: 56px; }

.yarm-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.yarm-content { font-size: 17px; color: var(--ink-soft); }
.yarm-content p { margin: 0 0 16px; }
.yarm-content a { color: var(--accent); }
.yarm-content ul, .yarm-content ol { padding-left: 22px; margin: 0 0 16px; }

/* ---------- Кнопки ---------- */
.yarm-btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.yarm-btn:hover { transform: translateY(-2px); }
.yarm-btn--accent { background: var(--accent); color: #fff; }
.yarm-btn--accent:hover { background: var(--accent-dark); box-shadow: 0 12px 26px rgba(228, 35, 28, 0.3); }
.yarm-btn--dark { background: var(--ink); color: #fff; }
.yarm-btn--dark:hover { background: #2a2f37; }
.yarm-btn--light { background: #fff; color: var(--ink); }
.yarm-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.yarm-btn--ghost:hover { background: var(--ink); color: #fff; }
.yarm-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.yarm-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.yarm-btn--sm { padding: 10px 18px; font-size: 13.5px; }
.yarm-btn--lg { padding: 17px 32px; font-size: 16px; }
.yarm-btn--block { display: block; width: 100%; text-align: center; }

.yarm-link {
	display: inline-block;
	color: var(--accent);
	font-weight: 700;
	text-decoration: none;
}
.yarm-link:hover { text-decoration: underline; }
.yarm-link--lg { font-size: 17px; }

.yarm-chip {
	display: inline-block;
	background: rgba(228, 35, 28, 0.08);
	color: var(--accent);
	border-radius: 999px;
	padding: 5px 13px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.02em;
}
.yarm-chip--dark { background: var(--ink); color: #fff; }
.yarm-chip--accent { background: var(--accent); color: #fff; }
.yarm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.yarm-chips--card { gap: 6px; margin-top: 0; }
.yarm-chips--card .yarm-chip { padding: 4px 9px; font-size: 11.5px; letter-spacing: 0; }

.yarm-price-badge {
	display: inline-block;
	background: var(--yellow);
	color: var(--ink);
	font-weight: 800;
	padding: 8px 16px;
	border-radius: 999px;
}

.yarm-skip {
	position: absolute;
	left: -9999px;
}

/* ---------- Верхняя полоса ---------- */
.yarm-topbar {
	background: var(--ink);
	color: #cfd3d9;
	font-size: 13px;
}
.yarm-topbar__in {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 38px;
}
.yarm-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.yarm-topbar a:hover { color: var(--yellow); }
.yarm-topbar__addr { opacity: 0.85; }
.yarm-topbar__hours { opacity: 0.6; }
.yarm-topbar__phone2 { opacity: 0.85; }
.yarm-topbar__right { margin-left: auto; display: flex; gap: 16px; }

/* ---------- Шапка ---------- */
.yarm-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(247, 246, 242, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.3s ease;
}
.yarm-header.is-scrolled { box-shadow: var(--shadow); }
.yarm-header__in {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 74px;
}
.yarm-header__logo img { height: 44px; width: auto; }

.yarm-nav__list {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space:nowrap;
}
.yarm-nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	color: var(--ink-soft);
	transition: background 0.25s ease, color 0.25s ease;
}
.yarm-nav__list a:hover { background: rgba(22, 25, 30, 0.06); color: var(--ink); }
.yarm-nav__list .current-menu-item > a,
.yarm-nav__list .current_page_item > a { color: var(--accent); }
.yarm-nav__list a.is-cta { background: var(--accent); color: #fff; }

.yarm-header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.yarm-header__lk { font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--muted); }
.yarm-header__lk:hover { color: var(--ink); }
.yarm-header__cta { display: none; }

.yarm-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.yarm-burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.yarm-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.yarm-burger.is-open span:nth-child(2) { opacity: 0; }
.yarm-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.yarm-nav-overlay { display: none; }

/* ---------- Hero ---------- */
.yarm-hero { position: relative; color: #fff; overflow: hidden; }
.yarm-hero__bg { position: absolute; inset: 0; }
.yarm-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.yarm-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(15, 17, 21, 0.82) 8%, rgba(15, 17, 21, 0.45) 55%, rgba(15, 17, 21, 0.15) 100%);
}
.yarm-hero__in {
	position: relative;
	padding-top: 110px;
	padding-bottom: 130px;
	max-width: 1280px;
}
.yarm-hero__chip {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(6px);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 26px;
}
.yarm-hero__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(42px, 7.2vw, 96px);
	line-height: 0.98;
	margin: 0 0 24px;
	letter-spacing: 0.01em;
}
.yarm-hero__sub {
	max-width: 560px;
	font-size: clamp(16px, 1.6vw, 19px);
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 34px;
}
.yarm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Цифры ---------- */
.yarm-stats { background: var(--ink); color: #fff; }
.yarm-stats__in {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 34px 24px;
}
.yarm-stat-item b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	color: var(--yellow);
}
.yarm-stat-item span { color: rgba(255, 255, 255, 0.7); font-size: 14px; }

/* ---------- Сплит-секции ---------- */
.yarm-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.yarm-split__media { position: relative; }
.yarm-split__media img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}
.yarm-split__tag {
	position: absolute;
	left: 18px;
	bottom: 18px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 800;
}

.yarm-ticks { list-style: none; margin: 18px 0 26px; padding: 0; }
.yarm-ticks li {
	position: relative;
	padding: 7px 0 7px 34px;
	font-weight: 600;
	color: var(--ink-soft);
}
.yarm-ticks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(228, 35, 28, 0.1);
	border: 2px solid var(--accent);
}
.yarm-ticks li::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 16px;
	width: 8px;
	height: 4px;
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
}
.yarm-ticks--light li { color: rgba(255, 255, 255, 0.85); }
.yarm-ticks--light li::before { background: rgba(255, 255, 255, 0.15); border-color: var(--yellow); }
.yarm-ticks--light li::after { border-color: var(--yellow); }

/* ---------- Сетка карточек ---------- */
.yarm-grid { display: grid; gap: 26px; }
.yarm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.yarm-card {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yarm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.yarm-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.yarm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.yarm-card:hover .yarm-card__media img { transform: scale(1.05); }
.yarm-card__logo {
	position: absolute;
	left: 14px;
	bottom: 14px;
	background: #fff;
	border-radius: 12px;
	padding: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.yarm-card__logo img { width: 46px; height: 46px; object-fit: contain; border-radius: 7px; }
.yarm-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.yarm-card__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0; line-height: 1.25; }
.yarm-card__title a { text-decoration: none; }
.yarm-card__title a:hover { color: var(--accent); }
.yarm-card__meta { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.yarm-card__desc { margin: 0; color: var(--ink-soft); font-size: 14.5px; flex: 1; }

/* ---------- CTA-секции ---------- */
.yarm-cta {
	background: var(--ink);
	color: #fff;
	padding: 88px 0;
	position: relative;
	overflow: hidden;
}
.yarm-cta::before {
	content: '';
	position: absolute;
	right: -140px;
	top: -140px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(228, 35, 28, 0.35), rgba(228, 35, 28, 0) 70%);
}
.yarm-cta__in {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 60px;
	align-items: center;
}
.yarm-cta p { color: rgba(255, 255, 255, 0.8); max-width: 540px; }
.yarm-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.yarm-cta__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.yarm-cta--slim { padding: 72px 0; text-align: center; }
.yarm-cta__slim { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.yarm-cta__slim .yarm-cta__actions { justify-content: center; }

/* ---------- Карточки акций ---------- */
.yarm-promo-card {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yarm-promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.yarm-promo-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.yarm-promo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.yarm-promo-card:hover .yarm-promo-card__media img { transform: scale(1.05); }
.yarm-promo-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
}
.yarm-promo-card__body { padding: 20px 22px 24px; }
.yarm-promo-card__body h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 10px; line-height: 1.3; }
.yarm-promo-card__body h3 a { text-decoration: none; }
.yarm-promo-card__body h3 a:hover { color: var(--accent); }
.yarm-promo-card__body p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14.5px; }
.yarm-promo-card__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.yarm-promo-card__until { color: var(--accent); }
.yarm-promo-tenant-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	margin-bottom: 10px;
}
.yarm-promo-tenant-line img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	border-radius: 6px;
	background: #f6f5f1;
}
.yarm-promo-tenant-line:hover { color: var(--accent); }
.yarm-promo-card__actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--border);
	align-items: center;
}
.yarm-promo-full-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.yarm-promo-full-img img { width: 100%; max-height: 480px; object-fit: cover; }

/* ---------- Вакансии ---------- */
.yarm-vac-list { display: flex; flex-direction: column; }
.yarm-vac-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 24px;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-decoration: none;
	margin-bottom: 14px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.yarm-vac-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.yarm-vac-item__title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }
.yarm-vac-item__title small { display: block; font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 5px; }
.yarm-vac-item__salary { font-weight: 800; color: var(--accent); white-space: nowrap; }
.yarm-vac-item__arrow { font-size: 20px; color: var(--muted); }
.yarm-vac-list--full { max-width: 860px; }

/* ---------- Карточка арендатора ---------- */
.yarm-tenant-head { padding: 40px 0 8px; }
.yarm-breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.yarm-breadcrumbs a { color: var(--muted); text-decoration: none; }
.yarm-breadcrumbs a:hover { color: var(--accent); }
.yarm-tenant-head__row { display: flex; gap: 26px; align-items: center; }
.yarm-tenant-head__logo {
	flex: none;
	width: 92px;
	height: 92px;
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--shadow);
	padding: 10px;
}
.yarm-tenant-head__logo img { width: 100%; height: 100%; object-fit: contain; }
.yarm-tenant-head__org { margin: 6px 0 0; color: var(--muted); font-weight: 600; }

.yarm-tenant-body {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.yarm-side-card {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 26px;
	margin-bottom: 20px;
}
.yarm-side-card h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 14px; }
.yarm-side-card--dark { background: var(--ink); color: #fff; }
.yarm-side-card--dark h3 { color: #fff; }
.yarm-side-card--dark p { color: rgba(255, 255, 255, 0.75); font-size: 14.5px; }
.yarm-side-card__pav { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.yarm-side-card__pav b { color: var(--accent); }

.yarm-contacts { display: flex; flex-direction: column; gap: 8px; }
.yarm-contact-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	overflow-wrap: anywhere;
	background: var(--bg-soft);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
	transition: background 0.25s ease;
}
a.yarm-contact-chip:hover { background: #e6e2d7; }
.yarm-contacts__ico {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 800;
	color: #fff;
}
.yarm-contacts__ico::before { font-style: normal; }
.yarm-contacts__ico--phone { background: var(--ink); }
.yarm-contacts__ico--phone::before { content: '☎'; font-size: 13px; }
.yarm-contacts__ico--wa { background: #25d366; }
.yarm-contacts__ico--wa::before { content: 'WA'; font-size: 10px; }
.yarm-contacts__ico--tg { background: var(--cyan); }
.yarm-contacts__ico--tg::before { content: 'TG'; font-size: 10px; }
.yarm-contacts__ico--max { background: #5e35b1; }
.yarm-contacts__ico--max::before { content: 'M'; font-size: 12px; }
.yarm-contacts__ico--vk { background: #0077ff; }
.yarm-contacts__ico--vk::before { content: 'VK'; font-size: 10px; }
.yarm-contacts__ico--web { background: #6f747d; }
.yarm-contacts__ico--web::before { content: '↗'; font-size: 13px; }
.yarm-contacts__ico--mail { background: var(--yellow); color: var(--ink); }
.yarm-contacts__ico--mail::before { content: '@'; font-size: 13px; }

.yarm-svc-list { display: flex; flex-direction: column; gap: 12px; }
.yarm-svc-item {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.yarm-svc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.yarm-svc-item__img img { width: 74px; height: 74px; object-fit: cover; border-radius: 12px; }
.yarm-svc-item__ph { display: block; width: 74px; height: 74px; border-radius: 12px; background: var(--bg-soft); }
.yarm-svc-item__body b { font-size: 15.5px; display: block; }
.yarm-svc-item__body small { color: var(--muted); font-size: 13px; display: block; margin-top: 4px; }
.yarm-svc-item__price { font-weight: 800; color: var(--accent); white-space: nowrap; }

.yarm-promo-mini { list-style: none; margin: 0; padding: 0; }
.yarm-promo-mini li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.yarm-promo-mini a { color: var(--ink); font-weight: 700; text-decoration: none; }
.yarm-promo-mini a:hover { color: var(--accent); }

/* ---------- Карусель ---------- */
.yarm-carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); touch-action: pan-y; }
.yarm-carousel__track { display: flex; width: 100%; transition: transform 480ms cubic-bezier(.22,.61,.36,1); will-change: transform; }
.yarm-carousel__slide { flex: 0 0 100%; width: 100%; min-width: 0; }
.yarm-carousel__slide[hidden] { display: none !important; }
.yarm-carousel__slide img { width: 100%; max-height: 560px; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
	.yarm-carousel__track { transition: none; }
}
.yarm-carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
	color: var(--ink);
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.25s ease;
}
.yarm-carousel__btn:hover { background: #fff; }
.yarm-carousel__btn--prev { left: 16px; }
.yarm-carousel__btn--next { right: 16px; }
.yarm-carousel__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.yarm-carousel__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 0;
	transition: background 0.25s ease, transform 0.25s ease;
}
.yarm-carousel__dot.is-active { background: #fff; transform: scale(1.25); }

/* ---------- Рекламная карусель из шорткода ---------- */
.yarm-ad-carousel {
	width: 100%;
	aspect-ratio: 16 / 5;
	min-height: 120px;
	background: var(--bg-soft);
	box-shadow: none;
}
.yarm-ad-carousel .yarm-carousel__track { position: absolute; inset: 0; }
.yarm-ad-carousel__slide { position: relative; display: flex; flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; align-items: center; justify-content: center; }
.yarm-ad-carousel__slide > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; line-height: 0; }
.yarm-ad-carousel .yarm-carousel__slide img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.yarm-ad-carousel .yarm-carousel__btn,
.yarm-ad-carousel .yarm-carousel__dots { z-index: 2; }
.yarm-ad-carousel .yarm-ad-carousel__pause { top: 12px; right: 12px; left: auto; transform: none; width: 40px; height: 40px; font-size: 14px; }
.yarm-ad-carousel .yarm-carousel__btn:focus-visible,
.yarm-ad-carousel .yarm-carousel__dot:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Услуги ---------- */
.yarm-svc-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.yarm-svc-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.yarm-svc-tenant {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--card);
	border-radius: 999px;
	padding: 7px 16px 7px 8px;
	box-shadow: var(--shadow);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}
.yarm-svc-tenant img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.yarm-svc-tenant:hover { color: var(--accent); }

/* ---------- Форма регистрации ---------- */
.yarm-reg-wrap { max-width: 860px; }
.yarm-banner {
	border-radius: var(--radius);
	padding: 16px 20px;
	font-size: 14.5px;
	margin-bottom: 18px;
}
.yarm-banner--ok { background: #e8f5e4; color: #2c5e1e; border: 1px solid #bfe0b3; }
.yarm-banner--err { background: #fdeceb; color: #8e1410; border: 1px solid #f5c2be; }
.yarm-notice--soft {
	background: #fff8e8;
	border: 1px solid #f0dfb2;
	border-radius: var(--radius);
	padding: 14px 18px;
	font-size: 14.5px;
	margin-bottom: 28px;
}

/* Шаги регистрации */
.yarm-steps-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}
.yarm-step-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 6px 16px 6px 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--muted);
}
.yarm-step-pill.is-active {
	border-color: var(--accent);
	color: var(--ink);
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(226, 43, 37, 0.12);
}
.yarm-step-pill.is-active .yarm-step-num {
	background: var(--accent);
	color: #ffffff;
}
.yarm-step-num {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #e2e8f0;
	color: var(--muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
}
.yarm-step-arrow {
	color: #94a3b8;
	font-weight: 700;
	font-size: 14px;
}

.yarm-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 22px; }
.yarm-field { display: flex; flex-direction: column; gap: 7px; }
.yarm-field--wide { grid-column: 1 / -1; }
.yarm-field > span { font-weight: 800; font-size: 13.5px; letter-spacing: 0.01em; }
.yarm-field > span i { color: var(--accent); font-style: normal; }
.yarm-field small { color: var(--muted); font-size: 12.5px; }
.yarm-field input,
.yarm-field select,
.yarm-field textarea {
	width: 100%;
	background: var(--card);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.yarm-field input:focus,
.yarm-field select:focus,
.yarm-field textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(228, 35, 28, 0.12);
}
.yarm-field input[type='file'] { padding: 9px; background: var(--bg-soft); cursor: pointer; }
.yarm-field input[type='file']::file-selector-button {
	background: var(--ink);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 8px 14px;
	margin-right: 12px;
	cursor: pointer;
	font-weight: 700;
}
.yarm-category-field { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.yarm-category-field legend { padding: 0; color: var(--ink); font-weight: 800; font-size: 13.5px; letter-spacing: 0.01em; }
.yarm-category-field > small { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; }
.yarm-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 8px; margin-top: 11px; }
.yarm-category-choice { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 13px; line-height: 1.45; cursor: pointer; }
.yarm-category-choice:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228, 35, 28, 0.12); }
.yarm-category-choice input[type='checkbox'] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.yarm-category-choice span { min-width: 0; }
.yarm-form-preview { max-width: 130px; border-radius: 10px; margin-bottom: 8px; box-shadow: var(--shadow); }
.yarm-form-preview-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.yarm-form-preview-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.yarm-form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.yarm-form-err { color: var(--accent); font-weight: 700; }
.yarm-form-ok { color: var(--muted); font-weight: 700; }
.yarm-form .yarm-h3:first-of-type { margin-top: 0; }

/* ---------- Спасибо ---------- */
.yarm-thanks { display: flex; justify-content: center; padding: 60px 0; }
.yarm-thanks__box {
	max-width: 620px;
	text-align: center;
	background: var(--card);
	border-radius: calc(var(--radius) + 8px);
	box-shadow: var(--shadow-lg);
	padding: 54px 48px;
}
.yarm-thanks__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: rgba(125, 194, 66, 0.15);
	color: #4c8a21;
	font-size: 34px;
	font-weight: 800;
	margin-bottom: 18px;
}
.yarm-thanks p { color: var(--ink-soft); font-size: 16.5px; }
.yarm-thanks__actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Информационные списки ---------- */
.yarm-info-list { list-style: none; margin: 18px 0 26px; padding: 0; }
.yarm-info-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.yarm-info-list li b { flex: none; width: 160px; font-weight: 800; font-size: 14.5px; }
.yarm-info-list li span { color: var(--ink-soft); font-size: 15px; }

/* ---------- Фильтры ---------- */
.yarm-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.yarm-filters--front input[type='search'] {
	flex: 1;
	min-width: 220px;
	background: var(--card);
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 13px 20px;
	font-family: var(--font-body);
	font-size: 15px;
	outline: none;
}
.yarm-filters--front input[type='search']:focus { border-color: var(--accent); }
.yarm-filters--front select {
	background: var(--card);
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 13px 18px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	outline: none;
	cursor: pointer;
}

/* ---------- Пагинация ---------- */
.yarm-pagination { margin-top: 44px; display: flex; justify-content: center; }
.yarm-pagination .nav-links { display: flex; gap: 8px; }
.yarm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--card);
	box-shadow: var(--shadow);
	text-decoration: none;
	font-weight: 700;
}
.yarm-pagination .page-numbers.current { background: var(--ink); color: #fff; }
.yarm-pagination .page-numbers:hover { background: var(--ink); color: #fff; }

.yarm-empty-block {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 40px;
	text-align: center;
	color: var(--muted);
	font-weight: 600;
	grid-column: 1 / -1;
}

.yarm-mute-block { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 18px; }

/* ---------- Hero-полоса внутренних страниц ---------- */
.yarm-page-hero { padding: 48px 0 26px; }
.yarm-page-hero .yarm-h1 { margin-bottom: 10px; }
.yarm-page-hero p { color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0; }
.yarm-until-line { font-weight: 700; color: var(--accent); margin: 12px 0 0; }

/* ---------- О нас: ценности ---------- */
.yarm-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.yarm-value {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px;
}
.yarm-value__num {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--accent);
	letter-spacing: 0.1em;
}
.yarm-value h3 { font-family: var(--font-display); font-size: 19px; margin: 12px 0 8px; }
.yarm-value p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Контакты ---------- */
.yarm-contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 56px; }
.yarm-contact-card {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 26px;
}
.yarm-contact-card h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 12px; }
.yarm-contact-card p { margin: 0 0 8px; font-size: 15px; color: var(--ink-soft); }
.yarm-contact-card__sub { color: var(--muted); font-size: 13.5px; }
.yarm-map {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	height: 440px;
}
.yarm-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.yarm-map-note { margin-top: 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- 404 ---------- */
.yarm-404 { text-align: center; padding: 60px 0; }
.yarm-404__num {
	font-family: var(--font-display);
	font-size: clamp(80px, 12vw, 150px);
	font-weight: 700;
	color: var(--line);
	line-height: 1;
}
.yarm-404__actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- Вакансия: детали ---------- */
.yarm-vac-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* ---------- Подвал ---------- */
.yarm-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.78);
	padding: 64px 0 28px;
	margin-top: 0;
}
.yarm-footer__grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.2fr) minmax(160px, 0.8fr) minmax(190px, 0.9fr) minmax(220px, 1.1fr);
	gap: clamp(22px, 3vw, 40px);
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.yarm-footer__grid > * { min-width: 0; overflow-wrap: anywhere; }
.yarm-footer__menu,
.yarm-footer__contacts { align-items: flex-start; min-width: 0; }
.yarm-footer__menu li,
.yarm-footer__contacts li { max-width: 100%; overflow-wrap: anywhere; }
.yarm-footer__brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.95; }
.yarm-footer__brand p { font-size: 14px; line-height: 1.6; margin: 0; color: rgba(255, 255, 255, 0.6); }
.yarm-footer h4 {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 16px;
	letter-spacing: 0.04em;
}
.yarm-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.yarm-footer__menu a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 14.5px; transition: color 0.25s ease; }
.yarm-footer__menu a:hover { color: var(--yellow); }
.yarm-footer__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.yarm-footer__contacts a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.yarm-footer__contacts a:hover { color: var(--yellow); }
.yarm-footer__hours { color: rgba(255, 255, 255, 0.55); }
.yarm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	padding-top: 24px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}
.yarm-footer__bottom a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.yarm-footer__bottom a:hover { color: var(--yellow); }

/* ---------- Cookie notice ---------- */
.yarm-cookie-banner[hidden] { display: none !important; }
.yarm-cookie-banner {
	position: fixed;
	z-index: 1000;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	width: min(940px, calc(100% - 28px));
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(22, 25, 30, .22);
	color: var(--ink);
}
.yarm-cookie-banner__copy { min-width: 0; }
.yarm-cookie-banner__title { margin: 0 0 5px; font: 700 16px var(--font-display); }
.yarm-cookie-banner__text { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.yarm-cookie-banner__text a { color: var(--accent); font-weight: 700; }
.yarm-cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.yarm-cookie-banner__actions button {
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font: 700 13px var(--font-body);
	cursor: pointer;
}
.yarm-cookie-banner__actions button:hover { background: var(--ink); color: #fff; }
.yarm-cookie-banner__actions button.is-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.yarm-cookie-banner__actions button.is-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.yarm-cookie-settings-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Посадочная «Арендаторам» ---------- */
.yarm-tenant-landing { min-height: min(72vh, 760px); display: flex; align-items: center; }
.yarm-tenant-landing .yarm-hero__in { width: 100%; padding-top: clamp(76px, 11vh, 130px); padding-bottom: clamp(76px, 11vh, 130px); }
.yarm-tenant-landing .yarm-hero__title { max-width: 900px; }
.yarm-tenant-landing .yarm-hero__sub { max-width: 720px; }

/* ---------- Анимации появления ---------- */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ============================================================
   Личный кабинет арендатора
   ============================================================ */
.yarm-lk { background: var(--bg); }
.yarm-lk__top { background: var(--ink); color: #fff; }
.yarm-lk__top-in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 22px;
}
.yarm-lk__logo img { height: 34px; filter: brightness(0) invert(1); }
.yarm-lk__crumb { color: rgba(255, 255, 255, 0.55); font-size: 13.5px; }
.yarm-lk__user { margin-left: auto; text-align: right; display: flex; flex-direction: column; line-height: 1.35; }
.yarm-lk__user b { font-size: 14.5px; }
.yarm-lk__user span { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
.yarm-lk__user a { color: var(--yellow); font-size: 12.5px; font-weight: 700; text-decoration: none; }

.yarm-lk__shell {
	max-width: 1280px;
	margin: 0 auto;
	padding: 34px 24px 70px;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}
.yarm-lk__nav {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	position: sticky;
	top: 20px;
}
.yarm-lk__nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	font-weight: 700;
	font-size: 14.5px;
	color: var(--ink-soft);
}
.yarm-lk__nav a:hover { background: var(--bg-soft); color: var(--ink); }
.yarm-lk__nav a.is-active { background: var(--ink); color: #fff; }
.yarm-lk__nav a:last-child { margin-top: 8px; color: var(--muted); font-size: 13px; }
.yarm-lk__badge {
	margin-left: auto;
	background: var(--accent);
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 8px;
	font-style: normal;
}

.yarm-lk__card-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.yarm-lk__card-head h1 { font-family: var(--font-display); font-size: 28px; margin: 0; }
.yarm-lk__status {
	font-size: 12.5px;
	font-weight: 800;
	border-radius: 999px;
	padding: 6px 14px;
}
.yarm-lk__status--ok { background: #e8f5e4; color: #2c5e1e; }
.yarm-lk__status--review { background: #fdeceb; color: #8e1410; }
.yarm-lk__status--wait { background: #fff8e8; color: #8a6d1a; }
.yarm-lk__hint { color: var(--muted); font-size: 14.5px; margin: 10px 0 26px; max-width: 720px; }

.yarm-lk__list { margin: 30px 0; }
.yarm-lk__row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto auto;
	gap: 16px;
	align-items: center;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px 18px;
	margin-bottom: 12px;
}
.yarm-lk__row-img img, .yarm-lk__row-img span { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.yarm-lk__row-ph { background: var(--bg-soft); }
.yarm-lk__row-body b { font-size: 15px; display: block; }
.yarm-lk__row-body small { color: var(--muted); font-size: 13px; }
.yarm-lk__row-actions { display: flex; gap: 8px; }
.yarm-btn--danger { color: var(--accent); border-color: rgba(228, 35, 28, 0.4); }
.yarm-btn--danger:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.yarm-lk__foot {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
	padding: 18px 24px;
	display: flex;
	gap: 10px 26px;
	flex-wrap: wrap;
	justify-content: center;
}
.yarm-lk__foot a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.yarm-lk__foot a:hover { color: var(--yellow); }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1080px) {
	.yarm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yarm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yarm-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yarm-values { grid-template-columns: 1fr; }
	.yarm-header__cta { display: inline-block; }
}

@media (max-width: 1080px) {
	.yarm-burger { display: flex; position: relative; z-index: 80; flex: 0 0 auto; }
	.yarm-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: min(340px, 86vw);
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
		background: var(--card);
		box-shadow: var(--shadow-lg);
		padding: calc(90px + env(safe-area-inset-top, 0px)) 26px calc(30px + env(safe-area-inset-bottom, 0px));
		transition: right 0.35s ease;
		z-index: 70;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
	.yarm-nav.is-open { right: 0; }
	.yarm-nav__list { flex-direction: column; gap: 2px; white-space: normal; }
	.yarm-nav__list a { font-size: 17px; padding: 13px 16px; }
	.yarm-header__in { gap: 14px; }
	.yarm-nav-overlay {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 59;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(10, 12, 15, .46);
		cursor: default;
	}
	.yarm-nav-overlay.is-open { display: block; }
	html.yarm-scroll-locked,
	body.yarm.yarm-menu-open { overflow: hidden !important; }
	/* The drawer and close button are temporarily moved to body by JS. Keep the sticky header
	   behind the overlay and remove its blur while the mobile menu is open. */
	body.yarm-menu-open .yarm-header { z-index: 50; -webkit-backdrop-filter: none; backdrop-filter: none; }
	body.yarm-menu-open .yarm-burger {
		position: fixed;
		top: calc(env(safe-area-inset-top, 0px) + 14px);
		right: 14px;
		z-index: 90;
	}
}

@media (max-width: 860px) {
	.yarm-section { padding: 60px 0; }
	.yarm-split, .yarm-tenant-body, .yarm-svc-body, .yarm-vac-body, .yarm-cta__in { grid-template-columns: 1fr; gap: 36px; }
	.yarm-stats__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yarm-topbar__hours, .yarm-topbar__phone2, .yarm-topbar__addr { display: none; }
	.yarm-topbar__in { justify-content: center; }
	.yarm-topbar__right { margin: 0; }

	.yarm-lk__shell { grid-template-columns: 1fr; }
	.yarm-lk__nav { position: static; flex-direction: row; flex-wrap: wrap; }
	.yarm-lk__row { grid-template-columns: 56px minmax(0, 1fr); }
	.yarm-lk__row .yarm-lk__status { grid-column: 1 / -1; }
	.yarm-lk__row-actions { grid-column: 1 / -1; }
	.yarm-form-grid { grid-template-columns: 1fr; }
	.yarm-vac-item { grid-template-columns: minmax(0, 1fr) auto; }
	.yarm-vac-item__arrow { display: none; }
}

@media (max-width: 600px) {
	.yarm-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.yarm-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.yarm-footer { padding-top: 46px; }
	.yarm-footer__bottom { flex-direction: column; align-items: flex-start; }
	.yarm-cookie-banner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 17px 17px 16px; bottom: 10px; }
	.yarm-cookie-banner__actions { justify-content: stretch; }
	.yarm-cookie-banner__actions button { flex: 1 1 140px; }
	.yarm-hero__in { padding-top: 70px; padding-bottom: 80px; }
	.yarm-sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.yarm-tenant-head__row { flex-direction: column; align-items: flex-start; }
	.yarm-header__actions .yarm-btn { display: none; }
	.yarm-contact-grid { grid-template-columns: 1fr; }
	.yarm-map { height: 320px; }
	.yarm-info-list li { flex-direction: column; gap: 2px; }
	.yarm-info-list li b { width: auto; }
}

/* ---------- Юридические документы и отдельные согласия ---------- */
.yarm-legal-hero { padding: 36px 0; }
.yarm-legal-hero .yarm-container > p { color: var(--muted); margin: 10px 0 0; }
.yarm-legal-wrap { max-width: 980px; }
.yarm-legal-doc {
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(22px, 4vw, 46px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	box-shadow: var(--shadow);
	color: var(--ink);
	font-size: 15px;
	line-height: 1.75;
	overflow-wrap: anywhere;
}
.yarm-legal-doc h2 { margin: 30px 0 11px; font: 700 clamp(18px, 2.3vw, 22px)/1.35 var(--font-display); }
.yarm-legal-doc h2:first-of-type { margin-top: 28px; }
.yarm-legal-doc p { margin: 0 0 14px; }
.yarm-legal-doc ul { margin: 0 0 16px; padding-left: 22px; }
.yarm-legal-doc li { margin: 0 0 8px; }
.yarm-legal-doc a { color: var(--accent-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yarm-legal-meta { color: var(--muted); font-size: 13px; }
.yarm-legal-links { list-style: disc; }
.yarm-legal-warning {
	margin: 0 auto 20px;
	padding: 16px 18px;
	border: 1px solid #e6c56c;
	border-radius: 12px;
	background: #fff8e4;
	color: #634b0a;
	line-height: 1.6;
}
.yarm-legal-warning p { margin: 10px 0 0; }
.yarm-legal-warning a { color: #563d00; font-weight: 800; }
.yarm-consents {
	margin: 28px 0 22px;
	padding: 21px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fbfaf7;
}
.yarm-consents > .yarm-h3 { margin-top: 0; }
.yarm-consents > p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.yarm-consent-choice {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: start;
	gap: 11px;
	margin-top: 12px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font-size: 13.5px;
	line-height: 1.55;
	cursor: pointer;
}
.yarm-consent-choice input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.yarm-consent-choice a { color: var(--accent-dark); font-weight: 800; text-underline-offset: 2px; }
.yarm-consents--lk { margin-top: 22px; }
.yarm-legal-admin-panel ul { margin: 8px 0 10px 20px; list-style: disc; }
.yarm-legal-admin-panel li { margin: 7px 0; }
.yarm-consent-audit li { margin: 0 0 13px; }
.yarm-consent-audit details { margin-top: 6px; }
.yarm-consent-audit summary { cursor: pointer; color: var(--accent-dark); font-weight: 700; }
.yarm-consent-audit details p { max-width: 900px; color: var(--muted); }
.yarm button:disabled, .yarm .yarm-btn:disabled { opacity: .55; cursor: not-allowed; }

@media (max-width: 600px) {
	.yarm-legal-wrap { padding-left: 14px; padding-right: 14px; }
	.yarm-legal-doc { padding: 20px 17px; border-radius: 12px; font-size: 14px; }
	.yarm-consents { padding: 16px 13px; }
	.yarm-consent-choice { grid-template-columns: 22px minmax(0, 1fr); gap: 9px; padding: 12px 10px; }
}
