/* ABOUT — секция как на макете */

.about-hero {
    padding: 80px 300px;
    position: relative;
    overflow: hidden;
}

.hero-name h2 {
    font-size: 36px;
    font-weight: 400;
}

.about-text {
    margin-top: 150px;
    transform: translatex(100%);
    max-width: 50%;
}


.about-text p {
    margin: 0 0 28px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    color: #000000;
}

.signature {
    display: flex;
    justify-content: flex-end;
}

.about-sign {
    width: 420px;
    max-width: 60%;
    display: block;
}

.background-logo-hero {
    position: absolute;
    left: -3%;
    top: -10%;
    height: 110%;
    z-index: -1;
    opacity: 0.3;
}

.background-logo-hero img {
    display: block;
    width: auto;
    height: 100%;
    transform: translateZ(0);
    backface-visibility: hidden;
}



.mission {
    padding: 40px 300px;
}


.mission h3 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 20px;
}


.mission p {
    font-size: 18px;
    font-weight: 300;
}




.about-quote {
    margin: 50px 0px;
    padding: 40px 300px;
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: center;
}


.quote-img {
    width: 450px;
    min-width: 250px;
}

.quote-img img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.about-quote p {
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
}





.values {
    padding: 60px 300px;
}

.values h3 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 28px;
}

.value {
    margin: 0 0 40px;
}

.value-title {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 18px 24px;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .3px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.value p {
    width: 100%;
    margin: 18px 0 0;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #000000;
    padding: 0 40px;
    box-sizing: border-box;
}






.gallery {
    background-color: black;
}



.gallery-inner {
    background: #000;
    padding: 60px 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    background: #d9d9d9;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.history p {
    font-size: 18px;
    font-weight: 300;
    padding: 60px 300px;
}


.last-photo {
    height: 600px;
    width: 100%;
}

.last-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
    object-position: center top;
}




.divider {
    width: 100%;
    height: 40px;
    background-color: #000;
    margin: 40px 0;
}





.socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    gap: 20px;
}

.socials a {
    text-decoration: none;
    color: black;
    font-size: 24px;
    font-weight: 300;
}

.sign-note {
    display: flex;
    justify-content: center;
}

@font-face {
    font-family: 'Miama Nueva';
    /* Называешь как хочешь */
    src: url('fonts/ofont.ru_Miama\ Nueva.ttf') format('truetype');
    /* Путь к файлу */
    font-weight: normal;
    /* Если шрифт обычный */
    font-style: normal;
    /* Если не курсив */
}

/* Если есть еще жирная версия (bold), подключи ее отдельно */
@font-face {
    font-family: 'Miama Nueva';
    src: url('fonts/ofont.ru_Miama\ Nueva.ttf') format('truetype');
    font-weight: bold;
    /* Указываешь что это жирный вес */
    font-style: normal;
}

@font-face {
    font-family: 'Miama';
    src: url('fonts/Miama-Regular.ttf') format('truetype');
    font-weight: bold;
    /* Указываешь что это жирный вес */
    font-style: normal;
}

.sign-note h2 {
    font-family: 'Miama Nueva', sans-serif;
    font-weight: bold;
    font-size: 36px;
}

.sign-note h2 span {
    font-family: 'Miama', sans-serif;
}


.socials-container {
    color: #000000;
    text-align: center;
    bottom: 40px;
    right: 60px;
}


.socials-list-main {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.social-link {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    transition: transform .18s ease, opacity .18s ease;
}

.social-link img {
    width: 100%;
    display: block;
    filter: invert(1);
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.socials-main-note {
    font-family: "Jost", sans-serif;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.3;
    opacity: .8;
}





/* адаптив */
@media (max-width: 767px) {

    .about-hero,
    .mission,
    .values,
    .history p {
        padding: 30px 20px;
    }


    .about-text {
        margin-top: 40px;
        transform: unset;
        max-width: unset;
    }

    .about-sign {
        width: 420px;
        max-width: 80%;
        display: block;
    }

    .background-logo-hero {
        position: absolute;
        left: -60%;
        top: -15%;
        height: 120%;
        z-index: -1;
        opacity: 0.3;
    }

    .background-logo-hero img {
        display: block;
        width: auto;
        height: 100%;
        transform: translateZ(0);
        backface-visibility: hidden;
    }



    .gallery-inner {
        display: flex;
        flex-direction: column;
    }


    .about-quote {
        margin: 50px 0px;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        gap: 60px;
        align-items: unset;
    }

    .quote-img {
        width: 150px;
    }


    .value p {
        padding: 0 20px;
    }


    .last-photo {
        height: 400px;
    }

    .socials {
        padding: 40px 20px;
    }

    .sign-note {
        width: 350px;
    }

    .sign-note h2 {
        font-size: 24px;
    }

    .sign-note img {
        width: 100%;
        object-fit: cover;
    }

    .socials {
        gap: 10px;
    }

    .socials a {
        font-size: 24px
    }

    .socials-container {
        padding: 0px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

}

@media (min-width: 768px) and (max-width: 1350px) {

    .about-hero,
    .mission,
    .values,
    .history p {
        padding: 50px 40px;
    }

    .background-logo-hero {
        position: absolute;
        left: -20%;
        top: -10%;
        height: 110%;
        z-index: -1;
        opacity: 0.3;
    }

    .background-logo-hero img {
        display: block;
        width: auto;
        height: 100%;
        transform: translateZ(0);
        backface-visibility: hidden;
    }



    .about-quote {
        margin: 50px 0px;
        padding: 40px 40px;
        display: flex;
        gap: 30px;
    }

    .quote-img {
        width: 150px;
        min-width: 200px;
    }

    .about-quote p {
        font-size: 24px;
    }


    .last-photo {
        height: 500px;
    }



    .socials {
        padding: 40px 20px;
    }

    .sign-note {
        width: 550px;
    }

    .sign-note img {
        width: 100%;
        object-fit: cover;
    }


    .socials {
        gap: 10px;
    }

    .socials a {
        font-size: 24px
    }

    .socials-container {
        padding: 0px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

}