/* ============================================================
   Custom FAQ Accordion - lista pytań/odpowiedzi na natywnym
   <details>/<summary>. Cienkie linie zamiast kart z cieniem (spójnie
   z custom-feature-grid.css), złoty akcent na "+" i przy hover.
   ============================================================ */

.cfa-wrapper {
    --cfa-accent: #d3c6be;
    --cfa-ink: #1c1c1c;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 88px) 24px;
}

.cfa-heading-row {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.cfa-kicker {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cfa-accent);
    margin: 0 0 14px;
}

.cfa-heading {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
    color: var(--ast-global-color-6, #111111);
}

.cfa-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #5a5a5a;
}

.cfa-list {
    display: flex;
    flex-direction: column;
}

.cfa-item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cfa-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Chowamy natywny trójkąt/kropkę <summary>, robimy własny znaczek "+". */
.cfa-question {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 4px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--cfa-ink);
    transition: color 0.25s ease;
}

.cfa-question::-webkit-details-marker {
    display: none;
}

.cfa-question::marker {
    content: '';
}

.cfa-item:hover > .cfa-question,
.cfa-item[open] > .cfa-question {
    color: color-mix(in srgb, var(--cfa-ink) 70%, var(--cfa-accent));
}

.cfa-icon {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
}

.cfa-icon::before,
.cfa-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.cfa-icon::before {
    width: 14px;
    height: 1.5px;
}

.cfa-icon::after {
    width: 1.5px;
    height: 14px;
}

.cfa-item[open] .cfa-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.cfa-answer {
    padding: 0 4px 26px;
    max-width: 68ch;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #3a3a3a;
}

.cfa-answer p {
    margin: 0 0 14px;
}

.cfa-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .cfa-heading { font-size: 1.6rem; }
    .cfa-question { font-size: 0.98rem; padding: 18px 2px; gap: 16px; }
}
