.tmc-footer {
    background: #1c242d;
    color: #dce5ee;
    font-family: inherit;
}

.tmc-footer a {
    color: inherit;
    text-decoration: none;
}

.tmc-footer a:hover,
.tmc-footer a:focus {
    color: #f47b20;
}

.tmc-footer__inner {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 25px 5px 5px;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(170px, .9fr) minmax(170px, .9fr) minmax(240px, 1fr);
    gap: 44px;
    align-items: start;
}

.tmc-footer__brand {
    min-width: 0;
}

.tmc-footer__logo {
    display: inline-flex;
    align-items: center;
    max-width: 290px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.tmc-footer__logo img {
    display: block;
    max-width: 100%;
    max-height: 74px;
    object-fit: contain;
}

.tmc-footer__column,
.tmc-footer__contacts,
.tmc-footer__contact-group {
    min-width: 0;
}

.tmc-footer__column h3,
.tmc-footer__contact-group h3 {
    margin: 0 0 18px;
    color: #f47b20;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
}

.tmc-footer__contact-group h3 {
    color: #fff;
}

.tmc-footer__column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tmc-footer__column li + li {
    margin-top: 10px;
}

.tmc-footer__column a {
    display: inline-block;
    color: #c7d1dc;
    font-size: 14px;
    line-height: 1.45;
}

.tmc-footer__contacts {
    display: grid;
    gap: 18px;
}

.tmc-footer__contact-group a {
    display: block;
    width: fit-content;
    color: #f47b20;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

.tmc-footer__contact-group > a + a {
    margin-top: 10px;
}

.tmc-footer__contact-group p {
    margin: 0;
    color: #c7d1dc;
    font-size: 13px;
    line-height: 1.55;
}

.tmc-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tmc-footer__socials a {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: #2a9fd6;
    border-radius: 4px;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.tmc-footer__socials a:hover,
.tmc-footer__socials a:focus {
    color: #fff;
    background: #f47b20;
    transform: translateY(-1px);
}

.tmc-footer__socials svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

.tmc-footer__bottom {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 5px 5px;
}

.tmc-footer__bottom-inner {
    max-width: 620px;
}

.tmc-footer__copyright,
.tmc-footer__legal p {
    margin: 0;
    color: #7f8b98;
    font-size: 12px;
    line-height: 1.55;
}

.tmc-footer__legal {
    margin-top: 28px;
    color: #7f8b98;
    font-size: 12px;
    line-height: 1.55;
}

.tmc-footer__legal p + p,
.tmc-footer__legal ul,
.tmc-footer__legal ol {
    margin-top: 10px;
}

.tmc-footer__legal ul,
.tmc-footer__legal ol {
    margin-bottom: 0;
    padding-left: 20px;
}

.tmc-footer__legal a {
    color: #aeb9c5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tmc-footer__legal strong,
.tmc-footer__legal b {
    color: #aeb9c5;
}

@media (max-width: 1100px) {
    .tmc-footer__inner {
        grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(170px, 1fr));
    }

    .tmc-footer__contacts {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 782px) {
    .tmc-footer__inner {
        padding: 38px 22px 28px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .tmc-footer__bottom {
        padding: 0 22px 34px;
    }

    .tmc-footer__logo {
        max-width: 240px;
        font-size: 26px;
    }
}
