/* ===== ОБУЧЕНИЕ БИЛЬЯРДУ: FAQ ===== */
/* Премиальный FAQ с нативным раскрытием details/summary */

.ob-faq {
    position: relative;
    overflow: hidden;
    padding: 112px 0 122px;
    background:
        radial-gradient(circle at 14% 18%, rgba(216, 177, 115, .11), transparent 30%),
        radial-gradient(circle at 86% 72%, rgba(62, 95, 68, .14), transparent 34%),
        linear-gradient(180deg, #070807 0%, #0b0d0c 54%, #080b0a 100%);
    color: #f7f3ec;
}

.ob-faq:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 220px 220px;
    opacity: .24;
    pointer-events: none;
}

.ob-faq:after {
    content: "?";
    position: absolute;
    right: 5vw;
    top: 50px;
    color: rgba(216, 177, 115, .055);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 420px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
}

.ob-faq__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 56px;
    align-items: start;
}

.ob-faq__side {
    position: sticky;
    top: 28px;
}

.ob-faq__kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: #d8b173;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.ob-faq__title {
    max-width: 560px;
    margin: 0;
    color: #f7f3ec;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(44px, 5.2vw, 74px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.035em;
    text-transform: none;
}

.ob-faq__text {
    max-width: 560px;
    margin-top: 26px;
    color: rgba(247, 243, 236, .76);
    font-size: 18px;
    line-height: 1.76;
}

.ob-faq__mini-card {
    max-width: 520px;
    margin-top: 34px;
    padding: 28px 30px;
    border: 1px solid rgba(216, 177, 115, .22);
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.014)),
        rgba(9, 11, 10, .76);
    box-shadow: 0 24px 70px rgba(0,0,0,.26);
}

.ob-faq__mini-label {
    margin-bottom: 14px;
    color: #d8b173;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ob-faq__mini-text {
    color: rgba(247, 243, 236, .74);
    font-size: 16px;
    line-height: 1.7;
}

/* Список FAQ */
.ob-faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ob-faq-item {
    position: relative;
    border: 1px solid rgba(216, 177, 115, .20);
    background:
        linear-gradient(180deg, rgba(255,255,255,.036), rgba(255,255,255,.012)),
        rgba(9, 11, 10, .72);
    box-shadow: 0 18px 46px rgba(0,0,0,.20);
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.ob-faq-item[open] {
    border-color: rgba(216, 177, 115, .52);
    background:
        linear-gradient(180deg, rgba(216, 177, 115, .09), rgba(255,255,255,.018)),
        rgba(13, 15, 14, .90);
    box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.ob-faq-item__question {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 82px;
    padding: 24px 82px 24px 28px;
    cursor: pointer;
    list-style: none;
}

.ob-faq-item__question::-webkit-details-marker {
    display: none;
}

.ob-faq-item__question-text {
    color: #fff;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.ob-faq-item__question:before {
    content: "";
    flex: 0 0 32px;
    width: 32px;
    height: 1px;
    background: #d8b173;
}

.ob-faq-item__icon {
    position: absolute;
    right: 28px;
    top: 50%;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(216, 177, 115, .42);
    transform: translateY(-50%);
}

.ob-faq-item__icon:before,
.ob-faq-item__icon:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #d8b173;
    transform: translate(-50%, -50%);
    transition: transform .22s ease, opacity .22s ease;
}

.ob-faq-item__icon:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.ob-faq-item[open] .ob-faq-item__icon:after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.ob-faq-item__answer {
    max-width: 760px;
    padding: 0 34px 30px 82px;
    color: rgba(247, 243, 236, .74);
    font-size: 16px;
    line-height: 1.72;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 991px) {
    .ob-faq {
        padding: 88px 0 96px;
    }

    .ob-faq__inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .ob-faq__side {
        position: relative;
        top: auto;
    }

    .ob-faq__title {
        max-width: 780px;
        font-size: 52px;
    }

    .ob-faq__text {
        max-width: 760px;
    }

    .ob-faq__mini-card {
        max-width: 760px;
    }

    .ob-faq:after {
        font-size: 300px;
        top: 70px;
        right: -20px;
    }
}

@media (max-width: 767px) {
    .ob-faq {
        padding: 66px 0 74px;
    }

    .ob-faq__inner {
        width: min(100% - 28px, 1180px);
        gap: 32px;
    }

    .ob-faq__title {
        font-size: 39px;
        line-height: 1;
    }

    .ob-faq__text {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.65;
    }

    .ob-faq__mini-card {
        margin-top: 26px;
        padding: 24px 22px;
    }

    .ob-faq__list {
        gap: 14px;
    }

    .ob-faq-item__question {
        min-height: 72px;
        padding: 22px 64px 22px 20px;
        gap: 14px;
    }

    .ob-faq-item__question:before {
        display: none;
    }

    .ob-faq-item__question-text {
        font-size: 16px;
        line-height: 1.28;
    }

    .ob-faq-item__icon {
        right: 18px;
        width: 30px;
        height: 30px;
    }

    .ob-faq-item__answer {
        padding: 0 20px 24px;
        font-size: 15px;
        line-height: 1.62;
    }

    .ob-faq:after {
        display: none;
    }
}

@media (max-width: 420px) {
    .ob-faq__inner {
        width: min(100% - 22px, 1180px);
    }

    .ob-faq__title {
        font-size: 34px;
    }

    .ob-faq__text {
        font-size: 15px;
    }

    .ob-faq__mini-text {
        font-size: 15px;
    }

    .ob-faq-item__question {
        padding-left: 18px;
        padding-right: 58px;
    }

    .ob-faq-item__question-text {
        font-size: 15px;
    }
}