/* ===== Construction Progress gallery ===== */
.construction-progress-grid .cp-card {
    --cp-accent: #d7b39a;
    position: relative;
    overflow: hidden;
    background: #111;
    border-radius: 4px;
}

.construction-progress-grid .cp-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.construction-progress-grid .cp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.55s ease, filter 0.45s ease;
}

.construction-progress-grid .cp-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        160deg,
        rgba(18, 18, 18, 0.15) 0%,
        rgba(18, 18, 18, 0.72) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.construction-progress-grid .cp-card__date {
    text-align: center;
    color: #fff;
    transform: translateY(14px);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.construction-progress-grid .cp-card__day {
    display: block;
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #fff;
}

.construction-progress-grid .cp-card__line {
    display: block;
    width: 42px;
    height: 2px;
    margin: 12px auto;
    background: var(--cp-accent);
    transform: scaleX(0.4);
    transition: transform 0.45s ease 0.05s;
}

.construction-progress-grid .cp-card__month {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.construction-progress-grid .cp-card__year {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.28em;
    color: var(--cp-accent);
}

.construction-progress-grid .cp-card__zoom {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}

.construction-progress-grid .cp-card__zoom:hover {
    background: var(--cp-accent);
    border-color: var(--cp-accent);
    color: #fff;
}

.construction-progress-grid .cp-card:hover .cp-card__media img {
    transform: scale(1.06);
    filter: brightness(0.78);
}

.construction-progress-grid .cp-card:hover .cp-card__overlay {
    opacity: 1;
}

.construction-progress-grid .cp-card:hover .cp-card__date {
    opacity: 1;
    transform: translateY(0);
}

.construction-progress-grid .cp-card:hover .cp-card__line {
    transform: scaleX(1);
}

.construction-progress-grid .cp-card:hover .cp-card__zoom {
    opacity: 1;
    transform: translateY(0);
}

/* Home page construction progress slider */
.home-cp-section {
    --cp-accent: #d7b39a;
}

.home-cp-slider-wrap {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(12px, 2.5vw, 28px);
}

.home-cp-slider {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.home-cp-slider__track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.home-cp-section .home-cp-carousel .item {
    padding: 0 2px;
}

.home-cp-section .cp-card__media {
    aspect-ratio: 5 / 4;
    min-height: 240px;
}

@media (min-width: 1200px) {
    .home-cp-section .cp-card__media {
        min-height: 300px;
    }
}

.home-cp-nav {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(215, 179, 154, 0.55);
    background: #fff;
    color: #1a1a1a;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(26, 26, 26, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    z-index: 2;
}

.home-cp-nav:hover {
    transform: scale(1.08);
    background: var(--cp-accent);
    border-color: var(--cp-accent);
    color: #fff;
    box-shadow: 0 14px 32px rgba(215, 179, 154, 0.45);
}

.home-cp-nav:active {
    transform: scale(0.96);
}

.home-cp-section .owl-dots {
    margin-top: 28px;
    text-align: center;
}

.home-cp-section .owl-dots .owl-dot {
    display: inline-block;
}

.home-cp-section .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #cfcfcf;
    display: block;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.home-cp-section .owl-dots .owl-dot.active span,
.home-cp-section .owl-dots .owl-dot:hover span {
    background: var(--cp-accent);
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .home-cp-slider {
        gap: 10px;
    }

    .home-cp-nav {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .home-cp-section .cp-card__media {
        min-height: 220px;
    }
}

@media (max-width: 575px) {
    .construction-progress-grid .cp-card__day {
        font-size: 40px;
    }

    .construction-progress-grid .cp-card__month {
        font-size: 13px;
        letter-spacing: 0.14em;
    }

    .home-cp-slider-wrap {
        padding: 0 8px;
    }

    .home-cp-slider {
        gap: 6px;
    }

    .home-cp-nav {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 18px;
        box-shadow: 0 6px 16px rgba(26, 26, 26, 0.12);
    }

    .home-cp-section .cp-card__media {
        min-height: 200px;
    }
}
