/*
Theme Name: AlfaService
Theme URI: https://alfaservice.local
Author: AlfaService
Author URI: https://alfaservice.local
Description: Тема для сайта AlfaService.
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alfaservice
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/

/* Base — переменные (шрифты подключаются через wp_enqueue_style в functions.php) */
:root {
	--fontFamily: 'Poppins', sans-serif;
	--fontFamily2: 'Open Sans', sans-serif;
	--mainColor: #ff630e;
	--secondColor: #2e2f46;
	--whiteColor: #ffffff;
	--blackColor: #242424;
	--paragraphColor: #666666;
	--fontSize: 15px;
	--transition: 0.5s;
	--boxShadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
	--as-container: 1200px;
	--as-gap: 1.5rem;
	--fix-whiteColor: #ffffff;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	width: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--fontFamily2);
	font-size: var(--fontSize);
	line-height: 1.6;
	color: var(--blackColor);
	background: var(--whiteColor);
	overflow-x: hidden;
	max-width: 100%;
}

a {
	transition: var(--transition);
	color: var(--blackColor);
	text-decoration: none;
}
a:hover { color: var(--mainColor); text-decoration: none; }

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	max-width: 100%;
}

/* Grid как в образце (container, row, col) — mobile-first */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.container-fluid { width: 100%; padding: 0 15px; margin: 0 auto; box-sizing: border-box; max-width: 100%; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; box-sizing: border-box; }
.row > [class*="col-"] { padding: 0 15px; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
@media (min-width: 576px) {
	.col-sm-6 { flex: 0 0 50%; max-width: 50%; }
	.col-sm-4 { flex: 0 0 33.333%; max-width: 33.333%; }
}
@media (min-width: 768px) {
	.col-md-3 { flex: 0 0 25%; max-width: 25%; }
	.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
	.col-md-6 { flex: 0 0 50%; max-width: 50%; }
	.col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
	.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
	.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
	.col-lg-9 { flex: 0 0 75%; max-width: 75%; }
	.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 1200px) {
	.col-xl-5 { flex: 0 0 41.666%; max-width: 41.666%; }
	.col-xl-6 { flex: 0 0 50%; max-width: 50%; }
	.col-xl-7 { flex: 0 0 58.333%; max-width: 58.333%; }
}

/* Topbar — как в образце */
.topbar {
	font-family: var(--fontFamily2);
	border-bottom: 1px solid #eee;
	padding: 10px 0;
	position: relative;
	z-index: 9;
}
.topbar-row { align-items: center; }
.topbar-left-side ul { margin: 0; padding: 0; list-style: none; }
.topbar-left-side ul li {
	font-size: 14px;
	margin-right: 15px;
	display: inline-block;
	color: var(--blackColor);
}
.topbar-left-side ul li a { color: var(--blackColor); }
.topbar-left-side ul li i { margin-right: 3px; color: var(--mainColor); }
.topbar-right-side {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.topbar-right-side a { color: var(--blackColor); font-size: 14px; }
.topbar-right-side i { color: var(--mainColor); }
.topbar-right-side .account { margin-right: 15px; font-family: var(--fontFamily2); }
.topbar-right-side .account i { margin-right: 3px; }

/* Топбар по центру на десктопе */
@media (min-width: 1200px) {
	.topbar-row { justify-content: center; }
	.topbar-left-side { text-align: center; }
	.topbar-right-side { justify-content: center; }
}

/* Header area */
.header-area { position: relative; }
.navbar-area { position: relative; }
.main-nav { position: relative; background-color: transparent; }
.main-nav .container { display: flex; align-items: center; flex-wrap: wrap; }
.main-nav nav { display: flex; align-items: center; flex-wrap: wrap; width: 100%; }
.main-nav nav ul { padding: 0; margin: 0; list-style: none; }
.main-nav .navbar { padding: 15px 0; align-items: center; width: 100%; }
.main-nav .navbar-brand {
	color: var(--mainColor);
	font-weight: 700;
	text-transform: uppercase;
	font-family: var(--fontFamily);
	text-decoration: none;
	display: inline-block;
}
.main-nav .navbar-brand:hover { color: var(--mainColor); }
.main-nav .navbar-brand img { max-height: 64px; max-width: 64px; width: auto; height: auto; display: block; }
.navbar-brand-text { font-size: 1.25rem; }
.main-nav .navbar-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0 0 0 0;
	padding: 0;
}
.menu-sidebar.menu-sidebar-1 {
	margin-left: auto;
}
.menu-sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
}
.menu-sidebar ul li { margin-left: 0; }
.menu-sidebar a { color: var(--blackColor); }
/* Иконка телефона — чёрный квадрат с белой иконкой */
.menu-sidebar.menu-sidebar-1 ul li:first-child a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #242424;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
}
.menu-sidebar.menu-sidebar-1 ul li:first-child a:hover {
	background: var(--mainColor);
	color: #fff;
}
/* Кнопка «Связаться с нами» — оранжевая, прижата к правому краю */
.menu-sidebar.menu-sidebar-1 .default-button {
	margin-left: 0;
	background-color: var(--mainColor);
	border-color: var(--mainColor);
	color: #fff;
}
.menu-sidebar.menu-sidebar-1 .default-button:hover {
	border-color: var(--secondColor);
	background-color: var(--secondColor);
	color: #fff;
}
.menu-sidebar.menu-sidebar-1 .default-button:hover::before,
.menu-sidebar.menu-sidebar-1 .default-button:hover::after {
	height: 0;
}

/* В десктопной версии скрыть иконку телефона */
@media (min-width: 1200px) {
	.main-nav .menu-sidebar.menu-sidebar-1 ul li:first-child { display: none; }
}

.main-nav .navbar-nav .nav-item {
	position: relative;
	padding: 15px 0;
}
.main-nav .navbar-nav .nav-item a {
	padding: 0;
	margin-left: 14px;
	margin-right: 14px;
	transition: var(--transition);
	color: var(--blackColor);
	font-size: 15px;
	font-weight: 600;
	font-family: var(--fontFamily2);
}
.main-nav .navbar-nav .nav-item a:hover,
.main-nav .navbar-nav .nav-item a.active { color: var(--mainColor); }

/* Пункты с выпадающим списком — стрелка вниз, чтобы было видно, что есть подменю */
.main-nav .navbar-nav .nav-item.menu-item-has-children > a::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 10px;
	margin-left: 6px;
	opacity: 0.8;
	vertical-align: middle;
}
.main-nav .navbar-nav .nav-item.menu-item-has-children > a:hover::after { opacity: 1; }

/* ——— Выпадающее меню: слева категории с шевроном, справа — подкатегории в 3 колонки с иконкой ——— */
.main-nav .navbar-nav .nav-item.menu-item-has-children {
	position: static;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 1200px;
	box-sizing: border-box;
	margin: 0;
	margin-top: 2px;
	padding: 0;
	top: 100%;
	list-style: none;
	background: var(--whiteColor);
	box-shadow: 0 10px 40px rgba(0,0,0,.1);
	z-index: 9999;
	border: 1px solid #e5e7eb;
	border-top: 3px solid var(--mainColor);
	overflow-x: hidden;
}
/* Показывать при наведении или пока открыто по JS (задержка перед закрытием) */
.main-nav .navbar-nav .nav-item:hover > .nav-dropdown-panel,
.main-nav .navbar-nav .nav-item.dropdown-open > .nav-dropdown-panel {
	display: grid;
	grid-template-columns: 260px 1fr;
	grid-template-rows: repeat(12, 48px) minmax(0, 1fr);
	height: 70vh;
	min-height: 400px;
}

/* Левая колонка: основные категории (серый текст, шеврон >, оранжевый при наведении) */
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li {
	display: contents;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > a {
	grid-column: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	min-height: 48px;
	box-sizing: border-box;
	align-self: start;
	font-weight: 500;
	font-size: 14px;
	color: #4b5563;
	background: #fff;
	border-bottom: 1px solid #f3f4f6;
	text-decoration: none;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > a::after {
	content: '\f105';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 11px;
	color: #9ca3af;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > a:hover,
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li:hover > a {
	color: var(--mainColor);
	background: rgba(255, 99, 14, 0.12);
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > a:hover::after,
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li:hover > a::after {
	color: var(--mainColor);
}

/* Правая колонка: подкатегории только при наведении на категорию слева */
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > .sub-menu {
	grid-column: 2;
	grid-row: 1 / -1;
	opacity: 0;
	pointer-events: none;
	margin: 0;
	padding: 24px 28px;
	list-style: none;
	background: #fff;
	border-left: 1px solid #e5e7eb;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px 28px;
	align-content: start;
	max-height: 70vh;
	overflow-y: auto;
}
/* Показывать подкатегории при наведении на ссылку слева, на саму панель справа или по классу (задержка перед скрытием) */
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > a:hover + .sub-menu,
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > .sub-menu:hover,
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li.submenu-visible > .sub-menu {
	opacity: 1;
	pointer-events: auto;
}

/* Пункты в правой части: иконка (outline) + текст */
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > .sub-menu > li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > .sub-menu > li > a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--blackColor);
	text-decoration: none;
	min-width: 0;
	word-wrap: break-word;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > .sub-menu > li > a::before {
	content: '';
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background: url('assets/images/laptop.svg') center/contain no-repeat;
	opacity: 0.7;
}
/* Иконка для категории «Ремонт компьютеров» */
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li.menu-icon-computer > .sub-menu > li > a::before {
	background-image: url('assets/images/computer.svg');
}
/* Иконка для категории «Ремонт моноблока» */
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li.menu-icon-monoblock > .sub-menu > li > a::before {
	background-image: url('assets/images/monoblock.svg');
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > .sub-menu > li > a:hover {
	color: var(--mainColor);
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li > .sub-menu > li > a:hover::before {
	opacity: 1;
}

/* Вложенный уровень (3-й): те же иконка + текст в общем потоке сетки */
.main-nav .navbar-nav .nav-item .nav-dropdown-panel .sub-menu .sub-menu {
	display: contents;
	margin: 0;
	padding: 0;
	list-style: none;
	border: none;
	background: transparent;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel .sub-menu .sub-menu > li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel .sub-menu .sub-menu li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--blackColor);
	text-decoration: none;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel .sub-menu .sub-menu li a::before {
	content: '';
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background: url('assets/images/laptop.svg') center/contain no-repeat;
	opacity: 0.7;
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li.menu-icon-computer .sub-menu .sub-menu li a::before {
	background-image: url('assets/images/computer.svg');
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel > li.menu-icon-monoblock .sub-menu .sub-menu li a::before {
	background-image: url('assets/images/monoblock.svg');
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel .sub-menu .sub-menu li a:hover {
	color: var(--mainColor);
}
.main-nav .navbar-nav .nav-item .nav-dropdown-panel .sub-menu .sub-menu li a:hover::before {
	opacity: 1;
}

/* Кнопка как в образце */
.default-button {
	overflow: hidden;
	border: 1px solid var(--secondColor);
	padding: 12px 35px;
	border-radius: 25px;
	display: inline-block;
	color: var(--whiteColor);
	background-color: var(--secondColor);
	position: relative;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--fontFamily2);
	cursor: pointer;
	text-decoration: none;
}
.default-button::before {
	content: '';
	width: 100%;
	height: 0%;
	transition: 0.5s ease;
	background-color: var(--mainColor);
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}
.default-button::after {
	content: '';
	width: 100%;
	height: 0%;
	transition: 0.5s ease;
	background-color: var(--mainColor);
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
}
.default-button span { position: relative; z-index: 2; }
.default-button:hover {
	color: var(--whiteColor);
	border-color: var(--mainColor);
	text-decoration: none;
}
.default-button:hover::before,
.default-button:hover::after { height: 51%; }

/* 404 page */
.page-404 {
	text-align: center;
}
.page-404 .page-404__inner {
	max-width: 720px;
	margin: 0 auto;
}
.page-404__image-wrap {
	margin-bottom: 1.5rem;
}
.page-404__image {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.page-404__title {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 700;
	color: var(--blackColor);
	margin: 0 0 0.75rem;
}
.page-404__text {
	font-size: 1rem;
	color: var(--paragraphColor);
	margin: 0 0 1.5rem;
}
.page-404__button {
	margin-top: 0.5rem;
}

/* Мобильная шапка */
.main-responsive-nav { display: none; }
.mobile-nav { display: none; position: relative; align-items: center; justify-content: flex-start; padding: 15px 0; width: 100%; }
.mobile-nav .logo { display: inline-block; text-decoration: none; color: var(--blackColor); margin-right: auto; flex-shrink: 0; }
.mobile-nav .logo img { max-height: 64px; max-width: 64px; }
.mobile-nav .menu-sidebar { display: flex; align-items: center; gap: 15px; list-style: none; margin: 0; padding: 0; margin-left: auto; flex-shrink: 0; }
.menu-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--mainColor);
	font-size: 1.25rem;
}
.desktop-toggle { display: none; }
.navbar-collapse {
	flex-grow: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.navbar-collapse.collapse { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-collapse .navbar-nav { margin-right: auto; }

/* Мобильное выпадающее меню */
.mobile-menu-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--whiteColor);
	box-shadow: var(--boxShadow);
	padding: 15px;
	margin: 0 -15px;
	z-index: 100;
	border-top: 1px solid #eee;
}
.mobile-menu-dropdown[hidden] { display: none !important; }
.mobile-nav-menu { flex-direction: column; margin: 0 0 15px 0; padding: 0; list-style: none; }
.mobile-nav-menu .nav-item,
.mobile-nav-menu .menu-item { padding: 10px 0; border-bottom: 1px solid #eee; }
.mobile-nav-menu .nav-item:last-child,
.mobile-nav-menu .menu-item:last-child { border-bottom: none; }
.mobile-nav-menu .nav-link { margin: 0; }

/* Подменю в мобильном меню: по умолчанию скрыты, раскрываются по клику */
.mobile-nav-menu .sub-menu { display: none; margin: 0; padding: 0 0 0 16px; list-style: none; border-bottom: none; }
.mobile-nav-menu .nav-item.submenu-open > .sub-menu,
.mobile-nav-menu .menu-item.submenu-open > .sub-menu { display: block; padding-top: 4px; padding-bottom: 8px; }
.mobile-nav-menu .sub-menu .nav-item,
.mobile-nav-menu .sub-menu .menu-item { padding: 8px 0; border-bottom: 1px solid #eee; }
.mobile-nav-menu .sub-menu .nav-item:last-child,
.mobile-nav-menu .sub-menu .menu-item:last-child { border-bottom: none; }
.mobile-nav-menu .sub-menu .sub-menu { padding-left: 16px; }
.mobile-nav-menu .sub-menu .sub-menu .nav-item,
.mobile-nav-menu .sub-menu .sub-menu .menu-item { padding: 6px 0; }

/* Стрелка раскрытия для пунктов с подменю */
.mobile-nav-menu .menu-item-has-children > .nav-link,
.mobile-nav-menu .menu-item-has-children > a { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-menu .menu-item-has-children > .nav-link::after,
.mobile-nav-menu .menu-item-has-children > a::after { content: ''; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; margin-left: 8px; transition: transform 0.2s ease; flex-shrink: 0; }
.mobile-nav-menu .nav-item.submenu-open > .nav-link::after,
.mobile-nav-menu .nav-item.submenu-open > a::after,
.mobile-nav-menu .menu-item.submenu-open > .nav-link::after,
.mobile-nav-menu .menu-item.submenu-open > a::after { transform: rotate(180deg); }

/* Иконки вместо маркеров: как в десктопе (ноутбук / компьютер / моноблок) */
.mobile-nav-menu .nav-link,
.mobile-nav-menu .sub-menu a { display: flex; align-items: center; gap: 10px; }
.mobile-nav-menu .nav-item.menu-icon-laptop > a::before,
.mobile-nav-menu .menu-item.menu-icon-laptop > a::before,
.mobile-nav-menu .nav-item.menu-icon-laptop .sub-menu li a::before,
.mobile-nav-menu .menu-item.menu-icon-laptop .sub-menu li a::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; background: url('assets/images/laptop.svg') center/contain no-repeat; opacity: 0.85; }
.mobile-nav-menu .nav-item.menu-icon-computer > a::before,
.mobile-nav-menu .menu-item.menu-icon-computer > a::before,
.mobile-nav-menu .nav-item.menu-icon-computer .sub-menu li a::before,
.mobile-nav-menu .menu-item.menu-icon-computer .sub-menu li a::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; background: url('assets/images/computer.svg') center/contain no-repeat; opacity: 0.85; }
.mobile-nav-menu .nav-item.menu-icon-monoblock > a::before,
.mobile-nav-menu .menu-item.menu-icon-monoblock > a::before,
.mobile-nav-menu .nav-item.menu-icon-monoblock .sub-menu li a::before,
.mobile-nav-menu .menu-item.menu-icon-monoblock .sub-menu li a::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; background: url('assets/images/monoblock.svg') center/contain no-repeat; opacity: 0.85; }
/* Пункты без класса иконки (например «Услуги»): только стрелка, без иконки слева */
.mobile-nav-menu .menu-item-has-children > .nav-link::before,
.mobile-nav-menu .menu-item-has-children > a::before { content: none; }

.mobile-menu-cta { margin: 10px 0 0; padding: 0; }
.mobile-nav { position: relative; }

@media (max-width: 1199px) {
	.main-responsive-nav { display: block; background: var(--whiteColor); height: auto; }
	.main-responsive-nav .container { display: block; width: 100%; }
	.mobile-nav { display: flex; justify-content: flex-start; width: 100%; }
	.mobile-nav .logo { margin-left: 0; margin-right: auto; }
	.main-nav { display: none !important; }
	.menu-sidebar.menu-sidebar-1 { display: none !important; }
	.navbar-collapse { display: none; width: 100%; flex-basis: 100%; }
	.navbar-collapse.is-open { display: flex; flex-direction: column; align-items: flex-start; padding-top: 15px; border-top: 1px solid #eee; }
	.navbar-collapse.is-open .navbar-nav { flex-direction: column; margin: 0 0 15px 0; width: 100%; }
	.navbar-collapse.is-open .nav-item { padding: 8px 0; }
}
@media (max-width: 991px) {
	.topbar-row { flex-direction: column; align-items: flex-start; gap: 10px; }
	.topbar-left-col { max-width: 100%; flex: 0 0 100%; }
	.topbar-right-col { max-width: 100%; flex: 0 0 100%; }
	.topbar-right-side { justify-content: flex-start; }
	.topbar-left-side ul li { margin-right: 7px; margin-left: 7px; }
}
@media (max-width: 767px) {
	.col-lg-9, .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
	/* колонки с col-sm-6 остаются 50% за счёт min-width: 576px */
	.topbar-left-side { text-align: center; }
	.topbar-right-side { justify-content: center; }
}

/* Layout */
.site-content {
	flex: 1;
	width: 100%;
	max-width: var(--as-container);
	margin: 0 auto;
	padding: var(--as-gap);
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--fontFamily); }
h5, h6 { font-family: var(--fontFamily2); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.3; }

/* Content */
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); max-width: 100%; }

/* ——— Страницы и записи: заголовок H1 по центру с оранжевой подводкой ——— */
.entry-header-single {
	text-align: center;
	margin-bottom: 1.5em;
	padding-top: 0.5em;
}
.entry-header-single .entry-title {
	position: relative;
	display: inline-block;
	margin: 0;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 700;
	color: var(--blackColor);
	line-height: 1.35;
	padding-bottom: 0.4rem;
	/* Подчёркивание от ~третьего символа и до конца заголовка */
	background-image: linear-gradient(var(--mainColor), var(--mainColor));
	background-repeat: no-repeat;
	background-size: calc(100% - 1.6em) 3px;
	background-position: left 1.6em bottom 0;
}

/* ——— Хлебные крошки (Этап 2 SEO) ——— */
.alfaservice-breadcrumbs { margin-bottom: 1rem; padding-top: 0.25rem; }
.alfaservice-breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--paragraphColor); }
.alfaservice-breadcrumbs__item { display: inline-flex; align-items: center; }
.alfaservice-breadcrumbs__item a { color: var(--paragraphColor); }
.alfaservice-breadcrumbs__item a:hover { color: var(--mainColor); }
.alfaservice-breadcrumbs__sep { margin: 0 0.35em; color: var(--paragraphColor); }
.alfaservice-breadcrumbs__current { color: var(--blackColor); font-weight: 500; }

/* ——— Блог: лента записей (home.php) и одна запись (single.php) ——— */
.blog-page-header { margin-bottom: 2rem; }
.blog-page-title { margin: 0 0 0.5rem; font-size: 1.75rem; }
.blog-list { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.blog-list .blog-card { padding: 0 15px; margin-bottom: 2rem; }
.blog-card__link { display: block; color: inherit; text-decoration: none; height: 100%; background: #f9fafb; border-radius: 12px; overflow: hidden; box-shadow: var(--boxShadow, 0 5px 20px rgba(0,0,0,0.08)); transition: box-shadow 0.3s, transform 0.2s; }
.blog-card__link:hover { color: inherit; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.blog-card__thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.25rem; display: flex; flex-direction: column; }
.blog-card__title { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 700; color: var(--blackColor); line-height: 1.35; display: inline-block; padding-bottom: 0.35rem; border-bottom: 3px solid var(--mainColor); }
.blog-card__link:hover .blog-card__title { color: var(--mainColor); }
.blog-card__excerpt { margin-top: 0.25rem; font-size: 0.95rem; color: var(--paragraphColor); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; flex: 1; }
.blog-card__excerpt p:last-child { margin-bottom: 0; }
.blog-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; padding-top: 0.5rem; border-top: 1px solid rgba(0,0,0,0.06); }
.blog-card__date { font-size: 0.85rem; color: var(--paragraphColor); }
.blog-card__more { font-size: 0.9rem; color: var(--mainColor); font-weight: 500; }
.blog-page-empty { margin-top: 2rem; color: var(--paragraphColor); }
.blog-page .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.blog-page .nav-links a { padding: 0.4rem 0.75rem; background: #f0f0f0; border-radius: 6px; }
.blog-page .nav-links a:hover { background: var(--mainColor); color: #fff; }
.blog-page .nav-links .current { background: var(--secondColor); color: #fff; }

.single-post-page .entry-header-single { margin-bottom: 1rem; }
.single-post .entry-meta {
	font-size: 0.9rem;
	color: var(--paragraphColor);
	margin-top: 0.25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.single-post .entry-meta time,
.single-post .entry-meta .entry-author {
	white-space: nowrap;
}
.single-post .entry-meta__left {
	font-size: 0.9rem;
	color: var(--paragraphColor);
}
.single-post .entry-meta__cat-link {
	color: var(--mainColor);
	font-weight: 500;
	text-decoration: none;
}
.single-post .entry-meta__cat-link:hover {
	color: var(--secondColor);
	text-decoration: underline;
}
.single-post .entry-meta__right {
	display: flex;
	gap: 1rem;
	align-items: center;
}
.single-post-thumb { margin-bottom: 1.5rem; border-radius: 8px; overflow: hidden; }
.single-post-thumb img { width: 100%; height: auto; display: block; }
.single-post .entry-content { max-width: 100%; }

/* Запись: H1 и линия под заголовком */
.single-post .entry-header.entry-header-single { margin-bottom: 0; padding-bottom: 0; }
.single-post .entry-header .entry-title { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; color: var(--blackColor); line-height: 1.3; margin: 0 0 0.5rem; }
.single-post .entry-title-divider { display: block; width: 100%; max-width: 100%; height: 1px; background: linear-gradient(90deg, var(--mainColor) 0%, rgba(255,99,14,0.2) 100%); margin-top: 1rem; margin-bottom: 1.5rem; }

/* Запись: нумерованный список OL/LI — кружки с номером */
.single-post .entry-content ol { list-style: none; counter-reset: ol-item; padding-left: 0; margin: 1rem 0; }
.single-post .entry-content ol li { position: relative; padding-left: 2.75rem; margin-bottom: 0.75rem; counter-increment: ol-item; }
.single-post .entry-content ol li::before { content: counter(ol-item); position: absolute; left: 0; top: 0.1em; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(255, 99, 14, 0.12); border: 1px solid var(--mainColor); color: var(--secondColor); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }

/* Запись: маркированный список UL/LI — цвет маркера */
.single-post .entry-content ul li::marker { color: #ff630e; }
.single-post .entry-content ul li { color: var(--blackColor); }

/* Запись: цитата blockquote */
.single-post .entry-content blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem 1rem 1.5rem; background: #f5f5f5; border-left: 4px solid var(--mainColor); color: var(--blackColor); font-size: 1rem; line-height: 1.6; }

/* Страница: те же стили для ol, ul, blockquote в .entry-content */
.page .entry-content ol { list-style: none; counter-reset: ol-item; padding-left: 0; margin: 1rem 0; }
.page .entry-content ol li { position: relative; padding-left: 2.75rem; margin-bottom: 0.75rem; counter-increment: ol-item; }
.page .entry-content ol li::before { content: counter(ol-item); position: absolute; left: 0; top: 0.1em; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(255, 99, 14, 0.12); border: 1px solid var(--mainColor); color: var(--secondColor); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.page .entry-content ul li::marker { color: #ff630e; }
.page .entry-content ul li { color: var(--blackColor); }
.page .entry-content blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem 1rem 1.5rem; background: #f5f5f5; border-left: 4px solid var(--mainColor); color: var(--blackColor); font-size: 1rem; line-height: 1.6; }

/* Таблицы в контенте страниц и записей — общий стиль */
.page .entry-content table,
.single-post .entry-content table {
	width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1rem 0;
}
.page .entry-content thead th,
.single-post .entry-content thead th {
	background: var(--secondColor); color: var(--whiteColor); text-align: left; padding: 12px 14px; font-weight: 600; border: none;
}
.page .entry-content tbody tr,
.single-post .entry-content tbody tr {
	border-bottom: 1px solid rgba(0,0,0,0.08);
}
.page .entry-content tbody tr:nth-child(even),
.single-post .entry-content tbody tr:nth-child(even) {
	background: rgba(46,47,70,0.04);
}
.page .entry-content tbody tr:nth-child(odd),
.single-post .entry-content tbody tr:nth-child(odd) {
	background: var(--whiteColor);
}
.page .entry-content tbody tr:hover,
.single-post .entry-content tbody tr:hover {
	background: rgba(255,99,14,0.06);
}
.page .entry-content td,
.single-post .entry-content td {
	padding: 12px 14px; vertical-align: middle; color: var(--blackColor);
}
.page .entry-content table th:first-child,
.page .entry-content table td:first-child,
.single-post .entry-content table th:first-child,
.single-post .entry-content table td:first-child {
	border-radius: 4px 0 0 0;
}
.page .entry-content table th:last-child,
.page .entry-content table td:last-child,
.single-post .entry-content table th:last-child,
.single-post .entry-content table td:last-child {
	border-radius: 0 4px 0 0;
}
.page .entry-content .alfaservice-pricelist-scroll,
.single-post .entry-content .alfaservice-pricelist-scroll {
	overflow-x: auto; -webkit-overflow-scrolling: touch;
}

/* Запись: изображения и медиа в контенте — в рамках контейнера */
.single-post .entry-content img,
.single-post .entry-content figure,
.single-post .entry-content picture,
.single-post .entry-content iframe,
.single-post .entry-content video {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1rem auto;
}

/* Запись: таблицы — горизонтальный скролл на мобильных */
@media (max-width: 767.98px) {
	.single-post .entry-content table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.single-post .entry-content table thead,
	.single-post .entry-content table tbody,
	.single-post .entry-content table tr,
	.single-post .entry-content table th,
	.single-post .entry-content table td {
		white-space: nowrap;
	}
}

/* Запись: блок «Похожие статьи» */
.single-post .related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #eee; }
.single-post .related-posts__title { text-align: center; font-size: 1.5rem; font-weight: 700; color: var(--secondColor); margin: 0 0 1.5rem; }
.single-post .related-posts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .single-post .related-posts__grid { grid-template-columns: repeat(4, 1fr); } }
.single-post .related-posts__card { background: #f9fafb; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: box-shadow 0.25s; }
.single-post .related-posts__card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.single-post .related-posts__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.single-post .related-posts__link:hover { color: inherit; }
.single-post .related-posts__thumb { aspect-ratio: 16/10; overflow: hidden; }
.single-post .related-posts__thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-post .related-posts__cat { display: inline-block; margin: 0.75rem 1rem 0; padding: 0.2rem 0.5rem; font-size: 0.75rem; background: var(--secondColor); color: var(--whiteColor); border-radius: 4px; }
.single-post .related-posts__card-title { margin: 0.5rem 1rem 0.5rem; font-size: 1rem; font-weight: 600; color: var(--blackColor); line-height: 1.35; }
.single-post .related-posts__card:hover .related-posts__card-title { color: var(--mainColor); }
.single-post .related-posts__excerpt { margin: 0 1rem 1rem; font-size: 0.875rem; color: var(--paragraphColor); line-height: 1.45; }
.single-post .related-posts__excerpt p { margin: 0; }

/* ——— Главная: Баннер и О компании (образец index.html) ——— */
.default-section-title h6 {
	position: relative;
	padding-left: 45px;
	display: inline-block;
	color: var(--blackColor);
	font-size: var(--fontSize);
	font-family: var(--fontFamily);
}
.default-section-title h6::before {
	content: '';
	width: 40px;
	height: 2px;
	background-color: var(--mainColor);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.default-section-title h3 {
	line-height: 1.4;
	color: var(--blackColor);
	font-size: 36px;
	font-weight: 700;
}

.banner-text-area {
	max-width: 745px;
	margin-left: auto;
	position: relative;
}
.banner-text-area h6 {
	position: relative;
	padding-left: 45px;
	display: inline-block;
	color: var(--blackColor);
	font-size: var(--fontSize);
	font-family: var(--fontFamily);
}
.banner-text-area h6::before {
	content: '';
	width: 40px;
	height: 2px;
	background-color: var(--mainColor);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.banner-text-area h1 {
	line-height: 1.4;
	color: var(--blackColor);
	margin-top: 15px;
	margin-bottom: 25px;
	font-size: clamp(28px, 4vw, 60px);
	font-weight: 700;
	font-family: var(--fontFamily);
}
.banner-text-area p { max-width: 650px; margin-bottom: 28px; }

.main-banner-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	overflow: hidden;
	padding: 60px 0;
}
.main-banner-bg .container-fluid,
.main-banner-bg .row { position: relative; z-index: 1; }
.main-banner-img img {
	position: relative;
	right: -20px;
	max-width: 100%;
	height: auto;
}

.main-banner-bg-img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}
.main-banner.has-bg-image .main-banner-bg::before {
	background-color: transparent;
}
.main-banner-bg::before {
	content: '';
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}
.main-banner-bg .container-fluid,
.main-banner-bg .row { position: relative; z-index: 1; }

.about-img-area { position: relative; }
.about-img-area .about-img-1 img {
	position: relative;
	transform: scale(0.8);
	transform-origin: left top;
	max-width: 100%;
	height: auto;
}
.about-img-area .about-img-2 {
	position: absolute;
	bottom: 0;
	right: 30px;
	transform: scale(0.85);
	transform-origin: right bottom;
}
.about-img-area .about-img-2 img { border-radius: 50%; max-width: 100%; height: auto; }
.about-img-area .about-img-2 a {
	width: 100px;
	height: 100px;
	font-size: 60px;
	border-radius: 50%;
	padding-left: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--whiteColor);
	background-color: var(--mainColor);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.about-img-area .about-img-2 a:hover { color: var(--whiteColor); background-color: var(--secondColor); }

.about-text-area .about-list ul { margin: 0; padding: 0; list-style: none; }
.about-text-area .about-list ul li {
	display: flex;
	align-items: baseline;
	color: var(--blackColor);
	margin: 8px 0;
	font-size: var(--fontSize);
	font-weight: 400;
	font-family: var(--fontFamily2);
}
.about-text-area .about-list ul li i { margin-right: 10px; color: var(--mainColor); }

.about-1 .about-img-area { margin-left: auto; max-width: 750px; }
.about-1 .about-text-area { max-width: 630px; }

/* О компании внутри контента страницы (шорткод): ширина как на главной */
/* В .entry-content: блок на всю ширину для фона, контент внутри — по стандартной сетке (1200px) */
.entry-content .about.about-1 {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 100vw;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}
.entry-content .about.about-1 .container-fluid {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.about-1 .fun-facts-area { margin-top: 40px; }
.about-1 .fun-facts-card {
	position: relative;
	margin-top: 30px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.about-1 .fun-facts-card i {
	color: rgba(85, 85, 85, 0.1);
	position: absolute;
	font-size: 100px;
	top: -30px;
	left: 0;
	right: 0;
	text-align: center;
}
.about-1 .fun-facts-card h2 {
	margin-bottom: 0;
	position: relative;
	color: var(--blackColor);
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 700;
	margin-left: 0;
	font-family: var(--fontFamily);
}
.about-1 .fun-facts-card h2 sup { font-weight: 500; position: relative; top: -12px; }
.about-1 .fun-facts-card p {
	color: var(--blackColor);
	margin-bottom: 0;
	margin-top: 4px;
}

/* Переопределение стилей плагинов (.entry-content, [data-heading-tag]) и WP — один вид как на главной */
.entry-content .about-1 .fun-facts-card {
	position: relative;
	margin-top: 30px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.entry-content .about-1 .fun-facts-card h2,
.about-1 .fun-facts-card h2[data-heading-tag] {
	margin: 0;
	margin-bottom: 0;
	position: relative;
	color: var(--blackColor);
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 700;
	font-family: var(--fontFamily);
	display: inline-block;
}
.entry-content .about-1 .fun-facts-card h2 sup,
.about-1 .fun-facts-card h2[data-heading-tag] sup {
	font-weight: 500;
	position: relative;
	top: -12px;
}
.entry-content .about-1 .fun-facts-card p,
.about-1 .fun-facts-card p[data-heading-tag] {
	color: var(--blackColor);
	margin: 4px 0 0 0;
	padding: 0;
}

@media (max-width: 991px) {
	.main-banner-img img { right: 0; }
	.about-1 .about-img-area { margin-left: 0; }
}
@media (max-width: 767px) {
	.main-banner .main-banner-img { display: none; }
	/* Одинаковое расстояние между блоками: единый зазор 32px */
	.main-banner-bg { padding-top: 32px; padding-bottom: 16px; }
	.ptb-100 { padding-top: 16px; padding-bottom: 16px; }
	.about.ptb-100 { padding-bottom: 32px; }
	.main-banner .banner-text-area p { margin-bottom: 32px; }
	.about-1 .about-img-area .about-img-2 img { display: none; }
	.about-1 .about-img-area .about-img-2 {
		min-width: 120px;
		min-height: 120px;
	}
	/* Фото о компании на всю ширину по центру, кнопка видео на месте */
	.about-1 .about-img-area {
		position: relative;
		width: 100vw;
		max-width: 100%;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}
	.entry-content .about-1 .about-img-area {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.about-1 .about-img-area .about-img-1 {
		width: 100%;
		text-align: center;
	}
	.about-1 .about-img-area .about-img-1 img {
		width: 100%;
		max-width: 100%;
		transform: none;
		object-fit: cover;
	}
	.main-banner .banner-text-area {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	.main-banner .banner-text-area h6 {
		padding-left: 45px;
	}
	.main-banner .banner-text-area h6::before {
		left: 0;
		margin-left: 0;
	}
	.main-banner .banner-text-area p {
		margin-left: auto;
		margin-right: auto;
	}
	.main-banner .banner-text-area .default-button {
		display: inline-block;
	}
	.banner-text-area h1 { font-size: 28px; }
	.default-section-title h3 { font-size: 24px; }
	.about-1 .fun-facts-card h2 { font-size: 28px; }
	/* О нас: по центру, оранжевая черточка перед текстом */
	.about-1 .about-text-area .default-section-title { text-align: center; }
	.about-1 .about-text-area .default-section-title h6 { padding-left: 45px; }
	.about-1 .about-text-area .default-section-title h6::before { left: 0; }
	/* Бренды: по центру на мобильной */
	.home-brands .default-section-title { text-align: center; }
	.home-brands .default-section-title h6 { padding-left: 45px; }
	.home-brands .default-section-title h6::before { left: 0; }
	.home-brands .default-section-title p { margin-left: auto; margin-right: auto; }
	/* Услуги: по центру на мобильной */
	.home-services .default-section-title { text-align: center; }
}

/* ——— Главная: Бренды ноутбуков (сетка 4×4) ——— */
.home-brands .default-section-title { text-align: center; }
.home-brands .default-section-title h6 { padding-left: 45px; }
.home-brands .default-section-title h6::before { left: 0; }
.home-brands .default-section-title p { margin-left: auto; margin-right: auto; max-width: 650px; margin-bottom: 28px; }
.home-brands .default-section-title h3 { margin-bottom: 30px; }
.brands-grid { margin-bottom: 0; }
.brands-grid-col { margin-bottom: 30px; }
.brand-card {
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--blackColor);
	transition: var(--transition);
}
.brand-card:hover { color: var(--mainColor); }
.brand-card-img {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: 8px;
	background: #f5f5f5;
}
.brand-card-img img {
	max-width: 100%;
	height: auto;
	max-height: 100px;
	object-fit: contain;
}
.brand-card-placeholder {
	font-size: 14px;
	color: var(--paragraphColor);
	padding: 15px;
}
.brand-card-name {
	font-weight: 600;
	font-size: 15px;
	font-family: var(--fontFamily);
}
.brands-more-wrap {
	text-align: center;
	margin-top: 20px;
}

/* ——— Модуль: Бренды ноутбуков (слайдер) ——— */
.brands-slider-module {
	--brands-slider-gap: 20px;
}
.brands-slider-shell {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 30px;
}
.brands-slider-viewport {
	overflow: hidden;
	flex: 1;
}
.brands-slider-track {
	display: flex;
	gap: var(--brands-slider-gap);
	will-change: transform;
	transition: transform 0.6s ease;
}
.brands-slider-item {
	flex: 0 0 calc((100% - 5 * var(--brands-slider-gap)) / 6);
}
.brand-card--slider {
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	border: 1px solid rgba(46,47,70,0.06);
	background: #ffffff;
	padding: 16px 12px;
}
.brand-card--slider .brand-card-img {
	min-height: 90px;
	margin-bottom: 10px;
}
.brand-card--slider .brand-card-img img {
	max-height: 70px;
}
.brand-card--slider .brand-card-name {
	font-size: 14px;
}
.brands-slider-nav {
	border: none;
	background: #f1f1f5;
	color: var(--secondColor);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.brands-slider-nav:hover {
	background: var(--mainColor);
	color: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ——— Модуль «Почему мы» — 4 карточки, иконка в круге сверху ——— */
.why-us-module .default-section-title { text-align: center; }
.why-us-module .default-section-title h6 { padding-left: 45px; }
.why-us-module .default-section-title h6::before { left: 0; }
.why-us-module .default-section-title p { margin-left: auto; margin-right: auto; max-width: 650px; margin-bottom: 28px; }
.why-us-module .default-section-title h3 { margin-bottom: 36px; }
.why-us-cards { margin-top: 24px; }
.why-us-col { margin-bottom: 32px; }
.why-us-card {
	background: var(--whiteColor);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	border: 1px solid rgba(46,47,70,0.08);
	padding: 32px 20px 24px;
	text-align: center;
	height: 100%;
	position: relative;
}
.why-us-card-icon-wrap {
	position: relative;
	margin-bottom: 16px;
}
.why-us-card-icon {
	width: 112px;
	height: 112px;
	margin: 0 auto;
	border-radius: 50%;
	background: var(--whiteColor);
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	border: 1px solid rgba(46,47,70,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: -26px;
	margin-top: -26px;
}
.why-us-card-icon--svg svg {
	width: 56px;
	height: 56px;
	fill: var(--secondColor);
	opacity: 0.9;
}
.why-us-card-icon--fa {
	color: var(--secondColor);
	font-size: 48px;
}
.why-us-card-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--paragraphColor);
	font-family: var(--fontFamily2);
}

@media (max-width: 767px) {
	.why-us-col { margin-bottom: 24px; }
	.why-us-card { padding: 28px 14px 20px; }
	.why-us-card-icon { width: 96px; height: 96px; top: -18px; margin-top: -18px; font-size: 40px; }
	.why-us-card-icon--svg svg { width: 48px; height: 48px; }
	.why-us-card-text { font-size: 14px; }
}

@media (max-width: 767px) {
	.brands-slider-module {
		--brands-slider-gap: 10px;
	}
	.brands-slider-shell {
		gap: 10px;
	}
	.brands-slider-item {
		flex: 0 0 100%;
	}
}

@media (max-width: 767px) {
	.home-brands .brands-grid-col {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.home-brands .brands-grid-col .brand-card-img { min-height: 90px; }
	.home-brands .brands-grid-col .brand-card-img img { max-height: 70px; }
	.home-brands .brands-grid-col .brand-card-name { font-size: 13px; }
}

/* ——— Модуль «Контакты» ——— */
.contacts-module .default-section-title { text-align: center; }
.contacts-module .default-section-title h6 { padding-left: 45px; }
.contacts-module .default-section-title h6::before { left: 0; }
.contacts-module .default-section-title p { margin-left: auto; margin-right: auto; max-width: 650px; margin-bottom: 28px; }
.contacts-module .default-section-title h3 { margin-bottom: 32px; }
.contacts-row { margin-top: 24px; align-items: flex-start; }
.contacts-col-left { margin-bottom: 24px; }
.contacts-block { background: rgba(46,47,70,0.03); border-radius: 12px; padding: 28px 24px; border: 1px solid rgba(46,47,70,0.08); }
.contacts-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; font-size: 15px; color: var(--blackColor); }
.contacts-item:last-of-type { margin-bottom: 0; }
.contacts-item-icon { color: var(--mainColor); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.contacts-item-text { line-height: 1.5; }
.contacts-item a { color: inherit; }
.contacts-item a:hover { color: var(--mainColor); }
.contacts-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(46,47,70,0.08); }
.contacts-social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--secondColor); color: var(--whiteColor); transition: background 0.2s, transform 0.2s; }
.contacts-social-link:hover { background: var(--mainColor); color: var(--whiteColor); transform: scale(1.05); }
.contacts-social-icon { font-size: 20px; }
.contacts-social-icon--svg { display: flex; align-items: center; justify-content: center; }
.contacts-social-icon--svg svg { width: 22px; height: 22px; fill: currentColor; }
.contacts-form-wrap { background: #fff; border-radius: 12px; padding: 28px 24px; border: 1px solid rgba(46,47,70,0.08); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.contacts-form .form-control { width: 100%; padding: 12px 16px; border: 1px solid rgba(46,47,70,0.15); border-radius: 8px; font-size: 15px; font-family: var(--fontFamily2); margin-bottom: 14px; transition: border-color 0.2s; }
.contacts-form .form-control:focus { outline: none; border-color: var(--mainColor); }
.contacts-form textarea.form-control { min-height: 100px; resize: vertical; }
.contacts-form-submit { margin-top: 6px; }
.contacts-form-message { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.contacts-form-message--success { background: rgba(40,167,69,0.12); color: #155724; }
.contacts-form-message--error { background: rgba(220,53,69,0.12); color: #721c24; }
.contacts-map-wrap { margin-top: 36px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(46,47,70,0.08); }
.contacts-map-wrap iframe { display: block; width: 100%; height: 400px; border: none; }

@media (min-width: 992px) {
	.contacts-module .contacts-row.row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
	.contacts-module .contacts-col-left { flex: 0 0 41.666667%; max-width: 41.666667%; padding-left: 15px; padding-right: 15px; margin-bottom: 0; }
	.contacts-module .contacts-col-right { flex: 0 0 58.333333%; max-width: 58.333333%; padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 991px) {
	.contacts-col-right { margin-top: 0; }
}
@media (max-width: 767px) {
	.contacts-col-left { margin-bottom: 24px; }
	.contacts-col-right { margin-top: 0; }
	.contacts-map-wrap iframe { height: 300px; }
}

/* ——— Блок Доверия: Как проходят работы ——— */
.trust-block { position: relative; overflow: hidden; }
.entry-content .trust-block.trust-steps {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 100vw;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}
.entry-content .trust-block.trust-steps .trust-inner .container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.trust-block .trust-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100%; height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}
.trust-block .trust-inner { position: relative; z-index: 1; }
.trust-block .default-section-title { text-align: center; }
.trust-block .default-section-title h6 { padding-left: 45px; }
.trust-block .default-section-title h6::before { left: 0; }
.trust-block .default-section-title p { margin-left: auto; margin-right: auto; max-width: 650px; margin-bottom: 28px; }
.trust-block .default-section-title h3 { margin-bottom: 30px; }

.trust-steps-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	margin-top: 40px;
	gap: 0;
}
.trust-step {
	flex: 0 0 auto;
	max-width: calc(16.666% - 20px);
	min-width: 140px;
}
.trust-step-card {
	background: var(--whiteColor);
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 12px;
	padding: 24px 16px;
	text-align: center;
	height: 100%;
	transition: 0.3s ease;
}
.trust-step-highlight .trust-step-card {
	background: rgba(255, 102, 19, 0.1);
	border-color: rgba(255, 102, 19, 0.4);
}
.trust-step-icon {
	width: 112px;
	height: 112px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	color: var(--mainColor);
}
.trust-step-icon svg { width: 64px; height: 64px; fill: currentColor; }
.trust-step-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--blackColor);
}
.trust-step-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	color: rgba(0,0,0,0.2);
	font-size: 18px;
	flex-shrink: 0;
}
@media (max-width: 1199px) {
	.trust-step { max-width: calc(25% - 16px); min-width: 120px; }
}
@media (max-width: 991px) {
	.trust-steps-flow { flex-wrap: wrap; justify-content: center; }
	.trust-step { max-width: calc(50% - 12px); min-width: 140px; margin-bottom: 20px; }
	.trust-step-arrow { width: 100%; padding: 0 0 10px; transform: rotate(90deg); }
}
@media (max-width: 575px) {
	.trust-step { max-width: 100%; min-width: 0; }
}

/* ——— Главная: Оставить заявку на диагностику (между Услуги и Отзывы) ——— */
.booking.booking-1 {
	overflow-x: hidden;
	padding-top: 0;
	padding-bottom: 0;
	overflow: visible;
}
.booking.booking-1 .container { position: relative; z-index: 2; }
.booking-content {
	background-color: var(--whiteColor);
	box-shadow: var(--boxShadow, 0 5px 25px rgba(0,0,0,0.1));
	text-align: center;
	position: relative;
	border-radius: 25px;
	padding: 40px 50px 50px;
	margin-top: -80px;
	margin-bottom: -50px;
	width: calc(100% + 80px);
	margin-left: -40px;
	margin-right: -40px;
	max-width: none;
}
.booking-content .default-section-title h3 { margin-bottom: 0; }
.booking-content .section-content { margin-top: 25px; }
.booking-content .booking-form-content { margin-top: 20px; border-radius: 25px; }
.booking-content .booking-form-content .form-control {
	padding: 15px;
	border-radius: 25px;
	background-color: #f9fafb;
	border: 1px solid #eee;
	color: var(--blackColor);
	font-size: var(--fontSize);
	font-family: var(--fontFamily2);
	width: 100%;
}
.booking-content .booking-form-content .default-button {
	display: block;
	width: 100%;
	padding: 15px;
}
/* Кнопка «Отправить» по центру блока */
.booking-content .form_lead .row > .col-lg-6:nth-child(3) {
	flex: 0 0 100%;
	max-width: 100%;
	text-align: center;
}
.booking-content .form_lead .row > .col-lg-6:nth-child(3) .default-button {
	display: inline-block;
	width: auto;
	min-width: 180px;
	padding: 15px 35px;
}
.booking-content .output_message { margin-top: 15px; width: 100%; }
@media (max-width: 991px) {
	.booking-content {
		width: calc(100% + 30px);
		margin-left: -15px;
		margin-right: -15px;
		margin-top: -80px;
		margin-bottom: -60px;
	}
}
@media (max-width: 575px) {
	.booking-content {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-top: -40px;
		margin-bottom: -40px;
		padding: 30px 20px 40px;
	}
}

/* ——— Главная: Услуги по ремонту (табы + сетка 4×5) ——— */
.home-services-tabs {
	overflow-x: hidden;
	max-width: 100%;
}
.home-services-tabs .services-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 30px;
	max-width: 100%;
}
.services-tab-btn {
	display: inline-block;
	padding: 12px 20px;
	font-family: var(--fontFamily);
	font-size: 14px;
	font-weight: 600;
	color: var(--secondColor);
	background: var(--whiteColor);
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 8px;
	cursor: pointer;
	transition: var(--transition);
	min-width: 0;
	white-space: normal;
	text-align: center;
}
.services-tab-btn:hover {
	color: var(--mainColor);
	border-color: var(--mainColor);
	background: rgba(255, 99, 14, 0.06);
}
.services-tab-btn.active {
	color: var(--whiteColor);
	background: var(--mainColor);
	border-color: var(--mainColor);
}
.services-tab-panels { position: relative; overflow-x: hidden; max-width: 100%; }
.services-tab-panel {
	display: none;
	max-width: 100%;
}
.services-tab-panel.active {
	display: block;
}
.home-services-tabs .home-services-inner.ptb-100 { padding-top: 0; }
.home-services-tabs .services-tab-panel:not(:first-child) .home-services.ptb-100 { padding-top: 0; }

.home-services .default-section-title { text-align: center; }
.home-services .default-section-title h6 { padding-left: 45px; }
.home-services .default-section-title h6::before { left: 0; }
.home-services .default-section-title p { margin-left: auto; margin-right: auto; max-width: 650px; margin-bottom: 28px; }
.home-services .default-section-title h3 { margin-bottom: 30px; }
.services-grid { margin-bottom: 20px; }
.services-grid-col { margin-bottom: 30px; }
.service-card {
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--blackColor);
	padding: 25px 15px;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 12px;
	transition: var(--transition);
	height: 100%;
	background: var(--whiteColor);
}
.service-card:hover {
	background: rgba(13, 110, 253, 0.06);
	border-color: rgba(13, 110, 253, 0.2);
	color: var(--blackColor);
}
.service-card-icon {
	font-size: 42px;
	color: #1a365d;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
}
.service-card-icon svg {
	width: 48px;
	height: 48px;
	fill: currentColor;
}
.service-card:hover .service-card-icon { color: var(--mainColor); }
.service-card-name {
	font-weight: 600;
	font-size: 14px;
	font-family: var(--fontFamily);
	line-height: 1.35;
}
.services-more-wrap {
	text-align: center;
	margin-top: 20px;
}

/* ——— Главная: Отзывы (3 карточки, как в index.html) ——— */
.testimonial { position: relative; overflow: hidden; }
.entry-content .testimonial {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 100vw;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}
.entry-content .testimonial .testimonial-inner .container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.testimonial .testimonial-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}
.testimonial .testimonial-inner { position: relative; z-index: 1; }
.testimonial .default-section-title { text-align: center; margin-top: 20px; margin-bottom: 30px; }
.testimonial .default-section-title h6 { padding-left: 45px; }
.testimonial .default-section-title h6::before { left: 0; }
.testimonial .section-content { margin-top: 40px; }
.stars ul { margin: 0; padding: 0; list-style: none; }
.stars ul li { display: inline-block; }
.stars ul li i { color: #ffd31d; cursor: pointer; }
.testimonial-card {
	padding: 30px;
	border-radius: 25px;
	margin-top: 30px;
	background-color: #f9fafb;
	box-shadow: var(--boxShadow, 0 5px 20px rgba(0,0,0,0.08));
	position: relative;
	transition: 0.5s ease;
}
.testimonial-card .stars { margin-bottom: 15px; }
.testimonial-card .stars span { margin: 0 5px; color: var(--blackColor); font-size: 14px; font-weight: 600; }
.testimonial-card > p {
	font-size: var(--fontSize, 16px);
	color: var(--blackColor);
	margin-bottom: 0;
}
.testimonial-card .testimonial-footer {
	display: flex;
	align-items: center;
	margin-top: 20px;
}
.testimonial-card .testimonial-footer img,
.testimonial-card .testimonial-footer .testimonial-footer-avatar {
	border-radius: 50%;
	margin-right: 15px;
	width: 60px;
	height: 60px;
	object-fit: cover;
}
.testimonial-card .testimonial-footer .testimonial-footer-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--secondColor, #0d6efd);
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	flex-shrink: 0;
}
.testimonial-card .testimonial-footer h4 {
	margin-bottom: 5px;
	font-size: 18px;
	font-weight: 600;
	color: var(--blackColor);
}
.testimonial-card .testimonial-footer-intro p {
	color: var(--paragraphColor, #666);
	margin-bottom: 0;
	font-size: 14px;
}
.testimonial-card:hover {
	box-shadow: var(--boxShadow, 0 5px 20px rgba(0,0,0,0.12));
	background-color: var(--whiteColor);
}

@media (max-width: 767px) {
	.home-services-tabs .services-tabs-nav {
		gap: 8px;
		margin-bottom: 20px;
	}
	.services-tab-btn {
		padding: 10px 12px;
		font-size: 11px;
		flex: 1 1 auto;
		min-width: calc(50% - 6px);
	}
	.home-services .services-grid-col {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.service-card { padding: 18px 10px; }
	.service-card-icon { font-size: 32px; min-height: 40px; }
	.service-card-icon svg { width: 40px; height: 40px; }
	.service-card-name { font-size: 12px; }
}

/* ——— Главная: FAQ (аккордеон + картинка справа, как в образце) ——— */
/* Две колонки: 1 — вопросы/ответы, 2 — картинка. Ответ раскрывается только в первой колонке. */
.faq .faq-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.faq .faq-col-left {
	flex: 0 0 50%;
	max-width: 50%;
	overflow: visible;
}
.faq .faq-col-right {
	flex: 0 0 50%;
	max-width: 50%;
}
@media (max-width: 991px) {
	.faq .faq-col-left { flex: 0 0 100%; max-width: 100%; }
	.faq .faq-col-right { flex: 0 0 100%; max-width: 100%; display: none; }
}
.faq .faq-text-area {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.faq .faq-area { width: 100%; max-width: 100%; box-sizing: border-box; }
.faq .accordion,
.faq .accordion-item,
.faq .accordion-collapse,
.faq .accordion-body {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.faq .default-section-title h6 {
	position: relative;
	padding-left: 45px;
	padding-top: 0;
	display: inline-block;
}
.faq .default-section-title h6::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 40px;
	height: 2px;
	background-color: var(--mainColor);
	margin-bottom: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.faq .default-section-title h3 {
	margin-top: 15px;
	margin-bottom: 0;
}
.faq .faq-text-area.pr-20 { padding-right: 20px; }
.faq .faq-area { margin-top: 25px; }
.faq .accordion-item {
	margin-top: 20px;
	border: 0;
}
.faq .accordion-item:first-child { margin-top: 0; }
.faq .accordion-button {
	border: 1px solid rgba(0,0,0,0.08);
	display: block;
	overflow: hidden;
	position: relative;
	padding: 15px 15px 15px 60px;
	background-color: var(--whiteColor);
	color: var(--blackColor);
	-webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	width: 100%;
	text-align: left;
	cursor: pointer;
	border-radius: 8px;
	outline: none;
}
/* Раскрытый пункт: вся кнопка тёмная, текст белый */
.faq .accordion-button:not(.collapsed) {
	background-color: var(--blackColor);
	color: var(--whiteColor);
	border-color: var(--blackColor);
	border-radius: 8px 8px 0 0;
	-webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.12);
	box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.faq .accordion-button::after { display: none; }
/* Иконка раскрытого: тёмный квадрат, белый круг с минусом */
.faq .accordion-button:not(.collapsed) span { background-color: var(--blackColor); }
.faq .accordion-button:not(.collapsed) span::before {
	content: '-';
	background-color: var(--whiteColor);
	color: var(--blackColor);
	-webkit-transform: rotateZ(180deg);
	transform: rotateZ(180deg);
	-webkit-transform-origin: center;
	transform-origin: center;
	border: none;
}
/* Свёрнутый: тёмный квадрат, белый круг с плюсом */
.faq .accordion-button.collapsed span { background-color: var(--blackColor); }
.faq .accordion-button.collapsed span::before {
	content: '+';
	background-color: var(--whiteColor);
	color: var(--blackColor);
	border: none;
}
.faq .accordion-header { position: relative; }
.faq .accordion-header span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 50px;
	height: 100%;
	min-height: 50px;
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
	background-color: var(--blackColor);
	display: -webkit-inline-flex;
	display: inline-flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
}
.faq .accordion-header span::before {
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	border-radius: 50%;
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
	-webkit-transform-origin: center;
	transform-origin: center;
	display: -webkit-inline-flex;
	display: inline-flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
}
.faq .accordion-collapse {
	border: 0;
	overflow: hidden;
}
.faq .accordion-collapse:not(.show) { display: none; }
.faq .accordion-collapse.show { display: block; }
.faq .accordion-body {
	border: 0;
	border-top: 1px solid rgba(0,0,0,0.08);
	padding: 18px 15px 18px 60px;
	line-height: 1.8;
	-webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	color: var(--paragraphColor);
	background-color: var(--whiteColor);
	border-radius: 0 0 8px 8px;
}
.faq .accordion-body p { margin-bottom: 0.75em; }
.faq .accordion-body p:last-child { margin-bottom: 0; }
.faq .faq-img-area {
	position: relative;
	border-radius: 0 25% 25% 0;
	background: linear-gradient(to bottom, #fdc9ac, #ff6613);
	overflow: hidden;
}
.faq .faq-img-area img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0 25% 25% 0;
	vertical-align: middle;
}
.faq .faq-img-placeholder {
	min-height: 320px;
	width: 100%;
	border-radius: 0 25% 25% 0;
}
@media (max-width: 991px) {
	.faq .faq-text-area.pr-20 { padding-right: 0; padding-bottom: 30px; }
	.faq .faq-img-area { margin-top: 30px; }
}

/* ——— Footer (образец: newsletter-1, footer-2, copyright) ——— */
.newsletter-content-area {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 50px 50px 40px;
	border-radius: 25px;
	position: relative;
}
.newsletter-1 { position: relative; }
.newsletter-1::before {
	content: '';
	height: 50%;
	width: 100%;
	background-color: #242325;
	position: absolute;
	bottom: 0;
	left: 0;
}
.newsletter-content-area iframe { border: 0 !important; }
.newsletter-map-wrap {
	width: 100%;
	margin-top: 16px;
	border-radius: 12px;
	overflow: hidden;
	border: 5px solid rgba(46, 47, 70, 0.12);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.newsletter-map-wrap iframe { display: block; border: none !important; }
.dg-widget-link { display: inline-block; margin-right: 1em; margin-bottom: 0.5em; }
.dg-widget-link a { color: var(--mainColor); text-decoration: none; }
.dg-widget-link a:hover { text-decoration: underline; }

.ptb-100 { padding-top: 100px; padding-bottom: 100px; }
.bg-000000 { background-color: #242325; }

.footer-logo-area p { margin-top: 20px; }
.footer-logo-area {
	text-align: center;
}
.footer-logo-area > a { display: inline-block; }
.footer-logo-area .footer-social-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 25px;
}
.footer-logo-area .footer-social-icons span {
	margin-right: 10px;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--fontFamily2);
}
.footer-logo-area .footer-social-icons ul { margin: 0; padding: 0; list-style: none; }
.footer-logo-area .footer-social-icons ul li { display: inline-block; }
.footer-logo-area .footer-social-icons ul li a {
	width: 30px;
	height: 30px;
	font-size: 15px;
	margin-left: 3px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--whiteColor);
	box-shadow: var(--boxShadow);
	border: 1px solid rgba(0,0,0,0.06);
}
.footer-logo-area .footer-social-icons ul li a i { color: inherit; }
.footer-logo-area .footer-social-icons .fa-whatsapp { color: #25D366; }
.footer-logo-area .footer-social-icons .fa-telegram-plane { color: #0088cc; }
.footer-logo-area .footer-social-icons .fa-instagram { color: #e4405f; }
.footer-logo-area .footer-social-icons ul li a:hover {
	color: var(--fix-whiteColor) !important;
	background-color: var(--mainColor);
}
.footer-logo-area .footer-social-icons ul li a:hover i { color: inherit !important; }
.footer-logo-area a img { max-height: 60px; width: auto; display: block; margin-left: auto; margin-right: auto; }
.footer-logo-area .footer-logo-text { color: #fff; font-size: 1.25rem; font-weight: 600; }

.footer-links h3 {
	padding-bottom: 10px;
	margin-bottom: 30px;
	position: relative;
	font-size: 22px;
}
.footer-links h3::before {
	content: '';
	height: 2px;
	width: 20%;
	background-color: var(--mainColor);
	position: absolute;
	left: 0;
	bottom: 0;
}
.footer-contact-list { padding-left: 20px; }
.footer-quick-links { padding-left: 60px; }
.footer-content-card {
	position: relative;
	padding-left: 30px;
	margin-top: 15px;
}
.footer-content-card i {
	width: 20px;
	font-size: 18px;
	text-align: center;
	color: var(--mainColor);
	position: absolute;
	left: 0;
	top: 1px;
}
.footer-content-card h5 { margin-bottom: 5px; font-size: 15px; font-weight: 600; }
.footer-content-card p { font-size: 14px; }
.footer-content-card p a { color: var(--paragraphColor); }
.footer-quick-links ul { margin: 0; padding: 0; list-style: none; }
.footer-quick-links ul li { margin-top: 14px; }
.footer-quick-links ul li:first-child { margin-top: 0; }
.footer-quick-links ul li a {
	display: inline-block;
	color: var(--paragraphColor);
	font-size: 14px;
	font-family: var(--fontFamily2);
}
.footer-quick-links ul li a i { margin-right: 5px; color: var(--mainColor); }
.footer-quick-links ul li a:hover { color: var(--mainColor); }

.footer-newsletter form .form-control {
	padding: 10px 15px;
	border-radius: 25px;
	width: 100%;
	margin-bottom: 0;
	border: 1px solid rgba(0,0,0,0.12);
	background: var(--whiteColor);
	color: var(--blackColor);
}
.footer-newsletter form .form-control::placeholder { color: #999; }
.footer-newsletter form .default-button { width: 100%; margin-top: 15px; }
.footer-newsletter__text { text-align: center; }
.footer-newsletter__message { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.footer-newsletter__message--success { background: rgba(40,167,69,0.2); color: #d4edda; }
.footer-newsletter__message--error { background: rgba(220,53,69,0.2); color: #f8d7da; }

.footer-2 .footer-logo-area p { color: #eee; }
.footer-2 .footer-logo-area .footer-social-icons span { color: #eee; }
.footer-2 .footer-links h3 { color: var(--fix-whiteColor); }
.footer-2 .footer-content-card h5 { color: #eee; }
.footer-2 .footer-content-card p a { color: var(--fix-whiteColor); }
.footer-2 .footer-content-card p a:hover { color: var(--mainColor); }
.footer-2 .footer-quick-links ul li a { color: var(--fix-whiteColor); }
.footer-2 .footer-quick-links ul li a:hover { color: var(--mainColor); }
.footer-2 .footer-newsletter p { color: #eee; }

.copyright {
	text-align: center;
	color: var(--whiteColor);
	position: relative;
	padding-top: 0;
	padding-bottom: 20px;
}
.copyright .container { border-top: 1px solid rgba(255,255,255,0.12); }
.copyright p {
	color: var(--fix-whiteColor);
	padding-top: 20px;
	font-size: 15px;
	margin: 0;
}
.copyright p a {
	font-weight: 600;
	text-decoration: none;
	color: var(--mainColor);
}
.copyright p a:hover { color: var(--mainColor); text-decoration: underline; }
.copyright p strong { color: var(--mainColor); }

@media (max-width: 991px) {
	.footer-quick-links { padding-left: 20px; }
}
@media (max-width: 767px) {
	.footer-logo-area .footer-social-icons { flex-wrap: wrap; }
	/* Отступы футера на мобильной */
	.newsletter-content-area { padding: 30px 20px 25px; border-radius: 15px; }
	.footer.footer-2.ptb-100 { padding-top: 40px; padding-bottom: 40px; }
	.footer .row > [class*="col-"] { margin-bottom: 2rem; }
	.footer .row > [class*="col-"]:last-child { margin-bottom: 0; }
	.footer-links h3 { margin-bottom: 20px; font-size: 18px; }
	.footer-contact-list { padding-left: 0; }
	.footer-quick-links { padding-left: 0; }
	.copyright { padding-bottom: 24px; }
	.copyright p { padding-top: 16px; font-size: 14px; }

	/* Мобильная нижняя панель (4 кнопки) — фиксирована внизу экрана */
	.site { padding-bottom: 72px; }
	.mobile-footer-bar {
		display: flex;
		align-items: stretch;
		justify-content: space-around;
		position: fixed;
		bottom: 10px;
		left: 10px;
		right: 10px;
		z-index: 9999;
		background: var(--whiteColor);
		box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
		border-radius: 30px;
		padding: 5px 5px calc(5px + env(safe-area-inset-bottom, 0)) 5px;
	}
	.mobile-footer-bar__item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 5px 4px;
		text-decoration: none;
		color: var(--blackColor);
		font-size: 11px;
		font-weight: 500;
		transition: color 0.2s, background 0.2s;
	}
	.mobile-footer-bar__item:hover,
	.mobile-footer-bar__item:focus { color: var(--mainColor); }
	.mobile-footer-bar__item:hover .mobile-footer-bar__icon,
	.mobile-footer-bar__item:focus .mobile-footer-bar__icon { color: var(--mainColor); }
	.mobile-footer-bar__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		margin-bottom: 4px;
	}
	.mobile-footer-bar__icon svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; }
	.mobile-footer-bar__icon-placeholder {
		width: 24px;
		height: 24px;
		border-radius: 50%;
		background: rgba(0,0,0,0.12);
	}
	.mobile-footer-bar__label { line-height: 1.2; text-align: center; }
}
@media (min-width: 768px) {
	.mobile-footer-bar { display: none; }
}

/* Прайс-лист (шорткод) — таблица на всю ширину, цвета темы */
.alfaservice-pricelist-wrap {
	width: 100%;
	max-width: 100%;
	margin: 1.5rem 0;
}
.alfaservice-pricelist-date {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: var(--paragraphColor);
}
.alfaservice-pricelist-info-icon {
	flex-shrink: 0;
	color: var(--secondColor);
}
.alfaservice-pricelist-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.alfaservice-pricelist-table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-family: var(--fontFamily2);
	font-size: var(--fontSize);
}
.alfaservice-pricelist-table thead th {
	background: var(--secondColor);
	color: var(--whiteColor);
	text-align: left;
	padding: 14px 16px;
	font-weight: 600;
	border: none;
}
.alfaservice-pricelist-table .th-service { border-radius: 4px 0 0 0; }
.alfaservice-pricelist-table .th-price { text-align: center; }
.alfaservice-pricelist-table .th-time { text-align: right; border-radius: 0 4px 0 0; }
.alfaservice-pricelist-table tbody tr {
	border-bottom: 1px solid rgba(0,0,0,0.08);
}
.alfaservice-pricelist-table tbody tr:nth-child(even) {
	background: rgba(46,47,70,0.02);
}
.alfaservice-pricelist-table tbody tr:nth-child(odd) {
	background: var(--whiteColor);
}
.alfaservice-pricelist-table tbody tr:hover {
	background: rgba(255,99,14,0.05);
}
.alfaservice-pricelist-table .td-icon,
.alfaservice-pricelist-table .td-name,
.alfaservice-pricelist-table .td-cost,
.alfaservice-pricelist-table .td-time {
	padding: 14px 16px;
	vertical-align: middle;
}
.alfaservice-pricelist-table .td-icon {
	width: 48px;
	text-align: center;
}
.alfaservice-pricelist-table .td-icon svg {
	width: 28px;
	height: 28px;
	display: inline-block;
	vertical-align: middle;
	fill: var(--secondColor);
}
.alfaservice-pricelist-table .td-name { color: var(--blackColor); }
.alfaservice-pricelist-table .td-cost { text-align: center; }
.alfaservice-pricelist-table .td-time { text-align: right; }
.pricelist-cost-free {
	display: inline-block;
	background: var(--mainColor);
	color: var(--whiteColor);
	padding: 6px 12px;
	border-radius: 4px;
	font-weight: 600;
}
.pricelist-time-cell {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-content: flex-end;
}
.pricelist-clock-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
.pricelist-icon-placeholder {
	display: inline-block;
	width: 28px;
	height: 28px;
	background: rgba(46, 47, 70, 0.15);
	border-radius: 4px;
}
