/* scoped style strony (z tresci produkcyjnych szablonow) */

/* ============================================================
   FQ - FAQ page (Figma Gr() 1:1)
   ============================================================ */
.fq-page { min-height: 100vh; }

/* Hero */
.fq-hero {
    background: linear-gradient(135deg, rgba(210,229,225,0.3), #fff);
    padding: 80px 0 112px;
}
.fq-hero__inner {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}
.fq-hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    color: #232D4B;
    margin-bottom: 24px;
    line-height: 1.1;
}
.fq-hero__sub {
    font-size: 20px;
    color: #374151;
    line-height: 1.6;
}

/* FAQ section */
.fq-sec { padding: 80px 0; background: #fff; }
.fq-categories {
    max-width: 896px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Category header */
.fq-cat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.fq-cat-head h2 {
    font-size: 24px;
    color: #232D4B;
    margin: 0;
}

/* Accordion items */
.fq-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fq-item {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    transition: border-color 0.2s;
}
.fq-item:hover { border-color: rgba(129,189,81,0.3); }
.fq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s;
}
.fq-item summary:hover { background: #F9FAFB; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary h3 {
    font-size: 18px;
    color: #232D4B;
    flex: 1;
    font-weight: 400;
}
.fq-item summary .fq-chevron {
    flex-shrink: 0;
    transition: transform 0.2s;
}
.fq-item[open] summary .fq-chevron { transform: rotate(180deg); }
.fq-answer {
    padding: 0 20px 20px;
}
.fq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
}
.fq-answer-inner svg { flex-shrink: 0; margin-top: 2px; }
/*ikona*/ .fq-answer-inner .bz-ico.bz-ico { flex-shrink: 0; margin-top: 2px; }
/*ikona*/ .fq-answer-inner li::before { flex-shrink: 0; margin-top: 2px; }
.fq-answer-inner p {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* CTA */
.fq-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #232D4B, #1a2136);
    color: #fff;
}
.fq-cta__inner {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}
.fq-cta h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 24px;
    line-height: 1.1;
    color: #fff;
}
.fq-cta p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}
.fq-cta__btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
/*przycisk*/ .wp-block-button.fq-cta__btns > .wp-block-button__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
@media (min-width: 640px) { .fq-cta__btns { flex-direction: row; }
/*przycisk*/ .wp-block-button.fq-cta__btns > .wp-block-button__link { flex-direction: row; } }
.fq-btn-outline-w {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
/*przycisk*/ .wp-block-button.fq-btn-outline-w > .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
.fq-btn-outline-w:hover { background: rgba(255,255,255,0.1); }
/*przycisk*/ .wp-block-button.fq-btn-outline-w:hover > .wp-block-button__link { background: rgba(255,255,255,0.1); }
.fq-btn-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #81BD51;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
/*przycisk*/ .wp-block-button.fq-btn-green > .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #81BD51;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
.fq-btn-green:hover { background: #6fa043; }
/*przycisk*/ .wp-block-button.fq-btn-green:hover > .wp-block-button__link { background: #6fa043; }

/*przycisk*/ .wp-block-button:where([class*="btn"]) { background: none; border: 0; padding: 0; box-shadow: none; }
/*przycisk*/ .wp-block-button:where([class*="btn"]) > .wp-block-button__link { background: none; border: 0; }
