/* Nice Homes Realtors — FAQs page (hero: nhr-page-hero.css) */

.nhr-faq-section {
    padding-bottom: 60px;
}

.nhr-faq-sidebar {
    position: sticky;
    top: 100px;
}

.nhr-faq-intro .sec-title {
    margin-bottom: 16px;
}
.nhr-faq-intro .sec-text {
    line-height: 1.75;
    margin-bottom: 24px;
}
.nhr-faq-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.nhr-faq-contact-card {
    padding: 28px 26px;
    border-radius: 18px;
    background: #faf8f6;
    border: 1px solid #eee;
}
.nhr-faq-contact-title {
    font-size: 20px;
    margin-bottom: 18px;
}
.nhr-faq-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
    line-height: 1.65;
}
.nhr-faq-contact-item:last-child {
    margin-bottom: 0;
}
.nhr-faq-contact-item i {
    color: var(--theme-color, #c62828);
    margin-top: 4px;
    flex-shrink: 0;
}
.nhr-faq-contact-item a {
    color: inherit;
    text-decoration: none;
}
.nhr-faq-contact-item a:hover {
    color: var(--theme-color, #c62828);
}

.nhr-faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.nhr-faq-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: var(--title-color, #141414);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.22s ease;
}
.nhr-faq-filter-btn:hover {
    border-color: var(--theme-color, #c62828);
    color: var(--theme-color, #c62828);
}
.nhr-faq-filter-btn.active {
    background: var(--theme-color, #c62828);
    border-color: var(--theme-color, #c62828);
    color: #fff;
}

.nhr-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nhr-faq-item {
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.nhr-faq-item.is-open {
    border-color: rgba(198, 40, 40, 0.35);
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06);
}

.nhr-faq-item-heading {
    margin: 0;
}

.nhr-faq-trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: var(--title-color, #141414);
}
.nhr-faq-item.is-open .nhr-faq-trigger {
    color: var(--theme-color, #c62828);
}

.nhr-faq-number {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.55;
    min-width: 28px;
}
.nhr-faq-item.is-open .nhr-faq-number {
    opacity: 1;
    color: var(--theme-color, #c62828);
}

.nhr-faq-question {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    padding-right: 8px;
}

.nhr-faq-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    font-weight: 600;
}

.nhr-faq-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    position: relative;
}
.nhr-faq-icon::before,
.nhr-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.nhr-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.nhr-faq-item.is-open .nhr-faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.nhr-faq-panel {
    padding: 0 22px 22px 64px;
}
.nhr-faq-panel[hidden] {
    display: none !important;
}
.nhr-faq-answer {
    color: #555;
    line-height: 1.75;
}
.nhr-faq-answer .faq-text {
    margin-bottom: 12px;
}
.nhr-faq-answer .faq-text:last-child {
    margin-bottom: 0;
}

.nhr-faq-cta {
    margin-top: 36px;
    padding: 32px 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #faf8f6 0%, #fff 100%);
    border: 1px solid #eee;
    text-align: center;
}
.nhr-faq-cta h3 {
    margin-bottom: 10px;
}
.nhr-faq-cta p {
    margin-bottom: 20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.nhr-faq-cta-actions,
.nhr-faq-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nhr-faq-empty {
    padding: 48px 32px;
    border-radius: 18px;
    border: 1px dashed #ddd;
    background: #fafafa;
    text-align: center;
}
.nhr-faq-empty h3 {
    margin-bottom: 12px;
}
.nhr-faq-empty p {
    max-width: 520px;
    margin: 0 auto 22px;
    line-height: 1.7;
}

.nhr-faq-enquiry-wrap {
    padding: 40px 36px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 40px rgba(20, 20, 20, 0.05);
}
.nhr-faq-enquiry {
    padding-top: 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .nhr-faq-sidebar {
        position: static;
    }
    .nhr-faq-panel {
        padding-left: 22px;
    }
}

@media (max-width: 575px) {
    .breadcumb-wrapper.nhr-page-hero .breadcumb-subtitle {
        font-size: 16px;
    }
    .nhr-faq-trigger {
        padding: 16px 16px;
    }
    .nhr-faq-question {
        font-size: 16px;
    }
    .nhr-faq-panel {
        padding: 0 16px 16px;
    }
    .nhr-faq-enquiry-wrap {
        padding: 28px 20px;
    }
}
