/**
 * Asia Cycling Tours — premium homepage closing CTA.
 * Loaded after the main homepage stylesheet.
 */

body.page-template-page-global-cycling-home .gct-final-cta {
    position: relative;
    isolation: isolate;
    padding: clamp(64px, 8vw, 112px) 0;
    background:
        radial-gradient(circle at 8% 20%, rgba(214, 155, 34, .13), transparent 24rem),
        radial-gradient(circle at 92% 82%, rgba(106, 166, 51, .12), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, #f5f1e8 100%);
    overflow: hidden;
}

body.page-template-page-global-cycling-home .gct-final-cta::before,
body.page-template-page-global-cycling-home .gct-final-cta::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(23, 61, 40, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

body.page-template-page-global-cycling-home .gct-final-cta::before {
    top: -185px;
    left: -145px;
    width: 390px;
    height: 390px;
}

body.page-template-page-global-cycling-home .gct-final-cta::after {
    right: -110px;
    bottom: -235px;
    width: 460px;
    height: 460px;
}

body.page-template-page-global-cycling-home .gct-final-cta__inner {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(235px, .65fr);
    align-items: center;
    gap: clamp(34px, 6vw, 82px);
    padding: clamp(38px, 5.5vw, 76px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: clamp(24px, 3vw, 36px);
    background:
        linear-gradient(112deg, rgba(8, 34, 20, .98) 0%, rgba(18, 63, 38, .97) 56%, rgba(30, 82, 49, .94) 100%);
    box-shadow:
        0 34px 80px rgba(11, 42, 25, .24),
        0 10px 28px rgba(11, 42, 25, .14),
        inset 0 1px 0 rgba(255, 255, 255, .12);
    overflow: hidden;
}

body.page-template-page-global-cycling-home .gct-final-cta__inner::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 86% 18%, rgba(246, 190, 65, .24) 0 1px, transparent 2px) 0 0 / 23px 23px,
        linear-gradient(110deg, transparent 0 58%, rgba(255, 255, 255, .045) 58% 68%, transparent 68%);
    content: "";
    opacity: .52;
    pointer-events: none;
}

body.page-template-page-global-cycling-home .gct-final-cta__inner::after {
    position: absolute;
    z-index: -1;
    top: -135px;
    right: -85px;
    width: 340px;
    height: 340px;
    border: 54px solid rgba(232, 177, 50, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .025);
    content: "";
    pointer-events: none;
}

body.page-template-page-global-cycling-home .gct-final-cta__inner > * {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
    color: #f4c75b;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-eyebrow::before {
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f2b72f, #f8d47b);
    box-shadow: 0 0 18px rgba(242, 183, 47, .45);
    content: "";
}

body.page-template-page-global-cycling-home .gct-final-cta h2 {
    max-width: 760px;
    margin: 0 0 17px;
    color: #ffffff;
    font-size: clamp(2.35rem, 4.25vw, 4.45rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

body.page-template-page-global-cycling-home .gct-final-cta p:not(.gct-eyebrow) {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .83);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.75;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
    width: 100%;
    min-width: 235px;
    margin: 0;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn {
    position: relative;
    justify-content: space-between;
    min-height: 60px;
    width: 100%;
    padding: 15px 18px 15px 22px;
    border-width: 1px;
    border-radius: 15px;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: none;
    overflow: hidden;
    transform: translateZ(0);
    transition:
        transform .22s ease,
        color .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn::after {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: 16px;
    border-radius: 50%;
    content: "→";
    font-size: 1.15rem;
    line-height: 1;
    transition: transform .22s ease, background-color .22s ease;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--primary {
    border-color: #f1bc42;
    color: #163721;
    background: linear-gradient(135deg, #f7d271 0%, #e5a925 100%);
    box-shadow: 0 15px 34px rgba(214, 155, 34, .28);
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--primary::after {
    color: #ffffff;
    background: #273469;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--primary:hover,
body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--primary:focus-visible {
    color: #102d1b;
    background: linear-gradient(135deg, #ffe092 0%, #efb834 100%);
    box-shadow: 0 20px 42px rgba(214, 155, 34, .38);
    transform: translateY(-3px);
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--light {
    border-color: rgba(255, 255, 255, .45);
    color: #ffffff;
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--light::after {
    color: #273469;
    background: rgba(255, 255, 255, .94);
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--light:hover,
body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--light:focus-visible {
    border-color: #ffffff;
    color: #273469;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
    transform: translateY(-3px);
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--light:hover::after,
body.page-template-page-global-cycling-home .gct-final-cta .gct-btn--light:focus-visible::after {
    color: #ffffff;
    background: #273469;
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn:hover::after,
body.page-template-page-global-cycling-home .gct-final-cta .gct-btn:focus-visible::after {
    transform: translateX(4px);
}

body.page-template-page-global-cycling-home .gct-final-cta .gct-btn:focus-visible {
    outline: 3px solid rgba(247, 210, 113, .82);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    body.page-template-page-global-cycling-home .gct-final-cta__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.page-template-page-global-cycling-home .gct-final-cta .gct-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }
}

@media (max-width: 620px) {
    body.page-template-page-global-cycling-home .gct-final-cta {
        padding: 54px 0;
    }

    body.page-template-page-global-cycling-home .gct-final-cta__inner {
        gap: 26px;
        padding: 34px 24px;
        border-radius: 24px;
    }

    body.page-template-page-global-cycling-home .gct-final-cta h2 {
        font-size: clamp(2.15rem, 11vw, 3.15rem);
    }

    body.page-template-page-global-cycling-home .gct-final-cta .gct-actions {
        grid-template-columns: 1fr;
    }

    body.page-template-page-global-cycling-home .gct-final-cta .gct-btn {
        min-height: 58px;
    }

    body.page-template-page-global-cycling-home .gct-final-cta__inner::after {
        top: auto;
        right: -120px;
        bottom: -160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-template-page-global-cycling-home .gct-final-cta .gct-btn,
    body.page-template-page-global-cycling-home .gct-final-cta .gct-btn::after {
        transition: none;
    }

    body.page-template-page-global-cycling-home .gct-final-cta .gct-btn:hover,
    body.page-template-page-global-cycling-home .gct-final-cta .gct-btn:focus-visible {
        transform: none;
    }
}
