/* UKMod #С-М-01 — главная ks-ohta.ru · корр.3 */

.ukmod-hidden {
	display: none !important;
}

/* ——— Масштаб страницы ≈112.5% (как browser zoom 125% при прежних 90%) ——— */
@media (min-width: 992px) {
	.ukmod-body {
		zoom: 1.125;
	}

	@supports not (zoom: 1.125) {
		.ukmod-body {
			transform: scale(1.125);
			transform-origin: top center;
			width: 88.89%;
			margin-left: 5.555%;
		}
	}
}

/* ——— Шапка: синяя строка + меню (перебиваем breakpoint 1310 родителя) ——— */
.ukmod-body .header .header__wrap__nav__info {
	padding: 0 32px !important;
	font-size: 13px;
	line-height: 1.15;
	min-height: 0;
	height: auto !important;
	max-height: 50px;
	box-sizing: border-box;
	align-items: center;
}

.ukmod-body .header .header__wrap__nav__info .info {
	display: none !important;
}

.ukmod-body .header .header__wrap__nav__info > .loc img,
.ukmod-body .header .header__wrap__nav__info > a img {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.ukmod-header .header__wrap {
		align-items: center !important;
	}

	.ukmod-header .header__wrap__nav {
		display: block;
		flex: 1;
		min-width: 0;
	}

	.ukmod-header .logo {
		padding: 6px 12px !important;
		flex-shrink: 0;
	}

	.ukmod-header .logo a {
		max-width: 200px;
	}

	.ukmod-header .logo a .ukmod-logo-slim {
		max-height: 34px;
	}

	.ukmod-body .header .header__wrap__nav__info {
		padding: 0 12px !important;
		height: 50px !important;
		min-height: 50px !important;
		max-height: 50px !important;
	}
}

@media (max-width: 730px) {
	.ukmod-body .header .header__wrap__nav__info {
		padding: 0 12px !important;
	}
}

@media (min-width: 901px) {
	.ukmod-header {
		background: transparent;
	}

	.ukmod-body .header.ukmod-header,
	.ukmod-body .header.ukmod-header .header__wrap {
		background: transparent !important;
		box-shadow: none !important;
		border: none !important;
	}

	.ukmod-header .header__wrap {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: 50px auto;
		align-items: stretch;
		background: transparent;
	}

	/* ячейка под логотипом (до «Главная») — 100% прозрачная */
	.ukmod-header .header__wrap::after {
		content: '';
		grid-column: 1;
		grid-row: 2;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		pointer-events: none;
	}

	.ukmod-header .header__wrap__nav {
		grid-column: 2;
		grid-row: 1 / span 2;
		display: flex;
		flex-direction: column;
		min-width: 0;
		width: 100%;
		background: transparent;
	}

	.ukmod-header .header__wrap .mob__menu {
		display: none !important;
	}

	.ukmod-header .logo {
		grid-column: 1;
		grid-row: 1;
		padding: 6px 24px !important;
		align-self: stretch;
		min-height: 50px;
		max-height: 50px;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		background: #fff;
		border: none !important;
		box-shadow: none !important;
		outline: none;
	}

	.ukmod-header .logo a {
		width: auto;
		max-width: 240px;
		height: auto;
		display: flex;
		align-items: center;
	}

	.ukmod-header .logo a .ukmod-logo-slim {
		display: block;
		width: 100%;
		max-height: 38px;
		height: auto;
		object-fit: contain;
		vertical-align: top;
	}

	.ukmod-header .header__wrap__nav__info {
		flex: 0 0 50px;
		width: 100%;
		min-height: 50px;
		max-height: 50px;
		height: 50px !important;
	}

	.ukmod-header .header__wrap__nav__main,
	.ukmod-header .ukmod-header__main {
		flex: 0 0 auto;
		width: 100%;
	}

	.ukmod-body .header .header__wrap__nav__info__mob {
		display: none !important;
	}

	.ukmod-body .header .header__wrap__nav__info > .loc,
	.ukmod-body .header .header__wrap__nav__info > a {
		display: flex !important;
	}

	.ukmod-body .header .header__wrap__nav__info {
		justify-content: flex-end;
		gap: 16px;
		flex-wrap: nowrap;
		align-items: center;
		white-space: nowrap;
	}

	.ukmod-body .header .header__wrap__nav__info > .loc,
	.ukmod-body .header .header__wrap__nav__info > a {
		flex-shrink: 1;
		min-width: 0;
	}

	.ukmod-body .header .header__wrap__nav__info > .loc .loc-text,
	.ukmod-body .header .header__wrap__nav__info > .loc .tooltip {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.ukmod-body .header .header__wrap__nav__info .info {
		display: none !important;
	}

	/* зелёная стрелка: фон меню 50% */
	.ukmod-body .header .header__wrap__nav__main,
	.ukmod-body .ukmod-header__main {
		display: block !important;
		background: rgba(255, 255, 255, 0.5) !important;
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
		border: none !important;
	}

	/* пункты меню — равномерно по ширине */
	.ukmod-body .ukmod-header .header__wrap__nav__main .header__list.ukmod-nav--desktop {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		padding: 0 20px !important;
		box-sizing: border-box;
		margin: 0;
	}

	.ukmod-body .ukmod-header .header__wrap__nav__main .ukmod-nav--desktop > .ukmod-nav__item {
		flex: 0 1 auto;
		padding: 12px 4px !important;
		text-align: center;
	}
}

@media (max-width: 900px) {
	.ukmod-body .header .header__wrap__nav__main,
	.ukmod-body .ukmod-header__main {
		display: none !important;
	}
}

/* ——— Шапка: «Слабовидящим» над логотипом ——— */
.ukmod-access-bar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 4px 24px 0;
	background: #fff;
}

.ukmod-access-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #3d72b1;
	text-decoration: none;
	padding: 4px 8px;
	border-radius: 8px;
	transition: background 0.2s;
}

.ukmod-access-link:hover {
	background: #f5f9ff;
}

.ukmod-access-link img {
	width: 18px;
	height: 18px;
}

.ukmod-header__main .ukmod-nav--desktop {
	flex-wrap: nowrap;
	justify-content: space-between !important;
	padding: 0 20px;
	width: 100%;
	box-sizing: border-box;
}

.ukmod-header__main .ukmod-nav--desktop > .ukmod-nav__item {
	padding: 10px 6px;
}

.ukmod-header__main .ukmod-nav__top-link {
	font-size: 13px;
	font-weight: 800;
}

@media (min-width: 1426px) {
	.ukmod-header__main .ukmod-nav--desktop > .ukmod-nav__item {
		padding: 12px 10px;
	}

	.ukmod-header__main .ukmod-nav__top-link {
		font-size: 14px;
	}
}

@media (min-width: 1600px) {
	.ukmod-header__main .ukmod-nav--desktop > .ukmod-nav__item {
		padding: 12px 14px;
	}

	.ukmod-header__main .ukmod-nav__top-link {
		font-size: 15px;
	}
}

/* ——— Hero: текст слева + S1-4 справа · резиновый блок в .container 1210px ——— */
.ukmod-body .first__section {
	overflow: visible;
	margin-bottom: 14px;
}

.ukmod-body .first__section .container {
	width: 100%;
	max-width: 1210px;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.ukmod-body .first__section .first__section__wrap.ukmod-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(16px, 2.5vw, 32px);
	width: 100%;
	max-width: 100%;
	padding: 22px 0 16px !important;
	box-sizing: border-box;
}

.ukmod-body .first__section .first__section__wrap .first__section__wrap__info {
	width: 100%;
	max-width: none !important;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: stretch;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.ukmod-hero-visual {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	align-self: stretch;
	width: 100%;
	min-width: 0;
	min-height: 0;
}

.ukmod-body .first__section .ukmod-hero-visual .ukmod-hero-bg {
	position: static !important;
	left: auto !important;
	bottom: auto !important;
	display: block !important;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: center right;
}

@media (min-width: 992px) {
	.ukmod-body .first__section .first__section__wrap.ukmod-hero-grid {
		grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
		padding-top: 20px !important;
		padding-bottom: 16px !important;
	}
}

@media (max-width: 1100px) {
	.ukmod-body .first__section .first__section__wrap.ukmod-hero-grid {
		gap: clamp(12px, 2vw, 24px);
		padding: 20px 0 14px !important;
	}
}

@media (max-width: 860px) {
	.ukmod-body .first__section .first__section__wrap.ukmod-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 12px 16px;
		padding: 18px 0 12px !important;
	}

	.ukmod-body .first__section .ukmod-hero-visual .ukmod-hero-bg {
		max-height: clamp(180px, 34vw, 320px);
	}
}

@media (max-width: 720px) {
	.ukmod-body .first__section .first__section__wrap.ukmod-hero-grid {
		grid-template-columns: 1fr;
		padding: 16px 0 10px !important;
	}

	.ukmod-body .first__section .first__section__wrap .first__section__wrap__info {
		align-self: stretch;
	}

	.ukmod-hero-visual {
		justify-content: center;
		width: 100%;
		margin-top: 4px;
	}

	.ukmod-body .first__section .ukmod-hero-visual .ukmod-hero-bg {
		max-height: min(52vw, 280px);
		width: 100%;
		object-position: center;
	}
}

/* Баннер «Семья» — родитель скрывает .img__bg на 767px */
@media (max-width: 767px) {
	.ukmod-body .first__section .ukmod-hero-visual {
		display: flex !important;
		width: 100%;
		margin-top: 12px;
	}

	.ukmod-body .first__section .img__bg.ukmod-hero-bg,
	.ukmod-body .first__section .ukmod-hero-visual .ukmod-hero-bg {
		display: block !important;
		position: static !important;
		left: auto !important;
		bottom: auto !important;
		height: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		max-height: min(58vw, 280px) !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
}

/* ——— Масштаб hero-текста ——— */
.ukmod-body .first__section .first__section__wrap h1 {
	font-size: clamp(22px, 4.5vw, 32px);
	line-height: 1.15;
	margin-bottom: 16px;
	max-width: 100%;
}

.ukmod-body .first__section .first__section__wrap p {
	font-size: clamp(12px, 3.2vw, 14px);
	line-height: 1.45;
	margin-bottom: 14px;
	max-width: 100%;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.ukmod-body .first__section .first__section__wrap .sub {
	font-size: clamp(11px, 2.8vw, 14px);
	max-width: 100%;
}

/* Hero: баннер komser + кнопки — сжимаются */
.ukmod-komser-banner {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 12px 0 16px;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(61, 114, 177, 0.12);
}

.ukmod-body .first__section .first__section__wrap .block__link {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	max-width: 100%;
	align-items: stretch;
}

.ukmod-body .first__section .first__section__wrap .block__link a {
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	min-height: 46px;
	padding: 10px 8px;
	margin-right: 0 !important;
	font-size: clamp(10px, 2.4vw, 14px);
	line-height: 1.2;
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.ukmod-body .first__section .first__section__wrap .block__link {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.ukmod-body .first__section .first__section__wrap .block__link a.blue {
		grid-column: 1 / -1;
	}
}

.ukmod-body .pay__info .title {
	font-size: clamp(18px, 1.85vw, 24px);
	line-height: 1.22;
	max-width: none;
	width: 100%;
}

.ukmod-body .pay__info p {
	font-size: clamp(13px, 1.35vw, 16px);
	line-height: 1.45;
	max-width: none;
	width: 100%;
	margin-bottom: 28px;
}

.ukmod-body .pay__info {
	padding-bottom: 72px;
}

/* Hero bg: S1-4 */
.first__section .img__bg.ukmod-hero-bg {
	object-fit: contain;
	object-position: bottom right;
	display: block !important;
}

/* Баннеры АДС + памятка — в один ряд · узкий зазор после hero */
.ukmod-banner-row {
	width: 100%;
	padding: 0 15px 20px;
	box-sizing: border-box;
}

.ukmod-banner-row--dual {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	justify-content: center;
	gap: 24px 48px;
	max-width: 960px;
	margin: 0 auto;
}

.ukmod-banner-row__ads,
.ukmod-banner-row__pamyatka {
	flex: none;
	max-width: none;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.ukmod-banner-row__ads .ukmod-banner-ads,
.ukmod-banner-row__pamyatka .ukmod-banner-pamyatka {
	flex: 1;
	width: 100%;
}

@media (max-width: 991px) {
	.ukmod-banner-row--dual {
		grid-template-columns: 1fr;
		max-width: 440px;
		align-items: stretch;
	}
}

@media (max-width: 767px) {
	.ukmod-body .pay__info .pay__info__wrap {
		max-width: 100%;
	}
}

/* ——— Блок оплаты: phone.png + карточки ——— */
/* phone.png: в одной линии с карточками, +20% */
.ukmod-pay-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: start;
	gap: 8px 16px;
	width: 100%;
}

.ukmod-pay-layout .pay__info__items {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: stretch;
}

.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card {
	width: 100%;
	justify-self: stretch;
	padding: 17px 14px 23px;
	min-height: 138px;
	height: 100%;
	margin-right: 0;
	margin-bottom: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card:hover {
	background: #fff5f5;
	border-color: #f0c4c4;
	box-shadow: 0 6px 18px rgba(225, 31, 38, 0.1);
}

.pay__info a.ukmod-pay-phone {
	position: static;
	display: block !important;
	width: 100% !important;
	max-width: none;
	min-width: 0 !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
	transform: scale(1.007);
	transform-origin: top center;
	margin-top: 0;
	text-decoration: none;
}

.pay__info a.ukmod-pay-phone img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card .logo__wrap {
	transform: scale(0.71);
}

.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card .info .proc {
	font-size: 0.84em;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card .info {
	overflow: hidden;
	max-width: 100%;
}

/* ——— Футер: VK → баннер памятки ——— */
.footer .footer__bottom .ukmod-footer-pamyatka-link {
	transform: translateX(-115px);
	text-decoration: none;
}

.footer .footer__bottom .ukmod-footer-pamyatka-link img {
	display: block;
	max-height: 44px;
	width: auto;
	max-width: min(100%, 280px);
	height: auto;
	opacity: 0.95;
	transition: opacity 0.2s ease;
}

.footer .footer__bottom .ukmod-footer-pamyatka-link:hover img {
	opacity: 1;
}

@media (max-width: 1160px) {
	.footer .footer__bottom .ukmod-footer-pamyatka-link {
		transform: translateX(0);
	}
}

@media (max-width: 540px) {
	.footer .footer__bottom .ukmod-footer-pamyatka-link {
		margin-bottom: 30px;
	}

	.footer .footer__bottom .ukmod-footer-pamyatka-link img {
		max-height: 40px;
	}
}

.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card .info .proc .ukmod-pay-proc-sub,
.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card .info .proc > span {
	display: block;
	margin-top: 3px;
}

.ukmod-body .pay__info .pay__info__items .pay__info__item.ukmod-pay-card .info .proc strong {
	font-weight: 700;
}

@media (max-width: 1000px) {
	.ukmod-pay-layout {
		grid-template-columns: 1fr;
	}

	.pay__info a.ukmod-pay-phone {
		transform: scale(1);
		max-width: 420px;
		margin: 0 auto;
	}
}

.ukmod-body .pay__info .pay__info__wrap {
	max-width: 100%;
	min-height: 0;
	transform: none;
	padding-top: 32px;
}

.ukmod-body .pay__info .container {
	position: relative;
}

@media (max-width: 850px) {
	.pay__info a.ukmod-pay-phone {
		display: block !important;
		width: 100% !important;
		max-width: min(100%, 400px);
		margin: 12px auto 0;
		transform: scale(1);
	}

	.ukmod-pay-layout .pay__info__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* ——— АДС card ——— */
.ukmod-banner-ads .md-emergency-card {
	font-family: 'Gilroy', 'Roboto', system-ui, sans-serif;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 12px 24px -4px rgba(220, 38, 38, 0.12);
	border: 1px solid #f3f4f6;
	overflow: hidden;
	margin: 0 auto;
	height: 100%;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ukmod-banner-ads .md-header {
	background: #dc2626;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ukmod-banner-ads .md-title-block {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ukmod-banner-ads .md-badge-tech {
	background: #fff;
	color: #dc2626;
	font-size: 16px;
	font-weight: 900;
	padding: 4px 10px;
	border-radius: 8px;
}

.ukmod-banner-ads .md-header h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.ukmod-banner-ads .md-status-shield {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	white-space: nowrap;
}

.ukmod-banner-ads .md-body {
	padding: 24px;
	background: #fafafa;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
}

/* II · «Телефоны вверх»: intro → оба телефона → перечень по центру свободного места */
.ukmod-banner-ads .md-body--phones-up .md-intro {
	margin-bottom: 16px;
}

.ukmod-banner-ads .md-body--phones-up .md-phone-blocks {
	margin-bottom: 8px;
}

.ukmod-banner-ads .md-body--phones-up .md-requests {
	flex: 1 1 auto;
	flex-shrink: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 0;
	width: 100%;
}

.ukmod-banner-ads .md-body--phones-up .md-requests .md-subtitle,
.ukmod-banner-ads .md-body--phones-up .md-requests .md-list {
	width: fit-content;
	max-width: 100%;
}

.ukmod-banner-ads .md-intro {
	margin: 0;
	color: #374151;
	font-size: 14px;
	line-height: 1.5;
	flex-shrink: 0;
}

.ukmod-banner-ads .md-phone-blocks {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.ukmod-banner-ads .md-requests {
	flex-shrink: 0;
}

.ukmod-banner-ads .md-subtitle {
	margin: 0 0 12px;
	color: #374151;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
}

.ukmod-banner-ads .md-phone-btn {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	color: #111827;
	text-decoration: none;
	padding: 16px 20px;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	margin-bottom: 0;
	transition: box-shadow 0.2s, transform 0.2s;
}

.ukmod-banner-ads .md-phone-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px -4px rgba(220, 38, 38, 0.15);
	border-color: #fca5a5;
}

.ukmod-banner-ads .md-phone-icon-wrapper {
	background: #fef2f2;
	color: #dc2626;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ukmod-banner-ads .md-phone-icon-wrapper svg {
	width: 22px;
	height: 22px;
}

.ukmod-banner-ads .md-phone-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ukmod-banner-ads .md-phone-address {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	line-height: 1.4;
}

.ukmod-banner-ads .md-phone-label {
	font-size: 11px;
	color: #6b7280;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.ukmod-banner-ads .md-phone-number {
	font-size: 20px;
	font-weight: 800;
	color: #dc2626;
	line-height: 1.2;
}

.ukmod-banner-ads .md-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ukmod-banner-ads .md-list li {
	position: relative;
	padding-left: 28px;
	color: #374151;
	font-size: 15px;
	line-height: 1.5;
}

.ukmod-banner-ads .md-list li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 7px;
	width: 8px;
	height: 8px;
	background: #dc2626;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.ukmod-banner-ads .md-list li strong {
	color: #111827;
	font-weight: 700;
}

/* ——— Памятка card ——— */
.ukmod-pamyatka-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	flex: 1;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, box-shadow 0.2s;
	border-radius: 16px;
}

.ukmod-pamyatka-link:hover {
	transform: translateY(-3px);
}

.ukmod-banner-pamyatka .card-sms {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e2edf2;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	height: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ukmod-banner-pamyatka .sms-header {
	background: #eef3fc;
	padding: 12px 16px;
	border-bottom: 1px solid #dce5ec;
	font-size: 13px;
	font-weight: 600;
	color: #1e5a7a;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ukmod-banner-pamyatka .sms-header span:last-child {
	background: #e67e22;
	color: #fff;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
}

.ukmod-banner-pamyatka .sms-body {
	padding: 14px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ukmod-pamyatka-depts {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ukmod-pamyatka-dept {
	padding: 14px 14px 12px;
	border-radius: 12px;
	border: 1px solid #dce8f2;
	min-height: 0;
}

.ukmod-pamyatka-dept--buh {
	background: linear-gradient(135deg, #f8fbff 0%, #eef4fc 100%);
	border-left: 4px solid #3d72b1;
}

.ukmod-pamyatka-dept--client {
	background: linear-gradient(135deg, #f6fcfb 0%, #ecf7f5 100%);
	border-left: 4px solid #2a9d8f;
}

.ukmod-pamyatka-dept__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 12px;
}

.ukmod-pamyatka-dept__badge {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(15, 40, 70, 0.18);
}

.ukmod-pamyatka-dept--buh .ukmod-pamyatka-dept__badge {
	background: linear-gradient(145deg, #4a8fd4 0%, #2f6fad 100%);
}

.ukmod-pamyatka-dept--client .ukmod-pamyatka-dept__badge {
	background: linear-gradient(145deg, #3cb8a8 0%, #2a9d8f 100%);
}

.ukmod-pamyatka-dept__badge svg {
	display: block;
}

.ukmod-pamyatka-dept__title {
	margin: 0 !important;
	flex: 1;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	color: #0a2b4e;
	padding-top: 4px;
}

.ukmod-pamyatka-dept--buh .ukmod-pamyatka-dept__title {
	color: #1e5a7a;
}

.ukmod-pamyatka-dept--client .ukmod-pamyatka-dept__title {
	color: #1a6b62;
}

.ukmod-pamyatka-dept__rows {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ukmod-pamyatka-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 44px;
	padding: 9px 0;
	border-bottom: 1px dashed #d8e3ed;
}

.ukmod-pamyatka-dept--client .ukmod-pamyatka-row {
	border-bottom-color: #d4ebe8;
}

.ukmod-pamyatka-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.ukmod-pamyatka-row:first-child {
	padding-top: 0;
}

.ukmod-pamyatka-row__icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	font-size: 16px;
	line-height: 22px;
	text-align: center;
}

.ukmod-pamyatka-row__text {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #2c3e50;
}

.ukmod-pamyatka-row__label {
	font-weight: 700;
	color: #0a2b4e;
}

.ukmod-pamyatka-row__value {
	color: #2c3e50;
}

.ukmod-pamyatka-row--multiline .ukmod-pamyatka-row__label {
	display: inline;
	margin-right: 4px;
}

.ukmod-pamyatka-row--multiline .ukmod-pamyatka-row__value {
	display: block;
	margin-top: 2px;
}

.ukmod-pamyatka-row:not(.ukmod-pamyatka-row--multiline) .ukmod-pamyatka-row__label {
	margin-right: 4px;
}

.ukmod-pamyatka-row__phones {
	font-family: ui-monospace, 'Consolas', monospace;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.5;
	color: #1f6392 !important;
	letter-spacing: 0.01em;
}

/* phone.png — legacy override removed, see corr.2 block above */

/* Меню — крупнее и «мощнее» */
.ukmod-nav--desktop > .ukmod-nav__item {
	padding: 12px 10px;
}

.ukmod-nav__top-link {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.ukmod-nav--desktop > .ukmod-nav__item > .ukmod-nav__top-link:hover {
	color: #2a5a94;
}
.ukmod-banner-pamyatka .ipu {
	margin-top: 12px;
	background: #eef2fa;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #1e4663;
	text-align: center;
}

/* ——— UKMod sticky header + меню 7 разделов ——— */

.ukmod-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition: box-shadow 0.25s ease;
}

@media (min-width: 901px) {
	.ukmod-body .header.ukmod-header {
		background: transparent !important;
		box-shadow: none !important;
	}
}

/* тень только у полосы меню — не под прозрачной ячейкой слева */
.ukmod-header.ukmod-header--scrolled {
	box-shadow: none;
}

@media (min-width: 901px) {
	.ukmod-header.ukmod-header--scrolled .header__wrap__nav__main,
	.ukmod-header.ukmod-header--scrolled .ukmod-header__main {
		box-shadow: 0 6px 18px rgba(30, 52, 80, 0.12);
	}
}

.ukmod-header__main .ukmod-nav--desktop {
	flex-wrap: nowrap !important;
	row-gap: 0;
}

.ukmod-nav--desktop > .ukmod-nav__item {
	position: relative;
	padding: 14px 12px;
}

@media (min-width: 1361px) {
	.ukmod-nav--desktop > .ukmod-nav__item {
		padding: 14px 16px;
	}
}

@media (min-width: 1426px) {
	.ukmod-nav--desktop > .ukmod-nav__item {
		padding: 14px 20px;
	}
}

.ukmod-nav__top-link {
	display: block;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
}

/* Активный раздел: заливка столбца, цвет/шрифт ссылки без изменений */
.ukmod-nav--desktop > .ukmod-nav__item--current {
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #a9c4ea;
}

.ukmod-nav--mobile .ukmod-nav__item--current {
	background: #a9c4ea;
}

/* Официальная почта УК — жирным везде */
a.ukmod-office-email,
a.ukmod-office-email strong,
a[href="mailto:office@ks-ohta.ru"],
a[href="mailto:office@ks-ohta.ru"] span,
a[href="mailto:office@ks-ohta.ru"] strong {
	font-weight: 800 !important;
}

/* Оплата ЖКУ — красный акцент (CTA) */
.ukmod-nav__item--pay > .ukmod-nav__top-link {
	color: #e11f26 !important;
}

.ukmod-nav--desktop > .ukmod-nav__item--pay > .ukmod-nav__top-link:hover,
.ukmod-nav__item--pay:focus-within > .ukmod-nav__top-link {
	color: #bf1a1f !important;
}

.ukmod-nav--mobile .ukmod-nav__item--pay > .ukmod-nav__top-link {
	color: #e11f26 !important;
}

.ukmod-nav__panel {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 1100;
}

.ukmod-nav__item--pay .ukmod-nav__panel,
.ukmod-nav__item--company .ukmod-nav__panel,
.ukmod-nav__item--contacts .ukmod-nav__panel,
.ukmod-nav__item--houses .ukmod-nav__panel {
	left: auto;
	right: 0;
	transform: translateY(8px);
}

.ukmod-nav__item--has-panel:hover > .ukmod-nav__panel,
.ukmod-nav__item--has-panel:focus-within > .ukmod-nav__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.ukmod-nav__item--pay.ukmod-nav__item--has-panel:hover > .ukmod-nav__panel,
.ukmod-nav__item--pay.ukmod-nav__item--has-panel:focus-within > .ukmod-nav__panel,
.ukmod-nav__item--company.ukmod-nav__item--has-panel:hover > .ukmod-nav__panel,
.ukmod-nav__item--contacts.ukmod-nav__item--has-panel:hover > .ukmod-nav__panel,
.ukmod-nav__item--houses.ukmod-nav__item--has-panel:hover > .ukmod-nav__panel,
.ukmod-nav__item--company.ukmod-nav__item--has-panel:focus-within > .ukmod-nav__panel,
.ukmod-nav__item--contacts.ukmod-nav__item--has-panel:focus-within > .ukmod-nav__panel,
.ukmod-nav__item--houses.ukmod-nav__item--has-panel:focus-within > .ukmod-nav__panel {
	transform: translateY(0);
}

.ukmod-nav__panel-inner {
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(30, 52, 80, 0.15);
	padding: 12px;
}

/* Оплата ЖКУ — 4 сервиса 2×2 (как на главной) · без скролла */
.ukmod-nav__panel--pay {
	min-width: 252px;
	max-width: 288px;
}

.ukmod-nav__pay-preview {
	display: flex;
	flex-direction: column;
	max-height: min(85vh, 560px);
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 13px;
	box-shadow: 0 13px 32px rgba(30, 52, 80, 0.15);
	overflow: hidden;
	text-decoration: none;
	color: #1e3450;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ukmod-nav__pay-preview:hover {
	box-shadow: 0 16px 38px rgba(30, 52, 80, 0.2);
	transform: translateY(-2px);
}

.ukmod-nav__pay-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: visible;
}

.ukmod-nav__pay-scroll::-webkit-scrollbar {
	width: 7px;
}

.ukmod-nav__pay-scroll::-webkit-scrollbar-track {
	background: #f0f4f8;
	border-radius: 0 13px 0 0;
}

.ukmod-nav__pay-scroll::-webkit-scrollbar-thumb {
	background: #b8c9de;
	border-radius: 4px;
}

.ukmod-nav__pay-scroll::-webkit-scrollbar-thumb:hover {
	background: #94aac4;
}

.ukmod-nav__pay-preview img {
	display: block;
	width: 100%;
	height: auto;
}

.ukmod-nav__pay-cta {
	flex: 0 0 auto;
	display: block;
	padding: 9px 12px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	background: #f5f9ff;
	border-top: 1px solid #e8eef5;
}

.ukmod-nav__pay-fallback {
	padding: 16px;
}

.ukmod-nav__pay-fallback strong {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
}

.ukmod-nav__pay-fallback p {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #5a6b7d;
}

.ukmod-nav__pay-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)); /* всегда 2×2 для 4 сервисов */
	gap: 10px;
	max-height: none;
	overflow: visible;
}

.ukmod-nav__pay-item {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid #edf2f7;
	text-decoration: none;
	color: #1e3450;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ukmod-nav__pay-item:hover {
	border-color: #3d72b1;
	box-shadow: 0 4px 12px rgba(61, 114, 177, 0.12);
}

.ukmod-nav__pay-logo {
	flex: 0 0 auto;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ukmod-nav__pay-logo img {
	max-width: 100%;
	max-height: 36px;
	object-fit: contain;
}

.ukmod-nav__pay-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12px;
}

.ukmod-nav__pay-label {
	color: #6b7c93;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 10px;
}

.ukmod-nav__pay-value {
	font-weight: 700;
	color: #dc2626;
	line-height: 1.3;
	text-align: center;
}

.ukmod-nav__pay-value span {
	display: inline;
	font-weight: inherit;
	font-size: inherit;
	color: inherit;
}

/* proc из kommunal_child_pay_proc_html() */
.ukmod-nav__pay-value .proc {
	display: block;
	font-weight: 800;
	font-size: 13px;
	color: #dc2626;
}

.ukmod-nav__pay-value .ukmod-pay-proc-sub {
	display: inline;
	font-weight: 600;
	font-size: 11px;
	color: #6b7280;
}

/* Памятка — превью (−25% к базовой ширине 360px) */
.ukmod-nav__panel--pamyatka {
	width: 270px;
}

.ukmod-nav__pamyatka-preview {
	display: block;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e8eef5;
	box-shadow: 0 16px 40px rgba(30, 52, 80, 0.15);
	text-decoration: none;
	color: inherit;
}

.ukmod-nav__pamyatka-preview img {
	display: block;
	width: 100%;
	height: auto;
}

.ukmod-nav__pamyatka-cta {
	display: block;
	padding: 12px 16px;
	text-align: center;
	font-weight: 700;
	color: #3d72b1;
	background: #f5f9ff;
}

.ukmod-nav__pamyatka-fallback {
	padding: 20px 18px;
	background: #fffaf2;
	border-bottom: 1px solid #e8eef5;
}

.ukmod-nav__pamyatka-fallback strong {
	display: block;
	color: #1e3450;
	margin-bottom: 8px;
}

.ukmod-nav__pamyatka-fallback p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #3d5575;
}

/* Списки подменю — компактно, без «пустых строк» */
.ukmod-body .header .header__wrap__nav__main .ukmod-nav__sublist > li,
.ukmod-body .header .header__wrap__nav__main .ukmod-nav__group-list > li,
.ukmod-body .header .header__wrap__nav__main .ukmod-nav__houses > li {
	padding: 0 !important;
	margin: 0;
	list-style: none;
}

.ukmod-nav__panel--list,
.ukmod-nav__panel--company {
	min-width: 260px;
}

/* Платные услуги — hover: min-width (не max-content), отступы как у остальных */
.ukmod-nav__item--paid .ukmod-nav__panel--list {
	width: auto;
	min-width: 240px;
	max-width: min(280px, 88vw);
}

.ukmod-nav__item--paid .ukmod-nav__panel--list .ukmod-nav__panel-inner {
	min-width: 240px;
	padding: 8px 0;
}

.ukmod-nav__item--paid .ukmod-nav__sublist a {
	padding: 5px 20px;
}

.ukmod-nav__panel--list .ukmod-nav__panel-inner,
.ukmod-nav__panel--company .ukmod-nav__panel-inner {
	padding: 6px 0;
}

.ukmod-nav__sublist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ukmod-nav__sublist a {
	display: block;
	padding: 5px 18px;
	color: #1e3450;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.ukmod-hub__hero h1 br,
.ukmod-nav__sublist a br,
.ukmod-hub__list a br,
.ukmod-hub__crumbs br {
	display: block;
}

.ukmod-ads-letter {
	font-weight: 700;
	color: #d32f2f;
}

.ukmod-nav__sublist a:hover .ukmod-ads-letter,
.ukmod-hub__list a:hover .ukmod-ads-letter {
	color: #d32f2f;
}

.ukmod-nav__sublist a:hover {
	background: #f5f9ff;
	color: #3d72b1;
}

/* Мини АДС — как бейдж на баннере / мини АДС.png */
.ukmod-nav__sublist-item--ads > a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 6px;
	padding-bottom: 6px;
}

.ukmod-nav__sublist-item--ads > a:hover {
	background: #fff5f5;
}

.ukmod-nav__ads-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #dc2626;
	padding: 3px;
	border-radius: 6px;
	line-height: 1;
	box-shadow: 0 1px 2px rgba(220, 38, 38, 0.25);
}

.ukmod-nav__ads-badge-inner {
	display: inline-block;
	background: #fff;
	color: #dc2626;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.04em;
	padding: 3px 11px;
	border-radius: 8px;
	line-height: 1.15;
}

.ukmod-nav__sublist-item--rv {
	text-align: center;
}

.ukmod-nav__sublist-item--rv > a {
	display: inline-block !important;
	width: fit-content !important;
	max-width: fit-content !important;
	border: 2px solid #3d72b1;
	border-radius: 10px;
	margin: 4px auto;
	padding: 4px 10px;
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
}

.ukmod-nav__sublist-item--houses {
	position: relative;
}

.ukmod-nav__houses {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	min-width: 280px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(30, 52, 80, 0.12);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 1200;
}

.ukmod-nav__sublist-item--houses:hover .ukmod-nav__houses {
	display: block;
}

/* «Дома в управлении» у «О компании» — влево, чтобы не вылезало за экран */
.ukmod-nav__item--company .ukmod-nav__houses {
	left: auto;
	right: 100%;
	margin-right: 6px;
}

.ukmod-nav__houses a {
	font-size: 13px;
	font-weight: 500;
	padding: 5px 16px;
	line-height: 1.2;
}

/* Жителям — одна колонка вниз (fallback / не mega) */
.ukmod-nav__panel--groups {
	width: min(300px, 88vw);
	left: auto;
	right: 0;
	transform: translateY(8px);
}

/* Жителям — mega: якорь = навбар; left/width — JS от «Главная» */
.ukmod-nav--desktop.ukmod-nav--mega-anchor {
	position: relative;
}

.ukmod-nav--desktop > .ukmod-nav__item--residents.ukmod-nav__item--has-panel {
	position: static;
}

.ukmod-nav__item--residents .ukmod-nav__panel--groups-mega {
	left: 0;
	right: auto;
	top: 100%;
	width: auto;
	min-width: 0;
	max-width: none;
	transform: translateY(8px);
	z-index: 1200;
	container-type: inline-size;
	container-name: residents-mega;
}

.ukmod-nav__item--residents.ukmod-nav__item--has-panel:hover > .ukmod-nav__panel,
.ukmod-nav__item--residents.ukmod-nav__item--has-panel:focus-within > .ukmod-nav__panel {
	transform: translateY(0);
}

.ukmod-nav__item--residents .ukmod-nav__panel--groups-mega,
.ukmod-nav__item--residents .ukmod-nav__panel--groups-mega * {
	text-align: left;
}

.ukmod-body .ukmod-header .header__wrap__nav__main,
.ukmod-body .ukmod-header__main,
.ukmod-nav--desktop.ukmod-nav--mega-anchor {
	overflow: visible;
}

.ukmod-nav__groups-scroll {
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(30, 52, 80, 0.15);
	max-height: min(78vh, 540px);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #b8c9de #f0f4f8;
}

.ukmod-nav__groups-scroll--mega {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	max-height: none;
	overflow: visible;
	scrollbar-gutter: auto;
}

.ukmod-nav__groups-scroll::-webkit-scrollbar {
	width: 7px;
}

.ukmod-nav__groups-scroll::-webkit-scrollbar-track {
	background: #f0f4f8;
}

.ukmod-nav__groups-scroll::-webkit-scrollbar-thumb {
	background: #b8c9de;
	border-radius: 4px;
}

.ukmod-nav__groups-scroll::-webkit-scrollbar-thumb:hover {
	background: #94aac4;
}

.ukmod-nav__groups-list {
	padding: 10px 14px;
	text-align: left;
}

.ukmod-nav__groups-list--mega {
	display: grid;
	/* Только 4 → 2×2, без промежуточного 3+1 */
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 4px 2px 10px;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

.ukmod-nav__group {
	margin-bottom: 2px;
	text-align: left;
}

.ukmod-nav__group--card {
	margin-bottom: 0;
	padding: 14px 16px 16px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(30, 52, 80, 0.12);
	box-sizing: border-box;
	height: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ukmod-nav__group--card:hover {
	background: #f5f9ff;
	border-color: #c5d8ef;
	transform: translateY(-8px);
	box-shadow: 0 16px 36px rgba(61, 114, 177, 0.18);
}

.ukmod-nav__group--stack {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
	width: 100%;
}

.ukmod-nav__group--stack .ukmod-nav__group-title {
	margin-bottom: 0;
	width: 100%;
	max-width: 100%;
}

.ukmod-nav__group--stack .ukmod-nav__group-title--rv {
	margin: 4px 0 0;
	width: auto;
	max-width: 100%;
	align-self: flex-end; /* правый край рамки ≈ конец «услуги» у тарифов */
}

.ukmod-nav__group-title {
	display: block;
	font-size: 14px;
	font-weight: 800;
	color: #1e3450;
	margin-bottom: 1px;
	text-decoration: none;
	line-height: 1.25;
	text-align: left;
	width: 100%;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	word-break: normal;
	overflow-wrap: break-word;
}

a.ukmod-nav__group-title:hover {
	color: #3d72b1;
}

/* #РВ — рамка «Новости и документы» · по ширине текста */
.ukmod-nav__group-title--rv {
	display: inline-block;
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	border: 2px solid #3d72b1;
	border-radius: 10px;
	padding: 4px 10px;
	margin: 2px 0 3px;
	text-align: left;
	font-size: 14px;
	line-height: 1.25;
	white-space: normal;
}

.ukmod-nav__group-list {
	list-style: none;
	margin: 0 0 4px;
	padding: 0 0 0 18px;
	text-align: left;
}

.ukmod-nav__group--card .ukmod-nav__group-list {
	padding-left: 14px;
	margin-top: 6px;
}

.ukmod-nav__group-list a {
	display: block;
	padding: 2px 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: #3d5575;
	text-decoration: none;
	text-align: left;
}

.ukmod-nav__group-list a:hover {
	color: #3d72b1;
}

/* legacy alias — если где-то остался старый класс */
.ukmod-nav__groups-grid {
	display: block;
}

/* По ширине панели mega: сразу 2×2 (не 3+1) */
@container residents-mega (max-width: 900px) {
	.ukmod-nav__groups-list--mega {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Fallback без container queries */
@media (max-width: 1200px) {
	.ukmod-nav__groups-list--mega {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Мобильное меню */
.ukmod-nav--mobile .ukmod-nav__panel {
	position: static;
	transform: none;
	opacity: 1;
	visibility: hidden;
	max-height: 0;
	overflow: hidden;
	pointer-events: none;
	transition: max-height 0.3s ease;
}

.ukmod-nav--mobile .ukmod-nav__item--open .ukmod-nav__panel {
	visibility: visible;
	max-height: 2000px;
	pointer-events: auto;
}

.ukmod-nav--mobile .ukmod-nav__item--has-panel {
	position: relative;
}

.ukmod-nav--mobile .ukmod-nav__toggle {
	position: absolute;
	right: 0;
	top: 8px;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	cursor: pointer;
}

.ukmod-nav--mobile .ukmod-nav__toggle::before {
	content: "+";
	font-size: 22px;
	color: #3d72b1;
	font-weight: 700;
}

.ukmod-nav--mobile .ukmod-nav__item--open .ukmod-nav__toggle::before {
	content: "−";
}

.ukmod-nav--mobile .ukmod-nav__panel-inner,
.ukmod-nav--mobile .ukmod-nav__groups-scroll,
.ukmod-nav--mobile .ukmod-nav__groups-grid,
.ukmod-nav--mobile .ukmod-nav__pamyatka-preview,
.ukmod-nav--mobile .ukmod-nav__pay-preview {
	max-width: 100%;
	box-shadow: none;
	border: none;
	border-radius: 0;
}

.ukmod-nav--mobile .ukmod-nav__pamyatka-preview {
	max-width: 75%;
	margin: 0 auto;
}

.ukmod-nav--mobile .ukmod-nav__groups-scroll,
.ukmod-nav--mobile .ukmod-nav__groups-grid {
	grid-template-columns: 1fr;
	padding: 0 0 12px 12px;
	max-height: none;
	box-shadow: none;
	border: none;
	border-radius: 0;
}

.ukmod-nav--mobile .ukmod-nav__groups-scroll--mega,
.ukmod-nav--mobile .ukmod-nav__groups-list--mega {
	display: block;
	background: transparent;
	padding: 0 0 12px 12px;
}

.ukmod-nav--mobile .ukmod-nav__group--card {
	box-shadow: none;
	border: none;
	border-radius: 0;
	padding: 0;
	margin-bottom: 10px;
	height: auto;
	transform: none !important;
}

.ukmod-nav--mobile .ukmod-nav__group--card:hover {
	transform: none;
	box-shadow: none;
	background: #f5f9ff;
}

.ukmod-nav--mobile .ukmod-nav__houses {
	position: static;
	display: block;
	box-shadow: none;
	border: none;
	padding-left: 12px;
}

/* Hero разделов — бледно-голубой фон и высота как top__block__info (макет POWERPNT) */
.ukmod-hub-page .top__block__info.ukmod-hub__hero {
	width: 100%;
	background: linear-gradient(71.79deg, #f1f6fe 28.1%, #eef5ff 99.1%);
}

.ukmod-hub-page .top__block__info .top__block__info__wrap {
	padding: 72px 0 59px;
}

.ukmod-hub-page .top__block__info .top__block__info__wrap h1 {
	font-weight: 700;
	font-size: 40px;
	line-height: 48px;
	text-transform: uppercase;
	color: #1e3450;
	margin: 0 0 15px;
}

.ukmod-hub-page .top__block__info .ukmod-hub__lead {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.54;
	color: #1e3450;
	margin: 0;
	max-width: 500px;
}

@media (max-width: 950px) {
	.ukmod-hub-page .top__block__info .top__block__info__wrap {
		padding: 56px 0 48px;
	}

	.ukmod-hub-page .top__block__info .top__block__info__wrap h1 {
		font-size: 30px;
		line-height: 33px;
	}
}

@media (max-width: 460px) {
	.ukmod-hub-page .top__block__info .top__block__info__wrap {
		padding: 44px 0 36px;
	}

	.ukmod-hub-page .top__block__info .top__block__info__wrap h1 {
		font-size: 25px;
		line-height: 1.2;
	}
}

/* Страницы домов (#C) */
.ukmod-house-page .top__block__info,
.ukmod-houses-page .top__block__info.ukmod-hub__hero {
	width: 100%;
	background: linear-gradient(71.79deg, #f1f6fe 28.1%, #eef5ff 99.1%);
}

.ukmod-house-page .top__block__info .top__block__info__wrap,
.ukmod-houses-page .top__block__info .top__block__info__wrap {
	padding: 72px 0 59px;
}

.ukmod-house-page .top__block__info .top__block__info__wrap h1 {
	font-weight: 700;
	font-size: 40px;
	line-height: 48px;
	text-transform: uppercase;
	color: #1e3450;
	margin: 0 0 15px;
}

.ukmod-hub {
	padding: 0 0 48px;
}

.ukmod-hub__crumbs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
}

.ukmod-hub__crumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 6px;
	color: #94aac4;
}

.ukmod-hub__nav {
	margin-bottom: 24px;
}

.ukmod-hub__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ukmod-hub__list-heading {
	margin: 14px 0 4px;
	font-size: 14px;
	font-weight: 800;
	color: #1e3450;
}

.ukmod-hub__list-heading--rv {
	display: inline-block;
	border: 2px solid #3d72b1;
	border-radius: 10px;
	padding: 4px 10px;
	margin-top: 16px;
}

.ukmod-hub__list-heading--link a {
	display: inline-block;
	padding: 0;
	font-size: 14px;
	font-weight: 800;
	color: #1e3450;
	text-decoration: none;
	line-height: 1.35;
}

.ukmod-hub__list-heading--link a:hover {
	color: #3d72b1;
}

.ukmod-hub__list-heading--link.ukmod-hub__list-heading--rv a {
	padding: 4px 10px;
}

.ukmod-hub__list-item a {
	display: block;
	padding: 6px 0 6px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #3d5575;
	text-decoration: none;
	line-height: 1.25;
}

.ukmod-hub__list-item a:hover {
	color: #3d72b1;
}

.ukmod-hub__list-item--rv a {
	display: inline-block;
	border: 2px solid #3d72b1;
	border-radius: 10px;
	padding: 6px 14px;
	margin-left: 0;
}

.ukmod-hub__stub {
	padding: 18px 20px;
	background: #f5f9ff;
	border: 1px solid #dce8f5;
	border-radius: 12px;
	color: #3d5575;
	font-size: 14px;
	line-height: 1.45;
}

.ukmod-hub__stub p {
	margin: 0;
}

.ukmod-hub__content {
	margin-bottom: 24px;
}

.ukmod-paid-pay__guide {
	max-width: min(720px, 100%);
	margin-bottom: 28px;
	padding: 22px 24px;
	background: linear-gradient(145deg, #f8fbff 0%, #fff 55%);
	border: 1px solid #e8eef5;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(30, 52, 80, 0.07);
}

.ukmod-paid-pay__guide-title,
.ukmod-paid-pay__providers-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 800;
	color: #1e3450;
	line-height: 1.3;
}

.ukmod-paid-pay__providers-title {
	margin-top: 4px;
	margin-bottom: 12px;
}

.ukmod-paid-pay__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	counter-reset: ukmod-pay-step;
}

.ukmod-paid-pay__step {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 14px;
	align-items: start;
}

.ukmod-paid-pay__step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #3d72b1;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(61, 114, 177, 0.25);
}

.ukmod-paid-pay__step-text {
	padding-top: 5px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	color: #3d5575;
}

.ukmod-paid-pay__note {
	margin: 18px 0 0;
	padding: 12px 16px;
	background: #eef5fc;
	border-left: 4px solid #3d72b1;
	border-radius: 0 10px 10px 0;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 600;
	color: #1e3450;
}

.ukmod-paid-pay__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	max-width: min(720px, 100%);
	margin-top: 8px;
}

.ukmod-hub__content .ukmod-paid-pay__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
	padding: 17px 12px 20px;
	min-height: 117px;
	box-sizing: border-box;
	margin: 0;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(30, 52, 80, 0.06);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, border-color 0.2s;
	overflow: hidden;
}

.ukmod-hub__content .ukmod-paid-pay__card:hover {
	border-color: #3d72b1;
	box-shadow: 0 6px 20px rgba(61, 114, 177, 0.12);
}

.ukmod-hub__content .ukmod-paid-pay__card .logo__wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	margin-bottom: 4px;
	overflow: hidden;
	transform: none;
}

.ukmod-hub__content .ukmod-paid-pay__card .logo__wrap img,
.ukmod-hub__content .ukmod-paid-pay__card .logo__wrap .logo {
	display: block;
	max-width: 100%;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ukmod-hub__content .ukmod-paid-pay__card .info .proc {
	font-size: 0.84em;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

@media (max-width: 720px) {
	.ukmod-paid-pay__grid {
		grid-template-columns: 1fr;
		max-width: 280px;
	}
}

.ukmod-hub__content-block {
	margin-bottom: 8px;
}

.ukmod-hub__subheading {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 800;
	color: #1e3450;
}

.ukmod-hub__text {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.5;
	color: #3d5575;
}

.ukmod-hub__bullets {
	margin: 0 0 14px;
	padding-left: 1.25em;
	font-size: 15px;
	line-height: 1.5;
	color: #3d5575;
}

.ukmod-hub__bullets li {
	margin: 0 0 8px;
}

.ukmod-hub__bullets a {
	color: #3d72b1;
	font-weight: 700;
	text-decoration: none;
}

.ukmod-hub__bullets a:hover {
	text-decoration: underline;
}

.ukmod-hub__subhead {
	margin: 18px 0 8px;
	font-size: 15px;
	font-weight: 800;
	color: #1e3450;
}

.ukmod-hub__subhead:first-child {
	margin-top: 0;
}

.ukmod-hub__anchor-link {
	display: inline-block;
	padding: 8px 14px;
	font-size: 15px;
	font-weight: 800;
	color: #3d72b1;
	text-decoration: none;
	background: #f5f9ff;
	border: 2px solid #3d72b1;
	border-radius: 10px;
}

.ukmod-hub__anchor-link:hover {
	background: #e8f1fc;
	text-decoration: none;
}

.ukmod-hub__accordion-body .ukmod-hub__key-price {
	margin: 10px 0 12px;
}

/* Отказ от ТВ — карточки операторов */
.ukmod-tv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 8px 0 14px;
}

.ukmod-tv-card {
	padding: 16px 18px 18px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(30, 52, 80, 0.06);
	box-sizing: border-box;
}

.ukmod-tv-card--pakt {
	border-left: 4px solid #3d72b1;
}

.ukmod-tv-card--muvi {
	border-left: 4px solid #2a9d8f;
}

.ukmod-tv-card__head {
	margin-bottom: 12px;
}

.ukmod-tv-card__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
	color: #1e3450;
}

.ukmod-tv-card__phones {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.ukmod-tv-card__phones a {
	display: inline-block;
	padding: 4px 10px;
	font-size: 15px;
	font-weight: 800;
	color: #3d72b1;
	text-decoration: none;
	background: #f5f9ff;
	border-radius: 8px;
}

.ukmod-tv-card--muvi .ukmod-tv-card__phones a {
	color: #1f7a70;
	background: #f0faf8;
}

.ukmod-tv-card__phones a:hover {
	text-decoration: underline;
}

.ukmod-tv-card__label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #7a8fa8;
}

.ukmod-tv-card__addrs {
	margin: 0;
	padding-left: 1.1em;
	font-size: 14px;
	line-height: 1.45;
	color: #3d5575;
}

.ukmod-tv-card__addrs li {
	margin: 0 0 4px;
}

@media (max-width: 700px) {
	.ukmod-tv-grid {
		grid-template-columns: 1fr;
	}
}

/* Ключ от домофона */
.ukmod-hub__key-card {
	max-width: 560px;
	padding: 22px 24px 20px;
	background: linear-gradient(145deg, #f8fbff 0%, #eef4fc 100%);
	border: 1px solid #d7e4f4;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(30, 52, 80, 0.08);
}

.ukmod-hub__key-card-text {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.55;
	color: #1e3450;
	font-weight: 600;
}

.ukmod-hub__key-card-text a {
	color: #3d72b1;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ukmod-hub__key-card-text a:hover {
	color: #2a5a94;
}

.ukmod-hub__key-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 12px;
}

.ukmod-hub__key-price-label {
	font-size: 14px;
	font-weight: 600;
	color: #3d5575;
}

.ukmod-hub__key-price-value {
	font-size: 22px;
	font-weight: 800;
	color: #3d72b1;
	letter-spacing: 0.01em;
}

.ukmod-hub__card {
	margin-bottom: 16px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(30, 52, 80, 0.06);
}

.ukmod-hub__card-title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	color: #1e3450;
	line-height: 1.35;
}

.ukmod-hub__details {
	margin: 0;
}

.ukmod-hub__detail {
	display: grid;
	grid-template-columns: minmax(120px, 34%) 1fr;
	gap: 8px 16px;
	padding: 10px 0;
	border-bottom: 1px solid #edf2f7;
}

.ukmod-hub__detail:last-child {
	border-bottom: none;
}

.ukmod-hub__detail dt {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: #6b7c93;
}

.ukmod-hub__detail dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #1e3450;
}

.ukmod-hub__detail a {
	color: #3d72b1;
	text-decoration: none;
	font-weight: 600;
}

.ukmod-hub__detail a:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.ukmod-hub__detail {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

.ukmod-hub__accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.ukmod-hub__accordion-item {
	scroll-margin-top: 100px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(30, 52, 80, 0.06);
	overflow: hidden;
}

.ukmod-hub__accordion-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 800;
	color: #1e3450;
	cursor: pointer;
	list-style: none;
	line-height: 1.35;
}

.ukmod-hub__accordion-summary::-webkit-details-marker {
	display: none;
}

.ukmod-hub__accordion-summary::after {
	content: "+";
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 700;
	color: #3d72b1;
	line-height: 1;
}

.ukmod-hub__accordion-item[open] > .ukmod-hub__accordion-summary::after {
	content: "−";
}

.ukmod-hub__accordion-body {
	padding: 0 18px 16px;
	border-top: 1px solid #edf2f7;
}

.ukmod-hub__accordion-body .ukmod-hub__text {
	margin-top: 12px;
}

.ukmod-hub__accordion-placeholder {
	color: #6b7c93;
	font-style: italic;
}

.ukmod-hub__accordion-body .ukmod-prejskurant {
	margin-top: 4px;
}

.ukmod-prejskurant__section {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	color: #1e3450;
	line-height: 1.35;
}

.ukmod-prejskurant__group {
	margin: 14px 0 8px;
	font-size: 14px;
	font-weight: 800;
	color: #3d72b1;
	line-height: 1.35;
}

.ukmod-prejskurant__table-wrap {
	overflow-x: auto;
	margin-bottom: 16px;
	border: 1px solid #e8eef5;
	border-radius: 12px;
	background: #fff;
}

.ukmod-prejskurant__table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 13px;
	line-height: 1.4;
}

.ukmod-prejskurant__table:not(.ukmod-tarify__table) thead th:nth-child(1),
.ukmod-prejskurant__table .ukmod-prejskurant__num {
	width: 3.2em;
}

.ukmod-prejskurant__table:not(.ukmod-tarify__table) thead th:nth-child(3),
.ukmod-prejskurant__table .ukmod-prejskurant__unit {
	width: 4.5em;
}

.ukmod-prejskurant__table:not(.ukmod-tarify__table) thead th:nth-child(4),
.ukmod-prejskurant__table .ukmod-prejskurant__price {
	width: 9em;
}

.ukmod-prejskurant__table tbody td:nth-child(2) {
	word-break: break-word;
}

.ukmod-prejskurant__table:not(.ukmod-tarify__table) thead th {
	padding: 10px 12px;
	text-align: left;
	font-size: 12px;
	font-weight: 800;
	color: #1e3450;
	background: #f0f6fc;
	border-bottom: 1px solid #e8eef5;
	white-space: nowrap;
}

.ukmod-tarify__table thead th {
	padding: 10px 12px;
	text-align: left;
	font-size: 12px;
	font-weight: 800;
	color: #1e3450;
	background: #f0f6fc;
	border-bottom: 1px solid #e8eef5;
	white-space: normal;
	line-height: 1.35;
	vertical-align: bottom;
}

.ukmod-prejskurant__table tbody td {
	padding: 9px 12px;
	vertical-align: top;
	color: #3d5575;
	border-bottom: 1px solid #edf2f7;
}

.ukmod-prejskurant__table tbody tr:last-child td {
	border-bottom: none;
}

.ukmod-prejskurant__table tbody tr:nth-child(even) {
	background: #fafcfe;
}

.ukmod-prejskurant__num,
.ukmod-prejskurant__unit {
	white-space: nowrap;
	text-align: center;
	color: #6b7c93;
	font-weight: 700;
}

.ukmod-prejskurant__price {
	white-space: nowrap;
	font-weight: 700;
	color: #1e3450;
	text-align: right;
}

.ukmod-prejskurant__footer {
	margin-top: 12px;
}

.ukmod-prejskurant__note {
	margin: 0 0 8px;
	padding: 10px 14px;
	background: #eef5fc;
	border-left: 4px solid #3d72b1;
	border-radius: 0 8px 8px 0;
	font-size: 13px;
	line-height: 1.45;
	color: #3d5575;
}

.ukmod-prejskurant__warranty {
	font-weight: 700;
	color: #1e3450;
}

.ukmod-prejskurant__cta {
	margin: 20px 0 0;
	text-align: center;
}

.ukmod-prejskurant__cta a {
	display: inline-block;
	border: 2px solid #3d72b1;
	border-radius: 10px;
	padding: 8px 22px;
	font-size: 14px;
	font-weight: 800;
	color: #1e3450;
	text-decoration: none;
	line-height: 1.35;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ukmod-prejskurant__cta a:hover {
	background: #3d72b1;
	color: #fff;
	box-shadow: 0 4px 14px rgba(61, 114, 177, 0.25);
}

.ukmod-ipu__guide {
	max-width: min(720px, 100%);
}

.ukmod-ipu__block {
	margin-top: 4px;
}

.ukmod-ipu__alert {
	margin: 0 0 14px;
	padding: 12px 16px;
	background: #fff8e6;
	border-left: 4px solid #e6a800;
	border-radius: 0 10px 10px 0;
	font-size: 14px;
	font-weight: 800;
	color: #1e3450;
	line-height: 1.4;
}

.ukmod-ipu__text {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.5;
	color: #3d5575;
}

.ukmod-ipu__text a {
	color: #3d72b1;
	font-weight: 600;
	text-decoration: none;
}

.ukmod-ipu__text a:hover {
	text-decoration: underline;
}

.ukmod-ipu__subheading {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 800;
	color: #1e3450;
}

.ukmod-ipu__orgs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}

.ukmod-ipu__org {
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(30, 52, 80, 0.05);
}

.ukmod-ipu__org-name {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 800;
	color: #1e3450;
}

.ukmod-ipu__org-phone {
	font-size: 14px;
	font-weight: 700;
	color: #3d72b1;
	text-decoration: none;
}

.ukmod-ipu__org-phone:hover {
	text-decoration: underline;
}

.ukmod-hub__accordion-body .ukmod-ipu__guide {
	margin-top: 0;
}

.ukmod-zayavlenie-blank {
	max-width: min(640px, 100%);
	padding: 24px 28px;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
	font-size: 15px;
	line-height: 1.55;
	color: #1e3450;
}

.ukmod-zayavlenie-blank p {
	margin: 0 0 8px;
}

.ukmod-zayavlenie-blank__head {
	margin-bottom: 18px;
}

.ukmod-zayavlenie-blank__from {
	margin-bottom: 20px;
}

.ukmod-zayavlenie-blank__field {
	padding-left: 12px;
}

.ukmod-zayavlenie-blank__title {
	margin: 24px 0 28px !important;
	text-align: center;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ukmod-zayavlenie-blank__sign {
	margin-top: 36px !important;
	font-size: 14px;
	color: #3d5575;
}

.ukmod-zayavlenie__download {
	margin-top: 20px;
}

/* ——— Форма обращений (Заявление) ——— */
.ukmod-appeal__heading {
	margin: 36px 0 12px;
	font-size: 22px;
	font-weight: 800;
	color: #1e3450;
}

.ukmod-appeal {
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 16px;
	padding: 24px 28px 28px;
	box-sizing: border-box;
}

.ukmod-appeal__lead {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	color: #3d5575;
}

.ukmod-appeal__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ukmod-appeal__row {
	display: grid;
	gap: 12px;
}

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

.ukmod-appeal__row--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ukmod-appeal__address {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px 16px;
	background: #f7fafc;
	border: 1px solid #e8eef5;
	border-radius: 12px;
}

.ukmod-appeal__address-title {
	font-size: 14px;
	font-weight: 700;
	color: #1e3450;
}

.ukmod-appeal__input,
.ukmod-appeal__textarea {
	width: 100%;
	border: 1px solid #c5d3e7;
	border-radius: 12px;
	background: #fff;
	padding: 12px 14px;
	font: inherit;
	color: #1e3450;
	box-sizing: border-box;
}

.ukmod-appeal__textarea {
	min-height: 120px;
	resize: vertical;
}

.ukmod-appeal__input:focus,
.ukmod-appeal__textarea:focus {
	outline: none;
	border-color: #3d72b1;
	box-shadow: 0 0 0 3px rgba(61, 114, 177, 0.15);
}

.ukmod-appeal__hint {
	font-size: 13px;
	color: #6b7a90;
	margin-top: -4px;
}

.ukmod-appeal__submit {
	align-self: stretch;
	width: 100%;
	max-width: 320px;
	margin-top: 4px;
	padding: 14px 22px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(180deg, #2a568a 0%, #224a78 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.ukmod-appeal__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(34, 74, 120, 0.25);
}

.ukmod-appeal__status {
	min-height: 1.2em;
	font-size: 14px;
	color: #3d5575;
}

.ukmod-appeal-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(20, 40, 70, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	box-sizing: border-box;
}

.ukmod-appeal-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.ukmod-appeal-modal[hidden] {
	display: none !important;
}

.ukmod-appeal-modal.is-open[hidden] {
	display: flex !important;
}

.ukmod-appeal-modal__dialog {
	background: #fff;
	padding: 30px 24px;
	border-radius: 16px;
	text-align: center;
	max-width: 360px;
	width: 100%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	transform: translateY(16px);
	transition: transform 0.25s ease;
}

.ukmod-appeal-modal.is-open .ukmod-appeal-modal__dialog {
	transform: translateY(0);
}

.ukmod-appeal-modal__title {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 10px;
	color: #1e3450;
}

.ukmod-appeal-modal__text {
	font-size: 15px;
	line-height: 1.45;
	color: #555;
	margin-bottom: 20px;
}

.ukmod-appeal-modal__ok {
	width: 100%;
	padding: 14px;
	border-radius: 10px;
	border: none;
	background: linear-gradient(135deg, #2b4f7c, #3d72b1);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

html.ukmod-appeal-open,
html.ukmod-appeal-open body {
	overflow: hidden;
}

@media (max-width: 900px) {
	.ukmod-appeal__row--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ukmod-appeal {
		padding: 18px 16px 20px;
	}

	.ukmod-appeal__row--2,
	.ukmod-appeal__row--4 {
		grid-template-columns: 1fr;
	}

	.ukmod-appeal__submit {
		max-width: none;
	}
}

.ukmod-tarify__intro {
	margin-bottom: 20px;
}

.ukmod-tarify__note {
	margin: 8px 0 0 !important;
	font-size: 14px;
	font-weight: 600;
	color: #3d5575;
}

.ukmod-tarify__unit {
	margin: 0 0 10px !important;
	font-size: 14px;
	font-weight: 600;
	color: #3d72b1;
}

.ukmod-tarify__table-wrap {
	margin-top: 4px;
}

.ukmod-tarify__table {
	min-width: 640px;
	table-layout: auto;
}

.ukmod-tarify__table tbody td:nth-child(1) {
	word-break: break-word;
}

.ukmod-tarify__table .ukmod-prejskurant__price {
	text-align: right;
	white-space: nowrap;
}

.ukmod-tarify__th-sub {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 500;
	color: #6b7c93;
}

.ukmod-tarify__download {
	margin-top: 20px;
}

/* ——— Согласие на обработку ПД (как ks-ohta.ru) ——— */
html.ukmod-consent-open,
html.ukmod-consent-open body {
	overflow: hidden;
}

.ukmod-consent {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.ukmod-consent.is-open {
	display: flex;
}

.ukmod-consent[hidden] {
	display: none !important;
}

.ukmod-consent__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 28, 45, 0.72);
}

.ukmod-consent__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(920px, 100%);
	max-height: min(88vh, 900px);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.ukmod-consent__scroll {
	flex: 1 1 auto;
	overflow: auto;
	padding: 28px 32px 16px;
}

.ukmod-consent__title {
	margin: 0 0 16px;
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	color: #1e3450;
}

.ukmod-consent__attention {
	margin: 0 0 14px;
	font-size: 16px;
	text-align: center;
	color: #1e3450;
}

.ukmod-consent__body p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.45;
	color: #2b3f57;
	text-align: justify;
}

.ukmod-consent__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 14px 24px 20px;
	border-top: 1px solid #e8eef5;
	background: #fff;
}

.ukmod-consent__cookie {
	flex: 1 1 260px;
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: #5a708a;
}

.ukmod-consent__btn {
	flex: 0 0 auto;
	min-width: 132px;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: #c62828;
	background: #fff;
	border: 2px solid #e53935;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ukmod-consent__btn:hover:not(:disabled) {
	background: #fff5f5;
}

.ukmod-consent__btn.is-accepted,
.ukmod-consent.ukmod-consent--accepted .ukmod-consent__btn {
	color: #3d7a1f;
	border-color: #9acd32;
	background: #f6ffe8;
	cursor: default;
}

@media (max-width: 640px) {
	.ukmod-consent__scroll {
		padding: 20px 16px 12px;
	}

	.ukmod-consent__footer {
		flex-direction: column;
		align-items: stretch;
		padding: 12px 16px 16px;
	}

	.ukmod-consent__btn {
		width: 100%;
	}
}

/* ——— Попап оплаты (phone.png → #pay__items) ——— */
html.ukmod-pay-popup-open,
html.ukmod-pay-popup-open body {
	overflow: hidden;
}

.ukmod-pay-popup {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.ukmod-pay-popup.is-open {
	display: flex;
}

.ukmod-pay-popup[hidden] {
	display: none !important;
}

.ukmod-pay-popup.is-open[hidden] {
	display: flex !important;
}

.ukmod-pay-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 28, 45, 0.55);
}

.ukmod-pay-popup__dialog {
	position: relative;
	z-index: 1;
	max-width: min(440px, 94vw);
	padding: 14px;
	background: #fff;
	border: 3px solid #e11f26;
	border-radius: 12px;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
	box-sizing: border-box;
}

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

.ukmod-pay-popup__close {
	position: absolute;
	top: 4px;
	right: 8px;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #e11f26;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ukmod-pay-popup__close:hover {
	color: #bf1a1f;
}

.ukmod-pay-popup__link {
	display: block;
	line-height: 0;
	text-decoration: none;
	border-radius: 6px;
	overflow: hidden;
}

.ukmod-pay-popup__link img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(72vh, 560px);
	object-fit: contain;
}

.ukmod-pay-popup__link:hover {
	opacity: 0.96;
}

@media (max-width: 480px) {
	.ukmod-pay-popup__dialog {
		padding: 10px;
		max-width: 96vw;
	}
}

/* ГИС ЖКХ — вкладка «Управление» на странице дома */
.ukmod-gis-card {
	margin: 8px 0 24px;
	background: #fff;
	border: 1px solid #e3ebf5;
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(30, 52, 80, 0.08);
	overflow: hidden;
}

.ukmod-gis-card__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 16px 20px;
	background: linear-gradient(90deg, #f3f8ff 0%, #eef5ff 100%);
	border-bottom: 1px solid #dce7f5;
}

.ukmod-gis-card__pin {
	flex: 0 0 auto;
	color: #1a5f9e;
	margin-top: 2px;
}

.ukmod-gis-card__address {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	color: #1a5f9e;
}

.ukmod-gis-card__body {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 0;
}

.ukmod-gis-card__col {
	padding: 14px 18px 18px;
	border-right: 1px solid #edf2f8;
}

.ukmod-gis-card__col:last-child {
	border-right: 0;
}

.ukmod-gis-card__col--icon {
	position: relative;
	padding-top: 12px;
}

.ukmod-gis-card__building {
	margin: 0 0 10px 2px;
}

.ukmod-gis-card__field {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f4fa;
}

.ukmod-gis-card__col .ukmod-gis-card__field:last-child {
	border-bottom: 0;
}

.ukmod-gis-card__label {
	font-size: 13px;
	line-height: 1.35;
	color: #5a6b7d;
}

.ukmod-gis-card__label--accent {
	color: #1a5f9e;
	font-weight: 700;
	font-size: 14px;
}

.ukmod-gis-card__value {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 700;
	color: #1e3450;
	word-break: break-word;
}

.ukmod-gis-card__value--link {
	color: #1a5f9e;
	font-weight: 600;
}

.ukmod-gis-card__field--odpu {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.ukmod-gis-card__field--guid .ukmod-gis-card__value {
	font-size: 12px;
	font-weight: 600;
	font-family: Consolas, "Courier New", monospace;
	color: #334155;
}

@media (max-width: 980px) {
	.ukmod-gis-card__body {
		grid-template-columns: 1fr 1fr;
	}

	.ukmod-gis-card__col:nth-child(2) {
		border-right: 0;
	}

	.ukmod-gis-card__col:last-child {
		grid-column: 1 / -1;
		border-top: 1px solid #edf2f8;
	}
}

@media (max-width: 640px) {
	.ukmod-gis-card__body {
		grid-template-columns: 1fr;
	}

	.ukmod-gis-card__col {
		border-right: 0;
		border-bottom: 1px solid #edf2f8;
	}

	.ukmod-gis-card__col:last-child {
		border-bottom: 0;
		border-top: 0;
	}

	.ukmod-gis-card__address {
		font-size: 14px;
	}
}

/* Вкладки дома: активная — заливка, как в верхнем меню */
.ukmod-house-page .ukmod-house-tabs .kt-tabs-title-list > li {
	margin: 0 4px 0 0;
}

.ukmod-house-page .ukmod-house-tabs .kt-tabs-title-list > li .kt-tab-title {
	border-bottom-width: 0 !important;
	border-radius: 4px !important;
	transition: background 0.15s ease;
}

.ukmod-house-page .ukmod-house-tabs .kt-tabs-title-list > li.kt-tab-title-active .kt-tab-title,
.ukmod-house-page .ukmod-house-tabs .kt-tabs-title-list > li.kt-tab-title-active .kt-tab-title:hover {
	background: #a9c4ea !important;
	border-color: transparent !important;
	color: inherit !important;
}

.ukmod-house-page .ukmod-house-tabs .kt-tabs-wrap .kt-tabs-content-wrap > .kt-tab-inner-content {
	display: none;
}

.ukmod-house-page .ukmod-house-tabs .kt-tabs-wrap.kt-active-tab-1 .kt-tabs-content-wrap > .kt-inner-tab-1,
.ukmod-house-page .ukmod-house-tabs .kt-tabs-wrap.kt-active-tab-2 .kt-tabs-content-wrap > .kt-inner-tab-2,
.ukmod-house-page .ukmod-house-tabs .kt-tabs-wrap.kt-active-tab-3 .kt-tabs-content-wrap > .kt-inner-tab-3,
.ukmod-house-page .ukmod-house-tabs .kt-tabs-wrap.kt-active-tab-4 .kt-tabs-content-wrap > .kt-inner-tab-4 {
	display: block;
}

/* О компании → Лицензии */
.ukmod-licenses {
	display: grid;
	gap: 28px;
	margin: 8px 0 24px;
}

.ukmod-licenses__doc {
	background: #fff;
	border: 1px solid #e3ebf5;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(30, 52, 80, 0.06);
	overflow: hidden;
}

.ukmod-licenses__head {
	padding: 18px 20px 12px;
	background: linear-gradient(90deg, #f3f8ff 0%, #eef5ff 100%);
	border-bottom: 1px solid #dce7f5;
}

.ukmod-licenses__title {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	color: #1e3450;
}

.ukmod-licenses__desc {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.45;
	color: #5a6b7d;
}

.ukmod-licenses__actions {
	margin: 0;
}

.ukmod-licenses__pdf {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	color: #0a6689;
	text-decoration: none;
}

.ukmod-licenses__pdf:hover {
	text-decoration: underline;
}

.ukmod-licenses__pages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	padding: 16px 18px 20px;
}

.ukmod-licenses__page {
	display: block;
	border: 1px solid #e5edf6;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ukmod-licenses__page:hover {
	box-shadow: 0 10px 22px rgba(30, 52, 80, 0.12);
	transform: translateY(-2px);
}

.ukmod-licenses__page img {
	display: block;
	width: 100%;
	height: auto;
}

/* Раскрытие информации — карточки как у домов */
.ukmod-raskrytie__wrap {
	display: grid;
	gap: 24px;
}

.ukmod-raskrytie .ukmod-gis-card {
	margin: 0;
}

.ukmod-info-card__notice {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px 24px;
}

.ukmod-info-card__notice img {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
}

.ukmod-info-card__notice p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	color: #1e3450;
}

.ukmod-raskrytie-page .top__block__info {
	width: 100%;
	background: linear-gradient(71.79deg, #f1f6fe 28.1%, #eef5ff 99.1%);
}


