/* ── SSS Sayfası Özel Stiller ── */

.sss-section {
    position: relative;
    padding: 72px 0 80px;
    overflow: hidden;
    background: var(--sec-light-bg, linear-gradient(135deg, #f8f9fa 0%, #fff 100%));
}

.sss-section::before {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 480px;
    height: 480px;
    pointer-events: none;
    content: '';
    background: radial-gradient(circle, rgb(99 102 241 / .05) 0%, transparent 70%);
    border-radius: 50%;
}

.sss-section::after {
    position: absolute;
    right: -8%;
    bottom: -20%;
    width: 360px;
    height: 360px;
    pointer-events: none;
    content: '';
    background: radial-gradient(circle, rgb(139 92 246 / .04) 0%, transparent 70%);
    border-radius: 50%;
}

/* Arama kutusu */

.sss-search-wrap {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 0 auto 40px;
}

#sssSearch,
.sss-search-wrap input {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 48px 13px 18px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color .25s, box-shadow .25s;
}

.sss-search-wrap input:focus {
    border-color: rgb(99 102 241 / .5);
    box-shadow: 0 0 0 3px rgb(99 102 241 / .08);
}

.sss-search-wrap .sss-search-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
    transform: translateY(-50%);
}

/* Akordeon grid */

.sss-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 1020px;
    margin: 0 auto;
}

/* Boş durum */

.sss-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    font-size: 15px;
    color: #94a3b8;
    text-align: center;
}

.sss-empty-search { grid-column: 1 / -1; }

.sss-empty i {
    display: block;
    margin-bottom: 12px;
    font-size: 36px;
    opacity: .5;
}

/* Akordeon öğe */

.sss-item {
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease, border-color .25s, box-shadow .25s;
}

.sss-item.sss-hidden { display: none; }

.sss-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.sss-item:hover {
    border-color: rgb(99 102 241 / .25);
    box-shadow: 0 6px 20px rgb(99 102 241 / .07);
    transform: translateY(-2px);
}

.sss-item.active {
    border-color: rgb(99 102 241 / .35);
    box-shadow: 0 8px 28px rgb(99 102 241 / .1);
    transform: translateY(-2px);
}

/* Soru satırı */

.sss-q {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background .2s;
}

.sss-q:hover { background: rgb(99 102 241 / .04); }

.sss-q-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #6366f1;
    background: linear-gradient(135deg, rgb(99 102 241 / .12), rgb(139 92 246 / .12));
    border-radius: 8px;
    transition: background .25s, color .25s;
}

.sss-q-icon i {
    font-size: 13px;
    color: inherit;
    transition: color .25s;
}

.sss-item.active .sss-q-icon {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.sss-q-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #1e293b;
}

.sss-q-toggle {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #94a3b8;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    transition: background .25s, border-color .25s, color .25s, transform .3s;
}

.sss-q-toggle i {
    font-size: 11px;
    color: inherit;
    transition: color .25s;
}

.sss-item.active .sss-q-toggle {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    transform: rotate(180deg);
}

/* Cevap */

.sss-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.sss-item.active .sss-a { max-height: 400px; }

.sss-a-inner {
    padding: 0 20px 18px 64px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #475569;
}

/* Responsive */

@media (width <= 768px) {
    .sss-section { padding: 56px 0 64px; }

    .sss-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sss-a-inner { padding-left: 20px; }
}

@media (width <= 480px) {
    .sss-section { padding: 44px 0 52px; }

    .sss-search-wrap { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .sss-item {
        opacity: 1;
        transform: none;
        transition: border-color .25s, box-shadow .25s;
    }

    .sss-q-toggle { transition: background .25s, border-color .25s, color .25s; }

    .sss-a { transition: none; }
}