body {
	font-family: 'Roboto', sans-serif;
	margin: 0 !important;
	font-size: 16px;
}
.container{
	max-width: 1140px !important;
	margin-right: auto;
	margin-left: auto;
}
.main_banner{
	position: relative;
	width: 100%;
	min-height: 100vh;
	background-image: url("img/main_2.webp");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #FFFFFF;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
/*.selectScroll{
margin-top: -100px !important;
}*/
.main_banner::after {
	background: transparent;
	background: #170885;
	opacity:0.6 ;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;

}
.main_banner_inner{
	position: relative;
	width: 100%;
	flex: 1;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.menu_header ul{
	margin: 0 !important;
}
.main_site{
	margin-top: 10%;
	margin-bottom: 30px;

}

.text-header p{
  font-size: 18px;
}
.banner-text{
	text-align: center;
	padding: 10px;
	font-size: 20px;
}
.main_solution{
	font-weight: bold;
	text-transform: uppercase;
	font-size: 25px !important;

}
.help{
	width: 100%;
	height: auto;
	position: relative;
	padding: 50px 0 60px 0;

}
.menu_header{
	text-align: center;
	

}
.menu_header ul li{
	list-style: none;
	position: relative;
	display: inline-block;
	font-size: 20px;
	padding: 1rem;
	text-align: right;
	z-index: 200;

}
.menu_header ul li:hover{
	text-decoration: underline;
}

.menu_header a{
	color: #FFFFFF;

}


#menu.sticky {
display: block;
position: fixed;
z-index: 200;
width: 100%;
top: 0;
left: 0;
font-size: 20px;
text-align: center;
background: rgba(95, 27, 135, 0.5);;
width: 100% !important;
backdrop-filter: blur(10px);
box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
transition: all 0.3s ease;

}

.hamburger-menu {
	display: none;
}

.hamburger {
	width: 80px;
	height: 50px;
	background-image: url("img/menu.png");
	background-repeat: no-repeat;
	background-position: 40% 50%;
	background-size: auto 100%;
	border-radius: 5px;

}
.hamburger:hover{
	cursor: pointer;
}
.head_small{
	font-size: 17px ;
}
@media (max-width: 1000px) {
.contact_form input, .contact_form textarea{
	width: 100% !important;
}
	.podrobno{
	width: 90%;
	margin: auto;
}
	.contact_text_inner{
		width: 80% !important;
	}
	.main_banner{
		height: auto;
		background-image: url("img/main_1.webp"); 
	background-repeat: no-repeat;
	 background-position: center top;
	background-size: cover; 
	background-attachment: scroll;
		min-height:auto !important;
		 padding: 15px 0;
	}
	.obomne_shorts{
        border-radius:0px !important;
		padding: 0px !important;
		width: 90% !important;

	}
	.shorts_text{
		border-radius: 0px !important;
		padding: 0px !important;
		background: none !important;
		
	}

	.text-header{
		position: relative !important;
		text-align: center;
		font-size: 20px;
		margin-left: 20px;
		margin-right: 20px;
		box-sizing: border-box;
		width: calc(100% - 40px);
	}
	.text-header h1 {
		font-size: 26px;
	}
	.text-header h2 {
		font-size: 18px;
		max-width: 95%;
	}
	.main_banner_inner {
		padding-bottom: 20px;
	}
	.main_site {
		padding: 0 15px;
	}

	.hamburger-menu {
		display: block;
		position: fixed;
		top: 30px; 
		left: 0;
		z-index: 9999;
		top: env(safe-area-inset-top, 20px);
	}
	.menu_header, #menu.sticky {
		display: none;
	}
	.show-menu{
		display: block !important;
		position: fixed;
		padding-top: 70px;
		padding-bottom: 40px;
		border-radius: 0 0 20px 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 100;

	}
	.show-menu ul li{
		display: block;
		text-align: left;
	}
	.show-menu ul a{
		text-decoration: none !important;

	}

	.hamburger-out{
		background-image: url("img/menu_out.png") !important;
		background-color: unset !important;
	}


	.help_1, .help_2, .help_3, .help_4 {
		width: 100% !important;
		height: auto !important;
	}

	.shorts_foto, .shorts_text{
		width: 100% !important;
	}
	.shorts_foto{
		text-align: center !important;
		padding-top: 20px;
		margin-bottom: 20px;
	}
	.help_1, .help_2, .help_3, .help_4{
		border-radius: 0px !important;
	}
	
	.skill_sert_inner, .skill_min_inner{
		width: 80% !important;
		margin-top: 10px;
		margin-left: auto;
		margin-right: auto;
	}
	.blog_inner_article,  .contact_text, .submit_inner {
		width: 80% !important;
	}
	.blog_inner_article_img{
		text-align: center;
	}
	.price_text{
		width: 90%;
		padding: 10px;
	}
	.contact_form{
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 20px;
		width: 80% !important;
	}
	.menu_footer, .text_footer {
		width: 90% !important;
	}
	.text_footer{
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}

	/* Секция "Обо мне подробно": без box-sizing ширина li = 90% + 90px padding = переполнение */
	.exp_tree > ul > li {
		box-sizing: border-box;
		width: 100%;
		padding-left: 80px;
	}
	.exp_tree ul ul {
		padding-left: 10px;
	}
	.shorts_foto img {
		max-width: 100%;
		height: auto;
	}
	@keyframes growFade {
		0%   { transform: scale(1);    opacity: 0; }
		50%  { transform: scale(1.15); opacity: 1; }
		100% { transform: scale(1);               }
	}
}
@media (min-width: 1000px) {
	.text-header {
		position: relative;
		text-align: center;
		width: 100%;
		font-size: 30px;
	    margin: auto;

	}

}
.text-header h1 {
	text-transform: uppercase;
	font-size: 35px;
}
.text-header h2{
	font-weight: 100;
	font-size: 26px;
  max-width: 70%;
  margin: auto;
  padding-bottom: 20px;
}



.container h2{
	text-align: center;
	font-weight: bold;
	font-size: 30px;
	text-transform: uppercase;
	margin: 0;

}
.min_text{
	margin-top: 20px;
	text-align: center;
	font-size: 20px;
}
.help_block{	
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;         
  justify-content: center;      
  margin-top: 30px;
}


.help_inner_block{
	font-size: 14px;
	text-align: justify;
}
.help_inner_block h4 {
 text-align: center;
}
.help_1, .help_2, .help_3, .help_4 {
width: 430px;
  height: 240px;
  border-radius: 30px;
  padding: 30px;
	
}
.help_1{
	background-color: #ffe0fe;
}
.help_2{
	border: 2px solid #ed00b2;
}
.help_3{
	border: 2px solid #846ADD;
}
.help_4{
	background-color: #b5e6ff;
}


.obomne{
	background-image: linear-gradient(270deg, #ffdcf1, #cde0ff);
	width: 100%;
	height: auto;
	position: relative;
	padding-top: 20px;
	padding-bottom: 50px;
}
h4{
	font-size: 18px;
}
.obomne_shorts{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	position: relative;
	width: 100%;
	height: auto;
	border-radius: 33px;
	padding: 0 30px 0 0;
	margin-top: 30px;
	overflow: hidden;
	margin-bottom: 30px;
}
.podrobno{
	position: relative;
	padding-top: 30px;
	margin-top: 30px;
}
.shorts_foto, .shorts_text{
	display: inline-block;
}
.shorts_foto{
	width: 20%;
}
.shorts_foto img{
	width: 270px;
}
.shorts_text{
	width: 70%;
	margin-left: 20px;
	background: #ffffff;
	border-radius: 20px;
	font-size: 15px;
	padding: 20px;
}

.exp_tree > ul > li{
	list-style: none;
	width: 90%;
	padding-left: 90px;
	padding-bottom: 30px;
	position: relative;
}
.exp_tree > ul > li::before{
	position: absolute;
	top: 30%;
	left: 0;
	width: 70px; 
	height: 15px;
	content: '';
	background-image: url("img/list.png");
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: auto 90%;
}
.exp_tree > ul{
	padding-left: 0;
	position: relative;
	border-left: 1px solid #000000;
}
.exp_tree ul ul{
	padding-left: 20px;
	border-left: none;
}
.exp_tree ul ul li{
	list-style: disc;
	padding-left: 0;
	padding-bottom: 5px;
	width: auto;
}
.exp_tree ul ul li::before{
	display: none;
}
.exp_tree{
	margin: auto;
}
.obomne h3{
	text-align: center;
	font-size: 30px;
}
.skill{
	background-image: linear-gradient(270deg, #bd0071, #035480, #5b1383);
	width: 100%;
	height: auto;
	position: relative;
	padding-top: 60px;
	padding-bottom: 50px;
	color: #FFFFFF;
}
.skill_sert, .skill_min, .skill_img{
	width: 100%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	padding: 50px 0 20px 0;

}
.skill_img{
	width: 80%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	margin-left: auto;
	margin-right: auto;
}
.skill_img_inner{
	position: relative;
}
.skill_img img{
	width: 171px;
}
.skill_img.bitrix24 img{
	width: 110px;
}
.skill_img div{
	width: 100%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;


}
.skill_sert_inner{
	position: relative;
	width: 42%;
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='white' stroke-width='3' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
	border-radius: 16px;
	padding: 30px;
}

.skill_min_inner{
	position: relative;
	width: 25%;
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='white' stroke-width='3' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
	border-radius: 16px;
	min-height: 380px;
	padding: 30px;
}
.skill_sert_inner p, .skill_min_inner p{
	text-align: justify;
}
.skill_sert_inner h4, .skill_min_inner h4{
	text-align: center;
	font-size: 25px;
}
.blog{
	width: 100%;
	height: auto;
	position: relative;
	padding-top: 60px;
	padding-bottom: 10%;
}
.blog_inner{
	width: 100%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	padding: 50px 0 20px 0;
}
.blog_inner_article{
	position: relative;
	width: 25%;
	padding: 30px;
}
.blog_inner_article_img img{
	width: 300px;
}
.blog_inner_article h5{
	font-weight: bold;
	text-align: center;
	font-size: 20px;
}
.blog_inner_article p{
	text-align: justify;
}
.more_article{
	text-decoration: none;
	background: #FF7A00;
	color: #FFFFFF;
	padding: 10px;
	text-align: center;
	margin: 30px;
	width: 300px;
	margin-left: auto;
	margin-right: auto;
}
.blog_inner_article a{
	color: #FF7A00;

}
a.more_article_a {
	text-decoration: none;
	color: #FFFFFF;
}
.price{
	width: 100%;
	height: auto;
	position: relative;
	padding-top: 60px;
	background: #fff;
}
.price_hour{
	padding: 20px;
	font-size: 40px;
	font-weight: bold;
	text-align: center;
}
.price_text{
	text-align: justify;
}

.contact{
	width: 100%;
	height: auto;
	position: relative;
	padding-top: 60px;
	padding-bottom: 10%;
	background-image: linear-gradient(270deg, #ffe0f3, #b7e6ff, #eac3ff);
}

.contact_inner{
	width: 100%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	padding-top: 40px;
}
.contact_form{
	width: 50%;
}
.contact_text{
	width: 50%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
}
.contact_text img{
	width: 100px;
}
.phone_img{
	width: 30%;
}
.contact_text_inner{
	width: 70%;
}

.contact_form input, .contact_form textarea {
	padding: 10px;
	margin-top: 10px;
	border: 1px #c4d1d7 solid;
	border-radius: 10px;
	width: 80%;
	color: #5c5c5c;

}
.submit_form{
	width: 80%;
}
.submit_inner{
	width: 40%;

}


.footer{
	width: 100%;
	height: auto;
	position: relative;
	background-image: linear-gradient(270deg, #d83c9c, #3e72d9, #882bba);
	padding-top: 20px;
	padding-bottom: 20px;
	color: #fff;
}
.footer .container{
	width: 100%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
}

.menu_footer{
	position: relative;
	text-align: left;
width: 60%;

}
.menu_footer ul li{
	list-style: none;
	position: relative;
	display: inline-block;
	padding: 1rem;

}
.menu_footer ul li:hover{
	text-decoration: underline;
}

.menu_footer a{
	color: #fff;

}
.text_footer{
	width: 40%;
}
.text_footer div{
	font-weight: bold;
}

.below_button_container{
display: flex;
  flex-direction: column;       /* Элементы будут стоять друг под другом */
  align-items: center;          /* Центрирование по горизонтали */
  position: relative;
  z-index: 1;
  text-align: center;           /* Центрирование текста */
  gap: 10px; 
  margin: 30px 0 20px 0;

}
.below_button_container:hover{
	cursor: pointer;
}

.below_button{
	 position: relative;       
  width: 60px;              
  height: 60px;
  margin: 10px; 

}
.below_button:before {
  content: '';
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Центрируем */
  width: 100%;
  height: 100%;
  z-index: 1;
}
.below_button_1::before, .below_button_4::before, .below_button_5::before {
  background-image: url("/img/arrow_w.png");
}
.below_button_2::before, .below_button_3::before {
  background-image: url("/img/arrow_b.png");
}
.below_button_text{
	  z-index: 1;
}
@keyframes growFade {
  0% {
    transform: scale(1);       
    opacity: 0;             
  }
  50% {
    transform: scale(1.5);     
    opacity: 1;                
  }
  100% {
    transform: scale(1);                    
  }
}
.animate-banner {
  transition: all 0.8s ease;
}
.animate-banner.visible{
	 animation: growFade 1s ease forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-block {
  transition: all 0.8s ease;
}
.animate-block.visible {
  animation: slideUp 1s ease forwards;
}

.animate-main{
  transition: all 0.8s ease;
}
.animate-main.visible {
  animation: slideUp 1s ease forwards;
}

 .text-header .button-scroll{
margin-top: 20px;
 }

.button-scroll {
  background-image: linear-gradient(270deg, #ff27a9, #11a9fb, #b52bff);
  background-size: 200% 200%; /* Размер градиента */
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: gradientShift 5s ease-in-out infinite; /* Анимация */
}

/* Анимация градиента */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%; /* Начальная позиция */
  }
  50% {
    background-position: 100% 50%; /* Конечная позиция */
  }
  100% {
    background-position: 0% 50%; /* Возвращаемся в начало */
  }
}

.button-scroll:hover{
	box-shadow: 0 4px 15px rgba(250, 250, 250, 0.8);
}
.red{
	background-color: red;
	color: #fff;
	padding: 20px;
	
}
.green{
	background-color: #57b308;
	color: #FFFFFF;
	padding: 20px;
}
.submit_input{
background-image: linear-gradient(270deg, #ff27a9, #11a9fb, #b52bff);
  background-size: 200% 200%; /* Размер градиента */
  color: white;
  border: none;
  padding: 9px 16px;
  font-size: 16px;
  border-radius: 15px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: gradientShift 5s ease-in-out infinite; /* Анимация */
  margin-top: 15px;
}
.notification-block {
  width: 84%; /* Ширина родительского блока */
  background-color: #bb7dc0; /* Розовый фон */
  border-radius: 20px; /* Скругленные углы */
  display: flex; /* Используем Flexbox */
  align-items: center; /* Вертикальное выравнивание */
  padding: 20px 24px; /* Отступы */
  position: relative; /* Для абсолютного позиционирования иконки */
}

.icon {
  color: white; /* Цвет восклицательного знака */
  font-size: 40px; /* Размер шрифта */
  font-weight: bold;
  margin-right: 16px; /* Отступ от текста */
  flex-shrink: 0; /* Не сжимаем иконку */
}

.message {
  flex-grow: 1; /* Занимает оставшееся пространство */
  font-size: 16px;
  color: white;
}

/* Портфолио и Блог */
.portfolio {
  width: 100%;
  height: auto;
  position: relative;
  padding: 60px 0 60px 0;
  background: #fff;
}

.blog {
  width: 100%;
  height: auto;
  position: relative;
  padding: 60px 0 60px 0;
  background-image: linear-gradient(270deg, #ffdcf1, #cde0ff);
}

/* Карусель */
.carousel-wrapper {
  position: relative;
  width: 100%; 
 
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-container.dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.carousel-track.no-transition {
  transition: none;
}

.carousel-item {
  flex: 0 0 auto;
  width: calc((100% - 60px) / 3);
  text-decoration: none;
  color: inherit;
  display: flex;
  border-radius: 18px;
  background: linear-gradient(270deg, #ff27a9, #11a9fb, #b52bff);
  background-size: 100% 100%;
  padding: 2px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.carousel-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.carousel-item .blog_inner_article {
  position: relative;
  width: 100%;
  padding: 30px;
  background: white;
  border-radius: 16px;
  flex: 1;
  box-sizing: border-box;
}

.carousel-item .blog_inner_article_img {
  text-align: center;
}

.carousel-item .blog_inner_article_img img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.carousel-item .blog_inner_article h5 {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  margin-top: 20px;
  color: #333;
}

.carousel-item .blog_inner_article p {
  text-align: justify;
  font-size: 14px;
  color: #666;
  margin-top: 15px;
}

/* Стрелки карусели */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #667eea;
  font-size: 80px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  font-weight: bold;
}

.carousel-arrow:hover {
  color: #5568d3;
  transform: translateY(-50%) scale(1.2);
}

.carousel-arrow-left {
  left: -10px;
}

.carousel-arrow-right {
  right: -60px;
}

/* Placeholder для изображения по умолчанию */
.blog-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

/* Контейнер кнопки "Посмотреть все статьи" */
.view-all-container {
  text-align: center;
  margin-top: 40px;
}

.view-all-btn {
  display: inline-block;
  text-decoration: none;
}

/* Блок-схема "Как мы работаем" */
.workflow-flow {
  display: flex;
  align-items: center;
  margin: 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.workflow-step {
  flex: 1;
  min-width: 160px;
  align-self: stretch;
  background: linear-gradient(270deg, #ff27a9, #11a9fb, #b52bff);
  background-size: 100% 100%;
  border-radius: 18px;
  padding: 2px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.workflow-step:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.workflow-step-inner {
  background: white;
  border-radius: 16px;
  padding: 20px 16px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.workflow-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(270deg, #ff27a9, #11a9fb, #b52bff);
  background-size: 100% 100%;
  color: white;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.workflow-step-title {
  font-weight: bold;
  font-size: 15px;
  margin: 0 0 4px 0;
  color: #333;
}

.workflow-step-sub {
  font-size: 12px;
  color: #888;
  margin: 0 0 10px 0;
  font-style: italic;
}

.workflow-step-desc {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.workflow-arrow {
  flex-shrink: 0;
  font-size: 32px;
  color: #b52bff;
  padding: 0 10px;
  line-height: 1;
  user-select: none;
}

@media (max-width: 768px) {
  .workflow-flow {
    flex-direction: column;
    overflow-x: visible;
    align-items: stretch;
  }

  .workflow-step {
    align-self: auto;
  }

  .workflow-step-inner {
    height: auto;
  }

  .workflow-arrow {
    text-align: center;
    padding: 4px 0;
    transform: rotate(90deg);
    font-size: 24px;
  }
}

/* Адаптивность для каруселей */
@media (max-width: 600px) {
  .carousel-item {
    width: calc(100% - 60px);
  }
  .carousel-arrow-left {
    left: 0;
  }
  .carousel-arrow-right {
    right: 0;
  }
}

@media (max-width: 1000px) {
  .carousel-item {
    width: 260px;
  }

  .carousel-item .blog_inner_article {
    padding: 20px;
  }

  .carousel-item .blog_inner_article_img img {
    height: 160px;
  }

  .blog-image-placeholder {
    height: 160px;
  }

  .carousel-item .blog_inner_article h5 {
    font-size: 16px;
  }

  .carousel-arrow {
    font-size: 50px;
  }

  .carousel-arrow-left {
    left: 5px;
  }

  .carousel-arrow-right {
    right: 5px;
  }

  .view-all-btn {
    width: 80%;
    text-align: center;
  }

  /* Site header на мобильных — скрываем, хамбургер всё берёт на себя */
  .site-header {
    height: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    position: relative;
  }
}

.below_button_6::before {
  background-image: url("/img/arrow_b.png");
}

/* ========== Страница статьи (blog-post.php) ========== */

.blog-post-header {
  background: linear-gradient(270deg, #a72bab, #3b2390);
  padding: 80px 20px 180px;
  color: white;
  position: relative;
}

.blog-post-header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.blog-post-back {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-post-back a {
  color: white;
  text-decoration: underline;
}

.blog-post-back-sep {
  opacity: 0.5;
}

.blog-post-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.blog-post-date {
  font-size: 16px;
  opacity: 0.9;
}

.blog-post-preview-wrapper {
  max-width: 900px;
  margin: -180px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.blog-post-preview-image {
  max-width: 700px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.blog-post-main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.article-content {
  line-height: 1.8;
  font-size: 16px;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 25px;
}

.article-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

.article-content pre {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}

.blog-post-nav {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.blog-post-nav a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.blog-post-nav a:hover {
  text-decoration: underline;
}

/* ========== Адаптивность страницы статьи ========== */
@media (max-width: 768px) {
  .blog-post-header {
    padding: 50px 20px 120px;
  }

  .blog-post-title {
    font-size: 28px;
  }

  .blog-post-preview-wrapper {
    margin: -120px auto 30px;
  }

  .blog-post-preview-image {
    height: 200px;
  }

  .blog-post-main {
    margin: 20px auto;
  }
}

/* ========== Комментарии к статье ========== */

.comments-section {
  max-width: 900px;
  margin: 48px auto 20px;
  padding: 0 20px;
}

.comments-title {
  font-size: 24px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ede8f8;
}

.comments-list {
  margin-bottom: 48px;
}

.comment {
  padding: 20px;
  background: #f9f7ff;
  border-radius: 12px;
  margin-bottom: 14px;
  border-left: 3px solid #a72bab;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.comment-author {
  font-weight: 600;
  color: #3b2390;
  font-size: 15px;
}

.comment-date {
  font-size: 13px;
  color: #999;
}

.comment-body {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  word-break: break-word;
}

.comments-empty {
  color: #999;
  font-size: 15px;
  margin-bottom: 40px;
  font-style: italic;
}

.comment-form-wrap {
  background: #f4f0ff;
  border-radius: 16px;
  padding: 32px;
}

.comment-form-wrap h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1a103d;
}

.comment-form-notice {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.comment-form-notice--ok {
  background: rgba(74, 222, 128, 0.15);
  color: #167a3e;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.comment-form-notice--err {
  background: rgba(225, 11, 31, 0.08);
  color: #b40818;
  border: 1px solid rgba(225, 11, 31, 0.3);
}

.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.comment-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.comment-form-row .comment-form-field {
  margin-bottom: 0;
}

.comment-form-field label {
  font-size: 14px;
  font-weight: 500;
  color: #4d4566;
}

.comment-label-note {
  font-weight: 400;
  color: #999;
}

.comment-form-field input,
.comment-form-field textarea {
  padding: 12px 14px;
  border: 1px solid #d8d0f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #1a103d;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
  border-color: #a72bab;
}

.comment-form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.comment-submit-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #a72bab 0%, #3b2390 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  line-height: 1;
}

.comment-submit-btn:hover {
  opacity: 0.88;
}

@media (max-width: 600px) {
  .comment-form-row {
    grid-template-columns: 1fr;
  }
  .comment-form-wrap {
    padding: 20px 16px;
  }
  .comments-title {
    font-size: 20px;
  }
}

/* ========== Страница списка статей (blog.php) ========== */

.blog-list-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.blog-list-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-list-title {
  font-size: 48px;
  margin-bottom: 20px;
}

.blog-list-subtitle {
  font-size: 18px;
  opacity: 0.9;
}

.blog-list-back {
  margin-top: 30px;
}

.blog-list-back a {
  color: white;
  text-decoration: underline;
}

.blog-list-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-empty {
  text-align: center;
  padding: 60px 20px;
}

.blog-empty p {
  font-size: 18px;
  color: #666;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}

.blog-card-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-body {
  padding: 25px;
}

.blog-card-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 14px;
  color: #999;
}

.blog-card-readmore {
  color: #667eea;
  font-weight: 500;
}

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  gap: 10px;
}

.pagination-btn {
  padding: 10px 20px;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.pagination-btn:hover {
  background: #5568d3;
}

.pagination-number {
  padding: 10px 15px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
}

.pagination-number.active {
  background: #667eea;
  color: white;
  font-weight: 600;
}

.pagination-number:hover {
  background: #e0e0e0;
}

.pagination-number.active:hover {
  background: #5568d3;
}

.pagination-ellipsis {
  padding: 10px;
}

/* Общий footer для блога */
.blog-footer {
  background: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.blog-footer p {
  color: #666;
}

/* ========== Стили для секции блога на главной странице ========== */
.blog-section {
  background: #f9f9f9;
  padding: 60px 0;
}

.blog-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
  color: #333;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-card-image-default {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-content {
  padding: 25px;
}

.blog-card-title {
  font-size: 20px;
  margin: 0 0 15px 0;
  color: #333;
  line-height: 1.4;
  min-height: 56px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #999;
  margin-top: 15px;
}

.blog-card-date {
  color: #999;
}

/* ========== Постраничная навигация ========== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-btn,
.pagination-number {
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  display: inline-block;
}

.pagination-btn {
  background: #667eea;
  color: white;
  padding: 10px 20px;
  font-weight: 500;
}

.pagination-btn:hover {
  background: #5568d3;
}

.pagination-number {
  background: #f5f5f5;
  color: #333;
  min-width: 40px;
  text-align: center;
}

.pagination-number:hover {
  background: #e0e0e0;
}

.pagination-number.active {
  background: #667eea;
  color: white;
  font-weight: 600;
}

/* ========== Адаптивность для блога ========== */
@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .blog-card-title {
    font-size: 18px;
    min-height: auto;
  }

  .blog-card-image {
    height: 200px;
  }

  .pagination-btn,
  .pagination-number {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-section {
    padding: 40px 0;
  }

  .blog-section h2 {
    font-size: 28px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-card-image {
    height: 220px;
  }

  .pagination {
    gap: 5px;
    margin-top: 40px;
  }

  .pagination-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .pagination-number {
    padding: 8px 10px;
    font-size: 14px;
    min-width: 35px;
  }
}

/* ========== Стили для кнопки стрелки вниз к блогу ========== */
.below_button_5::before {
  background-image: url("/img/arrow_b.png");
}

/* ========== Дропдаун «Портфолио» в меню ========== */
.menu-has-dropdown {
    position: relative;
    list-style: none;
    display: inline-block;
    font-size: 20px;
    padding: 1rem;
    cursor: pointer;
    z-index: 300;
    text-decoration: none !important;
}

.menu-has-dropdown > a {
    color: #fff;
    text-decoration: none;
}

.menu-has-dropdown:hover {
    text-decoration: none !important;
}

/* Прозрачный мост: продлевает hover-зону li вниз, чтобы курсор
   не терял фокус при движении от триггера к выпадающему меню */
.menu-has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    background: rgba(95, 27, 135, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 260px;
    list-style: none;
    margin: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    z-index: 400;
    text-align: left;
}

.menu-has-dropdown:hover .menu-dropdown {
    display: block;
}

.menu-dropdown li {
    display: block;
    padding: 0;
}

.menu-dropdown li a {
    display: block;
    padding: 11px 22px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
    transition: background 0.15s;
}

.menu-dropdown li a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

/* В мобильном меню дропдаун раскрывается статично */
.show-menu .menu-has-dropdown {
    display: block;
    padding: 0.5rem 1rem;
}

.show-menu .menu-has-dropdown:hover .menu-dropdown,
.show-menu .menu-has-dropdown .menu-dropdown {
    display: block;
    position: static;
    transform: none;
    background: rgba(255,255,255,0.08);
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 6px;
    padding: 4px 0;
}

.show-menu .menu-dropdown li a {
    font-size: 15px;
    padding: 8px 24px;
}

/* ========== Баннер страницы портфолио ========== */
.portfolio-banner {
    background-image: linear-gradient(135deg, #5b1383, #035480, #170885) !important;
    background-image: none;
}

/* ========== Тег технологий в карточках портфолио ========== */
.portfolio-card-tag {
    display: inline-block;
    background: #f0ebff;
    color: #5b1383;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ========== Site header (страницы блога) ========== */
.site-header {
  background: rgba(95, 27, 135, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  z-index: 200;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.site-header .menu_header {
  padding: 5px 0;
}

/* ========== Баннер страницы блога ========== */
.blog-banner {
  position: relative;
  width: 100%;
  min-height: 350px;
  background-image: url("/img/main_2.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-banner::after {
  background: #170885;
  opacity: 0.6;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  pointer-events: none;
}

.blog-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px;
}

.blog-banner-back {
  margin-bottom: 25px;
}

.blog-banner-back a {
  color: white;
  text-decoration: underline;
  font-size: 16px;
}

.blog-banner-title {
  font-size: 60px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Jost', sans-serif;
}

.blog-banner-subtitle {
  font-size: 22px;
  font-weight: 300;
  opacity: 0.95;
}

@media (max-width: 1000px) {
  .blog-banner {
    background-attachment: scroll;
    min-height: 250px;
  }
  .blog-banner-title {
    font-size: 36px;
  }
  .blog-banner-subtitle {
    font-size: 16px;
  }
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-section {
  width: 100%;
  padding: 60px 0 70px;
  background: #f8f4ff;
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 8px;
}
.faq-section .faq-subtitle {
  text-align: center;
  color: #666;
  font-size: 17px;
  margin-bottom: 40px;
}
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8dcff;
  overflow: hidden;
}
.faq__item[open] {
  border-color: #b07fff;
}
.faq__q {
  display: block;
  padding: 18px 50px 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: #1a0050;
  line-height: 1.4;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #8b5cf6;
  transition: transform 0.2s;
  font-weight: 300;
}
.faq__item[open] .faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__a {
  padding: 0 22px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
@media (max-width: 600px) {
  .faq__q { font-size: 14px; padding: 14px 44px 14px 16px; }
  .faq__a { padding: 0 16px 14px; font-size: 14px; }
}

/* ── Подзаголовок карточки услуги ── */
.services-v2__card-sub {
  font-size: 13.5px;
  color: #6b607d;
  margin: 0 0 16px;
  line-height: 1.45;
}

/* ── Ссылки внутри пунктов карточек услуг ── */
.services-v2__list li a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(139, 92, 246, 0.35);
  text-underline-offset: 2px;
  transition: color .2s;
}
.services-v2__list li a:hover {
  color: #8b5cf6;
}

/* ── Ссылка "Подробнее" в карточках услуг ── */
.services-v2__more {
  display: inline-block;
  margin-top: 14px;
  color: #8b5cf6;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}
.services-v2__more:hover { color: #6d28d9; text-decoration: underline; }

.services-v2__all-link {
    display: inline-block;
    color: #7c3aed;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 28px;
    border: 2px solid #c084fc;
    border-radius: 24px;
    transition: background .2s, color .2s;
}
.services-v2__all-link:hover {
    background: #7c3aed;
    color: #fff;
}

.services-v2__free-audit {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    font-size: 13.5px;
    color: #c026d3;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 5px 14px;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, #ff3ec9, #8b5cf6) border-box;
    transition: opacity .2s;
}
.services-v2__free-audit:hover { opacity: .7; }
