﻿.lok-page {
    min-height: 100vh;
}

.lok-hero {
    position: relative;
    min-height: clamp(500px, 66vh, 720px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--dn-bg-card);
}

.lok-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92) contrast(1.06) brightness(.82);
    animation: lok-hero-in 1.1s ease both;
}

.lok-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,6,10,.22), rgba(7,6,10,.12) 34%, rgba(7,6,10,.94) 100%), linear-gradient(90deg, rgba(7,6,10,.65), transparent 68%);
}

.lok-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 38px;
    padding-bottom: 58px;
}

.lok-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(.92) contrast(1.06) brightness(.82);
    animation: lok-hero-in 1.1s ease both;
}

/* Дополнителни позиции */
.lok-image-top {
    object-position: center 25%;
}

.lok-image-bottom {
    object-position: center 75%;
}

.lok-image-left {
    object-position: 25% center;
}

.lok-image-right {
    object-position: 75% center;
}

.lok-image-zoom-out {
    object-fit: contain;
    background: #07060a;
    animation: lok-zoom-out-in 1.1s ease both;
}

@keyframes lok-zoom-out-in {
    from {
        opacity: .35;
        transform: scale(1.20);
    }

    to {
        opacity: 1;
        transform: scale(3.35);
    }
}

.lok-back {
    position: relative;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 32px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(7,6,10,.46);
    color: rgba(247,243,236,.80);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    backdrop-filter: blur(12px);
    transition: var(--t);
}

    .lok-back:hover {
        border-color: var(--dn-border-gold);
        color: var(--dn-gold-bright);
    }

.lok-hero-copy {
    max-width: 820px;
}

    .lok-hero-copy h1 {
        max-width: 800px;
        margin: 0;
        font-family: var(--font-display);
        font-size: clamp(54px, 7vw, 94px);
        font-weight: 700;
        line-height: .92;
        letter-spacing: -.04em;
        text-shadow: 0 12px 45px rgba(0,0,0,.48);
    }

    .lok-hero-copy p {
        max-width: 650px;
        margin: 22px 0 0;
        color: rgba(247,243,236,.72);
        font-size: 16px;
        font-weight: 300;
        line-height: 1.75;
    }

.lok-summary-wrap {
    position: relative;
    z-index: 4;
    margin-top: -28px;
}

.lok-summary {
    display: grid;
    grid-template-columns: 1.2fr .9fr .8fr auto;
    align-items: center;
    gap: 0;
    padding: 20px 22px;
    border: 1px solid rgba(200,166,76,.22);
    border-radius: var(--dn-r-lg);
    background: rgba(17,16,24,.94);
    box-shadow: 0 24px 65px rgba(0,0,0,.34);
    backdrop-filter: blur(20px);
}

.lok-summary-item {
    min-width: 0;
    padding: 3px 22px;
    border-right: 1px solid var(--dn-border-soft);
}

    .lok-summary-item:first-child {
        padding-left: 4px;
    }

.lok-summary-label {
    display: block;
    margin-bottom: 6px;
    color: var(--dn-gold-bright);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.lok-summary-item strong,
.lok-summary-link {
    display: block;
    overflow: hidden;
    color: var(--dn-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-overflow: ellipsis;
}

    .lok-summary-link:hover {
        color: var(--dn-gold-bright);
    }

.lok-summary-actions {
    padding-left: 22px;
}

.lok-content-section,
.lok-gallery-section,
.lok-map-section {
    padding-top: clamp(72px, 8vw, 106px);
}

.lok-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, .48fr);
    gap: clamp(50px, 7vw, 96px);
    align-items: start;
}

.lok-about h2,
.lok-section-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.035em;
}

.lok-description {
    max-width: 720px;
    margin-top: 24px;
    color: var(--dn-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
}

.lok-offer {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--dn-border-soft);
}

.lok-info-card {
    position: sticky;
    top: 104px;
    padding: 26px;
    border: 1px solid var(--dn-border-soft);
    border-radius: var(--dn-r-lg);
    background: linear-gradient(160deg, rgba(23,20,31,.98), rgba(10,9,14,.98));
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.lok-info-row {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--dn-border-soft);
}

    .lok-info-row > span {
        color: var(--dn-hint);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .lok-info-row strong,
    .lok-info-row a {
        color: rgba(247,243,236,.88);
        font-size: 13px;
        font-weight: 500;
    }

        .lok-info-row a:hover {
            color: var(--dn-gold-bright);
        }

.lok-info-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.lok-social {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--dn-border-soft);
}

    .lok-social a {
        color: var(--dn-muted);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .10em;
        text-transform: uppercase;
        transition: var(--t);
    }

        .lok-social a:hover {
            color: var(--dn-gold-bright);
        }

.lok-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

    .lok-section-head p {
        max-width: 430px;
        margin: 0;
        color: var(--dn-muted);
        font-size: 13px;
        line-height: 1.7;
        text-align: right;
    }

.lok-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.lok-gallery-item {
    position: relative;
    grid-column: span 4;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--dn-border-soft);
    border-radius: var(--dn-r-lg);
    background: var(--dn-bg-card);
    color: var(--dn-text);
    cursor: pointer;
}

    .lok-gallery-item:first-child {
        grid-column: span 7;
        grid-row: span 2;
    }

    .lok-gallery-item:nth-child(2),
    .lok-gallery-item:nth-child(3) {
        grid-column: span 5;
    }

    .lok-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(.92) contrast(1.04) brightness(.88);
        transition: transform .65s ease, filter .4s ease;
    }

    .lok-gallery-item::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 55%, rgba(7,6,10,.68));
        opacity: .75;
        transition: var(--t);
    }

    .lok-gallery-item > span {
        position: absolute;
        right: 16px;
        bottom: 14px;
        z-index: 2;
        color: rgba(247,243,236,.82);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .18em;
        text-transform: uppercase;
        opacity: 0;
        transform: translateY(5px);
        transition: var(--t);
    }

    .lok-gallery-item:hover img {
        transform: scale(1.045);
        filter: saturate(1) contrast(1.04) brightness(.96);
    }

    .lok-gallery-item:hover > span {
        opacity: 1;
        transform: translateY(0);
    }

.lok-map-section {
    padding-bottom: clamp(72px, 8vw, 106px);
}

.lok-map-card {
    overflow: hidden;
    border: 1px solid var(--dn-border-soft);
    border-radius: var(--dn-r-xl);
    background: var(--dn-bg-card);
    box-shadow: 0 24px 65px rgba(0,0,0,.28);
}

    .lok-map-card iframe,
    .lok-map-placeholder {
        width: 100%;
        height: 460px;
        display: block;
        border: 0;
        filter: grayscale(.68) invert(.90) contrast(.90);
    }

.lok-map-placeholder {
    display: grid;
    place-items: center;
    color: var(--dn-muted);
    filter: none;
}

.lok-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
}

    .lok-map-footer strong {
        color: var(--dn-text);
        font-size: 14px;
        font-weight: 500;
    }

.lok-empty {
    min-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

    .lok-empty h1 {
        max-width: 700px;
        margin: 0;
        font-family: var(--font-display);
        font-size: clamp(46px, 6vw, 76px);
        line-height: .98;
    }

    .lok-empty p {
        max-width: 560px;
        margin: 20px 0 28px;
        color: var(--dn-muted);
    }

.lok-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: rgba(5,4,8,.93);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(18px);
    transition: var(--t);
}

    .lok-lightbox.show {
        opacity: 1;
        visibility: visible;
    }

    .lok-lightbox img {
        width: auto;
        max-width: min(1200px, 94vw);
        max-height: 88vh;
        border: 1px solid var(--dn-border-gold);
        border-radius: var(--dn-r-lg);
        box-shadow: 0 35px 100px rgba(0,0,0,.58);
    }

.lok-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--dn-text);
    font-size: 26px;
    cursor: pointer;
}

.lok-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .lok-footer a {
        color: var(--dn-muted);
        transition: var(--t);
    }

        .lok-footer a:hover {
            color: var(--dn-gold-bright);
        }

@keyframes lok-hero-in {
    from {
        opacity: .35;
        transform: scale(1.04);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1050px) {
    .lok-summary {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
    }

    .lok-summary-item:nth-child(2) {
        border-right: 0;
    }

    .lok-summary-actions {
        padding-left: 22px;
    }

    .lok-content-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .lok-info-card {
        position: static;
    }

    .lok-gallery {
        grid-auto-rows: 220px;
    }
}

@media (max-width: 760px) {
    .lok-hero {
        min-height: 520px;
    }

    .lok-hero-content {
        padding-bottom: 42px;
    }

    .lok-back {
        margin-bottom: 26px;
    }

    .lok-hero-copy h1 {
        font-size: clamp(45px, 14vw, 62px);
    }

    .lok-hero-copy p {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.65;
    }

    .lok-summary-wrap {
        margin-top: -18px;
    }

    .lok-summary {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 20px 20px;
    }

    .lok-summary-item {
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid var(--dn-border-soft);
    }

        .lok-summary-item:first-child {
            padding-left: 0;
        }

    .lok-summary-actions {
        padding: 18px 0 0;
    }

        .lok-summary-actions .dn-btn {
            width: 100%;
        }

    .lok-content-section,
    .lok-gallery-section,
    .lok-map-section {
        padding-top: 64px;
    }

    .lok-about h2,
    .lok-section-head h2 {
        font-size: 38px;
    }

    .lok-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .lok-info-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .lok-section-head {
        display: block;
        margin-bottom: 22px;
    }

        .lok-section-head p {
            margin-top: 12px;
            text-align: left;
        }

    .lok-gallery {
        display: flex;
        gap: 13px;
        overflow-x: auto;
        margin-right: -14px;
        padding-right: 14px;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

        .lok-gallery::-webkit-scrollbar {
            display: none;
        }

    .lok-gallery-item,
    .lok-gallery-item:first-child,
    .lok-gallery-item:nth-child(2),
    .lok-gallery-item:nth-child(3) {
        flex: 0 0 86%;
        height: 300px;
        scroll-snap-align: start;
    }

    .lok-map-card iframe,
    .lok-map-placeholder {
        height: 360px;
    }

    .lok-map-footer {
        align-items: stretch;
        flex-direction: column;
    }

        .lok-map-footer .dn-btn {
            width: 100%;
        }

    .lok-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        text-align: left;
    }
}

@media (max-width: 420px) {
    .lok-info-actions {
        grid-template-columns: 1fr;
    }

    .lok-gallery-item,
    .lok-gallery-item:first-child,
    .lok-gallery-item:nth-child(2),
    .lok-gallery-item:nth-child(3) {
        flex-basis: 92%;
        height: 270px;
    }

    .lok-lightbox {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lok-hero-image {
        animation: none;
    }
}
