.construction {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 120px 46px 0;
}

.construction__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.construction__left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.construction__label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.construction__label-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(40, 77, 138, 1);
    flex-shrink: 0;
}

.construction__label-text {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 15px;
    text-transform: lowercase;
    color: var(--blue-284d8a);
}

.construction__title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 46px;
    line-height: 110%;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--black-292929);
    margin: 0;
    max-width: 520px;
}

.construction__year {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.construction__year-value {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    text-align: right;
    color: var(--blue-284d8a);
}

.construction__year-label {
    color: rgba(128, 128, 128, 1);
    font-size: 16px;
    font-family: var(--font-family);
    font-weight: 400;
}

.construction__items {
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.construction__items::-webkit-scrollbar {
    height: 8px;
}

.construction__items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.construction__items::-webkit-scrollbar-thumb {
    background: rgba(40, 77, 138, 0.5);
    border-radius: 4px;
}

.construction__items::-webkit-scrollbar-thumb:hover {
    background: rgba(40, 77, 138, 0.7);
}

.construction__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.construction__slider {
    position: relative;
    width: 254px;
    height: 392px;
}

.construction__slider .swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.construction__slider .swiper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 3;
}

.construction__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.construction__slider-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32.5px;
    z-index: 10;
}

.construction__slider-prev,
.construction__slider-next {
    width: 9px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.construction__slider-prev:hover,
.construction__slider-next:hover {
    opacity: 0.7;
}

.construction__slider-prev svg,
.construction__slider-next svg {
    width: 9px;
    height: 18px;
    display: block;
}

.construction__slider-counter {
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: 700;
    white-space: nowrap;
}

.construction__period {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--black-292929);
    margin: 0;
}

/* Mobile: 550px and below */
@media (max-width: 769px) {
    .construction {
        padding: 60px 14px 0;
    }

    .construction__header {
        width: 100%;
        margin-bottom: 0;
        gap: 79px;
    }

    .construction__left {
        gap: 8px;
        max-width: 237px;
    }

    .construction__label {
        gap: 6px;
    }

    .construction__label-text {
        font-size: 14px;
        font-weight: 700;
    }

    .construction__title {
        font-size: 32px;
        max-width: none;
    }

    .construction__year-value {
        font-size: 18px;
    }

    .construction__year-label {
        font-size: 13px;
        width: 49px;
    }

    .construction__items {
        width: calc(100% + 28px);
        margin-top: 24px;
        margin-left: -14px;
        margin-right: -14px;
        padding: 0 14px;
        gap: 14px;
    }

    .construction__items::-webkit-scrollbar {
        display: none;
    }

    .construction__item {
        gap: 10px;
    }

    .construction__slider {
        width: 272px;
        height: 344px;
    }

    .construction__slider-nav {
        gap: 24px;
    }

    .construction__slider-prev,
    .construction__slider-next {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .construction__slider-prev svg,
    .construction__slider-next svg {
        width: 9px;
        height: 18px;
    }

    .construction__period {
        font-size: 16px;
    }
}
