/* Call Now buttons — COTG bond landing pages (SFG layout, COTG brand colors) */

.cotg-lp-call-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.cotg-lp-call-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fe7c06;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(254, 124, 6, 0.35);
    font-family: inherit;
}

.cotg-lp-call-now:hover,
.cotg-lp-call-now:focus {
    background: #e86a00;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    outline: none;
}

.cotg-lp-call-now__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e53935;
    flex-shrink: 0;
    animation: cotg-lp-call-pulse 1.8s infinite;
}

@keyframes cotg-lp-call-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(229, 57, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
    }
}

/* Dual-number popup (SFG-style) */
.cotg-lp-call-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10050;
    min-width: 190px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    gap: 4px;
}

.cotg-lp-call-wrap.is-open > .cotg-lp-call-menu {
    display: flex;
}

.cotg-lp-call-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #222 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.cotg-lp-call-menu a:hover,
.cotg-lp-call-menu a:focus {
    background: #fff4eb;
    color: #e86a00 !important;
    text-decoration: none !important;
    outline: none;
}

.cotg-lp-call-menu i {
    width: 18px;
    text-align: center;
    color: #fe7c06;
    font-size: 16px;
}

.cotg-lp-call-menu a:hover i,
.cotg-lp-call-menu a:focus i {
    color: #e86a00;
}

.cotg-lp-call-menu--up {
    top: auto;
    bottom: calc(100% + 10px);
    left: 0;
    right: auto;
}

.cotg-lp-call-wrap--floating {
    position: fixed;
    bottom: 90px;
    left: 16px;
    z-index: 9999;
}

.cotg-lp-floating-call {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fe7c06;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(254, 124, 6, 0.35);
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    padding: 0;
    font-family: inherit;
}

.cotg-lp-floating-call i {
    font-size: 22px;
}

.cotg-lp-floating-call:hover,
.cotg-lp-floating-call:focus {
    background: #e86a00;
    color: #fff !important;
    transform: scale(1.08);
    text-decoration: none !important;
    outline: none;
}

.cotg-lp-mobile-bar__call {
    background: #fe7c06 !important;
}

.cotg-lp-mobile-bar__call:hover,
.cotg-lp-mobile-bar__call:active {
    background: #e86a00 !important;
    color: #fff !important;
}

.floating-chat-buttons {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-chat-buttons a {
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-chat-buttons a:hover {
    transform: scale(1.08);
}

.floating-chat-buttons img {
    width: 40px;
    height: 40px;
}

/* Bottom orange bar Call Now — mobile only (desktop already has topbar button) */
.bottommenu .cotg-lp-call-now {
    display: none;
}

.bottommenu .cotg-lp-call-wrap {
    display: none;
}

@media (max-width: 786px) {
    .bottommenu .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .bottommenu .cotg-lp-call-wrap {
        display: inline-flex !important;
        flex-shrink: 0;
        margin-left: auto;
        position: relative;
        z-index: 2;
    }

    .bottommenu .cotg-lp-call-now,
    .bottommenu .cotg-lp-call-now.mobile-hide {
        display: inline-flex !important;
    }

    .bottommenu .cotg-lp-call-menu {
        right: 0;
        left: auto;
    }

    .bottommenu .logo,
    .bottommenu .mobile-logo {
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 767px) {
    .cotg-lp-call-wrap--floating {
        bottom: 72px;
    }

    body.bond-lp-premium .cotg-lp-call-wrap--floating {
        bottom: 24px;
    }

    body.cotg-lp .floating-chat-buttons {
        bottom: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cotg-lp-call-now__dot {
        animation: none;
    }
}
