/* ===== ОБУЧЕНИЕ БИЛЬЯРДУ: ПОЧЕМУ ЛУЧШЕ С ТРЕНЕРОМ ===== */
/* Креативная схема разбора удара в общей премиальной стилистике */

.ob-withcoach {
    position: relative;
    overflow: hidden;
    padding: 112px 0 122px;
    background:
        radial-gradient(circle at 12% 16%, rgba(216, 177, 115, .10), transparent 30%),
        radial-gradient(circle at 82% 70%, rgba(62, 95, 68, .14), transparent 34%),
        linear-gradient(180deg, #070807 0%, #0b0d0c 52%, #080b0a 100%);
    color: #f7f3ec;
}

.ob-withcoach: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-withcoach:after {
    content: "";
    position: absolute;
    right: -120px;
    top: 140px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(216, 177, 115, .14);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(216, 177, 115, .025),
        0 0 0 160px rgba(216, 177, 115, .018);
    pointer-events: none;
}

.ob-withcoach__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ob-withcoach__head {
    max-width: 940px;
    margin-bottom: 58px;
}

.ob-withcoach__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-withcoach__title {
    max-width: 940px;
    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-withcoach__text {
    max-width: 900px;
    margin-top: 28px;
    color: rgba(247, 243, 236, .76);
    font-size: 18px;
    line-height: 1.76;
}

/* Схема */
.ob-withcoach__scheme {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
    gap: 34px;
    align-items: stretch;
}

/* Линия удара */
.ob-withcoach__line {
    position: absolute;
    left: 26%;
    top: 40px;
    bottom: 40px;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(216, 177, 115, .62),
        transparent
    );
    pointer-events: none;
}

.ob-withcoach__line:before,
.ob-withcoach__line:after {
    content: "";
    position: absolute;
    left: 50%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #d8b173;
    box-shadow: 0 0 0 9px rgba(216, 177, 115, .10);
    transform: translateX(-50%);
}

.ob-withcoach__line:before {
    top: 0;
}

.ob-withcoach__line:after {
    bottom: 0;
}

/* Центральная смысловая карточка */
.ob-withcoach__center {
    position: relative;
    min-height: 100%;
    padding: 40px 36px;
    border: 1px solid rgba(216, 177, 115, .24);
    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,.28);
}

.ob-withcoach__center:before {
    content: "";
    position: absolute;
    left: 36px;
    right: 36px;
    top: 34px;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 177, 115, .72), transparent);
}

.ob-withcoach__center-label {
    margin-top: 28px;
    margin-bottom: 26px;
    color: #d8b173;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.ob-withcoach__center-title {
    max-width: 360px;
    color: #fff;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.ob-withcoach__center-text {
    max-width: 390px;
    margin-top: 22px;
    color: rgba(247, 243, 236, .72);
    font-size: 16px;
    line-height: 1.72;
}

/* Карточки */
.ob-withcoach__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ob-withcoach-card {
    position: relative;
    min-height: 260px;
    padding: 30px 28px 28px;
    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);
    color: #f7f3ec;
    box-shadow: 0 18px 46px rgba(0,0,0,.22);
    transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.ob-withcoach-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 177, 115, .48);
    background:
        linear-gradient(180deg, rgba(216, 177, 115, .09), rgba(255,255,255,.018)),
        rgba(13, 15, 14, .90);
    box-shadow: 0 28px 68px rgba(0,0,0,.34);
}

.ob-withcoach-card__label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    color: #d8b173;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ob-withcoach-card__label:before {
    content: "";
    width: 28px;
    height: 1px;
    margin-right: 11px;
    background: #d8b173;
}

.ob-withcoach-card__title {
    margin: 0 0 16px;
    color: #fff;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.ob-withcoach-card__text {
    color: rgba(247, 243, 236, .72);
    font-size: 15px;
    line-height: 1.68;
}

/* Небольшое смещение, чтобы схема не была банальной */
.ob-withcoach-card--1,
.ob-withcoach-card--3 {
    transform: translateY(18px);
}

.ob-withcoach-card--1:hover,
.ob-withcoach-card--3:hover {
    transform: translateY(12px);
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1199px) {
    .ob-withcoach__scheme {
        gap: 28px;
    }

    .ob-withcoach__center-title {
        font-size: 32px;
    }

    .ob-withcoach-card__title {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .ob-withcoach {
        padding: 88px 0 96px;
    }

    .ob-withcoach__head {
        margin-bottom: 42px;
    }

    .ob-withcoach__title {
        font-size: 52px;
    }

    .ob-withcoach__scheme {
        grid-template-columns: 1fr;
    }

    .ob-withcoach__line {
        display: none;
    }

    .ob-withcoach__center {
        min-height: auto;
    }

    .ob-withcoach__center-title {
        max-width: 620px;
    }

    .ob-withcoach__center-text {
        max-width: 720px;
    }

    .ob-withcoach-card--1,
    .ob-withcoach-card--3 {
        transform: none;
    }

    .ob-withcoach-card--1:hover,
    .ob-withcoach-card--3:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 767px) {
    .ob-withcoach {
        padding: 66px 0 74px;
    }

    .ob-withcoach__inner {
        width: min(100% - 28px, 1180px);
    }

    .ob-withcoach__head {
        margin-bottom: 34px;
    }

    .ob-withcoach__title {
        font-size: 39px;
        line-height: 1;
    }

    .ob-withcoach__text {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.65;
    }

    .ob-withcoach__center {
        padding: 30px 22px 26px;
    }

    .ob-withcoach__center:before {
        left: 22px;
        right: 22px;
        top: 28px;
    }

    .ob-withcoach__center-label {
        margin-top: 24px;
        margin-bottom: 20px;
    }

    .ob-withcoach__center-title {
        font-size: 26px;
    }

    .ob-withcoach__center-text {
        font-size: 15px;
        line-height: 1.62;
    }

    .ob-withcoach__cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ob-withcoach-card {
        min-height: auto;
        padding: 26px 22px 24px;
    }

    .ob-withcoach-card__label {
        margin-bottom: 20px;
    }

    .ob-withcoach-card__title {
        font-size: 21px;
    }

    .ob-withcoach-card__text {
        font-size: 15px;
        line-height: 1.62;
    }
}

@media (max-width: 420px) {
    .ob-withcoach__inner {
        width: min(100% - 22px, 1180px);
    }

    .ob-withcoach__title {
        font-size: 34px;
    }

    .ob-withcoach__text {
        font-size: 15px;
    }

    .ob-withcoach__center-title {
        font-size: 23px;
    }

    .ob-withcoach-card {
        padding: 24px 18px;
    }

    .ob-withcoach-card__label {
        font-size: 10px;
        letter-spacing: .15em;
    }

    .ob-withcoach-card__label:before {
        width: 22px;
        margin-right: 9px;
    }
}