.kh-construction {
    --kh-construction-green: #2f7b45;
    --kh-construction-green-dark: #1f5d32;
    --kh-construction-mint: #eef7f0;
    --kh-construction-ink: #17221b;
    --kh-construction-muted: #647469;
    --kh-construction-line: #dfece2;
    --kh-construction-white: #ffffff;
    --kh-construction-radius: 18px;
    --kh-construction-shadow: 0 28px 80px rgba(22, 43, 29, 0.16);
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    color: var(--kh-construction-ink);
    font-family: "Nunito", Arial, sans-serif;
}

.kh-construction *,
.kh-construction *::before,
.kh-construction *::after {
    box-sizing: border-box;
}

.kh-construction__head {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 30px;
}

.kh-construction__title {
    margin: 0 0 12px;
    max-width: 720px;
    color: var(--kh-construction-ink);
    font-size: clamp(34px, 4.4vw, 58px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

.kh-construction__copy {
    margin: 0;
    max-width: 610px;
    color: var(--kh-construction-muted);
    font-size: 17px;
    line-height: 1.65;
}

.kh-construction__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(47, 123, 69, 0.24);
    border-radius: 999px;
    background: var(--kh-construction-white);
    color: var(--kh-construction-green);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(47, 123, 69, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kh-construction__cta:hover,
.kh-construction__cta:focus-visible {
    border-color: rgba(47, 123, 69, 0.38);
    color: var(--kh-construction-green);
    box-shadow: 0 18px 36px rgba(47, 123, 69, 0.14);
    transform: translateY(-1px);
}

.kh-construction__cta svg {
    width: 17px;
    height: 17px;
}

.kh-construction-strip {
    position: relative;
    display: grid;
    grid-template-columns: minmax(170px, 0.72fr) minmax(340px, 610px) minmax(170px, 0.72fr);
    gap: 22px;
    align-items: center;
    min-height: 640px;
    overflow: hidden;
    padding: 0 4px;
}

.kh-construction-strip.is-moving-next .kh-construction-card--main {
    animation: khConstructionMainNext 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.kh-construction-strip.is-moving-prev .kh-construction-card--main {
    animation: khConstructionMainPrev 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.kh-construction-strip.is-moving-next .kh-construction-card--side {
    animation: khConstructionSideNext 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.kh-construction-strip.is-moving-prev .kh-construction-card--side {
    animation: khConstructionSidePrev 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.kh-construction-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(223, 236, 226, 0.86);
    border-radius: var(--kh-construction-radius);
    background: #e9f0eb;
    box-shadow: 0 16px 44px rgba(22, 43, 29, 0.08);
    isolation: isolate;
}

.kh-construction-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    transform: scale(1.01);
}

.kh-construction-card--side {
    height: 470px;
    opacity: 0.68;
    filter: saturate(0.9);
    transform: translateY(18px);
}

.kh-construction-card--main {
    height: 620px;
    box-shadow: var(--kh-construction-shadow);
}

.kh-construction-card--main img {
    transition: transform 7s ease;
}

.kh-construction-card--main:hover img {
    transform: scale(1.045);
}

.kh-construction-card__section {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 22px;
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(12, 22, 15, 0.34);
    color: var(--kh-construction-white);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.kh-construction-card__open {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px !important;
    height: 52px !important;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: rgba(12, 22, 15, 0.3) !important;
    background-image: none !important;
    color: var(--kh-construction-white);
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.kh-construction-card__open:hover,
.kh-construction-card__open:focus-visible {
    background: rgba(12, 22, 15, 0.44);
    transform: translateY(-1px);
}

.kh-construction-card__open svg {
    width: 22px;
    height: 22px;
}

.kh-construction-nav {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    padding: 0;
    border: 1px solid rgba(223, 236, 226, 0.95);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f6fbf7) !important;
    background-image: linear-gradient(135deg, #ffffff, #f6fbf7) !important;
    color: var(--kh-construction-ink);
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(22, 43, 29, 0.14);
    transform: translateY(-50%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}

.kh-construction-nav:hover,
.kh-construction-nav:focus-visible {
    box-shadow: 0 20px 38px rgba(22, 43, 29, 0.18);
    transform: translateY(calc(-50% - 1px));
}

.kh-construction-nav svg {
    width: 18px;
    height: 18px;
}

.kh-construction-nav--prev {
    left: 18px;
}

.kh-construction-nav--next {
    right: 18px;
}

@keyframes khConstructionMainNext {
    from {
        opacity: 0.68;
        transform: translateX(16px) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes khConstructionMainPrev {
    from {
        opacity: 0.68;
        transform: translateX(-16px) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes khConstructionSideNext {
    from {
        opacity: 0.42;
        transform: translateY(18px) translateX(12px) scale(0.99);
    }
    to {
        opacity: 0.68;
        transform: translateY(18px) translateX(0) scale(1);
    }
}

@keyframes khConstructionSidePrev {
    from {
        opacity: 0.42;
        transform: translateY(18px) translateX(-12px) scale(0.99);
    }
    to {
        opacity: 0.68;
        transform: translateY(18px) translateX(0) scale(1);
    }
}

.kh-construction__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 18px;
}

.kh-construction__sections {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kh-construction__section {
    display: inline-flex !important;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--kh-construction-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72) !important;
    background-image: none !important;
    color: var(--kh-construction-muted);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.kh-construction__section.is-active,
.kh-construction__section:hover,
.kh-construction__section:focus-visible {
    border-color: rgba(47, 123, 69, 0.28);
    background: var(--kh-construction-mint) !important;
    background-image: none !important;
    color: var(--kh-construction-green-dark);
    transform: translateY(-1px);
}

.kh-construction__counter {
    color: var(--kh-construction-muted);
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
}

.kh-construction-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12, 18, 14, 0.84);
}

.kh-construction-lightbox.is-open {
    display: flex;
}

.kh-construction-lightbox__inner {
    position: relative;
    width: min(1040px, 100%);
    max-height: 90vh;
    overflow: hidden;
    border-radius: 18px;
    background: #101610;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
}

.kh-construction-lightbox img {
    display: block;
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    background: #101610;
}

.kh-construction-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
}

.kh-construction-lightbox__close svg {
    width: 18px;
    height: 18px;
}

body.kh-construction-lock {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .kh-construction__head {
        grid-template-columns: 1fr;
    }

    .kh-construction-strip {
        grid-template-columns: minmax(120px, 0.48fr) minmax(320px, 570px) minmax(120px, 0.48fr);
        min-height: 570px;
    }

    .kh-construction-card--main {
        height: 560px;
    }

    .kh-construction-card--side {
        height: 410px;
    }
}

@media (max-width: 760px) {
    .kh-construction {
        width: min(100% - 28px, 1320px);
    }

    .kh-construction__head {
        gap: 20px;
        margin-bottom: 24px;
    }

    .kh-construction__copy {
        font-size: 16px;
    }

    .kh-construction__cta {
        width: max-content;
    }

    .kh-construction-strip {
        display: block;
        min-height: 0;
        overflow: visible;
        padding: 0;
    }

    .kh-construction-card--side {
        display: none;
    }

    .kh-construction-card--main {
        height: min(118vw, 560px);
        min-height: 420px;
        border-radius: 16px;
    }

    .kh-construction-card__open {
        right: 18px;
        bottom: 18px;
        width: 48px;
        height: 48px;
    }

    .kh-construction-card__section {
        top: 18px;
        left: 18px;
    }

    .kh-construction-nav {
        top: auto;
        bottom: 22px;
        width: 46px;
        height: 46px;
        transform: none;
    }

    .kh-construction-nav:hover,
    .kh-construction-nav:focus-visible {
        transform: translateY(-1px);
    }

    .kh-construction-nav--prev {
        left: auto;
        right: 78px;
    }

    .kh-construction-nav--next {
        right: 22px;
    }

    .kh-construction__meta {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kh-construction__counter {
        white-space: normal;
    }
}

@media (max-width: 430px) {
    .kh-construction__title {
        font-size: 38px;
    }

    .kh-construction-card--main {
        min-height: 500px;
    }

    .kh-construction__section {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kh-construction *,
    .kh-construction *::before,
    .kh-construction *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
