.mg-about {
    padding: 0 0 4rem;
}

.mg-about__inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 6vw, 6.375rem);
}

.mg-about__copy {
    flex: 0 1 453px;
    min-width: 0;
}

.mg-about__title {
    margin: 0 0 1.875rem;
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.mg-about__title-accent {
    color: var(--mg-accent);
}

.mg-about__text {
    max-width: 389px;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.mg-about__slider {
    flex: 1 1 615px;
    min-width: 0;
    width: 100%;
}

.mg-about__track-wrap {
    overflow: hidden;
    width: 100%;
    container-type: inline-size;
}

.mg-about__track {
    display: flex;
    gap: 2.1875rem;
    transition: transform 0.35s ease;
    will-change: transform;
}

.mg-about__case {
    flex: 0 0 calc(50cqi - 1.09375rem);
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mg-about__video {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 1.375rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.mg-about__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mg-about__video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mg-about__video-placeholder img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.45;
}

.mg-about__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--mg-bg);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
    cursor: default;
    text-decoration: none;
}

a.mg-about__play,
button.mg-about__play {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

a.mg-about__play:hover,
button.mg-about__play:hover {
    opacity: 0.92;
}

.mg-about__play svg {
    margin-left: 3px;
}

.mg-about__case-title {
    max-width: 244px;
    margin: 0 0 0.875rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.mg-about__case-text {
    max-width: 290px;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.mg-about__controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.875rem;
}

.mg-about__progress {
    flex: 1 1 auto;
    max-width: 440px;
}

.mg-about__counter {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-size: 0.875rem;
    color: #fff;
}

.mg-about__progress-bar {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
}

.mg-about__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--mg-accent);
    transition: width 0.35s ease;
}

.mg-about__nav {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mg-about__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #171717;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.mg-about__nav-btn:hover {
    opacity: 0.92;
}

.mg-about__nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 991px) {
    .mg-about__inner {
        flex-direction: column;
    }

    .mg-about__copy {
        flex: 1 1 auto;
    }

    .mg-about__slider {
        flex: 0 0 auto;
    }

    .mg-about__copy,
    .mg-about__text {
        max-width: none;
    }
}

@media (max-width: 639px) {
    .mg-about__case {
        flex: 0 0 100cqi;
    }

    .mg-about__controls {
        flex-direction: column;
        align-items: stretch;
    }

    .mg-about__progress {
        max-width: none;
    }

    .mg-about__nav {
        justify-content: flex-end;
    }
}

.mg-about-modal[hidden] {
    display: none;
}

.mg-about-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.mg-about-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.mg-about-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
}

.mg-about-modal__close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.mg-about-modal__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.mg-about-modal__frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 639px) {
    .mg-about-modal__close {
        top: -3rem;
        right: 0.25rem;
    }
}
