.osi-motion-panel,
.osi-location-motion,
.osi-motion-host {
    position: relative;
    isolation: isolate;
}

.osi-motion-panel,
.osi-location-motion {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 6px;
    background: rgba(3, 23, 40, 0.5);
    box-shadow: 0 24px 60px rgba(1, 12, 22, 0.26);
}

.osi-motion-panel::before,
.osi-location-motion::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 36px 36px;
}

.osi-motion-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.osi-motion-panel--ai {
    width: min(100%, 790px);
    height: 184px;
    margin: 30px auto 10px;
}

.osi-motion-panel--pricing {
    width: min(100%, 690px);
    height: 154px;
    margin: 28px auto 0;
}

.osi-motion-panel--address {
    width: min(100%, 590px);
    height: 154px;
    margin: 28px 0 0;
}

.osi-motion-panel__top {
    position: absolute;
    z-index: 3;
    top: 16px;
    left: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    pointer-events: none;
}

.osi-motion-panel__top small {
    color: #e8c766;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.osi-motion-panel__top strong {
    margin-top: 2px;
    color: #fff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 650;
}

.osi-motion-rail {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 13px;
    left: 18px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.61rem;
    font-weight: 700;
    text-transform: uppercase;
    pointer-events: none;
}

.osi-motion-rail span:nth-child(2) { text-align: center; }
.osi-motion-rail span:last-child { text-align: right; }

.osi-motion-price-key {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 13px;
    left: 18px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.65rem;
    font-weight: 700;
    pointer-events: none;
}

.osi-motion-price-key strong {
    display: block;
    color: #f4ce66;
    font-size: 0.78rem;
}

.osi-motion-price-key span:nth-child(2) { text-align: center; }
.osi-motion-price-key span:last-child { text-align: right; }

.osi-motion-host {
    overflow: hidden;
}

.osi-motion-host > svg,
.osi-motion-host > img,
.osi-motion-host > .hero-main-icon,
.osi-motion-host > .proof-core {
    position: relative;
    z-index: 1;
}

.osi-motion-host .hero-float-card,
.osi-motion-host .hero-float-chip,
.osi-motion-host .proof-chip {
    z-index: 4;
}

.osi-motion-host--photo .osi-motion-canvas,
.osi-motion-host--mail .osi-motion-canvas {
    mix-blend-mode: screen;
}

.osi-location-motion {
    width: min(100%, 390px);
    height: 320px;
    margin: 0 auto;
    background: rgba(4, 29, 49, 0.54);
}

.osi-location-motion__building {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 156px;
    height: auto;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
    transform: translate(-50%, -51%);
}

.osi-location-motion__label {
    position: absolute;
    z-index: 4;
    right: 14px;
    bottom: 13px;
    padding-left: 10px;
    border-left: 2px solid #e8c766;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.62rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

.osi-location-motion__label strong {
    display: block;
    color: #fff;
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .osi-motion-panel--address { margin-right: auto; margin-left: auto; }
    .osi-location-motion { margin-top: 30px; }
}

@media (max-width: 767px) {
    .osi-motion-panel--ai {
        height: 170px;
        margin-top: 24px;
    }

    .osi-motion-panel--pricing,
    .osi-motion-panel--address {
        height: 150px;
        margin-top: 24px;
    }

    .osi-motion-panel__top { top: 13px; left: 14px; }
    .osi-motion-panel__top strong { font-size: 0.8rem; }
    .osi-motion-rail,
    .osi-motion-price-key { right: 14px; bottom: 11px; left: 14px; }
    .osi-location-motion { width: min(100%, 350px); height: 285px; }
    .osi-location-motion__building { width: 136px; }
}

@media (prefers-reduced-motion: reduce) {
    .osi-motion-canvas { transform: none !important; }
}
