#sp-assistant {
    position: fixed;
    right: 28px;
    bottom: 190px;
    z-index: 99999;

    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 14px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease;
}

#sp-assistant.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#sp-assistant-avatar {
    width: 72px;
    height: 72px;

    cursor: pointer;

    animation:
        assistantFloat 4s ease-in-out infinite,
        assistantGlow 3s ease-in-out infinite,
        assistantBreathing 4s ease-in-out infinite;
}

#sp-assistant-message {
    position: relative;
    max-width: 220px;
    padding: 13px 17px;

    border: 1px solid #d8d2ca;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(48, 43, 37, 0.12);

    color: #353330;
    font-family: Manrope, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

#sp-assistant-message::before {
    content: "";
    position: absolute;

    right: -13px;
    bottom: 17px;

    width: 22px;
    height: 22px;

    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid #d8d2ca;
    border-bottom: 1px solid #d8d2ca;

    transform: rotate(-45deg);
}

#sp-assistant-avatar {
    position: relative;
    z-index: 2;

    width: 72px;
    height: 72px;

    object-fit: contain;
    cursor: pointer;

    animation:
        assistantFloat 4s ease-in-out infinite,
        assistantGlow 3s ease-in-out infinite,
        assistantBreathing 4s ease-in-out infinite;
}

@keyframes assistantFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes assistantGlow {

    0% {
        filter: drop-shadow(0 0 5px rgba(0, 170, 255, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 14px rgba(0, 170, 255, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(0, 170, 255, 0.2));
    }
}

@keyframes assistantBreathing {

    0% {
        scale: 1;
    }

    50% {
        scale: 1.03;
    }

    100% {
        scale: 1;
    }
}
.lang-switcher button.active-language {
  background: #35594b;
  color: #ffffff;
  border-color: #35594b;
  box-shadow: 0 4px 12px rgba(53, 89, 75, 0.18);
  cursor: default;
}
.desktop-nav a.active-page {
  color: #ffffff;
  background: #35594b;
  padding: 7px 11px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(53, 89, 75, 0.18);
}

.desktop-nav a.active-page::after {
  display: none;
}
html {
    scrollbar-gutter: stable;
}
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: old-page 0.35s ease forwards;
}

::view-transition-new(root) {
    animation: new-page 0.35s ease forwards;
}

@keyframes old-page {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateY(-60px) scale(0.98);
        filter: blur(3px);
    }
}

@keyframes new-page {
    from {
        opacity: 0;
        transform: translateY(40px) scale(1.02);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
