/* ══════════════════════════════════════════════════════
   FAQ Widget – מרכז קול  |  kol-faq.css  v1.0.0
══════════════════════════════════════════════════════ */

.kol-faq-wrap {
    font-family: 'Heebo', 'Assistant', sans-serif;
    background-color: #F4EFE6;
    padding: 80px 40px;
    box-sizing: border-box;
    width: 100%;
}

.kol-faq-inner {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

/* ── Header ─────────────────────────────────────────── */
.kol-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.kol-faq-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border: 1.5px solid #1E8B9A;
    border-radius: 100px;
    color: #1E8B9A;
    margin-bottom: 20px;
}

.kol-faq-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #0D2137;
    margin: 0 0 14px;
    line-height: 1.2;
}

.kol-faq-subtitle {
    font-size: 17px;
    color: #3D5A73;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 560px;
}

/* ── List ───────────────────────────────────────────── */
.kol-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ── Item ───────────────────────────────────────────── */
.kol-faq-item {
    background-color: #ffffff;
    border: 1.5px solid #D4E6EE;
    border-radius: 14px;
    overflow: hidden;
    transition:
        background-color 0.28s ease,
        border-color     0.28s ease,
        box-shadow       0.28s ease;
}

.kol-faq-item.is-open {
    background-color: #EBF4F8;
    border-color: #78BDD1;
    box-shadow: 0 6px 28px rgba(30, 139, 154, 0.11);
}

/* ── Trigger (question row) ─────────────────────────── */
.kol-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 26px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: right;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.kol-faq-trigger:focus-visible {
    outline: 2px solid #1E8B9A;
    outline-offset: -3px;
    border-radius: 12px;
}

/* Question text */
.kol-faq-q {
    font-size: 17px;
    font-weight: 700;
    color: #0D2137;
    line-height: 1.45;
    text-align: right;
    flex: 1;
}

/* ── Icon (+/×) ─────────────────────────────────────── */
.kol-faq-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 139, 154, 0.10);
    border-radius: 50%;
    color: #1E8B9A;
    transition:
        transform     0.38s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.28s ease,
        color            0.28s ease;
}

.kol-faq-item.is-open .kol-faq-icon {
    background-color: #1E8B9A;
    color: #ffffff;
    transform: rotate(45deg);
}

/* Vertical line of + icon fades when open */
.kol-v-line {
    transition: opacity 0.28s ease, transform 0.28s ease;
    transform-origin: center;
}

.kol-faq-item.is-open .kol-v-line {
    opacity: 0;
    transform: scaleY(0);
}

/* ── Body (answer) ──────────────────────────────────── */
.kol-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.44s cubic-bezier(0.16, 1, 0.3, 1);
}

.kol-faq-a {
    padding: 0 26px 22px;
    font-size: 16px;
    line-height: 1.75;
    color: #3D5A73;
}

.kol-faq-a > * + * { margin-top: 8px; }
.kol-faq-a p { margin: 0; }
.kol-faq-a ul,
.kol-faq-a ol {
    padding-right: 20px;
    padding-left: 0;
    margin: 6px 0;
}
.kol-faq-a li { margin-bottom: 4px; }
.kol-faq-a a { color: #1E8B9A; text-decoration: underline; }

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .kol-faq-wrap    { padding: 56px 20px; }
    .kol-faq-trigger { padding: 18px 18px; }
    .kol-faq-q       { font-size: 15px; }
    .kol-faq-a       { padding: 0 18px 18px; font-size: 15px; }
    .kol-faq-icon    { width: 30px; height: 30px; }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .kol-faq-body,
    .kol-faq-item,
    .kol-faq-icon,
    .kol-v-line {
        transition-duration: 0.001ms !important;
    }
}
