:root {
    --main-color: hwb(0 0% 98%);
    --next-color: #cd2727;
    --white-color: #fff;
}

body {
   font-family: "Satoshi-Regular", sans-serif;
   color: var(--main-color);
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    /* работает с sticky */
    overflow: clip;
}
.wrapper > main {
    flex-grow: 1;
}
[class*="__container"] {
    padding-inline: .9375rem;
    max-width: 89.375rem;
    margin: 0 auto;
}

/*----- Page -----*/
/*------ для всей страници отступы в низ для каждой секции ------- */

.page > *:not([class*="--nomargin"]) {
    margin-bottom: 220px;
}
.page__hero {
    margin-bottom: 160px;
}
.page__services {

}
.page__latest-work {

}
.page__exhibitions {

}
.page__reviews {

}
.page__lets-work {

}
.page > *:last-child {
    margin-bottom: 0;
}
@media (max-width: 1230px) {
    .page > *:not([class*="--nomargin"]) {
        margin-bottom: 120px;
    }
}
@media (max-width: 991.98px) {
    .page > *:not([class*="--nomargin"]) {
        margin-bottom: 80px;
    }
}
@media (max-width: 767.98px) {
    .page > *:not([class*="--nomargin"]) {
        margin-bottom: 30px;
    }
}

/*-------------------*/

.header {
    padding-block: 3.125rem;
    padding-inline: 2.5rem;
    position: sticky;
    top: 0;
    display: flex;
    gap: .9375rem;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 50;
}

/*------- делаем подложку под лого и бургер --------*/

.header::before {
    content: "";
    height: 7.6875rem;
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}
.header__logo {
    position: relative;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.3s;
    pointer-events: all;
}
.header__logo:hover {
    color: var(--next-color);
}
.menu {
    pointer-events: all;
/*---- можем работать с всем меню -----*/    
}
.menu__icon {
    z-index: 10;
    display: block;
    width: 3.125rem;
    height: 1.4375rem;
    position: relative;
    cursor: pointer;
}
.menu__icon::before,
.menu__icon::after,
.menu__icon span {
    content: "";
    position: absolute;
    right: 0;
    height: .0625rem;
    background-color: var(--main-color);
    transition: all 0.3s;
}
.menu__icon::before {
    width: 3.125rem;
    top: 0;
}
.menu__icon::after {
    width: 2.8125rem;
    bottom: 0;
}
.menu__icon span {
    width: 2.1875rem;
    top: 50%;
    margin-top: -0.0313rem;
}
.menu__icon:hover:before,
.menu__icon:hover:after,
.menu__icon:hover span {
   background-color: var(--next-color); 
}
.menu__icon small {
    aspect-ratio: 1;
    border-radius: 50%;
    border: .0625rem solid var(--next-color);
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 0;
    opacity: 0;
    transition: 
        opacity 0.3s,
        width 0.3s;
}
.menu__icon._active small {
    opacity: 1;
    width: 12.5rem;
}
@media (max-width: 550px) {
    .menu__icon._active small {
        width: 10.625rem;
    }
}
.menu__icon._active::before {
    rotate: 45deg;
    top: 50%;
    translate: 0 -50%;
}
.menu__icon._active::after {
    rotate: -45deg;
    bottom: 50%;
    translate: 0 50%;
    width: 3.125rem;
}
.menu__icon._active span {
    width: 0;
}
.menu__body {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transition: 
        opacity 0.5s,
        visibility 0.5s;
    background-color: var(--white-color);
    padding: 0 0 2.5rem 0;
}
.menu__body._active {
   visibility: visible;
   opacity: 1; 
}

/*------ нумерація від 01---05 -----------*/

.menu__list {
/*---- делаем чтобы пункты меню не залазили под шапочку ----*/    
    padding-top: 7.375rem;
    padding-bottom: 2.5rem;
    flex-grow: 1;
    display: flex;
    gap: 2.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    counter-reset: item;
}
.menu__item {
    display: flex;
    align-items: center;
    gap: 3.125rem;
}

/*------ нумерація додаемо "0" -------*/

.menu__item::before {
    font-size: 1.875rem;
    color: var(--next-color);
    content: counter(item, decimal-leading-zero);
    counter-increment: item;
}
.menu__link {
    font-size: 5rem;
    text-transform: uppercase;
    list-style: 1.2;
    transition: color 0.3s;
}
.menu__link:hover {
    color: var(--next-color);
}
@media (max-width: 991.98px) {
    .header {
        padding-block: 1.375rem;
    }
    .header::before {
        height: 5.1875rem;
    }
    .menu__link {
        font-size: 4.375rem;
    }
    .menu__list {
        gap: 1.875rem;
    }
    .menu__item {
        gap: 1.875rem;
    }
}
@media (max-width: 767.98px) {
    .header {
        padding-block: 1.25rem;
    }
    .header::before {
        height: 5.1875rem;
    }
    .menu__link {
        font-size: 2.375rem;
    }.menu__list {
        gap: 1.25rem;
    }
    .menu__item {
        gap: .9375rem;
    }
}

/*---------- hero ------------*/

/*-------- технические обертки --------*/


.hero {
    padding-top: 25px;
}

/*-------- основная секция ---------*/

.hero__container{
    display: flex;
}
.hero__content {
    flex-basis: 46.32%;
    padding-top: 4.375rem;
    position: relative;
}
.hero__header {
    display: inline-block;
    /*margin-right: -80.071429%; /* заходим на соседнюю ячейку */
}
.hero__header:not(:last-child) {
    margin-bottom: 45.5%;
}
.hero__title {
    font-size: clamp(3.1875rem, 10.58vw, 12.5rem);
    color: var(--next-color);
    line-height: 0.9;
}
.hero__title:not(:last-child) {
    margin-bottom: 1.875rem;
}
.hero__sub-title {
    font-size: clamp(1.4375rem, 3.22vw, 3.75rem);
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--main-color);
}
.hero__sub-title span {
    display: block;
    /*padding-top: 30px;*/
}
.hero__sub-title span:first-child {
    margin-left: 24.313305%; /* 180/932 */
}
.hero__sub-title span:last-child {
    margin-left: 31.751073%; /* 240/932 */
}
.author {
    display: flex;
    align-items: flex-end;
}
.author__image {
    aspect-ratio: 1;
    width: 12.5rem;
    object-fit: cover;
}
.author__image:not(:last-child) {
    margin-bottom: .75rem;
}
.author__caption {
    line-height: 1.4;
    font-size: 1.25rem;
}
.author__action {
    background-color: var(--next-color);
    aspect-ratio: 1;
    width: 8.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*display: grid;
    place-content: center;*/
    text-align: center;
    color: var(--white-color);
    font-size: 1.125rem;
    text-transform: uppercase;
    line-height: 1.4;
    translate: -21.428571% 19.285714%; /* 27/140 */
}
.author__action::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: 1;
    width: 8.75rem;
    border-radius: 50%;
    border: 1px solid var(--next-color);
    transition: all 0.3s;
}
.author__action:hover::before {
    width: 10rem;
    /*translate: .625rem 0;*/
    left: .625rem;
    top: -0.5625rem;
}
.hero__body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.875rem;
}
.hero__media {
    flex-basis: 53.68%;
}    
.hero__image {
    width: 100%;
}
.hero__scroll {
    font-size: 1.125rem;
    line-height: 1.2;
    color: var(--main-color);
    margin-right: 12%;
    transition: color 0.3s;
}
.hero__scroll:hover {
    color: var(--next-color);
}
@media (max-width: 73.75rem) {
    .hero__header:not(:last-child) {
        margin-bottom: 41.5%;
    }
}
@media (max-width: 991.98px) {
    .hero__header:not(:last-child) {
        margin-bottom: 23.5%;
    }
    .hero__media {
        gap: 1.25rem;
    }
}

/* на всех экранах болльше 767.98 то есть мобилки 
   будет работать margin-right.*/

@media (min-width: 767.98px) {
    .hero__header {
    margin-right: -80.071429%; /* заходим на соседнюю ячейку */
    }
}
@media (max-width: 767.98px) {
    .hero__body {
        margin-inline: -0.9375rem;
    }
    .hero {
        padding-top: 0;
    }
    .hero__container{
        flex-direction: column;
    }
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3.5625rem;
    }
    .hero__header:not(:last-child) {
        margin-bottom: 5.5%;
    }
    .hero__scroll {
        display: none;
    }
    .hero__title:not(:last-child) {
    margin-bottom: .625rem;
    }
    .author__action::before {
        width: 8.25rem;
    }
}
@media (max-width: 450px) {
    .hero__header {
        text-align: center;
    }
    .hero__sub-title span:first-child,
    .hero__sub-title span:last-child { 
        margin-left: 0; /* 180/932 */
    }
}
/*------ Services --------*/


.services__container {
    max-width: 76.875rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}
.services__title {
    display: flex;
    align-items: center;
    gap: .625rem;
    line-height: 1.6;
}
.services__title::before {
    content: "";
    width: .9375rem;
    height: .0625rem;
    background-color: var(--main-color);
}
.services__list {
    counter-reset: item;
    flex: 1 1 auto;
}

/*--- проверка в css на размер через "has" --- */

.services__item {
    position: relative;
    padding-left: 13.875%; /* 111/800 */
}
.services__item::before {
    counter-increment: item;
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(1.5rem, 1.61vw, 1.875rem);
    line-height: 1.2;
    color: var(--next-color);
    content: counter(item, decimal-leading-zero);
}
.services__item:not(:last-child) {
    margin-bottom: 3.125rem;
    padding-bottom: 3.125rem;
    border-bottom: 1px solid var(--main-color);
}
.services__name {
    font-size: clamp(1.5rem, 1.61vw, 1.875rem);
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.3s;
}
.services__name:not(:last-child) {
    margin-bottom: 1.25rem;
}
.services__name:hover {
    color: var(--next-color);
}
.services__description {
    font-size: 1.125rem;
    line-height: 1.6;
}
.services__description:not(:last-child) {
    margin-bottom: .625rem;
}

@media (max-width: 991.98px) {
    .services__title {
        top: 6.875rem;
    }
    .services__item:not(:last-child) {
        margin-bottom: 1.875rem;
        padding-bottom: 1.875rem;
    }
    .services__name:not(:last-child) {
        margin-bottom: .9375rem;
    }
}
@media (max-width: 767.98px) {
    .services__title {
        top: 3.75rem;
    }
    .services__container {
        flex-direction: column;
    }
    .services__item:not(:last-child) {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    .services__name:not(:last-child) {
        margin-bottom: .625rem;
    }
}
@media (min-width: 768px) {
    .services__title {
        padding-left: 11.707317%; /* 144/1230 */
        /* процент берется от ширины всего котейнера т.е. 76.875rem */
        position: sticky;
        top: 140px; 
    }
    .services__title {
        flex: 1 1 23.75rem;
    }
    .services__container:has(.services__title) .services__list {
        flex: 1 1 50rem;
    }
}

/* ---- section latest-work ---- */

.latest-work__blok-header:not(:last-child) {
    margin-bottom: 8rem;
}
.latest-work__items {
    display: flex;
    gap: 10.48951%; /* 150/1430 */
}
.latest-work__column {
    display: flex;
    flex-direction: column;
    row-gap: 7.8125rem;
}
.item-work__link {
    transition: color 0.3s;
}
.item-work__link:hover {
    color: var(--next-color);
}
.item-work__link:hover .item-work__image {
    scale: 1.01;
}
.item-work__title {
    font-size: 1.875rem;
    text-transform: uppercase;
    line-height: 1.2;
}
.item-work__title span {
    text-transform: none;
    color: var(--next-color);
}
.item-work__title:not(:last-child) {
    margin-bottom: 1.25rem;
}
.item-work__image {
    transition: scale 0.3s;
}
.item-work__caption {
    padding-top: .9375rem;
    font-size: 1.125rem;
    line-height: 1.6;
    transform: color 0.3s;
}
@media (max-width: 87.5rem) {
    .latest-work__blok-header:not(:last-child) {
    margin-bottom: 5rem;
    }
    .latest-work__column {
        row-gap: 5rem;
    }
}
@media (max-width: 61.9988rem) {
    .latest-work__blok-header:not(:last-child) {
    margin-bottom: 3.125rem;
    }
    .item-work__title {
        font-size: 1.625rem;
    }
    .latest-work__column {
        row-gap: 3.125rem;
    }
    .item-work__caption {
        padding-top: .75rem;
        font-size: 1rem;
        line-height: 1.3;
    }
}
@media (max-width: 47.9988rem) {
    .latest-work__blok-header:not(:last-child) {
        margin-bottom: 1.25rem;
    }
    .item-work__title {
        font-size: 1.25rem;
    }
    .latest-work__column {
        row-gap: 1.25rem;
    }
    .item-work__caption {
        padding-top: .625rem;
        font-size: .875rem;
        line-height: 1.1;
    }
}
@media (max-width: 37.4988rem) {
    .latest-work__items {
        overflow: auto;
        margin-inline: -0.9375rem;
        padding-inline: .9375rem;
    }
    .latest-work__column {
        flex-direction: row;
        column-gap: 1.875rem;
        align-items: flex-start;
    }
    .item-work {
        flex: 0 0 15.625rem; 
    }
}
@media (min-width: 37.5rem) {
    .latest-work__column:first-child {
        flex: 1 1 43.75rem;
    }
    .latest-work__column:last-child {
        flex: 1 1 34.375rem;
    }
    .latest-work__column:last-child .item-work:nth-child(odd) {
        align-self: flex-end;
    }
    .latest-work__column:first-child .item-work:nth-child(even) {
        align-self: center;
    }
}

/*----- section exhibitions -----*/


.exhibitions__blok-header:not(:last-child) {
    margin-bottom: 5.9375rem;
}
.exhibitions__item {
    display: flex;
    gap: 2.8125rem;
    align-items: center;
}
.exhibitions__item:not(:last-child) {
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 3.125rem;
    margin-bottom: 3.125rem;
}
.item-exhibition__picture {
    align-self: flex-start;
    width: 14.375rem;
    aspect-ratio: 1;
    overflow: hidden;
    flex-shrink: 0;
}
.item-exhibition__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.4s;
}
.item-exhibition__image:hover {
    scale: 1.04;
}
.item-exhibition__content > * {
    margin-bottom: .5rem;
}
.item-exhibition__place {
    display: flex;
    align-items: center;
    gap: .625rem;
}
.item-exhibition__place span {
    display: flex;
    align-items: center;
    gap: .625rem;
}
.item-exhibition__place span:not(:last-child)::after {
    content: "";
    height: .0625rem;
    width: .9375rem;
    background-color: var(--main-color);
}
.item-exhibition__title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.5rem, 2.15vw, 2.5rem);
    text-transform: uppercase;
    line-height: 1.1;
}
.item-exhibition__title span {
    text-transform: none;
    color: var(--next-color);
}
.item-exhibition__link-title {
    transition: color 0.3s;
}
.item-exhibition__link-title:hover {
    color: var(--next-color);
}
.item-exhibition__text {
    line-height: 1.6;
}
.item-exhibition__text p:not(:last-child) {
    margin-bottom: .625rem;
}
.item-exhibition__body {
    align-items: center;
    gap: 3rem;
}
.item-exhibition__content > *:last-child {
    margin-bottom: 0;
}
.item-exhibition__body > *:last-child {
    margin-bottom: 0;
}
.item-exhibition__buy {
    flex-shrink: 0;
    color: var(--next-color);
    transition: scale 0.3s;
}
.item-exhibition__buy:hover {
    scale: 1.1;
}
.item-exhibition__date {
    flex-shrink: 0;
    font-size: clamp(1.875rem, 5.36vw, 6.25rem);
    line-height: 1.1;
    text-align: right;
    color: var(--next-color);
}
.item-exhibition__date small {
    font-size: clamp(1rem, 1.65vw, 1.875rem);
    display: block;
    margin-right: 6px;
}
@media (max-width: 1400px) {
    .exhibitions__blok-header:not(:last-child) {
        margin-bottom: 5rem;
    }
    .exhibitions__item:not(:last-child) {
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .item-exhibition__picture {
        width: 11.25rem;
    }
}
@media (min-width: 992px) {
    .item-exhibition__body {
        display: flex;
    }
    .item-exhibition__buy {
        margin-inline: 5.098039%; /* 52/1020 */
    }
}  
@media (max-width: 991.98px) {
    .exhibitions__blok-header:not(:last-child) {
        margin-bottom: 3.125rem;
    }
    .exhibitions__item:not(:last-child) {
        padding-bottom: 1.875rem;
        margin-bottom: 1.875rem;
    }
    .item-exhibition__picture {
        width: 9.375rem;
    }
    .exhibitions__item {
        gap: 1.875rem;
        align-items: flex-start;
    }
    .item-exhibition__buy {
        margin-top: .5625rem; 
    }
}    
@media (max-width: 767.98px) {
    .exhibitions__blok-header:not(:last-child) {
        margin-bottom: 1.875rem;
    }
    .exhibitions__item {
        gap: 1.25rem;
        align-items: flex-start;
    }
    .item-exhibition__picture {
        width: 7.5rem;
    }
    .item-exhibition__title {
        margin-bottom: .75rem;
    }
}
@media (max-width: 550px) {
    .exhibitions__item {
        flex-wrap: wrap;
        position: relative;
    }
    .item-exhibition__picture {
        flex-grow: 1;
    }
    .item-exhibition__title {
        margin-bottom: .5rem;
    }
    .item-exhibition__date {
        background-color: rgba(241, 237, 237, 0.7);
        color: var(--main-color);
        border-radius: .3125rem;
        padding: .625rem;
        position: absolute;
        top: .625rem;
        left: .625rem;
    }
    .item-exhibition__date small {
        margin-right: 0;
    }
}

/*------- section page__reviews -------*/

.reviews__container {
    display: flex;
    align-items: flex-start;
    gap: 3.125rem;
    position: relative;
}
.reviews__content {
    position: sticky;
    top: 150px;
    flex: 1 1 650px;
}
.reviews__content > * {
    margin-bottom: 1rem;
}
.reviews__title {
    font-size: clamp(2.625rem, 3.76vw, 4.375rem);
    line-height: 1.1;
    text-transform: uppercase;
}
.reviews__title span {
    color: var(--next-color);
}
.reviews__sub-title {
    font-size: clamp(1.25rem, 1.61vw, 1.875rem);
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 3rem;
}
.reviews__sub-title span {
    color: var(--next-color);
}
.reviews__content > *:last-child {
    margin-bottom: 0;
}
.reviews__items {
    flex: 1 1 43.75rem;
}
.reviews__item:not(:last-child) {
    border-bottom: 1px solid var(--main-color);
    margin-bottom: 6rem;
    padding-bottom: 6rem;
}
.item-reviews {
    display: flex;
    gap: 2.8125rem;
    align-items: flex-start;
}
.item-reviews__picture {
    aspect-ratio: 1;
    width: 7.5rem;
    flex-shrink: 0;
}
.item-reviews__picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-reviews__body {
    position: relative;
} 
.item-reviews__body > * {
    margin-bottom: 1.5rem;
}
.item-reviews__title {
    font-size: clamp(1.125rem, 1.61vw, 1.875rem);
    line-height: 1.2;
    padding-left: 4.375rem;
    min-height: 3.4375rem;
}
.item-reviews__title span {
    color: var(--next-color);
}
.item-reviews__title::before {
    content: "''";
    color: var(--next-color);
    font-size: 9.375rem;
    position: absolute;
    top: -2.1875rem;
    left: 0; 
}
.item-reviews__text {
    margin-bottom: 2.5rem;
}
.item-reviews__text p {
    line-height: 1.6;
}
.item-reviews__text p:not(:last-child) {
    margin-bottom: .9375rem;
}
.item-reviews__author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .625rem;
    font-size: .875rem;
    line-height: 1.6;
}
.item-reviews__author span {
    display: flex;
    align-items: center;
    gap: .625rem;
}
.item-reviews__author span:not(:last-child)::after {
    content: "";
    background-color: var(--main-color);
    height: .0625rem;
    width: 1.125rem;
}
.item-reviews__body > *:last-child {
    margin-bottom: 0;
}
@media (max-width: 1400px) {
    .reviews__content {
        flex: 1 1 34.375rem;
    }
    .reviews__items {
        flex: 1 1 50rem;
    }
    .reviews__item:not(:last-child) {
        margin-bottom: 3.4375rem;
        padding-bottom: 3.4375rem;
    }
}
@media (max-width: 991.98px) {
    .reviews__content,
    .reviews__items {
        flex: 1 1 auto;
    }.reviews__container {
        flex-direction: column;
        gap: 2.5rem;
    }
    .reviews__title br,
    .reviews__sub-title br {
        display: none;
    }
    .reviews__sub-title {
        margin-bottom: 1.875rem;
    }
    .item-reviews__title {
        padding-left: 3.125rem;
    }
    .item-reviews {
        gap: 2.1875rem;
    }
    .item-reviews__title::before {
        font-size: 7.1875rem;
        top: -1.875rem;
    }
    .reviews__item:not(:last-child) {
        margin-bottom: 1.875rem;
        padding-bottom: 1.875rem;
    }
    .item-reviews__body > * {
        margin-bottom: 1rem;
    }
    .item-reviews__text {
        margin-bottom: 1.25rem;
    }
    .reviews__content {
        position: static;
    }
}
@media (max-width: 500px) {
    .item-reviews {
        gap: 1.5625rem;
    }
    .reviews__button {
        width: 100%;
    }
    .item-reviews__picture {
        width: 5.625rem;
    }
    .item-reviews__title::before {
        font-size: 5.625rem;
        top: -1.25rem;
    }
    .item-reviews__title {
        padding-left: 2.5rem;
    }
    .item-reviews__text p {
        line-height: 1.2;
    }
    .item-reviews__author {
        line-height: 0.7;
    }
}

/*------- section page__lets-work -------*/

.lets-work {
    padding-block: 14.3125rem;
}
.lets-work__container {
    display: flex;
    justify-content: center;
}
.lets-work__link {
    display: flex;
    align-items: center;
    gap: 6.25rem;
}
.lets-work__circle {
    position: relative;
    background-color: var(--next-color);
    aspect-ratio: 1;
    width: 12.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*display: grid;
    place-content: center;*/
    text-align: center;
    color: var(--white-color);
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1.4;
}
.lets-work__circle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: 1;
    width: 12.5rem;
    border-radius: 50%;
    border: 1px solid var(--next-color);
    transition: all 0.3s;
}
.lets-work__link:hover .lets-work__circle::before {
    width: 13.75rem;
    /*translate: .625rem 0;*/
    left: .625rem;
    top: -0.5625rem;
}
.lets-work__title {
    font-size: clamp(1.75rem, 5.36vw, 6.25rem);
    line-height: 1.1;
    text-transform: uppercase;
}
.lets-work__title span {
    text-transform: none;
    color: var(--next-color);
}
@media (max-width: 1400px) {
    .lets-work {
        padding-block: 9.375rem;
    }
}
@media (max-width: 991.98px) {
    .lets-work__link {
        gap: 3.75rem;
    }
    .lets-work {
        padding-block: 6.25rem;
    }
}
@media (max-width: 767.98px) {
    .lets-work {
        padding-block: 3.125rem;
    }
    .lets-work__circle {
        width: 10rem;
    }
    .lets-work__circle::before {
        content: "";
        position: absolute;
        top: -0.625rem;
        left: .625rem;
        width: 11.25rem;
    }
}
@media (max-width: 600px) {
    .lets-work__link {
        gap: 1.875rem;
    }
    .lets-work {
        padding-block: 2.5rem;
    }
    .lets-work__circle {
        width: 6.25rem;
        font-size: 1rem;
    }
    .lets-work__circle::before {
        content: "";
        position: absolute;
        top: -0.5625rem;
        left: .0625rem;
        width: 7.5rem;
    }
}

/*-------- footer --------*/

.footer {
    padding-bottom: 3.125rem;
}
.footer__container {
    max-width: 80.625rem; 
}
.footer__body {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
}
.footer__body:not(:last-child) {
    margin-bottom: 5.9375rem;
}
.footer__title {
    font-size: clamp(3.125rem, 5.36vw, 6.25rem);
    line-height: 1.0;
    color: var(--next-color);
}
.footer__title:not(:last-child) {
    margin-bottom: .625rem;
}
.footer__sub-title {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-left: 10.771488%;
}
.menu-footer__title {
   font-size: 1.875rem;
   line-height: 1.2;
   text-transform: uppercase;
   color: var(--next-color); 
}
.menu-footer__title:not(:last-child) {
    margin-bottom: 3.125rem;
}
.menu-footer__link {
    font-size: 1.125rem;
    line-height: 2.3;
    transition: color 0.3s;
}
.menu-footer__link:hover {
    color: var(--next-color);
}
@media (max-width: 991.98px) {
    .footer__body:not(:last-child) {
        margin-bottom: 3.125rem;
    }
    .menu-footer__title:not(:last-child) {
        margin-bottom: 1.875rem;
    }
}
@media (max-width: 767.98px) {
    .footer__body {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    .footer__content {
        flex-grow: 1;
        width: 100%;
        text-align: center;
    }
    .footer__sub-title {
        margin-left: 0;
    }
    .footer__body:not(:last-child) {
        margin-bottom: 1.875rem;
    }
    .menu-footer__title:not(:last-child) {
        margin-bottom: .625rem;
    }
}








