/* Explain: Styles for the floating WhatsApp button. */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--background-color);
}

body {
    margin: 0;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.004em;
    color: var(--text-color);
    background: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--electric);
    color: #ffffff;
}

:focus-visible {
    outline: 2px solid var(--electric);
    outline-offset: 3px;
    border-radius: 6px;
}

[x-cloak] {
    display: none !important;
}

/* Floating WhatsApp Button */
.wa-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--electric);
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(0, 42, 255, 0.22), 0 6px 16px rgba(10, 18, 37, 0.22);
    z-index: 60;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wa-floating:hover {
    transform: scale(1.08);
    background-color: var(--electric-hover);
    color: #ffffff;
}

@media (max-width: 640px) {
    .wa-floating {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        font-size: 27px;
    }
}