/**
 * GruzimVse — основные стили темы
 */

:root {
	/* Палитра как у hero-слайдера: бирюза, матовый жёлтый, серо-синий текст */
	--slider-teal: #007979;
	--slider-teal-hover: #009090;
	--slider-red: #ff4b4b;
	--slider-yellow: #f2d06b;
	--slider-ash: #3d4449;

	--color-bg: #f6f8f8;
	--color-surface: #ffffff;
	--color-text: var(--slider-ash);
	--color-muted: #5c6468;
	--color-accent: var(--slider-teal);
	--color-accent-hover: var(--slider-teal-hover);
	--color-accent-soft: #e6f3f3;
	--color-accent-muted: var(--slider-yellow);
	--color-brand: var(--slider-ash);
	--color-brand-light: #2a3034;
	--color-header-bg: #ffffff;
	--color-footer-bg: #eef5f5;
	--color-footer-surface: #ffffff;
	--color-footer-border: rgba(0, 121, 121, 0.14);
	--color-footer-heading: #6b7a7a;
	--rgb-brand: 61, 68, 73;
	--rgb-accent: 0, 121, 121;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 8px 30px rgba(var(--rgb-brand), 0.07);
	--shadow-lg: 0 20px 50px rgba(var(--rgb-brand), 0.12);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--container: min(1350px, 100% - 2rem);
	--header-h: 72px;
	--header-h-mobile: 64px;
	--header-logo-max-h: 28px;
	--header-cta-green: #1fa55c;
	--header-cta-green-hover: #178a4c;
	--header-cta-green-border: #157a45;
	--drawer-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--drawer-shadow: -12px 0 48px rgba(0, 0, 0, 0.55);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding-top: var(--header-h);
}

body.menu-open {
	overflow: hidden;
	touch-action: none;
}

.site-main {
	flex: 1 0 auto;
}

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

a {
	color: var(--color-brand-light);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--color-accent);
}

.container {
	width: var(--container);
	margin-inline: auto;
}

/* Skip link */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: var(--color-surface);
	box-shadow: var(--shadow);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	position: fixed;
}

/* Header — светлая шапка в цветах слайдера */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--color-header-bg);
	box-shadow: 0 1px 0 rgba(0, 121, 121, 0.08), 0 8px 24px rgba(61, 68, 73, 0.06);
	border-bottom: 1px solid rgba(0, 121, 121, 0.12);
}

.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
	padding-block: 0.65rem;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
	flex: 0 1 auto;
	align-items: flex-start;
}

.site-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--slider-ash);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.site-title:hover {
	color: var(--slider-teal);
	opacity: 1;
}

.site-description {
	margin: 0;
	font-size: 0.75rem;
	color: var(--color-muted);
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.custom-logo-link img {
	max-height: var(--header-logo-max-h);
	width: auto;
	height: auto;
	object-fit: contain;
}

.site-header__toolbar {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
	margin-left: auto;
}

.site-header__messengers {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	flex-shrink: 0;
}

.site-header__messengers--toolbar {
	display: flex;
}

.site-header__messengers--panel {
	display: none;
}

.site-header__messenger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.45rem;
	height: 2.45rem;
	border-radius: 50%;
	text-decoration: none;
	color: #fff;
	font-size: 1.02rem;
	line-height: 1;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
	box-shadow: 0 2px 10px rgba(61, 68, 73, 0.14);
}

.site-header__messenger:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(61, 68, 73, 0.18);
}

.site-header__messenger:focus-visible {
	outline: 2px solid var(--slider-teal);
	outline-offset: 2px;
	color: #fff;
}

.site-header__messenger--telegram {
	background: linear-gradient(145deg, #33bdef 0%, #229ed9 100%);
}

.site-header__messenger--viber {
	background: linear-gradient(145deg, #8b7cf8 0%, #7360f2 100%);
}

.site-header__messenger--whatsapp {
	background: linear-gradient(145deg, #34e090 0%, #25d366 100%);
}

.site-header__messenger--instagram {
	background: linear-gradient(145deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
}

.site-header__messenger--max {
	background: linear-gradient(145deg, #4d7cff 0%, #5533ff 100%);
}

.site-header__messenger-ico--max {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: -0.04em;
}

/* Телефон в шапке */
.site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: var(--slider-ash);
	transition:
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.site-header__phone:hover {
	color: var(--slider-teal);
	opacity: 1;
}

.site-header__phone:focus-visible {
	outline: 2px solid var(--slider-teal);
	outline-offset: 3px;
}

.site-header__phone--toolbar {
	white-space: nowrap;
}

.site-header__phone--toolbar .site-header__phone-num {
	font-size: clamp(0.95rem, 1.6vw, 1.2rem);
}

.site-header__phone--panel {
	display: none;
	width: 100%;
	justify-content: center;
	padding: 0.9rem 1.15rem;
	margin: 0;
	border-radius: 14px;
	font-size: 1.15rem;
	color: #fff;
	background: linear-gradient(145deg, #008888 0%, #007979 55%, #006b6b 100%);
	box-shadow: 0 10px 28px rgba(0, 121, 121, 0.35);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.site-header__phone--panel .site-header__phone-num {
	color: #fff;
}

.site-header__phone--panel:hover,
.site-header__phone--panel:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(0, 121, 121, 0.42);
}

.site-header__phone--panel:hover .site-header__phone-num,
.site-header__phone--panel:focus-visible .site-header__phone-num {
	color: #fff;
}

/* Навигация — десктоп */
.site-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}

.site-nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	justify-content: center;
	align-items: center;
}

.site-nav a {
	color: var(--slider-ash);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: color 0.15s ease;
}

.site-nav a:hover {
	color: var(--slider-teal);
}

.site-nav .current-menu-item > a {
	color: var(--slider-teal);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--slider-yellow);
}

/* Выпадающие подменю — только десктоп */
@media (min-width: 901px) {
	.site-nav > ul > li {
		position: relative;
	}

	.site-nav .sub-menu {
		position: absolute;
		left: 0;
		/* Стыкуем к низу пункта без зазора: иначе курсор «проваливается» между li и ul и :hover гаснет. */
		top: 100%;
		min-width: 15.75rem;
		margin: 0;
		padding: 0.35rem 0;
		list-style: none;
		background: #fff;
		border-radius: var(--radius-sm);
		box-shadow: var(--shadow-lg);
		border: 1px solid rgba(0, 121, 121, 0.14);
		z-index: 10040;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(8px);
		transition:
			opacity 0.22s ease,
			visibility 0.22s ease,
			transform 0.25s cubic-bezier(0.33, 1, 0.68, 1);
	}

	.site-nav .sub-menu .sub-menu {
		/* Без зазора справа от родительского пункта — та же логика, что по вертикали. */
		left: 100%;
		top: 0;
		margin-top: -0.35rem;
	}

	.site-nav li:hover > .sub-menu,
	.site-nav li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.site-nav .sub-menu a {
		display: block;
		padding: 0.55rem 1.05rem;
		font-size: 0.9rem;
		font-weight: 600;
		color: var(--slider-ash);
		text-decoration: none;
		white-space: nowrap;
		transition:
			background 0.15s ease,
			color 0.15s ease;
	}

	.site-nav .sub-menu a:hover {
		background: rgba(0, 121, 121, 0.08);
		color: var(--slider-teal);
	}

	.site-nav .sub-menu li {
		position: relative;
		border-bottom: 1px solid rgba(61, 68, 73, 0.07);
	}

	.site-nav .sub-menu li:last-child {
		border-bottom: 0;
	}

	.site-nav .sub-menu .current-menu-item > a {
		background: rgba(0, 121, 121, 0.07);
		color: var(--slider-teal);
		text-decoration: none;
		border-left: 3px solid var(--slider-yellow);
		padding-left: calc(1.05rem - 3px);
	}

	/* Треугольники у пунктов с выпадающим подменю */
	.site-nav > ul > .menu-item-has-children > a {
		position: relative;
		padding-right: 1.1rem;
	}

	.site-nav > ul > .menu-item-has-children > a::after {
		content: "";
		position: absolute;
		right: 0;
		top: 50%;
		width: 0.38rem;
		height: 0.38rem;
		margin-top: -0.26rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: 0.62;
		pointer-events: none;
	}

	.site-nav > ul > .menu-item-has-children:hover > a::after,
	.site-nav > ul > .menu-item-has-children:focus-within > a::after {
		opacity: 0.92;
	}

	.site-nav .sub-menu .menu-item-has-children > a {
		position: relative;
		padding-right: 1.6rem;
	}

	.site-nav .sub-menu .menu-item-has-children > a::after {
		content: "";
		position: absolute;
		right: 0.55rem;
		top: 50%;
		width: 0.36rem;
		height: 0.36rem;
		margin-top: -0.2rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(-45deg);
		opacity: 0.55;
		pointer-events: none;
	}

	.site-nav .sub-menu .menu-item-has-children:hover > a::after,
	.site-nav .sub-menu .menu-item-has-children:focus-within > a::after {
		opacity: 0.88;
	}

	/* Шапка: больше места меню — компактнее лого, телефон и иконки */
	.site-header__bar {
		gap: 0.55rem;
	}

	.site-branding {
		flex: 0 0 auto;
		max-width: 10.5rem;
	}

	.custom-logo-link img {
		max-height: var(--header-logo-max-h);
	}

	.site-nav {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: center;
	}

	.site-nav > ul {
		flex-wrap: nowrap;
		gap: 0.15rem 0.75rem;
	}

	.site-nav > ul > li {
		flex-shrink: 0;
	}

	.site-nav a {
		font-size: 0.875rem;
		white-space: nowrap;
	}

	.site-header__toolbar {
		gap: 0.4rem;
		flex: 0 0 auto;
	}

	.site-header__messengers--toolbar {
		gap: 0.28rem;
	}

	.site-header__messenger {
		width: 2.05rem;
		height: 2.05rem;
		font-size: 0.9rem;
	}

	.site-header__messenger-ico--max {
		width: 1.15rem;
		height: 1.15rem;
		font-size: 0.65rem;
	}

	.site-header__phone--toolbar .site-header__phone-num {
		font-size: clamp(0.86rem, 1.05vw, 1rem);
	}
}

@media (min-width: 1200px) {
	.site-nav > ul {
		gap: 0.2rem 1rem;
	}
}

.site-nav__panel-footer {
	display: none;
}

/* Бургер */
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(0, 121, 121, 0.25);
	background: rgba(0, 121, 121, 0.06);
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
	background: rgba(0, 121, 121, 0.12);
	border-color: rgba(0, 121, 121, 0.4);
}

.nav-toggle:focus-visible {
	outline: 2px solid var(--slider-teal);
	outline-offset: 2px;
}

.nav-toggle__box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 24px;
	height: 18px;
}

.nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--slider-ash);
	border-radius: 2px;
	transform-origin: center;
	transition: transform 0.35s var(--drawer-ease), opacity 0.25s ease;
}

.site-header.is-open .nav-toggle {
	background: rgba(0, 121, 121, 0.15);
	border-color: rgba(0, 121, 121, 0.45);
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Затемнение при открытом меню (мобильные) */
.site-overlay {
	display: none;
}

@media (max-width: 900px) {
	.site-overlay {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: var(--header-h-mobile);
		z-index: 998;
		margin: 0;
		padding: 0;
		border: 0;
		background: rgba(61, 68, 73, 0.45);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.35s var(--drawer-ease), visibility 0.35s;
		cursor: pointer;
	}

	.admin-bar .site-overlay {
		top: calc(32px + var(--header-h-mobile));
	}

	@media screen and (max-width: 782px) {
		.admin-bar .site-overlay {
			top: calc(46px + var(--header-h-mobile));
		}
	}

	.site-header.is-open .site-overlay {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.site-header__bar {
		position: relative;
		z-index: 1002;
	}
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.55rem 1.15rem;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--accent {
	background: var(--slider-teal);
	color: #fff;
	border-color: var(--slider-teal);
}

.btn--accent:hover {
	background: var(--slider-teal-hover);
	border-color: var(--slider-teal-hover);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: rgba(255, 255, 255, 0.95);
	border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline {
	background: transparent;
	color: var(--color-brand);
	border-color: var(--color-brand-light);
}

.btn--outline:hover {
	background: var(--color-brand);
	color: #fff;
	border-color: var(--color-brand);
}

.btn--light {
	background: #fff;
	color: var(--color-brand);
	border-color: #fff;
}

.btn--light:hover {
	background: rgba(255, 255, 255, 0.92);
	color: var(--color-brand);
}

.btn--lg {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
}

.btn--block {
	width: 100%;
	justify-content: center;
	text-align: center;
}

/* Hero */
.hero {
	position: relative;
	padding: clamp(3rem, 8vw, 5.5rem) 0;
	overflow: hidden;
	color: #fff;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			118deg,
			rgba(var(--rgb-brand), 0.93) 0%,
			rgba(45, 41, 36, 0.88) 44%,
			rgba(var(--rgb-accent), 0.33) 100%
		),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
	z-index: 0;
}

.hero__inner {
	position: relative;
	z-index: 1;
}

.hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
	max-width: 18ch;
}

.hero__lead {
	margin: 0 0 2rem;
	font-size: 1.1rem;
	max-width: 42ch;
	color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

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

.section__title {
	margin: 0 0 2rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--color-brand);
	letter-spacing: -0.02em;
}

.section--features {
	background: var(--color-surface);
}

.section--services {
	background: var(--color-bg);
}

.section--blog {
	background: var(--color-surface);
}

.section__cta {
	margin-top: 2rem;
	text-align: center;
}

.feature-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}

.feature-card {
	background: var(--color-bg);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow);
	border: 1px solid rgba(var(--rgb-brand), 0.06);
}

.feature-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-brand);
}

.feature-card p {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.service-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	max-width: 560px;
}

.service-list li {
	position: relative;
	padding-left: 1.75rem;
	font-weight: 500;
	color: var(--color-text);
}

.service-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(var(--rgb-accent), 0.22);
}

.cta-banner {
	text-align: center;
	padding: clamp(2rem, 5vw, 3rem);
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.cta-banner__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 800;
}

.cta-banner__text {
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.88);
	max-width: 42ch;
	margin-inline: auto;
}

.section--cta-bottom {
	padding-bottom: clamp(3rem, 8vw, 5rem);
}

/* Posts */
.post-list {
	display: grid;
	gap: 1.75rem;
}

.post-card {
	display: grid;
	grid-template-columns: minmax(0, 200px) 1fr;
	gap: 1.25rem;
	background: var(--color-surface);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid rgba(var(--rgb-brand), 0.06);
}

.post-card--compact {
	grid-template-columns: 1fr;
}

.post-card--search {
	grid-template-columns: 1fr;
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 140px;
}

.post-card__body {
	padding: 1.25rem 1.25rem 1.25rem 0;
}

.post-card--compact .post-card__body {
	padding: 1.25rem;
}

.post-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 700;
}

.post-card__title a {
	color: var(--color-brand);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--color-accent);
}

.post-card__meta {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	color: var(--color-muted);
}

.post-card__excerpt {
	margin: 0 0 1rem;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.post-card__more {
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	color: var(--color-accent);
}

.post-card__more:hover {
	text-decoration: underline;
}

.page-header {
	margin-bottom: 2rem;
}

.page-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: var(--color-brand);
}

.archive-description {
	color: var(--color-muted);
}

/* Entry */
.entry {
	padding: 2rem 0 3rem;
}

.entry-title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: var(--color-brand);
	line-height: 1.2;
}

.entry-meta {
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
	color: var(--color-muted);
}

.entry-thumb {
	margin-bottom: 1.5rem;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.entry-content {
	font-size: 1.05rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	color: var(--color-brand);
	margin-top: 2rem;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.pagination a,
.pagination span {
	padding: 0.5rem 0.85rem;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	border: 1px solid rgba(var(--rgb-brand), 0.1);
	text-decoration: none;
	color: var(--color-brand);
}

.pagination .current {
	background: var(--color-brand);
	color: #fff;
	border-color: var(--color-brand);
}

.post-navigation {
	display: grid;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(var(--rgb-brand), 0.1);
	max-width: 720px;
	margin-inline: auto;
}

.post-navigation a {
	font-weight: 600;
	text-decoration: none;
	color: var(--color-brand-light);
}

.post-navigation a:hover {
	color: var(--color-accent);
}

/* Search form */
.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0;
}

.search-form label {
	flex: 1 1 200px;
}

.search-form input[type="search"] {
	width: 100%;
	padding: 0.65rem 1rem;
	border: 1px solid rgba(var(--rgb-brand), 0.15);
	border-radius: var(--radius-sm);
	font: inherit;
}

.search-form input[type="submit"],
.search-form button[type="submit"] {
	padding: 0.65rem 1.25rem;
	background: var(--color-brand);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	font-weight: 600;
	cursor: pointer;
}

.not-found,
.no-results {
	padding: 3rem 0;
	max-width: 520px;
}

/* Страница 404: жёлтые и тёмные акценты, лёгкая анимация */
@keyframes error404-float {
	0%,
	100% {
		transform: translate(0, 0) rotate(0deg) scale(1);
	}
	33% {
		transform: translate(4%, -6%) rotate(4deg) scale(1.06);
	}
	66% {
		transform: translate(-5%, 5%) rotate(-3deg) scale(0.96);
	}
}

@keyframes error404-glow-pulse {
	0%,
	100% {
		opacity: 0.35;
		transform: translate(-50%, -42%) scale(1);
	}
	50% {
		opacity: 0.65;
		transform: translate(-48%, -44%) scale(1.12);
	}
}

@keyframes error404-digit-in {
	from {
		opacity: 0;
		transform: translateY(36px) rotate(-8deg) scale(0.82);
		filter: blur(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0) rotate(0deg) scale(1);
		filter: blur(0);
	}
}

@keyframes error404-shimmer {
	0% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 200% 50%;
	}
}

.error-404 {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(4rem, 12vw, 6rem);
	min-height: min(78vh, 760px);
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(120% 90% at 50% 0%, var(--color-accent-soft) 0%, transparent 52%), var(--color-bg);
}

.error-404__scene {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.error-404__grid {
	position: absolute;
	inset: 0;
	opacity: 0.06;
	background-image: linear-gradient(rgba(var(--rgb-brand), 0.35) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--rgb-brand), 0.35) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, black 15%, transparent 75%);
}

.error-404__glow {
	position: absolute;
	top: 42%;
	left: 50%;
	width: min(120vw, 720px);
	height: min(120vw, 720px);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--rgb-accent), 0.45) 0%, transparent 62%);
	animation: error404-glow-pulse 7s ease-in-out infinite;
	will-change: opacity, transform;
}

.error-404__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(1px);
	animation: error404-float 18s ease-in-out infinite;
	will-change: transform;
}

.error-404__blob--a {
	width: clamp(140px, 28vw, 260px);
	height: clamp(140px, 28vw, 260px);
	top: 12%;
	left: 8%;
	background: radial-gradient(circle at 35% 35%, rgba(var(--rgb-accent), 0.55), rgba(var(--rgb-brand), 0.35));
	animation-duration: 22s;
}

.error-404__blob--b {
	width: clamp(100px, 22vw, 200px);
	height: clamp(100px, 22vw, 200px);
	bottom: 18%;
	right: 10%;
	background: radial-gradient(circle at 60% 40%, rgba(var(--rgb-brand), 0.55), rgba(var(--rgb-accent), 0.22));
	animation-duration: 19s;
	animation-delay: -6s;
}

.error-404__blob--c {
	width: clamp(80px, 16vw, 140px);
	height: clamp(80px, 16vw, 140px);
	top: 52%;
	right: 22%;
	background: radial-gradient(circle at 50% 50%, rgba(var(--rgb-accent-muted), 0.65), rgba(var(--rgb-brand), 0.25));
	animation-duration: 15s;
	animation-delay: -3s;
}

.error-404__layout {
	position: relative;
	z-index: 1;
	max-width: 560px;
	margin-inline: auto;
	text-align: center;
}

.error-404__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 1rem;
	margin-bottom: 1.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(var(--rgb-brand), 0.85);
	background: rgba(var(--rgb-accent), 0.18);
	border: 1px solid rgba(var(--rgb-accent), 0.38);
	border-radius: 999px;
	box-shadow: 0 4px 20px rgba(var(--rgb-accent), 0.12);
}

.error-404__digits {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: clamp(0.35rem, 3vw, 1rem);
	margin-bottom: 1.75rem;
}

.error-404__digit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: clamp(3.25rem, 18vw, 5.25rem);
	padding: 0.15rem 0.5rem;
	font-size: clamp(3.5rem, 14vw, 6.5rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.06em;
	color: var(--color-brand);
	background: linear-gradient(
		105deg,
		var(--color-brand) 0%,
		var(--color-brand-light) 38%,
		var(--color-accent) 72%,
		var(--color-accent-muted) 100%
	);
	background-size: 220% auto;
	background-position: 0% 50%;
	animation:
		error404-digit-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards,
		error404-shimmer 11s ease-in-out infinite;
	animation-delay: calc(var(--delay, 0) * 0.11s), calc(var(--delay, 0) * 0.15s + 0.6s);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 12px 28px rgba(var(--rgb-brand), 0.15));
}

.error-404__digit--mid {
	font-size: clamp(4rem, 16vw, 7rem);
	animation-duration: 0.95s, 11s;
}

.error-404__title {
	margin: 0 0 1rem;
	font-size: clamp(1.45rem, 4vw, 2rem);
	font-weight: 800;
	color: var(--color-brand);
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.error-404__text {
	margin: 0 0 2rem;
	font-size: 1.05rem;
	color: var(--color-muted);
	line-height: 1.65;
	max-width: 42ch;
	margin-inline: auto;
}

.error-404__search {
	margin-bottom: 2rem;
	text-align: left;
}

.error-404__search .search-form {
	margin: 0;
}

.error-404__search input[type="search"] {
	background: var(--color-surface);
	border-color: rgba(var(--rgb-accent), 0.35);
	box-shadow: 0 4px 18px rgba(var(--rgb-brand), 0.05);
}

.error-404__search button[type="submit"],
.error-404__search input[type="submit"] {
	background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
	color: #fff;
}

.error-404__search button[type="submit"]:hover,
.error-404__search input[type="submit"]:hover {
	filter: brightness(1.08);
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.error-404__btn-home {
	box-shadow: 0 10px 32px rgba(var(--rgb-accent), 0.35);
}

@media (prefers-reduced-motion: reduce) {
	.error-404__blob,
	.error-404__glow {
		animation: none !important;
	}

	.error-404__digit {
		animation: none !important;
		background: none !important;
		-webkit-background-clip: unset !important;
		background-clip: unset !important;
		color: var(--color-brand) !important;
		filter: none !important;
		opacity: 1 !important;
	}
}

/* Footer — светлая сетка: бренд, услуги, навигация, полезное, контакты, расчёт */
.site-footer {
	position: relative;
	background:
		linear-gradient(180deg, var(--color-footer-surface) 0%, var(--color-footer-bg) 42%, #e4eded 100%);
	color: var(--color-text);
	margin-top: auto;
	overflow: hidden;
	border-top: 1px solid var(--color-footer-border);
	box-shadow: 0 -12px 40px rgba(var(--rgb-brand), 0.04);
}

.site-footer__accent-line {
	height: 3px;
	background: linear-gradient(90deg, var(--slider-teal, #007979) 0%, var(--slider-yellow, #f2d06b) 55%, var(--slider-teal, #007979) 100%);
	opacity: 1;
}

.site-footer__glow {
	position: absolute;
	pointer-events: none;
	top: -80px;
	right: -60px;
	width: min(420px, 80vw);
	height: 280px;
	background: radial-gradient(ellipse at center, rgba(0, 121, 121, 0.1) 0%, transparent 70%);
	opacity: 1;
}

.site-footer__inner {
	position: relative;
	z-index: 1;
	padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(1.75rem, 4vw, 2.5rem);
	display: flex;
	flex-direction: column;
	gap: clamp(1.75rem, 4vw, 2.5rem);
}

.site-footer a {
	color: var(--color-brand-light);
	text-decoration: none;
}

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

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.2fr);
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: start;
}

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

.site-footer__logo-link {
	display: inline-flex;
	margin-bottom: 1rem;
	line-height: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__logo-link:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.site-footer__logo-img {
	display: block;
	max-height: 52px;
	width: auto;
	height: auto;
	opacity: 1;
	filter: none;
	-webkit-filter: none;
}

.site-footer__lead {
	margin: 0 0 1rem;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--color-muted);
}

.site-footer__hours {
	margin: 0 0 1.25rem;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--color-muted);
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.site-footer__hours i {
	margin-top: 0.15rem;
	color: var(--slider-teal, #007979);
	opacity: 0.9;
}

.site-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1.25rem;
}

.site-footer__btn {
	font-size: 0.88rem;
	padding: 0.5rem 1rem;
}

.site-footer .btn--ghost {
	background: var(--color-footer-surface);
	color: var(--slider-teal);
	border-color: rgba(0, 121, 121, 0.35);
	box-shadow: 0 2px 8px rgba(var(--rgb-brand), 0.06);
}

.site-footer .btn--ghost:hover {
	background: var(--color-accent-soft);
	color: var(--slider-teal-hover);
	border-color: var(--slider-teal);
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	border: 1px solid var(--color-footer-border);
	background: var(--color-footer-surface);
	color: var(--color-brand-light);
	box-shadow: 0 2px 8px rgba(var(--rgb-brand), 0.05);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease;
}

.site-footer__social-link:hover {
	background: var(--color-accent-soft);
	border-color: rgba(0, 121, 121, 0.35);
	color: var(--slider-teal);
	box-shadow: 0 4px 14px rgba(0, 121, 121, 0.12);
}

.site-footer__columns {
	display: grid;
	grid-template-columns:
		minmax(0, 1.35fr)
		minmax(0, 0.72fr)
		minmax(0, 0.78fr)
		minmax(15.5rem, 1.4fr);
	gap: clamp(1rem, 2.5vw, 1.75rem);
}

.site-footer__col--contact {
	min-width: 0;
	padding-right: 0;
}

.site-footer__heading {
	margin: 0 0 1rem;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-footer-heading);
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--color-footer-border);
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.site-footer__list--services {
	gap: 0.2rem;
}

.site-footer__link {
	display: inline-flex;
	align-items: center;
	padding: 0.38rem 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-brand-light);
	border-radius: 8px;
	transition: color 0.15s ease, background 0.15s ease;
}

.site-footer__link:hover {
	background: rgba(0, 121, 121, 0.08);
	color: var(--slider-teal);
}

.site-footer__link--icon {
	gap: 0.65rem;
	padding: 0.42rem 0.5rem;
	margin: 0 -0.5rem;
	width: 100%;
	max-width: 100%;
	line-height: 1.35;
}

.site-footer__link-ico {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 10px;
	background: var(--color-accent-soft);
	color: var(--slider-teal);
	font-size: 0.85rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
	transition: background 0.2s ease, color 0.2s ease;
}

.site-footer__link--icon:hover .site-footer__link-ico {
	background: var(--slider-teal);
	color: #fff;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.site-footer__list--nav .menu-item a,
.footer-menu a {
	display: inline-flex;
	padding: 0.38rem 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-brand-light);
	border-radius: 8px;
	transition: color 0.15s ease, background 0.15s ease;
}

.site-footer__list--nav .menu-item a:hover,
.footer-menu a:hover {
	background: rgba(0, 121, 121, 0.08);
	color: var(--slider-teal);
}

.site-footer__phone-wrap {
	margin: 0 0 0.35rem;
}

.site-footer__phone {
	display: inline-block;
	max-width: 100%;
	font-size: clamp(1.05rem, 1.35vw, 1.28rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--slider-teal);
	white-space: nowrap;
	line-height: 1.2;
}

.site-footer__phone:hover {
	color: var(--slider-teal-hover);
}

.site-footer__region {
	margin: 0 0 0.25rem;
	font-size: 0.84rem;
	color: var(--color-muted);
	line-height: 1.45;
	max-width: none;
}

.site-footer__street {
	margin: 0 0 0.35rem;
	font-size: 0.84rem;
	color: var(--color-muted);
	line-height: 1.45;
	max-width: none;
}

.site-footer__email {
	margin: 0 0 0.65rem;
	font-size: 0.84rem;
	line-height: 1.45;
}

.site-footer__email a {
	color: var(--color-brand-light);
	font-weight: 700;
	text-decoration: none;
	word-break: break-all;
}

.site-footer__email a:hover {
	color: var(--slider-teal);
	text-decoration: underline;
}

.site-footer__external {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0 0 1rem;
}

.site-footer__external-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--color-brand-light);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__external-link:hover {
	color: var(--slider-teal);
	opacity: 1;
}

.site-footer__external-link i {
	width: 1.35rem;
	text-align: center;
	opacity: 0.9;
}

.site-footer__callback {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	justify-content: center;
	padding: 0.55rem 1rem;
	margin: 0;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	border: 1px solid var(--slider-teal);
	border-radius: 12px;
	background: linear-gradient(145deg, #008888 0%, var(--slider-teal) 100%);
	box-shadow: 0 4px 14px rgba(0, 121, 121, 0.22);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.15s ease,
		box-shadow 0.2s ease;
}

.site-footer__callback:hover {
	background: linear-gradient(145deg, var(--slider-teal-hover) 0%, #006b6b 100%);
	border-color: var(--slider-teal-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 121, 121, 0.28);
}

.site-footer__bottom {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--color-footer-border);
	padding: 1.1rem 0;
	background: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom-inner {
	display: flex;
	justify-content: center;
	text-align: center;
}

.site-footer__copy {
	margin: 0;
	font-size: 0.82rem;
	color: var(--color-muted);
}

.site-footer__copy a {
	color: var(--color-brand-light);
}

.site-footer__copy a:hover {
	color: var(--slider-teal);
}

.site-footer__copy-sep {
	margin: 0 0.35rem;
	opacity: 0.55;
}

.site-footer__legal-link {
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.site-footer__top {
		grid-template-columns: 1fr;
	}

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

	.site-footer__col--contact {
		grid-column: 1 / -1;
		max-width: 22rem;
	}
}

@media (max-width: 560px) {
	.site-footer__columns {
		grid-template-columns: 1fr;
	}

	.site-footer__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.site-footer__btn {
		justify-content: center;
	}
}

@media (prefers-contrast: more) {
	.site-footer__logo-img {
		opacity: 1;
		filter: none;
		-webkit-filter: none;
	}
}

/* Blog: архив (home.php) */
.blog-archive {
	padding-bottom: clamp(2rem, 6vw, 4rem);
}

.blog-archive__hero {
	background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
	color: #fff;
	padding: clamp(2.25rem, 6vw, 3.5rem) 0;
	margin-bottom: clamp(2rem, 5vw, 3rem);
}

.blog-archive__hero .contacts-breadcrumbs {
	margin-bottom: 1rem;
}

.blog-archive__hero .contacts-breadcrumbs__list,
.blog-archive__hero .contacts-breadcrumbs__link,
.blog-archive__hero .contacts-breadcrumbs__item--current {
	color: rgba(255, 255, 255, 0.9);
}

.blog-archive__hero .contacts-breadcrumbs__link:hover {
	color: #fff;
}

.blog-archive__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.85rem, 4vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.blog-archive__lead {
	margin: 0;
	max-width: 52ch;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.55;
}

.blog-archive__intro {
	margin: 0;
	max-width: 65ch;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.92);
}

.blog-archive__intro p:first-child {
	margin-top: 0;
}

.blog-archive__intro p:last-child {
	margin-bottom: 0;
}

.blog-archive__content {
	padding-bottom: 1rem;
}

.post-list--blog {
	margin-top: 0;
}

.post-card__terms {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.post-card__terms a {
	color: var(--color-accent);
	text-decoration: none;
}

.post-card__terms a:hover {
	text-decoration: underline;
}

.post-card--blog .post-card__title {
	font-size: 1.35rem;
}

/* Blog: одиночная запись (single-post.php) */
.blog-single__wrap {
	max-width: 760px;
	margin-inline: auto;
	padding-bottom: clamp(2rem, 6vw, 4rem);
}

.breadcrumb {
	margin-bottom: 1.25rem;
}

.breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	font-size: 0.875rem;
	color: var(--color-muted);
}

.breadcrumb__item {
	display: inline;
}

.breadcrumb__item:not(:last-child)::after {
	content: "/";
	margin-left: 0.5rem;
	color: rgba(92, 107, 127, 0.55);
	font-weight: 400;
}

.breadcrumb__item a {
	color: var(--color-brand-light);
	text-decoration: none;
	font-weight: 500;
}

.breadcrumb__item a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

.breadcrumb__item--current {
	color: var(--color-text);
	font-weight: 600;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.entry--blog-post .entry-title {
	margin-top: 0.25rem;
}

.entry-terms--top {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
}

.entry-terms__link {
	display: inline-block;
	color: var(--color-accent);
	text-decoration: none;
	margin-right: 0.35rem;
}

.entry-terms__link:hover {
	text-decoration: underline;
}

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(var(--rgb-brand), 0.1);
}

.entry-footer__label {
	margin: 0 0 0.65rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-muted);
	font-weight: 600;
}

.entry-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.entry-tags__link {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	background: var(--color-bg);
	border: 1px solid rgba(var(--rgb-brand), 0.12);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-brand);
	text-decoration: none;
}

.entry-tags__link:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

/* Мобильная шапка: лого слева, бургер справа; меню выезжает справа */
@media (max-width: 900px) {
	body {
		padding-top: var(--header-h-mobile);
	}

	.site-description--desktop {
		display: none;
	}

	.site-header__bar {
		min-height: var(--header-h-mobile);
	}

	.site-header__messengers--toolbar {
		display: none !important;
	}

	.site-header__phone--toolbar {
		display: inline-flex !important;
		padding: 0.4rem 0.65rem;
		border-radius: 12px;
		background: rgba(0, 121, 121, 0.1);
		border: 1px solid rgba(0, 121, 121, 0.22);
	}

	.site-header__phone--toolbar .site-header__phone-num {
		font-size: 0.82rem;
		font-weight: 800;
		color: var(--slider-ash);
	}

	.site-header__phone--panel {
		display: inline-flex !important;
		flex-shrink: 0;
	}

	.site-nav__hint {
		order: 2;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: fixed;
		z-index: 999;
		top: var(--header-h-mobile);
		right: 0;
		bottom: 0;
		left: auto;
		width: min(100%, 400px);
		max-width: min(92vw, 400px);
		margin: 0;
		flex: none;
		align-items: stretch;
		justify-content: flex-start;
		flex-direction: column;
		padding: 1.35rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
		background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
		box-shadow: var(--drawer-shadow);
		border-left: 1px solid rgba(0, 121, 121, 0.18);
		transform: translate3d(104%, 0, 0);
		visibility: hidden;
		transition: transform 0.42s var(--drawer-ease), visibility 0.42s;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		min-height: calc(100vh - var(--header-h-mobile));
		min-height: calc(100dvh - var(--header-h-mobile));
	}

	.admin-bar .site-nav {
		top: calc(32px + var(--header-h-mobile));
		min-height: calc(100vh - 32px - var(--header-h-mobile));
		min-height: calc(100dvh - 32px - var(--header-h-mobile));
	}

	@media screen and (max-width: 782px) {
		.admin-bar .site-nav {
			top: calc(46px + var(--header-h-mobile));
			min-height: calc(100vh - 46px - var(--header-h-mobile));
			min-height: calc(100dvh - 46px - var(--header-h-mobile));
		}
	}

	.site-header.is-open .site-nav {
		transform: translate3d(0, 0, 0);
		visibility: visible;
	}

	.site-nav > ul {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: 100%;
		flex: 1 1 auto;
	}

	.site-nav li {
		border-bottom: 1px solid rgba(61, 68, 73, 0.1);
	}

	.site-nav li:last-child {
		border-bottom-color: transparent;
	}

	.site-nav a {
		display: block;
		padding: 1rem 0.15rem;
		font-size: 1.06rem;
		font-weight: 600;
		letter-spacing: 0.01em;
		color: var(--slider-ash);
	}

	.site-nav .current-menu-item > a {
		color: var(--slider-teal);
		padding-left: 0.35rem;
		border-left: 3px solid var(--slider-yellow);
	}

	/* Подменю в выезжающей панели: скрыто, по тапу на пункт — аккордеон */
	.site-nav .menu-item-has-children > a {
		position: relative;
		padding-right: 2.25rem;
	}

	.site-nav .menu-item-has-children > a::after {
		content: "";
		position: absolute;
		right: 0.2rem;
		top: 50%;
		width: 0.45rem;
		height: 0.45rem;
		margin-top: -0.2rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.25s ease;
		opacity: 0.75;
	}

	.site-nav .menu-item-has-children.is-submenu-open > a::after {
		transform: rotate(-135deg);
		margin-top: 0.05rem;
	}

	.site-nav ul.sub-menu {
		margin: 0;
		padding: 0;
		list-style: none;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.45s cubic-bezier(0.33, 1, 0.68, 1);
		border-left: 0;
	}

	.site-nav .menu-item-has-children.is-submenu-open > .sub-menu {
		/* max-height задаётся из JS по scrollHeight — без обрезки длинных списков */
		margin-top: 0.35rem;
		margin-bottom: 0.25rem;
		padding: 0.25rem 0 1.35rem 0.85rem;
		border-left: 2px solid rgba(0, 121, 121, 0.35);
		overflow: visible;
	}

	.site-nav .menu-item-has-children.is-submenu-open {
		padding-bottom: 0.35rem;
	}

	.site-nav ul.sub-menu li {
		border-bottom: none;
	}

	.site-nav ul.sub-menu li:last-child a {
		padding-bottom: 0.75rem;
	}

	.site-nav ul.sub-menu a {
		font-size: 0.96rem;
		font-weight: 500;
		padding: 0.55rem 0;
		color: var(--slider-ash);
		padding-right: 0;
	}

	.site-nav ul.sub-menu a::after {
		display: none;
	}

	.site-nav__panel-footer {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
		margin-top: auto;
		padding-top: 1.5rem;
		margin-left: -1.25rem;
		margin-right: -1.25rem;
		margin-bottom: 0;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid rgba(0, 121, 121, 0.15);
		background: linear-gradient(180deg, rgba(242, 208, 107, 0.2) 0%, #ffffff 55%);
		position: sticky;
		bottom: 0;
		z-index: 3;
		flex-shrink: 0;
	}

	.site-nav__cta-mobile {
		font-size: 1rem;
		padding: 0.85rem 1.25rem;
		box-shadow: 0 10px 28px rgba(0, 121, 121, 0.28);
	}

	.site-nav__hint {
		margin: 0;
		font-size: 0.78rem;
		line-height: 1.45;
		color: var(--color-muted);
		text-align: center;
	}

	.post-card {
		grid-template-columns: 1fr;
	}

	.post-card__thumb img {
		min-height: 180px;
	}

	.post-card__body {
		padding: 0 1.25rem 1.25rem;
	}

	.hero__actions .btn--ghost {
		border-color: rgba(0, 121, 121, 0.45);
		color: #fff;
	}
}

@media (max-width: 480px) {
	.site-nav {
		width: min(100%, 100vw);
		max-width: none;
		border-left: 0;
	}

	.site-nav__panel-footer {
		margin-left: -1.25rem;
		margin-right: -1.25rem;
	}
}
