/* =========================================
   Site extras: top nav, FAQ, sticky social buttons
   (Kept in a separate file so nothing existing is touched)
========================================= */

/* ---------- Top header nav ---------- */

.site-topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 18px;
    background: #1a1a1a;
}

.site-topnav .topnav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-topnav .topnav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
}

.site-topnav .topnav-links a:hover {
    color: #ffd900;
}

.site-topnav .topnav-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-topnav .topnav-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2a2a2a;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.site-topnav .topnav-social a:hover {
    transform: translateY(-2px);
    background: #ffd900;
}

.site-topnav .topnav-social svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.site-topnav .topnav-social a:hover svg {
    fill: #1a1a1a;
}

@media (max-width: 560px) {
    .site-topnav {
        justify-content: center;
        text-align: center;
    }
    .site-topnav .topnav-links {
        justify-content: center;
        width: 100%;
    }
    .site-topnav .topnav-social {
        justify-content: center;
        width: 100%;
    }
}

/* ---------- FAQ section ---------- */

.site-faq-section {
    max-width: 900px;
    margin: 35px 20px;
    padding: 26px 24px 30px;
}

.site-faq-section .faq-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 22px;
    color: #1a1a1a;
}

.faq-item {
    background: #fffbea;
    border: 2px solid #ffe066;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    user-select: none;
}

.faq-question .faq-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding: 0 20px;
    color: #444;
    line-height: 1.6;
    font-size: 14px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

/* ---------- Sticky WhatsApp / Telegram buttons ---------- */

.sticky-social-rail {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.sticky-social-rail a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    text-decoration: none;
    animation: sticky-bounce 1.8s ease-in-out infinite;
}

.sticky-social-rail a.sticky-whatsapp {
    background: #25d366;
    animation-delay: 0s;
}

.sticky-social-rail a.sticky-telegram {
    background: #229ed9;
    animation-delay: .3s;
}

.sticky-social-rail svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

@keyframes sticky-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 560px) {
    .sticky-social-rail {
        right: 10px;
        gap: 10px;
    }
    .sticky-social-rail a {
        width: 44px;
        height: 44px;
    }
    .sticky-social-rail svg {
        width: 22px;
        height: 22px;
    }
}
