/* --- BRAND DNA --- */
:root {
    --bg-body: #050505;
    /* Dark Theme Overrides for Nav */
    --nav-bg: rgba(5, 5, 5, 0.4);
    --nav-bg-scroll: rgba(5, 5, 5, 0.95);
    --nav-text: #FFFFFF;
    --nav-border-color: rgba(255, 255, 255, 0.05);
    --nav-link-opacity: 0.6;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: none;
}

/* --- SIDEBARS & HUD --- */
.social-sidebar {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1100;
}

.social-sidebar a {
    color: var(--white);
    font-size: 18px;
    opacity: 0.4;
    transition: 0.3s;
    text-decoration: none;
}

.social-sidebar a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
}

.scroll-hud {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hud-counter {
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 1px;
}

.hud-line {
    width: 1px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.hud-progress {
    position: absolute;
    top: 0;
    width: 100%;
    height: 0%;
    background: var(--accent);
    transition: height 0.3s ease-out;
    box-shadow: 0 0 10px var(--accent);
}

.hud-stage {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    writing-mode: vertical-rl;
    opacity: 0.5;
}

/* --- INTERACTIVE TRACK --- */
.interactive-track {
    position: relative;
    height: 200vh;
}

.sticky-window {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.media-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease, transform 1.5s ease;
    transform: scale(1.1);
}

.media-layer.active {
    opacity: 1;
    transform: scale(1);
}

.media-layer video,
.media-layer img,
.media-layer iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- STORY OVERLAYS --- */
.story-overlay {
    position: absolute;
    z-index: 10;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 20px;
}


.step-label {
    font-family: var(--font-head);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.1s;
}

.step-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 8vw, 90px);
    text-transform: uppercase;
    line-height: 0.9;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.3s;
}

.step-desc {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(16px, 2vw, 22px);
    max-width: 650px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-project-btn {
    margin-top: 40px;
    padding: 15px 35px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.active .view-project-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.view-project-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

/* --- GALLERY TRACK (STOCKED SCROLL) --- */
.gallery-track {
    position: relative;
    height: 400vh;
    /* 6 stages + spacing */
}

.gallery-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-stage {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scale(1.1);
    pointer-events: none;
}

.gallery-stage.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
    z-index: 10;
}


/* --- VR ICON BUTTON --- */
.vr-icon-btn {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent);
    color: var(--accent);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    transition: 0.4s;
    position: relative;
}

.vr-icon-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;   
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 50;
}


/* Pulsing effect for the icon */
.vr-icon-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.vr-icon-btn:hover {
    background: var(--accent);
    color: #000;
}


/* --- VR CONTAINER --- */
#vr-iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    /* Disabled until Start is clicked */
    transition: filter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 1s ease;
}

#vr-iframe_02 {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    /* Disabled until Start is clicked */
    transition: filter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 1s ease;
}

#vr-iframe.is-blurred,
#vr-iframe_02.is-blurred {
    filter: blur(4px) brightness(0.4);
    transform: scale(1.02);
}

/* --- OVERLAY INTERFACE --- */
.vr-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    text-align: left;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.vr-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.step-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 8vw, 80px);
    text-transform: uppercase;
    line-height: 0.9;
    margin: 0 0 30px 0;
}

.start-vr-btn {
    padding: 18px 45px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.4s;
}

.start-vr-btn:hover {
    background: var(--accent);
    color: #000;
}

/* Hover Interaction */
.btn-hint {
    position: absolute;
    bottom: -25px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* --- EXIT BUTTON --- */
.exit-vr-btn {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    cursor: pointer;
    z-index: 100;
    display: none;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.exit-vr-btn:hover {
    background: var(--white);
    color: #000;
}

.exit-vr-btn.visible {
    display: block;
}

.comp-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-sizing: border-box;
}

.comp-carousel-nav.visible {
    opacity: 1;
}

.comp-nav-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--accent);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

.comp-nav-btn:hover {
    background: var(--accent);
    color: #000;
}

.preview-btn {
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    background-size: cover, auto !important;
    background-position: center, center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    /* Disable default flex centering because overlay handles it */
    display: block;
}

.preview-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border-radius: 50%;
}

.preview-btn:hover .preview-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.preview-btn:hover {
    background-color: transparent !important;
    color: var(--white);
}



/* Stage Overlays */
.stage-meta {
    position: absolute;
    bottom: 60px;
    left: 5%;
    z-index: 100;
    max-width: 500px;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.stage-meta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Interactive Elements */
.config-menu {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.config-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--accent);
    color: #fff;
    padding: 12px 25px;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.config-btn:hover {
    background: var(--accent);
    color: #000;
}

/* Comparison Slider */
.comparison-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: ew-resize;
}

.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid var(--accent);
}

.comp-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    text-align: center;
    padding: 15px 0;
    font-family: var(--font-head);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.comp-caption.visible {
    opacity: 1;
}

.badge {
    position: absolute;
    top: 90px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 14px;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.badge-before {
    left: 20px;
}

.badge-after {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px;
    z-index: 15;
    cursor: ew-resize;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: background 0.4s, color 0.4s;
}

.slider-handle:hover {
    background: var(--accent);
    color: #000;
}

.slider-handle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.comparison-wrap.is-blurred .comparison-img {
    filter: blur(4px) brightness(0.4);
    transform: scale(1.02);
}

.comparison-img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: filter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), brightness 0.8s ease;
}

/* --- MARQUEE --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    display: flex;
    width: calc(250px * 10);
    animation: scrollMarquee 25s linear infinite;
}

.marquee-content div {
    width: 250px;
    font-family: var(--font-head);
    font-weight: 800;
    opacity: 0.3;
    letter-spacing: 5px;
    text-transform: uppercase;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }
}

.scroll-cta {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    transition: 0.6s;
    z-index: 100;
}

.mouse-icon {
    width: 22px;
    height: 38px;
    border: 2px solid var(--accent);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

/* --- CINEMATIC SERVICES STYLES --- */
.service-card {
    position: relative;
    overflow: hidden;
    background: #000;
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
}

.service-card:last-child {
    border-right: none;
}

.service-card .service-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transform: scale(1.1);
    transition: 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    filter: grayscale(1);
}

.service-card:hover .service-bg {
    opacity: 0.6;
    transform: scale(1);
    filter: grayscale(0);
}

.service-card .service-content {
    position: relative;
    z-index: 2;
    transform: translateY(30px);
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-card .service-line {
    width: 0%;
    height: 1px;
    background: var(--accent);
    margin-bottom: 25px;
    transition: 0.8s ease;
}

.service-card:hover .service-line {
    width: 100%;
}

.service-card .service-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.6s ease;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.service-card:hover .service-detail {
    max-height: 150px;
    opacity: 1;
}

/* --- FIXED POPUP STYLES --- */
#servicePopup {
    display: none;
    /* Controlled by JS */
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#servicePopup.active {
    display: flex;
}

.s-popup-content {
    width: 100%;
    max-width: 1100px;
    height: 80vh;
    background: #111;
    border: 1px solid var(--accent);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#servicePopup.active .s-popup-content {
    transform: translateY(0);
    opacity: 1;
}

/* Close Button Fix */
.close-p-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 100;
    opacity: 0.6;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-p-modal:hover {
    opacity: 1;
    color: var(--accent);
    transform: rotate(90deg);
}

.s-popup-visual {
    background-size: cover;
    background-position: center;
}

.s-popup-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media (max-width: 968px) {
    .s-popup-content {
        grid-template-columns: 1fr;
        height: 90vh;
    }

    .s-popup-visual {
        display: none;
    }
}

.s-popup-spec {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spec-item span:first-child {
    color: var(--accent);
    font-weight: 700;
}

.spec-item span:last-child {
    color: rgba(255, 255, 255, 0.5);
}

/* --- CONTACT SECTION STYLES --- */
.contact-section {
    background: #000;
    padding: 120px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    width: 100%;
    padding: 20px 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    transition: 0.4s;
    margin-bottom: 30px;
}

.contact-input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.submit-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 20px 60px;
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 20px;
}

.submit-btn:hover {
    letter-spacing: 5px;
    background: #fff;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* --- GLOBAL OPERATIONS TRACKER STYLES --- */
.global-ops {
    padding: 80px 5%;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.ops-label {
    font-family: var(--font-head);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    display: block;
}

.region-heartbeat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.heartbeat-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}

.heartbeat-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.region-name {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .global-ops {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .region-heartbeat {
        justify-content: center;
    }
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    text-decoration: none;
    transition: all 0.4s ease;
}

/* Pulse Animation matching your VR button style */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-float:hover {
    background-color: var(--accent);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Tooltip on Hover */
.wa-tooltip {
    position: absolute;
    right: 80px;
    background: rgba(18, 18, 18, 0.9);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 10px;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    right: 70px;
}

/* --- LUXURY INTERACTIVE CURSOR --- */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

/* Hover State */
.cursor-active .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
}

.cursor-active .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid #fff;
}

@media (max-width: 1024px) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* --- COMPREHENSIVE MOBILE OPTIMIZATION OVERRIDES --- */
@media (max-width: 768px) {
    /* Clean up viewport by hiding sidebars that overlap content */
    .social-sidebar,
    .scroll-hud {
        display: none !important;
    }

    /* Adjust Typography for smaller screens */
    .step-title {
        font-size: clamp(28px, 10vw, 50px) !important;
    }
    
    .step-desc {
        font-size: 14px !important;
        padding: 0 15px !important;
        margin-top: 15px !important;
    }

    /* Adjust stage metadata for gallery */
    .stage-meta {
        bottom: 30px !important;
        left: 5% !important;
        right: 5% !important;
        max-width: 100% !important;
    }
    
    .stage-meta h2 {
        font-size: clamp(22px, 7vw, 28px) !important;
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }

    .stage-meta p {
        padding: 0 15px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Adjust VR Overlays and Buttons */
    .start-vr-btn {
        padding: 12px 25px !important;
        font-size: 10px !important;
    }
    
    .exit-vr-btn {
        top: 80px !important;
        font-size: 9px !important;
        padding: 10px 20px !important;
    }

    /* Config menu positioning */
    .config-menu {
        right: 15px !important;
        top: auto !important;
        bottom: 120px !important; /* Move to bottom instead of vertical center */
        transform: none !important;
        flex-direction: row !important; /* Make it horizontal */
        flex-wrap: wrap !important;
        justify-content: center;
        width: calc(100% - 30px);
        gap: 10px;
    }
    
    .config-btn {
        padding: 10px 15px !important;
        font-size: 9px !important;
        flex: 1;
        text-align: center;
    }

    /* Adjust Testimonial Section */
    .testimonial-quote {
        font-size: 22px !important;
    }

    /* Services Section Layout */
    .services-overview div:first-child {
        padding: 60px 5% 0 !important;
    }

    .service-card {
        padding: 30px !important;
        min-height: 400px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }

    /* Popup Modal Adjustments */
    .s-popup-info {
        padding: 30px !important;
    }
    
    #sPopupTitle {
        font-size: 26px !important;
    }
    
    #sPopupDesc {
        font-size: 15px !important;
    }

    /* Comparison Slider Mobile Tweaks */
    .comp-carousel-nav {
        padding: 0 10px !important;
    }

    .comp-nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }

    .slider-handle {
        width: 50px !important;
        height: 50px !important;
        font-size: 14px !important;
        gap: 4px !important;
    }

    .comp-caption {
        font-size: 12px !important;
        padding: 10px 15px !important;
        letter-spacing: 1px !important;
    }

    .badge {
        top: 130px !important;
        padding: 4px 8px !important;
        font-size: 9px !important;
    }
}

/* --- EXTRACTED INLINE STYLES --- */
#nav-progress-container {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: transparent; z-index: 5001;
}
#nav-progress-bar {
    height: 100%; width: 0%; background: var(--accent); transition: width 0.1s ease-out;
}
.scroll-text {
    font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
}
.testimonial-section {
    position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; background: #000; overflow: hidden; border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.testimonial-backdrop {
    position: absolute; inset: 0; z-index: 1; opacity: 0.25; filter: grayscale(100%) contrast(1.1);
}
.testimonial-backdrop video {
    width: 100%; height: 100%; object-fit: cover;
}
#testimonial-container {
    position: relative; z-index: 10; max-width: 1000px; width: 90%; text-align: center;
}
.t-slide {
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.t-slide.active {
    opacity: 1;
}
.testimonial-quote-icon {
    color: var(--accent); font-size: 20px; margin-bottom: 30px; display: block; opacity: 0.6;
}
.testimonial-quote {
    font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px); font-style: italic; line-height: 1.2; letter-spacing: -0.5px; color: #fff;
}
.testimonial-author-container {
    margin-top: 40px;
}
.testimonial-author {
    display: block; font-family: var(--font-head); color: var(--accent); text-transform: uppercase; letter-spacing: 5px; font-size: 13px; font-weight: 700;
}
.testimonial-author-role {
    font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.4); margin-top: 8px; display: block;
}
.testimonial-nav-container {
    position: absolute; bottom: 80px; display: flex; align-items: center; gap: 40px; z-index: 20;
}
.nav-control {
    cursor: pointer; opacity: 0.4; transition: 0.3s;
}
.t-dot-container {
    display: flex; gap: 15px;
}
.t-dot {
    width: 40px; height: 2px; background: rgba(255,255,255,0.2); cursor: pointer; position: relative; overflow: hidden;
}
.t-progress {
    position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent);
}
.stage-meta h2 {
    font-family: var(--font-head); font-size: 40px; text-transform: uppercase;
}
.stage-meta p {
    color: rgba(255,255,255,0.6); margin-top: 15px;
}
.turntable-video, .cinematic-video {
    width: 100%; height: 100%; object-fit: cover;
}
.technical-video {
    width: 100%; height: 100%; object-fit: contain;
}
.services-overview {
    background: #000; border-top: 1px solid var(--accent);
}
.services-header {
    padding: 100px 5% 0;
}
.services-header h2 {
    font-family: var(--font-head); font-size: clamp(35px, 5vw, 60px); text-transform: uppercase; margin-top: 10px;
}
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 80px; border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.service-number {
    color: var(--accent); font-family: var(--font-head); font-size: 11px; letter-spacing: 3px;
}
.service-content h3 {
    font-family: var(--font-head); text-transform: uppercase; font-size: 24px; margin-bottom: 15px;
}
.service-link {
    color: var(--accent); text-decoration: none; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
}
.collaborate-label {
    display: block; margin-bottom: 20px;
}
.contact-grid h2 {
    font-family: var(--font-head); font-size: clamp(40px, 5vw, 60px); text-transform: uppercase; line-height: 1; margin: 0;
}
.contact-desc {
    color: rgba(255,255,255,0.4); margin-top: 30px; font-size: 14px; line-height: 1.8; max-width: 400px;
}
.contact-inquiry {
    margin-top: 50px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
.contact-inquiry-title {
    color: var(--accent); margin-bottom: 5px;
}
.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.ops-active-mandates {
    display: flex; gap: 40px;
}
.region-inactive {
    color: rgba(255,255,255,0.4);
}
.ops-footer {
    text-align: right;
}
.close-p-modal {
    top: 20px; right: 20px;
}
#sPopupTitle {
    font-family: var(--font-head); text-transform: uppercase; font-size: 36px; margin-bottom: 25px;
}
#sPopupDesc {
    font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.8);
}
.s-popup-quote-btn {
    margin-top: auto; align-self: flex-start; padding: 15px 40px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
}
.site-footer {
    background: #000; padding: 40px 20px; text-align: center; color: #444; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- INTERACTIVE VIDEO (FROM PICHA) --- */
.ambient-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ambient-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.ambient-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  clip-path: inset(calc(50% - 5vw) calc(50% - 18vw) round 5vw);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.video-overlay.active {
  clip-path: inset(0% 0% 0% 0% round 0vw);
}

.video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); 
  transition: filter 1s ease;
}

.video-overlay.active video {
  filter: brightness(1);
}

#turntable-content {
  transition: opacity 0.6s ease;
}

#turntable-content.hidden {
  opacity: 0;
  pointer-events: none;
}

.pulse-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.pulse-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.pulse-play-btn:hover .icon-circle {
  transform: scale(1.05);
  background-color: var(--accent);
}

.pulse-play-btn:hover .play-svg {
  color: #000;
}

.play-svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-left: 4px;
  transition: color 0.3s ease;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  z-index: 1;
  animation: pulseAnim 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulseAnim {
  0% { width: 60px; height: 60px; opacity: 1; }
  100% { width: 130px; height: 130px; opacity: 0; }
}

/* --- EXIT BUTTON FOR INTERACTIVE VIDEO --- */
.exit-experience-btn {
  position: absolute;
  top: 100px; /* Matched the height of the other exit buttons */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 12px 30px;
  cursor: pointer;
  border-radius: 4px;
  
  /* Initially hidden */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease 0.8s, background 0.3s ease; 
  z-index: 200;
}

.video-overlay.active .exit-experience-btn {
  opacity: 1;
  pointer-events: all;
}

.exit-experience-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- VIDEO CONTROLS --- */
.video-controls {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease 0.8s;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 20px;
}

.video-overlay.active .video-controls {
    opacity: 1;
    pointer-events: all;
}

.video-progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: height 0.2s ease;
}

.video-progress-container:hover {
    height: 8px;
}

.video-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
}

.volume-control-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-carousel-nav {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease 0.8s;
}

.video-overlay.active .video-carousel-nav {
    opacity: 1;
    pointer-events: all;
}

.volume-slider-container {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: height 0.2s ease;
}

.volume-slider-container:hover {
    height: 8px;
}

.volume-slider-bar {
    height: 100%;
    width: 100%; /* Default volume 100% */
    background: var(--accent);
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
}

.v-action-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-action-btn:hover {
    opacity: 1;
    color: var(--accent);
}

/* --- MOBILE OVERRIDES FOR INTERACTIVE VIDEO --- */
@media (max-width: 768px) {
    .video-overlay {
        clip-path: inset(calc(50% - 60px) calc(50% - 140px) round 60px) !important;
    }
    .video-overlay.active {
        clip-path: inset(0% 0% 0% 0% round 0vw) !important;
    }
    .pulse-ring {
        width: 50px;
        height: 50px;
    }
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    @keyframes pulseAnim {
        0% { width: 50px; height: 50px; opacity: 1; }
        100% { width: 100px; height: 100px; opacity: 0; }
    }
}