body {
	margin: 0;
    overflow-x: hidden;
}

a:link {color:#fff;}
a:visited {color:#fff;}
a:hover {color:#fff;}
a:active {color:#fff;} 

.bg-header-image-container {
    width: 100vw;
    height: 1080px;
    position: relative; /* важно для позиционирования псевдоэлемента */
    overflow: hidden; /* чтобы не было вылета при скейле */
    display: block;
}

.bg-header-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/bitrix/templates/tulachermet/images/tulach_panorama.webp') no-repeat;
    background-size: cover;
    /* background-position: 90% 90%; начальная точка фокуса — справа снизу (можно регулировать) */
    transform: scale(1); /* нормальный масштаб */
    background-position: center center; /* плавно переходит в центр */
    /* Анимация */
    /* animation: zoomOutBackground 6s ease-out forwards; */

    z-index: 0;
    pointer-events: none;
}

@keyframes zoomOutBackground {
    0% {
        transform: scale(1.8); /* начальное приближение (увеличенная картинка) */
        background-position: 90% 90%; /* фокус на правом нижнем углу */
    }
    80% {
        transform: scale(1.8); /* начальное приближение (увеличенная картинка) */
        background-position: 90% 90%; /* фокус на правом нижнем углу */
    }
    100% {
        transform: scale(1); /* нормальный масштаб */
        background-position: center center; /* плавно переходит в центр */
    }
}


@font-face {
    font-family: 'TT Hoves';
    src: 
        url('/bitrix/templates/tulachermet/fonts/TTHoves-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Оптимизация загрузки */
}

@font-face {
    font-family: 'TT Hoves';
    src: 
        url('/bitrix/templates/tulachermet/fonts/TTHoves-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* Оптимизация загрузки */
}

@font-face {
    font-family: 'TT Hoves';
    src: 
        url('/bitrix/templates/tulachermet/fonts/TTHoves-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap; /* Оптимизация загрузки */
}

@font-face {
    font-family: 'TT Hoves';
    src: 
        url('/bitrix/templates/tulachermet/fonts/TTHoves-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap; /* Оптимизация загрузки */
}


.title-text {
    font-family: "TT Hoves", sans-serif;
    font-weight: 250;
    font-style: normal;
    font-size: 32px; /* Уменьшено для мобильных экранов */
    line-height: 120%; /* Оптимальная высота строки для мобильных */
    letter-spacing: 0;
    text-align: right;
    vertical-align: middle;
    text-transform: uppercase;
    /* text-overflow: clip; */
    color: #FFF;
    animation: textSlideIn 3.0s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    transform: translateY(100%);
    opacity: 0; /* Обязательно для анимации */
    /* word-wrap: break-word; /* Перенос длинных слов */
    /* hyphens: auto; Опционально: мягкий перенос слов */ 
    margin: 0;
    padding-right: 16px; /* Отступ от края экрана */
    padding-left: 16px;
}

/* Дополнительно: адаптация под разные размеры экранов (планшеты, крупные смартфоны) */
@media (min-width: 768px) {
    .title-text {
        font-size: 48px;
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (min-width: 1024px) {
    .title-text {
        font-size: 64px;
        padding-right: 0;
        padding-left: 0;
    }
}

@keyframes textSlideIn {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    70% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.overflow-container {
    overflow: visible; /* Обрезаем всё, что выходит за границы */
    text-align: right;
    position: relative;
    height: 75px; /* Задай высоту строки, чтобы обрезка работала */
}

.title-text-container {
    max-width: 1214px;
    top: 12px;
    right: 120px;
    position: relative;
    margin-top: 200px;
    margin-bottom: 740px;
    display: flex;
    flex-direction: column;
    overflow: visible; /* Обрезаем всё, что выходит за границы */
        margin-left: auto;
    margin-right: auto;
    transform: translateX(110px);
}


/* ------------------------------------------ */
/* Всплывающее окно cookie */
/* ------------------------------------------ */

.cookie-banner {
    position: fixed;
    bottom: 0px;
    left: 20px;
    transform: translateX(0%);
    max-width: calc(100% - 90px);
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    z-index: 1000;
    bottom: 20px;
    display: none;
    height: 114px;
    /* margin: 20px; */
}



@media (min-width: 1600px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        font-size: 20px; /* Размер шрифта */
    }

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

    .form-group-field-input {
        font-size: 16px;
    }

    .cookie-text {
        font-size: 16px;
    }

    .cookie-text a {
        font-size: 16px;
    }
}

/* Десктопная версия */
@media (min-width: 967px) {
    .cookie-banner {
        position: fixed;
        bottom: 0px;
        right: 0;
        left: unset;
        transform: translateX(0);
        /* max-width: 90%; */
        width: 382px;
        height: 114px;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        padding: 25px;
        z-index: 1000;
        display: none;
        margin: 20px;
    }
}

/* Текст уведомления */
.cookie-text {
    font-family: "TT Hoves";
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #414141;
}

@media (max-width: 1600px) {
    .cookie-text {
        font-size: 12px;
    }
    .cookie-text a{
        font-size: 12px !important;
    }
}

.cookie-text a {
    font-family: "TT Hoves";
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: baseline;
    text-decoration: underline !important;
    text-decoration-style: solid !important;
    text-decoration-thickness: 0% !important;
    text-decoration-skip-ink: auto !important;
    color: #414141 !important;
}


.cookie-banner .close-btn {
    top: 0px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    z-index: 1001; /* чтобы кнопка была поверх контента */
}


/* Мобильная адаптация */
@media (max-width: 1600px) {

    
    /* Корректируем кнопку закрытия */
    .close-btn {
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
}

/* Текст уведомления */
.cookie-title {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #222;
    text-align: center;
    line-height: 1.5;
}

/* Стили кнопки (как в вашем примере) */
.cookie-btn {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    background-color: #414141;
    border-radius: 5px;
    border-width: 0;
    padding: 10px 16px 12px 16px;
    width: 100%;
    height: 50px;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 85px;
    height: 34px;
}

.cookie-btn:hover {
    background-color: #000000;
}

/* Затемнение фона */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Полупрозрачное затемнение */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}




@media (max-width: 1200px) {

}

/* ------------------------------------------ */


/* Убеждаемся, что header остается фиксированным на десктопе */
.header {
    position: absolute  !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 250px !important; /* Фиксированная высота header */
    /* z-index: 1000 !important; */
}

.header-404 {
    background: linear-gradient(90deg, #006EB7 0%, #0B91DB 100%);
    height: 160px !important;
}



.container-404 {
    width: 100%;
    height: auto;
}

.container-404-inner {
    width: 485px;
    margin: 300px auto 300px auto;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 10px;
}

.page-not-found {
    font-family: "TT Hoves";
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 3%;
    text-transform: uppercase;
    color: #006EB7;
}

.page-404 {
    font-family: "TT Hoves";
    font-weight: 400;
    /* font-style: Bold; — это неверно, font-style может быть normal/italic/oblique */
    font-size: 202px;
    line-height: 130%;
    letter-spacing: 0.03em; /* исправил: 3% → 0.03em (или просто 3px), % здесь не работает как ты думаешь */
    text-transform: uppercase;

    /* Градиент для текста */
    background: linear-gradient(90deg, #006EB7 0%, #0B91DB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* fallback для старых браузеров */
}

.page-not-found-desc {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #41494C;

}

.page-not-found-button {
    border: none;
    width: 309px;
    height: 60px;
    background: #006EB7;
    color: #FFF;
    border-radius: 10px;
}


/* Мобильные устройства (до 768px) */
@media (max-width: 767px) {

    .header-404 {
        height: 160px !important; /* уменьшаем шапку */
    }

    .container-404-inner {
        width: 90%; /* резиновая ширина вместо 485px */
        padding: 0 15px;
        gap: 15px; /* чуть больше отступ между элементами */
    }

    .page-not-found {
        font-size: 16px;
        letter-spacing: 0.02em;
        text-align: center;
    }

    .page-404 {
        font-size: 80px; /* сильно уменьшаем гигантский текст */
        font-weight: 700; /* оставим жирным для акцента */
        letter-spacing: 0.02em;
        line-height: 1.2; /* чуть сжимаем, чтобы не занимал много места */
        background: linear-gradient(90deg, #006EB7 0%, #0B91DB 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .page-not-found-desc {
        font-size: 16px;
        padding: 0 10px;
    }

    .page-not-found-button {
        width: 100%; /* растягиваем на всю ширину контейнера */
        max-width: 309px; /* но не больше оригинала на десктопе */
        height: 50px;
        font-size: 16px;
        border-radius: 8px;
    }
}

/* Планшеты и маленькие десктопы (768px–1023px) — опционально */
@media (min-width: 768px) and (max-width: 1023px) {

    .container-404-inner {
        width: 90%;
    }

    .page-404 {
        font-size: 140px;
    }

    .page-not-found-button {
        width: 100%;
        max-width: 309px;
        height: 55px;
    }
}


.header-container {
    padding-top: 30px;
    display: flex;
    justify-content: flex-start; /* Выравниваем по левому краю */
    align-items: center;
    /* padding: 15px; */
    max-width: 1214px;
    margin: 0 auto;
    position: relative;
    /* border-bottom: 1px solid #D2D2D2; */
    gap: 20px; /* Отступ между логотипом и навигацией */
    height: 102px;
}

.nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    flex-grow: 1; /* Занимаем все доступное пространство */
    display: flex;
    justify-content: flex-end; /* Прижимаем навигацию к левому краю */
    align-items: center;
}



a:link {
    color: #FFFFFF;
    text-decoration: none;
}

.tulach-logo {
    height: 65px;
    width: 200px;
}



/* Общие стили для навигации */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__item--parent {
    margin-bottom: 20px;
    font-family:"TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 3%;
    
}

.nav__item--parent::marker {
    display: none;
    color: transparent
    
}

.nav__link {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  list-style: none;
}

/* Десктопное меню - показываем на больших экранах */
.nav--desktop {
  display: flex;
  padding: 15px;
}

.nav--desktop .nav-list {
  display: flex;
  gap: 30px;
}

.nav--desktop .nav__item--parent {
  margin-bottom: 0;
}

/* Мобильное меню - скрываем по умолчанию */
.nav--mobile {
  display: none;
}

/* Бургер-кнопка - скрываем по умолчанию */
.burger {
  display: none;
}

/* Мобильные стили - показываем бургер и скрываем десктоп меню */
@media screen and (max-width: 768px) {
  .nav--desktop {
    display: none;
  }

  .tulach-logo {
    margin-left: 15px;
    }
    
    .burger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px 0; /* Добавляем отступы сверху и снизу */
    box-sizing: content-box;
    margin-top: 40px;
    }

    .burger__line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #FFFFFF; /* Белый цвет */
    transition: all 0.3s ease;
    }

    /* Создаем три полоски */
    .burger__line:nth-child(1),
    .burger__line:nth-child(2),
    .burger__line:nth-child(3) {
    background-color: #FFFFFF; /* Убеждаемся, что все полоски белые */
    }

    /* Опционально: анимация превращения в крестик при открытии меню */
    .burger.open .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    }

    .burger.open .burger__line:nth-child(2) {
    opacity: 0;
    }

    .burger.open .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    }

/* Мобильная навигация */
.nav--mobile {
  display: block;
  position: fixed;
  top: 0;
  right: -320px; /* Ширина 320px */
  width: 320px; /* Ширина 320px */
  height: 100vh;
  background-color: #006EB7; /* Синий фон */
  box-shadow: -2px 0 5px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 100px 20px 20px;
  box-sizing: border-box;
}

.nav--mobile.open {
  right: 0;
}

.nav--mobile .nav-list {
  display: block;
}

/* Стили для ссылок в мобильном меню */
.nav--mobile .nav__item--parent {
  margin-bottom: 20px;
  text-align: right; /* Текст по правому краю */
}

.nav--mobile .nav__link {
  font-family: "TT Hoves", "TTHoves-Regular", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 130%; /* 130% */
  letter-spacing: 3%;
  text-align: right;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  color: #FFFFFF; /* Белый текст */
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: opacity 0.3s ease;
}



.nav--mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; /* Прижимаем к левому краю */
    width: 320px; /* Ширина равна ширине меню */
    height: 100vh; /* Высота на всю высоту меню */
    background: url('/bitrix/templates/tulachermet/images/img_bg_footer.png') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    transform: rotate(0deg); /* Поворот на 90 градусов */
    transform-origin: left center; /* Точка вращения - левый центр */
}



.nav--mobile .nav__link:hover {
  opacity: 0.8;
}
}


/* ===================== */

.about-factory-section {
    width: 1214px;
    height: 674px;
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
}

.about-factory-title-section {
    width: 100%;
    height: 234px;
    min-height: 234px;
}

.about-factory-title {
    margin-bottom: auto;
    margin-top: auto;
    font-size: 64px; /* Уменьшаем шрифт навигационных элементов */
    display: flex;
    align-items: center; /* Центрируем по вертикали */
    height: 100%; /* Занимаем всю высоту */
    font-weight: 250;
    font-family: "TT Hoves";
    color: #006EB7;
}

.about-factory-information-section {
    width: 100%;
    height: 674px;
    min-height: 674px;
    display: flex;
}

.about-factory-description-section {
    display: flex;
    flex-direction: column;
    width: 510px;
    height: 406px;
    gap: 12px;
}

.about-factory-description {
    margin-bottom: auto;
    margin-top: auto;
    font-size: 20px; /* Уменьшаем шрифт навигационных элементов */
    display: flex;
    align-items: center; /* Центрируем по вертикали */
    font-weight: 400;
    font-family: "TT Hoves";
    color: #41494C;
    line-height: 1.4;
}


/*=====================================*/

.about-factory-disclosure-button-container {
    /* Можно оставить для обёртки, если нужно выравнивание */
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    transition: all 0.4s ease;
}

.disclosure-button:hover .button-svg-wrapper {
    transform: translateX(10px);
}

.disclosure-button {
    /* Сброс стилей кнопки */
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    /* Шрифт */
    font-family: "TT Hoves", "TTHoves-Regular", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1; /* 100% */
    letter-spacing: 3%;
    color: #006EB7;
    /* Выравнивание содержимого */
    display: flex;
    align-items: center;
    gap: 12px; /* Расстояние между текстом и иконкой */
    /* Высота кнопки */
    height: 48px;

    /* Для фокуса (опционально) */
    outline: none;
}


.card-left-button {
    margin-right: 0;
    margin-left: auto;
    transition: color 0.6s ease;
}

/* Обёртка для SVG */
.button-svg-wrapper {
    position: relative;
    width: 60px;
    height: 48px;
    flex-shrink: 0; /* Не сжимать иконку */
    transition: all 0.4s ease;
}

.circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 48px;
    z-index: 1;
    transition: filter 0.6s ease;
}

.arrow-svg {
    position: absolute;
    top: 50%;
    left: -5px; /* Регулирует, насколько стрелка заходит в кружок */
    transform: translateY(-50%);
    width: 39px;
    height: 13px;
    z-index: 2;
    transition: filter 0.6s ease;
    /* Чтобы стрелка была "внутри" кружка — чуть смещаем вправо */
    /* Пример: если кружок начинается с 0, а стрелка на 18px — она заходит внутрь */
}

/*=====================================*/

.about-factory-pic {
    position: relative;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 674px;
    object-fit: cover;
    display: block;
    margin-left: auto;
}

@media screen and (max-width: 1200px) {
    .about-factory-section {
        width: 100%;
        max-width: 1214px;
        height: auto;
        margin-top: 5vh;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .about-factory-title-section {
        height: auto;
        min-height: auto;
        padding: 20px 0;
    }

    .about-factory-title {
        font-size: 48px;
        height: auto;
        text-align: left;
        justify-content: flex-start;

    }

    .about-factory-information-section {
        flex-direction: column;
        height: auto;
        min-height: auto;
        gap: 30px;
    }

    .about-factory-description-section {
        width: 100%;
        height: auto;
        gap: 15px;
        order: 2;
    }

    .about-factory-description {
        font-size: 18px;
        text-align: left;
        justify-content: center;
    }

    .about-factory-disclosure-button-container {
        justify-content: center;
        margin-top: 30px;
    }

    .about-factory-pic {
        width: 100%;
        height: 400px;
        order: 3;
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .about-factory-section {
        padding: 0 15px;
        margin-top: 5vh;
    }

    .about-factory-title {
        font-size: 36px;
        padding: 10px 0;
    }

    .about-factory-description {
        font-size: 16px;
        line-height: 1.5;
    }

    .disclosure-button {
        font-size: 14px;
        height: 40px;
        gap: 8px;
    }

    .button-svg-wrapper {
        width: 50px;
        height: 40px;
    }

    .circle-svg {
        width: 50px;
        height: 40px;
    }

    .arrow-svg {
        width: 30px;
        height: 10px;
        left: -3px;
    }

    .about-factory-pic {
        height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .about-factory-title {
        font-size: 28px;
    }

    .about-factory-description {
        font-size: 14px;
    }

    .disclosure-button {
        font-size: 12px;
        height: 35px;
        gap: 6px;
    }

    .button-svg-wrapper {
        width: 40px;
        height: 35px;
    }

    .circle-svg {
        width: 40px;
        height: 35px;
    }

    .arrow-svg {
        width: 25px;
        height: 8px;
    }

    .about-factory-pic {
        height: 250px;
    }
}



/*=============================*/

/* Основной контейнер — на всю ширину */
.info-cards-container {
    margin-top: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px; /* Расстояние между карточками */
    padding: 80px 0;
    box-sizing: border-box;
}

/* Внутренний контейнер — центрирован, фиксированная ширина */
.info-card-inner-container {
    width: 1214px;
    height: 416px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
}

/* ЛЕВАЯ КАРТОЧКА: картинка слева, текст справа */
.info-card-left-align {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ПРАВАЯ КАРТОЧКА: текст слева, картинка справа */
.info-card-right-align {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.info-card-pic-container {
    overflow: hidden; /* Обрезаем, если картинка выходит */
    width: 408px;
    height: 356px;
    object-fit: cover;
    margin-top:auto;
    margin-bottom: auto;
    border-radius: 20px;
}

/* Левая картинка — позиционируется поверх блока */
.info-card-pic-left {
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    margin-right: auto;
    margin-left: 10px;
    width: 408px;
    height: 356px;
    object-fit: cover;
    opacity: 1;
    border-radius: 20px; /* Добавлено по вашему запросу */
    z-index: 1;
    transition: transform 0.6s ease-in-out;
    overflow: hidden; /* Обрезаем, если картинка выходит */
    transform: scale(1.4);
}

/* Правая картинка — в правой карточке */
.info-card-pic-right {
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    margin-right: 10px;
    margin-left: auto;
    width: 408px;
    height: 356px;
    object-fit: cover;
    opacity: 1;
    border-radius: 20px;
    z-index: 1;
    transition: transform 0.6s ease-in-out;
    overflow: hidden; /* Обрезаем, если картинка выходит */
    transform: scale(1.4);
}

.info-card-info-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 2; /* Чтобы текст был над картинкой */
    max-width: 756px;
    padding: 0 32px;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Заголовок */
.info-card-title {
    font-family: "TT Hoves", "TTHoves-Thin", sans-serif;
    font-weight: 250;
    font-style: normal;
    font-size: 40px;
    line-height: 1; /* 100% */
    letter-spacing: 3%;
    color: #006EB7;
    text-transform: uppercase;
    font-variant-numeric: lining-nums proportional-nums;
    margin: 0;
    transition: color 0.6s ease;
}

/* Описание */
.info-card-description {
    font-family: "TT Hoves", "TTHoves-Regular", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.3; /* 130% */
    letter-spacing: 3%;
    color: #41494C;
    font-variant-numeric: lining-nums proportional-nums;
    margin: 0;
    transition: color 0.6s ease;
}

.info-card-info-block-left {
    margin-left: 10px;
    margin-right: 0;
}

.info-card-info-block-right {
    margin-left: 0;
    margin-right: auto;
}

.card-separator {
    width: 100%;
    height: 1px;
    background-color: #BBB;
}

.info-card {
    position:relative;
}

/* Фоновая картинка появляется при наведении */
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('/bitrix/templates/tulachermet/images/about_bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
    pointer-events: none; /* Чтобы не мешала кликам */
}

/* При наведении — показываем фон */
.info-card:hover::before {
    opacity: 1;
}


.info-card:hover .info-card-title,
.info-card:hover .info-card-description,
.info-card:hover .card-left-button {
    color: #FFFFFF !important;
}

.info-card:hover .circle-svg,
.info-card:hover .arrow-svg {
    filter: brightness(0) invert(1);
}

.info-card:hover .info-card-pic-left,
.info-card:hover .info-card-pic-right {
    transform: scale(1); /* Уменьшаем на 5% — эффект "отдаления" */
}

.info-card {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 3.0s ease, opacity 3.0s ease;
}

.info-card.animate {
    max-height: 500px; /* Должно быть больше, чем реальная высота карточки */
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .info-cards-container {
        margin-top: 200px;
        padding: 40px 0;
        gap: 40px;
    }

    .info-card-inner-container {
        width: 100%;
        max-width: 1214px;
        height: auto;
        flex-direction: column;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .info-card-pic-container {
        width: 100%;
        height: 300px;
        margin: 20px 0;
        border-radius: 15px;
    }

    .info-card-pic-left,
    .info-card-pic-right {
        width: 100%;
        height: 300px;
        margin: 0;
        transform: scale(1);
        border-radius: 15px;
    }

    .info-card-info-block {
        max-width: 100%;
        padding: 20px 0;
        margin: 20px 0;
        gap: 20px;
        text-align: left;
        align-items: center;
    }

    .info-card-info-block-left,
    .info-card-info-block-right {
        margin: 20px 0;
    }

    .info-card-title {
        font-size: 32px;
        margin-left: 0;
        margin-right: auto;
    }

    .info-card-description {
        font-size: 15px;
        line-height: 1.4;
    }

    .card-separator {
        margin: 20px 0;
    }




}

@media screen and (max-width: 768px) {
    .info-cards-container {
        margin-top: 150px;
        padding: 30px 0;
        gap: 30px;
    }

    .info-card-inner-container {
        padding: 0 15px;
    }

    .info-card-pic-container {
        height: 250px;
        border-radius: 12px;
    }

    .info-card-pic-left,
    .info-card-pic-right {
        height: 250px;
        border-radius: 12px;
    }

    .info-card-info-block {
        padding: 15px 0;
        margin: 15px 0;
        gap: 15px;
    }

    .info-card-title {
        font-size: 28px;
    }

    .info-card-description {
        font-size: 14px;
    }

    .disclosure-button {
        font-size: 14px;
        height: 40px;
        gap: 8px;
    }

    .button-svg-wrapper {
        width: 50px;
        height: 40px;
    }

    .circle-svg {
        width: 50px;
        height: 40px;
    }

    .arrow-svg {
        width: 30px;
        height: 10px;
        left: -3px;
    }

    .card-separator {
        margin: 15px 0;
    }
}

@media screen and (max-width: 480px) {
    .info-cards-container {
        margin-top: 100px;
        padding: 20px 0;
        gap: 25px;
    }

    .info-card-inner-container {
        padding: 0 10px;
    }

    .info-card-pic-container {
        height: 200px;
        border-radius: 10px;
    }

    .info-card-pic-left,
    .info-card-pic-right {
        height: 200px;
        border-radius: 10px;
    }

    .info-card-info-block {
        padding: 10px 0;
        margin: 10px 0;
        gap: 12px;
    }

    .info-card-title {
        font-size: 24px;
    }

    .info-card-description {
        font-size: 13px;
        line-height: 1.3;
    }

    .disclosure-button {
        font-size: 12px;
        height: 35px;
        gap: 6px;
    }

    .button-svg-wrapper {
        width: 40px;
        height: 35px;
    }

    .circle-svg {
        width: 40px;
        height: 35px;
    }

    .arrow-svg {
        width: 25px;
        height: 8px;
        left: -2px;
    }

    .card-separator {
        margin: 10px 0;
    }
}

/* Для очень маленьких экранов */
@media screen and (max-width: 320px) {
    .info-card-title {
        font-size: 20px;
    }

    .info-card-description {
        font-size: 12px;
    }

    .disclosure-button {
        font-size: 11px;
        height: 30px;
    }

    .button-svg-wrapper {
        width: 35px;
        height: 30px;
    }

    .circle-svg {
        width: 35px;
        height: 30px;
    }

    .arrow-svg {
        width: 20px;
        height: 7px;
    }
}

/*= ============================ */



.contacts-container {
    width: 1209px;
    height: 820px;
    margin-left: auto;
    margin-right: auto;
}

.contact-title-container {
    margin-top: 100px;
    margin-bottom: 60px;
    width: 100%;
    text-align: left;
}

.contact-title {
    font-family: "TT Hoves";
    font-weight: 250;
    font-style: Thin;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 3%;
    vertical-align: middle;
    text-transform: uppercase;
    color: #006EB7;

}

.contact-cards-container {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 34px;
}


.contact-card-address {
    width: 590;
    height: 456;
    top: 224px;
    left: 353px;
    opacity: 1;
    padding-top: 70px;
    padding-right: 60px;
    padding-bottom: 70px;
    padding-left: 60px;
    gap: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #006EB7 0%, #0B91DB 100%);
}

.contact-card-address-group {
    display: flex;
    flex-direction: column;
}

.contact-card-address-label {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #FFF;
}

.contact-card-address-value {
    font-family: "TT Hoves";
    font-weight: 700;
    font-style: Bold;
    font-size: 22px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    color: #FFF;
}

.contact-card-map {
    border-radius: 20px;
}

.contact-card-map iframe {
    border-radius: 20px;
}

.contact-card-adress-button {
    width: 280px;
    height: 50px;
    opacity: 1;
    padding-top: 12px;
    padding-right: 18px;
    padding-bottom: 12px;
    padding-left: 18px;
    gap: 10px;
    border-radius: 120px;
    border-width: 1px;
    background-color: transparent;
    border-color: #FFFFFF;
    border: 1px solid white;
    font-family: TT Hoves;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 3%;
    text-align: center;
    vertical-align: middle;
    outline: none; /* Убираем фокус-обводку */
    cursor: pointer;
    transition: all 0.3s ease; /* Плавные переходы */
    color: #FFF;
      appearance: none; 
       box-shadow: none; /* на случай, если обводка задана через тень */
}

/* Убираем обводку при фокусе принудительно */
.contact-card-adress-button:focus {
    outline: none;
    box-shadow: none;
}

.contact-card-adress-button:hover {
    background-color: #FFFFFF;
    color: #006EB7;
}


@media screen and (max-width: 1200px) {
    .contacts-container {
        width: 100%;
        max-width: 1209px;
        height: auto;
        padding: 0 20px;
        box-sizing: border-box;
        margin-bottom: 20px;
    }

    .contact-title-container {
        margin-top: 60px;
        margin-bottom: 40px;
        text-align: left;
    }

    .contact-title {
        font-size: 48px;
    }

    .contact-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card-address {
        width: 92%;
        height: auto;
        padding: 40px 30px;
        gap: 25px;
        border-radius: 15px;
    }

    .contact-card-map {
        height: 400px;
        border-radius: 15px;
    }

    .contact-card-map iframe {
        border-radius: 15px;
        height: 100%;
    }

    .contact-card-address-label {
        font-size: 12px;
    }

    .contact-card-address-value {
        font-size: 18px;
    }

    .contact-card-adress-button {
        width: 100%;
        max-width: 280px;
        height: 45px;
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    .contacts-container {
        padding: 0 15px;
    }

    .contact-title-container {
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-cards-container {
        gap: 15px;
    }

    .contact-card-address {
        padding: 30px 20px;
        gap: 20px;
        border-radius: 12px;
    }

    .contact-card-map {
        height: 300px;
        border-radius: 12px;
    }

    .contact-card-address-label {
        font-size: 11px;
    }

    .contact-card-address-value {
        font-size: 16px;
    }

    .contact-card-adress-button {
        height: 40px;
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media screen and (max-width: 480px) {
    .contacts-container {
        padding: 0 10px;
        
    }

    .contact-title-container {
        margin-top: 30px;
        margin-bottom: 25px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-cards-container {
        gap: 12px;
    }

    .contact-card-address {
        padding: 25px 15px;
        gap: 15px;
        border-radius: 10px;
    }

    .contact-card-map {
        height: 250px;
        border-radius: 10px;
    }

    .contact-card-address-label {
        font-size: 10px;
    }

    .contact-card-address-value {
        font-size: 14px;
    }

    .contact-card-adress-button {
        height: 35px;
        font-size: 12px;
        padding: 8px 12px;
        max-width: 200px;
    }
}


/* Анимация для заголовка: сверху вниз */
.contact-title {
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-play-state: paused; /* Сначала остановлена */
}

/* Анимация для карточек: снизу вверх */
.contact-cards-container {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
    animation-play-state: paused; /* Сначала остановлена */
}

/* Запускаем анимации через JS, когда элемент в зоне видимости */
.contact-title.animate {
    animation-play-state: running;
}

.contact-cards-container.animate {
    animation-play-state: running;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.footer {
    height: 400px;
    background: linear-gradient(90deg, #006EB7 0%, #0B91DB 100%);
    display: flex;
    flex-direction: column;
    position:relative;
}

.footer-about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.tulach-footer-logo {
    width: 276px;
    height: 90px;
}

.tulach-footer-logo-header {
        width: 276px;
    height: 90px;
}

.column-container {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 22px;
}

.align-items-left {
    align-items: flex-start;
}

.align-items-right {
    align-items: flex-end;
}

.footer-redirects {
    font-family: "TT Hoves";
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.footer-redirects::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%; 
    height: 1px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.footer-redirects:hover {
    color: #FFF;
    cursor: pointer;
}

.footer-redirects:hover::after {
    background-color: #FFF;
}

.footer-contact-element {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.footer-contact-element::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%; 
    height: 1px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.footer-contact-element:hover {
    color: #FFF;
    cursor: pointer;
}

.footer-contact-element:hover::after {
    background-color: #FFF;
}
.footer-inner {
    width: 1214px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}


.footer-vk {
    width: 25px;
    height: 25px;
}

.footer-lower-element {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 3%;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.footer-lower-element::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%; 
    height: 1px;
    background-color: transparent;/* Изначально полоска скрыта */
    transition: background-color 0.3s ease; /* Плавное появление */
}

.footer-lower-element:hover {
    color: #FFF;
    cursor: pointer;
}

.footer-lower-element:hover::after {
    background-color: #FFF; /* Плавное расширение до полной ширины */
}


.footer-lower-element-unclickable {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 3%;
    color: #FFF;
}

.footer-lower-element-unclickable:hover {
    color: #fff;
    cursor: default;
}

.footer-politics {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: auto;
}

/* Фоновая картинка появляется при наведении */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1376px;
    height: 390px;
    filter: blur(1px);
    background:
        url('/bitrix/templates/tulachermet/images/img_bg_footer.png') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: 1;
    pointer-events: none; /* Чтобы не мешала кликам */
    margin-left: auto;
    margin-right: auto;
}


.footer-round-button {
    position: absolute;
    top: -30px; /* половина высоты кнопки — середина на границе футера */
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #BCBCBC;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.footer-round-button:hover {
    background: #A0A0A0;
}

.arrow-up {
    width: 24px;    /* регулируй размер под свою SVG */
    height: 24px;
    filter: brightness(0) invert(1); /* делает SVG белым (если он чёрный по умолчанию) */
}

@media screen and (max-width: 1200px) {
    .footer {
        height: auto;
        min-height: 400px;
        padding: 30px 0;
    }

    .footer-inner {
        width: 100%;
        max-width: 1214px;
        margin: 30px auto;
        padding: 0 20px;
        box-sizing: border-box;
        align-items: flex-start;
    }

    .footer-about {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-politics {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
        margin-top: 40px;
    }

    .tulach-footer-logo {
        width: 200px;
        height: 65px;
        margin: 0 0;
    }

    .column-container {
        align-items: flex-start !important;
    }

    .align-items-left,
    .align-items-right {
        align-items: flex-start !important;
    }

    .footer-element {
        display: flex;
        justify-content: left;
        width: 100%;
    }

    .footer-redirects {
        font-size: 18px;
    }

    .footer-contact-element {
        font-size: 18px;
    }

    .footer-lower-element,
    .footer-lower-element-unclickable {
        font-size: 12px;
    }

    .footer::before {
        width: 100%;
        max-width: 1376px;
        height: 100%;
        left: 0;
        transform: none;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 20px 0;
        min-height: 350px;
    }

    .footer-inner {
        margin: 20px auto;
        padding: 0 15px;
    }

    .footer-about {
        gap: 25px;
    }

    .footer-politics {
        gap: 15px;
        margin-top: 30px;
    }

    .tulach-footer-logo {
        width: 150px;
        height: 50px;
    }

    .column-container {
        gap: 15px;
    }

    .footer-redirects {
        font-size: 16px;
    }

    .footer-contact-element {
        font-size: 16px;
    }

    .footer-lower-element,
    .footer-lower-element-unclickable {
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        min-height: 300px;
        padding: 15px 0;
    }

    .footer-inner {
        margin: 15px auto;
        padding: 0 10px;
    }

    .footer-about {
        gap: 20px;
    }

    .footer-politics {
        gap: 12px;
        margin-top: 25px;
    }

    .tulach-footer-logo {
        width: 120px;
        height: 40px;
    }

    .column-container {
        gap: 12px;
    }

    .footer-redirects {
        font-size: 14px;
    }

    .footer-contact-element {
        font-size: 14px;
    }

    .footer-lower-element,
    .footer-lower-element-unclickable {
        font-size: 10px;
    }

    .footer-vk {
        width: 20px;
        height: 20px;
    }
}

/* Для очень узких экранов - строго одна колонка */
@media screen and (max-width: 320px) {
    .footer {
        min-height: 280px;
    }

    .footer-about {
        gap: 15px;
    }

    .footer-politics {
        gap: 10px;
        margin-top: 20px;
    }

    .tulach-footer-logo {
        width: 100px;
        height: 35px;
    }

    .footer-redirects {
        font-size: 12px;
    }

    .footer-contact-element {
        font-size: 12px;
    }

    .footer-lower-element,
    .footer-lower-element-unclickable {
        font-size: 9px;
    }
}



/* === DISCLOSURE STYLES ===*/


.disclosure-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleY(-1) scaleX(-1);
    width: 1376px;
    height: 390px;
    filter: blur(1px);
    background:
        url('/bitrix/templates/tulachermet/images/img_bg_footer.png') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: 1;
    pointer-events: none; /* Чтобы не мешала кликам */
    margin-left: auto;
    margin-right: auto;
}


.disclosure-header {
    height: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #006EB7 0%, #0B91DB 100%);
    position:relative;
}

.disclosure-header-inner {
    max-width: 1214px;
    width: 100%;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
}

.disclosure-logo-container {
    margin-top: 50px;
    margin-bottom: auto;
}

.disclosure-map-container {
    margin-bottom: 50px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
}

.disclosure-map-title {
    font-family: "TT Hoves";
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 3%;
    color: #FFF;
}

.disclosure-map-link {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 3%;
    color: #FFF;
}


.disclosure-map-arrow {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 3%;
    color: #FFF;
}

.disclosure-section {
    width: 100%;
}

.disclosure-inner-section {
    display: flex;
    flex-direction: column;
    width: 1214px;
    margin: 100px auto;
}

@media screen and (max-width: 1200px) {
    .disclosure-header {
        height: auto;
        background: #FFFFFF; /* Белый фон */
    }

    .disclosure-header-inner {
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .disclosure-logo-container {
        margin-top: 30px;
        margin-bottom: auto;
        margin-left: 0; /* Логотип справа */
    }

    .disclosure-map-container {
        margin-bottom: 30px;
        margin-top: auto;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 15px;
    }

    .disclosure-map-nav {
        display: flex;
        justify-content: flex-end; /* "Главная" справа вверху */
        gap: 5px;
        align-items: center;
        visibility: hidden;
    }

    .disclosure-map-title {
        font-family: "TT Hoves";
        font-weight: 700;
        font-style: Bold;
        font-size: 36px;
        line-height: 100%;
        letter-spacing: 3%;
        color: #006EB7; /* Синий текст */
        text-align: left; /* Заголовок слева */
    }

    .disclosure-map-link,
    .disclosure-map-arrow {
        font-family: "TT Hoves";
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: 3%;
        color: #006EB7; /* Синий текст */
    }

    .disclosure-header::before {
        display: none; /* Скрываем фоновое изображение */
    }

    .tulach-footer-logo-header {
        width: 200px;
        height: 65px;
        content: url('/bitrix/templates/tulachermet/images/logo_tchm_color.png'); /* Заменяем на синюю версию логотипа */
    }
}

@media screen and (max-width: 768px) {
    .disclosure-header {
        height: auto;
    }

    .disclosure-header-inner {
        padding: 0 15px;
    }

    .disclosure-logo-container {
        margin-top: 20px;
    }

    .disclosure-map-container {
        margin-bottom: 20px;
        gap: 12px;
    }

    .disclosure-map-nav {
        justify-content: flex-end;
    }

    .disclosure-map-title {
        font-size: 28px;
    }

    .disclosure-map-link,
    .disclosure-map-arrow {
        font-size: 12px;
    }

    .tulach-footer-logo-header {
        width: 150px;
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .disclosure-header {
        height: auto;
    }

    .disclosure-header-inner {
        padding: 0 10px;
    }

    .disclosure-logo-container {
        margin-top: 15px;
    }

    .disclosure-map-container {
        margin-bottom: 15px;
        gap: 10px;
    }

    .disclosure-map-nav {
        justify-content: flex-end;
    }

    .disclosure-map-title {
        font-size: 24px;
    }

    .disclosure-map-link,
    .disclosure-map-arrow {
        font-size: 11px;
    }

    .tulach-footer-logo-header {
        width: 120px;
        height: 40px;
    }
}

/* Для очень узких экранов */
@media screen and (max-width: 320px) {
    .disclosure-header {
        height: auto;
    }

    .disclosure-map-title {
        font-size: 20px;
    }

    .disclosure-map-link,
    .disclosure-map-arrow {
        font-size: 10px;
    }

    .tulach-footer-logo-header {
        width: 100px;
        height: 35px;
    }
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.cookie-policy-text {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 3%;
    /* text-decoration: underline; */
    /* text-decoration-style: solid; */
    /* text-decoration-thickness: 0%; */
    /* text-decoration-skip-ink: auto; */
    color: #41494C;
}

.cookie-policy-link {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 3%;
    color: #41494C !important;
    
    /* Подчёркивание */
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 2px; /* Толщина линии (можно настроить) */
    text-decoration-skip-ink: auto;
    border-bottom: 1px solid #41494C;
    width: fit-content;
    /* Отступ между текстом и подчёркиванием */
    text-underline-offset: 6px; /* Расстояние от текста до линии — ключевое свойство */
}

.cookie-policy-title {
    font-family: "TT Hoves";
    font-weight: 700;   
    font-style: Bold;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 3%;
    color: #41494C;
    margin-top: 40px;
    margin-bottom: 20px;

}

.cookie-options-list li {
    font-family: "TT Hoves";
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 3%;
    /* text-decoration: underline; */
    /* text-decoration-style: solid; */
    /* text-decoration-thickness: 0%; */
    /* text-decoration-skip-ink: auto; */
    color: #41494C;
}

.cookie-section {
    width: 100%;
}

.cookie-inner-section {
    display: flex;
    flex-direction: column;
    width: 1214px;
    margin: 100px auto;
}

@media screen and (max-width: 1200px) {
    .cookie-inner-section {
        width: 100%;
        max-width: 1214px;
        margin: 60px auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .cookie-policy-text {
        font-size: 15px;
        line-height: 140%;
    }

    .cookie-policy-link {
        font-size: 15px;
        line-height: 140%;
    }

    .cookie-policy-title {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .cookie-options-list li {
        font-size: 15px;
        line-height: 140%;
        margin-bottom: 15px;
    }

    .browser-list {
        margin-top: 20px;
    }

    .browser-list li {
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 768px) {
    .cookie-inner-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .cookie-policy-text {
        font-size: 14px;
    }

    .cookie-policy-link {
        font-size: 14px;
    }

    .cookie-policy-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .cookie-options-list {
        padding-left: 20px;
    }

    .cookie-options-list li {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .browser-list li {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    .cookie-inner-section {
        margin: 30px auto;
        padding: 0 10px;
    }

    .cookie-policy-text {
        font-size: 13px;
        line-height: 150%;
    }

    .cookie-policy-link {
        font-size: 13px;
        line-height: 150%;
        text-underline-offset: 4px;
    }

    .cookie-policy-title {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .cookie-options-list {
        padding-left: 15px;
    }

    .cookie-options-list li {
        font-size: 13px;
        line-height: 150%;
        margin-bottom: 10px;
    }

    .browser-list {
        padding-left: 0;
        list-style: none;
    }

    .browser-list li {
        margin-bottom: 8px;
        text-align: left;
    }

    .cookie-policy-link {
        display: inline-block;
        text-align: left;
        width: auto;
    }
}

/* Для очень узких экранов */
@media screen and (max-width: 320px) {
    .cookie-inner-section {
        margin: 20px auto;
        padding: 0 5px;
    }

    .cookie-policy-text {
        font-size: 12px;
    }

    .cookie-policy-link {
        font-size: 12px;
    }

    .cookie-policy-title {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .cookie-options-list li {
        font-size: 12px;
        margin-bottom: 8px;
    }
}



@media screen and (max-width: 1200px) {
    .disclosure-inner-section {
        width: 100%;
        max-width: 1214px;
        margin: 60px auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .filters {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .filters select,
    .filters input {
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }

    #search-input {
        margin-left: 0;
        width: 100%;
        padding: 15px 45px 15px 15px;
        font-size: 14px;
        background-position: right 15px center;
    }

    #doctype-filter {
        width: 100%;
    }

    #year-filter {
        margin-left: 0;
        width: 100%;
    }

    .doc-card {
        height: auto !important;
        padding: 15px;
        min-height: 120px;
    }

    .doc-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .doc-type-year {
        width: 100%;
        justify-content: space-between;
    }

    .doc-type,
    .doc-year {
        font-size: 13px;
        min-width: auto;
    }

    .doc-title {
        width: 100%;
        min-width: auto;
        white-space: normal !important;
        overflow: visible;
        text-overflow: clip;
    }

    .doc-actions {
        width: 100%;
        justify-content: space-between;
    }

    .download-btn {
        width: auto;
        padding: 8px 15px;
        font-size: 14px;
    }

    .file-size {
        width: auto;
        font-size: 13px;
    }

    #load-more {
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    #pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    #pagination button {
        width: 25px;
        height: 25px;
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media screen and (max-width: 768px) {
    .disclosure-inner-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .filters {
        gap: 8px;
    }

    .filters select,
    .filters input {
        padding: 12px;
        font-size: 13px;
    }

    #search-input {
        padding: 12px 40px 12px 12px;
        font-size: 13px;
        background-position: right 12px center;
    }

    .doc-card {
        min-height: 110px;
        padding: 12px;
    }

    .doc-info {
        gap: 10px;
    }

    .doc-type-year {
        gap: 10px;
    }

    .doc-type,
    .doc-year {
        font-size: 12px;
    }

    .doc-title {
        font-size: 13px;
    }

    .doc-actions {
        gap: 8px;
    }

    .download-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .file-size {
        font-size: 12px;
    }

    #load-more {
        font-size: 13px;
    }

    #pagination button {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .disclosure-inner-section {
        margin: 30px auto;
        padding: 0 10px;
    }

    .filters select,
    .filters input {
        padding: 10px;
        font-size: 12px;
    }

    #search-input {
        padding: 10px 35px 10px 10px;
        font-size: 12px;
        background-position: right 10px center;
        background-size: 24px;
    }

    .doc-card {
        height: auto !important;
        padding: 12px;
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
    }

    .doc-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
        width: 100%;
    }

    .doc-type-year {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .doc-type,
    .doc-year {
        font-size: 11px;
        min-width: auto;
        white-space: nowrap;
    }

    .doc-title {
        width: 100%;
        min-width: auto;
        font-size: 12px;
        line-height: 140%;
        white-space: normal !important; /* Разрешает перенос строк */
        overflow: visible; /* Позволяет тексту выходить, если нужно (обычно не требуется, но для страховки) */
        text-overflow: clip; /* Отключает многоточие */
        display: block; /* Или оставьте flex, если это нужно для выравнивания */
        min-height: 50px; /* Минимальная высота для 3 строк (по желанию) */
        height: auto;
        word-wrap: break-word; /* Переносит длинные слова при необходимости */
        word-break: break-word; /* Альтернатива для лучшей поддержки */
    }

    .doc-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
        align-items: center;
        flex-direction: row;
    }

    .download-btn {
        padding: 5px 10px;
        font-size: 11px;
        width: auto;
        min-width: 70px;
        justify-content: center;
        flex-shrink: 0;
    }

    .file-size {
        font-size: 11px;
        width: auto;
        text-align: right;
        flex-shrink: 0;
        margin-left: auto;
    }

    #load-more {
        font-size: 12px;
        padding: 8px 5px;
    }

    #pagination {
        gap: 3px;
    }

    #pagination button {
        width: 20px;
        height: 20px;
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Для очень узких экранов */
@media screen and (max-width: 320px) {
    .disclosure-inner-section {
        margin: 20px auto;
        padding: 0 5px;
    }

    .filters select,
    .filters input {
        padding: 8px;
        font-size: 11px;
    }

    #search-input {
        padding: 8px 30px 8px 8px;
        font-size: 11px;
    }

    .doc-card {
        padding: 10px;
        height: auto;
    }

    .doc-title {
        font-size: 11px;
        min-height: 45px; /* Минимальная высота для 3 строк */
    }

    .doc-type,
    .doc-year,
    .file-size {
        font-size: 10px;
    }

    .download-btn {
        font-size: 10px;
        padding: 4px 8px;
        min-width: 60px;
    }

    #load-more {
        font-size: 11px;
    }
}

.filters select {
    padding: 18px;
    border: 1px solid #006EB7;
    border-radius: 4px;
    color: #006EB7;

    /* Скрываем стандартную стрелку */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Подключаем локальную SVG-стрелку */
    background-image: url('/bitrix/templates/tulachermet/images/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 12px center; /* ← отступ 12px от правого края = сдвигаем стрелку ЛЕВЕЕ */
    background-size: 15px;                 /* ← размер стрелки — можно увеличить до 30px и т.д. */
    padding-right: 40px;                   /* ← отступ текста, чтобы не наезжал на стрелку */
}