/* ==== FAB кнопка связи ==== */
.fab-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: bottom 0.5s ease-in-out;
  pointer-events: none;
}

.fab-contact__btn,
.fab-contact__menu.is-open {
  pointer-events: auto;
}

.fab-contact__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}

.fab-contact__backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.fab-contact__menu,
.fab-contact__btn {
  position: relative;
  z-index: 2;
}

.fab-contact__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #015499;
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(1, 84, 153, 0.35);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.fab-contact__btn:hover {
  background: #013d72;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(1, 84, 153, 0.45);
}

.fab-contact__btn .fab-contact__icon-chat,
.fab-contact__btn .fab-contact__icon-close {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fab-contact__btn[aria-expanded="false"] .fab-contact__icon-close,
.fab-contact__btn[aria-expanded="true"] .fab-contact__icon-chat {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
  position: absolute;
  pointer-events: none;
}

.fab-contact__menu {
  background: #fff;
  border: 1px solid #e8e9e9;
  border-radius: 14px;
  padding: 30px 15px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}

.fab-contact__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0s;
}

.fab-contact__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3f3f40;
  text-align: center;
  margin: 0 0 8px;
}

.fab-contact__usp {
  margin: 0 0 10px;
  padding: 8px 10px;
  background: #f3f6fa;
  border-left: 3px solid #015499;
  border-radius: 6px;
  color: #015499;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.fab-contact__messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #eef0f2;
}

.fab-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 8px;
  color: #3f3f40;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  min-width: 0;
}

.fab-contact__messengers .fab-contact__item {
  gap: 8px;
  padding: 10px 6px;
}

.fab-contact__schedule {
  margin: 8px 0 0;
  padding: 8px 8px 0;
  color: #6b6b6b;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
}

.fab-contact__item > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fab-contact__item:hover {
  background: #f3f6fa;
  text-decoration: none;
  color: #015499;
}

.fab-contact__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f6fa;
  color: #015499;
}

.fab-contact__item:hover .fab-contact__icon {
  background: #e6eef7;
}

/* Tabs menu in About */
.tabs-menu {
  display: none;
}

/* Mobile menu About */
.accordion-item-header.about-item {
  background: #f3f3f3;
}

.accordion-item-header.about-item.active {
  background-color: #01549a;
  color: #fff;
}

@media (max-width: 991px) {
  .fab-contact {
    bottom: 65px;
  }

  .fab-contact.fab-contact--up {
    bottom: 270px;
  }

  /* Tabs menu in About */
  .tabs-menu {
    display: block;
    margin-top: 16px;
  }

  .tabs-menu .tabs ul li a {
    font-size: -webkit-calc(0.12658vw + 16.59494px);
    font-size: calc(0.12658vw + 16.59494px);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    white-space: nowrap;
  }

  .tabs-menu .tabs ul li a.active,
  .tabs-menu .tabs ul li a:hover {
    background: #01549a;
    color: #fff;
    border-bottom: none;
  }
}

/* Breadcrumbs: скрыть на мобильных */
@media (max-width: 767px) {
  .catalog__intro--breadcrumb {
    display: none !important;
  }
}

/* Для Retina-экранов и масштабирования */
@media (max-width: 768px) {
  .fab-contact {
    right: 15px;
    left: 15px;
  }

  .fab-contact__btn {
    width: 52px;
    height: 52px;
  }

  .fab-contact__menu {
    padding: 16px 12px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }

  .fab-contact__title {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .fab-contact__usp {
    margin-bottom: 8px;
    padding: 6px 8px;
    font-size: 1rem;
  }

  .fab-contact__messengers {
    gap: 2px;
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  .fab-contact__item,
  .fab-contact__schedule {
    padding: 6px 6px;
    gap: 10px;
  }

  .fab-contact__item {
    font-size: 1rem;
  }

  .fab-contact__schedule {
    font-size: 0.88rem;
  }

  .fab-contact__messengers .fab-contact__item {
    padding: 6px 4px;
    gap: 8px;
  }

  .fab-contact__icon {
    width: 30px;
    height: 30px;
  }

  .fab-contact__icon svg {
    width: 18px;
    height: 18px;
  }
}

.clients_slider .swiper-slide .swiper-slide--image {
  height: auto;
}

.js-contacts-btn {
  border: 0;
  background: none;
  color: inherit;
}

.contacts-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.contacts-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.contacts-popup__overlay {
  position: absolute;
  inset: 0;
}

.contacts-popup__content {
  margin-bottom: 56px;
  position: relative;
  background: #f3f3f3;
  width: 100%;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.contacts-popup__content .section__header {
  border-bottom: 1px solid #000 !important;
  padding-bottom: 10px;
}

.contacts-popup.active .contacts-popup__content {
  transform: translateY(0);
}

.contacts-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
}

.contacts-popup__close svg {
  display: block;
}

.contacts-popup__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.contacts-popup__btns {
  display: flex;
  gap: 5px;
}

.contacts-popup__btns .btn {
  margin-bottom: 0;
  width: calc((100% - 5px) / 2);
  max-height: 40px;
}

.benefits-pb-15 {
  padding-top: 0 !important;
  padding-bottom: 15px !important;
}

.new__slider__pagination {
  position: static;
  margin: auto;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.swiper-pagination-bullet-active {
  background: #015499;
}

.tabs .scroll-x {
  padding-bottom: 0;
}

.tabs ul li {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .contacts-popup {
    display: none !important;
  }
}

.fab-contact.fab-contact--up {
  bottom: 150px;
}

p {
  text-wrap: auto;
}

/* Общие стили для таблиц */
table {
  width: 100%;
  border-collapse: collapse;
}

table th {
  background: #01549a;
  color: #fff;
}

table tr th {
  padding: 5px;
}

table tr {
  background: #f7f7f7;
  color: #8a8a8a;
}

table tr:nth-child(odd) {
  background: #e7e6e6;
}

table td {
  text-align: left;
  border: 1px solid #ccc;
  padding: 5px;
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@font-face {
  font-family: 'Futurademic';
  src:
    local('Futurademic Regular'),
    local('Futurademic-Regular'),
    url('../fonts/Futurademic.woff2') format('woff2'),
    url('../fonts/Futurademic.woff') format('woff');
  font-weight: 400;
}

.swiper.new__slider.banner {
  height: auto;
}

.swiper.new__slider.banner .banner__slide {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(180deg, #f1f1f1 39.13%, #cecece 150.99%);
  position: relative;
  height: auto;
}

.banner__container {
  padding: 50px 0 20px 0;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.banner__bg {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  z-index: -1;
}

.banner__bg img {
  height: 100%;
}

.banner__labels {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: absolute;
  top: 0;
  right: 3.75rem;
  left: 3.75rem;
  z-index: 9;
}

.banner__label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 0 0 8px 8px;
  background-color: #00427a;
  color: #fff;
  font-size: 16px;
  font-family: 'Futurademic', sans-serif;
  font-weight: 600;
}

.banner__logo {
  position: absolute;
  top: 0;
  left: 3.75rem;
  z-index: 9;
  width: 90px;
  height: 90px;
}

.banner__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__content {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: auto;
}

.banner__description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.banner__title {
  max-width: 480px;
  color: #00427a !important;
  font-size: clamp(
    24px,
    24px + (56 - 24) * (100vw - 360px) / (1920 - 360),
    56px
  );
  font-family: 'Futurademic', sans-serif;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.banner__price {
  position: relative;
  padding: 10px 40px;
  color: #fff;
  font-family: 'Futurademic', sans-serif;
  font-size: clamp(
    18px,
    18px + (45 - 18) * (100vw - 500px) / (1920 - 500),
    45px
  );
  font-weight: 600;
}

.banner__price::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #00427a;
  transform: skew(-15deg);
  border-radius: 8px;
  z-index: -1;
}

.banner__price span {
  color: inherit;
  font-family: 'Futurademic', sans-serif;
  font-size: clamp(
    18px,
    18px + (45 - 18) * (100vw - 500px) / (1920 - 500),
    45px
  );
  font-weight: 600;
}

.banner__adv {
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 25%);
  border-radius: 0 16px 16px 0;
}

.banner__adv span {
  color: #00427a;
  font-family: 'Futurademic', sans-serif;
  font-size: 14px;
}

.banner__media {
  position: relative;
  max-width: 486px;
  flex: 0 1 50%;
  margin-bottom: 20px;
}

.banner__image {
  width: 100%;
}

.banner__special {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 147px;
  height: 133px;
  gap: 12px;
  position: absolute;
  top: 24px;
  right: 0;
  transform: translateX(60%);
  background-color: #d62828;
  clip-path: path(
    'M2.67951 76.2509C-0.893147 70.0629 -0.893147 62.439 2.67951 56.2509L29.3825 10C32.9552 3.81198 39.5577 0 46.703 0H100.109C107.254 0 113.857 3.81198 117.43 10L144.133 56.2509C147.705 62.439 147.705 70.0629 144.133 76.2509L117.43 122.502C113.857 128.69 107.254 132.502 100.109 132.502H46.703C39.5577 132.502 32.9552 128.69 29.3825 122.502L2.67951 76.2509Z'
  );
}

.banner__special span {
  display: inline-block;
  max-width: 115px;
  font-family: 'Futurademic', sans-serif;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

.banner__special-icon {
  width: 30px;
  height: 30px;
}

.banner .banner__slide .banner__btn {
  background-color: #00427a;
  padding: 8px 20px;
  font-family: 'Futurademic', sans-serif !important;
  font-weight: 600;
  font-size: 24px;
}

.swiper.new__slider.banner .banner__pagination {
  bottom: 0 !important;
}

@media screen and (min-width: 2200px) {
  .container-section.banner__container {
    padding: 70px 0 48px 0;
  }
}

@media (max-width: 1200px) {
  .banner__content {
    gap: 8px;
  }

  .banner__price {
    padding: 12px 20px;
  }

  .banner__media {
    max-width: 400px;
  }

  .banner__description {
    max-width: 40%;
  }
}

@media (max-width: 1080px) {
  .banner__labels {
    right: 1.75rem;
    left: 1.75rem;
  }

  .banner__logo {
    left: 1.75rem;
  }
}

@media (max-width: 992px) {
  .new__slider.banner {
    height: auto;
  }
  .swiper.new__slider.banner .banner__slide {
    height: auto;
  }
  .banner__container {
    padding: 70px 0 8px 0;
  }
}

@media (max-width: 768px) {
  .banner__container {
    padding: 70px 0 24px 0;
    justify-content: flex-start;
    align-items: flex-end;
  }

  .banner__content {
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    margin: unset;
    margin-left: 15px;
    width: 100%;
  }

  .banner__labels {
    right: 1.2rem;
    left: 1.2rem;
  }

  .banner__label {
    padding: 12px;
    font-size: 14px;
  }

  .banner__logo {
    width: 70px;
    height: 70px;
    left: 1.2rem;
  }

  .banner__description {
    flex-shrink: 0;
    flex-basis: 50%;
  }

  .banner__adv {
    padding: 8px;
    border-radius: 0 8px 8px 0;
  }

  .banner__special {
    top: unset;
    bottom: 0px;
    width: 87px;
    height: 81px;
    gap: 8px;
    transform: translateX(50%);
    clip-path: path(
      'M2.67951 50.2702C-0.893148 44.0821 -0.893147 36.4582 2.67951 30.2702L14.3825 9.99999C17.9552 3.81197 24.5577 -7.62939e-06 31.703 -7.62939e-06H55.109C62.2543 -7.62939e-06 68.8569 3.81197 72.4295 9.99999L84.1325 30.2702C87.7052 36.4582 87.7052 44.0822 84.1325 50.2702L72.4295 70.5404C68.8569 76.7284 62.2543 80.5404 55.109 80.5404H31.703C24.5577 80.5404 17.9552 76.7284 14.3825 70.5404L2.67951 50.2702Z'
    );
  }

  .banner__special span {
    font-size: 10px;
    max-width: 70px;
  }

  .banner__special-icon {
    width: 18px;
    height: 18px;
  }

  .banner__media {
    display: flex;
    justify-content: flex-end;
    max-width: 50%;
    margin-right: 46px;
    margin-bottom: 0;
  }

  .banner__image {
    width: auto;
  }

  .banner__image img {
    max-height: 280px;
  }

  .banner .banner__slide .banner__btn {
    margin-top: 16px;
  }
}

@media (max-width: 578px) {
  .banner__labels {
    right: 15px;
    left: 15px;
  }

  .banner__logo {
    left: 15px;
  }

  .banner__content {
    justify-content: space-between;
    padding-inline: 15px;
    margin-left: 0;
  }

  .banner__media {
    margin-right: 0;
  }

  .banner__special {
    transform: translateX(0);
  }

  .banner__description {
    align-items: flex-start;
    max-width: unset;
  }

  .banner__title {
    text-align: left;
  }

  .banner__price {
    padding: 8px 16px;
  }
}

/* ===== Блог: «Что читать дальше» ===== */

.ml-read-more-wrap {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .ml-read-more-wrap {
    padding-top: 4rem;
  }
}
@media (min-width: 1200px) {
  .ml-read-more-wrap {
    padding-top: 6rem;
  }
}

.ml-read-more__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ===== Блог: автор и дата (3.1) ===== */

/* Footer-блоки: дата, теги */
.ml-newsdetail-date--footer {
  font-style: italic;
  color: #999;
}

/* Дата */
.ml-newsdetail-date__updated {
  margin-left: 0.75rem;
  color: #777;
  font-size: 0.875rem;
}

/* Блок автора */
.ml-author-card {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
  margin-top: 2rem;
}
.ml-author-card__photo {
  width: 120px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.ml-author-card__info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.ml-author-card__label {
  font-size: 0.75rem;
  color: #777;
}
.ml-author-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}

/* Блок автора */
.ml-newsdetail-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: #f5f7fa;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.ml-newsdetail-author__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ml-newsdetail-author__photo--placeholder {
  background: #d0dcea;
}

.ml-newsdetail-author__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ml-newsdetail-author__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1a1a1a;
}

.ml-newsdetail-author__desc {
  font-size: 0.8125rem;
  color: #666;
}

/* ===== Блог: семантика и типографика (2.3) ===== */

/* Ссылки в тексте статьи */
.ml-newsdetail-content a {
  color: #01549a;
  text-decoration: underline;
}

.ml-newsdetail-content a:hover {
  color: #013d72;
  text-decoration: none;
}

/* Смысловое выделение */
.ml-newsdetail-content strong {
  font-weight: 700;
  color: #1a1a1a;
}

.ml-newsdetail-content em {
  font-style: italic;
  color: #3f3f3f;
}

/* Цитата */
.ml-newsdetail-content blockquote {
  border-left: 4px solid #01549a;
  margin: 1.5rem 0 !important;
  padding: 0.75rem 1.25rem;
  background: #f0f5fb;
  color: #2d2d2d;
  font-style: italic;
  border-radius: 0 4px 4px 0;
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  position: relative;
}

/* если blockquote попал в ячейку таблицы редактора */
.ml-newsdetail-content td blockquote,
.ml-newsdetail-content table blockquote {
  width: auto !important;
  max-width: none !important;
}

.ml-newsdetail-content blockquote p {
  margin-bottom: 0;
}

/* ===== Блог: панель сортировки ===== */
.page.catalog__intro {
  margin-bottom: 20px;
}
.page.catalog__intro.catalog__root {
  margin-bottom: 0 !important;
}
.ml-sort-bar {
  width: 100%;
  background: #f5f8fc;
  border-top: 1px solid #d0dce8;
  border-bottom: 1px solid #d0dce8;
  margin-top: 0 !important;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 2rem;
}
.ml-sort-bar__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.25rem;
}
.ml-sort-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(63, 63, 64, 0.15);
  border-radius: 8px;
  background: #fff;
  color: #555;
  text-decoration: none;
  font-size: 0.875rem;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.ml-sort-bar__btn:hover {
  border-color: rgba(63, 63, 64, 0.35);
  color: #222;
}
.ml-sort-bar__btn.is-active {
  border-color: #1a5fa8;
  background: #1a5fa8;
  color: #fff;
  font-weight: 500;
}

/* ===== Sort dropdown ===== */
.ml-sort-dropdown {
  position: relative;
  display: inline-block;
}
.ml-sort-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.ml-sort-dropdown__trigger svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ml-sort-dropdown.is-open .ml-sort-dropdown__trigger svg {
  transform: rotate(180deg);
}
.ml-sort-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid #d8e3ef;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 4px 0;
  list-style: none;
  margin: 0;
  min-width: 110px;
  z-index: 100;
}
.ml-sort-dropdown.is-open .ml-sort-dropdown__menu {
  display: block;
}
.ml-sort-dropdown__option {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: #444;
  text-decoration: none;
  white-space: nowrap;
}
.ml-sort-dropdown__option:hover {
  background: #f5f8fc;
  color: #1a5fa8;
}
.ml-sort-dropdown__option.is-active {
  color: #1a5fa8;
  font-weight: 600;
}

/* ===== News list wrapper ===== */
.ml-newslist {
  margin-bottom: 60px;
}
.ml-newslist-preview {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.55;
  margin: 0.5rem 0 0;
}
.ml-newslist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}
.ml-newslist-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.75rem;
  color: #1a5fa8;
  background: #e8f0fb;
  border-radius: 3px;
  white-space: nowrap;
}

/* ===== Карточка статьи ===== */
#ml-articles-list {
  row-gap: 24px;
  transition: opacity 0.15s ease;
}
.ml-newslist-container {
  display: flex;
}
.awz-news-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  border: 1px solid #d0dce8;
  border-radius: 6px;
  overflow: hidden;
}
.awz-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 16px 16px;
}
.ml-newslist-block-image img {
  display: block;
  width: 100%;
  transition: opacity 0.2s;
}
.awz-news-item:hover .ml-newslist-block-image img {
  opacity: 0.82;
}
.awz-news-item:hover .ml-newslist-title a {
  color: #1a5fa8;
}

/* ===== Load More button ===== */
.ml-load-more {
  display: block;
  margin: 2rem auto 0;
  padding: 0.75rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a5fa8;
  background: #fff;
  border: 1.5px solid #1a5fa8;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.ml-load-more:hover {
  background: #1a5fa8;
  color: #fff;
}
.ml-load-more.is-loading {
  opacity: 0.6;
  cursor: wait;
}

/* ===== Блог: оглавление ===== */
.articles__intro {
  background-image: url('/assets/img/catalog_header_bg.jpg');
  margin-bottom: 0 !important;
}
.ml-file-preview {
  max-height: 200px;
  object-fit: contain;
}
.ml-toc-wrap {
  width: 100%;
  background: #f5f8fc;
  border-top: 1px solid #d0dce8;
  border-bottom: 1px solid #d0dce8;
  margin-top: 0;
  margin-bottom: 2rem;
}
.ml-toc {
  padding: 1.25rem 1.5rem;
  margin: 0 auto;
  max-width: 1320px;
  box-sizing: border-box;
}
.ml-toc__title {
  font-size: 1rem;
  font-weight: 600;
  color: #01549a;
  margin-bottom: 0.5rem;
}
.ml-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ml-toc__item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.55rem 0;
  line-height: 1.4;
}
.ml-toc__item::before {
  content: '—';
  color: #6b8ab0;
  flex-shrink: 0;
}
.ml-toc__item--h3 {
  padding-left: 1.25rem;
  font-size: 0.92rem;
}
.ml-toc__item a {
  color: #01549a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ml-toc__item a:hover {
  color: #013d72;
}

/* ===== Блог: иерархия заголовков ===== */
.ml-newsdetail-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  color: #01549a;
}

.ml-newsdetail-content li p {
  padding-bottom: 0 !important;
}

.ml-newsdetail-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.ml-newsdetail-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #3f3f3f;
}

/* Отступ при скролле к якорю с учётом фиксированного хедера */
.ml-newsdetail-content h2[id],
.ml-newsdetail-content h3[id],
.ml-newsdetail-content h4[id] {
  scroll-margin-top: 90px;
}

/* ===== Блог: mobile-first ===== */
@media (max-width: 991px) {
  .articles__intro .catalog__intro--wrapper {
    padding: 10px 0;
    row-gap: 10px;
  }

  .articles__intro .catalog__intro--breadcrumb,
  .catalog__intro.sp-complex .catalog__intro--breadcrumb {
    display: none !important;
  }

  .articles__intro h1,
  .catalog__intro.sp-complex h1 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
  }

  .ml-article {
    display: flex;
    flex-direction: column;
  }

  .ml-newsdetail-date {
    order: 1;
  }
  .ml-newsdetail-content {
    order: 2;
  }
  .new__slider__detail {
    order: 3;
    margin: 0 0 1rem;
  }
  .ml-newsdetail-files {
    order: 4;
  }
}

/* Блок "О компании" на главной */
.about-company__text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}
.about-company__text:last-child {
  margin-bottom: 0;
}

/* Hover для соц-иконок в футере и на /contacts/ */
.footer__social a,
.contacts__block a {
  display: inline-block;
}
.footer__social a svg rect,
.footer__social a svg path,
.contacts__block a svg rect,
.contacts__block a svg path {
  transition: fill 0.2s ease;
}
.footer__social a:hover svg rect,
.contacts__block a:hover svg rect {
  fill: #015499;
}
.footer__social a:hover svg path,
.contacts__block a:hover svg path {
  fill: #fff;
}

/* Соц-иконки в .contacts__block — тот же layout что footer__socials */
.contacts__block {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

/* Нижняя строка футера: реквизиты компании + копирайт + юридические ссылки.
   Год основания (2023) вычисляется в footer.php от даты 05.06.2023. */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer__bottom--name {
  font-weight: 600;
}
.footer__bottom--slogan {
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.6;
}
.footer__bottom--copy {
  font-size: 14px;
  opacity: 0.6;
}
.footer__bottom--links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.footer__bottom--links a {
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__bottom--links a:hover {
  color: #01549a;
}
.footer__bottom--sep {
  opacity: 0.4;
}
@media (max-width: 767px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Персональный модификатор: блок контактов email/телефон/часы — вертикальная колонка
   (базовый .contacts__block — flex-row с переносом, используется ещё и для соц-иконок) */
.contacts__block--info {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Карточка «Реквизиты компании» (статичный выделенный блок с кнопками копирования/PDF).
   Лежит в обёртке .new__header, где .new__header p раздувает шрифт !important — все
   текстовые правила задаём с повышенной специфичностью .new__header .requisites… */
.new__header .requisites {
  background: #f0f4f8;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 20px 22px;
}

.requisites__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.requisites__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  color: #01549a;
}

.new__header .requisites__title {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #3f3f40;
}

.new__header .requisites__subtitle {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  opacity: 0.6;
  margin: 2px 0 0;
}

.requisites__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px 32px;
}

.new__header .requisites__col-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #01549a;
  margin-bottom: 10px;
}

.requisites__row {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid #f0f3f7;
}

.requisites__row:last-child {
  border-bottom: 0;
}

.new__header .requisites__label {
  flex: 0 0 38%;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  opacity: 0.6;
}

.new__header .requisites__value {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #3f3f40;
  word-break: break-word;
}

.requisites__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.requisites__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.requisites__btn--primary {
  background: #01549a;
  border: 1px solid #01549a;
  color: #fff;
}

.requisites__btn--primary:hover {
  background: #044376;
  border-color: #044376;
  color: #fff;
}

.requisites__btn--primary.is-copied {
  background: #2e7d32;
  border-color: #2e7d32;
}

.requisites__btn--outline {
  background: transparent;
  border: 1px solid #01549a;
  color: #01549a;
}

.requisites__btn--outline:hover {
  background: #01549a;
  color: #fff;
}

@media (max-width: 767px) {
  .new__header .requisites {
    padding: 16px;
  }
  .requisites__cols {
    gap: 14px 20px;
  }
}

@media (max-width: 575px) {
  .requisites__cols {
    grid-template-columns: 1fr;
  }
  .requisites__row {
    flex-direction: column;
    gap: 2px;
  }
  .new__header .requisites__label {
    flex-basis: auto;
  }
  .requisites__actions {
    flex-direction: column;
  }
  .requisites__btn {
    width: 100%;
  }
}

/* Блок «Наши преимущества» (advantages-block, статический, под стиль medliga) */
.advantages-block {
  padding: 20px 0 30px;
}
.advantages-block__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  padding-right: 16px;
}
.advantages-block__title {
  color: #01549a;
  font-size: calc(12.9114px + 1.6vw);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.advantages-block__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #015499;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}
.advantages-block__link:hover {
  color: #015499;
  opacity: 0.75;
  text-decoration: none;
}
.advantages-block__link svg {
  flex-shrink: 0;
}
.advantages-block__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.advantages-block__item {
  display: flex;
  flex-direction: column;
}
.advantages-block__icon {
  width: 44px;
  height: 44px;
  color: #015499;
  margin-bottom: 16px;
}
.advantages-block__icon svg {
  width: 100%;
  height: 100%;
}
.advantages-block__item-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: #3F3F40;
  margin-bottom: 8px;
}
.advantages-block__item-text {
  font-size: 14px;
  line-height: 1.5;
  color: #6B6B6B;
}
/* Узкий десктоп (1200–1399) — поджимаем gap и шрифты, чтобы 3 колонки не давили */
@media (max-width: 1399px) {
  .advantages-block__items { gap: 24px 20px; }
  .advantages-block__item-title { font-size: 16px; }
  .advantages-block__item-text { font-size: 13.5px; }
}
/* Lg (992–1199) — ещё компактнее */
@media (max-width: 1199px) {
  .advantages-block__items { gap: 20px 16px; }
  .advantages-block__icon { width: 40px; height: 40px; margin-bottom: 12px; }
}
/* Планшет (≤991) — заголовок и ссылка в строку над сеткой, сетка 2 колонки */
@media (max-width: 991px) {
  .advantages-block { padding: 16px 0 24px; }
  .advantages-block__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-right: 0;
    margin-bottom: 28px;
  }
  .advantages-block__items {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .advantages-block__item-title { font-size: 17px; }
  .advantages-block__item-text { font-size: 14px; }
}
/* Мобильный (≤575) — одна колонка, заголовок и ссылка стопкой */
@media (max-width: 575px) {
  .advantages-block { padding: 12px 0 20px; }
  .advantages-block__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 14px;
  }
  .advantages-block__link { font-size: 15px; }
  .advantages-block__items {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .advantages-block__icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .advantages-block__item-title { font-size: 16px; }
}

/* ===== Страница /about/: фон блока-анонса ===== */
body.page-about .about-anons-bg {
  background-image: url('/upload/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  border-radius: 8px;
}

/* Подзаголовки преимуществ внутри серого блока */
.sp-complex_text_grey_100 h4 {
    margin: 24px 0 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;        /* тёмный, чтобы читался на сером фоне */
}

/* Первый подзаголовок без верхнего отступа — заголовок секции уже даёт его */
.sp-complex_text_grey_100 .section__header + h4 {
    margin-top: 16px;
}

/* Абзац-описание под подзаголовком */
.sp-complex_text_grey_100 h4 + p {
    margin: 0 0 16px;
}

/* Заголовки h2 в контенте страниц ИБ 6 (О компании, FAQ, Контакты и т.д.) —
   как у .section__header (синий #01549a, тонкое начертание), но умеренного размера.
   Анонс (.about-anons-bg) исключён, чтобы не трогать его собственный стиль. */
.about__content:not(.about-anons-bg) h2 {
    color: #01549a;
    font-weight: 400;
    letter-spacing: -1px;
    font-size: clamp(22px, 1.6vw + 12px, 30px);
    line-height: 1.15;
    margin: 28px 0 16px;
}

/* Отступ при скролле к якорю оглавления (FAQ) с учётом фиксированного хедера */
.about__content h2[id] {
    scroll-margin-top: 110px;
}

/* Слайдер «Актуальные материалы» в карточке товара (#related-articles).
   Дублируем правила news.list/articles-slider/style.css: этот компонент вложен в
   catalog.element, и при кэш-хите родителя (аноним) его style.css не подключается —
   из-за чего иконка даты <img dateadd.svg> без размеров раздувалась.
   Заскоупено под #related-articles, чтобы не влиять на /articles/ и блог. */
#related-articles .ml-newslist-title {
    font-size: calc(.44304vw + 12.58228px);
    font-weight: 600;
    margin: 0;
}
#related-articles .ml-newslist-title a {
    line-height: 130%;
    font-weight: 600;
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    hyphens: auto;
    color: #272625;
    font-size: calc(.44304vw + 12.58228px) !important;
}
#related-articles .ml-newslist-date {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    padding: 3px 5px;
    color: #272625;
    font-size: 14px;
}
#related-articles .ml-newslist-date img {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    float: left;
}
