@import url(home.css);

.hero__wrapper{
    max-width: 1548px;
    margin: 0 auto;
}

.reviews__content {
    margin-bottom: 90px;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 30px;
}

.hero__main-title {
    display: flex;
    align-items: center;
}

.hero__main-title h1 {
    font-size: 160px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero__main-available {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 50px;
    border-radius: 90px;
    background: #8A00A5;
}

.hero_main-content {
    display: flex;
    gap: 40px;
}

.hero__main-about h2 {
    font-size: 60px;
    font-weight: 200;
    letter-spacing: -3px;
    margin-bottom: 36px;
}

.hero__main-about p {
    font-size: 25px;
    font-weight: 500;
    line-height: 25px;
    text-align: left;
    margin-bottom: 25px;
}

.hero__main-item:first-child {
    position: relative;
    width: 77%;
}

.hero__main-item:last-child {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero_main-images {
    width: 100%;
    display: flex;
}

.hero_main-images img{
    width: 100%;
}

.hero__main-buttons {
    position: absolute;
    width: 100%;
    padding: 0 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none; /* отключаем наведение */
}

.hero__main-buttons .swiper-button-prev,
.hero__main-buttons .swiper-button-next {
  pointer-events: all; /* включаем клики только на иконках */
  position: initial;
}

.swiper-button-prev::after, .swiper-button-next::after{
    content: none;
}

.swiper-pagination-bullet-active{
    background: #fff;
}

.hero__main-contact {
    background: #FFAFC8;
    padding: 33px 73px;
    width: max-content;
    border-radius: 60px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    font-family: 'Inter';
}

.hero__info-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 60px;
}

.hero__info-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero__info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.hero__info-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -0.5px;
    max-width: 200px;
}

.hero__info-value {
    font-size: 18px;
    max-width: 127px;
    word-wrap: break-word;
    text-align: right;
    line-height: 25px;
    font-weight: 500;
}
  
.hero__info{
    margin-bottom: 40px;
}

.reviews__card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.reviews__card-rating span {
    font-weight: 500;
}

.form {
    margin-bottom: 125px;
}

.form__title {
    font-size: 60px;
    margin-bottom: 51px;
    color: var(--color-dark-primary);
    font-weight: 200;
}


.review__row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.review__field {
    display: flex;
    flex-direction: column;
}

.review__label {
    font-size: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
    color: #b361cc;
    width: max-content;
}

.review__input,
.review__select,
.review__textarea {
    box-sizing: border-box;
    border: 2px solid #d892ff;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    outline: none;
    resize: none;
}

.review__input {
    max-width: 396px;
    width: 100%;
    height: 74px;
}

.review__select{
    height: 74px;
    max-width: 247px;
    width: 100%;
}

.review__textarea {
    max-width: 968px;
    width: 100%;
    height: 224px;
    margin-bottom: 20px;
}

.review__submit {
    display: inline-block;
    background: #940084;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    cursor: pointer;
    width: 333px;
    height: 75px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

  

@media only screen and (max-width: 1400px) {
    .hero__info-container{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 1280px) {
    .hero__main-item:first-child{
        width: 55%;
    }

    .hero__main-item:last-child{
        width: 45%;
    }

    .reviews__card{
        width: 522px;
    }
}

@media only screen and (max-width: 1100px) {
    .hero__info-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews__card {
        width: 422px;
        height: 437px;
    }
}

@media only screen and (max-width: 991px) {
    .hero__main-title h1{
        display: none;
    }

    .hero__main-available{
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .hero__main-item:first-child{
        width: 100%;
    }

    .hero__main-item:last-child {
        display: none;
    }

    .hero__main-title{
        padding-top: 28px;
    }

    .hero__main .hero__wrapper{
        padding: 0;
    }

    .review__row{
        flex-direction: column;
    }

    .review__input, .review__select{
        max-width: 100%;
    }

    .review__submit{
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 890px){
    .reviews__content{
        grid-template-columns: repeat(1, auto);
    }

    .reviews__card{
        width: 522px;
    }
}

@media only screen and (max-width: 650px){
    .hero__info-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .hero_main-images {
        width: 100%;
        height: 617px;
    }

    .hero_main-images img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right;
    }
}

@media only screen and (max-width: 550px){
    .reviews__card{
        width: 445px;
    }

    .form__title{
        font-size: 33px;
    }

    .review__submit{
        height: 54px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 450px){
    .reviews__card{
        width: 345px;
        height: 375px;
    }
}