.tb-proposals {
    --tbp-red: #d20a2e;
    --tbp-wine: #660018;
    --tbp-dark: #270008;
    --tbp-yellow: #ffd100;
    --tbp-cream: #fff7e6;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    background:
        linear-gradient(115deg, rgba(255, 209, 0, .11), transparent 32%),
        var(--tbp-cream);
    color: var(--tbp-dark);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: isolate;
    overflow: hidden;
}

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

.tb-proposals::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .24;
    background-image: repeating-radial-gradient(circle at 0 0, rgba(102, 0, 24, .14) 0 .6px, transparent .8px 7px);
    background-size: 11px 11px;
}

.tb-proposals__sun {
    position: absolute;
    z-index: -1;
    top: -190px;
    right: -150px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: var(--tbp-yellow);
    opacity: .88;
}

.tb-proposals__sun::before,
.tb-proposals__sun::after {
    content: "";
    position: absolute;
    inset: -58px;
    border: 1px solid rgba(102, 0, 24, .11);
    border-radius: 50%;
}

.tb-proposals__sun::after {
    inset: -116px;
}

.tb-proposals__orbit {
    position: absolute;
    z-index: 1;
    top: 55px;
    right: 44px;
    width: 165px;
    height: 165px;
    border: 1px solid rgba(102, 0, 24, .22);
    border-radius: 50%;
    animation: tb-proposals-orbit 13s linear infinite;
}

.tb-proposals__orbit i {
    position: absolute;
    top: 8px;
    left: 17px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 12px 3px 12px 3px;
    background: var(--tbp-red);
    color: #fff;
    font-size: 14px;
    font-style: normal;
    box-shadow: 0 10px 28px rgba(102, 0, 24, .2);
}

@keyframes tb-proposals-orbit {
    to { transform: rotate(360deg); }
}

.tb-proposals__inner {
    position: relative;
    z-index: 2;
    width: min(1360px, calc(100% - 64px));
    margin: 0 auto;
    padding: 118px 0 126px;
}

.tb-proposals__header {
    max-width: 1160px;
    margin-bottom: 58px;
}

.tb-proposals__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    margin-bottom: 27px;
    padding: 0 17px 0 10px;
    border: 1px solid rgba(102, 0, 24, .19);
    border-radius: 999px;
    color: var(--tbp-wine);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.tb-proposals__eyebrow i {
    width: 9px;
    height: 9px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--tbp-red);
    box-shadow: 0 0 0 5px rgba(210, 10, 46, .09);
}

.tb-proposals__heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 56px;
}

.tb-proposals h2 {
    max-width: 970px;
    margin: 0;
    color: var(--tbp-wine);
    font-size: clamp(54px, 6.2vw, 94px);
    font-weight: 950;
    line-height: .91;
    letter-spacing: -.07em;
    text-wrap: balance;
}

.tb-proposals__count {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding-bottom: 8px;
    color: var(--tbp-red);
}

.tb-proposals__count strong {
    font-size: 55px;
    font-weight: 950;
    line-height: .8;
    letter-spacing: -.08em;
}

.tb-proposals__count span {
    color: rgba(102, 0, 24, .58);
    font-size: 8px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.tb-proposals__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.tb-proposal-card {
    --tbp-card-accent: var(--tbp-red);
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 38px;
    align-items: start;
    gap: 24px;
    min-height: 245px;
    padding: 34px 27px 31px 24px;
    border: 1px solid rgba(102, 0, 24, .16);
    border-radius: 27px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 16px 45px rgba(73, 0, 17, .055);
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.tb-proposal-card:nth-child(2),
.tb-proposal-card:nth-child(5) {
    --tbp-card-accent: #f0b900;
}

.tb-proposal-card:nth-child(3),
.tb-proposal-card:nth-child(6) {
    --tbp-card-accent: var(--tbp-wine);
}

.tb-proposal-card::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    height: 8px;
    border-radius: 8px 0 0 0;
    background: var(--tbp-card-accent);
    transform: translateX(94px);
    transition: transform .38s cubic-bezier(.2, .7, .2, 1);
}

.tb-proposal-card:hover {
    border-color: color-mix(in srgb, var(--tbp-card-accent) 48%, transparent);
    box-shadow: 0 24px 55px rgba(73, 0, 17, .1);
    transform: translateY(-5px);
}

.tb-proposal-card:hover::before {
    transform: translateX(0);
}

.tb-proposal-card__mark {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid rgba(102, 0, 24, .13);
}

.tb-proposal-card__mark span {
    color: rgba(102, 0, 24, .42);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}

.tb-proposal-card__mark i {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    border-radius: 18px 5px 18px 5px;
    background: var(--tbp-card-accent);
    color: #fff;
    font-size: 22px;
    font-style: normal;
    box-shadow: 0 12px 27px color-mix(in srgb, var(--tbp-card-accent) 20%, transparent);
}

.tb-proposal-card:nth-child(2) .tb-proposal-card__mark i,
.tb-proposal-card:nth-child(5) .tb-proposal-card__mark i {
    color: var(--tbp-wine);
}

.tb-proposal-card h3 {
    margin: 1px 0 14px;
    color: var(--tbp-wine);
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.045em;
}

.tb-proposal-card p {
    margin: 0;
    color: rgba(39, 0, 8, .67);
    font-size: 12.5px;
    line-height: 1.7;
}

.tb-proposal-card__arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(102, 0, 24, .14);
    border-radius: 50%;
    color: var(--tbp-card-accent);
    font-size: 15px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.tb-proposal-card:hover .tb-proposal-card__arrow {
    background: var(--tbp-card-accent);
    color: #fff;
    transform: rotate(45deg);
}

.tb-proposals__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 43px;
}

.tb-proposals__footer > div {
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(102, 0, 24, .48);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tb-proposals__footer > div i {
    color: var(--tbp-red);
    font-style: normal;
}

.tb-proposals__footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 62px;
    min-width: 295px;
    padding: 7px 8px 7px 26px;
    border-radius: 999px;
    background: var(--tbp-red);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(210, 10, 46, .2);
    transition: background .25s ease, transform .25s ease;
}

.tb-proposals__footer > a b {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: var(--tbp-yellow);
    color: var(--tbp-wine);
    font-size: 18px;
}

.tb-proposals__footer > a:hover {
    background: var(--tbp-wine);
    transform: translateY(-3px);
}

.tb-proposals--motion .tb-proposals-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1);
}

.tb-proposals--motion .tb-proposal-card.tb-proposals-reveal {
    transition-delay: var(--tb-proposal-delay);
}

.tb-proposals--motion .tb-proposals-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .tb-proposals__heading-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .tb-proposals__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .tb-proposals__inner {
        width: calc(100% - 36px);
        padding: 88px 0 98px;
    }

    .tb-proposals h2 {
        font-size: clamp(47px, 13vw, 66px);
    }

    .tb-proposals__orbit {
        top: 28px;
        right: 25px;
        width: 105px;
        height: 105px;
    }

    .tb-proposal-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 17px;
        min-height: 0;
        padding: 28px 21px 31px 18px;
        border-radius: 23px;
    }

    .tb-proposal-card__mark {
        padding-right: 14px;
    }

    .tb-proposal-card__mark i {
        width: 43px;
        height: 43px;
        border-radius: 14px 4px 14px 4px;
        font-size: 18px;
    }

    .tb-proposal-card__arrow {
        display: none;
    }

    .tb-proposal-card h3 {
        font-size: 26px;
    }

    .tb-proposal-card p {
        font-size: 12px;
        line-height: 1.65;
    }

    .tb-proposals__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tb-proposals__footer > div {
        flex-wrap: wrap;
    }

    .tb-proposals__footer > a {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tb-proposals *,
    .tb-proposals *::before,
    .tb-proposals *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .tb-proposals--motion .tb-proposals-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

