* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow: hidden;
    scroll-behavior: smooth;
}

html {
    overflow-y: scroll; 
    scrollbar-width: none;
}

br {
    display: none;
}

body::-webkit-scrollbar {
    display: none; 
}

#decision {
    scroll-margin-top: 100px;
}
#products {
    scroll-margin-top: 100px;
}
#about {
    scroll-margin-top: 100px;
}


header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F0F2F5;
    position: fixed; /* Фиксируем header */
    top: 0;
    left: 0;
    z-index: 1000; 
}

.menu {
    margin: 0px auto;
}

/* Контейнер для содержимого header */
.header-container {
    height: 100%;
    width: 100%;
    max-width: 1140px; 
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-family: Geologica;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    list-style: none; 
}

.burger-menu {
    display: none; /* Скрываем на десктопе */
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-left: 49px;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #F0F2F5;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

/* Шапка в полноэкранном меню */
.fullscreen-menu .header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

/* Логотип в меню */
.fullscreen-menu .logo {
    width: 70px;
    height: 42px;
}

/* Навигация */
.menu2 {
    position: absolute;
    top: 88px; /* Отступ 24px от хедера */
    left: 16px;
}

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

.close-img, .close-img img {
    width: 32px;
    height: 32px;
}

.menu2 li {
    margin-bottom: 20px; /* Отступ между пунктами меню */
}

.menu2 a {
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #252432;
    text-decoration: none;
}



body {
    background-color: #F0F2F5;
    margin: 0px;
    padding-top: 80px;
}

main {
    height: 2400px;
}


.logo img {
    width: 97px;  
    height: 58px; 
}

/* Меню */
.menu ul {
    list-style: none;
    display: flex;
    gap: 50px; 
    margin: 0;
    padding: 0;
    margin-right: 97px;
}

.menu ul li a {
    text-decoration: none;
    color: #252432; 
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #4E47FF;
}


/* Общие стили для main */
/* Блок с информацией */
.info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 929px;
    height: auto;
    margin: 60px auto 0;
    opacity: 1;
    text-align: center;
    position: relative; 
    z-index: 2;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    grid-template-rows: repeat(12, 1fr); 
    
    width: 1139px; 
    height: 449px; 
    
    position: absolute;
    top: 80px; 
    left: 50%;
    transform: translateX(-50%);
    
    background-image: url('./src/grid.png');
    background-size: cover; 
    background-repeat: no-repeat;
    
    pointer-events: none; 
    opacity: 1;
    z-index: 1; 
}



/* Жирный текст */
.big-text {
    font-family: Geologica;
    font-size: 52px;
    font-weight: 600;
    line-height: 65px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    width: 929px; 
    height: 130px;  
    opacity: 1;
    color: #252432;
}

.big-text-color {
    color: #4E47FF;
}

/* Меньший текст */
.small-text {
    font-family: Geologica;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #8987A1;
    width: 689px; 
    height: 60px; 
    margin-top: 20px;  
    opacity: 1;
}

/* Контейнер для кнопок */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 24px;  
    margin-top: 40px;  
    opacity: 1;
}

/* Левая кнопка (закрашенная) */
.filled {
    width: 204px;  
    height: 59px;  
    padding: 18px 24px;
    gap: 10px;
    border-radius: 10px; 
    background-color: #4E47FF;  
    color: white;  
    border: none;

    font-family: Geologica;
    font-size: 18px;
    font-weight: 500;
    line-height: 22.5px;
    text-align: center;
}

/* Правая кнопка (пустая, только по контуру) */
.outlined {
    width: 129px;  
    height: 59px;  
    padding: 18px 24px;
    gap: 10px;
    border-radius: 10px;  
    background-color: transparent; 
    color: #4E47FF; 
    border: 2px solid #4E47FF;  

    font-family: Geologica;
    font-size: 18px;
    font-weight: 500;
    line-height: 22.5px;
    text-align: center;
}


/* Стили для блока с картинками */
.companies-list {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    gap: 30px; 
    position: relative; 
    margin-top: 90px;
    width: 100%; 
    padding: 0px; 
    z-index: 3; 
}

.company-image {
    height: 40px; 
    width: auto; 
    object-fit: contain; 
}

.left-block-icons {
    position: absolute;
    top: calc(80px + 19px);
    width: 342px;
    height: 510px; 
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.left-block-icons-img {
    object-fit: contain; 
    object-position: left;
    width: 100%;  
    height: 100%;
}


.right-block-icons {
    position: absolute;
    top: calc(80px + 122px); 
    right: 0; 
    width: 320px; 
    height: 557.71px; 
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.right-block-icons-img {
    object-fit: contain; 
    object-position: right; 
    width: 100%;
    height: 100%;
}

/* Основной контейнер, который расположен по центру с отступом от линии компаний */
.outer-container-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1139px;
    height: auto;
    margin: 60px auto 0;
    gap: 40px;
}

/* Контейнер сверху */
.top-container-card {
    width: 100%;
    height: auto;  /* Высота теперь будет зависеть от содержимого */
    display: flex;
    gap: 16px;
    opacity: 1;
    flex-wrap: wrap;  /* Позволяет картинкам оборачиваться */
}

/* Вложенные контейнеры внутри top-container */
.inner-container-card {
    width: 369px;
    position: relative;
    opacity: 1;
    background-color: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 20px;  /* Добавляем отступ между карточками */
    display: flex;
    flex-direction: column;  /* Выравнивание текста внутри */
    padding: 20px;  /* Отступы внутри карточки */
    box-sizing: border-box;  /* Учитывать padding в общей ширине/высоте */
    height: auto;  /* Высота зависит от содержимого */
    min-height: 223px;  /* Задаем минимальную высоту, чтобы карточка не была слишком маленькой */
}

/* Иконка внутри карточки */
.icon-card {
    width: 24px;
    height: 24px;
    position: relative;
    opacity: 1;
}

/* Заголовок карточки */
.bold-text-card {
    font-family: Geologica, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26.4px;
    text-align: left;
    opacity: 1;
    color: #252432;
    margin-top: 20px;  /* Отступ сверху, чтобы текст не прилипал к верху */
}

/* Описание карточки */
.small-text-card {
    font-family: Geologica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
    opacity: 1;
    color: #8987A1;
    margin-top: 10px;  /* Отступ между заголовком и описанием */
}








/* Контейнер продуктовый */
.products-container {
    width: 1140px;
    height: 318px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 60px auto 0px;
    flex-wrap: wrap; /* Обеспечивает перенос элементов на маленьких экранах */
}

/* Левый блок с текстом */
.products-left-block {
    width: 273px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    left: 0;
}

/* Текст в левом блоке */
.product-text {
    width: 273px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Основной текст */
.product-text-main {
    font-family: Geologica, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    text-align: left;
    color: #252432;
}

/* Дополнительный текст */
.product-text-additional {
    font-family: Geologica, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 27px;
    text-align: left;
    color: #8987A1;
    width: 248px;
    height: 81px;
}

/* Кнопка */
.product-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 59px;
    border-radius: 10px;
    background-color: #4E47FF;
    margin-top: auto;
    align-self: flex-start;
}

/* Текст на кнопке */
.product-button-text {
    font-family: Geologica, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22.5px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Контейнер для карточек продуктов */
.container-products-cards {
    display: flex;
    gap: 16px;
    margin-left: auto;
    flex-wrap: wrap; /* Обеспечивает перенос карточек */
    justify-content: flex-start; /* Распределяет карточки по левому краю */
}

/* Карточки продуктов */
.products-card {
    width: 273px;
    height: 318px;
    background-color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    flex-direction: column; /* Вертикальное выравнивание */
    justify-content: flex-start; /* Равномерное распределение контента */
}

/* Иконка в карточке */
.products-card-icon {
    width: 44px;
    height: 44px;
    margin-top: 24px; 
    margin-left: 20px; 
    display: flex;
    justify-content: center; 
    align-items: center; 
}

/* Иконки в карточках */
.products-icon {
    width: 24px;
    height: 24px;
}

/* Заголовок карточки */
.products-card-title {
    font-family: Geologica, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26.4px;
    text-align: left;
    color: #252432;
    margin-top: 24px;
    margin-left: 20px; 
}

/* Описание карточки */
.products-card-description {
    font-family: Geologica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
    color: #8987A1;
    margin-top: 12px; 
    margin-left: 20px;
    margin-right: 20px;
}




.decisions-block {
    width: 1140px; 
    margin: 60px auto 0px;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;

}

.decisions-block-top {
    
    height: 394px;
    width: 100%;
    background: #FFFFFF;
    display: flex; 
    justify-content: center; 
    align-items: center;
    border-radius: 10px;
}

.top-content {
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    justify-content: center;
}

.top-content-upper {
    text-align: center;
    margin-bottom: 20px;
}

.upper-text {
    font-family: Geologica;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    color: #252432;
    margin-bottom: 16px;
}

.upper-sub-text {
    font-family: Geologica;
    font-size: 18px;
    font-weight: 300;
    line-height: 27px;
    color: #8987A1;
    width: 750px;
    margin-bottom: 40px;
}

.top-content-lower {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap;
}

.decisions-card {
    width: 369px;
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    
    border-radius: 10px;
    margin-bottom: 20px;
}

.decision-card-icon img {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
}

.decision-card-text {
    font-family: Geologica;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
    color: #252432;
}

@media (max-width: 768px) {
    .decisions-block {
        width: 90%;  
        border-radius: 10px;
        padding: 24px auto 0px;
        margin: 24px auto 0px; /* Центрируем блок по горизонтали */
    }
    .decisions-block-top {
        padding: 0px 16px;
        height: auto;
        background: #FFFFFF;
    }
    
    .upper-text {
        margin-top: 16px;
        margin-right: 16px;
        margin-left: 16px;
        font-family: Geologica;
        font-weight: 600;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0%;
        text-align: center;
        word-wrap: break-word; /* Перенос слов, если они выходят за пределы */
    }

    .upper-sub-text {
        width: 100%; /* Используем всю доступную ширину */
        font-family: Geologica;
        font-weight: 300;
        font-size: 14px;
        line-height: 21px;
        text-align: center;
        word-wrap: break-word; /* Перенос длинных слов */
    }

    .decisions-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .top-content-upper {
        margin-bottom: 24px;
    }

    .decision-card-text {
        width: 100%;
        word-wrap: break-word; /* Перенос длинных слов */
    }

    .top-content-lower {
        flex-direction: column;
        width: 100%; /* Ширина должна быть 100% от родителя */
    }
}



.container-about {
    width: 100%; /* Для мобильных устройств растягиваем на всю ширину */
    max-width: 1140px; /* Ограничиваем максимальную ширину */
    height: auto; /* Убираем фиксированную высоту */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 60px auto 120px;
    flex-wrap: wrap; /* Добавляем обтекание для мобильных устройств */
}

.container-about-text {
    width: 100%;
    max-width: 511px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px; /* Отступ снизу для мобильных устройств */
}

.about-text-main {
    font-family: Geologica;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    text-align: left;
    color: #252432;
}

.about-sub-text {
    font-family: Geologica;
    font-size: 18px;
    font-weight: 300;
    line-height: 27px;
    text-align: left;
    color:#8987A1;
}

.about-line {
    width: 1px;
    height: 80%;
    background-color: #8987A133;
    opacity: 0.8;
    margin: 0 auto; /* Центрируем линию */
    display: block; /* Меняем на блок */
    margin-top: 20px;
    margin-bottom: 20px;
}

.container-about-numbers {
    width: 100%;
    max-width: 490px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px; /* Добавляем отступ сверху для мобильных */
}

.container-number {
    width: 100%;
    max-width: 235px;
    height: 151px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
 }

.number-block {
    text-align: center;
    width: 124px;
    height: 100px; 
    
}

.number {
    font-family: Geologica;
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: #252432;
}

.number-text {
    font-family: Geologica;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #8987A1;
}

/* Медиазапросы для мобильных устройств */
@media (max-width: 768px) {
    .about-text-main {
        font-size: 24px; /* Уменьшаем размер основного текста */
    }

    .about-sub-text {
        font-size: 14px; /* Уменьшаем размер дополнительного текста */
    }

    .container-about {
        flex-direction: column;
        align-items: center; /* Центрируем контент */
    }
    .about-line {
        display: none;
    }

    .container-about-text {
        text-align: center; /* Выравниваем текст по центру */
        width: 80%; /* Ширина текстового блока на мобильных устройствах */
    }

    .about-line {
        width: 80%;
        height: 1px; /* Уменьшаем высоту линии */
    }

    /* Модифицированные стили для контейнера чисел */
    .container-about-numbers {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Два столбца */
        grid-template-rows: repeat(2, 1fr); /* Два ряда */
        gap: 10px; /* Отступы между карточками */
        width: 100%; /* Устанавливаем фиксированную ширину */
        height: auto; /* Устанавливаем фиксированную высоту */
        margin: 0 auto; /* Центрируем контейнер */
    }

    /* Модифицированные стили для каждой карточки */
    .container-number {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        background-color: #f5f5f5;
        border-radius: 16px;
        padding-top: 21px;
        padding-right: 26px;
        padding-bottom: 21px;
        padding-left: 26px;
        width: 100%; /* Растягиваем на всю ширину контейнера */
        height: 100%; /* Растягиваем на всю высоту контейнера */
    }

    /* Модифицированные стили для чисел */
    .number {
        font-size: 32px; /* Уменьшаем размер числа */
        font-weight: bold;
        color: #252432;
    }

    /* Модифицированные стили для текста */
    .number-text {
        font-size: 14px; /* Уменьшаем размер текста */
        font-weight: 300;
        color: #8987A1;
    }
}


.working-with-us {
    width: 1140px;  /* Максимальная ширина блока */
    height: auto;  /* Высота будет зависеть от контента */
    margin: 0 auto;  /* Центрируем блок по горизонтали с отступами сверху */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.work-block-top {
    position: relative;
    width: 100%;  /* Ширина блока 100% от родительского контейнера */
    height: 383px;
    background: #4E47FF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    flex-direction: column;
    overflow: hidden;
}

.grid-3 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/src/grid-3.png');
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

.work-main-text,
.work-additional-text {
    position: relative;
    z-index: 1;
    color: white;
}

.work-main-text {
    font-family: Geologica;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    text-align: center;
    width: 90%;  /* Ширина текста 90% от ширины контейнера */
    height: auto;
    margin-top: 50px;
}

.work-additional-text {
    width: 90%;  /* Ширина текста 90% от ширины контейнера */
    height: auto;
    font-family: Geologica;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
    margin-top: 24px;
}

/* Адаптив для разрешений до 768px */
@media (max-width: 768px) {
    .working-with-us {
        width: 90%;  /* 90% от ширины экрана */
        max-width: 100%;  /* Убираем максимальную ширину */
        margin: 16px auto;  /* Меньшие отступы */
    }

    .work-block-top {
        height: 250px;  /* Меньше высоты блока */
        border-radius: 20px;
    }

    .work-main-text {
        font-size: 24px;  /* Уменьшаем размер шрифта для маленьких экранов */
        line-height: 30px;
        width: 100%;
        margin-top: 20px;  /* Меньший отступ сверху */
    }

    .work-additional-text {
        font-size: 16px;  /* Меньше размер шрифта для дополнительного текста */
        line-height: 24px;
        width: 100%;
        margin-top: 12px;
    }
}

/* Адаптив для разрешений до 480px */
@media (max-width: 480px) {
    .work-block-top {
        height: 200px;  /* Ещё меньше блок для самых маленьких экранов */
    }

    .work-main-text {
        font-size: 18px;
        line-height: 24px;
    }

    .work-additional-text {
        font-size: 14px;
        line-height: 20px;
    }
}



footer {
    width: 100%;
    margin-top: 120px;
    padding-top: 50px;
    font-family: Geologica;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    background-color: #fff;
    color: #8987A1;
}

p {
    margin: 0;
}

.footer-container {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.telephon {
    flex-basis: 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tel-icons {
    display: flex; 
    gap: 12px; /* Отступы между иконками */
    align-items: center; /* Выравнивание по центру */
}

.tel-icons img {
    width: 32px; /* Подстрой размер иконок */
    height: 32px;
}


.footer-menu {
    flex-basis: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-menu p a {
    text-decoration: none;
    color: #8987A1; 
    transition: color 0.3s ease;
}

.footer-menu p a:hover {
    color: #4E47FF;
}

.requisites {
    flex-basis: 400px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Теперь `gap` работает, так как `.requisites` стал flex-контейнером */
}

.requisites p:first-child {
    font-family: Geologica;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #252432;

}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 24px;
}

.footer-line {
    width: 100%;
    height: 1px;
    background-color: #5e5d6454; /* Полупрозрачная линия */
    margin-bottom: 10px;
}

.footer-bottom p {
    margin-top: 20px;
    font-size: 14px;
    color: #A3A4A7;
    text-align: center;
}



@media (max-width: 768px) {
    main {
        height: auto;
        margin: 0;
        padding: 0;
    }
    nav {
        display: none;
    }
    br {
        display: block;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 64px;
        padding: 0 16px;
    }
    .logo, .logo img{
        width: 70px;
        height: 42px;
    }
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }

    .fullscreen-menu.open {
        display: flex;

    }

    #services {
        scroll-margin-top: 100px;
    }


    .info-block {
        padding: 0 20px;
        margin: 16px auto 0;
    }

    .grid {
        width: 100%;
        height: auto;
    }

    .big-text {
        font-family: Geologica;
        font-weight: 600;
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 0%;
        text-align: center;        
        width: 316px;
        height: auto;




    }
    .big-text-color {
        font-family: Geologica;
        font-weight: 600;
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 0%;
        text-align: center;

    }

    .small-text {
        width: 100%;
        height: 84px;

        font-family: Geologica;
        font-weight: 300;
        font-size: 14px;
        line-height: 21px;
        letter-spacing: 0%;
        text-align: center;

    }
    
    .companies-list {
        margin-top: 24px;
        width: 630px;
        height: 17px;
    } 

    .company-image {
        max-width: 56px; /* Уменьшаем ширину каждого изображения */
        height: 17px; /* Сохраняем пропорции */
    }
    .right-block-icons, .left-block-icons {
        display: none;
    }





    /* Контейнер с продуктами */
    .outer-container-card {
        width: 100%;  /* Контейнер будет растягиваться на всю ширину экрана */
        height: 228px; 
        padding: 0px 16px; /* Высота контейнера */
        margin: 32px auto 50px;
        overflow-x: auto;  /* Разрешаем горизонтальную прокрутку */
        display: flex;  /* Выстраиваем карточки в ряд */
        gap: 16px;  /* Отступ между карточками */
        position: relative;  /* Для управления позиционированием */
    }

    /* Контейнер для карточек */
    .top-container-card {
        display: flex;  /* Выстраиваем карточки по горизонтали */
        flex-wrap: nowrap;  /* Запрещаем оборачивание карточек */
        width: max-content;  /* Ширина контента будет равна ширине всех карточек */
        justify-content: flex-start;  /* Выравниваем карточки по левому краю */
    }

    /* Каждая карточка */
    .inner-container-card {
        padding: 0px;
        width: 253px;  /* Фиксированная ширина карточек */
        height: 228px;  /* Фиксированная высота карточек */
        background-color: #FFFFFF;
        border-radius: 10px;  /* Добавляем тень для карточек */
        display: flex;
        flex-direction: column;
        box-sizing: border-box;  /* Учитываем padding в ширину */
        scroll-snap-align: start;  /* Каждая карточка будет "привязана" к началу контейнера при прокрутке */
        flex-shrink: 0;  /* Чтобы карточки не сжимались */
    }

    /* Иконка внутри карточки */
    .icon-card {
        margin-top: 26px;
        margin-left: 26px;
        width: 24px;
        height: 24px;
        opacity: 1;
    }

    /* Заголовок карточки */
    .bold-text-card {
        margin-left: 16px;
        font-family: Geologica;
        font-weight: 600;
        font-size: 16px;
        line-height: 19.2px;
        color: #252432;
        margin-top: 26px;
    }

    /* Описание карточки */
    .small-text-card {
        margin-top: 12px; 
        margin-left: 16px;
        font-family: Geologica;
        font-weight: 300;
        font-size: 14px;
        line-height: 21px;
        letter-spacing: 0%;  
        width: 221px;
        height: 105px;
    }

    /* Обновленные стили для top-container-card */
    .top-container-card {
        margin: 0px;
        display: flex;
        gap: 16px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;  /* Разрешаем прокрутку */
        width: 100%;
        max-width: 100%;  /* Убираем максимальную ширину */
        scroll-snap-type: x mandatory;  /* Включаем фиксацию прокрутки по карточкам */
    
    }

    /* Меньше отступов для карточек на мобильных */
    .inner-container-card {
        width: 253px; /* Ширина карточек */
        height: 228px; /* Высота карточек */
        border-radius: 10px;
        max-width: 300px; /* Максимальная ширина */
        margin-bottom: 0px; /* Отступ между карточками */
    }





    /* Контейнер с продуктами */
    .products-container {
        width: 100%;  /* Растягиваем контейнер на всю ширину */
        flex-direction: column;  /* Располагаем элементы в столбик */
        height: auto;  /* Убираем фиксированную высоту */
        padding: 0 16px; 
         /* Добавляем отступы */
    }

    
    /* Левый блок с текстом */
    .products-left-block {
        width: 100%;  /* Ширина 100% */
        position: relative;  /* Убираем абсолютное позиционирование */
        margin-right: 0;  /* Убираем правый отступ */
        height: auto;
        margin-bottom: 24px;
    }


    /* Карточки */
    .products-card {
        width: 100%;  /* Ширина 100% */
        height: auto;  /* Высота зависит от контента */
        margin-bottom: 20px; /* Отступ между карточками */
    }
 
    /* Контейнер для карточек продуктов */
    .container-products-cards {
        margin: 0px;
        display: flex;
        gap: 16px;
        margin-left: auto;
        flex-wrap: nowrap; /* Убираем оборачивание карточек */
        justify-content: flex-start; /* Распределяет карточки по левому краю */
        overflow-x: auto; /* Разрешаем горизонтальную прокрутку */
        width: 100%;  /* Контейнер растягивается на всю ширину */
        scroll-snap-type: x mandatory;  /* Включаем фиксацию прокрутки по карточкам */
    }

    /* Каждая карточка продукта */
    .products-card {
        margin: 0px;
        width: 253px;
        height: 249px;
        background-color: #FFFFFF;
        border-radius: 10px;
        display: flex;
        flex-direction: column; /* Вертикальное выравнивание */
        justify-content: flex-start; /* Равномерное распределение контента */
        scroll-snap-align: start;  /* Каждая карточка будет "привязана" к началу при прокрутке */
        flex-shrink: 0;  /* Карточки не будут сжиматься */
    }

    /* Иконка в карточке */
    .products-card-icon {
        width: 24px;
        height: 24px;
        margin-top: 26px;
        margin-left: 26px;
        display: flex;
        justify-content: center; 
        align-items: center; 
    }

    /* Иконки в карточках */
    .products-icon {
        width: 24px;
        height: 24px;
    }

    /* Заголовок карточки */
    .products-card-title {
        font-family: Geologica;
        font-weight: 600;
        font-size: 16px;
        line-height: 19.2px;
        letter-spacing: 0%;

        margin-top: 26px;
        margin-left: 16px; 
    }

    /* Описание карточки */
    .products-card-description {
        font-family: Geologica;
        font-weight: 300;
        font-size: 14px;
        line-height: 21px;
        letter-spacing: 0%;

        color: #8987A1;
        margin-top: 12px; 
        margin-left: 16px;
        margin-right: 16px;
    }



    
    /* Контейнер футера */
    footer {
        
        margin-top: 50px;
        background: white;
        padding: 20px 10px; /* Уменьшаем отступы */
        font-size: 14px; /* Уменьшаем размер шрифта */
        text-align: left; /* Выравнивание текста по левому краю */
    }

    .footer-container {
        width: 100%; /* Ширина 100% */
        padding: 0 10px; /* Отступы с боков */
        flex-direction: column; /* Переводим контейнер в колонку */
        align-items: flex-start; /* Прижимаем элементы к левому краю */
    }

    .footer-menu {
        flex-basis: 100%; /* Ширина меню 100% */
        gap: 12px; /* Уменьшаем отступы между пунктами */
        text-align: left; /* Выравниваем меню по левому краю */
    }

    .footer-menu p {
        font-size: 14px;
        color: #8987A1;
         /* Уменьшаем шрифт меню */
    }

    .requisites {
        flex-basis: 100%; /* Ширина реквизитов 100% */
        font-size: 12px; /* Уменьшаем шрифт для реквизитов */
        gap: 8px; /* Уменьшаем отступы между пунктами */
        text-align: left; /* Выравнивание реквизитов по левому краю */
    }

    .requisites p {
        color: #8987A1; /* Цвет текста для реквизитов */
    }
    /* .footer-menu p a:hover {
        color: #8987A1;
    } */

    .footer-bottom {
        margin-top: 20px; /* Уменьшаем отступ сверху */
        text-align: left; /* Выравниваем футер по левому краю */
    }

    .footer-line {
        width: 80%; /* Уменьшаем ширину линии */
        margin: 10px 0; /* Центрируем линию */
    }

    .footer-bottom p {
        font-size: 12px; /* Уменьшаем шрифт в нижней части футера */
        color: #A3A4A7;
        margin-top: 10px; /* Уменьшаем отступ сверху */
    }

    /* Позиционирование иконок социальных сетей и телефонов */
    .tel-icons {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-top: 10px; /* Отступ сверху для соцсетей */
    }

    .telephon {
        flex-basis: 100%; /* Ширина 100% для телефона */
        gap: 12px; /* Отступы между телефонами */
        margin-top: 20px; /* Отступ сверху от реквизитов */
    }

    /* Иконки телефонов */
    .tel-icons img {
        width: 24px; /* Уменьшаем размер иконок для мобильных устройств */
        height: 24px;
    }

    /* Размещение телефонов и соцсетей после реквизитов */
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-container .telephon, .footer-container .tel-icons {
        order: 3; /* Меняем порядок элементов, чтобы телефоны и иконки соцсетей шли после реквизитов */
    }

    .footer-container .requisites {
        order: 2; /* Меняем порядок реквизитов, чтобы они шли перед телефонами и соцсетями */
    }
    
}


