
body {
  margin: 0;
  padding: 0 16px;
  background: #11152C;
  color: white;       
  font-family: sans-serif;
  text-align: left;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 80%;          /* не шире 80% экрана */
  margin: 0 auto;          /* центрирует блок по горизонтали */
  box-sizing: border-box;   /* чтобы padding не ломал ширину */
}

header {
  position: sticky;
  top: 0;
  left: 0;
  padding: 0 16px;
  height: 100px;
  border-bottom: 2px solid #858585;
  background: #11152C;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* Категории */
.category {
  display: flex;
  overflow-x: auto;
  margin-top: 24px;
  padding: 0 16px 10px;
  margin-bottom: 24px;
}
.category .tag,
.category .tag2 {
  height: 40px;
  border-radius: 9px;
  padding: 0 12px;
  line-height: 40px;
  margin-right: 8px;
  flex-shrink: 0;
}
.category .tag {
  background: rgb(255 255 255 / 0.5);
}
.category .tag2 {
  background: rgb(30 144 255 / 0.6);
}

.category .tag.active {
  background: #2563EB;
}

h1.glow-seo {
  padding: 32px 0;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
  0% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de; }
  100% { text-shadow: 0 0 20px #fff, 0 0 30px #ff00de, 0 0 40px #ff00de, 0 0 50px #ff00de; }
}

h2, h3 {
  text-align: center;
  display: block;
  width: 100%;
  margin: 0; /* сбросим стандартные отступы, если нужно */
}

h2 {
  color: #ff7f50;
  text-align: center;
  display: block;
  width: 100%;
  margin: 0; /* сбросим стандартные отступы, если нужно */
  font-size: 36px;
}



h3 {
  color: #ffffff;
  text-align: center;
  display: block;
  width: 100%;
  margin: 16px 0; 
  font-size: 24px;
}

h3.green {
  color: #9ACD32;
  text-align: center;
  display: block;
  width: 100%;
  margin: 16px 0; 
  font-size: 24px;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}


p { text-indent: 20px; line-height: 1.5; }



.centered-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 220px;          /* теперь потолок 200 px — заметно меньше */
  height: auto;
  object-fit: contain;
}

.centered-img:hover {
  transform: scale(1.2);
}



/* Кнопки */
.shiny-button {
  padding: 12px 24px;
  border: none;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s;
  flex: 1;
  max-width: 200px; /* или любое другое значение */
  margin: 0 auto;  /* центрирование, если нужно */
  min-height: 44px;
}
.shiny-button:hover { transform: translateY(-2px); }
.button-group {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 600px) {
  .button-group { flex-direction: column; }
  .shiny-button { width: 100%; }
}




/* Галерея карточек */
.gallery-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 280px;
  max-width: 400px;
}

.description-wrapper {
  width: 100%;
  text-align: left;
  color: #cccccc;
}
.desc-title {
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
}
.desc-title:first-child { margin-top: 0; }

/* Аккордеон/скрытый текст */

.toggle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  text-align: left;
  transition: border-color 0.2s;
}
.toggle-btn:hover { border-color: #fff; }

/* Футер */
/*footer {
  margin-top: 50px;
  margin-bottom: 16px;
  padding: 0 16px;
  clear: both;          
}*/
footer {
  display: block;
  clear: both;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 16px;
  padding: 0 16px;
  box-sizing: border-box;
}

footer .logo {
  height: 44px;    
  display: block;
  margin: 0 auto;
}
footer .list-documents { margin: 24px 0; }
footer .list-documents li {
  margin-bottom: 16px;
  text-align: center;
}
footer .contact h3 {
  text-align: center;
  margin-bottom: 24px;
}
footer .contact li {
  margin-bottom: 16px;
  text-align: center;
}
footer .contact li a {
  text-decoration: underline;
  opacity: 0.5;
}
footer .rights {
  text-align: center;
  font-size: 14px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .container img {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
  }
}


.images-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* Уменьшил gap, чтобы на планшетах не было гигантских дыр между логотипами */
  gap: 60px; 
  width: 100%;
  box-sizing: border-box;
  margin: 20px 0;
}

.images-container .cms-logo {
  /* Убрал width: 100%, чтобы не конфликтовало с max-width на разных экранах */
  max-width: 200px;
  width: 100%; /* Теперь это значит "занять 100% от доступного места, но не более 200px" */
  height: auto;
  display: block;
  /* object-fit удален, он не нужен для img */
}

@media (min-width: 768px) {
  .images-container .cms-logo {
    /* Фиксированная ширина для планшетов и десктопов. 
       Теперь она не равна gap, поэтому композиция выглядит сбалансированнее */
    width: 160px; 
    max-width: none; /* Снимаем ограничение в 200px, так как задали точную ширину */
  }
}



.accordion-block {
  width: 100%;
  max-width: 60%;
  margin: 20px auto;
  background: rgba(0, 33, 55, 0.3);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}

.accordion-item.closed .hidden-part {
  display: none;
}

.visible-part {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 16px;
}

.toggle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.hidden-part {
  color: #ccc;
  line-height: 1.6;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  
}

.card.closed .hidden-part,
.accordion-block.closed .hidden-part {
  display: none;
}

/* Удали вообще этот блок, он теперь не нужен: */
/* .accordion-block.open .hidden-part { ... } */

.accordion-block.open .hidden-part {
  max-height: 800px; /* хватит даже для длинного текста */
  opacity: 1;
}






.section-block {
  margin: 40px 0;
}

.simple-form {
  background-color: #11152C;
  padding: 30px;
  border-radius: 12px;
  color: #ffffff;
  width: 60%;
  margin: 0 auto 60px auto;       /* <-- вот это меняем */
  box-sizing: border-box;
}

.simple-form input,
.simple-form textarea,
.simple-form .form-textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.simple-form input:focus,
.simple-form textarea:focus {
  outline: none;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.25);
}

.simple-form .submit-btn,
.simple-form input[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .simple-form {
    padding: 20px;
    margin: 0 0 40px 0;
  }
  
  .simple-form input,
  .simple-form textarea,
  .simple-form .form-textarea,
  .simple-form .submit-btn,
  .simple-form input[type="submit"] {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}

.responsive-iframe {
  width: 100%;
  height: 400px;          /* фиксированная высота или другое значение */
  border: none; /* часто убирают рамку */
  margin-top:32px;
  margin-bottom:32px;
}

@media (max-width: 768px) {
  .responsive-iframe {
    height: 300px;        /* уменьшаем высоту на мобильных */
  }
}

mark {
  background-color: rgba(255, 127, 80, 0.3);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-wrapper {
  text-align: center;           /* центрирует кнопку */
  margin: 30px 0;               /* отступ сверху/снизу от iframe */
}

.glow-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ff7f50 0%, #e63946 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4); /* лёгкое свечение */
  position: relative;
  overflow: hidden;
}

/* эффект при наведении */
.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 127, 80, 0.6);
  filter: brightness(1.1);
}

/* опционально: тонкая рамка-ореол для «сияния» */
.glow-btn::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 1px solid rgba(255, 127, 80, 0.5);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.glow-btn:hover::after {
  opacity: 1;
  transform: scale(1.04);
}

.services-list-simple {
  padding-left: 0;
  margin: 24px 0 0 0;
}

.services-list-simple li {
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 12px;
  list-style: none;
}

.check {
  color: #ff7f50;
  font-weight: 900;
  font-size: 1.4em;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}




.centered-list {
  display: flex;
  flex-direction: column;
  align-items: center;       /* Центрирует элементы по горизонтали */
  list-style: none;
  padding: 0;
  width: 100%;               /* Важно: пусть список растянется на всю ширину контейнера */
  box-sizing: border-box;
}

.centered-list li {
  margin: 12px 0;
  display: flex;
  align-items: center;
  width: 100%;               /* Опционально: чтобы пункты тоже были по центру */
  max-width: 600px;          /* Опционально: ограничь ширину пункта, чтобы не был слишком широким */
}

.check-icon {
  margin-right: 8px; /* дистанция между галочкой и текстом */
}

/* По умолчанию (в том числе для мобильных) */
 li {
  line-height: 1.6;
}

/* Для компьютеров (когда экран шире 768px) */
@media (min-width: 768px) {
 li {
    line-height: 1.4; /* чуть плотнее, если на ПК так лучше смотрится */
}
.element {
    margin-bottom: 20px; /* отступ снизу у каждого элемента */
  }
}


#scrollTopBtn {
  display: none;           /* Скрыта по умолчанию */
  position: fixed;         /* Фиксирована на экране */
  bottom: 30px;            /* Отступ снизу */
  right: 30px;             /* Отступ справа */
  background: #333;
  color: #fff;
  padding: 12px 16px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,.3);
  z-index: 999;
  transition: opacity .3s;
}

#scrollTopBtn:hover {
  background: #000;
  opacity: 0.9;
}

.container seo {
  width: 60%;           /* ширина 80% от родителя */
  margin: 0 auto;       /* центрирует контейнер по горизонтали */
  max-width: 1200px;    /* ограничивает ширину на больших экранах */
}

.scroll-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #11152C;
  padding: 10px;
  box-sizing: border-box;
}

.scroll-content {
  display: inline-block;
  animation: marquee 40s linear infinite;
  /* Чтобы текст не «ломался» по словам */
  white-space: nowrap; 
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.comeback{
  text-align: center;
}




         /* Стилизация кнопки виджета */
        #callback-widget {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            background-color: #ffcc00;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1000;
        } 

        /* Стилизация иконки телефона */
        #callback-widget::before {
            content: "\260E";
            font-size: 24px;
            color: #fff;
        }  

        /* Скрытие формы по умолчанию */
        #callback-form {
            display: none;
            position: fixed;
            bottom: 80px;
            left: 20px;
            padding: 20px;
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            border-radius: 5px;
            max-width: 300px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            z-index: 1001;
        }   

        /* Стилизация заголовка формы */
        h2 {
            margin-top: 0;
        }   

        /* Стилизация полей ввода */
        input[type="text"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }   

        /* Стилизация кнопки отправки */
          button {
            width: 100%;
            padding: 10px;
            background-color: #ffcc00;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }   

        /* Эффект нажатия на кнопке */
        button:hover {
            opacity: 0.8;
        }   
  
  
  
  
        
        .callback-form {
  margin-top: 15px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}

.hidden {
  display: none;
}