* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    left: 0;
    right: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style-type: none;

}


/*---------- INTRO --------*/

.intro {
    background-image: url(../assets/images/home-bckg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: end;
}

.intro-wrapp {
    width: 100%;
    height: 100vh;
    
    margin-bottom: 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    background-color: #00000099;
}

@media screen and (max-width: 750px) {
    .intro-title {
        font-size: 12.38vw;
    }
    
    .big-btn {
        font-size: 5.44vw;
        padding: 19px 55px;
    }
}

@media screen and (min-width: 750px) {
    .intro-title {
        font-size: 13vw;
    }

    .big-btn {
        font-size: 27.7px;
        padding: 22px 70px;
    }
}

@media screen and (min-width: 1100px) {
    .intro-title {
        font-size: 14.38vh;
    }
}

.intro-title {
    font-family: var(--bn);
    
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--txt-white);
    margin-top: 194px;
}

.intro-btn {

}

.big-btn {
    font-family: var(--pts);
    /*font-size: 27.7px;*/
    
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--txt-white);
    border: 1px solid var(--button);
    border-radius: 10px;
    background-color: var(--button);
    cursor: pointer;
    transition: 0.35s ease;
}

.big-btn:hover {
    background-color: #EB7F4C;
    border: 1px solid #EB7F4C;

}


/*-------------- ABOUT ------------*/

@media screen and (max-width: 870px) {
    .about {
        flex-direction: column;
        padding-bottom: 15%;
    }

    .right-item-content {
        margin: 5.2% auto auto auto;
    }
}

@media screen and (min-width: 870px) {
    .right-item-content {
        margin: 18.2% auto auto auto;
    }
}

.about {
    display: flex;
    min-height: 653px;
    flex-wrap: wrap;
    
}

.left-pict {
    min-width: 50%;

    flex: 1 0 250px;
}

.left-pict img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.rigth-item {
    min-width: 50%;

    flex: 1 0 250px;
}

.right-item-content {
    /* max-width: 505px;
    margin: 18.2% auto auto 18.95%;
    display: flex;
    flex-direction: column;
    gap: 30px;*/

    max-width: 505px;
   
    display: flex;
    flex-direction: column;
    gap: 30px;
    
    padding: 30px;
}

.right-item-content h2 {
    font-family: var(--bn);
    font-size: 32px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--txt-black);
}

.right-item-content p {
    font-family: var(--pts);
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    color: var(--txt-black);
    text-align: justify;
}

/*------------ REVIEWS -----------*/
/*
@media screen and (max-width: 1200px) {
    .reviews-items {
        flex-direction: column;
        margin: 0 30px;

    }
    .reviews-item {
        display: grid;
    
        grid-template-areas: 'P U .' 'T T .' 'T T .' '. . .';
        grid-template-columns: 1fr 2fr;
        grid-template-rows: max-content;
        padding: 0 4.86vw 0 19px;
    

    }

    .reviews-pict {
        min-width: 90px;
        height: 90px;
        margin-right: 33px;
    }

    .reviews-item-star {
        margin-left: -4px;
    }

    
    
}

@media screen and (min-width: 1200px) {
    .reviews-item {
        display: grid;
        grid-column-gap: 30px;
        grid-template-areas: 'P U .' 'P T .' '. T .' '. . .';

    }

    .reviews-pict {
        min-width: 104px;
        height: 104px;
    }

    .reviews-item-txt {
        margin-top: 21px;
    }
}

@media screen and (max-width: 767px) {
    .left-arrow.butt, 
    .right-arrow.butt {
        display: none;
    }

    .reviews-btn {
        max-width: 204px;
        height: 55px;
        border: 2px solid #ffffff;
        border-radius: 100px;
        background-color: transparent;
        font-family: var(--pts);
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        color: var(--txt-white);
        margin: 0 auto;
        padding: 15px 45px;
        box-sizing: border-box;
    }
    

}

@media screen and (min-width: 767px) {
    .reviews-btn {
        display: none;
    }
}

@media screen and (max-width: 590px) {
    .reviews-item {
        padding: 0 19px; 

    }

    .reviews-pict {
        margin-right: 17px;
    }
}
+++++++
.reviews-item {
    max-width: 675px;
    min-height: 302px;
    border: 1px solid black;                                       
    background-color: var(--txt-white);
    padding-bottom: 39px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
+++++++++
.reviews-item {
    
}

.reviews-item.hidden {
    display: none;
    opacity: 0;
    transform: translateX(20px);
}

.reviews-item.visible {
    display: grid;
    opacity: 1;
    transform: translateX(0);
}




.reviews {
    background-image: url(../assets/images/page-bckg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    min-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 75px 0;
}

.butt {
    all: unset;
    cursor: pointer;
    transition-duration: 0.35s;
}

.butt:hover {
    transform: scale(0.8);
    transition-duration: 0.35s;
}

.reviews-title {
    font-family: var(--bn);
    font-size: 32px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--txt-white);
    margin-top: -118px;
    margin-bottom: 35px;
    margin-left: 35px;
}

.reviews-content {
    display: flex;
    flex-direction: column;
    margin-top: 95px;
}

.left-arrow {
    margin-right: 41px;
    margin-left: 5px;
}

.left-arrow img {
    transform: rotate(180deg);
}

.reviews-items {
    display: flex;
    gap: 35px;
}





.reviews-pict {
    
    overflow: hidden;
    border-radius: 50%;
    margin-top: 31px;
    margin-left: 1.4vw;
    grid-area: P;
    justify-self: right;
}

.reviews-pict img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-item-right {
    margin-right: 2.86vw;
    display: flex;
    flex-direction: column;
    gap: 33px;
    margin-bottom: 53px;
}


.reviews-item-up {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 37px;
    grid-area: U;
    max-width: 459px;
}

.reviews-item-name {
    font-family: var(--pts);
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--txt-black);
}

.reviews-item-star {
    
}

.reviews-item-star img {
    max-width: 26.5px;
}

.reviews-item-txt {
    max-width: 459px;
    text-align: justify;
    grid-area: T;
    justify-self: right;
    margin-top: 21px;
    font-family: var(--pts);
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
}

.right-arrow {
    margin-left: 41px;
    margin-right: 5px;
}

Плавные переходы для карточек 
.reviews-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reviews-item.hidden {
    display: none;
    opacity: 0;
    transform: translateX(20px);
}

.reviews-item.visible {
    display: grid;
    opacity: 1;
    transform: translateX(0);
}

 Улучшенная адаптивность 
@media screen and (max-width: 1200px) {
    .reviews-items {
        flex-direction: column;
        margin: 0 30px;
        gap: 25px;
    }
    
    .reviews-item {
        display: grid;
        grid-template-areas: 
            'P U'
            'P T';
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        padding: 20px;
        gap: 15px;
    }

    .reviews-pict {
        min-width: 90px;
        height: 90px;
        margin-right: 0;
        margin-top: 0;
        align-self: start;
    }

    .reviews-item-up {
        margin-top: 0;
        align-items: flex-start;
    }
}

@media screen and (min-width: 1201px) {
    .reviews-items {
        display: flex;
        gap: 35px;
        justify-content: center;
    }
    
    .reviews-item {
        display: grid;
        grid-template-areas: 
            'P U'
            'P T';
        grid-template-columns: auto 1fr;
        grid-template-rows: auto 1fr;
        gap: 15px 30px;
        padding: 30px;
    }
    
    .reviews-pict {
        min-width: 104px;
        height: 104px;
        margin-top: 0;
    }
    
    .reviews-item-up {
        margin-top: 0;
        align-items: flex-start;
    }
    
    .reviews-item-txt {
        margin-top: 0;
    }
}

 Улучшенные стили для мобильных 
@media screen and (max-width: 767px) {
    .left-arrow.butt, 
    .right-arrow.butt {
        display: none;
    }
    
    .reviews-item {
        grid-template-areas: 
            'P U'
            'T T';
        grid-template-columns: auto 1fr;
        padding: 15px;
        gap: 10px;
    }
    
    .reviews-pict {
        min-width: 70px;
        height: 70px;
        margin-right: 15px;
    }
    
    .reviews-item-name {
        font-size: 20px;
    }
    
    .reviews-item-txt {
        font-size: 16px;
        margin-top: 10px;
    }
}*/

/* Плавные переходы для карточек - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.reviews {
    background-image: url(../assets/images/page-bckg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    min-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 75px 0;
}

@media (max-width: 1200px) and (min-width: 767px) {
    .reviews {
        min-height: 896px;
    }
    
}

.butt {
    all: unset;
    cursor: pointer;
    transition-duration: 0.35s;
}

.butt:hover {
    transform: scale(0.8);
    transition-duration: 0.35s;
}

.reviews-title {
    font-family: var(--bn);
    font-size: 32px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--txt-white);
    margin-top: -118px;
    margin-bottom: 35px;
    margin-left: 35px;
}

.reviews-content {
    display: flex;
    flex-direction: column;
    margin-top: 95px;
}

.left-arrow {
    margin-right: 41px;
    margin-left: 5px;
}

.left-arrow img {
    transform: rotate(180deg);
}

.reviews-items {
    display: flex;
    gap: 35px;
    position: relative;
    min-height: 350px; /* Фиксируем высоту */
}

.reviews-item {
    max-width: 675px;
    min-height: 302px;
    border: 1px solid black;
    background-color: var(--txt-white);
    padding-bottom: 39px;
    transition: transform 0.6s ease, opacity 0.6s ease;
    flex: 1;
    /* Убираем absolute positioning */
    position: static;
}



.reviews-pict {
    overflow: hidden;
    border-radius: 50%;
    margin-top: 31px;
    margin-left: 1.4vw;
    grid-area: P;
    justify-self: right;
}

.reviews-pict img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-item-up {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 37px;
    grid-area: U;
    max-width: 459px;
}

.reviews-item-name {
    font-family: var(--pts);
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--txt-black);
}

.reviews-item-star img {
    max-width: 26.5px;
}

.reviews-item-txt {
    max-width: 459px;
    text-align: justify;
    grid-area: T;
    justify-self: right;
    margin-top: 21px;
    font-family: var(--pts);
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
}

.right-arrow {
    margin-left: 41px;
    margin-right: 5px;
}

.reviews-btn {
    max-width: 204px;
    height: 55px;
    border: 2px solid #ffffff;
    border-radius: 100px;
    background-color: transparent;
    font-family: var(--pts);
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    color: var(--txt-white);
    margin: 0 auto;
    padding: 15px 45px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Адаптивность */
@media screen and (max-width: 1200px) {
    .reviews-items {
        flex-direction: column;
        margin: 0 30px;
        min-height: 459px;
    }
    
    .reviews-item {
        display: grid;
        grid-template-areas: 'P U .' 'T T .' 'T T .' '. . .';
        grid-template-columns: 1fr 2fr;
        grid-template-rows: max-content;
        padding: 0 4.86vw 0 19px;
        width: 100%;
    }

    .reviews-pict {
        min-width: 90px;
        height: 90px;
        margin-right: 33px;
    }

    .reviews-item-star {
        margin-left: -4px;
    }
}

@media screen and (min-width: 1200px) {
    .reviews-items {
        min-height: 310px;
    }
    
    .reviews-item {
        display: grid;
        grid-column-gap: 30px;
        grid-template-areas: 'P U .' 'P T .' '. T .' '. . .';
        width: calc(50% - 17.5px);
    }

    .reviews-pict {
        min-width: 104px;
        height: 104px;
    }

    .reviews-item-txt {
        margin-top: 21px;
    }
}

@media screen and (max-width: 767px) {
    .left-arrow.butt, 
    .right-arrow.butt {
        display: none;
    }

    .reviews-btn {
        display: block;
    }
    
    .reviews-items {
        min-height: 350px;
    }
    
    .reviews-item {
        width: 100%;
    }
}

@media screen and (min-width: 767px) {
    .reviews-btn {
        display: none;
    }
}

@media screen and (max-width: 590px) {
    .reviews-item {
        padding: 0 19px; 
    }

    .reviews-pict {
        margin-right: 17px;
    }
}

/* Классы для анимации - УПРОЩЕННЫЕ */
.reviews-item {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.reviews-item.hidden {
    display: none;
}

.reviews-item.visible {
    display: grid;
    min-height: 327px;
    padding-bottom: 45px;
}

/* Анимации */
.reviews-item.slide-out-left {
    transform: translateX(100%);
    opacity: 0;
}

.reviews-item.slide-out-right {
    transform: translateX(-100%);
    opacity: 0;
}

.reviews-item.slide-in-left {
    transform: translateX(100%);
    opacity: 0;
}

.reviews-item.slide-in-right {
    transform: translateX(-100%);
    opacity: 0;
}

.reviews-item.active {
    transform: translateX(0);
    opacity: 1;
}


/*-------------- CONTACT ------------*/

@media screen and (max-width: 870px) {
    .contact {
        flex-direction: column;
        padding-bottom: 15%;
    }

    .cont-right-item-content {
        margin: 5.2% auto auto auto;
    }
}

@media screen and (min-width: 870px) {
    .cont-right-item-content {
        margin: 18.2% auto auto 18.95%;
    }
}


.contact {
    display: flex;
    flex-wrap: wrap;
    min-height: 653px;
}

.left-pict {
    min-width: 50%;
    max-width: 100%;
    flex: 1 0 250px;
    overflow: hidden;
}

.left-pict img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.cont-rigth-item {
    min-width: 50%;
    max-width: 100%;
    padding: 30px;
    flex: 1 0 250px;
}

.cont-right-item-content {
    max-width: 505px;
    
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cont-right-item-content h2 {
    font-family: var(--pts);
    font-size: 22px;
    font-weight: 700;
    line-height: 124%;
    letter-spacing: 0%;
    color: var(--txt-black);
}

.cont-right-item-content p {
    font-family: var(--pts);
    font-size: 22px;
    font-weight: 400;
    font-style: regular;
    line-height: 124%;
    letter-spacing: 0%;
    color: var(--txt-black);
}

.cont-right-item-content button {
    font-family: var(--pts);
    font-size: 27.7px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--txt-white);
    border: 1px solid var(--button);
    border-radius: 10px;
    background-color: var(--button);
    max-width: 420px;
    height: 80px;
    margin-top: 20px;
    transition: 0.35s ease;
    cursor: pointer;
}

.cont-right-item-content button:hover {
    background-color: #EB7F4C;
    border: 1px solid #EB7F4C;
}

@media (max-width: 767px) {
    .cont-right-item-content button {
        font-size: 18px;
        width: 100%;
        height: 55px;
    }
}

/*------------- FOOTER ---------*/

@media screen and (max-width: 723px) {
    .foot-wrapper {
        justify-content: center;
    }

    .foot-right {
        text-align: center;
    }

    .foot-icon {
        justify-content: center;
    }
}

@media screen and (min-width: 723px) {
    .foot-right {
        margin-left: auto;
    }

    .foot-icon {
        justify-content: flex-end;
    }
}

footer {
    width: 100%;
    background-color: #121212;
    
}

.foot-wrapper {
    max-width: 74%;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.foot-left {
    font-family: var(--bn);
    font-size: 26px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 6%;
    color: var(--txt-white);
}

.foot-right {
    font-family: var(--pts);
    font-size: 26px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--txt-white);
    
    background-color: #121212;
}

.foot-icon {
    display: flex;
    
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}