main{
    overflow-x: hidden;
}


/* ======================================================= */
/* ===================== HERO УПАКОВКИ =================== */
/* ======================================================= */

.package-main-block{
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 560px;
    padding: 80px 8%;
    box-sizing: border-box;
    overflow: hidden;

    /*
        Чёрная левая часть используется под заголовок.
        Фотография упаковки находится справа.
    */
    background: #080808;
}


/*
    Фотография упаковки справа.
    Контейнер делается квадратным за счёт одинаковой ширины и высоты.
    object-fit: contain сохраняет всё фото без crop и искажений.
*/
.package-main-block-logo{
    position: absolute;
    top: 50%;
    right: 7%;
    z-index: 1;

    display: block;

    width: min(43vw, 520px);
    height: min(43vw, 520px);

    object-fit: contain;
    object-position: center;

    opacity: 0.98;

    /*
        Края фото плавно растворяются в чёрном фоне.
        Чёрная часть градиента видима, прозрачная — скрыта.
    */
    -webkit-mask-image: radial-gradient(
        ellipse 88% 88% at 58% 50%,
        #000 52%,
        rgba(0, 0, 0, 0.82) 66%,
        rgba(0, 0, 0, 0.35) 80%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse 88% 88% at 58% 50%,
        #000 52%,
        rgba(0, 0, 0, 0.82) 66%,
        rgba(0, 0, 0, 0.35) 80%,
        transparent 100%
    );

    filter:
        drop-shadow(-24px 0 34px rgba(0, 0, 0, 0.85))
        drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));

    transform: translateY(-50%);
}


/*
    Мягкое золотистое сияние позади фотографии.
    Оно не меняет изображение и не перекрывает текст.
*/
.package-main-block::before{
    content: "";

    position: absolute;
    top: 50%;
    right: 2%;
    z-index: 0;

    width: min(56vw, 700px);
    height: min(56vw, 700px);

    border-radius: 50%;
    pointer-events: none;

    background: radial-gradient(
        circle,
        rgba(223, 93, 5, 0.20) 0%,
        rgba(223, 93, 5, 0.08) 35%,
        rgba(223, 93, 5, 0.02) 59%,
        transparent 74%
    );

    filter: blur(28px);
    transform: translateY(-50%);
}


/*
    Размытый чёрный переход между текстовой областью и картинкой.
    Он создаёт впечатление, что изображение выходит из темноты.
*/
.package-main-block::after{
    content: "";

    position: absolute;
    top: 0;
    right: 32%;
    bottom: 0;
    z-index: 2;

    width: min(20vw, 250px);
    pointer-events: none;

    background: linear-gradient(
        90deg,
        #080808 0%,
        rgba(8, 8, 8, 0.88) 26%,
        rgba(8, 8, 8, 0.40) 62%,
        transparent 100%
    );

    filter: blur(18px);
}


/*
    Заголовок находится поверх полностью чёрной левой части.
*/
.package-main-block-text{
    position: relative;
    z-index: 3;

    width: min(48%, 650px);
    padding: 0;
}

.package-main-block-text h1{
    margin: 0;

    color: #fff;
    font-family: "Avenir-Bold", sans-serif;
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1.1;
    letter-spacing: 1px;

    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.86);
}

.package-main-block-text h1::after{
    content: "";
    display: block;

    width: 92px;
    height: 4px;
    margin-top: 22px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        rgb(223, 93, 5),
        rgb(245, 166, 35)
    );
}


/* ======================================================= */
/* ================= ОСНОВНОЙ КОНТЕНТ =================== */
/* ======================================================= */

.package-block-contant{
    position: relative;
    padding: 90px 8% 110px;
    box-sizing: border-box;

    background: linear-gradient(
        180deg,
        #0a0a0a 0%,
        #17100c 25%,
        rgb(58, 38, 19) 70%,
        rgb(120, 66, 20) 100%
    );
}


/* Ограничиваем ширину контента */
.package-block-contant > h2,
.package-block-contant > p,
.package-block-contant > ol{
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}


.package-block-contant > h2{
    margin-top: 0;
    margin-bottom: 20px;

    color: white;
    font-family: "Avenir-Bold", sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
}


.package-block-contant > h2:nth-of-type(2){
    position: relative;

    margin-top: 76px;
    margin-bottom: 38px;
}


.package-block-contant > h2:nth-of-type(2)::after{
    content: "";
    display: block;

    width: 74px;
    height: 4px;
    margin-top: 16px;

    border-radius: 2px;

    background: linear-gradient(
        90deg,
        rgb(223, 93, 5),
        rgb(245, 166, 35)
    );
}


.package-block-contant > p{
    margin-top: 0;
    margin-bottom: 0;

    color: rgba(240, 235, 230, 0.9);
    font-family: "Avenir-Medium", sans-serif;
    font-size: 17px;
    line-height: 1.8;
}


/* ======================================================= */
/* =================== ЭТАПЫ УПАКОВКИ =================== */
/* ======================================================= */

.ol-contant-block{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;

    margin-top: 0;
    margin-bottom: 0;
    padding: 0;

    list-style: none;
    counter-reset: package-step;
}


.ol-contant-block > li{
    position: relative;

    min-height: 180px;
    padding: 32px 28px 28px 96px;
    box-sizing: border-box;

    color: white;
    font-family: "Avenir-Bold", sans-serif;
    font-size: 22px;
    line-height: 1.3;

    border: 1px solid rgba(245, 166, 35, 0.23);
    border-radius: 24px;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.09),
        rgba(255, 255, 255, 0.03)
    );

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.26);

    counter-increment: package-step;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


/* Номер этапа */
.ol-contant-block > li::before{
    content: counter(package-step);

    position: absolute;
    top: 28px;
    left: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: white;
    font-family: "Avenir-Bold", sans-serif;
    font-size: 21px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgb(223, 93, 5),
        rgb(245, 166, 35)
    );

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.ol-contant-block > li:hover{
    border-color: rgba(245, 166, 35, 0.65);

    background: linear-gradient(
        135deg,
        rgba(245, 166, 35, 0.16),
        rgba(255, 255, 255, 0.05)
    );

    transform: translateY(-7px);
}


.ol-contant-block > li > p{
    margin: 14px 0 0;

    color: rgba(240, 235, 230, 0.85);
    font-family: "Avenir-Medium", sans-serif;
    font-size: 15.5px;
    font-weight: normal;
    line-height: 1.7;
}


/* Внутренний список маркировки */
.other-ul{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;

    margin: 18px 0 0;
    padding: 0;

    list-style: none;
}


.other-ul li{
    position: relative;

    padding-left: 20px;

    color: rgba(240, 235, 230, 0.84);
    font-family: "Avenir-Medium", sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.45;
}


.other-ul li::before{
    content: "✓";

    position: absolute;
    top: 0;
    left: 0;

    color: rgb(245, 166, 35);
    font-family: sans-serif;
    font-weight: bold;
}


/* ======================================================= */
/* ======================== FOOTER ======================= */
/* ======================================================= */

.footer{
    background: linear-gradient(
        180deg,
        rgb(120, 66, 20) 0%,
        rgb(217, 161, 124) 100%
    );
}


/* ======================================================= */
/* ====================== ПЛАНШЕТЫ ======================= */
/* ======================================================= */

@media (max-width: 1024px){
    .package-main-block{
        min-height: 500px;
        padding: 70px 6%;
    }

    .package-main-block-logo{
        right: 5%;

        width: min(42vw, 410px);
        height: min(42vw, 410px);
    }

    .package-main-block::after{
        right: 31%;
    }

    .package-main-block-text{
        width: min(49%, 520px);
    }

    .package-block-contant{
        padding: 70px 6% 85px;
    }

    .ol-contant-block{
        gap: 20px;
    }

    .ol-contant-block > li{
        min-height: 195px;
        padding: 29px 22px 24px 86px;

        font-size: 20px;
    }

    .ol-contant-block > li::before{
        top: 26px;
        left: 20px;

        width: 45px;
        height: 45px;
    }
}


/* ======================================================= */
/* ======================= ТЕЛЕФОНЫ ====================== */
/* ======================================================= */

@media (max-width: 768px){
    .package-main-block{
        display: flex;
        align-items: flex-end;

        min-height: 500px;
        padding: 0 6% 42px;

        background: #080808;
    }

    .package-main-block-logo{
        top: 43%;
        right: 50%;
        z-index: 1;

        width: min(78vw, 390px);
        height: min(78vw, 390px);

        opacity: 0.72;

        transform: translate(50%, -50%);

        -webkit-mask-image: radial-gradient(
            circle,
            #000 42%,
            rgba(0, 0, 0, 0.62) 67%,
            transparent 100%
        );

        mask-image: radial-gradient(
            circle,
            #000 42%,
            rgba(0, 0, 0, 0.62) 67%,
            transparent 100%
        );
    }

    .package-main-block::before{
        top: 42%;
        right: 50%;

        width: min(100vw, 520px);
        height: min(100vw, 520px);

        transform: translate(50%, -50%);
    }

    .package-main-block::after{
        top: auto;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 58%;

        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(8, 8, 8, 0.56) 40%,
            #080808 88%
        );

        filter: blur(14px);
    }

    .package-main-block-text{
        z-index: 3;

        width: 100%;
        max-width: 540px;
    }

    .package-main-block-text h1{
        font-size: clamp(29px, 8vw, 43px);
    }

    .package-main-block-text h1::after{
        width: 70px;
        margin-top: 16px;
    }

    .package-block-contant{
        padding: 55px 6% 70px;
    }

    .package-block-contant > h2:nth-of-type(2){
        margin-top: 55px;
        margin-bottom: 28px;
    }

    .package-block-contant > p{
        font-size: 16px;
        line-height: 1.75;
    }

    .ol-contant-block{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ol-contant-block > li{
        min-height: 0;
        padding: 28px 24px 25px 82px;

        border-radius: 20px;
        font-size: 20px;
    }

    .ol-contant-block > li::before{
        top: 25px;
        left: 20px;

        width: 42px;
        height: 42px;

        font-size: 19px;
    }
}


/* ======================================================= */
/* =================== ОБЫЧНЫЕ ТЕЛЕФОНЫ ================= */
/* ======================================================= */

@media (max-width: 480px){
    .package-main-block{
        min-height: 390px;
        padding: 0 5% 30px;
    }

    .package-main-block-logo{
        top: 42%;

        width: min(82vw, 330px);
        height: min(82vw, 330px);
    }

    .package-main-block-text h1{
        font-size: 27px;
    }

    .package-main-block-text h1::after{
        width: 55px;
        height: 3px;
        margin-top: 13px;
    }

    .package-block-contant{
        padding: 42px 5% 56px;
    }

    .package-block-contant > h2{
        font-size: 23px;
    }

    .package-block-contant > h2:nth-of-type(2){
        margin-top: 42px;
        margin-bottom: 24px;
    }

    .package-block-contant > h2:nth-of-type(2)::after{
        width: 55px;
        height: 3px;
        margin-top: 13px;
    }

    .package-block-contant > p{
        font-size: 14.5px;
        line-height: 1.68;
    }

    .ol-contant-block{
        gap: 14px;
    }

    .ol-contant-block > li{
        padding: 24px 18px 21px 67px;

        border-radius: 16px;
        font-size: 17px;
    }

    .ol-contant-block > li::before{
        top: 21px;
        left: 15px;

        width: 35px;
        height: 35px;

        font-size: 16px;
    }

    .ol-contant-block > li > p{
        margin-top: 10px;

        font-size: 13.5px;
        line-height: 1.6;
    }

    .other-ul{
        grid-template-columns: 1fr;
        gap: 8px;

        margin-top: 14px;
    }

    .other-ul li{
        font-size: 13px;
    }
}


/* ======================================================= */
/* ================= УЗКИЕ ТЕЛЕФОНЫ ===================== */
/* ======================================================= */

@media (max-width: 360px){
    .package-main-block{
        min-height: 340px;
    }

    .package-main-block-text h1{
        font-size: 23px;
    }

    .package-block-contant > h2{
        font-size: 20px;
    }

    .package-block-contant > p{
        font-size: 13.5px;
    }

    .ol-contant-block > li{
        font-size: 16px;
    }
}