.faq-hero {
    background: white;
    padding: 40px 0;
    margin-bottom: 20px;
}

.faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.faq-hero h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--red);
}

.faq-hero p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 20px;
}

.faq-section {
    padding: 60px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* FAQ Accordion */
.faq-accordion-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 15px 0;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: var(--red);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 15px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Form */
.faq-contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-contact-form-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.faq-contact-form-container h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: var(--red);
}

.faq-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(194, 29, 21, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--red);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.1s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #a01812;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-accordion-container,
    .faq-contact-form-container {
        padding: 30px;
    }
}

/* ================= CUSTOM BOOTSTRAP ACCORDION ================= */

.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #e5e5e5;
}

.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}

.custom-accordion .accordion-button {
    background: white;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    padding: 20px 0;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: white;
    color: var(--red);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.custom-accordion .accordion-body {
    padding: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
}

/* Usunięcie domyślnej strzałki */
.custom-accordion .accordion-button::after {
    background-image: none;
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    transform: none;
    transition: transform 0.3s ease;
    color: var(--red);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    content: "−";
}

.faq-grid {
    align-items: stretch;
}

.faq-accordion-container,
.faq-contact-form-container {
    height: 100%;
}

.faq-contact-form-container {
    background: white;
    padding: 50px 45px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.faq-contact-form-container h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
}

.faq-contact-form-container h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--red);
}

.faq-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #555;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafafa;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: white;
    box-shadow: 0 0 0 4px rgba(194, 29, 21, 0.08);
}

.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
    margin-right: 10px;
}

.form-group:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-group:has(input[type="checkbox"]) label {
    text-transform: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: normal;
    line-height: 1.4;
    margin-bottom: 0;
    color: #666;
}