/* About — Hero */
.site-page--about {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.about-hero {
    position: relative;
    width: 100%;
    min-height: 430px;
    overflow: hidden;
    color: #FFFEF8;
    background:
        #2E1E14
        url("../home/фон.webp")
        top center / cover no-repeat;
}

.about-hero__title {
    position: relative;
    margin: 0;
    padding-bottom: 12px;

    width: 520px;

    font-family: "Manrope", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: #FFFEF8;
}

.about-hero__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: #FFFEF8;
}

.about-hero__content {
    position: absolute;
    top: 175px;
    left: 80px;
    z-index: 2;
}

.about-hero__stats {
    margin-top: 32px;
    display: flex;
    gap: 72px;
    align-items: flex-start;
}

.about-hero__stat {
    min-width: 150px;
}

.about-hero__stat-value {
    font-family: "Manrope", sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: #FFFEF8;
}

.about-hero__stat-label {
    margin-top: 12px;

    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #FFFEF8;
}
/* About Hero — responsive */

@media (max-width: 1100px) {
    .about-hero__content {
        margin-left: 5.5%;
        max-width: 89%;
    }

    .about-hero__title {
        width: clamp(320px, 42vw, 520px);
        font-size: clamp(28px, 3vw, 36px);
    }

    .about-hero__stats {
        gap: clamp(28px, 5vw, 72px);
    }

    .about-hero__stat {
        min-width: 0;
    }

    .about-hero__stat-value {
        font-size: clamp(48px, 6vw, 72px);
    }

    .about-hero__stat-label {
        font-size: clamp(14px, 1.6vw, 20px);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .about-hero {
        min-height: 720px;
    }

    .about-hero__content {
        top: 72px;
        left: 24px;
        right: 24px;
    }

    .about-hero__title {
        width: 100%;
        padding-bottom: 10px;

        font-size: 24px;
        line-height: 1.2;
    }

    .about-hero__stats {
        margin-top: 18px;
        gap: 20px;
        justify-content: flex-start;
    }

    .about-hero__stat-value {
        font-size: 32px;
    }

    .about-hero__stat-label {
        margin-top: 5px;
        font-size: 11px;
        line-height: 1.25;
    }
}
@media (max-width: 767px) {
    .about-hero__themis {
        display: none;
    }
}
/* About — Description card */
.about-description {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 80px 80px;
    margin-top: 0
}

.about-description__card {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 64px;

    background: #FFFEF8;
    border-radius: 24px;

    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: #2E1E14;
}

.about-description__card p {
    margin: 0 0 24px;
}

.about-description__card p:last-child {
    margin-bottom: 0;
}

/* Tablet */
@media (max-width: 1100px) {
    .about-description {
        padding-inline: 5.5%;
        margin-top: -80px;
    }

    .about-description__card {
        padding: 48px;
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .about-hero {
        min-height: 430px;
    }

    .about-description {
        padding: 0 16px 48px;
        margin-top: -120px;
    }

    .about-description__card {
        padding: 28px 24px;
        border-radius: 20px;

        font-size: 15px;
        line-height: 1.55;
    }

    .about-description__card p {
        margin-bottom: 20px;
    }
}
/* Themis positioning */
.about-hero__themis {
    position: absolute;
    z-index: 1;
    right: 30px;
    top: 55px;
    width: 550px;
    height: auto;
    pointer-events: none;
}

.about-hero__themis-image {
    display: block;
    width: 100%;
    height: auto;
}


/* About page — continuous fixed background */
body {
    background: #2E1E14 url("../home/фон.webp") center top / cover fixed no-repeat;
}

.site-page--about {
    background: transparent;
}

.about-hero {
    background: transparent;
}

.about-description {
    background: transparent;
    padding-top: 40px;
}


/* Themis — final desktop placement */
.about-hero__themis {
    width: 620px;
    top: auto;
    bottom: -40px;
    right: 20px;
}

@media (max-width: 1300px) {
    .about-hero__themis {
        width: clamp(450px, 43vw, 620px);
        right: 1%;
        bottom: -40px;
    }
}

@media (max-width: 767px) {
    .about-hero__themis {
        display: none;
    }
}


.about-hero__themis {
    bottom: -110px;
}

@media (max-width: 1300px) {
    .about-hero__themis {
        bottom: -110px;
    }
}


.about-hero__themis {
    bottom: -310px;
}

@media (max-width: 1300px) {
    .about-hero__themis {
        bottom: -310px;
    }
}


.about-hero__themis {
    bottom: -210px;
}

@media (max-width: 1300px) {
    .about-hero__themis {
        bottom: -210px;
    }
}


.about-description {
    margin-top: -45px;
}


/* ==================================================
   ABOUT — THEMIS RESPONSIVE
   Desktop > 1300px НЕ ТРОГАЕМ
   ================================================== */

/* Небольшой desktop / tablet landscape */
@media (min-width: 1000px) and (max-width: 1300px) {
    .about-hero__themis {
        width: 500px;
        right: -20px;
        bottom: -170px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 999px) {
    .about-hero__themis {
        width: 410px;
        right: -35px;
        bottom: -125px;
    }
}

/* Mobile — Фемиду не показываем */
@media (max-width: 767px) {
    .about-hero__themis {
        display: none;
    }
}


/* About description — mobile position */
@media (max-width: 767px) {
    .about-description {
        margin-top: -270px;
    }
}


/* About description — small mobile */
@media (max-width: 340px) {
    .about-description {
        margin-top: -170px;
    }
}

