.footer {
    background: #3a3e41;
    padding: 40px 0;
    color: #fff;
    font-family: var(--font-family-main);
}

.footer .wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* ---- Колонки ---- */

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    
}


/* ЛОГО + СОЦСЕТИ */

.footer__col-logo {
    width: 220px;
      margin-left: 2%;
   
}

.footer__logo {
    width: 180px;
    height: auto;
     
}

.footer__social {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    margin-left: 2%;
}

.footer__social img {
    width: 26px;
    height: 26px;
    opacity: 0.9;
    transition: 0.2s;
}

.footer__social img:hover {
    opacity: 1;
}

/* КАРТА САЙТА */

.footer__title {
    font-size: 16px;
    opacity: 0.6;
    font-weight: 400;
}

.footer__list {
     display: flex;
    flex-direction: column;
    gap: 20px; /* регулируемый отступ между строками */
}

.footer__col-contacts {
    display: flex;
    flex-direction: column;
    gap: 25px; /* расстояние между блоками контактов */
}

.footer__list a {
    font-size: 15px;
    opacity: 0.9;
    transition: 0.2s;
}

.footer__list a:hover {
    opacity: 1;
}

/* КОНТАКТЫ */

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.footer__contact-item img {
    width: 18px;
    height: 18px;
}

.footer__contact-address span {
    max-width: 240px;
    display: block;
    line-height: 1.4;
}

/* QR + КНОПКИ */

.footer__col-apps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start; /* чтобы кнопки были по левому краю */
    margin: 25px;
}

/* Увеличенные кнопки */
.footer__col-apps .store {
    min-width: 260px;       /* сделает кнопку шире */
    padding: 14px 18px;     /* крупнее */
    border-radius: 14px;
}

/* Увеличенные иконки */
.footer__col-apps .store__icon {
    width: 32px;
    height: 32px;
}

/* Чуть крупнее шрифты */
.footer__col-apps .store__caption {
    font-size: 12px;
}

.footer__col-apps .store__name {
    font-size: 17px;
}

.footer__qr-label {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0;
    padding: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Одна колонка: QR + кнопка под ним */
.footer__qr-column {
    display: flex;
    flex-direction: column;
    align-items: center;       /* центрируем кнопку под QR */
    gap: 14px;
    min-width: 160px;          /* минимальная ширина колонки, при необходимости увеличить */
}

.footer__qr-wrapper {
    display: flex;
    gap: 28px;                 /* расстояние между двумя колонками (регулируй) */
    align-items: flex-start;   /* QR-коды сверху колонок */
}

/* карточка QR */
.footer__qr-block {
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 0 rgba(0,0,0,0.12);
}

.footer__qr {
    width: 96px;   /* подогнал под макет; можно 90-100 */
    height: 96px;
    display: block;
}

.footer__apps {
    display: flex;
    gap: 15px;
}

.store-btn {
    width: 140px;
    height: auto;
}

/* ---- АДАПТИВ ---- */

@media (max-width: 1024px) {
    .footer__inner {
        justify-content: center;
        gap: 50px;
        text-align: center;
    }

    .footer__col-logo,
    .footer__col-nav,
    .footer__col-contacts,
    .footer__col-apps {
        align-items: center;
        gap: 20px;
    }

    .footer__contact-item,
    .footer__list {
        align-items: center;
        gap: 20px;
    }

    .footer__qr-wrapper {
        justify-content: center;
    }

    .footer__apps {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer__qr {
        width: 70px;
        height: 70px;
    }

    .store-btn {
        width: 120px;
    }

    .footer__col-apps {
        width: 90%;
        align-items: stretch; /* растягивает элементы */
    }

    footer__col-apps .store {
        width: 100%;
        min-width: unset;
        justify-content: center;
    }
}

.footer {
    position: relative;
    z-index: 10;
}


/* Store button (каждая кнопка внутри колонки) */
.store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #151617;   
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    min-width: 180px;      /* ширина кнопки, подгоняй при необходимости */
    justify-content: center;
}

/* иконка внутри кнопки */
.store__icon {
    width: 26px;
    height: 26px;
}

/* текст: две строки */
.store__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-align: left;
}

/* "СКАЧИВАЙТЕ В" (мелкий текст) */
.store__caption {
    font-size: 11px;
    opacity: 0.75;
}

/* название магазина (большой текст) */
.store__name {
    font-size: 15px;
    font-weight: 600;
}

/* Мелкая подстройка: уменьшение отступов, если кнопка выглядит слишком широкой */
.footer__col-apps .store {
    padding: 9px 12px;
}

/* --- Адаптив: на мобильных колонки становятся в строку по центру --- */
@media (max-width: 900px) {
    .footer__qr-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 18px;
    }

    .footer__qr-column { min-width: 140px; }
    .store { min-width: 150px; }
    .footer__qr { width: 84px; height: 84px; }
}

@media (max-width: 560px) {
    .footer__qr-wrapper {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }
    .store { min-width: 200px; } 
}