/* Button */
.button {
    background: var(--color-ink);
    color: var(--color-white);
    border: 1px solid var(--color-ink);
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    padding: 14px 20px;
    line-height: 1.4;
    min-height: 48px;
}

.button:hover {
    background: var(--color-ink-hover);
    color: var(--color-white);
}

/* Underlined text link */
.text-link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Social icons */
.social-links {
    display: flex;
    gap: 9px;
    align-items: center;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c8c8c5;
    border-radius: 50%;
    color: #282828;
    transition: background-color var(--transition);
}

.social-links a:hover {
    background: var(--color-hover-soft);
    text-decoration: none;
}

.social-links svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

/* Floating WhatsApp icon */
.whatsapp-float {
    position: fixed;
    right: 23px;
    bottom: 23px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: var(--color-white);
    display: grid;
    place-items: center;
    z-index: var(--z-float);
    border: 1px solid var(--color-whatsapp-border);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .13);
    transition: transform .15s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    display: block;
}

@media (max-width: 760px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 49px;
        height: 49px;
    }

    .whatsapp-float svg {
        width: 27px;
        height: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .whatsapp-float,
    .social-links a {
        transition: none;
    }
}

/* Inner pages: button is centred and slightly smaller (from the client preview) */
:where(body.mb-inner) .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 12px 19px;
    white-space: nowrap;
}
