/* css/footer.css */
footer {
    background: linear-gradient(135deg, #e6f0fa, #f5f7fa);
    color: #1e293b;
    padding: 30px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.footer-left {
    flex: 1;
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-logo .logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.footer-logo .logo-img:hover {
    transform: scale(1.1);
}

.footer-logo span {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.3s ease;
}

.footer-logo:hover span {
    color: #4a90e2;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.footer-nav ul li {
    margin-bottom: 15px;
}

.footer-nav ul li a {
    font-size: 16px;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #4a90e2;
}

.footer-nav ul li .future-link {
    opacity: 0.6;
}

.footer-nav ul li .future-link:hover {
    opacity: 1;
}

.footer-social {
    margin-bottom: 25px;
}

.footer-social a {
    font-size: 20px;
    color: #1e293b;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #4a90e2;
    transform: scale(1.1);
}

.footer-social .future-icon {
    opacity: 0.6;
}

.footer-social .future-icon:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 14px;
    margin-top: 15px;
}

.footer-right {
    flex: 1;
    max-width: 840px; /* Увеличили ширину на ~5% */
}

.footer-locations {
    background: #f9fafb;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0 0 10px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.footer-title:hover {
    color: #4a90e2;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 30px;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 16px;
    color: #1e293b;
    text-decoration: none;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 220px;
}

.location-item i {
    margin-right: 10px;
    color: #4a90e2;
    font-size: 18px;
    transition: color 0.3s ease;
}

.location-item:hover {
    background: #f0f4f8;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    color: #357abd;
}

.location-item:hover i {
    color: #357abd;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
    }

    .locations-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 25px;
    }

    .footer-logo .logo-img {
        width: 50px;
        height: 50px;
    }

    .footer-logo span {
        font-size: 22px;
    }

    .footer-nav ul li a {
        font-size: 14px;
    }

    .footer-social a {
        font-size: 18px;
    }

    .footer-title {
        font-size: 18px;
    }

    .location-item {
        font-size: 15px;
        padding: 10px 14px;
        min-width: 220px;
    }

    .location-item i {
        margin-right: 8px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-logo .logo-img {
        width: 40px;
        height: 40px;
    }

    .footer-logo span {
        font-size: 18px;
    }

    .footer-nav ul li a {
        font-size: 13px;
    }

    .footer-social a {
        font-size: 16px;
        margin-right: 10px;
    }

    .footer-title {
        font-size: 16px;
    }

    .location-item {
        font-size: 14px;
        padding: 8px 12px;
        min-width: 220px;
    }

    .location-item i {
        margin-right: 8px;
        font-size: 15px;
    }

    .locations-grid {
        grid-template-columns: minmax(240px, 1fr);
    }
}