﻿.berth-carousel {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 110px);
    margin-top: -18px;
    overflow: hidden;
    background: #071827;
}

.berth-carousel::before {
    content: none;
}

.berth-carousel .carousel-inner,
.berth-carousel .item,
.berth-carousel__slide {
    min-height: calc(100vh - 110px);
}

.berth-carousel__slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.berth-carousel__slide--vivid {
    filter: saturate(1.28) contrast(1.08) brightness(1.04);
}

.berth-carousel__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 360px;
    gap: 58px;
    align-items: center;
    pointer-events: none;
}

.berth-carousel__copy,
.berth-request {
    pointer-events: auto;
}

.berth-carousel__copy {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .34);
}

.berth-carousel__eyebrow,
.berth-request__eyebrow {
    display: inline-block;
    color: #203b66;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.berth-request__eyebrow,
.berth-carousel__eyebrow {
    display: none;
}

.berth-carousel h1 {
    max-width: 650px;
    margin: 14px 0 18px;
    color: #fff;
    font-family: inherit;
    font-size: 58px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.berth-carousel h1 span {
    display: block;
}

.berth-carousel__copy p {
    max-width: 560px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .94);
    font-size: 18px;
    line-height: 1.55;
}

.berth-carousel__cta,
.berth-request__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #203b66;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(32, 59, 102, .3);
    outline: none !important;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.berth-carousel__cta:hover,
.berth-carousel__cta:focus,
.berth-request__button:hover,
.berth-request__button:focus {
    background: #142744;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(20, 39, 68, .36);
    outline: none !important;
}

.berth-carousel__cta:active,
.berth-request__button:active {
    outline: none !important;
    box-shadow: 0 10px 24px rgba(20, 39, 68, .28);
}

.berth-request {
    width: 100%;
    border-radius: 26px;
    background: rgba(255, 255, 255, .58);
    padding: 28px 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 0;
}

.berth-request h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    margin: 12px 0 32px;
    color: #09233d;
    font-size: 33px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}

.berth-request__item {
    min-height: 58px;
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(219, 230, 238, .72);
    border-radius: 18px;
    background: rgba(247, 251, 255, .74);
}

.berth-request__item span {
    display: block;
    color: #203b66;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.berth-request__item strong {
    display: block;
    margin-top: 4px;
    color: #09233d;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.berth-request__button {
    width: 100%;
    margin-top: 6px;
}

.berth-request p {
    margin: 16px 12px 16px;
    color: #435a72;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.berth-carousel__indicators {
    bottom: 20px;
    z-index: 5;
}

.berth-carousel__indicators li {
    width: 11px;
    height: 11px;
    margin: 0 3px;
    border: 0;
    background: rgba(255, 255, 255, .58);
}

.berth-carousel__indicators .active {
    width: 28px;
    height: 11px;
    margin: 0 3px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 1400px) {
    .berth-carousel {
        margin-top: -10px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .berth-carousel::before {
        content: none;
    }

    .berth-carousel,
    .berth-carousel .carousel-inner,
    .berth-carousel .item,
    .berth-carousel__slide {
        width: 100%;
        min-height: calc(100vh - 126px);
    }

    .berth-carousel__content {
        width: min(980px, calc(100% - 42px));
        padding-top: 0;
        padding-bottom: 24px;
        box-sizing: border-box;
        grid-template-columns: minmax(300px, 1fr) 330px;
        gap: 44px;
        align-content: center;
        justify-items: center;
        text-align: left;
    }

    .berth-carousel h1 {
        max-width: 520px;
        margin: 0 0 22px;
        font-size: 46px;
        line-height: 1.06;
        text-align: left;
    }

    .berth-carousel__copy {
        width: 100%;
        max-width: 560px;
    }

    .berth-carousel__copy p {
        margin-left: 0;
        margin-right: 0;
    }

    .berth-request {
        width: min(100%, 430px);
        justify-self: center;
        margin: 0 auto;
        max-width: 430px;
        text-align: left;
    }
}

@media (max-width: 700px) {
    .berth-carousel,
    .berth-carousel .carousel-inner,
    .berth-carousel .item,
    .berth-carousel__slide {
        min-height: calc(100vh + 610px);
        min-height: calc(100svh + 610px);
    }

    .berth-carousel__content {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        gap: 56px;
        align-content: start;
        justify-items: center;
        padding-top: 0;
        padding-bottom: 86px;
        text-align: center;
    }

    .berth-carousel__copy {
        display: flex;
        width: 100%;
        min-height: calc(100vh - 118px);
        min-height: calc(100svh - 118px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .berth-carousel h1 {
        max-width: 430px;
        margin: 0 auto 34px;
        font-size: 60px;
        line-height: 1.06;
        text-align: center;
    }

    .berth-carousel__copy p {
        max-width: 540px;
        margin-bottom: 56px;
        font-size: 18px;
        line-height: 1.55;
    }

    .berth-request {
        width: min(100%, 430px);
        margin: 0 auto;
        padding: 22px 18px;
        justify-self: center;
        text-align: left;
    }

    .berth-request h2 {
        font-size: 28px;
        margin: 8px 0 30px;
        justify-content: center;
        text-align: center;
    }
}
