/* ============================================================
   NobuFAQ — Front-end Styles
   v1.0.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- Section wrapper ---- */
.nfq-section {
    background: var(--nfq-bg, #f5f4f0);
    padding: 100px 0 120px;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.nfq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---- Two-column layout ---- */
.nfq-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

/* ============================================================
   SIDEBAR (left)
   ============================================================ */
.nfq-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Eyebrow */
.nfq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nfq-accent, #1a3fff);
    margin-bottom: 18px;
}
.nfq-eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--nfq-accent, #1a3fff);
    border-radius: 2px;
}

/* Heading */
.nfq-heading {
    font-family: 'Syne', sans-serif;
    font-size: var(--nfq-h-size, 56px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--nfq-head, #0d0d0d);
    margin: 0 0 20px;
    padding: 0;
}

/* Subtext */
.nfq-subtext {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--nfq-text, #6b6b6b);
    margin: 0 0 36px;
}

/* Buttons */
.nfq-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.nfq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.nfq-btn-primary {
    background: var(--nfq-btn, #0d0d0d);
    color: #fff;
    border-color: var(--nfq-btn, #0d0d0d);
}
.nfq-btn-primary:hover {
    background: var(--nfq-accent, #1a3fff);
    border-color: var(--nfq-accent, #1a3fff);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26,63,255,.28);
}

.nfq-btn-outline {
    background: transparent;
    color: var(--nfq-btn, #0d0d0d);
    border-color: var(--nfq-btn, #0d0d0d);
}
.nfq-btn-outline:hover {
    background: var(--nfq-btn, #0d0d0d);
    color: #fff;
    transform: translateY(-2px);
}

.nfq-btn svg {
    flex-shrink: 0;
}

/* Photographer author card */
.nfq-author {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--nfq-card, #fff);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border: 1px solid rgba(0,0,0,.06);
    flex-wrap: wrap;
    row-gap: 10px;
}

.nfq-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 3px solid var(--nfq-bg, #f5f4f0);
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.nfq-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nfq-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.nfq-author-name {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--nfq-head, #0d0d0d);
    letter-spacing: -0.01em;
}

.nfq-author-role {
    font-size: 12px;
    color: var(--nfq-text, #6b6b6b);
    font-weight: 300;
}

.nfq-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nfq-accent, #1a3fff);
    background: rgba(26,63,255,.08);
    padding: 5px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ============================================================
   FAQ LIST (right)
   ============================================================ */
.nfq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nfq-item {
    background: var(--nfq-card, #fff);
    border-radius: 18px;
    border: 1.5px solid rgba(0,0,0,.07);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.nfq-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
    border-color: rgba(0,0,0,.12);
}

.nfq-item.nfq-open {
    border-color: var(--nfq-accent, #1a3fff);
    box-shadow: 0 8px 40px rgba(26,63,255,.1);
}

/* Question button */
.nfq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--nfq-head, #0d0d0d);
    text-align: left;
    gap: 16px;
    transition: color 0.2s;
    line-height: 1.4;
}

.nfq-item.nfq-open .nfq-q {
    color: var(--nfq-accent, #1a3fff);
}

/* Icon circle */
.nfq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--nfq-icon-bg, #f5f4f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nfq-head, #0d0d0d);
    transition: background 0.3s, color 0.3s, transform 0.35s cubic-bezier(.34,1.56,.64,1);
}

.nfq-item.nfq-open .nfq-icon {
    background: var(--nfq-accent, #1a3fff);
    color: #fff;
    transform: rotate(45deg);
}

/* Vertical bar of plus sign (hides when open) */
.nfq-icon-v {
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.nfq-item.nfq-open .nfq-icon-v {
    transform: scaleY(0);
    opacity: 0;
}

/* Answer panel */
.nfq-a {
    overflow: hidden;
}

.nfq-a[hidden] {
    display: block;
    max-height: 0;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.4s;
}

.nfq-a:not([hidden]) {
    max-height: 800px;
    visibility: visible;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.nfq-a-inner {
    padding: 0 26px 22px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--nfq-text, #6b6b6b);
    border-top: 1px solid rgba(0,0,0,.05);
    padding-top: 18px;
}

.nfq-a-inner a {
    color: var(--nfq-accent, #1a3fff);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nfq-inner {
        grid-template-columns: 320px 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nfq-section { padding: 64px 0 80px; }
    .nfq-container { padding: 0 20px; }
    .nfq-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .nfq-sidebar { position: static; }
    .nfq-heading { font-size: clamp(36px, 10vw, 52px) !important; }
    .nfq-buttons { flex-direction: row; flex-wrap: wrap; }
    .nfq-btn { flex: 1 1 auto; min-width: 160px; }
}

@media (max-width: 480px) {
    .nfq-buttons { flex-direction: column; }
    .nfq-btn { width: 100%; }
    .nfq-q { font-size: 14px; padding: 18px 20px; }
    .nfq-a-inner { padding: 0 20px 18px; padding-top: 16px; }
}
