.top {
    background-color: var(--black-2);
}

.top__inner {
    padding-top: 122px;
    padding-bottom: 175px;
    position: relative;
}

.top__title {
    color: var(--white);
    max-width: 811px;
    font-weight: 600;
}

.top__wrapper-form {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    transform: translateY(50%);
    background-color: var(--black-3);
    padding: 11px 40px 40px;
    border-radius: 24px;
    z-index: 100;

}

.top__form-title {
    font-family: 'Waterfall', sans-serif;
    font-size: 74px;
    color: var(--bronze);
}

.top__form {
    margin-top: 12px;
    display: flex;
    gap: 0 10px;
}

.top__item {
    width: calc(25% - 5px);
    position: relative;
}



.top__bottom-wrapper {
    padding: 162px 0 62px;
    background-color: var(--black-1);
}

.top__content {
    background-color: var(--black-2);
    border-radius: 24px;
    padding: 60px 40px 40px;
}

.top__bottom-title {
    color: var(--white);
    margin: 0 auto;
}

.top__bottom-title--bronze {
    color: var(--bronze);
}

.top__list {
    display: flex;
    margin-top: 40px;
    gap: 0 24px;
}

.top__list-item {
    width: calc((100% / 3) - 14px);
    padding: 18px;
    border-radius: 24px;
    background-color: var(--white);

}

.top__item-bottom {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black-1);
    padding: 0 20px;
    gap: 0 20px;
}

.top__count {
    font-weight: 600;
    font-size: 32px;
}

.top__name {
    display: block;
    font-size: 17px;
    font-weight: 500;
}


.fleets {
    position: relative;

    &::after {
        background-color: var(--black-1);
    }
}


.fleets__content {
    position: relative;
    z-index: 31;
    border-radius: 41px 41px 0 0;
    padding-top: 80px;
    background-color: var(--gray-3);
}

.fleets__list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px 0;
}

.fleets__item {
    display: flex;
    align-items: center;
    gap: 0 50px;
    background-color: var(--white);
    padding: 24px;
    border-radius: 24px;
}

.fleets__pagination,
.fleets__pagination-second {
    margin-top: 4px;
}

.fleets__demonstration {
    max-width: 626px;
}

.fleets__demonstration img.fleets__image {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.fleets__demonstration .fleets__button {
    width: 100%;
}



.fleets__link {
    display: block;
    position: relative;

    &::after {
        content: '';
        position: absolute;
        border-radius: 14px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #24455E60;
    }
}

.fleets__image {
    border-radius: 14px;
}

.fleets__pagination-image {
    width: 100%;
    height: 97px;
    border-radius: 14px;
    object-fit: cover;
}

.fleets__count {
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: 700;
    color: var(--white);
    z-index: 5;
    transform: translate(-50%, -50%);
}

.fleets__descr-title {
    font-size: 32px;
    font-weight: 600;
}

.fleets__text {
    margin-top: 22px;
    line-height: 1.62;
    color: var(--gray-1);
}

.fleets__descr-list {
    padding: 16px 40px;
    background-color: var(--gray-3);
    border-radius: 24px;
    display: flex;
    gap: 0 20px;
    justify-content: space-between;
    margin-top: 40px;
}

.fleets__descr-item {
    font-size: 15px;
    line-height: 1.4;
    color: var(--gray-1);
}

.fleets__descr-value {
    display: block;
    margin-top: 4px;
    color: var(--black-1);
    font-size: 18px;
}

.fleets__descr-button {
    margin-top: 40px;
    max-width: 100%;
}

.fleets__bottom-link {
    margin: 40px auto 0;
    display: block;
    padding: 19px 40px;
    border: 1px solid var(--black-1);
    max-width: 166px;
    border-radius: 12px;
    color: var(--black-1);
    text-align: center;
    font-weight: 500;
    line-height: 1;
}

.swiper-slide-thumb-active {
    opacity: .6;
}

.rent {
    padding: 120px 0 100px;
    background-color: var(--gray-3);
}

.rent__list {
    margin-top: 40px;
}

.list {

    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.list__item {
    width: calc(50% - 12px);
    padding: 18px 18px 24px;
    background-color: var(--white);
    border-radius: 24px;
}


.list__item:nth-child(3),
.list__item:nth-child(4),
.list__item:nth-child(5){
    width: calc((100% / 3) - 16px)
}


.list__item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    gap: 0 10px;
}

.list__name {
    font-size: 28px;
    font-weight: 600;
}

.list__link {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-3);
    border-radius: 50%;
    flex-shrink: 0;
}

.list__image {
    border-radius: 18px;
}

.rent__button {
    max-width: 546px;
    width: 100%;
    margin: 40px auto 0;
}

.additional {
    background-color: var(--black-1);
    padding: 120px 0 140px;
}

.additional__title {
    color: var(--white);
}

.additional__list {
    margin-top: 40px;
}

.crew {
    padding: 60px 0 72px;
    background-image: url(../../image/homepage/crew/background.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.crew__content {
    max-width: 632px;
    padding: 40px;
    border-radius: 24px;
    background-color: var(--white);
}

.crew__title {
    font-size: 44px;
    font-weight: 700;
}

.crew__title>span {
    color: var(--bronze);
}

.crew__list {
    margin-top: 40px;
    border-top: 1px solid var(--gray-1);
}

.crew__item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-1);
}

.crew__item-title {
    font-size: 32px;
    font-weight: 600;
}

.crew__text {
    margin-top: 13px;
    line-height: 1.62;
    color: var(--gray-1);
}

.best {
    padding-top: 120px;
    background-color: var(--black-1);
    display: flex;
    flex-direction: column;
    gap: 120px 0;
    position: relative;
}

.best__content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
}

.best__title {
    max-width: 662px;
    margin: 0 auto;

}

.best__title>.text-waterfall {
    display: inline;
}

.best__wrapper {
    display: flex;
    gap: 0 24px;
    margin-top: 40px;
}

.best__image {
    max-width: 612px;
}

.best__list {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    flex-grow: 1;
}

.best__item {
    padding: 30px;
    border-radius: 24px;
    background-color: var(--gray-3);
    width: 100%;
}

.best__item-title {
    font-size: 32px;
    font-weight: 600;
    margin-top: 20px;
}

.best__text {
    font-size: 16px;
    color: var(--gray-1);
    line-height: 1.62;
    margin-top: 13px;
}

.best__bottom {
    height: 270px;
    background-color: var(--black-2);
    display: flex;
    justify-content: space-between;
}

.best__yacht {
    left: 50%;
    z-index: 100;
    transform: translate(-50%, 50%);
}


.slider {
    overflow: hidden;
    position: relative;

    &::after {
        background-color: var(--black-2);
    }

}

.slider__content {
    position: relative;
    z-index: 10;
    background-color: var(--white);
}

.slider__inner {
    padding-top: 235px;
}


.slider__item {
    border-radius: 35px 35px 24px 24px;
    max-width: 526px;
}

.slider__swiper {
    width: calc((4 * 526px) + (3 * 24px));
    overflow: hidden;
}

.slider__item-title {
    display: flex;
    align-items: center;
    gap: 0 18px;
    font-size: 32px;
    font-weight: 600;
}

.slider__text {
    margin-top: 10px;
    color: var(--gray-1);
    line-height: 1.62;
}

.slider__image {
    width: 100%;
    border-radius: 23px 23px 0 0;
}

.slider__item-content {
    padding: 30px;
    background-color: #F3F3F3;
    border-radius: 0 0 24px 24px;
}

.slider__items {
    display: none;
}

@media (max-width: 1200px) {

    .top__item-bottom {
        padding: 0;
    }

    .top__name {
        max-width: 100px;
    }


    .fleets__item {
        gap: 0 20px;
    }

    .fleets__demonstration {
        max-width: 520px;
    }

    .best__image {
        max-width: 500px;
    }
}

@media (max-width: 1000px) {
    .fleets__demonstration {
        max-width: 400px;
    }

    .fleets__descr-list {
        margin-top: 24px;
    }

    .fleets__descr-button {
        margin-top: 24px;
    }

    .fleets__descr-list {
        flex-wrap: wrap;
        gap: 4px 0;
        background-color: transparent;
        padding: 0;
    }

    .fleets__descr-item {
        width: 50%;
        background-color: var(--gray-3);



    }

    .fleets__descr-item:nth-child(even) {
        border-radius: 0 10px 10px 0;
        padding: 10px 20px 10px 0;
    }

    .fleets__descr-item:nth-child(odd) {
        border-radius: 10px 0 0 10px;
        padding: 10px 0 10px 20px;
    }

    .best__content {
        padding: 40px 15px;
    }

    .best__image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .button {
        max-width: 100%;
    }
    
    .list__item:nth-child(3),
    .list__item:nth-child(4),
    .list__item:nth-child(5){
    width: 100%;
    }

    .top__title {
        font-size: 44px;
    }

    .top__inner {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .top__wrapper-form {
        position: static;
        transform: none;
        margin-top: 40px;
        padding: 20px 15px;
    }

    .top__form {
        gap: 10px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .top__form-title {
        font-size: 54px;
    }

    .top__item {
        width: calc(50% - 5px);
    }

    .top__bottom-wrapper {
        background-color: transparent;
        padding: 0;
        padding-bottom: 20px;
    }

    .top__content {
        background-color: var(--black-3);
    }

    .top__bottom-title--bronze {
        display: block;
    }

    .top__content {
        padding: 40px 15px;
    }

    .top__list {
        flex-direction: column;
        gap: 10px 0;
        margin-top: 20px;
    }

    .top__list-item {
        width: 100%;
    }

    .top__image {
        width: 100%;
    }

    .top__item-bottom {
        padding: 0 20px;
    }

    .top__name {
        max-width: none;
    }

    .fleets {
        padding-top: 40px;
    }

    .fleets__item {
        flex-direction: column;
        gap: 30px 0;
    }

    .fleets__demonstration {
        max-width: 100%;
    }

    .fleets__image {
        width: 100%;
    }

    .fleets__descr-title {
        font-size: 28px;
    }

    .fleets__bottom-link {
        max-width: 100%;
    }

    .rent {
        padding: 80px 0 40px;
    }

    .list {
        flex-direction: column;

    }

    .list__name {
        font-size: 22px;
    }

    .list__item {
        width: 100%;
        padding: 10px 10px 14px;

    }

    .list__item-bottom {
        margin-top: 14px;
    }

    .list__image {
        width: 100%;
    }

    .additional {
        padding: 80px 0;
    }

    .best {
        padding-bottom: 340px;
    }

    .best__wrapper {
        margin-top: 20px;
    }

    .best__image {
        display: none;
    }

    .best__bottom {
        display: none;
    }

    .best__yacht {
        left: 0;
        right: 0;
        bottom: 0;
        transform: translateY(188px);
    }

    .slider__inner {
        padding-top: 246px;
    }

    .slider__swiper {
        width: 1px;
        height: 1px;
        overflow: hidden;
        opacity: 0;
        position: absolute;
        pointer-events: none;
        transform: translateY(-100%);
    }

    .slider__items {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 10px 0;
    }

    .slider__item {
        max-width: 100%;

    }
}

@media (max-width: 480px) {
    .top__form {
        flex-direction: column;
    }

    .top__item {
        width: 100%
    }

    .fleets__slide,
    .fleets__link {
        max-width: 90px;
    }

    .fleets__pagination-image {
        width: 100%;
        height: 70px;
    }

    .crew {
        background-image: url(../../image/homepage/crew/background-s.png);
        background-position: bottom;
        background-size: cover;
        background-repeat: no-repeat;
        padding: 20px 0 325px;
    }

    .crew__content {
        padding: 30px 20px;
    }

    .crew__title {
        font-size: 32px;
    }


    .crew__list {
        margin-top: 30px;
    }

    .crew__item-title {
        font-size: 22px;
    }
}