/* ============================================================
   faq.css — Kadir & Sons FAQ Page
   ============================================================ */

.faq-page {
    background: #f5f4f1;
    min-height: calc(100vh - 140px);
    padding: 40px 0 80px;
}

/* ── Search ─────────────────────────────────────────────── */
.faq-search-wrap {
    max-width: 560px;
    margin: 0 auto 48px;
    text-align: center;
}

.faq-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search-icon {
    position: absolute;
    left: 16px;
    color: #aaa;
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid #e8e7e4;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #2b2928;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-search-input:focus {
    border-color: #2b2928;
    box-shadow: 0 0 0 4px rgba(43,41,40,0.07);
}

.faq-no-results {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #888;
}

.faq-no-results a {
    color: #2b2928;
    font-weight: 700;
    text-decoration: none;
}

.faq-no-results.hidden { display: none; }

/* ── Groups ─────────────────────────────────────────────── */
.faq-body {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.faq-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.faq-group-header svg {
    color: #2b2928;
    flex-shrink: 0;
}

.faq-group-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2b2928;
    margin: 0;
    letter-spacing: -0.2px;
}

.faq-group-items {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e7e4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* ── FAQ Item ───────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid #f0eeeb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: background 0.15s;
}

.faq-question:hover {
    background: #fafaf8;
}

.faq-q-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2b2928;
    line-height: 1.4;
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5f4f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background 0.2s, color 0.2s, transform 0.25s;
}

.faq-item.open .faq-question {
    background: #fafaf8;
}

.faq-item.open .faq-chevron {
    background: #2b2928;
    color: #fceb04;
    transform: rotate(180deg);
}

/* ── Answer ─────────────────────────────────────────────── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 22px 20px 22px;
    border-left: 3px solid #fceb04;
    margin: 0 22px 20px;
}

.faq-answer-inner p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ── Bottom CTA ─────────────────────────────────────────── */
.faq-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #2b2928;
    border-radius: 10px;
    padding: 24px 28px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.faq-cta-icon {
    width: 48px;
    height: 48px;
    background: rgba(252,235,4,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fceb04;
    flex-shrink: 0;
}

.faq-cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-cta-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.faq-cta-text span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    background: #fceb04;
    color: #2b2928;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.faq-cta-btn:hover {
    background: #f5e100;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
    .faq-page { padding: 20px 0 60px; }
    .faq-question { padding: 16px; }
    .faq-answer-inner { margin: 0 16px 16px; padding: 0 16px 16px 16px; }
    .faq-cta { padding: 20px; gap: 14px; }
    .faq-cta-icon { display: none; }
    .faq-cta-btn { width: 100%; justify-content: center; }
}
