/* Обновляем стили FAQ попапа в соответствии с примером */
#popup-faq {
    display: none;
}

#popup-faq.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

#popup-faq .popup-content {
    position: relative;
    max-width: 1080px; /* как у apartment */
    width: 96%;
    margin: 40px auto;
    border: 2px solid var(--faq-border, rgba(255, 255, 255, 0.35));
    background: var(--faq-bg, #2a2a2a);
    color: var(--faq-text, #fff);
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#popup-faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin: 6px 0 14px 0;
}

#popup-faq .faq-item h5 {
    font-size: 26px; /* крупнее */
    font-weight: 700;
    margin: 10px 0;
    color: var(--faq-text, #fff);
}

#popup-faq .faq-item p {
    font-size: 22px; /* увеличено относительно базовых 16px в глобальных стилях */
    line-height: 1.6;
    color: var(--faq-muted, #ccc);
    margin-bottom: 16px;
}

#popup-faq .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 3;
}