/* Общие стили */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Arial', sans-serif;
}

body {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 80px 0;
}

.section-title {
	font-size: 36px;
	font-weight: 400;
	text-align: center;
	margin-bottom: 50px;
	color: #00093e;
	font-family: fantasy;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background-color: #ff5722;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s;
}

.btn:hover {
	background-color: #e64a19;
}

/* Шапка сайта */
header {
	background-color: #00093e;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	/*position: fixed;*/
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 50px;
	margin-right: 10px;
}

.logo-text {
	font-size: 24px;
	font-weight: 700;
	color: #1c3f94;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 7px;
}

nav ul li a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

nav ul li a:hover {
	color: #ff5722;
}

.contact-info {
	text-align: right;
}

.phone {
	font-size: 20px;
	font-weight: 900;
	color: #fff;
	text-decoration: none;
	display: block;
	margin-bottom: 5px;
}

/* Главный баннер */
.hero {
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/templates/stroyimpulsalyans/images/metalokonstrukcii_mogilev.jpg');
	background-size: cover;
	background-position: center;
	height: 400px;
	display: flex;
	align-items: center;
}

/*
@media (max-width: 979px) {
	.hero {
		margin-top: 95px;
	}
}

@media (max-width: 350px) {
	.hero {
		margin-top: 89px;
	}
}
*/
.hero-content {
	color: #fff;
	max-width: 800px;
}

.hero-title {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 20px;
}

.hero-subtitle {
	font-size: 22px;
	margin-bottom: 40px;
}

/* Преимущества */
.advantages {
	background-color: #f9f9f9;
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.advantage-item {
	text-align: center;
	padding: 30px 20px;
	background-color: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	transition: transform 0.3s;
}

.advantage-item:hover {
	transform: translateY(-10px);
}

.advantage-icon {
	font-size: 48px;
	color: #ff5722;
	margin-bottom: 20px;
}

.advantage-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #00093e;
}

/* О компании */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #00093e;
}

/* Услуги */
.services {
	background-color: #f9f9f9;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.service-item {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.service-item:hover {
	transform: translateY(-10px);
}

.service-image {
	height: 200px;
	overflow: hidden;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.service-item:hover .service-image img {
	transform: scale(1.1);
}

.service-content {
	padding: 20px;
}

.service-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #1c3f94;
}

.service-btn {
	margin-top: 15px;
	display: inline-block;
}

/* Проекты */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.project-item {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	height: 300px;
}

.project-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(28, 63, 148, 0.9);
	color: #fff;
	padding: 20px;
	transform: translateY(100%);
	transition: transform 0.3s;
}

.project-item:hover .project-overlay {
	transform: translateY(0);
}

.project-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

.all-projects {
	text-align: center;
	margin-top: 50px;
}

/* Этапы работы */
.process {
	background-color: #f9f9f9;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.process-item {
	text-align: center;
	position: relative;
}

.process-item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 40px;
	right: -15px;
	width: 30px;
	height: 2px;
	background-color: #ff5722;
}

.process-number {
	width: 80px;
	height: 80px;
	background-color: #00093e;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-weight: 700;
	margin: 0 auto 20px;
}

.process-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #00093e;
}

/* Форма обратной связи */
.contact-form {
	background-color: #00093e;
	color: #fff;
}

.form-container {
	max-width: 800px;
	margin: 0 auto;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border-radius: 4px;
	border: none;
	font-size: 16px;
}

.form-group textarea {
	height: 120px;
	resize: vertical;
}

.form-group.full-width {
	grid-column: span 2;
}

.form-submit {
	text-align: center;
	margin-top: 20px;
}

/* Подвал */
footer {
	background-color: #00093e;
	color: #fff;
	padding: 50px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 30px;
	margin-bottom: 30px;
}

.footer-about h3,
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #fff;
}

.footer-links ul,
.footer-services ul {
	list-style: none;
}

.footer-links ul li,
.footer-services ul li {
	margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
	color: #aaa;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
	color: #ff5722;
}

.footer-contact p {
	margin-bottom: 10px;
	color: #aaa;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #444;
	color: #aaa;
}

@media (max-width: 992px) {

	.advantages-grid,
	.services-grid,
	.projects-grid,
	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero-title {
		font-size: 36px;
	}
}

@media (max-width: 768px) {
	.header-inner {
		flex-direction: column;
		text-align: center;
	}

	nav ul {
		margin-top: 20px;
		flex-wrap: wrap;
		justify-content: center;
	}

	nav ul li {
		margin: 0 15px 10px;
	}

	.contact-info {
		text-align: center;
	}

	.advantages-grid,
	.services-grid,
	.projects-grid,
	.process-grid,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.form-group.full-width {
		grid-column: 1;
	}

	.hero {
		height: 310px;
	}

	.hero-title {
		font-size: 30px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.section-title {
		font-size: 28px;
	}
}

.navbar-toggler.navbar-toggler-right {
	display: none;
}

@media (max-width: 450px) {
	.hero-title {
		font-size: 24px;
	}

	.hero-subtitle {
		font-size: 14px;
	}

	.com-content-article__body h2 {
		font-size: 22px !important;
		padding: 5px 0 5px 0 !important;
	}
}

/*
.com-content-article.item-page {
	padding-top: 100px;
}
*/
.com-content-category__table.category.table .cat-list-row0, .com-content-category__table.category.table .cat-list-row1 {
	text-align: left;
}

#dj-megamenu122 {
	width: max-content;
	margin: auto !important;
}

@media (min-width: 980px) {
	#mobile-bottom-call {
		display: none;
	}
}

@media (min-width: 980px) {
	.logo-m {
		display: none;
	}

	.time {
		color: #fff;
	}

}

@media (max-width: 979px) {
	.logo, .time, div.process-title::after, .process-item:not(:last-child)::after {
		display: none;
	}

	#pwebcontact126_form .pweb-fields {
		grid-template-columns: unset !important;
	}

	.header-inner {
		display: grid;
		grid-template-columns: 80px 1fr;
		width: fit-content;
		place-self: end;
	}

	.container {
		padding: 5px;
	}

	header .container {
		display: grid;
		grid-template-columns: 65px 1fr;
		align-content: center;
		place-items: anchor-center;
	}

	.dj-megamenu-wrapper {
		order: -1;
	}

	header .logo-m img {
		width: -webkit-fill-available;
	}

	.dj-mobile-nav {
		overflow-y: scroll;
		max-height: 80vh;
	}

	..dj-accordion-dark .dj-accordion-in {
		padding: 0 !important;
	}

	#mobile-bottom-call {
		justify-self: center;
		position: fixed;
		bottom: 15px;

	}

	.mobile-phone-bottom {
		padding: 10px 15px;
		background: #ff5722;
		color: #fff;
		font-size: x-large;
		font-weight: 600;
		text-decoration: none;
		border-radius: 5px;
		width: 280px;
		margin: auto;
		justify-content: center;

	}
}

@media (max-width: 350px) {
	header .phone {
		font-size: 17px;
	}

	.header-inner {
		grid-template-columns: 70px 1fr;
	}
}

.blog-items.masonry-4 img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s;
}

.blog-items.masonry-4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

#pwebcontact126_container {
	background-color: #00093e;
}

#pwebcontact126_form .pweb-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(373px, 1fr));
	grid-column-gap: 1rem;
	grid-row-gap: 1rem;
	max-width: 800px;
	margin: auto;
	padding: 80px 0;
}

#pwebcontact126_form .pweb-fields::before {
	display: none;
}

#pwebcontact126_text-0, #pwebcontact126_form .pweb-field-message, #pwebcontact126_form .pweb-field-buttons {
	grid-column: span 2;
}

#pwebcontact126_text-0 .section-title {
	color: #fff;
}

#pwebcontact126_container input.pweb-input {
	padding: 20px !important;
}

#pwebcontact126_container .pweb-field-container.pweb-field-buttons {
	text-align: center;
}

#pwebcontact126_form button, #pwebcontact126_form {
	padding: 20px;
}

.pwebcontact-modal.modal {
	z-index: 9999;
}

.hero-content .pwebcontact_toggler.pweb-radius {
	border-radius: 0px !important;
}

/*
.section-main, .com-content-article.item-page {
	margin-top: 100px;
}

.com-content-article.item-page, .com-content-category.category-list {
	padding-top: 100px;
}
*/
.page-header h1, .content-category h1 {
	font-size: 38px;
	font-weight: 400;
	color: #00093e;
	padding: 50px 0 10px;
	font-family: fantasy;
}

#system-message-container {
	padding: 0;
}


.blog-items.masonry-4 .item-title a {
	text-decoration: none;
	color: #00093e;
}

.newsflash-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s;
}

.com-content-category.category-list .category-desc h2 {
	padding: 0 0 20px 0;
	color: #00093e;
	font-size: xx-large;
	font-family: fantasy;
	font-weight: 200;
}

.com-content-category.category-list .newsflash-title a, h3.newsflash-title a {
	text-decoration: none;
}

h3.newsflash-title a {
	color: #00093e;
	line-height: 1;
}

h3.newsflash-title {
	line-height: 1;
	height: 42px;
}

.com-content-article__body h2 {
	padding: 30px 0 30px 0;
	font-size: xx-large;
	font-weight: 200;
	color: #00093e;
	font-family: fantasy;
}

#pwebcontact127_toggler {
	margin: auto;
	text-align: center;
	padding: 15px;
}

.pwebcontact-box.pweb-modal {
	margin: 10% auto !important;
}

.image-container img {
	transition: transform 0.3s ease-in-out;
	z-index: 1 !important;
}

.image-container:hover img {
	transform: scale(1.8);
	z-index: 1 !important;
}

.certificates {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	margin: auto;
}

ul.mod-articlesnews-horizontal.newsflash-horiz.mod-list {
	grid-gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 260px)) !important;
	display: grid;
	justify-content: center;
}

ul.mod-articlesnews-horizontal.newsflash-horiz.mod-list li {
	box-shadow: 5px 5px 5px 5px #00093e;
	padding: 5px;
	align-items: center;
	border-radius: 5px;
}

.gallery.gp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	margin: auto;
}

.gallery.gp img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.3s;
}

@media (max-width: 600px) {
	.page-header h1, .content-category h1 {
		padding: 10px 0 10px;
		font-size: 20px;
	}

	header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;

	}
}

/*****************/


.details {
	position: relative;
	display: block;
	max-width: 1100px;
	margin: 0 auto 10px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 5px;
	transition: 0.3s;
	overflow: hidden;
}

.details::after {
	position: absolute;
	right: 24px;
	top: 15px;
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	border-right: 3px solid #425995;
	border-bottom: 3px solid #425995;
	transform: rotate(-45deg);
	transform-origin: center;
	transition: .3s;
}

.details[open]::after {
	transform: rotate(45deg);
}

.details[open] {
	padding-bottom: 100px;
}

.details[open] .details__title {
	margin-bottom: 32px;
}

.details__title {
	background: #fff;
	border-radius: 5px;
	padding: 12px 24px;
	font-size: 20px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	transition: .3s;
}

.details__title::-webkit-details-marker {
	display: none;
}

.details__content {
	padding: 0 32px;
	font-size: 18px;
	margin-bottom: -60px;
}

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

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

.products__item-in {
	padding: 0.7rem !important;
}

section .section.process.kak {
	padding: 0;
}

.com-content-article__body h2 {
	font-size: revert-layer;
}

.no-break {
	white-space: nowrap;
}


/* Контейнер, который прячет все, что выходит за границы экрана */
.marquee-wrapper {
	width: 100%;
	overflow: hidden;
	background-color: #ffcc00;
	/* Желтый фон */
	padding: 20px 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Общая линия, которая содержит оба текстовых блока */
.marquee-content {
	display: flex;
	width: max-content;
	/* Ширина подстраивается под контент */
	animation: scroll-left 10s linear infinite;
}

/* Стили для блоков с текстом */
.marquee-block {
	display: flex;
	white-space: nowrap;
}

/* Стили для отдельных фраз */
.text-item {
	font-size: 28px;
	font-weight: bold;
	text-transform: uppercase;
	color: #000;
	padding: 0 40px;
	/* Отступы между фразами */
}

/* Анимация: двигаем контент ровно на 50% (длину одного блока) */
@keyframes scroll-left {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

/* По желанию: останавливаем при наведении мыши */
.marquee-wrapper:hover .marquee-content {
	animation-play-state: paused;
}

.com-content-article.item-page .com-content-article__body ul {
	padding-left: 40px;
}

ul.mod-articlesnews-horizontal.newsflash-horiz.mod-list {
	padding-left: unset ;
}
