.footer-container {
    width: 100%;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
}

.footer {
    width: 100%;
    max-width: 1680px; /* Соответствует max-width в .container */
    min-height: 600px;
    padding: 80px 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-section:first-child {
    flex: 0 0 35%;
    max-width: 35%;
    padding-right: 60px;
}

.footer-section:not(:first-child) {
    flex: 0 0 15%;
    max-width: 15%;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 500;

    margin-bottom: 30px;
    color: #242323;
}

.footer-section p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: #242323;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.subscribe-form {
    display: flex;
    max-width: 100%;
    margin-top: 25px;
    margin-bottom: 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background-color: #ebebeb;
    font-size: 16px;
}

.subscribe-form button {
    padding: 16px 30px;
    background-color: #000;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.subscribe-form button:hover {
    background-color: #333;
}

.disclaimer {
    font-size: 14px;
    margin-top: 15px;
    color: #727272;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(114, 114, 114, 0.2);
    font-size: 16px;
    color: #727272;
}

.footer-bottom-links {
    display: flex;
}

.footer-bottom-links a {
    color: #727272;
    text-decoration: none;
    margin-left: 40px;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1920px) {
    .footer {
        padding: 60px 80px;
    }
}

@media (max-width: 1200px) {
    .footer {
        padding: 50px 40px;
    }

    .footer-section:first-child {
        flex: 0 0 40%;
        max-width: 40%;
        padding-right: 30px;
    }

    .footer-section:not(:first-child) {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 992px) {
    .footer {
        padding: 40px 20px;
    }

    .footer-section:first-child {
        flex: 0 0 32%;
        max-width: 50%;
        padding-right: 20px;
    }

    .footer-section:not(:first-child) {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
        min-height: auto;
    }

    .footer-content {
        display: flex;
        flex-direction: column !important;
        flex-wrap: nowrap;
        margin-bottom: 10px;
    }

    .footer-section {
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        flex: 0 0 0%;
    }

    .footer-section:first-child {
        padding-right: 0;
        max-width:100%;
    }

    .footer-section:not(:first-child) {
        flex: 0 0 13%;
        max-width: 100%;
    }

    .disclaimer {
        margin-top: 10px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column !important;
        align-items: flex-start;
        padding-top: 20px;
    }

    .footer-bottom-links {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
    }

    .footer-bottom-links a {
        margin-left: 0;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 10px;
    }

    .footer-content {
        margin-bottom: 10px;
    }

    .footer-section {
        margin-bottom: 10px;
    }

    .disclaimer {
        margin-top: 8px;
    }

    .footer-bottom {
        padding-top: 15px;
    }

    .footer-bottom-links {
        margin-top: 8px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input {
        margin-bottom: 10px;
    }
}