/* =========================================
   OBJECT.CSS — страница объекта
   ========================================= */

.obj-page { padding-top: 32px; padding-bottom: 80px; }
.obj-breadcrumbs { margin-bottom: 28px; padding-top: 8px; }

/* =========================================
   МОДАЛКИ — правильные z-index и safe-area
   ========================================= */
.modal-overlay { z-index: 100000 !important; }
.modal-overlay .modal-close {
    z-index: 100002 !important;
    pointer-events: auto !important;
    top: max(12px, env(safe-area-inset-top, 0px) + 8px);
    right: max(12px, env(safe-area-inset-right, 0px) + 8px);
}
.modal-overlay .modal { position: relative; z-index: 100001; }

@media (max-width: 768px) {
    .modal-overlay.active {
        align-items: center !important;
        padding: 16px !important;
        padding-top: max(16px, env(safe-area-inset-top, 0px)) !important;
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
    }
    .modal-overlay .modal {
        max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}
.custom-lightbox-close, .obj-pdf-close {
    top: max(20px, env(safe-area-inset-top, 0px) + 12px) !important;
    right: max(20px, env(safe-area-inset-right, 0px) + 12px) !important;
}

/* -------- Шапка: план слева, данные справа -------- */
.obj-head { display: grid; grid-template-columns: 440px 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.obj-plan-thumb { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-light); border: 1px solid var(--brand-border); cursor: pointer; padding: 0; transition: border-color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.obj-plan-thumb:hover { border-color: var(--brand-orange); transform: scale(1.015); }
.obj-plan-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.obj-plan-thumb:hover img { transform: scale(1.06); }
.obj-plan-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 60%); transform: translateX(-100%); transition: transform .8s ease; pointer-events: none; }
.obj-plan-thumb:hover::after { transform: translateX(100%); }

.obj-plan-zoom-hint { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: rgba(0, 0, 0, 0.65); border-radius: 50%; display: none; align-items: center; justify-content: center; color: #fff; pointer-events: none; transition: background 0.2s ease; }
.obj-plan-thumb:hover .obj-plan-zoom-hint { background: var(--brand-orange); }
@media (max-width: 768px) { .obj-plan-zoom-hint { display: flex; } }

.obj-title { font-family: inherit; font-size: 42px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; color: #000; margin: 0 0 24px 0; }
.obj-meta-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.obj-meta-row { display: flex; flex-direction: column; gap: 4px; }
.obj-meta-label { font-family: inherit; font-size: 14px; font-weight: 500; color: #888; letter-spacing: 0.2px; }
.obj-meta-value { font-family: inherit; font-size: 20px; font-weight: 700; color: #000; line-height: 1.4; }
.obj-meta-value sup { font-size: 0.6em; top: -0.5em; position: relative; vertical-align: baseline; }
.obj-price-row { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--brand-border); display: flex; flex-direction: column; gap: 4px; }
.obj-price-label { font-family: inherit; font-size: 14px; font-weight: 500; color: #888; }
.obj-price { font-family: inherit; font-size: 38px; font-weight: 800; color: var(--brand-orange); line-height: 1; letter-spacing: -0.5px; }

.obj-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 56px; align-items: stretch; }
.obj-announce { background: var(--brand-light); border-radius: var(--radius-lg); padding: 36px; font-family: inherit; font-size: 17px; line-height: 1.65; color: #222; font-weight: 500; display: flex; flex-direction: column; justify-content: center; }
.obj-params-card { background: var(--white); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); padding: 32px; }
.obj-params-title { font-family: inherit; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: #000; margin: 0 0 24px 0; }
.obj-params-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.obj-param { display: flex; align-items: flex-start; gap: 16px; }
.obj-param-icon-wrap { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; padding-top: 2px; }

.obj-param-icon {
    width: 28px; height: 28px; display: block; object-fit: contain;
    filter: brightness(0) saturate(100%) invert(52%) sepia(52%) saturate(670%) hue-rotate(340deg) brightness(94%) contrast(92%);
}
.obj-param-icon--orange {
    filter: brightness(0) saturate(100%) invert(52%) sepia(52%) saturate(670%) hue-rotate(340deg) brightness(94%) contrast(92%);
}
.obj-param-icon--blue {
    filter: brightness(0) saturate(100%) invert(32%) sepia(93%) saturate(1500%) hue-rotate(200deg) brightness(95%) contrast(95%);
}
.obj-param-icon--green {
    filter: brightness(0) saturate(100%) invert(48%) sepia(60%) saturate(500%) hue-rotate(90deg) brightness(92%) contrast(90%);
}
.obj-param-icon--gray {
    filter: brightness(0) saturate(100%) invert(55%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%);
}
.obj-param-icon--red {
    filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(2000%) hue-rotate(350deg) brightness(95%) contrast(95%);
}

.obj-param-body { display: flex; flex-direction: column; gap: 4px; }
.obj-param-label { font-family: inherit; font-size: 14px; font-weight: 500; color: #888; line-height: 1.3; }
.obj-param-text { font-family: inherit; font-size: 16px; font-weight: 700; color: #000; line-height: 1.4; }

.obj-about { background: var(--brand-light); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 0; }
.obj-about-title { font-family: inherit; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: #000; margin: 0 0 22px 0; }
.obj-about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.obj-about-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(0,0,0,.08); font-family: inherit; font-size: 15px; }
.obj-about-item .k { font-weight: 600; color: #9AA0A6; white-space: nowrap; }
.obj-about-item .v { font-weight: 700; color: #000; text-align: right; }

/* =========================================
   АККОРДЕОН "ОПИСАНИЕ ОБЪЕКТА"
   ========================================= */
.obj-floor-acc { margin-top: 56px; margin-bottom: 0; }
.obj-floor-acc-title { font-family: inherit; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: #000; margin: 0 0 24px 0; }
.obj-floor-acc-list { display: flex; flex-direction: column; gap: 12px; }

.obj-floor-item {
    border: 3px solid var(--brand-border);
    border-radius: 0;
    background: var(--white);
    overflow: hidden;
    transition: border-color .25s ease;
}
.obj-floor-item.open { border-color: var(--brand-orange); }

.obj-floor-head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; padding: 18px 22px; background: transparent; border: none;
    font-family: inherit; font-size: 16px; font-weight: 700; color: #000;
    text-align: left; cursor: pointer; transition: background .2s ease;
}
.obj-floor-head:hover { background: var(--brand-light); }
.obj-floor-head .num { color: var(--brand-orange); margin-right: 8px; font-weight: 800; }
.obj-floor-chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s ease; color: #888; }
.obj-floor-item.open .obj-floor-chevron { transform: rotate(180deg); color: var(--brand-orange); }
.obj-floor-body { display: none; padding: 0 22px 22px 22px; font-family: inherit; font-size: 15px; line-height: 1.65; color: #444; font-weight: 500; }
.obj-floor-item.open .obj-floor-body { display: block; }
.obj-floor-body p { margin: 0 0 10px 0; }
.obj-floor-body p:last-child { margin-bottom: 0; }
.obj-floor-body ul { margin: 0 0 10px 0; padding-left: 20px; list-style: disc; }
.obj-floor-body li { margin-bottom: 6px; }

/* =========================================
   КНОПКА "ПЛАН + ФОТОГРАФИИ"
   ========================================= */
.obj-cloud-section { margin-top: 56px; margin-bottom: 0; display: flex; justify-content: center; }
.obj-cloud-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 16px;
    padding: 22px 40px;
    background: linear-gradient(135deg, #df742d 0%, #c9631f 100%);
    color: #fff; font-family: inherit; font-size: 18px; font-weight: 800;
    text-decoration: none; border: none; border-radius: 14px;
    box-shadow: 0 10px 28px rgba(223, 116, 45, .28);
    transition: transform .25s ease, box-shadow .25s ease;
    letter-spacing: .3px;
}
.obj-cloud-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(223, 116, 45, .38); }
.obj-cloud-btn:active { transform: translateY(-1px); }
.obj-cloud-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.obj-cloud-btn .sub { display: block; font-size: 13px; font-weight: 500; opacity: .9; margin-top: 2px; }

/* =========================================
   ПРОМО-БЛОК "ЖК ЕНИСЕЙСКАЯ СЛОБОДА"
   ========================================= */
.obj-promo {
    background: #e8e8e8;
    margin-top: 56px;
    padding: 48px 0;
    width: 100vw; position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    box-sizing: border-box;
}
.obj-promo-grid {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.obj-promo-slider {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #d0d0d0; overflow: hidden; border-radius: 12px;
}
.obj-promo-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity .8s ease;
}
.obj-promo-slide.active { opacity: 1; }
.obj-promo-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.obj-promo-right { display: flex; flex-direction: column; gap: 16px; }
.obj-promo-logo { max-height: 120px; width: auto; object-fit: contain; align-self: flex-start; }
.obj-promo-title {
    font-family: inherit; font-size: 44px; font-weight: 800;
    color: #1a1a1a; margin: 0; line-height: 1.1; letter-spacing: -.8px;
}
.obj-promo-text {
    font-family: inherit; font-size: 16px; line-height: 1.65;
    color: #333; font-weight: 500; margin: 0;
}

@media (max-width: 992px) {
    .obj-promo-grid { grid-template-columns: 1fr; gap: 32px; }
    .obj-promo-title { font-size: 32px; }
    .obj-promo-logo { max-height: 96px; }
}
@media (max-width: 768px) {
    .obj-promo { padding: 32px 0; margin-top: 40px; }
    .obj-promo-grid { padding: 0 16px; }
    .obj-promo-title { font-size: 26px; }
    .obj-promo-text { font-size: 15px; }
    .obj-promo-logo { max-height: 80px; }
}

/* =========================================
   ТЁМНЫЙ БЛОК "ОБЩИЙ ПЛАН ПРОЕКТА"
   margin-top: 0 — вплотную к промо
   ========================================= */
.obj-plan-dark {
    background: #262626;
    padding: 64px 0;
    margin-top: 0;
    width: 100vw; position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    box-sizing: border-box;
}
.obj-plan-dark-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.obj-plan-dark-left { display: flex; flex-direction: column; gap: 20px; }
.obj-plan-dark-title {
    font-family: inherit; font-size: 36px; font-weight: 800;
    color: #fff; margin: 0; line-height: 1.15; letter-spacing: -.5px;
}
.obj-plan-dark-text {
    font-family: inherit; font-size: 16px; line-height: 1.7;
    color: rgba(255,255,255,.78); font-weight: 500; margin: 0;
}
.obj-plan-dark-btn {
    display: inline-flex; align-items: center; justify-content: center;
    align-self: flex-start;
    padding: 16px 32px; background: var(--brand-orange); color: #fff;
    font-family: inherit; font-size: 16px; font-weight: 700;
    text-decoration: none; border: none; border-radius: var(--radius-sm);
    transition: background .2s ease, transform .2s ease;
}
.obj-plan-dark-btn:hover { background: var(--brand-orange-hover); transform: translateY(-2px); }
.obj-plan-dark-right { display: flex; justify-content: center; }
.obj-plan-dark-frame {
    border: 4px solid var(--brand-orange);
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
    box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.obj-plan-dark-frame img { display: block; max-width: 100%; height: auto; }

@media (max-width: 992px) {
    .obj-plan-dark-inner { grid-template-columns: 1fr; gap: 32px; }
    .obj-plan-dark-title { font-size: 28px; }
}
@media (max-width: 768px) {
    .obj-plan-dark { padding: 40px 0; }
    .obj-plan-dark-inner { padding: 0 16px; }
    .obj-plan-dark-title { font-size: 22px; }
    .obj-plan-dark-text { font-size: 15px; }
    .obj-plan-dark-btn { padding: 14px 24px; font-size: 15px; width: 100%; }
}

/* =========================================
   WHY — margin-top: 0, вплотную к плану
   ========================================= */
.obj-why {
    background: var(--brand-light);
    padding: 64px 0;
    margin-top: 0;
    width: 100vw; position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    box-sizing: border-box;
}
.obj-why-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.obj-why-title { font-family: inherit; font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--brand-orange); margin: 0 0 36px 0; line-height: 1.3; }
.obj-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.obj-why-item h4 { font-family: inherit; font-size: 16px; font-weight: 800; color: #000; margin: 0 0 8px 0; text-transform: uppercase; letter-spacing: .3px; }
.obj-why-item p { font-family: inherit; font-size: 15px; color: #444; line-height: 1.6; font-weight: 500; margin: 0; }

.obj-why-list { list-style: disc outside; padding-left: 20px; margin: 8px 0 0 0; font-family: inherit; font-size: 15px; color: #444; line-height: 1.6; font-weight: 500; }
.obj-why-list li { display: list-item; margin-bottom: 8px; }
.obj-why-list li:last-child { margin-bottom: 0; }

@media (max-width: 992px) {
    .obj-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .obj-why { padding: 40px 0; }
    .obj-why-title { font-size: 18px; }
}

/* =========================================
   ПРЕЗЕНТАЦИЯ ПРОЕКТА
   ========================================= */
.obj-presentation {
    background: #262626;
    padding: 0;
    margin-top: 56px;
    width: 100vw; position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    box-sizing: border-box;
}
.obj-presentation-inner { max-width: 1600px; margin: 0 auto; padding: 40px 24px 50px 24px; }
.obj-presentation-title {
    font-family: inherit; font-size: 26px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    color: #fff; margin: 0 0 24px 0; line-height: 1.2;
    text-align: center;
}

.obj-book-stage {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #262626;
    border-radius: 12px;
    overflow: hidden;
}
.obj-book-canvas-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #262626;
}
.obj-book-canvas-wrap canvas {
    display: block;
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.obj-book-loader {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-family: inherit; font-size: 15px;
    background: #262626;
}
.obj-book-loader.hidden { display: none; }

.obj-book-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.obj-book-arrow:hover { background: var(--brand-orange); border-color: var(--brand-orange); transform: translateY(-50%) scale(1.06); }
.obj-book-arrow:disabled { opacity: .25; cursor: not-allowed; background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.08); transform: translateY(-50%); }
.obj-book-arrow svg { width: 24px; height: 24px; }
.obj-book-arrow--prev { left: 20px; }
.obj-book-arrow--next { right: 20px; }

.obj-book-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 0 0 0;
    text-align: center;
}
.obj-book-page-info {
    font-family: inherit; font-size: 16px; font-weight: 700;
    color: rgba(255,255,255,.9);
    letter-spacing: .3px;
    text-align: center;
}
.obj-book-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap;
}
.obj-book-download, .obj-book-fullscreen {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px; background: var(--brand-orange); color: #fff;
    font-family: inherit; font-size: 15px; font-weight: 700;
    text-decoration: none; border: none; border-radius: var(--radius-sm);
    transition: background .2s ease, transform .2s ease;
    cursor: pointer;
}
.obj-book-download:hover, .obj-book-fullscreen:hover { background: var(--brand-orange-hover); transform: translateY(-2px); }
.obj-book-download svg, .obj-book-fullscreen svg { width: 18px; height: 18px; }

.obj-book-stage.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #262626;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding: 0;
}
.obj-book-stage.is-fullscreen .obj-book-canvas-wrap { padding: 0 40px; }
.obj-book-stage.is-fullscreen .obj-book-arrow--prev { left: 20px; }
.obj-book-stage.is-fullscreen .obj-book-arrow--next { right: 20px; }

/* -------- Галерея / Документы -------- */
.obj-gallery { background: var(--brand-orange); padding: 56px 0; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; margin-top: 64px; margin-bottom: 0; box-sizing: border-box; overflow: hidden; }
.obj-gallery-inner { width: 100%; padding: 0; box-sizing: border-box; }
.obj-gallery-title { font-family: inherit; font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #2a2a2a; margin: 0 0 28px 0; padding: 0 24px; }
.obj-gallery .swiper-wrapper { gap: 0 !important; }
.obj-gallery .swiper-slide { aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; background: rgba(0,0,0,.06); cursor: grab; position: relative; padding: 0; margin: 0; box-sizing: border-box; }
.obj-gallery .swiper-slide::before { content: ''; position: absolute; inset: 0; border: 3px solid transparent; pointer-events: none; z-index: 5; transition: border-color 0.25s ease, box-shadow 0.25s ease; box-sizing: border-box; }
.obj-gallery .swiper-slide:hover::before { border-color: var(--brand-orange); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.obj-gallery .swiper-slide:hover, .obj-gallery .swiper-slide:focus, .obj-gallery .swiper-slide:focus-visible, .obj-gallery .swiper-slide:active { outline: none !important; box-shadow: none !important; border: none !important; }
.obj-gallery .swiper-slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; pointer-events: none; outline: none; border: none; transition: transform 0.4s ease; }
.obj-gallery .swiper-slide:hover img { transform: scale(1.03); }
.obj-gallery button:focus, .obj-gallery button:focus-visible, .obj-gallery a:focus, .obj-gallery a:focus-visible { outline: none !important; box-shadow: none !important; }
.gallery-zoom-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; background: rgba(0,0,0,0.6); border: 1px solid #555; border-radius: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; z-index: 10; }
.gallery-zoom-btn svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.5; fill: none; }
.gallery-zoom-btn:hover { background: var(--brand-orange); border-color: var(--brand-orange); }
.obj-gallery .swiper-button-prev, .obj-gallery .swiper-button-next { color: #fff; width: 44px; height: 44px; background: transparent; border-radius: 50%; transition: transform 0.2s ease, opacity 0.2s ease; opacity: 0.85; outline: none; border: none; box-shadow: none; }
.obj-gallery .swiper-button-prev::after, .obj-gallery .swiper-button-next::after { font-size: 24px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.obj-gallery .swiper-button-prev:hover, .obj-gallery .swiper-button-next:hover { opacity: 1; transform: scale(1.1); background: transparent; }
.obj-gallery .swiper-button-prev:focus, .obj-gallery .swiper-button-next:focus, .obj-gallery .swiper-button-prev:focus-visible, .obj-gallery .swiper-button-next:focus-visible { outline: none !important; box-shadow: none !important; }

.custom-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.custom-lightbox.active { opacity: 1; visibility: visible; }
.custom-lightbox-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: #df742d; border: none; font-size: 28px; line-height: 1; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10000000; transition: background 0.2s ease; }
.custom-lightbox-close:hover { background: #c9631f; }
.custom-lightbox-img-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.custom-lightbox-img { max-width: 95vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10000000; }
.lightbox-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: background 0.3s ease, transform 0.3s ease; }
.lightbox-dot.active { background: var(--brand-orange); transform: scale(1.3); }
.custom-lightbox-img-wrap { touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab; }
.custom-lightbox-img-wrap:active { cursor: grabbing; }
.custom-lightbox-img { pointer-events: none; -webkit-user-drag: none; }
@media (max-width: 768px) {
    .gallery-zoom-btn { width: 44px !important; height: 44px !important; top: 12px !important; right: 12px !important; background: rgba(0, 0, 0, 0.7) !important; }
    .gallery-zoom-btn svg { width: 22px !important; height: 22px !important; }
    .custom-lightbox-close { width: 48px !important; height: 48px !important; font-size: 26px !important; }
    .lightbox-dots { bottom: max(20px, env(safe-area-inset-bottom, 0px) + 12px) !important; gap: 10px !important; }
    .lightbox-dot { width: 10px !important; height: 10px !important; }
}

.obj-docs { margin-top: 64px; margin-bottom: 0; }
.obj-docs-title { font-family: inherit; font-size: 22px; font-weight: 800; color: #000; text-transform: uppercase; letter-spacing: .3px; margin: 0 0 24px 0; }
.obj-docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

.obj-doc-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; background: var(--white);
    border: 1px solid var(--brand-border); border-radius: var(--radius-md);
    transition: border-color .25s ease; text-decoration: none; color: inherit;
    height: 100%; box-sizing: border-box;
}
.obj-doc-card:hover { border-color: var(--brand-orange); }
.obj-doc-icon-wrap { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(223, 116, 45, 0.10); border-radius: 10px; color: #df742d; transition: background 0.25s ease; margin-top: 2px; }
.obj-doc-icon { width: 24px; height: 24px; object-fit: contain; display: block; color: #df742d; filter: brightness(0) saturate(100%) invert(52%) sepia(52%) saturate(670%) hue-rotate(340deg) brightness(94%) contrast(92%); }
.obj-doc-card:hover .obj-doc-icon-wrap { background: rgba(223, 116, 45, 0.16); }
.obj-doc-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.obj-doc-name {
    font-family: inherit; font-size: 15px; font-weight: 700; color: #222;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.obj-doc-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.obj-doc-badge { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px; letter-spacing: 0.6px; text-transform: uppercase; background: #FDF1E8; color: #df742d; border: 1px solid #F5D9C2; }
.obj-doc-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #df742d; flex-shrink: 0; }
.obj-doc-badge--pdf, .obj-doc-badge--word, .obj-doc-badge--excel, .obj-doc-badge--default { background: #FDF1E8; color: #df742d; border-color: #F5D9C2; }
.obj-doc-action { font-family: inherit; font-size: 12px; font-weight: 600; color: var(--brand-orange); text-decoration: underline; }

@media (hover: none) { .obj-doc-card:hover .obj-doc-icon-wrap { background: rgba(223, 116, 45, 0.10); } }
@media (prefers-reduced-motion: reduce) { .obj-doc-icon-wrap, .obj-doc-icon { transition: none; } .obj-plan-thumb, .obj-plan-thumb img, .obj-plan-thumb::after { transition: none; } }

.obj-final { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 72px; margin-bottom: 24px; align-items: center; }
.obj-final-form { background: var(--white); border: 2px solid var(--brand-orange); border-radius: var(--radius-lg); padding: 32px; }
.obj-final-form-title { font-family: inherit; font-size: 22px; font-weight: 800; color: #000; text-transform: uppercase; letter-spacing: .3px; margin: 0 0 22px 0; line-height: 1.3; }
.obj-final-form-inner .form-group { margin-bottom: 14px; }
.obj-final-form-inner input[type="text"], .obj-final-form-inner input[type="email"], .obj-final-form-inner input[type="tel"], .obj-final-form-inner textarea { width: 100%; padding: 12px 14px; background: var(--brand-light); border: 1.5px solid var(--brand-border); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; color: var(--brand-dark); transition: border-color .2s, background .2s; }
.obj-final-form-inner input:focus, .obj-final-form-inner textarea:focus { outline: none; border-color: var(--brand-orange); background: var(--white); }
.obj-final-form-inner .btn-submit { background: var(--brand-orange); color: #fff; border: none; padding: 14px; border-radius: var(--radius-sm); font-family: inherit; font-size: 16px; font-weight: 700; width: 100%; cursor: pointer; transition: background 0.2s; }
.obj-final-form-inner .btn-submit:hover { background: var(--brand-orange-hover); }

.obj-final-contacts { display: flex; flex-direction: column; }
.obj-contacts-title { font-family: inherit; font-size: 28px; font-weight: 800; color: var(--brand-orange); margin: 0 0 12px 0; line-height: 1.2; }
.obj-contacts-subtitle { font-family: inherit; font-size: 18px; font-weight: 700; color: #000; margin: 0 0 12px 0; line-height: 1.4; }
.obj-contacts-desc { font-family: inherit; font-size: 15px; color: #000; margin: 0 0 24px 0; line-height: 1.5; }
.obj-contact-label { font-family: inherit; font-size: 16px; font-weight: 700; color: #000; margin: 0 0 8px 0; }
.obj-contact-phone, .obj-contact-email { display: flex; align-items: center; gap: 10px; font-family: inherit; font-size: 26px; font-weight: 800; color: var(--brand-orange); text-decoration: none; margin-bottom: 20px; transition: color .2s; }
.obj-contact-phone:hover, .obj-contact-email:hover { color: var(--brand-orange-hover); }
.obj-contact-phone img { display: block; }
.obj-messengers { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.obj-messenger { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--brand-orange); border: none; border-radius: 50px; color: #fff; font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none; transition: background 0.25s ease, transform 0.25s ease; }
.obj-messenger img { display: block; transition: transform 0.3s ease; filter: brightness(0) invert(1); }
.obj-messenger:hover { background: var(--brand-orange-hover); transform: translateY(-3px); }
.obj-messenger:hover img { transform: scale(1.1); }

.obj-pdf-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.obj-pdf-overlay.active { opacity: 1; visibility: visible; }
.obj-pdf-modal { position: relative; background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 1040px; max-height: 92vh; display: flex; flex-direction: column; padding: 28px; overflow: auto; z-index: 100000; font-family: inherit; }
.obj-pdf-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: #df742d; border: none; font-size: 28px; line-height: 1; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease; z-index: 100001; }
.obj-pdf-close:hover { background: #c9631f; transform: scale(1.06); }
.obj-pdf-head { padding-right: 64px; margin-bottom: 20px; font-family: inherit; }
.obj-pdf-title { font-family: inherit; font-size: 30px; font-weight: 800; color: #000; margin: 0 0 14px 0; line-height: 1.15; letter-spacing: -0.5px; }
.obj-pdf-meta { font-family: inherit; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: 16px; font-weight: 600; line-height: 1.5; color: #888; }
.obj-pdf-meta__item { display: inline-flex; align-items: baseline; gap: 6px; }
.obj-pdf-meta__item .k { font-family: inherit; font-size: 16px; font-weight: 600; color: #888; letter-spacing: 0; text-transform: none; }
.obj-pdf-meta__item .v { font-family: inherit; font-size: 16px; font-weight: 600; color: #888; }
.obj-pdf-meta__divider { color: #D9D9D9; font-weight: 400; }
.obj-pdf-meta__row-2 { flex-basis: 100%; display: inline-flex; align-items: baseline; gap: 6px; }
.obj-pdf-frame { width: 100%; flex: 1; min-height: 60vh; border-radius: var(--radius-md); overflow: hidden; background: var(--brand-light); border: 1px solid var(--brand-border); }
.obj-pdf-frame iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 60vh; }
.obj-pdf-empty { width: 100%; min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 40px 20px; font-family: inherit; }
.obj-pdf-empty__icon { width: 72px; height: 72px; border-radius: 50%; background: #FDF1E8; display: flex; align-items: center; justify-content: center; color: #df742d; }
.obj-pdf-empty__icon svg { width: 36px; height: 36px; display: block; }
.obj-pdf-empty__text { font-family: inherit; font-size: 18px; font-weight: 700; color: #000; margin: 0; max-width: 420px; line-height: 1.4; }
.obj-pdf-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.obj-pdf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, color .2s ease; line-height: 1.2; }
.obj-pdf-btn svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.obj-pdf-btn--download { background: #F4F5F7; color: #222; border-color: #E4E6EA; }
.obj-pdf-btn--download:hover { background: #EBECEF; border-color: #D9DCE1; }
.obj-pdf-btn--book { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }
.obj-pdf-btn--book:hover { background: var(--brand-orange-hover); border-color: var(--brand-orange-hover); }

@media (max-width: 992px) {
    .obj-head { grid-template-columns: 1fr; gap: 32px; }
    .obj-plan-thumb { max-width: 480px; }
    .obj-two-col { grid-template-columns: 1fr; }
    .obj-about-grid { grid-template-columns: repeat(2, 1fr); }
    .obj-final { grid-template-columns: 1fr; }
    .obj-title { font-size: 32px; }
    .obj-price { font-size: 30px; }
    .obj-gallery-title { padding-left: 24px; }
    .obj-contact-phone, .obj-contact-email { font-size: 22px; }
    .obj-contacts-title { font-size: 24px; }
    .obj-pdf-title { font-size: 24px; }
    .obj-presentation-title { font-size: 20px; }
    .obj-presentation-inner { padding: 24px 20px 32px 20px; }
    .obj-book-arrow { width: 48px; height: 48px; }
}

@media (max-width: 768px) {
    .obj-title { font-size: 26px; }
    .obj-params-grid { grid-template-columns: 1fr; }
    .obj-about-grid { grid-template-columns: 1fr; }
    .obj-gallery { padding: 36px 0; }
    .obj-gallery-title { font-size: 18px; padding-left: 16px; }
    .obj-docs-grid { grid-template-columns: 1fr; }
    .obj-final-form { padding: 22px; }
    .obj-contact-phone, .obj-contact-email { font-size: 20px; }
    .obj-contacts-title { font-size: 22px; }
    .obj-gallery .swiper-button-prev, .obj-gallery .swiper-button-next { display: none; }
    .obj-pdf-overlay { padding: 0; align-items: stretch; }
    .obj-pdf-modal { max-height: 100vh; height: 100vh; border-radius: 0; padding: 72px 16px 16px 16px; }
    .obj-pdf-head { padding-right: 0; }
    .obj-pdf-close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; font-size: 24px; }
    .obj-pdf-title { font-size: 20px; margin-bottom: 10px; }
    .obj-pdf-meta { font-size: 15px; gap: 4px 12px; }
    .obj-pdf-meta__item .k, .obj-pdf-meta__item .v { font-size: 15px; }
    .obj-pdf-frame { min-height: 50vh; }
    .obj-pdf-frame iframe { min-height: 50vh; }
    .obj-pdf-actions { flex-direction: column-reverse; }
    .obj-pdf-btn { width: 100%; }
    .obj-pdf-empty { padding: 24px 12px; min-height: 40vh; }
    .obj-pdf-empty__text { font-size: 16px; }

    .obj-presentation { margin-top: 40px; }
    .obj-presentation-inner { padding: 20px 12px 24px 12px; }
    .obj-presentation-title { font-size: 18px; margin-bottom: 16px; }
    
    .obj-book-stage { height: 60vh; min-height: 300px; }
    .obj-book-stage.is-fullscreen { height: 100vh; }
    
    .obj-book-arrow { width: 38px; height: 38px; }
    .obj-book-arrow svg { width: 18px; height: 18px; }
    .obj-book-arrow--prev { left: 8px; }
    .obj-book-arrow--next { right: 8px; }
    
    .obj-book-toolbar { padding: 14px 0 0 0; gap: 10px; }
    .obj-book-page-info { font-size: 14px; }
    .obj-book-actions { width: 100%; justify-content: center; }
    .obj-book-download, .obj-book-fullscreen { flex: 1; justify-content: center; padding: 11px 14px; font-size: 14px; }

    .obj-floor-head { padding: 16px 18px; font-size: 15px; }
    .obj-floor-body { padding: 0 18px 18px 18px; font-size: 14px; }

    .obj-cloud-section { margin-top: 40px; }
    .obj-cloud-btn { padding: 18px 28px; font-size: 16px; width: 100%; }
}