/* ===========================
   FAQ page – Nomad Move
   =========================== */

.nm-faq-page {
    background: #ffffff;
}

/* HERO */

.nm-faq-page .faq-hero {
    padding: 110px 0 40px;
    background:
        radial-gradient(circle at top left, rgba(98,208,201,0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(232,220,196,0.25), transparent 55%);
}

.nm-faq-page .faq-hero-inner {
    max-width: 720px;
}

.nm-faq-page .faq-hero h1 {
    margin: 0 0 8px;
    font-size: 36px;
    line-height: 1.15;
    color: var(--dark);
}

.nm-faq-page .faq-hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 12px;
    color: var(--dark);
}

.nm-faq-page .faq-hero-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.9;
}

/* SECTIONS WRAPPER */

.nm-faq-page .faq-sections {
    padding: 40px 0 80px;
}

/* SECTION TITLE */

.nm-faq-page .faq-section {
    margin-bottom: 40px;
}

.nm-faq-page .faq-section-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* FAQ LIST */

.nm-faq-page .faq-list {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 8px 0;
}

.nm-faq-page .faq-item + .faq-item {
    border-top: 1px solid rgba(13,42,69,0.08);
}

.nm-faq-page .faq-item-header {
    width: 100%;
    padding: 14px 20px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    transition: background 0.15s ease, color 0.15s ease;
}

.nm-faq-page .faq-item-header:hover {
    background: rgba(98,208,201,0.06);
    color: var(--primary);
}

.nm-faq-page .faq-question {
    flex: 1;
}

/* Chevron icon */

.nm-faq-page .faq-toggle-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nm-faq-page .faq-toggle-icon::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg); /* стрелка вниз */
    transition: transform 0.18s ease;
}

.nm-faq-page .faq-item.is-open .faq-toggle-icon::before {
    transform: rotate(-135deg); /* стрелка вверх */
}

/* BODY */

.nm-faq-page .faq-item-body {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
}

.nm-faq-page .faq-item-body p {
    margin: 6px 0;
}

.nm-faq-page .faq-item-body ul {
    margin: 6px 0 6px 18px;
    padding: 0;
}

.nm-faq-page .faq-item-body li {
    margin-bottom: 4px;
}

/* Final block */

.nm-faq-page .faq-section-final {
    text-align: center;
    margin-top: 20px;
}

.nm-faq-page .faq-final-text {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.6;
}

.nm-faq-page .faq-final-contact {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.9;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 992px) {
    .nm-faq-page .faq-hero {
        padding: 90px 0 32px;
    }

    .nm-faq-page .faq-hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nm-faq-page .faq-hero {
        padding: 80px 0 28px;
    }

    .nm-faq-page .faq-hero-inner {
        max-width: 100%;
    }

    .nm-faq-page .faq-section-title {
        font-size: 18px;
    }

    .nm-faq-page .faq-item-header {
        padding: 12px 16px;
        font-size: 14px;
    }

    .nm-faq-page .faq-item-body {
        padding: 0 16px 14px;
        font-size: 13px;
    }

    .nm-faq-page .faq-sections {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .nm-faq-page .faq-hero h1 {
        font-size: 26px;
    }

    .nm-faq-page .faq-hero-subtitle {
        font-size: 15px;
    }
}
