/**
 * TP Mobile CTA Bar — sticky bottom panel with phone + CTA button
 *
 * Hidden on desktop (≥1025px), shown on tablet/mobile (≤1024px).
 *
 * @package Technoproekt
 * @author  Kkalganov <https://kkalganov.com>
 */

/* ==========================================================================
   Mobile CTA Bar — hidden by default
   ========================================================================== */

.tp-mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--tp-dark);
    padding: 12px 16px;
    border-top: 2px solid var(--tp-yellow);
}

.tp-mobile-cta-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.tp-mobile-cta-bar__phone {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tp-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.tp-mobile-cta-bar__phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--tp-yellow);
}

.tp-mobile-cta-bar__btn {
    padding: 12px 20px;
    background: var(--tp-yellow);
    color: var(--tp-dark);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
}

/* ==========================================================================
   Responsive — show on ≤1024px
   ========================================================================== */

@media (max-width: 1024px) {
    .tp-mobile-cta-bar {
        display: block;
    }

    /* Reserve space so content doesn't hide behind the bar */
    body {
        padding-bottom: 64px;
    }
}
