/* Стили для нового футера */
.site-footer {
    background: #f8f9fa;
    color: #333;
}

/* Верхняя секция с лого, лицензией и реквизитами */
.footer-top-section {
    padding: 40px 0;
    border-bottom: 1px solid #dee2e6;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-logo {
    align-items: flex-start;
}

.footer-col-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.footer-logo-text {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    max-width: 300px;
}

.license-info,
.requisites-info {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.license-info p,
.requisites-info p {
    margin-bottom: 10px;
}

/* Средняя секция с 6 колонками */
.footer-columns-section {
    padding: 40px 0;
    border-bottom: 1px solid #dee2e6;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.footer-column-title {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-menu-list a:hover {
    color: #008BD0;
}

/* Контакты */
.footer-column-contacts .footer-contacts>div {
    margin-bottom: 20px;
}

.contact-phones .contact-phone,
.contact-emails .contact-email {
    margin-bottom: 8px;
    font-size: 14px;
}

.phone-label,
.email-label {
    color: #666;
    margin-right: 5px;
}

.phone-number,
.email-address {
    color: #333;
    text-decoration: none;
}

.phone-number:hover,
.email-address:hover {
    color: #008BD0;
}

.contact-address,
.contact-schedule {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.address-icon,
.schedule-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.address-text,
.schedule-text {
    line-height: 1.5;
}

/* .schedule-item {
    margin-bottom: 5px;
} */

.schedule-days {
    display: inline-block;
    min-width: 70px;
}

.footer-social .social-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.social-link:hover {
    background: #9d9d9d;
}

.social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.site-info {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .footer-columns-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col-logo {
        align-items: center;
        text-align: center;
    }

    .footer-col-logo .site-logo {
        display: inline-block;
    }

    .footer-logo-text {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .footer-top-section,
    .footer-columns-section {
        padding: 30px 0;
    }

    .footer-columns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-col-title,
    .footer-column-title {
        margin-bottom: 15px;
    }
}

/* Стили для нижней секции футера */
.footer-bottom-section {
    padding: 30px 0;

    border-bottom: 1px solid #dee2e6;

}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-bottom-col {
    text-align: center;
}

.footer-bottom-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.footer-bottom-col.footer-ratings {
    text-align: left;
}

.payment-rules-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.payment-rules-link:hover {
    color: #008BD0;
}

/* Рейтинги */
.ratings-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.rating-item {
    max-width: 100%;
}

.yandex-rating,
.google-rating {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Соцсети */
.social-networks-container {
    display: flex;
    justify-content: center;
}

.social-networks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.social-network-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.social-network-link:hover {
    background: #008BD0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-network-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Платежные системы */
.payment-systems-container {
    display: flex;
    justify-content: center;
}

.payment-systems-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.payment-system-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 60px;
}

.payment-system-item img {
    width: 48px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.payment-system-item:hover img {
    filter: grayscale(0%);
}

.payment-system-name {
    font-size: 11px;
    color: #666;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-col {
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .footer-bottom-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .footer-bottom-section {
        padding: 20px 0;
    }

    .social-networks-grid {
        gap: 8px;
    }

    .social-network-link {
        width: 36px;
        height: 36px;
    }

    .social-network-link img {
        width: 18px;
        height: 18px;
    }

    .payment-systems-grid {
        gap: 10px;
    }

    .payment-system-item img {
        width: 40px;
        height: 26px;
    }
}


/* Google рейтинг */
.gr-top-row {
    display: flex;
    gap: 5px;
    align-items: center;
}

.google-rating-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    max-width: 250px;
}

/* Логотип Google */
.gr-logo {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-logo img,
.gr-logo svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Информация о рейтинге */
.gr-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.gr-value {
    font-size: 14px;
    color: #202124;
    line-height: 1;
}

/* Звёзды рейтинга */
.gr-stars {
    position: relative;
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    letter-spacing: 1px;
    color: #333;
}

.gr-stars-bg {
    color: #cccccc;
    ;
}

.gr-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #FFCC00;
    white-space: nowrap;
}

.gr-text {
    font-size: 10px;
    color: #5f6368;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ratings-container {
        gap: 12px;
    }


    .gr-logo {
        width: 28px;
        height: 28px;
    }

    .gr-value {
        font-size: 18px;
    }

    .gr-stars {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ratings-container {
        gap: 10px;
    }


    .gr-logo {
        width: 20px;
        height: 20px;
    }

    .gr-value {
        font-size: 16px;
    }

    .gr-stars {
        font-size: 18px;
    }

    .gr-text {
        font-size: 11px;
    }
}

/* Кнопка «Вверх» — слева снизу */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #0073aa;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 115, 170, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.5);
}

.back-to-top:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.back-to-top .back-to-top__icon {
    display: block;
    line-height: 48px;
}