.head{
    background: url('../img/head/bg.jpg') no-repeat center / cover;
    padding: 200px 0 40px 0;
    margin-top: 80px;
}

.headTitle{
    width: 60%;
}

.headTitle h1{
    font-size: 62px;
    color: #A19467;
    font-weight: 100;
}

.headTitle p{
    font-size: 20px;
    color: #fff;
    font-weight: 200;
    margin-top: 15px;
}

.headTitle .btnBorderWhite{
    margin-top: 20px;
}

.headBottomContainer{
    display: flex;
    justify-content: flex-end;
    margin-top: 64px;
}

.headItem{
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    background: #f9f7ec;
    border: 2px solid #A19467;
}

.headItemImg img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.headItemText{
    width: 360px;
    margin-left: 15px;
    color: #A19467;
}

.headItemText h2{
    font-size: 16px;
}

.headItemText p{
    font-size: 14px;
    margin-top: 5px;
    color: #575757;
}

/* portfolio */

.sliderContent{
    width: 100%;
    margin-top: 40px;
}

.slider{
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.slider div{
    display: flex !important;
    justify-content: center !important;
    width: 100%;
}

.slider img{
    bottom: 0;
    width: 95%; 
    height: auto;
    object-fit: cover;
}
  
/* about */

.aboutContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.aboutText{
    width: calc(100% - 550px);
}

.aboutText h2{
    font-size: 48px;
    font-weight: 100;
    color: #A19467;
}

.aboutText p{
    font-size: 14px;
    margin-top: 15px;
}

.aboutImg{
    width: 450px;
}

.aboutImg img{
    width: 100%;
}


@media(min-width: 320px) and (max-width: 550px){
    .head{
        padding: 90px 0 40px 0;
    }
    
    .headTitle{
        width: 100%;
        text-align: center;
    }
    
    .headTitle h1{
        font-size: 36px;
        line-height: 36px;
    }
    
    .headTitle p{
        font-size: 14px;
        margin-top: 10px;
    }
    
    .headBottomContainer{
        justify-content: center;
        margin-top: 35px;
        width: 100%;
    }
    
    .headItem{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        padding: 10px;
        border-radius: 20px;
        width: 90%;
    }
    
    .headItemImg img{
        width: 100%;
        border-radius: 20px;
    }
    
    .headItemText{
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 10px;
        color: #fff;
    }
    
    .headItemText h2{
        font-size: 14px;
    }
    
    .headItemText p{
        font-size: 12px;
        margin-top: 5px;
    }
    
    /* about */

    .aboutContainer{
        justify-content: center;
        margin-top: 0;
    }

    .aboutText{
        width: 100%;
    }

    .aboutText h2{
        font-size: 32px;
        font-weight: 100;
        color: #A19467;
    }

    .aboutImg{
        width: 100%;
        margin-top: 20px;
    }


}



@media(min-width: 550px) and (max-width: 920px){
    .head{
        padding: 100px 0 40px 0;
    }

    .headTitle{
        width: 80%;
    }
    
    .headTitle h1{
        font-size: 42px;
    }
    
    .headTitle p{
        font-size: 18px;
    }

    /* about */

    .aboutContainer{
        justify-content: center;
        margin-top: 0;
    }

    .aboutText{
        width: 100%;
    }

    .aboutText h2{
        font-size: 32px;
        font-weight: 100;
        color: #A19467;
    }

    .aboutImg{
        width: 100%;
        margin-top: 20px;
    }

}


@media(min-width: 920px) and (max-width: 1220px){
    .head{
        padding: 120px 0 40px 0;
    }

    .headTitle{
        width: 60%;
    }
    
    .headTitle h1{
        font-size: 52px;
    }
    
    .headTitle p{
        font-size: 18px;
    }
}

.uspContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 24px;
    padding: 20px 0;
}

.uspItem {
    background: #f9f7ec;
    border: 2px solid #A19467;
    border-radius: 16px;
    width: calc(100% - 40px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    transition: .4s;
}

.uspItem:hover {
    background: #837a49;
    border-color: #6b5e2b;
}

.uspItem:hover .uspNumber,
.uspItem:hover .uspText {
    color: #fff;
}

.uspNumber {
    font-size: 52px;
    font-weight: bold;
    color: #A19467;
    margin-bottom: 12px;
    line-height: 1.1;
    user-select: none;
}

.uspText {
    font-size: 16px;
    color: #666666;
    line-height: 1.4;
    text-align: center;
    user-select: none;
    white-space: pre-line;
}

@media (max-width: 720px) {
    .uspContainer {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .uspItem {
        width: 90vw;
        max-width: 320px;
        padding: 25px 15px;
    }
    .uspNumber {
        font-size: 42px;
    }
    .uspText {
        font-size: 14px;
    }
}

@media (min-width: 721px) and (max-width: 1024px) {
    .uspContainer {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .uspItem {
        width: 260px;
    }
    .uspNumber {
        font-size: 46px;
    }
    .uspText {
        font-size: 14px;
    }
}

/* слайдер */

.swiper-slide {
    border-radius: 15px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

.slider-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.slider-item img:hover {
    transform: scale(1.05);
}

.slider-item img:hover {
    transform: scale(1.05);
}

.swiper-button-next,
.swiper-button-prev {
    color: #A19467 !important;
    filter: none !important;
    opacity: 1 !important;
    transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #7f7150 !important;
}

.swiper-pagination-bullet {
    background-color: #A19467 !important;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #A19467 !important;
    opacity: 1;
    transform: scale(1.3);
}

.gallerySwiper .swiper-pagination,
.reviewSwiper .swiper-pagination {
    margin-top: 20px;
    position: relative; 
    bottom: auto;
}

.slideReview img{
    width: 100%;
    max-width: 1200px;
}

.slideReview img {
    width: 100%;
    aspect-ratio: 3/4; /* вертикальные фото */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.slideReview img:hover {
    transform: scale(1.03);
}