/* ===== ОБУЧЕНИЕ БИЛЬЯРДУ: КАК ПРОХОДИТ ПЕРВОЕ ЗАНЯТИЕ ===== */
/* Светло-тёплый конверсионный блок для снятия тревожности */

.ob-first {
    position: relative;
    overflow: hidden;
    padding: 124px 0 122px;
    background:
        radial-gradient(circle at 14% 18%, rgba(216, 177, 115, .18), transparent 30%),
        radial-gradient(circle at 86% 76%, rgba(133, 108, 73, .13), transparent 34%),
        linear-gradient(180deg, #f8f5ef 0%, #eee7dc 52%, #f6f2eb 100%);
    color: #171512;
}

.ob-first:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23,21,18,.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(23,21,18,.026) 1px, transparent 1px);
    background-size: 220px 220px;
    opacity: .24;
    pointer-events: none;
}

.ob-first:after {
    content: "";
    position: absolute;
    right: -180px;
    top: -160px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(167, 123, 56, .14);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(167, 123, 56, .035),
        0 0 0 180px rgba(167, 123, 56, .022);
    pointer-events: none;
}

.ob-first__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ob-first__head {
    max-width: 920px;
    margin-bottom: 54px;
}

.ob-first__kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: #8b6935;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.ob-first__title {
    max-width: 900px;
    margin: 0;
    color: #171512;
    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-first__text {
    max-width: 860px;
    margin-top: 26px;
    color: rgba(23, 21, 18, .76);
    font-size: 18px;
    line-height: 1.76;
}

.ob-first__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .58fr);
    gap: 34px;
    align-items: stretch;
}

.ob-first__steps {
    display: grid;
    gap: 18px;
}

.ob-first-step {
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 24px;
    min-height: 118px;
    padding: 26px 30px;
    border: 1px solid rgba(126, 91, 43, .22);
    background: #fbf8f3;
    box-shadow:
        0 20px 58px rgba(23, 21, 18, .09),
        0 6px 18px rgba(23, 21, 18, .04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ob-first-step:hover {
    transform: translateY(-3px);
    border-color: rgba(126, 91, 43, .36);
    box-shadow:
        0 28px 72px rgba(23, 21, 18, .13),
        0 8px 22px rgba(23, 21, 18, .06);
}

.ob-first-step:before {
    content: "";
    position: absolute;
    left: 30px;
    top: 26px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(180deg, #a77b38, transparent);
}

.ob-first-step__num {
    position: relative;
    z-index: 2;
    color: #a77b38;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 54px;
    font-weight: 500;
    line-height: .9;
    letter-spacing: -.04em;
}

.ob-first-step__title {
    margin: 0 0 10px;
    color: #171512;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.ob-first-step__text {
    color: rgba(23, 21, 18, .70);
    font-size: 16px;
    line-height: 1.66;
}

.ob-first__card {
    position: relative;
    padding: 36px 34px;
    border: 1px solid rgba(126, 91, 43, .26);
    background:
        linear-gradient(180deg, #fffdf9 0%, #f8f2e9 100%);
    box-shadow:
        0 30px 82px rgba(23, 21, 18, .13),
        inset 5px 0 0 #d8b173;
}

.ob-first__card:before {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 32px;
    height: 1px;
    background: linear-gradient(90deg, rgba(126, 91, 43, .68), transparent);
}

.ob-first__card-label {
    margin-top: 30px;
    margin-bottom: 22px;
    color: #8b6935;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.ob-first__card-title {
    color: #171512;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.ob-first__card-text {
    margin-top: 20px;
    color: rgba(23, 21, 18, .72);
    font-size: 16px;
    line-height: 1.72;
}

.ob-first__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin-top: 30px;
    padding: 0 22px;
    border: 1px solid #d8b173;
    background: #d8b173;
    color: #14110d;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(216, 177, 115, .22);
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.ob-first__button:hover {
    transform: translateY(-2px);
    background: #efcf92;
    color: #14110d;
    text-decoration: none;
    box-shadow: 0 20px 42px rgba(216, 177, 115, .32);
}

/* ===== АДАПТИВ ===== */

@media (max-width: 991px) {
    .ob-first {
        padding: 94px 0 98px;
    }

    .ob-first__head {
        margin-bottom: 42px;
    }

    .ob-first__title {
        font-size: 52px;
    }

    .ob-first__layout {
        grid-template-columns: 1fr;
    }

    .ob-first__card {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .ob-first {
        padding: 72px 0 78px;
    }

    .ob-first__inner {
        width: min(100% - 28px, 1180px);
    }

    .ob-first__title {
        font-size: 39px;
        line-height: 1;
    }

    .ob-first__text {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.65;
    }

    .ob-first-step {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 22px;
    }

    .ob-first-step:before {
        left: 22px;
        top: 22px;
        bottom: auto;
        width: 34px;
        height: 1px;
    }

    .ob-first-step__num {
        padding-top: 14px;
        font-size: 44px;
    }

    .ob-first-step__title {
        font-size: 20px;
    }

    .ob-first-step__text {
        font-size: 15px;
        line-height: 1.62;
    }

    .ob-first__card {
        padding: 30px 22px 26px;
    }

    .ob-first__card:before {
        left: 22px;
        right: 22px;
        top: 26px;
    }

    .ob-first__card-label {
        margin-top: 26px;
    }

    .ob-first__card-title {
        font-size: 24px;
    }

    .ob-first__card-text {
        font-size: 15px;
        line-height: 1.62;
    }
}

@media (max-width: 420px) {
    .ob-first__inner {
        width: min(100% - 22px, 1180px);
    }

    .ob-first__title {
        font-size: 34px;
    }

    .ob-first__text {
        font-size: 15px;
    }

    .ob-first-step {
        padding: 22px 18px;
    }

    .ob-first__card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ob-first__card-title {
        font-size: 22px;
    }
}