/**
 * Техно-Д: визуал главной блога = светлая тема remont / главная (Manrope, палитра из style.css).
 * Область: html[data-theme="light"] body.home
 */

html[data-theme="dark"] body {
	--bg: #070b12;
	--bg-elevated: #0e1522;
	--surface: #121c2c;
	--surface2: #1a2738;
	--surface-highlight: #223045;
	--text: #f1f5fd;
	--muted: #94a8c9;
	--line: rgba(255, 255, 255, 0.1);
	--acc: #e85a3c;
	--acc-hover: #ff6f4f;
	--acc2: #2ec4a8;
	--acc2-muted: rgba(46, 196, 168, 0.35);
	--shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body {
	color: var(--text);
	background: var(--bg);
}

html[data-theme="dark"] body header.topbar .phone {
	background: rgba(7, 50, 45, 0.62);
	border: 1px solid rgba(22, 214, 200, 0.62);
	color: #27e5c8;
	box-shadow: none;
}

html[data-theme="dark"] body header.topbar .phone:hover {
	background: rgba(10, 64, 57, 0.9);
	border-color: rgba(57, 235, 218, 0.88);
	color: #b6fff2;
}

html[data-theme="dark"] body.home {
	background:
		radial-gradient(900px 520px at 88% -5%, color-mix(in srgb, var(--acc) 22%, transparent), transparent),
		radial-gradient(780px 480px at -8% 25%, var(--acc2-muted), transparent),
		var(--bg) !important;
}

html[data-theme="light"] body.home {
	--bg: #e8eef7;
	--bg-elevated: #f0f4fb;
	--surface: #fff;
	--surface2: #f4f7fc;
	--surface-highlight: #eef2f9;
	--text: #0f172a;
	--muted: #475569;
	--line: rgba(15, 23, 42, 0.1);
	--acc: #c94a32;
	--acc-hover: #d45840;
	--acc2: #0d9488;
	--acc2-muted: rgba(13, 148, 136, 0.2);
	--shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] body.home,
html[data-theme="light"] body.home .wp-site-blocks {
	font-family: Manrope, system-ui, sans-serif !important;
	color: var(--text);
	line-height: 1.55;
}

html[data-theme="light"] body.home {
	background:
		radial-gradient(900px 520px at 88% -5%, color-mix(in srgb, var(--acc) 22%, transparent), transparent),
		radial-gradient(780px 480px at -8% 25%, var(--acc2-muted), transparent),
		var(--bg) !important;
}

@media (prefers-reduced-motion: reduce) {
	html[data-theme="light"] body.home .technod-anim {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

html[data-theme="light"] body.home .technod-anim {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

html[data-theme="light"] body.home .technod-anim.is-visible {
	opacity: 1;
	transform: translateY(0);
}

html[data-theme="light"] body.home .technod-anim--d1 {
	transition-delay: 0.08s;
}

html[data-theme="light"] body.home .technod-anim--d2 {
	transition-delay: 0.16s;
}

html[data-theme="light"] body.home .technod-anim--d3 {
	transition-delay: 0.24s;
}

html[data-theme="light"] body.home .technod-anim--d4 {
	transition-delay: 0.32s;
}

/* Герой: как .hero--centered на ремонте */
html[data-theme="light"] body.home .technod-hero {
	min-height: clamp(380px, 62vh, 640px) !important;
	border-radius: 0 0 22px 22px;
	overflow: hidden;
	margin-bottom: 0.5rem;
	box-shadow: var(--shadow-soft);
}

html[data-theme="light"] body.home .technod-hero .wp-block-cover__image-background {
	object-position: 50% 35% !important;
}

html[data-theme="light"] body.home .technod-hero .wp-block-cover__background {
	background: linear-gradient(
		to top,
		rgba(7, 11, 18, 0.95) 0%,
		rgba(7, 11, 18, 0.55) 45%,
		rgba(7, 11, 18, 0.72) 100%
	) !important;
	opacity: 1 !important;
}

html[data-theme="light"] body.home .technod-hero .wp-block-cover__inner-container {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

html[data-theme="light"] body.home .technod-hero h1,
html[data-theme="light"] body.home .technod-hero .wp-block-heading {
	color: #fff !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	line-height: 1.12 !important;
	font-size: clamp(1.65rem, 4vw, 2.45rem) !important;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] body.home .technod-hero p {
	color: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="light"] body.home .technod-hero .has-medium-font-size {
	font-size: 0.98rem !important;
	line-height: 1.6;
	max-width: 36em;
	margin-left: auto;
	margin-right: auto;
}

html[data-theme="light"] body.home .technod-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	color: #5eead4 !important;
	margin: 0 0 0.5rem !important;
}

html[data-theme="light"] body.home .technod-chip-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	max-width: 640px;
	margin: 0 auto 1rem;
}

@media (max-width: 560px) {
	html[data-theme="light"] body.home .technod-chip-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

html[data-theme="light"] body.home .technod-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
	color: #fff !important;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

html[data-theme="light"] body.home .technod-chip--accent {
	border-color: rgba(94, 234, 212, 0.55);
	background: rgba(13, 148, 136, 0.18);
}

/* Кнопки в герое */
html[data-theme="light"] body.home .technod-hero .wp-block-buttons {
	gap: 10px 12px !important;
	justify-content: center !important;
}

html[data-theme="light"] body.home .technod-hero .wp-block-button__link {
	min-height: 46px;
	border-radius: 13px !important;
	font-weight: 800 !important;
	font-size: 0.9rem !important;
	padding: 0.55rem 1.1rem !important;
	transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease !important;
}

html[data-theme="light"] body.home .technod-hero .wp-block-buttons > .wp-block-button:first-child .wp-block-button__link {
	background: linear-gradient(180deg, #fff7f5, #fde8e4) !important;
	border: 1px solid #e6bfc7 !important;
	color: #b1443a !important;
	box-shadow: 0 6px 18px rgba(201, 74, 50, 0.18);
}

html[data-theme="light"] body.home .technod-hero .wp-block-buttons > .wp-block-button:first-child .wp-block-button__link:hover {
	transform: translateY(-2px);
	border-color: #ddb0ba !important;
	color: #9a3a32 !important;
}

html[data-theme="light"] body.home .technod-hero .wp-block-buttons > .wp-block-button:not(:first-child) .wp-block-button__link {
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.42) !important;
	color: #fff !important;
}

html[data-theme="light"] body.home .technod-hero .wp-block-buttons > .wp-block-button:not(:first-child) .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	transform: translateY(-2px);
}

/* Карточки рубрик / контакты */
html[data-theme="light"] body.home .technod-card {
	background: var(--surface) !important;
	border: 1px solid var(--line) !important;
	border-radius: 16px !important;
	box-shadow: var(--shadow-soft) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html[data-theme="light"] body.home .technod-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--acc2) 35%, var(--line)) !important;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] body.home .technod-card h3 {
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 800;
	margin-top: 0;
	color: var(--text);
}

html[data-theme="light"] body.home .technod-card p,
html[data-theme="light"] body.home .technod-card li {
	color: var(--muted);
	font-size: 0.95rem;
}

html[data-theme="light"] body.home .technod-card a {
	color: var(--acc2);
	font-weight: 700;
	text-decoration: none;
}

html[data-theme="light"] body.home .technod-card a:hover {
	color: var(--acc-hover);
	text-decoration: underline;
}

/* Заголовок секции «Свежие статьи» */
html[data-theme="light"] body.home .technod-section-title {
	font-weight: 800;
	color: var(--text);
	font-size: clamp(1.28rem, 2.4vw, 1.65rem);
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}

html[data-theme="light"] body.home .wp-block-separator {
	border-color: var(--line) !important;
	opacity: 1 !important;
	margin-top: 2rem !important;
	margin-bottom: 2rem !important;
}

/* Сетка последних записей */
html[data-theme="light"] body.home ul.wp-block-latest-posts.is-grid {
	gap: 14px !important;
}

html[data-theme="light"] body.home ul.wp-block-latest-posts.is-grid > li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 1rem 1.05rem !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="light"] body.home ul.wp-block-latest-posts.is-grid > li:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-soft);
}

html[data-theme="light"] body.home .wp-block-latest-posts__post-title {
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.25;
}

html[data-theme="light"] body.home .wp-block-latest-posts__post-title a {
	color: var(--text);
	text-decoration: none;
}

html[data-theme="light"] body.home .wp-block-latest-posts__post-title a:hover {
	color: var(--acc);
}

html[data-theme="light"] body.home .wp-block-latest-posts__post-date {
	color: var(--muted);
	font-size: 0.82rem;
}

/* Нижний CTA */
html[data-theme="light"] body.home .technod-cta-band {
	background: linear-gradient(
			165deg,
			color-mix(in srgb, var(--acc) 10%, var(--surface)),
			var(--surface-highlight)
		) !important;
	border: 1px solid var(--line) !important;
	color: var(--text) !important;
	box-shadow: var(--shadow-soft);
}

html[data-theme="light"] body.home .technod-cta-band h3,
html[data-theme="light"] body.home .technod-cta-band p {
	color: var(--text) !important;
}

html[data-theme="light"] body.home .technod-cta-band .wp-block-button__link {
	min-height: 46px;
	border-radius: 13px !important;
	font-weight: 800 !important;
	font-size: 0.9rem !important;
	transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease !important;
}

html[data-theme="light"] body.home .technod-cta-band .wp-block-button:first-child .wp-block-button__link {
	background: linear-gradient(180deg, #fff7f5, #fde8e4) !important;
	border: 1px solid #e6bfc7 !important;
	color: #b1443a !important;
}

html[data-theme="light"] body.home .technod-cta-band .wp-block-button:first-child .wp-block-button__link:hover {
	transform: translateY(-2px);
}

html[data-theme="light"] body.home .technod-cta-band .wp-block-button.is-style-outline .wp-block-button__link {
	background: linear-gradient(180deg, #f2f6fb, #e9f0f8) !important;
	border: 1px solid #cfd8e5 !important;
	color: #334155 !important;
}

html[data-theme="light"] body.home .technod-cta-band .wp-block-button.is-style-outline .wp-block-button__link:hover {
	transform: translateY(-2px);
	border-color: #c2cfdf !important;
	color: #0f172a !important;
}

html[data-theme="light"] body.home .wp-block-post-title {
	display: none !important;
}

html[data-theme="light"] body.home .technod-hero {
	margin-top: 0;
}

html[data-theme="dark"] body header.topbar {
	--bg: #070b12;
	--bg-elevated: #0e1522;
	--surface: #121c2c;
	--surface2: #1a2738;
	--text: #f1f5fd;
	--muted: #94a8c9;
	--line: rgba(255, 255, 255, 0.1);
	--acc: #e85a3c;
	--acc2: #2ec4a8;
	font-family: Manrope, system-ui, sans-serif;
}

/* Шапка блога — как .topbar на техно-д.рф */
html[data-theme="light"] body header.topbar {
	--bg: #e8eef7;
	--bg-elevated: #f0f4fb;
	--surface: #fff;
	--surface2: #f4f7fc;
	--text: #0f172a;
	--muted: #475569;
	--line: rgba(15, 23, 42, 0.1);
	--acc: #c94a32;
	--acc2: #0d9488;
	font-family: Manrope, system-ui, sans-serif;
}

body header.topbar .container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

body header.topbar {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	background: color-mix(in srgb, var(--bg) 82%, transparent);
}

body header.topbar .top-inner {
	display: flex;
	align-items: center;
	min-height: 48px;
	gap: 0;
	padding: 3px 0;
}

body header.topbar .top-brand {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	margin-right: 6px;
}

body header.topbar .logo {
	text-decoration: none;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

body header.topbar .logo img {
	width: 27px;
	height: 27px;
	border-radius: 50%;
	object-fit: contain;
	background: var(--surface2);
}

body header.topbar .logo-title {
	font-weight: 900;
	letter-spacing: 0.04em;
	font-size: 1.05rem;
}

body header.topbar .logo-city {
	color: var(--acc2);
	font-weight: 600;
	font-size: 0.65rem;
}

body header.topbar .logo-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	line-height: 1.05;
	transform: translateY(-1px);
}

body header.topbar .nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 auto;
	flex-wrap: nowrap;
}

body header.topbar .nav-links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 8px;
	transition: background 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

body header.topbar .nav-links a:hover,
body header.topbar .nav-links a[aria-current="page"] {
	background: var(--surface2);
	color: var(--text);
}

body header.topbar .top-cta {
	display: flex;
	flex-direction: row-reverse;
	gap: 8px;
	align-items: center;
	flex-shrink: 0;
}

html[data-theme="light"] body header.topbar .phone {
	background: linear-gradient(180deg, #f2f6fb, #e9f0f8);
	border: 1px solid #b8e1da;
	color: #10a893;
	border-radius: 999px;
	padding: 7px 16px;
	text-decoration: none;
	font-weight: 800;
	font-size: 0.82rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] body header.topbar .phone:hover {
	background: linear-gradient(180deg, #edf3fb, #e4ecf7);
	border-color: #a7d6ce;
	color: #0f9684;
}

body header.topbar .phone--nav {
	display: none;
}

body header.topbar .cart-toggle-btn {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text);
	cursor: pointer;
	position: relative;
	transition: transform 0.2s ease, background 0.2s ease;
}

body header.topbar .cart-toggle-btn:hover {
	transform: translateY(-1px);
	background: var(--surface2);
}

body header.topbar .cart-badge {
	position: absolute;
	top: -4px;
	right: -6px;
	background: var(--acc);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body header.topbar .theme-toggle {
	position: relative;
	width: 44px;
	height: 24px;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--line) 60%, #020617 40%);
	background: var(--surface);
	cursor: pointer;
	padding: 0;
	overflow: hidden;
	flex-shrink: 0;
}

html[data-theme="light"] body header.topbar .theme-toggle .knob,
html[data-theme="dark"] body header.topbar .theme-toggle .knob {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	line-height: 1;
	transition: transform 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

html[data-theme="light"] body header.topbar .theme-toggle .knob {
	transform: translateX(20px);
}

html[data-theme="dark"] body header.topbar .theme-toggle .knob {
	transform: translateX(0);
}

html[data-theme="light"] body header.topbar .theme-toggle {
	background: var(--surface2);
}

html[data-theme="dark"] body header.topbar .theme-toggle {
	background: var(--surface2);
}

body header.topbar .burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0;
	cursor: pointer;
	color: var(--text);
	font-size: 0;
	line-height: 0;
}

body header.topbar .burger__icon,
body header.topbar .burger__icon::before,
body header.topbar .burger__icon::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

body header.topbar .burger__icon {
	position: relative;
}

body header.topbar .burger__icon::before,
body header.topbar .burger__icon::after {
	content: "";
	position: absolute;
	left: 0;
}

body header.topbar .burger__icon::before {
	top: -6px;
}

body header.topbar .burger__icon::after {
	top: 6px;
}

body header.topbar .burger.is-open .burger__icon {
	background: transparent;
}

body header.topbar .burger.is-open .burger__icon::before {
	top: 0;
	transform: rotate(45deg);
}

body header.topbar .burger.is-open .burger__icon::after {
	top: 0;
	transform: rotate(-45deg);
}

@media (max-width: 1320px) {
	body header.topbar .nav-links {
		gap: 4px;
	}

	body header.topbar .nav-links a {
		font-size: 0.74rem;
		padding: 4px 8px;
	}
}

@media (max-width: 1080px) {
	body header.topbar .phone--header {
		display: none !important;
	}

	body header.topbar .phone--nav {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
		margin-top: 12px;
		padding: 12px 16px;
		border-radius: 13px;
	}

	html[data-theme="light"] body header.topbar .phone--nav {
		background: linear-gradient(180deg, #f2f6fb, #e9f0f8) !important;
		border: 1px solid #b8e1da !important;
		color: #10a893 !important;
	}

	html[data-theme="dark"] body header.topbar .phone--nav {
		background: rgba(7, 50, 45, 0.62) !important;
		border: 1px solid rgba(22, 214, 200, 0.62) !important;
		color: #27e5c8 !important;
	}

	body header.topbar .burger {
		display: flex;
		flex-shrink: 0;
	}

	body header.topbar .nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: var(--bg-elevated);
		border-bottom: 1px solid var(--line);
		padding: 10px 20px 16px;
		gap: 2px;
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
	}

	body header.topbar .nav-links.open {
		display: flex;
	}

	body header.topbar .nav-links a:not(.phone--nav) {
		padding: 12px 14px;
		border-radius: 12px;
		font-size: 0.95rem;
	}

	body header.topbar .top-inner {
		flex-wrap: wrap;
		gap: 8px;
		padding: 6px 16px;
		position: relative;
	}

	body header.topbar .top-brand {
		order: 1;
	}

	body header.topbar .top-cta {
		order: 2;
		margin-left: auto;
	}

	body header.topbar .burger {
		order: 3;
	}
}

/* Шапка блога (FSE) — в духе topbar */
html[data-theme="light"] body.home .wp-block-site-title a,
html[data-theme="light"] body.home .wp-block-navigation a {
	font-family: Manrope, system-ui, sans-serif !important;
}

html[data-theme="light"] body.home .wp-block-site-title a {
	font-weight: 900;
	letter-spacing: 0.04em;
	color: var(--text) !important;
}

html[data-theme="light"] body.home .wp-block-navigation .wp-block-navigation-item__content {
	font-weight: 600;
	font-size: 0.82rem;
	color: var(--muted) !important;
	border-radius: 8px;
	transition: background 0.15s ease, color 0.15s ease;
}

html[data-theme="light"] body.home .wp-block-navigation .wp-block-navigation-item__content:hover {
	background: var(--surface2);
	color: var(--text) !important;
}

@media (prefers-reduced-motion: no-preference) {
	html[data-theme="light"] body.home .technod-chip {
		animation: technod-chip-glow 5s ease-in-out infinite;
	}

	html[data-theme="light"] body.home .technod-chip:nth-child(2) {
		animation-delay: 0.4s;
	}

	html[data-theme="light"] body.home .technod-chip:nth-child(3) {
		animation-delay: 0.8s;
	}
}

@keyframes technod-chip-glow {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
	}

	50% {
		box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.25);
	}
}

/* =============================================
   Футер блога — те же классы, что на техно-д.рф
   ============================================= */
/* Точные стили футера с техно-д.рф */
.footer { border-top: 1px solid var(--line, rgba(15,23,42,.1)); margin-top: 0; padding: 30px 0 16px; background: color-mix(in srgb, var(--bg, #e8eef7) 88%, transparent); font-family: Manrope, system-ui, sans-serif; }
.foot-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; align-items: start; }
.foot-col { min-width: 0; }
.foot-col p { margin: .45rem 0; }
.foot-title { font-size: 1.04rem; font-weight: 900; color: var(--text, #0f172a); margin: 0 0 .75rem; }
.footer a { color: var(--muted, #475569); text-decoration: none; }
.footer a:hover { color: var(--acc2, #0d9488); }
.foot-col--contact { display: grid; gap: .6rem; }
.foot-contact { display: flex; align-items: flex-start; gap: 10px; color: var(--muted, #475569); text-decoration: none; }
.foot-contact__icon { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: color-mix(in srgb, var(--acc2, #0d9488) 18%, transparent); color: var(--acc2, #0d9488); flex: 0 0 22px; margin-top: 1px; }
.foot-contact__text { display: grid; gap: 2px; line-height: 1.35; }
.foot-contact__text strong { color: var(--text, #0f172a); font-size: .95rem; }
.foot-contact__value { font-size: .95rem; color: var(--muted, #475569); display: block; }
.foot-messengers { display: flex; gap: 10px; flex-wrap: wrap; margin-top: .15rem; }
.footer .foot-messenger { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: transform .15s, filter .15s; text-decoration: none; }
.footer .foot-messenger:hover { color: #fff; transform: translateY(-1px) scale(1.05); filter: brightness(1.05); }
.foot-messenger--phone { background: #e85a3c; }
.foot-messenger--tg    { background: #229ed9; }
.foot-messenger--vk    { background: #4680c2; }
.foot-messenger--max   { background: linear-gradient(145deg, #5b4dff, #00c6ff); }
.foot-bottom { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line, rgba(15,23,42,.1)); color: var(--muted, #475569); font-size: .86rem; }

@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 640px)  { .foot-grid { grid-template-columns: 1fr; gap: 16px; } }

