/* ReutPrint / Helix integration — consolidated 2026-11-14 */

/* ==========================================================
   REUT PRINT — ИКОНКИ БЕЗ FONT AWESOME
   ========================================================== */


/* ----------------------------------------------------------
   DESKTOP MEGAMENU — стрелка вниз
   ---------------------------------------------------------- */

body.ltr .sp-megamenu-parent > li.sp-has-child > a::after,
body.ltr .sp-megamenu-parent > li.sp-has-child > span::after {
  content: "" !important;

  display: inline-block;
  width: 7px;
  height: 7px;

  margin-left: 8px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  font-family: inherit !important;
  font-weight: 400 !important;

  float: none !important;
  vertical-align: middle;

  transform: rotate(45deg) translateY(-2px);
}


/* Вложенное меню — стрелка вправо */

body.ltr
.sp-megamenu-parent
.sp-dropdown
.sp-dropdown-items
.sp-has-child > a::after {
  content: "" !important;

  display: inline-block;
  width: 6px;
  height: 6px;

  margin: 5px 2px 0 8px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  font-family: inherit !important;

  float: right !important;

  transform: rotate(-45deg);
}


/* ----------------------------------------------------------
   MOBILE OFFCANVAS — стрелки вложенных пунктов
   ---------------------------------------------------------- */

.offcanvas-menu .menu-toggler::after {
  content: "" !important;

  display: block;
  width: 7px;
  height: 7px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  font-family: inherit !important;

  transform: rotate(-45deg);
}


/* Открытый пункт — стрелка вниз */

.offcanvas-menu .menu-parent-open > a > .menu-toggler::after,
.offcanvas-menu .menu-parent-open > .menu-separator > .menu-toggler::after,
.offcanvas-menu .menu-parent-open > .nav-header > .menu-toggler::after {
  transform: rotate(45deg);
}


/* ----------------------------------------------------------
   КОНТАКТЫ — общая основа
   ---------------------------------------------------------- */

.sp-contact-info > li > span {
  display: inline-block;

  width: 14px;
  height: 14px;

  margin-right: 5px;

  background-color: currentColor;

  vertical-align: -2px;

  font-size: 0 !important;
}


/* Убираем старые Font Awesome glyph */

.sp-contact-info > li > span::before {
  content: "" !important;
}


/* Телефон */

.sp-contact-mobile > span {
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M10%2018.5h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M10%2018.5h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}


/* E-mail */

.sp-contact-email > span {
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m4%207%208%206%208-6' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m4%207%208%206%208-6' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}


/* Время работы */

.sp-contact-time > span {
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12%207v5l3%202' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12%207v5l3%202' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}


/* ----------------------------------------------------------
   КНОПКА "НАВЕРХ"
   ---------------------------------------------------------- */

.sp-scroll-up > span {
  display: none !important;
}

.sp-scroll-up::before {
  content: "";

  display: inline-block;
  width: 8px;
  height: 8px;

  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;

  transform: rotate(45deg) translate(2px, 2px);
}
@font-face {
  font-family: "RP Tinos";
  src: url("../fonts/tinos/Tinos-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RP Tinos";
  src: url("../fonts/tinos/Tinos-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* =========================================================
   REUT PRINT — JOOMLA / HELIX MODULE WRAPPER RESET
   ---------------------------------------------------------
   New modules should use class "rp-module-reset" in the
   Joomla module advanced options. Legacy aliases are kept
   for backward compatibility during migration.
   ========================================================= */

.rp-module-reset,
.rp-module-reset .sp-module-content,
.rp-module-reset .mod-custom,
.rp-service-module,
.rp-service-module .sp-module-content,
.rp-service-module .mod-custom,
.rp-cta-module,
.rp-cta-module .sp-module-content,
.rp-cta-module .mod-custom,
.rp-local-module,
.rp-local-module .sp-module-content,
.rp-local-module .mod-custom,
.rp-price-module,
.rp-price-module .sp-module-content,
.rp-price-module .mod-custom,
.rp-service-calculator-module,
.rp-service-calculator-module .sp-module-content,
.rp-service-calculator-module .mod-custom,
.rp-why-module,
.rp-why-module .sp-module-content,
.rp-why-module .mod-custom {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#sp-header {
  height: 74px !important;
}

.logo-image {
  width: auto;
}

#sp-header .logo {
  height: 74px !important;
  display: flex;
  align-items: center;
}

#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
  line-height: 74px !important;
}

/* Хлебные крошки — повысить контраст */

.breadcrumb-item,
.breadcrumb-item a,
.mod-breadcrumbs,
.mod-breadcrumbs a {
  color: var(--rp-muted) !important;
}

/* =========================================================
   REUT PRINT — MEGAMENU TYPOGRAPHY
   ========================================================= */

/* Верхний уровень меню */
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
  font-size: 14px !important;
  font-weight: 600 !important;
}


/* Карточки внутри широкого MegaMenu */
#sp-header .sp-megamenu-parent .sp-mega-group > li > a {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-transform: none !important;
}

#sp-header .sp-megamenu-parent .sp-mega-group > li > a > .image-title {
  display: block !important;
  width: 100% !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-transform: none !important;
}

#sp-header .sp-dropdown .sp-dropdown-items > li > a {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

#sp-header .sp-megamenu-parent .sp-mega-group > li > a > img {
  display: block !important;
  width: auto !important;
  height: 105px !important;
  max-width: 155px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto 8px !important;
}

/* =========================================================
   REUT PRINT — меню футер
   ========================================================= */
#sp-footer ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

#sp-footer li::marker {
  content: "";
}

/* =========================================================
   REUT PRINT — MEGAMENU IMAGE CARDS
   ========================================================= */

#sp-header .sp-megamenu-parent .sp-dropdown .sp-mega-group > li > a.megamenu-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  text-align: center !important;
}

/* Картинка */
#sp-header .sp-megamenu-parent .sp-dropdown a.megamenu-link > img {
  display: block !important;

  width: auto !important;
  height: 105px !important;
  max-width: 155px !important;

  object-fit: contain !important;
  object-position: center !important;

  margin: 0 auto 8px !important;
}

/* Подпись */
#sp-header .sp-megamenu-parent .sp-dropdown a.megamenu-link > .image-title {
  display: block !important;
  width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  text-align: center !important;

  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

/* Нижняя строка футера */
.footer-credit {
  margin-left: auto;
  text-align: right;
}

/* Статичное превью карты в футере */
.rp-footer-map-frame {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.rp-footer-map-preview {
  display: block;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}

.rp-footer-map-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* =========================================================
   REUT PRINT — WIDE MEGAMENU 992–1399 px
   Для Full HD при Windows scale 125–150%
   ========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {
  /* Само широкое MegaMenu */
  #sp-header .rp-mega-docs > .sp-dropdown.sp-dropdown-mega.sp-menu-full {
    width: calc(100vw - 32px) !important;
    max-width: none !important;
  }

  #sp-header .rp-mega-docs > .sp-dropdown.sp-dropdown-mega.sp-menu-full
  .sp-dropdown-inner {
    width: 100% !important;
    padding: 22px 18px !important;
  }

  /* Колонки чуть плотнее */
  #sp-header .rp-mega-docs > .sp-dropdown.sp-dropdown-mega.sp-menu-full
  .row > [class*="col-"] {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  /* Картинки карточек */
  #sp-header .rp-mega-docs > .sp-dropdown.sp-dropdown-mega.sp-menu-full
  .sp-mega-group > li > a > img {
    height: 82px !important;
    max-width: 125px !important;
    margin-bottom: 6px !important;
  }

  /* Подписи карточек */
  #sp-header .rp-mega-docs > .sp-dropdown.sp-dropdown-mega.sp-menu-full
  .sp-mega-group > li > a,
  #sp-header .rp-mega-docs > .sp-dropdown.sp-dropdown-mega.sp-menu-full
  .sp-mega-group > li > a > .image-title {
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
  }

  /* Обычные текстовые ссылки внутри MegaMenu */
  #sp-header .rp-mega-docs > .sp-dropdown.sp-dropdown-mega.sp-menu-full
  .sp-dropdown-items > li > a {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  #sp-header .container,
  #sp-footer .container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }

  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 13px !important;
  }

  #sp-footer {
    font-size: 14px;
  }

  #sp-footer .row {
    --bs-gutter-x: 20px;
  }

  #sp-footer iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   MOBILE OFFCANVAS — TEXT LINKS
   ========================================================= */

@media (max-width: 991.98px) {

  .offcanvas-menu
  .offcanvas-inner
  ul.menu > li > ul
  li > a:not(:has(img)) {
    display: flex !important;
    align-items: center;

    min-height: 44px;

    padding-top: 7px !important;
    padding-bottom: 7px !important;

    line-height: 1.4 !important;
  }

}


/* =========================================================
   REUT PRINT — MOBILE UX FIXES 2026-11-07
   Footer map + Photo offcanvas alignment
   ========================================================= */

@media (max-width: 991.98px) {
  /* Яндекс.Карта в футере не должна выходить за экран. */
  #sp-footer .rp-footer-map-frame {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  #sp-footer .rp-footer-map-frame iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
  }
  /* Все пункты мобильного меню с картинками */
  .offcanvas-menu .menu-child > li > a:has(> img) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center !important;
  }

  .offcanvas-menu .menu-child > li > a:has(> img) > img {
    display: block;
    width: auto;
    max-width: 140px;
    height: auto;
    margin: 0 auto 8px !important;
  }

  .offcanvas-menu .menu-child > li > a:has(> img) > .image-title {
    display: block;
    width: 100%;
    text-align: center !important;
  }
  /* Нижняя строка футера: копирайт и разработчик — аккуратно по центру. */
  #sp-section-5 .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
  }

  #sp-section-5 #sp-position7,
  #sp-section-5 #sp-position8 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #sp-section-5 .sp-column,
  #sp-section-5 .sp-module,
  #sp-section-5 .sp-module-content,
  #sp-section-5 .footer-credit {
    width: 100%;
    margin: 0 !important;
    text-align: center !important;
  }

  #sp-section-5 p {
    margin: 0 !important;
    text-align: center !important;
  }
}





/* =========================================================
   REUT PRINT — MOBILE FOOTER + INFO NOTE FIXES 2026-11-07
   ========================================================= */



/*
  Плашка «Широкоформатное копирование…» находится внутри full-width
  блока прайса. Возвращаем ей те же боковые поля, что у карточек
  «Обратите внимание».
*/
@media (max-width: 820px) {
  .rp-price-page > .rp-info-note {
    margin-right: 20px;
    margin-left: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .rp-price-page > .rp-info-note {
    margin-right: 14px;
    margin-left: 14px;
  }
}

/* ==========================================================
   REUT PRINT — MOBILE OFFCANVAS ARROWS
   ========================================================== */

body.ltr .offcanvas-menu .offcanvas-inner ul.menu
.menu-parent > a > .menu-toggler,

body.ltr .offcanvas-menu .offcanvas-inner ul.menu
.menu-parent > .menu-separator > .menu-toggler,

body.ltr .offcanvas-menu .offcanvas-inner ul.menu
.menu-parent > .nav-header > .menu-toggler {
  right: 0 !important;

  width: 40px;
  height: 40px;
  padding: 0 !important;

  overflow: visible !important;
}


/* Стрелка */

.offcanvas-menu .menu-toggler::after {
  content: "" !important;

  position: absolute;
  top: 50%;
  left: 50%;

  width: 8px;
  height: 8px;

  margin: 0 !important;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  box-sizing: border-box;

  transform:
    translate(-50%, -50%)
    rotate(-45deg);
}


/* Открытый пункт — вниз */

.offcanvas-menu .menu-parent-open > a > .menu-toggler::after,
.offcanvas-menu .menu-parent-open > .menu-separator > .menu-toggler::after,
.offcanvas-menu .menu-parent-open > .nav-header > .menu-toggler::after {
  transform:
    translate(-50%, -50%)
    rotate(45deg);
}