html,
body {
    margin: 0;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
}

.slides {
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.slide {
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;

    @media (max-width: 767px) {
        padding: 0 16px;
    }
}

.chat-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    padding: 0;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    background: #f1c93b;
    color: #123057;
    box-shadow: 0 18px 34px rgba(172, 129, 0, 0.28);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    animation: chat-fab-shake 4.8s ease-in-out infinite;
}

.chat-fab::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.38), transparent 46%);
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.chat-fab::after {
    content: "";
    position: absolute;
    top: -18%;
    left: -62%;
    width: 58%;
    height: 136%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
    transform: rotate(24deg);
    opacity: 0;
    transition: left 0.45s ease, opacity 0.3s ease;
}

.chat-fab:hover,
.chat-fab:focus-visible {
    background: #f4cf49;
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 26px 46px rgba(172, 129, 0, 0.36), 0 0 0 10px rgba(241, 201, 59, 0.14);
}

.chat-fab:hover::before,
.chat-fab:focus-visible::before {
    opacity: 1;
}

.chat-fab:hover::after,
.chat-fab:focus-visible::after {
    left: 112%;
    opacity: 1;
}

.chat-fab:hover .chat-fab__icon,
.chat-fab:focus-visible .chat-fab__icon {
    transform: scale(1.08);
}

.chat-fab:focus-visible {
    outline: 3px solid rgba(0, 87, 216, 0.22);
    outline-offset: 4px;
}

.chat-fab__icon {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    transition: transform 0.25s ease;
}

.chat-fab.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.92);
}

@keyframes chat-fab-shake {
    0%,
    84%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    86% {
        transform: translate3d(-2px, 0, 0) rotate(-6deg);
    }

    88% {
        transform: translate3d(3px, 0, 0) rotate(6deg);
    }

    90% {
        transform: translate3d(-4px, 0, 0) rotate(-7deg);
    }

    92% {
        transform: translate3d(4px, 0, 0) rotate(7deg);
    }

    94% {
        transform: translate3d(-2px, 0, 0) rotate(-4deg);
    }

    96% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

@media (max-width: 767px) {
    .chat-fab {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
    }

    .chat-fab__icon {
        width: 26px;
        height: 26px;
    }
}
