/* Tappable phone number ("click-to-call") component */

.tappable-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #1a73e8;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.tappable-phone:hover,
.tappable-phone:focus {
    background: #155ab6;
    color: #ffffff;
    text-decoration: none;
}

/* Keyboard focus ring for accessibility. */
.tappable-phone:focus-visible {
    outline: 3px solid #b7d4ff;
    outline-offset: 2px;
}

.tappable-phone__icon {
    flex: 0 0 auto;
    display: block;
}

.tappable-phone__body {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.tappable-phone__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

.tappable-phone__number {
    /* Large, high-contrast number — the primary tap target. */
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Header placement: sit alongside the branding/nav. */
.tappable-phone--header {
    margin-left: auto;
}

.site-header__inner .tappable-phone--header {
    /* Keep the call button visually balanced next to the menu toggle. */
    order: 3;
}

/* Make the number even more prominent on small screens where calling matters most. */
@media (max-width: 600px) {
    .tappable-phone--header {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .tappable-phone__number {
        font-size: 1.35rem;
    }
}
