/* ==========================================
   AKORDEON FAQ NA STRONIE OFERTY
   ========================================== */
.ip-faq-container {
    font-family: Montserrat, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.ip-faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #ffffff;
    overflow: hidden;
}

.ip-faq-question {
    width: 100%;
    background: #ffffff !important;
    border: none;
    padding: 16px !important;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.ip-faq-icon {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.ip-faq-title {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    color: #1c4983; /* Granatowy z Twojego projektu */
    text-transform: uppercase;
    padding-right: 20px;
}

/* Animowany znak Plusa i Minusa */
.ip-faq-toggle {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ip-faq-toggle::before, .ip-faq-toggle::after {
    content: '';
    position: absolute;
    background: #1e1e1e;
    transition: transform 0.3s ease;
}

.ip-faq-toggle::before {
    top: 7px; left: 0; width: 16px; height: 2px;
}

.ip-faq-toggle::after {
    top: 0; left: 7px; width: 2px; height: 16px;
}

/* Stan otwarty - zmiana plusa w minus i kolor tła */
.ip-faq-item.active .ip-faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}
.ip-faq-item.active .ip-faq-question {
    border-bottom: 1px solid #f0f0f0;
}

/* Nowoczesne animowanie wysokości akordeonu (CSS Grid 0fr -> 1fr) */
.ip-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.ip-faq-item.active .ip-faq-answer {
    grid-template-rows: 1fr;
}

.ip-faq-answer-inner {
    overflow: hidden;
}

.ip-faq-content {
    padding: 20px 20px 20px 56px; /* 56px żeby tekst licował się do tytułu, omijając ikonę */
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}