.footer {
    padding-top: 40px;
    background-color: #232f3e;
    color: var(--secondary-text-color);
    font-size: 14px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 60px;
    padding-bottom: 60px;
}

.footer-title {
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding-bottom: 6px;
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    background-color: var(--secondary-card-text-color);
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.55s cubic-bezier(.4, 0, .2, 1), background-color 0.45s ease;
}

.logo-footer-image {
    width: 38px;
    height: auto;
    display: block;
}

.footer-logo {
    margin-top: -4px;
}

.messenger-list-footer {
    margin-top: 24px;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-contact span {
    margin-right: 8px;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
}

.footer-social img {
    width: 20px;
    height: 20px;
    filter: invert(100%);
}

.footer-contacts-block {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phone-button-footer {
    display: block;
    color: #ffffff;
    margin-left: 15px;
    padding-left: 15px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.phone-button-footer::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 52%;
    text-align: center;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/assets/images/icons/phone-white.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.footer-messengers {
    display: flex;
    align-items: center;
    gap: 0 12px;
}

.footer-messengers img {
    width: 26px;
    height: 26px;
}



.footer-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-bottom-text {
    color: #cfd6df;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

/* ==== Трактор ==== */
.footer-bottom {
    position: relative;
    background-color: #131a22;
    padding-top: 14px;
    padding-bottom: 14px;
}

.footer-excavator {
    position: absolute;
    top: -120px;
    right: 40px;
    width: 200px;
    height: auto;
    z-index: 10;
}

.footer-language {
    display: flex;
    gap: 10px;
}

.footer-language a {
    opacity: 0.7;
}

.footer-language a.active {
    opacity: 1;
    font-weight: 600;
}

.footer-all a {
    display: inline-block;
    margin-top: 4px;
    color: #9fb3c8;
    transition: all 0.25s ease;
}

.footer-all a:hover {
    color: #ffffff;
    transform: translateX(4px);
}
