/* Booking CTA — Umów badania */

@keyframes booking-cta-pulse
{
    0%, 100%
    {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.22);
    }

    50%
    {
        transform: scale(1.12);
        box-shadow: 0 0 0 6px rgba(0, 180, 160, 0.12);
    }
}

.booking-cta--card
{
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 20px;
    background-color: var(--white--);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.booking-cta__title
{
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    text-transform: none;
    letter-spacing: normal;
}

.booking-cta__actions
{
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.booking-cta__btn
{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.booking-cta__btn:focus-visible
{
    outline: 2px solid var(--blue--);
    outline-offset: 2px;
}

.booking-cta__btn:active
{
    transform: translateY(1px);
}

.booking-cta__btn--form
{
    text-transform: uppercase;
    color: var(--white--);
    background-color: var(--blue--);
    font-size: 0.95rem;
    padding: 12px 32px;
}

.booking-cta__btn--form:hover
{
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.booking-cta__form-icon:before
{
    font-size: 1.15rem;
}

/* Phone button — outline, 2-row layout */

.booking-cta__btn--phone
{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    justify-content: stretch;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(21, 103, 196, 0.22);
    border-radius: 12px;
    background-color: var(--white--);
    color: #0f172a;
    text-align: left;
}

.booking-cta__btn--phone:hover
{
    transform: translateY(-2px);
    border-color: rgba(21, 103, 196, 0.38);
    box-shadow: 0 8px 20px rgba(21, 103, 196, 0.1);
    background-color: #fafcff;
}

.booking-cta__phone-icon-wrap
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: rgba(21, 103, 196, 0.08);
    flex-shrink: 0;
}

.booking-cta__phone-icon:before
{
    font-size: 1.2rem;
    color: var(--blue--);
}

.booking-cta__phone-copy
{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.booking-cta__phone-head
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.booking-cta__phone-label
{
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.booking-cta__phone-number
{
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue--);
    white-space: nowrap;
}

.booking-cta__live-dot
{
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--green--);
    animation: booking-cta-pulse 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce)
{
    .booking-cta__live-dot
    {
        animation: none;
        box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.22);
    }
}

@media (max-width: 479px)
{
    .booking-cta--card
    {
        padding: 1.35rem 1.1rem 1.2rem;
    }

    .booking-cta__btn--form
    {
        font-size: 0.85rem;
        padding: 11px 18px;
        gap: 0.4rem;
    }

    .booking-cta__btn--phone:not(.booking-cta__btn--hero-phone)
    {
        padding: 0.75rem 0.85rem;
        gap: 0.65rem;
    }

    .booking-cta__btn--hero-phone
    {
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .booking-cta__phone-icon-wrap
    {
        width: 2.5rem;
        height: 2.5rem;
    }

    .booking-cta__phone-number
    {
        font-size: 1.05rem;
    }

    .booking-cta--hero .book-visit-button
    {
        font-size: 1rem;
        padding: 0.85rem 1rem;
    }
}

/* Band between hours table and prose */

.booking-cta-band
{
    box-sizing: border-box;
    width: 100%;
    margin: 3rem 0 0;
    padding: 0;
}

/* Hero variant */

.booking-cta--hero
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.booking-cta--hero .book-visit-button
{
    text-decoration: none;
    cursor: pointer;
    color: var(--black--);
    background-color: var(--green--);
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.9rem 1.25rem;
    min-height: auto;
    white-space: nowrap;
    box-shadow: 0 8px 28px rgba(66, 68, 90, 0.45);
}

.booking-cta__btn--hero-phone
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    grid-template-columns: none;
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: 50px;
    background-color: var(--white--);
    color: var(--blue--);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: none;
    text-align: center;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.18);
}

.booking-cta__hero-phone-label
{
    white-space: nowrap;
}

.booking-cta__btn--hero-phone:hover
{
    filter: none;
    transform: translateY(-2px);
    border-color: transparent;
    background-color: var(--white--);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
}

@media (min-width: 768px)
{
    .booking-cta--hero
    {
        flex-direction: row;
        align-items: stretch;
        gap: 1rem;
    }

    .booking-cta--hero .book-visit-button,
    .booking-cta--hero .booking-cta__btn--hero-phone
    {
        flex: 1 1 0;
        width: auto;
    }

    .booking-cta--hero .book-visit-button,
    .booking-cta__btn--hero-phone
    {
        font-size: 1.2rem;
        padding: 1rem 1.25rem;
    }

    .booking-cta__phone-number
    {
        font-size: 1.25rem;
    }
}

@media (min-width: 992px)
{
    .booking-cta--card
    {
        padding: 2rem 1.75rem 1.65rem;
    }

    .booking-cta__title
    {
        font-size: 1.5rem;
        margin-bottom: 1.35rem;
    }

    .booking-cta--hero .book-visit-button,
    .booking-cta__btn--hero-phone
    {
        font-size: 1.25rem;
        letter-spacing: 0.5px;
    }
}

/* Info page placement */

.info-section__cta
{
    margin-top: 2.5rem;
    width: 100%;
}

.info-section__inner > .info-section__cta
{
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
