:root {
    --lg-red: #e02020;
    --lg-dark: #0a0a0a;
    --lg-text: #ffffff;
    --lg-right-bg: #111111;
    --lg-transition: 0.55s cubic-bezier(0.77, 0, 0.175, 1);
    --lg-right-w: 43%;
}

.lg-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--lg-dark);
    user-select: none;
	height: 518px;
}

.lg-slider__track {
    display: flex;
    transition: transform var(--lg-transition);
    will-change: transform;
    touch-action: pan-y;
}

.lg-slide {
    display: flex;
    flex-shrink: 0;
    width: 100%;
	height:518px;
}

.lg-slide__left {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.lg-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.lg-slide.lg-slide--active .lg-slide__bg {
    transform: scale(1);
    transition: transform 1s ease;
}

.lg-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.38) 60%,
        rgba(0,0,0,0.1) 100%
    );
}

.lg-slide__content {
    position: relative;
    z-index: 2;
    padding: 28px 32px 58px var(--lg-logo-offset, 52px);
    max-width: 100%;
}

.lg-slide__title {
    font-family: "Montserrat", Sans-serif;
    font-size: clamp(28px, 3.8vw, 52px);
    font-weight: 700;
    color: var(--lg-text);
    line-height: 1.1;
    margin: 0 0 10px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.lg-slide__highlight {
    display: block;
    color: var(--lg-red);
}

.lg-slide__subtitle {
    font-family: "Montserrat", Sans-serif;
    font-size: clamp(13px, 1.2vw, 16px);
    color: #ffffff;
    margin: 0 0 28px;
    line-height: 1.55;
    max-width: 420px;
}

.lg-slide__subtitle p {
    margin: 0 0 0.6em;
}

.lg-slide__subtitle p:last-child {
    margin-bottom: 0;
}

.lg-slide__subtitle a {
    color: var(--lg-red);
    text-decoration: underline;
}

.lg-slide__subtitle a:hover {
    color: #ff4444;
}

.lg-slide__subtitle strong,
.lg-slide__subtitle b {
    font-weight: 700;
}

.lg-slide__subtitle em,
.lg-slide__subtitle i {
    font-style: italic;
}

.lg-slide__subtitle ul,
.lg-slide__subtitle ol {
    margin: 0 0 0.6em;
    padding-left: 1.4em;
}

.lg-slide__subtitle li {
    margin-bottom: 0.25em;
}

.lg-slide__subtitle img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px 0;
}

.lg-slide__subtitle h1,
.lg-slide__subtitle h2,
.lg-slide__subtitle h3,
.lg-slide__subtitle h4 {
    font-family: "Montserrat", Sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 0.4em;
    color: inherit;
}

.lg-slide__btn {
    display: inline-block;
    background: var(--lg-red);
    color: #fff;
    font-family: "Montserrat", Sans-serif;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 34px;
    transition: background 0.2s, transform 0.2s;
}

.lg-slide__btn:hover {
    background: #bf1a1a;
    transform: translateX(3px);
    color:#fff!important;
}

.lg-slide__right {
    flex: 0 0 var(--lg-right-w);
    background: var(--lg-right-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lg-slide__video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-slide__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position:top;
    display: block;
}

.lg-slide__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 0;
    transition: opacity 0.25s;
}
.lg-slide__video-wrap .lg-slide__play:hover{
    background-color:#00000085!important;
}
.lg-slide__play svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
    transition: transform 0.2s;
}

.lg-slide__play:hover svg {
    transform: scale(1.08);
}

.lg-slide__play.lg-play--hidden {
    opacity: 0;
    pointer-events: none;
}

.lg-slide__yt-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.lg-slide__yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.lg-slide__yt-wrap:hover .lg-slide__yt-thumb {
    transform: scale(1.03);
    opacity: 0.85;
}

.lg-slide__yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.lg-slide__yt-wrap .lg-slide__play--yt {
    z-index: 2;
}

.lg-slide__video-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
}

.lg-slide__image-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.lg-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lg-slide__image-wrap:hover .lg-slide__image {
    transform: scale(1.03);
}

.lg-slide__image-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.25s;
    pointer-events: none;
}

.lg-slide__image-wrap:hover .lg-slide__image-hint {
    background: rgba(0,0,0,0.3);
}

.lg-slide__image-hint svg {
    width: 52px;
    height: 52px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
    stroke-width: 1.5;
}

.lg-slide__image-wrap:hover .lg-slide__image-hint svg {
    opacity: 1;
}

/* ── Image Popup ─────────────────────────────────────────── */

.lg-img-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.92);
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
}

.lg-img-popup.is-active {
    display: flex;
}

.lg-img-popup__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    min-height: 52px;
    gap: 12px;
}

.lg-img-popup__title {
    color: #fff;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.lg-img-popup__controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.lg-img-ctrl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    transition: background 0.15s, border-color 0.15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lg-img-ctrl:hover,
.lg-img-ctrl:focus-visible {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    outline: none;
}

.lg-img-popup__close {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.lg-img-popup__close:hover {
    background: rgba(192,57,43,0.8);
    border-color: rgba(192,57,43,1);
}

.lg-img-ctrl svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
    flex-shrink: 0;
}

.lg-img-popup__zoom-level {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    min-width: 40px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-family: "Montserrat", Sans-serif;
}

.lg-img-popup__canvas {
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

.lg-img-popup__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
    cursor: zoom-in;
    border-radius: 2px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lg-img-popup__img.is-dragging {
    cursor: grabbing;
    transition: none;
}

@media (max-width: 768px) {
    .lg-img-popup__toolbar { padding: 8px 12px; min-height: 48px; }
    .lg-img-ctrl { width: 38px; height: 38px; }
    .lg-img-popup__canvas { padding: 10px; }
}

@media (max-width: 480px) {
    .lg-img-ctrl { width: 40px; height: 40px; border-radius: 8px; }
    .lg-img-ctrl svg { width: 18px; height: 18px; }
    .lg-img-popup__title { font-size: 13px; }
    .lg-img-popup__canvas { padding: 8px; }
}

.lg-slider__pagination {
    position: absolute;
    right: calc(var(--lg-right-w) + 16px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.lg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.lg-dot--active {
    background: var(--lg-red);
    transform: scale(1.25);
}

.lg-slider__arrow {
    position: absolute;
    bottom: 20px;
    right: calc(var(--lg-right-w) + 16px);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
    padding: 0;
}

.lg-slider__arrow:focus,.lg-dot:focus{
background-color:#e02120!important;
}

.lg-slider__arrow--prev {
    right: calc(var(--lg-right-w) + 62px);
}

.lg-slider__arrow svg {
    width: 18px;
    height: 18px;
}

.lg-slider__arrow:hover {
    background: var(--lg-red);
    border-color: var(--lg-red);
}

@media (max-width: 1024px) {

    .lg-slide__content {
        padding: 36px 32px;
    }

    .lg-slider__pagination {
        right: calc(var(--lg-right-w) + 12px);
    }

    .lg-slider__arrow {
        right: calc(var(--lg-right-w) + 12px);
    }

    .lg-slider__arrow--prev {
        right: calc(var(--lg-right-w) + 58px);
    }
}

@media (max-width: 768px) {
    :root { --lg-right-w: 100%; }

    .lg-slide {
        flex-direction: column;
        min-height: auto;
    }

    .lg-slide__left {
        min-height: 320px;
    }

    .lg-slide__right {
        flex: 0 0 220px;
        height: 220px;
        width: 100%;
    }

    .lg-slide__content {
        padding: 28px 24px;
    }

    .lg-slider__pagination {
        position: static;
        flex-direction: row;
        justify-content: center;
        transform: none;
        padding: 14px 0;
        background: var(--lg-dark);
    }

    .lg-slider__arrow {
        display: none;
    }
}

@media (min-width: 1440px) {
    .lg-slide {
        min-height: 520px;
    }
}

@media (max-width: 480px) {
    .lg-slide__left { min-height: 260px; }

    .lg-slide__right {
        flex: 0 0 180px;
        height: 180px;
    }

    .lg-slide__content {
        padding: 20px 18px;
    }
}
