

/* Start:/bitrix/templates/pervi/styles.css?17378918045714*/
:root {
    --font-tilda: "TildaSans", sans-serif; 
    --text-color: #FF5039;
  }

body {
  margin: 0;
  font-family: var(--font-tilda);
  line-height: 1.6;
  color: #333;
}
@font-face {
    font-family: 'TildaSans';
    src: url('/bitrix/fonts/TildaSans-Regular.woff2') format('woff2'),
         url('/bitrix/fonts/TildaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Шапка */
.header {
  background: #ffffff;
  color: black;
  padding: 10px 0;
  font-family: var(--font-tilda);
}
.nav ul {
    display: flex; 
    justify-content: space-between; /* Равномерное распределение пунктов */
    list-style: none; /* Убирает маркеры списка */
    padding: 0; /* Убирает отступы */
    margin: 0; /* Убирает поля */
    text-align: center;
    align-items: stretch; /* Растягивает элементы по высоте */
    flex-wrap: nowrap; /* По умолчанию элементы не переносятся */
}
.nav ul li {
    display: flex;
    align-items: center; /* Выравнивание по вертикали */
    padding: 5px; 
}
.nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
}
@media (max-width: 768px) {
    .nav ul {
        flex-wrap: wrap; /* Разрешает перенос элементов на новую строку */
    }

    .nav ul li {
        box-sizing: border-box; /* Учитывает отступы и границы в расчете ширины */
    }
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4cbfeb;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}
.contact-button:hover {
    background-color: #4cbfeb;
}
/* Общий стиль для хлебных крошек */
.breadcrumb {
    font-family: var(--font-tilda);
    font-size: 14px;
    color: #555;
    margin: 20px 0;
    padding: 0;
}
.breadcrumb ul {
    list-style: none; /* Убираем маркеры списка */
    padding: 0;
    margin: 0;
    display: flex; /* Распределяем элементы в ряд */
}
.breadcrumb ul li {
    margin-right: 8px; /* Отступ между элементами */
    position: relative; /* Для стрелочек */
}
.breadcrumb ul li::after {
    content: "/"; /* Разделитель между элементами */
    margin-left: 8px;
    color: #ccc;
}
.breadcrumb ul li:last-child::after {
    content: ""; /* Убираем разделитель у последнего элемента */
}
.breadcrumb ul li a {
    text-decoration: none; /* Убираем подчеркивание */
    color: #007bff; /* Синий цвет для ссылок */
    transition: color 0.3s; /* Анимация смены цвета при наведении */
}
.breadcrumb ul li a:hover {
    color: #0056b3; /* Цвет при наведении */
}
.breadcrumb ul li.active {
    color: #333; /* Цвет для текущей страницы */
    font-weight: bold; /* Выделяем текст */
}
.breadcrumb ul li.active a {
    pointer-events: none; /* Убираем кликабельность для текущей страницы */
}
/* Герой */
.hero {
   position: relative; /* Для позиционирования текста */
    height: 150px; /* Высота секции */
    background-image: url('/upload/medialibrary/d3f/ijzid2c6zwi8t17s2ietdjpz2osno241.jpg'); 
    background-size: cover; /* Масштабирование картинки */
    background-position: center; /* Центровка картинки */
    display: flex; /* Для центрирования текста */
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center; /* Вертикальное центрирование */
    color: white; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Тень для читаемости текста */
}
.hero h1 {
  font-size: 2.5em;
}
.hero .button {
  background: var(—-text-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  display: inline-block;
}
/* Рабочая зона */
.work-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.work-area h1,
.work-area h2,
.work-area p {
    margin-bottom: 20px;
    color: #333;
    font-family: var(--font-tilda);
    line-height: 1.6;
}
.work-area a {
    color: #007bff;
    text-decoration: none;
}
.work-area a:hover {
    text-decoration: underline;
}
/* Подвал */
footer {
    background-color: #f4f4f4;
    padding: 20px 0;
    font-family: var(--font-tilda);
}
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}
.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;  
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin: 5px 0;
}
.footer-section ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
}
.footer-section ul li a:hover {
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    font-size: 0.8em;
    color: #777;
}

/* End */


/* Start:/bitrix/templates/.default/components/bitrix/sale.basket.basket.line/template1/style.min.css?17370167044062*/
.bx-basket-block{margin:auto;position:relative;padding-bottom:5px;padding-left:20px;white-space:nowrap;font-size:12px}.bx-basket-block>.fa{position:absolute;top:3px;left:0;width:12px;color:#97a1ab}.bx-basket-block a{margin-right:10px}@media(min-width:768px){.bx-basket-fixed{position:fixed;z-index:100;overflow:hidden;padding-top:10px;width:200px;border:1px solid #f0f0f0;border-radius:1px;background:#fff;box-shadow:0 7px 10px rgba(0,0,0,0.15)}.bx-basket-fixed.top{top:10px}.bx-basket-fixed.right{right:10px}.bx-basket-fixed.bottom{bottom:10px}.bx-basket-fixed.left{left:10px}.bx-basket-fixed.bx-max-height{top:10px;bottom:10px}.block-store-catalog-list .bx-basket-fixed.bottom{bottom:70px}}@media(min-width:768px) and (width <= 992px){.block-store-catalog-list .bx-basket-fixed.bottom{bottom:90px}}@media(max-width:767px){.bx-basket-fixed{position:fixed;right:0;bottom:0;left:0;z-index:100;overflow:hidden;padding-top:10px;border:1px solid #f0f0f0;border-radius:1px;background:#fff;box-shadow:0 7px 10px rgba(0,0,0,0.15)}.bx-basket-item-list{display:none}.block-wrapper .bx-basket-fixed{padding-top:0}.block-wrapper .bx-basket-fixed .bx-hdr-profile{display:flex;justify-content:space-between}.block-wrapper .bx-basket-fixed .bx-hdr-profile .bx-basket-block{padding-bottom:0}}.bx-basket-item-list{position:relative;overflow:hidden;padding-bottom:20px;border-top:1px solid #f7f7f7}.bx-opener .bx-basket-item-list{padding-bottom:75px}.bx-max-height .bx-basket-item-list{position:absolute;right:0;bottom:0;left:0}.bx-closed .bx-basket-item-list{overflow:hidden;height:20px}.bx-basket-item-list-action{position:absolute;right:0;bottom:0;left:0;z-index:120;padding:3px 0;height:20px;background:#f7f7f7;color:#4f4f4f;vertical-align:middle;text-align:center;font-size:12px;line-height:14px;cursor:pointer}.bx-basket-item-list-button-container{position:absolute;right:0;bottom:20px;left:0;padding:10px 0;border-top:1px solid #f7f7f7;background:#fff;text-align:center}.bx-basket-item-list-container{overflow-y:auto;max-height:100%}.bx-basket-item-list-item{position:relative;margin-bottom:15px;padding-top:15px;padding-right:10px;padding-left:10px;border-bottom:1px solid #f7f7f7}.bx-basket-item-list-container .bx-basket-item-list-item:last-child{margin-bottom:0;border-bottom:0}.bx-basket-item-list-item-status{margin:0 10px 20px;padding:3px;border-radius:3px;background:#ebebeb;text-align:center;white-space:normal;font-weight:bold;font-size:12px;line-height:16px}.bx-basket-item-list-item-img{position:relative;padding-bottom:5px;text-align:center}.bx-basket-item-list-item-img img{max-width:90px;height:auto;border:1px solid #e6e6e6}.bx-basket-item-list-item-name{padding-bottom:5px}.bx-basket-item-list-item-name a{font-size:13px;line-height:16px}.bx-basket-item-list-item-remove{position:absolute;top:-7px;right:10px;width:20px;height:20px;opacity:.5;cursor:pointer;transition:250ms linear all}.bx-basket-item-list-item-remove:after,.bx-basket-item-list-item-remove:before{position:absolute;top:50%;left:50%;display:block;width:10px;height:2px;border-radius:1px;background-color:#333;content:'';transform:translate(-50%,-50%)}.bx-basket-item-list-item-remove:after{-webkit-transform:translate(-50%,-50%) rotate(45deg);-moz-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg);-o-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg)}.bx-basket-item-list-item-remove:before{-webkit-transform:translate(-50%,-50%) rotate(135deg);-moz-transform:translate(-50%,-50%) rotate(135deg);-ms-transform:translate(-50%,-50%) rotate(135deg);-o-transform:translate(-50%,-50%) rotate(135deg);transform:translate(-50%,-50%) rotate(135deg)}.bx-basket-item-list-item-remove:hover{opacity:.7}.bx-basket-item-list-item-price-block{padding-bottom:5px;font-size:12px}.bx-basket-item-list-item-price{display:inline-block;margin-right:5px}.bx-basket-item-list-item-price-old{display:inline-block;margin-right:5px;color:#b0b0b0;text-decoration:line-through}.bx_cart_login_top .bx-hdr-profile{line-height:1.44em}
/* End */


/* Start:/bitrix/templates/pervi/template_styles.css?173840727429054*/
 /* ГЛАВНАЯ*/
body {
  font-family: 'TildaSans', sans-serif;
  src: url('/bitrix/fonts/TildaSans-Regular.woff2') format('woff2'),
         url('/bitrix/fonts/TildaSans-Regular.woff') format('woff');
  margin: 0;
  background-color: #f5f5f5;
  color: #333;
}

 /* Кнопки */
button a {
color: white !important;
text-decoration: none !important; 
}

button a:hover,
button a:focus,
button a:active {
color: white !important; 
text-decoration: none !important; 
}

 .header-2 button, .about-text button, .project-content button  {
  background-color: black;
  color: white !important;
  text-decoration: none !important;
  border: none;
  border-radius: 60px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.2px;
  background-position: center center;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  opacity: 0; /* Начальная прозрачность для анимации */
  animation: fadeInUp 1s ease-out 0.6s forwards; /* Анимация появления с задержкой */
}

.about-text h2,  .section-header h1, .steps-container h2, .plans-container h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

/* АНИМАЦИЯ */
/* Определение анимации */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px); /* Смещение вниз в начале */
    }
    to {
      opacity: 1;
      transform: translateY(0); /* Конечное положение */
    }
  }

/* Общие стили */
  .animation-section {
    opacity: 0;
    transform: translateY(50px); /* Начальное смещение вниз */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  /* Анимация появления */
  .animation-section.visible {
    opacity: 1;
    transform: translateY(0); /* Элемент возвращается на место */
  }

.animation-section h1,
.animation-section p,
.animation-section button {
opacity: 0;
transform: translateY(20px); /* Смещение вниз */
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animation-section.visible h1 {
opacity: 1;
transform: translateY(0);
transition-delay: 0.2s;
}

.animation-section.visible p {
opacity: 1;
transform: translateY(0);
transition-delay: 0.4s;
}

.animation-section.visible button {
opacity: 1;
transform: translateY(0);
transition-delay: 0.6s;
}


/* Шапка */
.header-2 {
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
opacity: 0; /* Начальная прозрачность для анимации */
animation: fadeInUp 1s ease-out forwards; /* Анимация появления */
}

.header-2 h1 {
font-size: 20 px;
font-weight: 300;
margin: 0 0 10px;
opacity: 0; /* Начальная прозрачность для анимации */
animation: fadeInUp 1s ease-out 0.2s forwards; /* Анимация появления с задержкой */
}

.header-2 p {
font-size: 16px;
margin: 0 0 30px;
opacity: 0; /* Начальная прозрачность для анимации */
animation: fadeInUp 1s ease-out 0.4s forwards; /* Анимация появления с задержкой */
}


/* КОРЗИНА */
.fa.fa-user, .fa.fa-shopping-cart {
  display: none; /* Убрали отображение значков*/
}

.bx-basket-block:nth-of-type(2) {
  display: none; /* Скрыли слово корзина из кнопки*/
  visibility: hidden;
}

.bx-basket-block a {
  display: block;
  text-align: left;
  color: black;
  text-decoration: none;
  font-weight: bold;
}
@media (max-width: 630px) {
  .bx-basket-block a {
    display: inline-block; /* Сохраняем выстраивание в линию */
    margin-right: 10px; /* Можно контролировать отступы между ссылками */
  }
}


/* Баннер */
.banner {
width: 100%; 
height: 350px; 
background-image: url('/bitrix/templates/pervi/images/banner.jpg');
background-size: contain;
background-position: center; 
background-repeat: no-repeat; 
}


/* Раздел "О нас" */
.about-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
  text-align: left;
}

.about-text {
  max-width: 500px;
}

.about-text h2 {
     text-align: left;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text ul {
  padding-left: 20px;
  margin: 0 0 30px;
}

.about-text ul li {
  font-size: 16px;
  margin-bottom: 10px;
}

.about-image img {
  max-width: 400px;
  border-radius: 16px;
}



/* для кого мы работаем */
.section-header {
  text-align: center;
  padding: 40px 20px;
}

.benefits-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.benefit-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 240px;
  padding: 20px;
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.benefit-card h2 {
  font-size: 12px;
  color: #fff;
  margin: 0;
  text-align: left;
}

.benefit-card  h3 {
  font-size: 20px;
  color: #fff;
}

.benefit-card p {
  font-size: 13px;
  color: #fff;
  text-align: left;
}



/* ПРОДУКТЫ */
.projects-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.project-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  overflow: hidden;
  flex: 1;
  min-width: 280px;
}

.project-card img {
  width: 90%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  padding: 20px;
  vertical-align: middle;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 36px;
  margin: 0 0 10px;
}

.project-content p {
  font-size: 14px;
  margin: 0 0 20px;
}

@media (max-width: 768px) {
.project-card {
width: calc(50% - 20px); /* 2 карточки на экранах до 768px */
}
.banner {
  height: 250px; 
}
.about-section {
  display: none;
}
}


@media (max-width: 480px) {
.project-card {
width: 100%; /* 1 карточка на экранах до 480px */
}
}


/* Шаги */
.steps-container {
padding: 40px 20px;
text-align: left;
background-color: #ffffff;
max-width: 800px;
margin: 0 auto;
}

.step-card {
display: flex;
align-items: center;
margin-bottom: 40px;
border-bottom: 1px solid #e5e5e5;
padding-bottom: 20px;
}

.step-circle {
font-size: 18px;
color: #fff;
font-weight: 700;
width: 60px;
height: 60px;
line-height: 60px;
border-radius: 50%;
text-align: center;
margin-right: 20px;
flex-shrink: 0;
}

.step-content h3 {
font-size: 20px;
font-weight: 700;
margin: 0 0 10px;
color: #333;
}

.step-content p {
font-size: 16px;
line-height: 1.5;
color: #666;
margin: 0;
}



/* ПЛАНЫ */
.plans-container {
padding: 40px 20px;
text-align: center;
background-color: #ffffff;
display: flex;
flex-wrap: wrap; /* Позволяет карточкам обтекать и располагаться на нескольких строках */
justify-content: center; /* Центрирует карточки по горизонтали */
gap: 20px; /* Добавляет пространство между карточками */
}

.plan-card {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 350px; /* Задаем фиксированную ширину */
height: 400px; /* Задаем фиксированную высоту */
background-color: #333;
border-radius: 16px;
padding: 20px;
text-align: left;
color: white;
box-sizing: border-box; /* Включает паддинг в общий размер */
}

.plans-container h2 {
width: 100%; /* Заголовок занимает всю ширину контейнера */
}

.plan-card h3 {
font-size: 20px;
margin-bottom: 20px;
}

.plan-card ul {
padding: 0;
margin: 0 0 20px;
}

.plan-card ul li {
font-size: 13px;
margin-bottom: 20px;
}

.plan-card button {
background-color: transparent;
color: #fff;
border: 1px solid #fff;
border-radius: 60px;
padding: 10px 20px;
font-size: 13px;
cursor: pointer;
margin-top: auto; /* Приклеивает кнопку к низу карточки */
}

.plan-card button:hover {
background-color: #f5f5f5;
color: #333;
}



/* ДРУГИЕ РАЗДЕЛЫ */


/* вернуть, когда пойму, как исправить лишь на странице продуктов)
::marker  {
  content: '>';
}*/

.news-item a, .products-item a {
  text-decoration: none;
  color: #333;
}

.news-item a:hover {
    color: blue;
}

.bx_sitemap {
  width: 100%; /* Обеспечивает, чтобы элементы не выходили за пределы экрана */
  padding: 0 15px; /* Добавляет внутренние отступы */
  box-sizing: border-box; /* Учитывает отступы и границы в расчет общей ширины */
}

.bx_sitemap_title a, .sections-container a {
  text-decoration: none;
  color: #333;
  padding-left: 20px;
  font-size: 30px;
}

.bx_sitemap_ul {
  gap: 40px; 
  width: 100%;
  justify-items: center; 
  align-items: center; 
  margin: 0 auto;
  padding: 0;
}

.bx_sitemap ul li{
  width: 100%; /* Обеспечивает, чтобы элементы не выходили за пределы экрана */
}

.bx_sitemap_li_title {
  /* поко скрою
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 200px;
  text-align: center; */ 
  font-weight: bold;
  font-size: 16px;
  padding-left: 10px;
  line-height: 1.2 !important;
}

.bx_sitemap_li_title a {
    text-decoration: none;
    color: #333;
    line-height: 1.2;
}

.bx_sitemap_li_title h2 {
  line-height: 1.2;
}

/* конечная страница каталога */
.col-xs-12 {
    font-size: 20px;
    line-height: 30px;
    width: 100%;
    padding-left: 10px;
}

.col-xs-12 h2{
  font-size: 1.5em;
  line-height: 1.2;
  color: var(--text-color);;
}

.hdr {
  line-height: 1.2; 
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0 20px;
}

.description {
  padding: 0 20px;
}
.styled-quote {
  border-left: 6px var(--text-color);;
  padding-left: 20px;
  margin: 20px 0;
  color: #555;
  background-color: #f9f9f9;
  position: relative;
  quotes: "“" "”" "‘" "’";

}

/* ТАБЛИЦЫ */
table {
  width: 100%; /* Таблица занимает всю ширину контейнера */
  border-collapse: separate; 
  border-spacing: 0; /* Убираем зазоры между ячейками */
  margin: 20px 0; /* Отступы сверху и снизу */
  font-size: 16px; 
  text-align: left; 
}
table th {
  background-color: #3FD9FF; /* Цвет фона заголовка */
  font-weight: bold; 
  text-align: center;
}

table th, table td {
  border: 1px solid #ddd; /* Границы между колонками */
  padding: 12px; /* Внутренние отступы */
}

table tr:nth-child(even) {
  background-color: #f9f9f9; /* Цвет фона четных строк */
}

table tr:nth-child(odd) {
  background-color: #ffffff; /* Цвет фона нечетных строк */
}

/* Эффект при наведении на строку */
table tr:hover {
  background-color: #f1f1f1; /* Светлый фон при наведении */
  transition: background-color 0.3s ease; /* Плавный переход */
}



 /* Секция: Папки */
 .folders-section {
    text-align: center;
    padding: 40px 20px;
  }

  .folders-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .folders {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 40px;
    flex-wrap: wrap;
  }

  .folder {
    width: 120px; 
    height: 120px; 
    padding: 10px;
    box-sizing: border-box; 
    flex-shrink: 0; /* Prevents shrinking */
  }

  .folder-link {
    text-decoration: none; 
    color: inherit; /* Сохраняем цвет текста */
    display: inline-block; /* Чтобы ссылка оборачивала весь div */
  }

 /* Секция: Эксперты */
    .experts {
        padding: 40px 20px;
        background-color: #fff;
        text-align: center;
      }
  
      .experts-container {
        display: flex;
        justify-content: space-between;
        text-align: left;
        gap: 30px;
        max-width: 900px;
        margin: 0 auto;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
      }
  
      .experts-content {
        max-width: 500px;
        padding: 20px;
      }
  
      .experts-content h3 {
        font-size: 26px; 
        color: #000; 
      }
  
      .experts-content p {
        font-size: 16px; /* Увеличен размер */
        margin-bottom: 30px;
        line-height: 1.6; /* Увеличено межстрочное расстояние */
        color: #666; /* Серый текст */
      }
  
      .experts-link {
        color:var(--text-color);
        font-weight: bold;
        font-size: 14px;
        margin-bottom: 50px;
      }
      .experts-image {
        background-image: url('/bitrix/templates/pervi/images/expert.png'); 
        background-size: contain; 
        background-repeat: no-repeat; 
        width: 25%; 
        height: auto; 
      }
 
/* для вставки видео с ютуб */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 0;
    padding-top: 56.25%; /* Соотношение 16:9 */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9; /* Современный метод контроля пропорций */
    border: none;
}

.youtube-video {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Расстояние между элементами */
  justify-content: center;
}
.youtube-video h2 {
  width: 100%; /* Заголовок занимает всю ширину */
  text-align: center; /* Центрирование текста заголовка */}

.youtube-video .area {
  flex: 1 1 calc(25% - 20px); /* 4 элемента в строке с учетом отступов */
  max-width: calc(25% - 20px); /* Ограничение ширины */
  position: relative;
  aspect-ratio: 16 / 9; /* Соотношение сторон 16:9 */
}

.youtube-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1200px) {
  .youtube-video .area {
      flex: 1 1 calc(33.33% - 20px); /* 3 элемента в строке на узких экранах */
      max-width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .youtube-video .area {
      flex: 1 1 calc(50% - 20px); /* 2 элемента в строке на мобильных устройствах */
      max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .youtube-video .area {
      flex: 1 1 100%; /* 1 элемент в строке на очень узких экранах */
      max-width: 100%;
      aspect-ratio: 16 / 9; /* Соотношение сторон 16:9 */

  }
}


/* хлебные крошки*/
.breadcrumbs a{
  text-decoration: none;
  color: lightgrey;
  padding-left: 20px;
} 

/* Раздел СПРАВКА*/
.container-wrap{
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-gap: 20px;
}
.sidebar {
  width: 200px;
  background-color: #f4f4f4;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  height: 100vh; /* Высота сайдбара по всей высоте экрана */
  overflow: auto; /* Добавляет прокрутку, если содержимое превышает высоту */

}
.sidebar nav ul {
  list-style: none;
  padding: 0;
}
.sidebar nav ul li {
  margin: 15px 0;
}
.sidebar nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.spravka-container {
  padding: 20px;
  display: flex; /* Меняем grid на flex для более точного центрирования */
  flex-direction: column; /* Располагаем элементы вертикально */
  align-items: center; /* Горизонтальное центрирование */
  justify-content: center; /* Вертикальное центрирование */
  text-align: center; /* Центрирование текста внутри элементов */
  width: 100%; /* Устанавливаем ширину контейнера */
}

.spravka-container h1 {
  margin: 0px; 
}

.spravka-container p {
  margin: 0px; 
}
.spravka-content {
  padding: 20px;
  flex: 1;
  margin-bottom: 70px;
}


.info-table {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%; /* Обеспечивает, чтобы контейнер не выходил за пределы экрана */
  margin: 0 auto; /* Центрирует контейнер по горизонтали */
}

.column {
  flex: 1 1 calc(25% - 20px); /* 4 колонки */
  box-sizing: border-box;
}
.column h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
  text-transform: uppercase;
}

.column h2 a,
.column ul a,
.sidebar nav ul a{
  color: black; 
  text-decoration: none; 
}

.column h2 a:hover,
.column h2 a:focus,
.column h2 a:active, 
.column ul a:hover,
.column ul a:focus,
.column ul a:active{
  color: blue; 
  text-decoration: none; 
}

.column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.column ul li {
  font-size: 1rem;
  margin-bottom: 5px;
  line-height: 1.5;
}
.column ul li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .container-wrap {
    grid-template-columns: 1fr; /* Убираем фиксированное разделение на 2 колонки */
  }
  
  .sidebar {
    display: none;
  }

  .spravka-container {
    padding: 10px; /* Уменьшаем отступы для небольших экранов */
    justify-content: flex-start; /* Делаем текст более распределённым */
    width: 100%;
  }

  .spravka-content {
    margin-left: 0;
    width: 100%; /* Растягиваем содержимое */
    
  }
  .column {
    flex: 1 1 100%; /* Одна колонка на маленьких экранах */
  }
  .row {
    flex-direction: column;
    gap: 10px;
    width: 100%; /* Обеспечиваем, чтобы контейнер не выходил за пределы экрана */
  }
  .button.orange {
    padding: 10px 15px; 
    font-size: 12px; 
    max-width: none; 
  }

  .hdr {
    line-height: 1.1; 
    margin-top: 0px;
    font-size: 26px; 
    padding: 15px;
    margin-bottom: 0px;
  }

  .description {
    font-size: 19px; 
    line-height: 1.2; 
    padding: 15px;
  }
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.button.orange {
  display: flex;
  margin-top: 40px;
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid var(--text-color);;
  color: var(--text-color);
  border-radius: 60px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  text-decoration: none; 
  width: auto; /* Убираем растяжение на весь экран */
  max-width: 150px; /* Ограничиваем максимальную ширину */
  white-space: nowrap; /* Запрещаем перенос текста */
}

.button.orange:hover {
  background-color: var(--text-color);;
  color: #fff; 
}



/* Раздел ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ*/
.lk-container {
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  margin: 20px auto;
  padding: 20px;
}

/* ПРОФИЛЬ */
/* Общий стиль контейнера */
.lk-profile {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden; /* Обрезает всё, выходящее за границы */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 0;
}

/* Стили для фона */
.lk-profile-header {
  position: relative;
  width: 100%;
  height: 300px; /* Высота контейнера */
  overflow: hidden;
  z-index: 1;
}

.lk-profile-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: 2;
}

/* Фото профиля в круге */
.lk-profile-photo {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
  margin-bottom: 10px;
  z-index: 3;
  top: 15%;
  left: 20px;
}


.lk-profile-header h1 {
  position: absolute;
  margin: 0;
  font-size: 26px;
  color: white;
  z-index: 3;
  top: 65%;
  left: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.lk-profile-header p {
  position: absolute;
  margin: 5px 0;
  color: white;
  font-size: 16px;
  z-index: 3;
  top: 80%;
  line-height: 1.2;
  left: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.lk-profile-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.lk-profile-text {
  flex: 1;
  gap: 5px;
  font-size: 18px;
}

.lk-contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: 1;
}

.lk-contact-buttons img {
  width: 30px;
  height: 30px;
}

.lk-contact-buttons button, .lk-actions button {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 5px 20px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  width: 150px;
  height: 30px;

}
.lk-actions button {
  background-color: #0073b1; 

}

.lk-actions {
  padding: 20px;
}

.lk-actions-container {
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  height: 30px;
  margin-bottom: 20px;
}

.lk-actions h2 {
  font-size:18px;
  margin: 0;
}

.lk-actions p {
  font-size: 14px;
  color: #666;
}

.lk-action-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap; 
}

.lk-action-tabs button {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #000;
}


.lk-action-tabs button:hover {
  background-color: #e9e9e9;
}

.lk-action-tabs button.active {
  background-color: #0073b1;
  color: #fff;
  border-color: #0073b1;
}

.lk-posts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;

}

.lk-post {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  width: 100%; 
}

.lk-post-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.lk-post-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.lk-post-header .author {
  font-weight: bold;
  font-size: 16px;
}

.lk-post-header .position {
  font-size: 12px;
  color: #666;
}

.lk-post-content {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.lk-post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.lk-post-actions svg {
  width: 16px;
  height: 16px;
  fill: #666;
  cursor: pointer;
}

.lk-post-actions svg:hover {
  fill: #0073b1;
}

.load-more {
  text-align: center;
  margin-top: 20px;
}

.load-more a {
  font-size: 14px;
  color: #0073b1;
  text-decoration: none;
}

.load-more a:hover {
  text-decoration: underline;
}


.lk-content-section {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding: 20px;
}

.lk-content-section h2 {
  font-size: 18px;
}

.experience {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.experience-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #ddd;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.experience-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.experience-item div {
  flex: 1;
}

.experience-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.experience-item p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
}

.experience-item span {
  display: block;
  font-size: 13px;
  color: #888;
}

@media (max-width: 600px) {
.lk-container {
padding: 0;
}

.lk-action-tabs button {
flex: 1 1 30%;  /* По 3 кнопки в ряд (примерно 30% для каждой кнопки) */
padding: 4px 4px;
}

.lk-profile-text {
font-size: 14px;
}
.lk-sidebar {
  display: none;
}

.lk-sidebar h3 {
  font-size: 12px;  /* Уменьшаем шрифт на мобильных устройствах */
}

.lk-sidebar ul {
  font-size: 10px;  /* Уменьшаем шрифт на мобильных устройствах */
}
}
 

/* САЙДБАР */

.lk-sidebar {
  flex: 1;
  margin-left: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lk-sidebar h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.lk-sidebar ul {
  list-style: none;
  padding: 0;
}

.lk-sidebar ul li {
  margin-bottom: 10px;
}

.lk-sidebar ul li a {
  text-decoration: none;
  color: #0073e6;
}


/* ФОРМА ОБРАТНОЙ СВЯЗИ*/

.form-container {
  max-width: 500px;
  margin: 50px auto;
  background-color: #fff;
}

 .form-header {
            background-color: #8bdaff;
            padding: 0 20px 20px 20px;
            text-align: center;
        }

        .form-header h1 {
            font-size:36px;
            margin-bottom: 30px;
            margin-top: 0;
            color: #000;
             }

        .form-header p {
            font-size: 20px;
            margin: 5px 0 0;
            color: #333;
        }

        /* Стили для телефонов (ширина экрана до 768px) */
@media (max-width: 768px) {
    .form-header h1 {
        font-size: 26px;
    }

    .form-header p {
        font-size: 14px;
    }
}

        .form-body {
            padding: 20px;
        }

        .form-group {
            margin-bottom: 15px;
            position: relative;
        }

        .form-group label {
            display: block;
            font-size: 18px;
            margin-bottom: 5px;
            color: #333;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            font-size: 14px;
            border: none;
            outline: none;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #aaa;
        }

        .form-group select {
            appearance: none;
            background-color: #fff;
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 10px;
 
        }

        .form-group textarea {
            resize: none;
            height: 100px;
        }

        .form-group + .divider {
            height: 1px;
            background-color: #ccc;
            margin-bottom: 30px;
            margin-top: 0;

        }

        .form-submit {
            text-align: center;
        }

        .form-submit button {
            background-color: #8bdaff;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            color: #fff;
            border-radius: 25px;
            cursor: pointer;
        }

        .form-submit button:hover {
            background-color: #90c1de;
        }

        .phone-input {
            display: flex;
            align-items: center;
        }

        .phone-input input {
            flex: 1;
            border: none;
            outline: none;
        }

        .dropdown-arrow {
    position: absolute;
    right: 10px;
    font-size: 10px;
    color: #ccc;
    pointer-events: none; /* Стрелка не будет реагировать на клики */
}

.dropdown-select:focus + .dropdown-arrow {
    color: #8bdaff; /* Цвет стрелки при фокусе на поле */
}

  /* Стиль для сообщения */
  .success-message {
            display: none; /* Изначально скрыто */
            background-color: #9bd59b;
            color: white;
            padding: 20px;
            text-align: center;
            border-radius: 8px;
            font-size: 18px;
            margin-top: 20px;
        }
/* End */
/* /bitrix/templates/pervi/styles.css?17378918045714 */
/* /bitrix/templates/.default/components/bitrix/sale.basket.basket.line/template1/style.min.css?17370167044062 */
/* /bitrix/templates/pervi/template_styles.css?173840727429054 */
