/* ── Bar ─────────────────────────────────────────────────────────────────── */

.tb-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #364940;
    box-shadow: 0 0 8px rgba(80, 77, 73, 0.12);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tb-cta-bar.is-visible {
    transform: translateY(0);
}

/* ── Inner layout ────────────────────────────────────────────────────────── */

.tb-cta-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 100px;
    gap: 32px;
    min-height: 120px;
    box-sizing: border-box;
}

/* ── Left: destination thumb + title/price ───────────────────────────────── */

.tb-cta-bar__left {
    display: flex;
    align-items: center;
    gap: 32px;
    min-width: 0;
    flex-shrink: 1;
}


.tb-cta-bar__info {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
}

.tb-cta-bar__title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40vw;
    letter-spacing: 0;
}

.tb-cta-bar__meta {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.tb-cta-bar__price {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    line-height: normal;
}

/* ── Right: specialist + CTA ─────────────────────────────────────────────── */

.tb-cta-bar__right {
    display: flex;
    align-items: center;
    gap: 90px;
    flex-shrink: 0;
}

.tb-cta-bar__specialist {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.tb-cta-bar__spec-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 100px;
    overflow: hidden;
    background: #ddd3c5;
}

.tb-cta-bar__spec-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tb-cta-bar__spec-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

/* label + sub grouped together with 8px gap (Figma: gap-[8px]) */
.tb-cta-bar__spec-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tb-cta-bar__spec-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    line-height: normal;
    display: block;
}

.tb-cta-bar__spec-sub {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    display: block;
    white-space: nowrap;
}

.tb-cta-bar__spec-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #ffffff !important;
    text-decoration: underline !important;
    line-height: normal;
    white-space: nowrap;
}

.tb-cta-bar__spec-phone:hover {
    color: #79a870 !important;
}

/* ── CTA button ──────────────────────────────────────────────────────────── */

.tb-cta-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.16px;
    color: #364940 !important;
    background: #79a870;
    padding: 0 28px;
    height: 52px;
    border-radius: 100px;
    border: none;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
}

.tb-cta-bar__btn:hover {
    background: #6b9962;
    transform: translateY(-1px);
}

.tb-cta-bar__btn svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.tb-cta-bar__btn:hover svg {
    transform: translateX(3px);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .tb-cta-bar__inner {
        padding: 16px 48px;
    }

    .tb-cta-bar__right {
        gap: 40px;
    }

    .tb-cta-bar__title {
        font-size: 20px;
        max-width: 30vw;
    }
}

@media (max-width: 900px) {
    .tb-cta-bar__inner {
        padding: 14px 24px;
        gap: 20px;
        min-height: unset;
    }

    .tb-cta-bar__spec-photo {
        width: 56px;
        height: 56px;
    }

    .tb-cta-bar__spec-label {
        font-size: 16px;
    }

    .tb-cta-bar__spec-sub,
    .tb-cta-bar__spec-phone {
        display: none;
    }

    .tb-cta-bar__right {
        gap: 24px;
    }

    .tb-cta-bar__specialist {
        gap: 16px;
    }

    .tb-cta-bar__title {
        font-size: 16px;
        max-width: 28vw;
    }

    .tb-cta-bar__btn {
        font-size: 14px;
        padding: 0 20px;
        height: 44px;
    }
}

@media (max-width: 600px) {
    .tb-cta-bar__specialist {
        display: none;
    }

    .tb-cta-bar__inner {
        justify-content: space-between;
        padding: 12px 16px;
    }

    .tb-cta-bar__title {
        max-width: 52vw;
        font-size: 15px;
    }

    .tb-cta-bar__info {
        gap: 6px;
    }

    .tb-cta-bar__price {
        font-size: 14px;
    }

    .tb-cta-bar__btn {
        font-size: 14px;
        padding: 0 18px;
        height: 44px;
    }
}
