@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.header {
	position: relative;
	font-family: 'Montserrat', sans-serif;
	z-index: 10;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 16px;
	flex-wrap: nowrap;
}

.logo img {
	width: 312px;
	height: 56.4px;
}

.nav-menu ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
	justify-content: space-evenly;
	gap: 15px;
}

.nav-menu li {
	position: relative;
	white-space: nowrap;
}

.nav-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 20px;
	padding: 10px;
}

.nav-menu li:hover::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 47px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.burger-menu {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.burger-menu img {
	width: 29px;
	height: 25px;
	margin-right: 20px;
}

.contact-info {
	display: flex;
	align-items: center;
	margin-right: 7px;
}

.phone-number {
	color: #fff;
	font-size: 17px;
	margin-left: 8px;
	white-space: nowrap;
	text-decoration: none;
	position: relative;
	top: -2px;
	display: flex;
	align-items: center;
}

.phone-number .phone-icon {
	margin-right: 5px;
	width: 25px;
	height: 25px;
	transition: all 0.3s ease;
}

.phone-number:hover .phone-icon {
	filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(700%) hue-rotate(-10deg) brightness(105%) contrast(92%);
}

.phone-number:hover {
	color: rgba(255, 13, 30, 0.7);
}

.social-icons-container {
	height: 48px;
	background-color: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	padding: 0 5px;
	position: relative;
	z-index: 10;
}

.social-icons {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.social-icons a {
	transition: background-color 0.3s ease;
	padding: 5px;
	border-radius: 50%;
}

.social-icons a img {
	width: 27px;
	height: 27px;
}

.social-icons a[href*="vk.com"]:hover img {
	filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(5000%) hue-rotate(240deg) brightness(100%) contrast(100%);
}

.social-icons a[href*="t.me"]:hover img {
	filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}

.social-icons a[href*="wa.me"]:hover img {
	filter: brightness(0) saturate(100%) invert(51%) sepia(75%) saturate(800%) hue-rotate(85deg) brightness(100%) contrast(92%);
}

.divider-container {
	display: flex;
	justify-content: center;
	position: relative;
	margin: 0 16px;
}

.divider {
	width: calc(100% - 32px);
	height: 3px;
	background-color: rgba(255, 255, 255, 0.33);
	position: absolute;
	top: -15px;
	z-index: 1;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
	.nav-menu a {
		font-size: 16px;
	}

	.logo img {
		width: calc(312px * 0.8);
		height: calc(56.4px * 0.8);
	}

	.social-icons-container {
		height: calc(48px * 0.8);
		padding: 0 8px;
	}

	.social-icons {
		gap: 5px;
	}

	.social-icons a img {
		width: 20px;
		height: 20px;
	}

	.phone-number {
		font-size: 14.45px;
	}

	.divider {
		top: -10px;
	}
}

@media (max-width: 992px) {
	.nav-menu a {
		font-size: 12px;
	}

	.logo img {
		width: calc(312px * 0.6);
		height: calc(56.4px * 0.6);
	}

	.social-icons-container {
		height: calc(48px * 0.6);
		padding: 0 6px;
	}

	.social-icons {
		gap: 3px;
	}

	.social-icons a img {
		width: 18px;
		height: 18px;
	}

	.phone-number {
		font-size: 12.75px;
	}

	.divider {
		top: -10px;
	}
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: center;
		padding: 20px 16px;
	}

	.nav-menu {
		display: none;
	}

.nav-menu.open {
	display: block;
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	background-color: rgba(6, 68, 105, 0.9);
	/* Полупрозрачный фон */
	padding: 15px;
	/* Компактный отступ */
	z-index: 10000;
}

.nav-menu.open ul {
	flex-direction: column;
	/* Вертикальное построение меню */
	margin: 0;
	padding: 0;
}

.nav-menu.open li {
	margin: 10px 0;
	/* Отступ между пунктами меню */
	text-align: center;
}

.nav-menu.open a {
	font-size: 80%;
	/* Уменьшение шрифта на 20% */
	padding: 8px;
	/* Компактное поле для пунктов */
	color: #fff;
	text-decoration: none;
}

	.burger-menu {
		display: block;
		padding: 0;
	}

	.contact-info {
		display: none;
	}

	.social-icons-container {
		display: none;
	}

	.logo {
		flex: 1;
		text-align: left;
	}

	.logo img {
		width: calc(312px * 0.6);
		height: calc(56.4px * 0.6);
	}

	.nav-menu a {
		font-size: 16px;
	}

	.divider {
		top: -10px;
	}

	.burger-menu {
		margin-left: 7px;
	}
}

@media (max-width: 576px) {
	.nav-menu a {
		font-size: 16px;
	}

	.logo img {
		width: calc(312px * 0.6);
		height: calc(56.4px * 0.6);
	}

	.social-icons-container {
		height: calc(48px * 0.4);
		padding: 0 4px;
	}

	.social-icons {
		gap: 3px;
	}

	.social-icons a img {
		width: 16px;
		height: 16px;
	}

	.phone-number {
		font-size: 10.2px;
	}

	.divider {
		top: -10px;
	}

	.burger-menu {
		margin-left: 7px;
	}
}

/* header.css */
.menu-item.activelink.mask-next::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 47px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.menu-item.activelink.active2::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 47px;
	background-color: rgba(255, 255, 255, 0);
	border-radius: 5%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
footer {
  background-color: #171A1A;
  padding: 40px 20px;
  color: #fff;
  position: relative;
  z-index: 1;
  height: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 320px) repeat(3, 1fr);
  gap: 40px;
  padding: 0;
  margin-bottom: 30px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-logo {
  width: 320px;
  height: 40px;
  margin-bottom: 16px;
  margin-top: 0;
}

.footer-company-details {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
}

.footer-company-details a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-company-details a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

.footer-sections {
  display: contents;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.red-line {
  width: 30px;
  height: 3px;
  background-color: #FF0D1E;
  margin: 0 0 16px 0;
}

.footer-company-info,
.footer-info,
.footer-socials {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-company-info a,
.footer-info a,
.footer-socials a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-company-info a:hover,
.footer-info a:hover,
.footer-socials a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social-icon-container {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid rgba(255, 13, 30, 0.5);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.footer-social-icon-container:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 13, 30, 0.8);
}

.footer-social-icon-container a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.footer-social-icons img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Изменение цвета иконок при наведении */
.footer-social-icon-container:hover img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}

/* Специфичные цвета для ВКонтакте */
.footer-social-icon-container:hover a[href*="vk.com"] img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(5000%) hue-rotate(240deg) brightness(100%) contrast(100%);
}

/* Специфичные цвета для Telegram */
.footer-social-icon-container:hover a[href*="t.me"] img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}


.footer-social-icon-container:hover a[href*="wa.me"] img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(75%) saturate(800%) hue-rotate(85deg) brightness(100%) contrast(92%);
}


.footer-bottom {
  text-align: center;
  padding-top: 10px;
  margin-top: 20px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-bottom a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

/* Desktop large: 1200px+ */
@media (min-width: 1200px) {
  .footer-top {
    gap: 50px;
  }
}

/* Desktop medium: 1024-1199px */
@media (max-width: 1199px) {
  .footer-top {
    gap: 32px;
  }
  
  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 15px;
  }
}

/* Tablet large: 900-1023px */
@media (max-width: 1023px) {
  footer {
    padding: 30px 20px;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  
  .footer-logo-section {
    grid-column: 1 / -1;
  }
  
  .footer-company-details {
    font-size: 15px;
    margin-left: 0;
  }
  
  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 15px;
  }
}

/* Кнопка для скролла наверх */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  transform: scale(1.1);
}

/* Tablet: 768-899px */
@media (max-width: 899px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  
  .footer-logo-section {
    grid-column: 1 / -1;
    align-items: center;
  }
  
  .footer-company-details {
    align-items: center;
    text-align: center;
    margin-left: 0;
  }
  
  .footer-section {
    align-items: center;
    text-align: center;
  }
  
  .footer-company-info,
  .footer-info,
  .footer-socials {
    align-items: center;
    text-align: center;
  }
  
  .red-line {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-social-icons {
    justify-content: center;
  }
}

/* Mobile large: 480-767px */
@media (max-width: 767px) {
  footer {
    padding: 30px 15px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-logo-section {
    align-items: center;
    grid-column: 1;
  }
  
  .footer-section {
    width: 100%;
    max-width: 400px;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .footer-logo {
    width: 240px;
    height: 30px;
  }

  .footer-company-details {
    font-size: 15px;
    text-align: center;
    align-items: center;
    margin-left: 0;
  }

  .footer-section-title {
    font-size: 17px;
    text-align: center;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 15px;
    text-align: center;
    align-items: center;
  }

  .red-line {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

/* Mobile medium: 375-479px */
@media (max-width: 479px) {
  footer {
    padding: 25px 15px;
  }
  
  .footer-top {
    gap: 28px;
  }
  
  .footer-logo {
    width: 200px;
    height: 25px;
  }

  .footer-company-details {
    font-size: 14px;
  }

  .footer-section-title {
    font-size: 16px;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 14px;
  }
  
  .footer-section {
    max-width: 100%;
  }
}

/* Mobile small: 320-374px */
@media (max-width: 374px) {
  footer {
    padding: 20px 10px;
  }
  
  .footer-top {
    gap: 24px;
  }
  
  .footer-logo {
    width: 180px;
    height: 22px;
  }

  .footer-company-details {
    font-size: 13px;
  }

  .footer-section-title {
    font-size: 15px;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 13px;
  }
  
  .footer-social-icon-container {
    width: 36px;
    height: 36px;
  }
  
  .footer-social-icons img {
    width: 18px;
    height: 18px;
  }
}

.footer-item.footerselect-next {
  color: #FF0D1E;
  text-decoration: underline;
}

/* Глобальные стили для body и html */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: #000; /* Черный фон страницы */
}

.blog-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background-color: #000; /* Черный фон страницы */
    background: url('/image-fone.svg') no-repeat center center/cover;
    background-size: cover; /* Фоновое изображение */
}

.fixed-schema {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/shema.svg') no-repeat center center;
    background-size: cover;
    z-index: 0;
    opacity: 0.8;
    animation: pulse 10s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.2;
    }
}

.header, .footer {
    z-index: 1000;
    position: relative;
}

.content-wrapper {
    z-index: 1;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    text-align: center;
}

.blog-section {
    background-color: rgba(32, 35, 40, 0.5); /* Полупрозрачный темный фон */
    color: white; /* Белый цвет текста */
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7); /* Темная тень */
    max-width: 1200px;
    margin: auto;
}

.breadcrumb-container {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
}

.breadcrumb-link {
    color: #FF0D1E; /* Красный цвет ссылок */
    text-decoration: none;
    margin: 0 10px;
}

.blog-title {
    font-size: 36px;
    font-weight: 900;
    color: #FF0D1E; /* Красный заголовок */
    margin-bottom: 50px;
}

/* Секция с текстом и изображениями */
.text-image-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    text-align: justify;
}

.text-content {
    flex: 0 0 60%;
    padding-right: 20px;
}

.text-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.image-content {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 24px; /* Изменено на 24px */
}


.image-content img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.image-content img:hover {
    opacity: 1;
}

/* Обратный порядок для шахматного расположения */
.text-image-section.reverse {
    flex-direction: row-reverse;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
    }

    .text-image-section.reverse {
        flex-direction: column;
    }

    .text-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .image-content {
        margin-bottom: 20px;
    }
}

