/* ==========================================================================
   Website Rakyat — CTA card & footer restyle (home.html)
   ========================================================================== */

.footer__area-three,
.wr-cta,
.wr-foot {
    --wr-red: #e8112b;
    --wr-red-2: #ff2d40;
    --wr-muted: #9ba1ab;
    --wr-panel: #16171a;
    --wr-line: rgba(255, 255, 255, 0.08);
}

.footer__area-three {
    padding-top: 50px;
}

/* ---------- CTA card ---------- */
.wr-cta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.78fr) minmax(0, 0.86fr);
    gap: 30px 40px;
    align-items: center;
    margin-bottom: 76px;
    padding: 54px 56px 50px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(75% 120% at 100% 55%, rgba(255, 45, 64, 0.55) 0%, rgba(190, 20, 40, 0.30) 32%, rgba(19, 20, 21, 0) 66%),
        radial-gradient(60% 90% at 4% 0%, rgba(255, 45, 64, 0.12) 0%, rgba(19, 20, 21, 0) 60%),
        linear-gradient(180deg, #17181b 0%, #121314 100%);
}

.wr-cta::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 64, 0.35) 0%, rgba(255, 45, 64, 0) 68%);
    pointer-events: none;
}

.wr-cta__main {
    position: relative;
    z-index: 2;
}

.wr-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(10, 10, 12, 0.65);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.wr-cta__badge i,
.wr-cta__badge-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--wr-red);
    font-size: 14px;
    color: #fff;
    flex: 0 0 30px;
}

.wr-cta__badge-ic svg {
    width: 16px;
    height: 16px;
}

.wr-cta__title {
    margin: 24px 0 16px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.wr-cta__title span {
    color: var(--wr-red-2);
}

.wr-cta__main > p {
    max-width: 560px;
    margin-bottom: 34px;
    color: var(--wr-muted);
    font-size: 15.5px;
    line-height: 1.78;
}

.wr-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 34px;
    border-radius: 999px;
    background: var(--wr-red);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(232, 17, 43, 0.32);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wr-cta__btn:hover {
    background: var(--wr-red-2);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(232, 17, 43, 0.45);
}

.wr-cta__btn svg {
    transition: transform 0.25s ease;
}

.wr-cta__btn:hover svg {
    transform: translateX(5px);
}

/* features */
.wr-cta__feats {
    position: relative;
    z-index: 2;
}

.wr-feat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wr-feat + .wr-feat {
    margin-top: 26px;
}

.wr-feat__ic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 45, 64, 0.35);
    border-radius: 50%;
    background: rgba(255, 45, 64, 0.12);
    color: var(--wr-red-2);
    font-size: 20px;
}

.wr-feat h3 {
    margin: 4px 0 5px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.wr-feat p {
    margin-bottom: 0;
    color: var(--wr-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

/* illustration */
.wr-cta__art {
    position: relative;
    z-index: 1;
}

.wr-cta__art svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- footer columns ---------- */
.footer__top-inner-three {
    padding: 0;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
}

.wr-brand__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.wr-brand__logo img {
    width: auto;
    height: 66px;
}

.wr-brand__text {
    line-height: 1.02;
}

.wr-brand__text span,
.wr-brand__text strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.wr-brand__text span {
    color: #fff;
}

.wr-brand__text strong {
    color: var(--wr-red);
}

.footer__content .wr-brand__desc {
    width: auto;
    max-width: 330px;
    margin-bottom: 0;
    color: var(--wr-muted);
    font-size: 16px;
    line-height: 1.75;
}

.wr-brand__line {
    display: block;
    width: 132px;
    height: 3px;
    margin: 24px 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--wr-red) 0%, rgba(232, 17, 43, 0) 100%);
}

.wr-brand__follow {
    display: block;
    margin-bottom: 16px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.wr-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wr-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #27282d;
    border-radius: 50%;
    background: #16171a;
    color: #e9eaed;
    font-size: 17px;
    transition: all 0.25s ease;
}

.wr-social a:hover {
    border-color: var(--wr-red);
    background: var(--wr-red);
    color: #fff;
    transform: translateY(-3px);
}

/* widget title + links */
.wr-wt {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.wr-wt__ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--wr-red);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(232, 17, 43, 0.35);
}

.wr-wt h4 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wr-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wr-links li {
    margin-bottom: 17px;
}

.wr-links li:last-child {
    margin-bottom: 0;
}

.wr-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c7cbd2;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.wr-links .ar {
    color: #6f757e;
    transition: transform 0.25s ease, color 0.25s ease;
}

.wr-links a:hover {
    color: var(--wr-red-2);
}

.wr-links a:hover .ar {
    color: var(--wr-red-2);
    transform: translateX(5px);
}

/* ---------- payment bar ---------- */
.footer__cart-wrap-three {
    margin-top: 52px;
    padding: 18px 26px;
    border: 1px solid #212227;
    border-radius: 18px;
    background: var(--wr-panel);
}

.wr-pay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.wr-pay__left {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.wr-pay__label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.wr-pay__label i {
    color: var(--wr-red-2);
    font-size: 18px;
}

.wr-pays {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.wr-pays li {
    display: flex;
    align-items: center;
    height: 30px;
}

.pl {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.pl-visa {
    color: #fff;
    font-size: 21px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 1px;
}

.pl-bca,
.pl-bri {
    padding: 6px 9px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pl-bca {
    background: #0033a0;
}

.pl-bri {
    background: #0a5cad;
}

.pl-mandiri {
    position: relative;
    flex-direction: column;
    gap: 2px;
    color: #56a0ff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.pl-mandiri svg {
    position: absolute;
    top: -7px;
    left: 4px;
    width: 66px;
    height: 8px;
}

.wr-pay__sep {
    width: 1px;
    align-self: stretch;
    min-height: 42px;
    background: #2a2b31;
    margin: 0 6px;
}

.wr-pay__right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.wr-chat {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid #2d2e34;
    border-radius: 10px;
    background: #1c1d21;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.25s ease;
}

.wr-chat:hover {
    border-color: var(--wr-red);
    background: var(--wr-red);
    color: #fff;
}

.wr-lang {
    position: relative;
    display: flex;
    align-items: center;
}

.wr-lang i.globe {
    position: absolute;
    left: 14px;
    color: #fff;
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
}

.wr-lang::after {
    content: "\f078";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    font-size: 11px;
    color: #9ba1ab;
    pointer-events: none;
}

.wr-lang select {
    appearance: none;
    -webkit-appearance: none;
    height: 42px;
    padding: 0 38px 0 38px;
    border: 1px solid #2d2e34;
    border-radius: 10px;
    outline: none;
    background: #1c1d21;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ---------- bottom bar ---------- */
.footer__bottom-three {
    padding: 22px 0;
}

.wr-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wr-legal li {
    display: flex;
    align-items: center;
}

.wr-legal li + li::before {
    content: "|";
    margin: 0 15px;
    color: #3a3b42;
}

.wr-legal a {
    color: var(--wr-muted);
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.wr-legal a:hover {
    color: var(--wr-red-2);
}

.copy-right-text p {
    margin-bottom: 0;
    color: var(--wr-muted);
    font-size: 14.5px;
}

.copy-right-text p span {
    color: #fff;
    font-weight: 700;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .wr-cta {
        padding: 44px 40px 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .wr-cta__title {
        font-size: 38px;
    }

    .wr-cta__art {
        display: none;
    }

    .footer__top-inner-three .row > [class*="col-"] {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .wr-brand__desc {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .wr-cta {
        grid-template-columns: 100%;
        gap: 34px;
        margin-bottom: 56px;
    }

    .wr-cta__main > p {
        max-width: 100%;
    }

    .wr-cta__art {
        display: block;
        max-width: 420px;
        margin: 0 auto;
    }

    .wr-links li {
        margin-bottom: 14px;
    }

    .wr-pay {
        justify-content: center;
    }

    .wr-pay__sep {
        display: none;
    }

    .wr-pay__right {
        width: 100%;
        justify-content: center;
    }

    .wr-legal {
        justify-content: center;
        margin-bottom: 12px;
    }

    .copy-right-text p {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .footer__top-inner-three .row > [class*="col-"] {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .wr-cta {
        padding: 32px 22px;
        border-radius: 20px;
    }

    .wr-cta__title {
        font-size: 30px;
    }

    .wr-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .wr-brand__logo img {
        height: 54px;
    }

    .wr-brand__text span,
    .wr-brand__text strong {
        font-size: 24px;
    }

    .footer__cart-wrap-three {
        padding: 20px 18px;
    }

    .wr-pay__left {
        justify-content: center;
        gap: 18px;
    }

    .wr-pays {
        justify-content: center;
        gap: 18px;
    }

    .wr-legal {
        flex-wrap: wrap;
        gap: 8px 0;
    }
}
