/* === Базовые сбросы === */
*,
*:before,
*:after {
  box-sizing: border-box;
}
/* Чтобы подменю открывалось при клике на родительский пункт */
.topmenu-parent > a,
.topmenu-subtitle.is-parent {
    cursor: pointer;
    position: relative;
}
@media screen and (max-width: 30rem) {
    .gL7nN img {
        height: 40px;
    }
}
.phone-column {
    display: flex;
    flex-direction: column;
}
.text-gray {
    color: #707070;
}

.is-parent {
    position: relative;
    cursor: pointer;
}

.is-parent:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7.5555 5 5 5-5' stroke='%23171717' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s;
}

.is-parent.open:after {
    transform: rotate(180deg);
}
.oN0cC {
    display: flex;
    margin-right: 20px;
}
/*Трубка для набора -> */
/* Контейнер панели */
.top-phone-panel {
  position: fixed;
  /* Изначально прячем панель выше ее будущей рабочей позиции */
  top: -170px; 
  left: 0;
  width: 100%;
  height: 150px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99999; /* Поверх всех элементов сайта */
  transition: top 0.3s ease-in-out; /* Плавная анимация */
  
  /* Выравнивание элементов строго по центру в столбик */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px; /* Расстояние между номерами по вертикали */
  box-sizing: border-box;
}

/* Класс активируется через JS: панель встает ровно на 70px от верха */
.top-phone-panel.active {
  top: 65px;
}

/* Обертка для номеров (опционально, для удобства) */
.phone-panel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; 
}

/* Стилизация блоков с номерами */
.custom-panel-phone {
  display: flex;
  align-items: center;
}

/* Стилизация ссылок-номеров */
.custom-panel-phone a {
  font-size: 20px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #333333;
  text-decoration: none;
  border-bottom: 2px dashed transparent;
  transition: color 0.2s, border-color 0.2s;
}

/* Эффект при наведении на номер */
.custom-panel-phone a:hover {
  color: #0076a3;
  border-color: #0076a3;
  cursor: pointer;
}

/* Кнопка закрытия панели (крестик) */
.close-panel-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  color: #999999;
  cursor: pointer;
  transition: color 0.2s;
}

.close-panel-btn:hover {
  color: #333333;
}

/* <- Трубка для набора*/
/* Для мобильных подменю */
@media (max-width: 768px) {
    .lQ2sS {
        display: none;
    }
    .kP1rR.open .lQ2sS {
        display: block !important;
    }
}
.topmenu-parent > a:after,
.topmenu-subtitle.is-parent:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7.5555 5 5 5-5' stroke='%23171717' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s;
}

.topmenu-parent.open > a:after,
.topmenu-subtitle.is-parent.open:after {
    transform: rotate(180deg);
}

.topmenu-submenu {
    display: none;
}

.topmenu-parent.open .topmenu-submenu,
.topmenu-subtitle.is-parent.open + ul {
    display: block !important;
}

/* Для ссылок в подвале */
.footer__menu a:hover {
    text-decoration: underline;
}

/* Для модальных окон */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 1000;
    padding: 20px;
    border-radius: 20px;
    max-width: 90%;
    width: 500px;
}

.modal.open {
    display: block;
}
/* === Центрирование заголовка "Фасады BKK" === */
.h2.title,
h1.h2.title,
h1.title {
    text-align: center !important;
    width: 100%;
    display: block;
    padding: 0 10px;
    margin-top: 50px;
}

/* Если нужно также центрировать содержимое внутри */
.h2.title span {
    display: inline-block;
}

/* Оверлей */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.overlay.open {
    display: block;
}


/* ===== ИСПРАВЛЕННЫЙ КРЕСТИК ИЗ 4-х ЧАСТЕЙ ===== */

/* 1. Скрываем только центральные линии */
#rQ3fF.open .sR4gG, 
#rQ3fF.open .tS5hH {
    background-color: transparent !important;
}

/* 2. ЛЕВАЯ СТОРОНА (sR4gG) */
/* Верхняя левая (наклон вниз вправо) */
#rQ3fF.open .sR4gG:before {
    transform: rotate(45deg) scaleX(1.4) translate(2px, 1.5px);
}
/* Нижняя левая (наклон вверх вправо) */
#rQ3fF.open .sR4gG:after {
    transform: rotate(-45deg) scaleX(1.4) translate(2px, -1.5px);
}

/* 3. ПРАВАЯ СТОРОНА (tS5hH) */
/* Верхняя правая (наклон вниз влево) */
#rQ3fF.open .tS5hH:before {
    transform: rotate(-45deg) scaleX(1.4) translate(-2px, 1.5px);
}
/* Нижняя правая (наклон вверх влево) */
#rQ3fF.open .tS5hH:after {
    transform: rotate(45deg) scaleX(1.4) translate(-2px, -1.5px);
}



html {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  background: #fff;
  color: #171717;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 120px;
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 60px;
    font-size: 0.875rem;
    padding-bottom: 40px;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

input,
button {
  line-height: normal;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}
/*=== ИЗ app.css === */
/* === Адаптированные стили из app.css === */

/* Шапка и навигация */
.wT5zZ {
    background-color: #fff;
}

.xU6aA {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #dcdcdc;
}

@media (max-width: 1023px) {
    .xU6aA {
        display: none;
    }
}


.aE9fF {
    width: 1px;
    height: 20px;
    margin: 0 20px;
    background-color: #dcdcdc;
}

.bF0gG {
    width: 100%;
}

.cG2iI,
.dI4kK {
    white-space: nowrap;
}

.cG2iI a,
.dI4kK a {
    margin-left: 5px;
    color: #171717;
    text-decoration: none;
}

/* Основная навигация */
.fK6mM {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
}

.gL7nN img {
    max-width: 168px;
    height: 68px;
    margin-top: -2px;
}

@media (max-width: 480px) {
    .gL7nN img {
        max-width: 135px;
        height: 40px;
    }
}

.hM8oO {
    width: 100%;
}

@media (max-width: 1023px) {
    .hM8oO {
        display: none;
    }
}

.oN0cC {
    display: flex;
    margin-right: 20px;
}

.oN0cC a {
    margin-left: 15px;
    color: #171717;
}

@media (max-width: 1023px) {
    .oN0cC {
        margin-right: 0;
    }
}


@media (max-width: 1023px) {
    .vX9lL {
        display: none !important;
    }
}

/* Кнопки (адаптированные) */
.vU7jJ {
    display: block;
    padding: 0 20px;
    border-radius: 10px;
    white-space: nowrap;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    border: 0;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
}

.vW8kK {
    height: 44px;
    font-size: 0.75rem;
    letter-spacing: 0.48px;
    line-height: 2.75rem;
}

.vX9lL {
    color: #fff;
    background-color: #2f2f2f;
}

.vX9lL:hover {
    background-color: #101010;
}

/* Выпадающее меню (topmenu) */
.iN9pP {
    display: flex;
    width: 100%;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .iN9pP {
        margin-left: 0;
        flex-direction: column;
    }
}

.iN9pP > li {
    margin-right: 40px;
}

.iN9pP > li > a {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #171717;
}

.iN9pP > li > a:hover {
    color: #101010;
}

@media (max-width: 1024px) {
    .iN9pP > li {
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .iN9pP > li {
        margin-top: 20px;
        margin-right: 0;
    }
    .iN9pP > li > a {
        font-size: 1.375rem;
        font-weight: 500;
        letter-spacing: -0.44px;
        text-transform: none;
    }
}

.kP1rR {
    position: relative;
}

.lQ2sS {
    position: absolute;
    left: 0;
    width: 300px;           /* ← фиксированная ширина 300px */
    min-width: 300px;       /* на всякий случай */
    padding: 40px 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: #fff;       /* добавьте фон, чтобы содержимое не просвечивало */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* опционально: тень для красоты */
}

.kP1rR:hover .lQ2sS,
.kP1rR.touched .lQ2sS {
    opacity: 1;
    visibility: visible;
}

.kP1rR:after {
    content: "";
    position: absolute;
    left: 0;
    top: 110px;
    width: 100%;
    height: 250px;
    background: #fff;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.kP1rR:hover:after,
.kP1rR.touched:after {
}

@media (max-width: 768px) {
    .lQ2sS {
        display: none;
        position: relative;
        width: 300px;        /* ← добавить */
        padding: 0;
        opacity: 1;
        visibility: visible;
    }
    .kP1rR:hover .lQ2sS,
    .kP1rR.touched .lQ2sS {
        display: block;
    }
    .kP1rR:after {
        display: none;
    }
    .kP1rR > a {
        display: flex;
        justify-content: space-between;
    }
}

.mR3tT {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.mR3tT > li {
    width: 25%;
    margin-bottom: 15px;
}

.mR3tT > li > ul li {
    margin-top: 15px;
}

.mR3tT > li a:not(.nS4uU) {
    font-size: 1rem;
    font-family: Inter, sans-serif;
    font-weight: 400;
    color: #171717;
}

.mR3tT > li a:not(.nS4uU):hover {
    color: #101010;
}

@media (max-width: 768px) {
    .mR3tT {
        flex-direction: column;
        padding: 0;
        margin-left: 20px;
        width: auto;
    }
    .mR3tT > li {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 0;
    }
    .mR3tT > li a:not(.nS4uU) {
        font-size: 0.875rem;
    }
    .mR3tT > li > ul {
        display: none;
        margin-left: 20px;
    }
}

.nS4uU {
    font-size: 1.5rem;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    color: #171717;
}

@media (max-width: 768px) {
    .nS4uU {
        display: flex;
        justify-content: space-between;
    }
    .kP1rR > a:after,
    .nS4uU:after {
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        margin-right: -8px;
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23171717' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
    .kP1rR > a:after {
        margin-top: 7px;
    }
    .kP1rR.touched > a:after,
    .nS4uU.touched:after {
        transform: rotate(180deg);
    }
    .kP1rR.touched > a:after {
        margin-top: 4px;
    }
    .nS4uU.touched:after {
        margin-top: -4px;
    }
}

/* Подвал (адаптированный) */
.tT0gG {
    background-color: #171717;
}

.uU1hH {
    padding-top: 65px;
}

@media (max-width: 768px) {
    .uU1hH {
        padding-top: 40px;
    }
}

.wW3jJ a {
    color: #fff;
}

.zZ6mM {
    font-family: Manrope, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: 0.48px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .zZ6mM {
        font-size: 10px;
    }
    .zZ6mM.is-parent {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }
    .zZ6mM.is-parent:after {
        content: "";
        display: block;
        width: 24px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
    .zZ6mM.is-parent.touched + .jJ6wW {
        display: block !important;
    }
}

.footer__phone a {
    font-family: Manrope, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.17;
    letter-spacing: -0.48px;
    color: #707070;
}

@media (max-width: 480px) {
    .footer__phone a {
        font-size: 16px;
    }
}

.jJ6wW {
    display: block;
}

@media (max-width: 1023px) {
    .jJ6wW {
        display: none;
    }
}

.jJ6wW li {
    margin-top: 15px;
}

.jJ6wW li a {
    font-size: 0.875rem;
    color: #707070;
}

.jJ6wW li a:hover {
    color: #fff;
}

@media (max-width: 480px) {
    .jJ6wW li {
        margin-top: 10px;
    }
    .jJ6wW li a {
        font-size: 0.75rem;
    }
}

.kK7xX {
    /*margin-top: 140px;
    padding: 20px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #707070;*/
    margin-top: 45px;
    color: #888;
     display: flex;
    flex-direction: column;
    gap: 10px; /* расстояние между строками — по желанию */
}
.kK7xX .eE5rR,
.kK7xX .pP2cC {
    white-space: nowrap;
    display: block;
}

@media (max-width: 768px) {
    .kK7xX {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .kK7xX {
        /*margin-top: 40px;*/
        font-size: 12px;
    }
}

.kK7xX a {
    color: #707070;
}

.kK7xX a:hover {
    color: #fff;
}

/* Мобильная панель */
.uU7hH {
    position: sticky;
    display: none;
    align-items: center;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    z-index: 10;
    background-color: #f0f0f0;
}

.vV8iI {
    width: 25%;
    text-align: center;
}

.vV8iI a {
    font-size: 0.75rem;
    color: #959595;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

@media (max-width: 480px) {
    .uU7hH {
        display: flex;
    }
}

/* Дополнительно: цвета текста */
.text-gray {
    color: #707070;
}

.text-black {
    color: #171717;
}

.text-white {
    color: #fff;
}
/* === Утилиты === */
.vS4yY {
  max-width: 88.75rem;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .vS4yY {
    padding-left: 34px;
    padding-right: 34px;
  }
}

@media screen and (max-width: 480px) {
  .vS4yY {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.eE5rR {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.gG7tT {
  grid-column-end: span 12;
}

@media (min-width: 768px) {
  .jJ0wW {
    grid-column-end: span 6;
  }
  .lL8yY {
    grid-column-end: span 6;
  }
}

@media (min-width: 1024px) {
  .hH8uU {
    grid-column-end: span 5;
  }
  .kK1xX {
    grid-column-end: span 4;
  }
  .yY5lL {
    grid-column-end: span 4;
  }
  .hH4uU {
    grid-column-end: span 6;
  }
  .iI5vV {
    grid-column-end: span 3;
  }
  .nN0aA {
    grid-column-end: span 3;
  }
  .pP2cC {
    grid-column-end: span 2;
  }
}

@media (min-width: 1200px) {
  .lL2yY {
    grid-column-end: span 5;
  }
  .qQ7dD {
    grid-column-end: span 2;
  }
  .fF2sS {
    grid-column-end: span 8;
  }
  .gG3tT {
    grid-column-end: span 4;
  }
  .oO1bB {
    grid-column-end: span 2;
  }
}

.xX4kK {
  margin-top: 20px;
}

@media screen and (max-width: 480px) {
  .xX4kK {
    margin-top: 15px;
  }
}

.zZ2mM {
  margin-top: 30px;
}

@media screen and (max-width: 480px) {
  .zZ2mM {
    margin-top: 20px;
  }
}

.aA3nN {
  margin-top: 75px;
}

@media screen and (max-width: 1024px) {
  .aA3nN {
    margin-top: 60px;
  }
}

@media screen and (max-width: 480px) {
  .aA3nN {
    margin-top: 40px;
  }
}

.cC5pP {
  text-align: right;
}

.eE7rR {
  margin-left: auto;
}

.sP1tU {
  position: fixed;
  left: 0;
  top: 200px;
  width: 100%;
  height: 100%;
  background: rgba(23, 23, 23, 0.4);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
}

.fF6sS {
  align-items: center;
}

/* По умолчанию (для всех устройств) — скрываем */
.pO1dD {
    display: none;
}

/* На мобильных устройствах (ширина экрана меньше 1024px) — ПОКАЗЫВАЕМ */
@media (max-width: 1023px) {
    .pO1dD {
        display: flex !important;
        align-items: center;
    }
}

/* На десктопе (ширина экрана 1024px и больше) — скрываем */
@media (min-width: 1024px) {
    .pO1dD {
        display: none !important;
    }
}

@media (max-width: 1023px) {
  .vX9lL {
    display: none !important;
  }
}

.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  fill: currentcolor;
}

.icon--black {
  filter: brightness(0%);
}

/* === Кнопки === */
.vU7jJ {
  display: block;
  padding: 0 20px;
  border-radius: 10px;
  white-space: nowrap;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  border: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.vW8kK {
  height: 44px;
  font-size: 0.75rem;
  letter-spacing: 0.48px;
  line-height: 2.75rem;
}

.vX9lL {
  color: #fff;
  background-color: #474747;
}

.dD6qQ {
  width: 70px;
  height: 70px;
  display: inline-flex;
  justify-content: center;
  padding: 23px;
  border: 0;
  border-radius: 100px;
  color: #474747;
  background-color: #fff;
  text-align: center;
}

.dD6qQ--gray {
  color: initial;
  background-color: #f0f0f0;
}

@media screen and (max-width: 480px) {
  .dD6qQ {
    width: 52px;
    height: 52px;
    padding: 13px;
  }
}

/* === Фиксированная шапка === */
.tQ2vW {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 12;
}

/* === Верхняя панель === */
.xU6aA {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #dcdcdc;
}

@media (max-width: 1023px) {
  .xU6aA {
    display: none;
  }
}

/* === Стили для .yV7bB === */
.yV7bB {
    display: flex;
    align-items: center;
    justify-content: flex-end;  /* Прижимаем иконки к правому краю */
    font-size: 0.875rem;
    min-height: 44px;           /* Гарантированная высота на мобильных */
}

.yV7bB span {
    margin: 0 5px;
    white-space: nowrap;
}

.yV7bB.xY8cC,
.bF0gG.bG1hH {
    cursor: pointer;
}

.aE9fF {
  width: 1px;
  height: 20px;
  margin: 0 20px;
  background-color: #dcdcdc;
}

.bF0gG {
  width: 100%;
}

.cG2iI {
  white-space: nowrap;
}

.cG2iI a {
  margin-left: 5px;
  color: #171717;
}

.dI4kK {
  white-space: nowrap;
}

.dI4kK a {
  margin-left: 5px;
  color: #171717;
}

/* === Основная навигация === */
.fK6mM {
  display: flex;
  align-items: center;
  justify-content: space-between;
	padding: 10px 15px 10px 0;
}

.gL7nN img {
  max-width: 168px;
}

@media screen and (max-width: 480px) {
  .gL7nN img {
    max-width: 135px;
  }
}

.hM8oO {
  width: 100%;
}

@media (max-width: 1023px) {
  .hM8oO {
    display: none;
  }
}

.oN0cC {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.oN0cC a {
  margin-left: 15px;
  color: #171717;
}

@media (max-width: 1023px) {
    .oN0cC {
        margin-right: 0;
        /* Убедитесь, что display: flex не сбрасывается */
        display: flex;
    }
}

/* === Бургер-меню === */
.qP2eE {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  margin-left: 15px;
}

.sR4gG {
  position: absolute;
  top: 6px;
  height: 1.5px;
  width: 8px;
  background-color: #171717;
}

.sR4gG:before {
  content: "";
  position: absolute;
  top: -6px;
  width: 8px;
  height: 1.5px;
  background-color: #171717;
}

.sR4gG:after {
  content: "";
  position: absolute;
  top: 6px;
  width: 8px;
  height: 1.5px;
  background-color: #171717;
}

.tS5hH {
  position: absolute;
  height: 1.5px;
  width: 8px;
  top: 6px;
  left: 8px;
  background-color: #171717;
}

.tS5hH:before {
  content: "";
  position: absolute;
  top: -6px;
  width: 8px;
  height: 1.5px;
  background-color: #171717;
}

.tS5hH:after {
  content: "";
  position: absolute;
  top: 6px;
  width: 8px;
  height: 1.5px;
  background-color: #171717;
}

.qP2eE .sR4gG:before {
  transition-duration: 0.5s;
}

.qP2eE.sR4gG .sR4gG:before {
  transform: rotate(45deg) scaleX(1.2) translate(2px, 1.5px);
}

#uT6iI {
  display: none;
}

#uT6iI.sR4gG {
  display: block;
}

/* === Выпадающее меню === */
.iN9pP {
  display: flex;
  width: 100%;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .iN9pP {
    margin-left: 0;
    flex-direction: column;
  }
}

.iN9pP > li {
  margin-right: 40px;
}

.iN9pP > li > a {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.48px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .iN9pP > li {
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .iN9pP > li {
    margin-top: 20px;
    margin-right: 0;
  }
  .iN9pP > li > a {
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.44px;
    text-transform: none;
  }
}

.kP1rR {
  position: relative;
}

.lQ2sS {
  position: absolute;
  left: 0;
  margin-top: 30px;
  width: 100%;
  padding: 40px 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .lQ2sS {
    display: none;
    position: relative;
    padding: 0;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .kP1rR:after {
    display: none;
  }
}

.mR3tT {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.mR3tT > li {
  width: 25%;
  margin-bottom: 15px;
}

.mR3tT > li > ul li {
  margin-top: 15px;
}

@media (max-width: 768px) {
  .mR3tT {
    flex-direction: column;
    padding: 0;
    margin-left: 20px;
    width: auto;
  }
  .mR3tT > li {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 0;
  }
  .mR3tT > li > ul {
    display: none;
    margin-left: 20px;
  }
  .kP1rR > a:after,
  .nS4uU:after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin-right: -8px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7.5555 5 5 5-5' stroke='%23171717' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  .kP1rR > a:after {
    margin-top: 7px;
  }
}

.nS4uU {
  font-size: 1.5rem;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  color: #171717;
}

@media (max-width: 768px) {
  .nS4uU {
    display: flex;
    justify-content: space-between;
  }
}

.mR3tT > li a:not(.nS4uU) {
  font-size: 1rem;
  font-family: Inter, sans-serif;
  font-weight: 400;
}

@media (max-width: 768px) {
  .mR3tT > li a:not(.nS4uU) {
    font-size: 0.875rem;
  }
}

/* === Блок подписки === */
.bB2oO {
  background-color: #f5f5f5;
}

.cC3pP {
  padding-top: 75px;
  padding-bottom: 75px;
}

.iI9vV {
  font-family: Manrope, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.mM3zZ {
  position: relative;
  width: 100%;
}

.nN4aA {
  width: 100%;
  height: 52px;
  font-size: 16px;
  padding: 0 50px;
  border-radius: 10px;
  border: 1px solid #039;
  background-color: #fff;
}

@media screen and (max-width: 480px) {
  .nN4aA {
    font-size: 14px;
    padding-left: 20px;
    height: 44px;
  }
}

.oO5bB {
  position: absolute;
  right: 20px;
  top: 14px;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%23039"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/></svg>') no-repeat center;
  background-size: contain;
}

@media screen and (max-width: 480px) {
  .oO5bB {
    right: 15px;
    top: 10px;
  }
}

.rR8eE {
  display: inline-block;
  text-align: center;
  line-height: 44px;
}

/* === Подвал === */
.tT0gG {
  background-color: #000;
}

.uU1hH {
  padding-top: 65px;
}

.wW3jJ a {
  color: #fff;
}

.zZ6mM {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.jJ6wW li {
  margin-bottom: 12px;
}

.jJ6wW a {
  color: #ccc;
  font-size: 0.875rem;
}

.jJ6wW a:hover {
  color: #fff;
}

.kK7xX {
 /* margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.875rem;
  color: #888;*/
}

.kK7xX a {
  color: #888;
}

.kK7xX a:hover {
  color: #fff;
}

/* === Мобильная нижняя панель === */
.uU7hH {
  position: fixed;
  display: none;
  align-items: center;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  z-index: 10;
  background-color: #f0f0f0;
}

@media screen and (max-width: 480px) {
  .uU7hH {
    display: flex;
  }
}

.vV8iI {
  width: 25%;
  text-align: center;
}

.vV8iI a {
  font-size: 0.75rem;
  color: #959595;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vV8iI svg {
  width: 24px;
  height: 24px;
}

.vV8iI p {
  margin: 0;
  font-size: 0.7rem;
}

/* === Попапы === */
.wW9jJ {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  background-color: #fff;
  visibility: hidden;
  z-index: -1;
}

.bB4oO {
  font-size: 2.5rem;
  line-height: 2.875rem;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  letter-spacing: -1.28px;
}

@media screen and (max-width: 480px) {
  .bB4oO {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
}

/* === Модальные окна === */
.fF8sS {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

/* === Слайдер (из main-galery.tpl) === */
.gL4kV.mN7pQ {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sR2tX {
  display: flex;
  will-change: transform;
}

.vB5nM {
  flex: 0 0 100%;
  height: 550px;
}

.vB5nM img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.hW9jC {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  cursor: pointer;
  z-index: 15;
  margin-top: -15px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.hW9jC.xK3pL {
  left: 40px;
  transform: rotate(-135deg);
}

.hW9jC.yT8gH {
  right: 40px;
  transform: rotate(45deg);
}

.hW9jC.xK3pL:hover {
  left: 35px;
}

.hW9jC.yT8gH:hover {
  right: 35px;
}

@media (max-width: 768px) {
  .vB5nM {
    height: 360px;
  }
  .hW9jC {
    display: none;
  }
  @keyframes hintSwipe {
    0% {
      transform: translateX(-100%);
    }
    50% {
      transform: translateX(-115%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  .hint-animation {
    animation: hintSwipe 2s ease-in-out;
  }
}

#qL2wE {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

#qL2wE .vF4xG {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#qL2wE .uO9iK {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@media (min-width: 769px) {
  .hW9jC {
    width: 25px;
    height: 25px;
    border-width: 3px;
  }
}

/* === Мобильное меню (из topmenu.tpl) === */
.aB7xK {
  position: fixed;
  left: 0;
  top: 50px;
  width: 100%;
  height: 0;
  opacity: 0;
  background-color: #fff;
  visibility: hidden;
  z-index: -1;
  transition: all 0.3s ease;
}

.aB7xK.mN9pQ {
  height: auto;
  opacity: 1;
  visibility: visible;
  z-index: 100;
}

.dF4rT.vC8sH.qW3eR.tY6uI {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  max-width: 88.75rem;
  margin: 0 auto;
  padding: 20px 40px;
}

@media (max-width: 768px) {
  .dF4rT.vC8sH.qW3eR.tY6uI {
    padding: 15px 34px;
  }
}

@media (max-width: 480px) {
  .dF4rT.vC8sH.qW3eR.tY6uI {
    padding: 15px 30px;
  }
}

.pL0oK.zX1cV {
  flex: 1;
}

.jM2nB.bN5mG {
  margin-top: 20px;
}

@media (max-width: 480px) {
  .jM2nB.bN5mG {
    margin-top: 15px;
  }
}

.hG7fD {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  fill: currentcolor;
}

.hG7fD.sA4eR {
  filter: brightness(0%);
}

.hG7fD.kL9pO {
  filter: brightness(0%);
}

.wQ8tY {
  margin-left: 8px;
  color: #171717;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .wQ8tY {
    font-size: 0.875rem;
  }
}

.rT5yU.eW2qA.iU7oP.sD1fG.zL4kV.text-center.jH8kL {
  display: block;
  padding: 0 20px;
  border-radius: 10px;
  white-space: nowrap;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  border: 0;
  text-transform: uppercase;
  color: #fff;
  background-color: #474747;
  height: 44px;
  font-size: 0.75rem;
  letter-spacing: 0.48px;
  line-height: 2.75rem;
  text-align: center;
  margin-top: 20px;
  width: 100%;
  cursor: pointer;
}

@media (max-width: 480px) {
  .rT5yU.eW2qA.iU7oP.sD1fG.zL4kV.text-center.jH8kL {
    margin-top: 15px;
  }
}

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

/* === Дополнительные стили === */
h2 {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.kd-spoiler h1 {
  font-size: 27px;
  font-weight: bold;
  color: #333;
  text-align: left !important;
}

.kd-spoiler h2,
.kd-spoiler h3 {
  font-size: 22px;
  line-height: 28px;
  color: #333;
  text-align: left !important;
}

.kd-spoiler a {
  color: #474747;
}

.kd-spoiler img {
  margin: 20px 20px 20px 0 !important;
}

.kd-spoiler img[align="right"] {
  margin: 20px 0 20px 20px !important;
}

.kd-spoiler-hidden {
  clear: left;
}

.iblock_desc_read_more_toggle_down {
  color: #474747;
  text-decoration: underline;
  cursor: pointer;
}

.iblock_desc_read_more_toggle_up {
  display: none;
}

.form__file {
  display: none;
}

/* === Блок каталога === */
.xK9pL {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}

@media (max-width: 768px) {
    .xK9pL {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .xK9pL {
        padding: 10px 15px;
    }
}

.zW8qN {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .zW8qN {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .zW8qN {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

/* === Сетка каталога === */
.aH2vB {
    width: 100%;
}

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

.cM6yC {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    max-width: 1370px;
}

/* === Карточка элемента === */
.dL3wV {
    flex: 0 0 calc(25% - 22.5px);
    width: 320px;
    max-width: 320px;
    min-width: 260px;
}

@media (max-width: 1200px) {
    .dL3wV {
        flex: 0 0 calc(33.333% - 20px);
        width: auto;
        max-width: none;
    }
}

@media (max-width: 900px) {
    .dL3wV {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .dL3wV {
        flex: 0 0 100%;
    }
}

/* === Ссылка/карточка === */
.fR2sU {
    display: block;
    height: 230px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fR2sU:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* === Затемнение для читаемости текста === */
.fR2sU::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.fR2sU:hover::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* === Заголовок внутри карточки === */
.hT1pO {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0 15px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: bottom 0.3s ease;
}

.fR2sU:hover .hT1pO {
    bottom: 25px;
}

@media (max-width: 480px) {
    .hT1pO {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* === Контейнер сетки === */
.yF4rT {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px;
}

@media (max-width: 768px) {
    .yF4rT {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .yF4rT {
        padding: 10px 15px;
    }
}

/* === Flex-сетка === */
.tS8pM {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* === Карточка === */
.qW2zX {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 450px;
    min-width: 280px;
}

@media (max-width: 1024px) {
    .qW2zX {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .qW2zX {
        flex: 0 0 100%;
    }
}

/* === Контент карточки === */
.lM9oC {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lM9oC:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* === Изображение === */
.aH3nD {
    display: block;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.lM9oC:hover .aH3nD {
    transform: scale(1.02);
}

/* === Заголовок === */
.zX1cV {
    margin: 0;
    padding: 15px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-top: 1px solid #eee;
}

.zX1cV a {
    color: #171717;
    text-decoration: none;
    transition: color 0.2s ease;
}

.zX1cV a:hover {
    color: #039;
}
.text {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Десктопы — 40px */
@media (min-width: 769px) {
    .text {
        padding-left: 100px;
        padding-right: 40px;
    }
}

/* Смартфоны — 10px */
@media (max-width: 768px) {
    .text {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* === Стили для маркированных списков только внутри .text === */
.text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.text li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 50%;
}

.text li:last-child {
    margin-bottom: 0;
}