.vh100{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.vh50_top {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 50vh;
}

.vh50_bottom {
    display: flex;
    align-items: start;
    justify-content: center;
    min-height: 50vh;
}
.u-border-grey-30 {
    border-color: #b3b3b3;
}

/* Общая обертка для двух этажей */
.marquee-double-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступ между верхним и нижним рядами */
    width: 100%;
}

/* Контейнер строки */
.logo-marquee-container {
    overflow: hidden;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    user-select: none;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
	margin-top: 30px;
}

/* Базовый трек для логотипов */
.logo-marquee-track {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 80px; /* Расстояние между логотипами */
    padding-right: 80px; /* Должен быть равен gap */
    min-width: 100%;
}

/* Первый ряд плывет налево */
.row-left .logo-marquee-track {
    animation: scroll-left 30s linear infinite;
}

/* Второй ряд плывет направо */
.row-right .logo-marquee-track {
    animation: scroll-right 30s linear infinite;
}

/* Элементы логотипов */
.logo-marquee-item {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-marquee-item img {
    height: 10vh; /* Высота логотипов */
    width: auto;
    object-fit: contain;
    display: block;
}

/* Пауза при наведении */
.logo-marquee-container:hover .logo-marquee-track {
    animation-play-state: paused;
}

/* Анимация влево */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Анимация вправо */
@keyframes scroll-right {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

.u-form-send-message {
  z-index: 1;
}
.u-form-send-error {
  background: #F95D51;
  padding: 10px;
  color: #3F0404;
}
.u-form-send-success {
  background: #62C584;
  padding: 10px;
  color: #0b2e13;
}

.u-sticky-scroll .u-header {
  background-color: rgba(26, 26, 26, 0.6);
}

/* Базовые стили плашки куки */
.cookie-banner {
    position: fixed;
    bottom: -100px; /* Изначально спрятана ниже экрана */
    left: 20px;
    right: 20px;
    max-width: 500px;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px 20px;
    z-index: 99999; /* Поверх всех элементов Nicepage */
    transition: bottom 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

/* Класс для плавного появления */
.cookie-banner.is-show {
    bottom: 20px;
    opacity: 1;
}

/* Контент внутри плашки */
.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-banner-content p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #333333;
}

.cookie-banner-content a {
    color: #478ac9; /* Фирменный синий цвет вашего сайта */
    text-decoration: underline;
}

.cookie-banner-content a:hover {
    text-decoration: none;
}

/* Кнопка согласия */
.cookie-banner-btn {
    background-color: #478ac9; /* Фирменный синий цвет */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.cookie-banner-btn:hover {
    background-color: #356b9e; /* Чуть темнее при наведении */
}

/* Адаптив под мобильные телефоны */
@media (max-width: 576px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: -150px;
        padding: 12px 15px;
    }
    .cookie-banner.is-show {
        bottom: 10px;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .cookie-banner-btn {
        width: 100%;
        text-align: center;
    }
}

/* Контейнер для правильного позиционирования */
.u-form-checkbox {
    margin: 15px 0;
}

.u-field-label {
    display: inline-flex;
    align-items: flex-start; /* Выравнивание по верхнему краю для длинного текста */
    cursor: pointer;
    color: #f5f7ff;
    font-size: 18px;
    user-select: none;
}

/* Скрываем стандартный чекбокс */
.u-field-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* Создаем кастомный квадрат */
.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    background: transparent;
    border: 2px solid #f5f7ff; /* Цвет рамки */
    border-radius: 6px; /* Красивое скругление */
    margin-right: 12px;
	margin-top: 12px;
    flex-shrink: 0; /* Чтобы квадрат не сжимался */
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Рисуем галочку внутри квадрата (изначально невидима) */
.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #8b5cf6; /* Цвет галочки */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Стили при состоянии Checked (когда галочка нажата) */
.u-field-input:checked + .u-field-label .checkbox-custom {
    background-color: #f5f7ff; /* Цвет фона при клике (измените под свой дизайн) */
    border-color: #8b5cf6;
}

/* Показываем галочку при клике */
.u-field-input:checked + .u-field-label .checkbox-custom::after {
    display: block;
}

/* Эффект при наведении (hover) */
.u-field-label:hover .checkbox-custom {
    border-color: #8b5cf6; /* Подсветка рамки при наведении */
}

/* Текст рядом с чекбоксом */
.label-text {
    line-height: 1.2;
    padding-top: 1px;
}

/* Подсветка поля, если введен некорректный email, когда пользователь убрал фокус */
.form-control:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

