/* ===== ОБУЧЕНИЕ БИЛЬЯРДУ: HERO ===== */

.ob-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #12110f;
    color: #fff;
    isolation: isolate;
}

.ob-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 76% 32%, rgba(196, 148, 78, .24), transparent 34%),
        linear-gradient(120deg, #171512 0%, #20201d 46%, #0e0e0c 100%);
}

.ob-hero__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 68%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: .9;
}

.ob-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(12, 12, 10, .98) 0%, rgba(12, 12, 10, .92) 27%, rgba(12, 12, 10, .50) 54%, rgba(12, 12, 10, .18) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.34) 100%);
}

/* декоративная светлая волна снизу как в референсе, но спокойнее */
.ob-hero:after {
    display: none;
}

.ob-hero__inner {
    position: relative;
    z-index: 4;
    width: min(1180px, calc(100% - 40px));
    min-height: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 120px 0 170px;
}

.ob-hero__content {
    width: min(650px, 100%);
    padding: 36px 34px 34px;
    border: 1px solid rgba(214, 174, 108, .22);
    border-radius: 28px;
    background: rgba(17, 16, 13, .72);
    box-shadow: 0 28px 80px rgba(0,0,0,.34);
    backdrop-filter: blur(12px);
}

.ob-hero__kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(214, 174, 108, .14);
    color: #d8b173;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ob-hero__title {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.ob-hero__text {
    max-width: 600px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.62;
}

.ob-hero__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ob-hero-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: rgba(255,255,255,.9);
    font-size: 15px;
    line-height: 1.35;
}

.ob-hero-benefit__icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8b173, #f2d49a);
    box-shadow: 0 0 0 5px rgba(216, 177, 115, .12);
    position: relative;
}

.ob-hero-benefit__icon:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    width: 5px;
    height: 8px;
    border-right: 2px solid #211b12;
    border-bottom: 2px solid #211b12;
    transform: rotate(45deg);
}

.ob-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.ob-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.ob-hero__btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.ob-hero__btn--primary {
    background: #d8b173;
    color: #14110d;
    box-shadow: 0 16px 34px rgba(216, 177, 115, .28);
}

.ob-hero__btn--primary:hover {
    background: #efcf92;
    color: #14110d;
    box-shadow: 0 20px 42px rgba(216, 177, 115, .36);
}

.ob-hero__btn--secondary {
    border: 1px solid rgba(255,255,255,.38);
    background: rgba(255,255,255,.06);
    color: #fff;
}

.ob-hero__btn--secondary:hover {
    border-color: rgba(216, 177, 115, .75);
    background: rgba(216, 177, 115, .12);
    color: #fff;
}

/* ===== HERO UX FIX: шире карточка, меньше H1, CTA выше ===== */

.ob-hero__content {
    width: min(780px, 100%) !important;
    padding: 42px 44px 40px !important;
}

.ob-hero__title {
    max-width: 720px !important;
    font-size: clamp(38px, 4.2vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
}

.ob-hero__text {
    max-width: 680px !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
}

.ob-hero__actions {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
}

.ob-hero__btn {
    min-height: 54px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Быстрые коммерческие условия */
.ob-hero__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.ob-hero-fact {
    position: relative;
    min-height: 86px;
    padding: 16px 14px 14px;
    border: 1px solid rgba(216, 177, 115, .22);
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
        rgba(9, 11, 10, .62);
}

.ob-hero-fact:before {
    content: "";
    position: absolute;
    left: 14px;
    top: 13px;
    width: 22px;
    height: 1px;
    background: #d8b173;
}

.ob-hero-fact__title {
    margin-top: 12px;
    color: #fff;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.ob-hero-fact__text {
    margin-top: 6px;
    color: rgba(247, 243, 236, .68);
    font-size: 12px;
    line-height: 1.35;
}

/* Преимущества ниже делаем компактнее, чтобы не раздувать hero */
.ob-hero__benefits {
    margin-top: 22px !important;
    gap: 8px 14px !important;
}

.ob-hero-benefit {
    font-size: 14px !important;
    line-height: 1.32 !important;
}

.ob-hero-benefit__icon {
    width: 16px !important;
    height: 16px !important;
    flex-basis: 16px !important;
}

/* Чтобы первый экран не выглядел узкой колонкой */
@media (min-width: 1200px) {
    .ob-hero__inner {
        width: min(1280px, calc(100% - 60px)) !important;
    }
}

@media (max-width: 991px) {
    .ob-hero__content {
        width: 100% !important;
        max-width: 160px !important;
        padding: 34px 30px 32px !important;
    }

    .ob-hero__title {
        font-size: 44px !important;
    }

    .ob-hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ob-hero__content {
        padding: 26px 20px 24px !important;
    }

    .ob-hero__title {
        font-size: 34px !important;
        line-height: 1.04 !important;
    }

    .ob-hero__text {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .ob-hero__actions {
        margin-top: 22px !important;
    }

    .ob-hero__facts {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .ob-hero-fact {
        min-height: auto;
        padding: 14px 14px 14px 48px;
    }

    .ob-hero-fact:before {
        left: 16px;
        top: 50%;
        width: 20px;
        transform: translateY(-50%);
    }

    .ob-hero-fact__title {
        margin-top: 0;
        font-size: 14px;
    }

    .ob-hero-fact__text {
        margin-top: 4px;
    }

    .ob-hero__benefits {
        grid-template-columns: 1fr !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 420px) {
    .ob-hero__title {
        font-size: 30px !important;
    }

    .ob-hero__content {
        padding: 22px 16px !important;
    }
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1199px) {
    .ob-hero {
        min-height: 700px;
    }

    .ob-hero__inner {
        min-height: 700px;
        padding-top: 105px;
    }

    .ob-hero__content {
        width: min(610px, 100%);
    }
}

@media (min-width: 992px) {
    .ob-hero {
        padding-bottom: 150px !important;
        margin-bottom: -1px !important;
    }
}

@media (max-width: 991px) {
    .ob-hero {
        min-height: auto;
    }

    .ob-hero__image {
        width: 100%;
        opacity: .34;
        object-position: center;
    }

    .ob-hero__shade {
        background:
            linear-gradient(180deg, rgba(12,12,10,.92) 0%, rgba(12,12,10,.88) 48%, rgba(12,12,10,.95) 100%);
    }

    .ob-hero__inner {
        min-height: auto;
        padding: 110px 0 140px;
    }

    .ob-hero__content {
        width: 100%;
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .ob-hero {
        background: #12110f;
    }

    .ob-hero__bg {
        background:
            radial-gradient(circle at 70% 0%, rgba(216, 177, 115, .2), transparent 34%),
            linear-gradient(180deg, #171512 0%, #0f0f0d 100%);
    }

    .ob-hero__image {
        display: none;
    }

    .ob-hero__shade {
        display: none;
    }

    .ob-hero:after {
        height: 150px;
        bottom: -92px;
        transform: rotate(-5deg);
    }

    .ob-hero__inner {
        width: min(100% - 28px, 1180px);
        padding: 96px 0 96px;
    }

    .ob-hero__content {
        padding: 26px 20px 24px;
        border-radius: 22px;
        background: rgba(19, 18, 15, .92);
        backdrop-filter: none;
    }

    .ob-hero__kicker {
        margin-bottom: 14px;
        font-size: 11px;
        letter-spacing: .1em;
    }

    .ob-hero__title {
        font-size: 36px;
        line-height: 1.02;
    }

    .ob-hero__text {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.55;
    }

    .ob-hero__benefits {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 24px;
    }

    .ob-hero__actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }

    .ob-hero__btn {
        width: 100%;
        min-height: 54px;
        padding: 0 18px;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .ob-hero__inner {
        width: min(100% - 22px, 1180px);
        padding-top: 84px;
    }

    .ob-hero__content {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .ob-hero__title {
        font-size: 31px;
    }

    .ob-hero__text {
        font-size: 15px;
    }

    .ob-hero-benefit {
        font-size: 14px;
    }
}