/* ПЕРВЫЙ БЛОК */
.aboutUs-main-block{
    position: relative;
    width: 100%;
    height: 530px;
    overflow: hidden;
}

.aboutUs-main-block-fon{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.75);
    z-index: 0;
}

.aboutUs-main-block::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.5) 70%);
    z-index: 1;
}

.aboutUs-main-block-heading{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
    z-index: 2;
}

.aboutUs-main-block-heading h1{
    font-family: 'Avenir-Bold', sans-serif;
    font-size: 64px;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin: 0;
}

/* ВТОРОЙ БЛОК: ИСТОРИЯ + ЦИФРЫ */
.aboutUs-block-text{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 70px 8% 90px;
    background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgb(120, 66, 20) 100%);
}

.aboutUs-block-text-history{
    flex: 1 1 420px;
    padding-top: 20px;
}

.aboutUs-block-text-history h1{
    font-family: 'Avenir-Bold', sans-serif;
    font-size: 42px;
    color: white;
    margin-bottom: 100px;
}

.aboutUs-block-text-history p{
    font-family: 'Avenir-Medium', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(240, 235, 230, 0.95)
}

.aboutUs-block-text-history-number{
    flex: 1 1 400px;
    background-color: rgba(30, 28, 27, 0.85);
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.aboutUs-block-text-history-number h2{
    font-family: 'Avenir-Bold', sans-serif;
    font-size: 30px;
    color: white;
    margin-bottom: 16px;
}

.aboutUs-block-text-history-number p{
    font-family: 'Avenir-Medium', sans-serif;
    font-size: 17px;
    color: rgba(230, 225, 220, 0.9);
    margin-bottom: 10px;
}

.aboutUs-block-text-ul{
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.aboutUs-block-text-ul li{
    position: relative;
    padding-left: 28px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    font-family: 'Avenir-Medium', sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15)
}

.aboutUs-block-text-ul li:last-child{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.aboutUs-block-text-ul li::before{
    content:"🌾";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

.footer{
    background: linear-gradient(180deg,
    rgb(120, 66, 20) 0%,
    rgb(180, 74, 12) 40%,
    rgb(73, 77, 78) 100%);
}

/* ======================================================= */
/* ===== ПЛАНШЕТЫ И МАЛЕНЬКИЕ НОУТБУКИ (до 1024px) ===== */
/* ======================================================= */
@media (max-width: 1024px){

    .aboutUs-main-block{
        height: 460px;
    }

    .aboutUs-main-block-heading h1{
        font-size: 50px;
    }

    .aboutUs-block-text{
        padding: 60px 6% 70px;
        gap: 30px;
    }

    .aboutUs-block-text-history h1{
        font-size: 36px;
        margin-bottom: 60px;
    }

    .aboutUs-block-text-history-number{
        padding: 30px 30px;
    }
}

/* ======================================================= */
/* ===== БОЛЬШИЕ ТЕЛЕФОНЫ И ПЛАНШЕТЫ ВЕРТИКАЛЬНО (до 768px) ===== */
/* ======================================================= */
@media (max-width: 768px){

    .aboutUs-main-block{
        height: 380px;
    }

    .aboutUs-main-block-heading h1{
        font-size: 40px;
        letter-spacing: 1px;
    }

    .aboutUs-block-text{
        flex-direction: column;
        padding: 45px 6% 55px;
        gap: 25px;
    }

    .aboutUs-block-text-history{
        padding-top: 0;
    }

    .aboutUs-block-text-history h1{
        font-size: 30px;
        margin-bottom: 30px;
    }

    .aboutUs-block-text-history p{
        font-size: 16px;
        line-height: 1.6;
    }

    .aboutUs-block-text-history-number{
        padding: 26px 24px;
    }

    .aboutUs-block-text-history-number h2{
        font-size: 24px;
    }

    .aboutUs-block-text-history-number p{
        font-size: 15px;
    }

    .aboutUs-block-text-ul li{
        font-size: 15px;
        padding-left: 24px;
    }
}

/* ======================================================= */
/* ===== ОСНОВНАЯ МАССА ТЕЛЕФОНОВ (до 480px) ===== */
/* ======================================================= */
@media (max-width: 480px){

    .aboutUs-main-block{
        height: 300px;
    }

    .aboutUs-main-block-heading h1{
        font-size: 28px;
        letter-spacing: 0.5px;
    }

    .aboutUs-block-text{
        padding: 35px 5% 45px;
        gap: 20px;
    }

    .aboutUs-block-text-history h1{
        font-size: 24px;
        margin-bottom: 20px;
    }

    .aboutUs-block-text-history p{
        font-size: 14px;
        line-height: 1.55;
    }

    .aboutUs-block-text-history-number{
        padding: 20px 18px;
        border-radius: 12px;
    }

    .aboutUs-block-text-history-number h2{
        font-size: 20px;
        margin-bottom: 12px;
    }

    .aboutUs-block-text-history-number p{
        font-size: 14px;
    }

    .aboutUs-block-text-ul li{
        font-size: 14px;
        padding-left: 22px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .aboutUs-block-text-ul li::before{
        font-size: 14px;
    }
}

/* ======================================================= */
/* ===== САМЫЕ УЗКИЕ ЭКРАНЫ (до 360px) ===== */
/* ======================================================= */
@media (max-width: 360px){

    .aboutUs-main-block{
        height: 260px;
    }

    .aboutUs-main-block-heading h1{
        font-size: 22px;
    }

    .aboutUs-block-text-history h1{
        font-size: 20px;
    }

    .aboutUs-block-text-history p{
        font-size: 13px;
    }

    .aboutUs-block-text-history-number{
        padding: 16px 14px;
    }

    .aboutUs-block-text-history-number h2{
        font-size: 18px;
    }
}