.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(8px);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.site-header__logo {
    height: 40px;
    width: auto;
    display: block;
}

.site-header__links,
.site-header__cta {
    display: none;
}

.site-header__menu-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.site-header__menu-btn i {
    font-size: 1.1rem;
}

.site-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(2, 6, 23, 0.45);
}

.site-mobile-panel {
    margin-left: auto;
    width: min(100%, 380px);
    height: 100%;
    background: #fff;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
}

.site-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 20px;
}

.site-mobile-logo {
    height: 36px;
    width: auto;
}

.site-mobile-close {
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 8px;
    color: #334155;
}

.site-mobile-links {
    padding: 16px 20px;
    display: grid;
    gap: 8px;
}

.site-mobile-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 14px;
    border-radius: 10px;
}

.site-mobile-links a:hover {
    color: #e63946;
    background: #f8fafc;
}

.site-mobile-actions {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    padding: 16px 20px;
    display: grid;
    gap: 10px;
}

.site-mobile-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    background: #059669;
    color: #fff;
    text-decoration: none;
    padding: 12px 14px;
    font-weight: 600;
}

.site-mobile-wa:hover {
    background: #047857;
}

.site-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 -5px 22px rgba(2, 6, 23, 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.site-bottom-nav__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 64px;
}

.site-bottom-nav__item {
    position: relative;
    text-decoration: none;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.64rem;
    font-weight: 700;
}

.site-bottom-nav__item i {
    font-size: 1.18rem;
}

.site-bottom-nav__item.is-active {
    color: #e63946;
}

.site-bottom-nav__item.is-wa {
    color: #059669;
}

.site-bottom-nav__item.is-call {
    color: #2563eb;
}

.call-bubble {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    padding: 2px 7px;
    border-radius: 999px;
    animation: callBounce 1.4s ease-in-out infinite;
    pointer-events: none;
}

.call-bubble::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #2563eb;
    border-bottom: none;
}

.phone-ring {
    display: inline-block;
    animation: phoneRing 1.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes callBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-5px); }
    60% { transform: translateX(-50%) translateY(-3px); }
}

@keyframes phoneRing {
    0%,100% { transform: rotate(0deg) scale(1); }
    10% { transform: rotate(-18deg) scale(1.15); }
    20% { transform: rotate(18deg) scale(1.15); }
    30% { transform: rotate(-14deg) scale(1.1); }
    40% { transform: rotate(14deg) scale(1.1); }
    50% { transform: rotate(-8deg); }
    60% { transform: rotate(8deg); }
    70% { transform: rotate(0deg); }
}

@media (min-width: 768px) {
    .site-header__links {
        display: inline-flex;
        gap: 30px;
        align-items: center;
    }

    .site-header__links a {
        color: #1e293b;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .site-header__links a:hover {
        color: #e63946;
    }

    .site-header__cta {
        display: inline-flex;
    }

    .site-header__menu-btn {
        display: none;
    }
}

@media (min-width: 1024px) {
    .site-bottom-nav {
        display: none;
    }

    .call-bubble,
    .phone-ring {
        animation: none;
    }
}
