/* --- FAQ ACCORDION KRYSTAL --- */
.faq-accordion-krystal {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item-modern {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    overflow: hidden; /* Ważne dla animacji zwijania */
}

/* Stan po najechaniu - delikatne uniesienie */
.faq-item-modern:hover {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border-color: #e2e8f0;
}

/* Przycisk pytania */
.faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.q-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a; /* Ciemny Slate */
    padding-right: 20px;
}

/* Ikona statusu (Plus / Minus) */
.faq-status-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Pozioma kreska ikony */
.faq-status-icon::before,
.faq-status-icon::after {
    content: '';
    position: absolute;
    background-color: #6366f1; /* Twoje Indigo */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pozioma linia */
.faq-status-icon::before {
    top: 9px; left: 0;
    width: 100%; height: 2px;
}

/* Pionowa linia (zniknie przy otwarciu) */
.faq-status-icon::after {
    left: 9px; top: 0;
    width: 2px; height: 100%;
}

/* Animacja ikony gdy otwarte */
.faq-item-modern.is-open .faq-status-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-item-modern.is-open .faq-status-icon::before {
    transform: rotate(180deg);
}

/* Kontener odpowiedzi */
.faq-answer-content {
    max-height: 0; /* Wyjściowo ukryte */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 30px 30px 30px;
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}