:root {
    --tb-footer-container: 1180px;
    --tb-footer-white: #ffffff;
    --tb-footer-pink: #ff4d8d;
}

.tb-footer {
    position: relative;
    overflow: hidden;
    padding: 58px 0 34px;
    color: rgba(255, 255, 255, .78);
    background: #0f081b;
}

.tb-footer,
.tb-footer * {
    box-sizing: border-box;
}

.tb-footer a {
    text-decoration: none;
}

.tb-footer .tb-container {
    position: relative;
    z-index: 2;
    width: min(var(--tb-footer-container), calc(100% - 40px));
    margin: 0 auto;
}

.tb-footer__main {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 72px;
    padding-bottom: 42px;
}

.tb-footer__brand-block p {
    max-width: 360px;
    margin: 18px 0 22px;
    color: rgba(255, 255, 255, .66);
    font-family: 'Manrope', 'Inter', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.tb-footer__logo {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 39px;
    line-height: 1;
    color: var(--tb-footer-white);
}

.tb-footer__logo strong {
    color: var(--tb-footer-pink);
    font-style: italic;
    font-weight: 800;
    text-shadow: 0 0 26px rgba(255, 77, 141, .35);
}

.tb-footer__email {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 77, 141, .36);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .04);
    font-weight: 800;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tb-footer__email:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 77, 141, .72);
    box-shadow: 0 0 26px rgba(255, 77, 141, .20);
}

.tb-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.tb-footer__col {
    min-width: 0;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
    box-shadow: 0 22px 54px rgba(0, 0, 0, .20);
}

.tb-footer__col h3 {
    margin: 0 0 18px;
    color: #ff6fa5;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tb-footer__col ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-footer__col a {
    color: rgba(255, 255, 255, .78);
    font-family: 'Manrope', 'Inter', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.25;
    transition: color .2s ease, padding-left .2s ease;
}

.tb-footer__col a:hover {
    color: #fff;
    padding-left: 4px;
}

.tb-footer__payment-note {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: start;
    padding: 24px 28px;
    border: 1px solid rgba(255, 77, 141, .18);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 77, 141, .08), rgba(255, 255, 255, .035));
    box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
}

.tb-footer__payment-note strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}

.tb-footer__payment-note p {
    margin: 0;
    color: rgba(255, 255, 255, .64);
    font-family: 'Manrope', 'Inter', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.tb-footer__payment-note a {
    color: #ff76aa;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tb-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .48);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 980px) {
    .tb-footer__main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .tb-footer__brand-block {
        text-align: center;
    }

    .tb-footer__brand-block p {
        margin-left: auto;
        margin-right: auto;
    }

    .tb-footer__nav {
        gap: 18px;
    }

    .tb-footer__payment-note {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .tb-footer__nav {
        grid-template-columns: 1fr;
    }

    .tb-footer__col {
        padding: 24px 22px;
    }

    .tb-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 460px) {
    .tb-footer {
        padding: 50px 0 28px;
    }

    .tb-footer__logo {
        font-size: 33px;
    }

    .tb-footer__payment-note {
        padding: 22px 18px;
    }
}
