:root {
	--link-color: #030625;
	--link-hover-color: #FF8C42;
	--font-size: 18px;
	--text-color: #002F6C;

	--slider-font-size: 48px;
	--slider-font-weight: 900;
	--slider-text-color: white;

	--button-primary-background: #FF8C42;
	--button-primary-hover-background: #FF7821;
	--button-font-size: 16px;
	--button-text-color: white;
	--button-radius: 50px;

	--item-background: #DEEDFF;
	--item-title-font-size: 24px;
	--item-title-text-color: #002F6C;
	--item-content-font-size: 16px;
	--item-content-text-color: #002F6C;

	--section-title-font-size: 44px;
	--section-title-font-weight: 900;
	--section-title-color: #FF8C42;
}

* { box-sizing: border-box; }

/* === ИСПРАВЛЕНО: ДОБАВЛЕН ОТСТУП ДЛЯ ФИКСИРОВАННОЙ ШАПКИ === */
body {
	font-family: 'Montserrat', sans-serif;
	background-color: #F7F8FF;
	padding-top: 115px; /* Высота шапки на мобильных */
}

a { color: var(--link-color); text-decoration: none; }
a:hover { color: var(--link-hover-color); }
p { color: var(--text-color); }

/* */

.container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 60px;
}

/* FIX: правильные селекторы (у вас было .container .block_x .container — почти не срабатывало) */
.block_short .container { padding-left: 0; padding-right: 0; }
.block_contacts .container { padding-left: 0; padding-right: 0; }
.block_services .container { padding-left: 0; padding-right: 0; }
.block_about .container { padding-left: 0; padding-right: 0; }
.block_consult .container { padding-left: 0; padding-right: 0; }
.block_map .container { padding-left: 0; padding-right: 0; }

.flex { display: flex; }
.flex_1 { flex: 1; }
.flex_column { flex-direction: column; }
.align_center { align-items: center; }
.justify_center { justify-content: center; }
.justify_between { justify-content: space-between; }

/* */
.w_content h1 {
	font-size: var(--section-title-font-size);
	font-weight: var(--section-title-font-weight);
	color: var(--section-title-color);
	text-transform: uppercase;
	margin-bottom: 40px;
}
.w_content p:not(.font_700) {
	font-size: var(--font-size);
	line-height: 30px;
	margin-bottom: 25px;
	color: var(--text-color);
}

/* SLICK */
.slick-arrow {
	width: 60px;
	height: 100%;
	background: #F7F8FF;
	border: none;
	position: absolute;
	top: 0;
	left: -20px;
	cursor: pointer;
	z-index: 999;
	font-size: 1px;
}
.slick-arrow:before {
	content: '';
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: block;
	position: absolute;
	top: 50%;
	margin-top: -30px;
	left: 0;
	background: #002F6C url('../images/icon_slick_left.svg') 50% no-repeat;
}
.slick-arrow.slick-next { left: auto; right: -20px; }
.slick-arrow.slick-next:before {
	left: auto;
	right: 0;
	background: #002F6C url('../images/icon_slick_right.svg') 50% no-repeat;
}
.gallery_item {
	height: 375px;
	margin: 0 14px;
	overflow: hidden;
	border-radius: 50px;
	display: flex !important;
	align-items: center;
	justify-content: center;
}
.gallery_item_a {
	height: 375px;
	width: 100%;
	display: block;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	border-radius: 50px !important;
}
.gallery_item_a img { object-fit: cover !important; }

/* */
.block_blue .item {
	background: linear-gradient(307.98deg, #002F6C 2.29%, #0062E0 97.3%);
	padding: 0;
}
.blue_left { padding: 40px 33px; width: 70%; }
.blue_right { flex: 1; }
.blue_title {
	font-size: 32px;
	color: white;
	text-transform: uppercase;
	margin-bottom: 30px !important;
	display: block;
}
.blue_content { color: white; font-size: 18px; line-height: 28px; }
.blue_content p { font-size: 18px; line-height: 28px; }

/* FIX: чтобы заголовки/блоки не были «узкими» и не казались сдвинутыми */
.wp-block-heading { width: 100%; line-height: 52px; }

/* */
.bbg { position: absolute; top: -85px; left: -15px; }
.bbg img { object-fit: cover; }

body.home .section_title h2 { font-size: var(--section-title-font-size) !important; }
body:not(.home) .section_title h2 {
	width: 80%;
	font-size: 40px !important;
	line-height: 48px !important;
}

/* */
.w_150 { width: 150px; }
.h_250 { height: 250px; }
.h_275 { min-height: 275px; overflow: hidden; }
.h_275 img { object-fit: cover; }

/* */
.p_0 { padding: 0 !important; }
.p_20 { padding: 20px !important; }
.pt_0 { padding-top: 0 !important; }
.pt_10 { padding-top: 10px !important; }
.pt_20 { padding-top: 20px !important; }
.pt_40 { padding-top: 40px !important; }
.pb_0 { padding-bottom: 0 !important; }
.pb_10 { padding-bottom: 10px !important; }
.pb_20 { padding-bottom: 20px !important; }
.pb_40 { padding-bottom: 40px !important; }
.pl_0 { padding-left: 0 !important; }
.pr_0 { padding-right: 0 !important; }
.m_0 { margin: 0 !important; }
.mt_0 { margin-top: 0 !important; }
.mt_20 { margin-top: 20px !important; }
.mr_10 { margin-right: 10px; }
.mr_20 { margin-right: 20px; }
.mb_0 { margin-bottom: 0 !important; }
.mb_10 { margin-bottom: 10px !important; }
.mb_20 { margin-bottom: 20px !important; }
.mb_30 { margin-bottom: 30px; }
.mb_80 { margin-bottom: 80px !important; }

.text_center { text-align: center; }
.text_orange, .text_orange * { color: var(--link-hover-color) !important; }
.color_white { color: white !important; }

.font_size_14 { font-size: 14px !important; line-height: 14px !important; }
.font_size_18 { font-size: 18px !important; line-height: 28px; }
.font_size_20 { font-size: 20px !important; line-height: 30px; }
.font_size_24 { font-size: 24px !important; line-height: 34px; }
.font_size_32 { font-size: 32px !important; line-height: 42px; }

.font_400 { font-weight: 400 !important; }
.font_600 { font-weight: 600; }
.font_700 { font-weight: 700; }
.font_900 { font-weight: 900; }

.underline { text-decoration: underline !important; }

/* BUTTONS */
.button {
	display: inline-flex;
	background-color: var(--button-primary-background);
	font-size: var(--button-font-size);
	color: var(--button-text-color);
	text-decoration: none;
	padding: 20px 40px;
	border-radius: var(--button-radius);
}
.button:hover {
	background-color: var(--button-primary-hover-background);
	color: var(--button-text-color);
}

/* ICONS */
.icon {
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-size: 40px;
	background-position: 0 50%;
	background-color: inherit;
	display: inline-flex;
}
.icon.icon_check { background-image: url('../images/icon_check.svg'); }

.icon_social {
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-size: 20px;
	background-position: 0 50%;
	background-color: inherit;
	display: inline-flex;
	border-radius: 50%;
}
.icon_social.icon_telegram { background-image: url('../images/icon_social_telegram.svg'); }
.icon_social.icon_whatsapp { background-image: url('../images/icon_social_whatsapp.svg'); }
.icon_social.icon_vk { background-image: url('../images/icon_social_vk.svg'); }

/* LOGO */
.logo_container h4 {
	font-size: 48px;
	font-weight: 900;
	color: #002F6C;
}

/* HEADER — ИСПРАВЛЕНО НА FIXED */
header.main_header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #F7F8FF;
	box-shadow: none;
}
header .contacts p, header .contacts a {
	font-size: var(--font-size);
	text-decoration: none;
}
header .contacts li { padding-left: 20px; }
header .contacts li:first-child { padding-left: 0; }

/* =========================================================
   FIX: Overlay для мобильного меню + блокировка прокрутки
   (чтобы не было "серого экрана без меню")
   ========================================================= */
#mobile_menu_overlay{
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.28);
	z-index: 998; /* ниже меню */
}
body.menu-open #mobile_menu_overlay{ display: block; }
body.menu-open{ overflow: hidden; }

/* NAV */
.menu_container.flex ul {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.menu_container.flex ul li {
	cursor: pointer;
	padding: 0 25px;
	position: relative;
}
.menu_container.flex ul li > a { padding: 45px 25px; }
.menu_container.flex ul li.menu-item-has-children > a {
	background-image: url('../images/icon_children.svg');
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: 11px auto;
}
.menu_container.flex ul li.menu-item-has-children:hover ul { display: flex; }
.menu_container.flex ul li.menu-item-has-children:hover > a {
	color: var(--link-hover-color);
	background-image: url('../images/icon_children_hover.svg');
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: 11px auto;
}
.menu_container.flex ul li ul {
	display: none;
	width: 350px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	position: absolute;
	top: 90px;
	left: 35px;
	background: white;
	border-radius: 12px;
	z-index: 9999;
}
.menu_container.flex ul li ul li { padding: 15px; }
.menu_container.flex ul li ul li a { font-size: 16px; padding: 0; }
.menu_container.flex ul li a {
	display: inline-flex;
	padding: 45px 25px;
	text-decoration: none;
	font-size: var(--font-size);
}

/* SLIDER — ИСПРАВЛЕНО */
.slider {
	position: relative;
	background-color: #333;
	display: flex;
	padding: 0 !important;
	min-height: 70vh; /* <<< КЛЮЧЕВОЕ ИЗМЕНЕНИЕ: задаём минимальную высоту */
}
.slider .slides {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.slider .slide {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	padding: 100px 0;
}
.slide_title {
	font-size: var(--slider-font-size);
	line-height: 58px;
	font-weight: var(--slider-font-weight);
	color: var(--slider-text-color);
	text-transform: uppercase;
}
.slide_content { width: 50%; padding: 25px 0; }
.slide_content p {
	font-size: var(--font-size);
	line-height: 30px;
	margin-bottom: 15px;
	color: var(--slider-text-color);
}
.slide_content p:last-child { margin-bottom: 0; }

/* SECTION */
section { padding: 80px 0; }
section.block_about { padding-top: 0; }
section.block_consult { padding-top: 0; }
section.block_contacts { padding-top: 0; }
section.block_map { padding: 0; }

/* =========================
   FIX: Заголовки строго слева (везде)
   + фикс сдвига “Преимущества”
   ========================= */
.section_title {
	display: block;
	margin-bottom: 40px;
	text-align: left !important;
	width: 100%;
}
.section_title.section_title_flex { display: flex; }

.section_title h2 {
	font-size: var(--section-title-font-size);
	font-weight: var(--section-title-font-weight);
	color: var(--section-title-color);
	text-transform: uppercase;
	text-align: left !important;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* если в шаблоне у h2 стоит class="text_center" — жёстко влево */
.section_title h2.text_center { text-align: left !important; }

/* на всякий случай — для самого блока “Преимущества” */
section.block_plus .section_title,
section.block_plus .section_title h2,
section.block_plus .section_title h2.text_center {
	text-align: left !important;
}

/* */
.section_title_after {
	display: flex;
	align-items: center;
	background: url('../images/icon_arrow_double.svg') 0% no-repeat;
	padding-left: 30px;
}
.section_title_after p { margin: 10px 0; }
.section_title_after p:first-child { font-weight: 700; }
.section_subtitle, .section_subtitle p { color: var(--section-title-color) !important; }

/* BLOCK */
.block_title { display: block; }
.block_title h3 {
	font-size: var(--section-title-font-size);
	font-weight: var(--section-title-font-weight);
	color: var(--section-title-color);
	text-transform: uppercase;
}
.block_content { padding: 25px 0; }
.block_content p {
	font-size: var(--font-size);
	line-height: 30px;
	margin-bottom: 25px;
	color: var(--text-color);
}

/* GRID */
.grid { display: grid; gap: 14px; }
.grid_2 { grid-template-columns: 1fr 1fr; }
.grid_3 { grid-template-columns: 1fr 1fr 1fr; }
.grid_4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.grid_col { position: relative; }

.item {
	position: relative;
	background-color: var(--item-background);
	padding: 40px 33px;
}
.item.item_full_height { height: 100%; }

.item.item_hover_orange:hover { background-color: #FF8C42; }
.item.item_hover_orange:hover * { color: white !important; }

.item.item_full {
	height: 100%;
	overflow: visible;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	cursor: pointer;
}
.item.item_full .item_content p { margin-bottom: 0; }
.item.item_full .item_title1 { position: absolute; bottom: 80px; left: 33px; }
.item.item_full .item_content1 { position: absolute; bottom: 30px; left: 33px; }

.item.item_nobg { background-color: inherit; }

.item.item_primary_gradient {
	background: linear-gradient(307.98deg, #002F6C 2.29%, #0062E0 97.3%);
}
.item.item_primary_gradient * { color: white !important; }

.item_radius_20 { border-radius: 20px; overflow: hidden; }
.item_radius_50 { border-radius: 50px; overflow: hidden; }

.item_image {
	width: 142px;
	height: 142px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}
.item_image.item_image_80 { width: 80px; height: 80px; }
.item_image.item_image_370 {
	width: 100%;
	height: 270px;
	background-size: auto 252px;
}
.border_radius_50p { border-radius: 50%; }

.section_image_block { height: 230px !important; width: auto; }
.section_image_block img { width: auto; height: 100%; }

.item_image.w_full {
	width: 100%;
	min-height: 275px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}
.item_image.img_140 {
	width: 140px;
	height: 140px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}
.item_image.item_image_full {
	width: 100%;
	min-height: 275px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}
.item_image.item_image_round {
	background-color: var(--item-background);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	border-radius: 50%;
}

.item_title { display: flex; margin-bottom: 20px; }

.block_services .item_title {
	background-image: url('../images/icon_arrow_right.svg');
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: 11px auto;
}
.block_services .item_full .item_title {
	background-image: url('../images/icon_arrow_right_white.svg');
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: 11px auto;
}
.block_services .item:hover .item_title {
	background-image: url('../images/icon_arrow_right_white.svg');
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: 11px auto;
}

.justify_center .item_title { display: inline-block; width: 75%; }

.item_title p, .item_title a {
	font-size: var(--item-title-font-size);
	color: var(--item-title-text-color);
	text-decoration: none;
}
.item_content p, .item_content a {
	font-size: var(--item-content-font-size);
	color: var(--item-content-text-color);
}

/* =========================
   FIX: Жирность текста
   (только там, где нужно)
   ========================= */

/* Преимущества — текст под иконками: сильно жирный */
section.block_plus .item_title a,
section.block_plus .item_title p {
	font-weight: 800 !important;
}

/* Наши клиенты — текст: умеренно жирный */
section.block_clients .item_title p,
section.block_clients .item_title a {
	font-weight: 600 !important;
}

/* */
.consult {
	background: #002F6CD6;
	padding: 45px 95px;
	background-image: url('http://alumprint.ru/wp-content/uploads/2026/01/consult.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}
.consult .block_content p { color: white; }

/* */
.contact_title { width: 100%; height: 40px; }
ul.social li { padding: 0 20px 0 0; }

/* MAP */
/* FIX: стабильная высота (не конфликтует с inline height:300px !important в шаблоне карты) */
.map_container {
	height: 300px;
	min-height: 300px;
	background-color: #e8e8e8;
}

/* BREADCRUMBS */
section.breadcrumbs { position: relative; padding: 40px 0 80px 0; }
ul.breadcrumbs {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.breadcrumbs * { color: var(--text-color); text-decoration: none; }
ul.breadcrumbs li.current_page:before { content: '/'; display: inline-flex; padding: 0 10px; }

/* FOOTER */
footer {
	background-color: #DEEDFF;
	padding: 75px 0;
}
footer .logo_container h4 { margin-bottom: 40px; }
footer .logo_container p {
	display: block;
	width: 50%;
	margin-bottom: 20px;
}
.footer_nav ul li, .footer_contacts li { margin-bottom: 20px; }
.footer_nav ul li:last-child, .footer_contacts li:last-child { margin-bottom: 0; }
.footer_nav ul li a, .footer_contacts li a, .footer_contacts li p {
	font-weight: 600;
	font-size: 16px;
	color: var(--link-color) !important;
}
.contact_text * { color: #002F6C !important; }

/* =========================
   FIX: Оранжевый “квадрат” (кнопка мобильного меню)
   На десктопе — скрыт, на мобилке — виден
   ========================= */
#mobile_menu {
	display: none;            /* ВАЖНО: только так на ПК */
	width: 24px;
	height: 24px;
	background: none;
	border: none;
	align-items: center;
	justify-content: center;
}

@media (max-width: 720px) {

	/* ВАЖНО: слои, чтобы меню было поверх overlay */
	header.main_header{ position: fixed; z-index: 1000; }
	header .menu_container{ z-index: 999 !important; } /* меню выше overlay (998) */

	/* =========================
	   FIX: увеличенный размер иконки меню (мобилка)
	   ========================= */
	#mobile_menu{
		display: flex;
		width: 44px;
		height: 44px;
	}
	#mobile_menu svg{
		width: 34px;
		height: 34px;
	}

	header .menu_container {
		width: 100%;
		display: none !important;
		flex-direction: column;
		position: absolute;
		background: white;
		backdrop-filter: blur(10px);
		left: 0;
		top: 100%; /* Привязка к нижней границе шапки */
		z-index: 999;
		padding: 30px !important;
		height: calc(100vh - 115px); /* Высота окна минус высота шапки */
	}
	header .menu_container.shown { display: flex !important; }

	header .menu_container ul {
		display: flex !important;
		position: relative !important;
		top: auto !important;
		left: auto !important;
		border-radius: 0 !important;
	}
	header .menu_container ul li ul { display: none; opacity: .8; }
	header .menu_container ul li ul a { font-size: 14px !important; }

	header .menu_container ul li { width: 100% !important; padding: 0 !important; }
	header .menu_container ul li a {
		width: 100% !important;
		display: flex !important;
		align-items: center;
		justify-content: flex-start;
		padding: 15px 15px !important;
	}
	.menu_container ul { display: flex; flex-direction: column !important; }

	header { background: white; }
	footer { padding: 40px 0; }
	footer .logo_container h4 { font-size: 32px; }

	section.block_blue {
		width: calc(100% + 60px);
		margin-left: -30px;
	}
	section.block_blue .item { border-radius: 0 !important; flex-direction: column !important; }
	.blue_left { width: 100% !important; }
	.blue_title { font-size: 28px !important; }
	.blue_right { text-align: center; }
	.blue_right img { width: 75%; height: auto; }

	section.breadcrumbs { padding-bottom: 25px !important; }
	ul.breadcrumbs *, ul.breadcrumbs li { font-size: 12px !important; }

	.item_title p, .item_title a { font-size: 20px !important; }
	.item_radius_20, .item_radius_50 { border-radius: 14px !important; }

	.slide_content p { font-size: 16px !important; }
	.w_content p:not(.font_700) { font-size: 16px !important; }
	body, p, .button { font-size: 14px; }
	.font_size_18 { font-size: 16px !important; }

	.item_image img { width: 75%; height: 75%; }
	.pl_0 { padding-right: 0 !important; }
	.container .container { padding-left: 0; padding-right: 0; }

	/* FIX: заголовки и на мобилке слева */
	.section_title { text-align: left !important; }
	.section_title h2,
	.section_title h2.text_center { text-align: left !important; }

	.section_title.mb_80 { margin-bottom: 40px !important; }

	section.block_consult {
		width: calc(100% + 60px);
		margin-left: -30px;
	}
	.bbg { display: none; }

	.wp-block-heading { width: 100%; }
	.w_content h1 { font-size: 28px !important; }

	body.home .section_title h2 { font-size: 28px !important; }
	body:not(.home) .section_title h2 { font-size: 28px !important; line-height: 38px !important; }

	p { font-size: 20px; }
	img { width: 100%; height: auto; }

	.container { padding: 0 30px; }
	header { padding: 45px 0; }
	header .menu_container { display: none; }
	header .contacts { display: none; }

	.slide_title { font-size: 24px; line-height: 34px; }
	.slide_content { width: 100%; }
	.slide_content p { font-size: 20px; }

	section { padding: 45px 0; }
	.section_title h2 { font-size: 24px; }

	.grid { grid-template-columns: 1fr; gap: 15px; overflow: hidden; }
	section.block_plus .item { padding: 25px 0 0 0; }
	section.block_clients .item { padding: 25px 0 0 0; }

	section.block_consult .container { padding: 0; }
	section.block_contacts .grid_col { margin-bottom: 25px; }
	.contact_text * { font-size: 20px !important; }

	.consult { padding: 25px; border-radius: 0 !important; }
	.block_title h3 { font-size: 24px; line-height: 34px; width: 75%; }

	footer .logo_container h4 { margin-bottom: 0; }
	footer .logo_container p { width: 100%; font-size: 14px; margin: 25px 0; }
	footer ul.social { margin-bottom: 25px; }
	footer .grid_col:last-child { margin-top: 25px; }
}

/* =========================
   АДАПТАЦИЯ ПОД АЛЬБОМНУЮ ОРИЕНТАЦИЮ МОБИЛЬНЫХ
   ========================= */
@media (max-width: 768px) and (orientation: landscape) {
	.container {
		padding: 0 20px;
	}

	/* Уменьшаем отступы в блоке consult */
	.block_consult .consult-text-overlay {
		padding: 30px 20px !important;
	}

	/* Уменьшаем размеры шрифтов */
	.block_consult .block_title h3 {
		font-size: 20px !important;
		line-height: 26px !important;
	}

	.block_consult .block_content p {
		font-size: 14px !important;
		line-height: 22px !important;
	}

	/* Уменьшаем высоту изображения внизу */
	.block_consult .consult::after {
		height: 200px !important;
	}

	/* Уменьшаем кнопку */
	.block_consult .block_footer .button {
		padding: 10px 20px !important;
		font-size: 14px !important;
	}
}