/* Dedicated FAQ landing page (/np/faq, etc.) */

.bm-faq-page {
    --faq-primary: #ef3024;
    --faq-primary-dark: #c41e14;
    --faq-soft: #fff5f5;
    --faq-text: #282c3f;
    --faq-muted: #686b78;
    font-family: 'Inter', system-ui, sans-serif;
    background: #fafbfc;
}

.bm-faq-page header {
    background: #fff !important;
    position: sticky !important;
    top: 0 !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    padding: 15px 0 !important;
    z-index: 100;
}

.bm-faq-page .header-wrapper .menu li a,
.bm-faq-page .header-wrapper .dropdown--btn {
    color: var(--title-clr, #282c3f) !important;
}

.bm-faq-page .nav-toggle span {
    background: var(--title-clr, #282c3f) !important;
}

/* Hero */
.bm-faq-page-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 0;
    color: #fff;
    background: linear-gradient(135deg, var(--faq-primary) 0%, var(--faq-primary-dark) 100%);
}

.bm-faq-page-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(#fff 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    pointer-events: none;
}

.bm-faq-page-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.bm-faq-page-hero__orb--1 {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -40px;
}

.bm-faq-page-hero__orb--2 {
    width: 160px;
    height: 160px;
    bottom: 100px;
    left: -30px;
}

.bm-faq-page-hero .container {
    position: relative;
    z-index: 2;
}

.bm-faq-page-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    min-height: 340px;
    padding-bottom: 72px;
}

.bm-faq-page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.bm-faq-page-hero__title {
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: #fff;
}

.bm-faq-page-hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.65;
    opacity: 0.92;
    margin: 0 0 24px;
    max-width: 540px;
}

.bm-faq-page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bm-faq-page-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
}

.bm-faq-page-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bm-faq-page-hero__card {
    width: min(320px, 100%);
    aspect-ratio: 1;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.bm-faq-page-hero__card-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.bm-faq-page-hero__card p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.92;
    text-align: center;
    padding: 0 24px;
    line-height: 1.5;
}

.bm-faq-page-hero__wave {
    display: block;
    width: 100%;
    height: 56px;
    line-height: 0;
}

.bm-faq-page-hero__wave svg {
    display: block;
    width: 100%;
    height: 56px;
}

/* Body layout */
.bm-faq-page-body {
    padding: 48px 0 64px;
}

.bm-faq-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: 32px;
    align-items: start;
}

.bm-faq-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 96px;
}

.bm-faq-page-info {
    background: #fff;
    border: 1px solid #f0f0f2;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.06);
}

.bm-faq-page-info h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--faq-text);
    margin: 0 0 16px;
}

.bm-faq-page-info-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f2;
}

.bm-faq-page-info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bm-faq-page-info-row span {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--faq-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.bm-faq-page-info-row strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--faq-muted);
    margin-bottom: 2px;
}

.bm-faq-page-info-row p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--faq-text);
    line-height: 1.45;
}

.bm-faq-page-support {
    background: linear-gradient(145deg, #fff, var(--faq-soft));
    border: 1px solid #fecaca;
    border-radius: 20px;
    padding: 24px;
}

.bm-faq-page-support p {
    margin: 0 0 16px;
    color: var(--faq-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.bm-faq-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bm-faq-page-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ececf0;
    color: var(--faq-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.bm-faq-page-links a:hover {
    border-color: var(--faq-primary);
    color: var(--faq-primary);
    text-decoration: none;
}

/* Accordion */
.bm-faq-page-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bm-faq-page-item {
    border-radius: 16px;
    border: 1px solid #ececf0;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bm-faq-page-item.is-open {
    border-color: rgba(239, 48, 36, 0.28);
    box-shadow: 0 12px 36px rgba(26, 26, 46, 0.08);
}

.bm-faq-page-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.bm-faq-page-trigger h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--faq-text);
    line-height: 1.4;
}

.bm-faq-page-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f4f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.25s ease;
    color: var(--faq-primary);
}

.bm-faq-page-item.is-open .bm-faq-page-icon {
    background: rgba(239, 48, 36, 0.12);
    transform: rotate(45deg);
}

.bm-faq-page-panel {
    display: none;
    padding: 0 22px 20px;
}

.bm-faq-page-item.is-open .bm-faq-page-panel {
    display: block;
}

.bm-faq-page-panel p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--faq-muted);
}

/* Buttons — avoid global main.css a[class*="btn--"] */
.bm-faq-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px !important;
    padding: 14px 26px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    text-transform: none !important;
    box-shadow: none;
    outline: none !important;
}

.bm-faq-page-btn-primary {
    background: var(--faq-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(239, 48, 36, 0.28);
}

.bm-faq-page-btn-primary:hover {
    background: var(--faq-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none;
}

.bm-faq-page-btn-ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
}

.bm-faq-page-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    text-decoration: none;
}

/* CTA band */
.bm-faq-page-cta {
    padding: 0 0 80px;
}

.bm-faq-page-cta__inner {
    background: linear-gradient(135deg, var(--faq-primary) 0%, var(--faq-primary-dark) 100%);
    border-radius: 24px;
    padding: clamp(32px, 5vw, 48px);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bm-faq-page-cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 18px 18px;
}

.bm-faq-page-cta__inner > * {
    position: relative;
    z-index: 1;
}

.bm-faq-page-cta__inner h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 10px;
}

.bm-faq-page-cta__inner p {
    margin: 0 auto 24px;
    max-width: 520px;
    opacity: 0.92;
    line-height: 1.6;
}

.bm-faq-page-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.bm-faq-page-empty {
    background: #fff;
    border-radius: 20px;
    border: 1px dashed #e5e7eb;
    padding: 48px 24px;
    text-align: center;
    color: var(--faq-muted);
}

@media (max-width: 991px) {
    .bm-faq-page-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 0;
        padding-bottom: 48px;
    }

    .bm-faq-page-hero__subtitle,
    .bm-faq-page-hero__meta {
        justify-content: center;
        margin-inline: auto;
    }

    .bm-faq-page-hero__visual {
        order: -1;
    }

    .bm-faq-page-hero__card {
        width: min(240px, 72vw);
    }

    .bm-faq-page-grid {
        grid-template-columns: 1fr;
    }

    .bm-faq-page-sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .bm-faq-page-hero {
        padding-top: 40px;
    }

    .bm-faq-page-hero__meta {
        flex-direction: column;
        align-items: stretch;
    }

    .bm-faq-page-hero__meta-item {
        justify-content: center;
    }

    .bm-faq-page-trigger {
        padding: 16px 18px;
    }

    .bm-faq-page-trigger h2 {
        font-size: 0.95rem;
    }

    .bm-faq-page-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .bm-faq-page-cta__actions .bm-faq-page-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-faq-page-btn-primary:hover,
    .bm-faq-page-item {
        transition: none;
    }
}
