* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #050406;
    color: #fff;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

body.fondo-unico { 
    background-image: linear-gradient(rgba(17, 123, 93, 0.05), rgba(0, 0, 0, 0.1)), url('imagenes-de-fondo/imagen2.jpg'); 
    background-position: center bottom;
    background-size: cover;
}

.escenario-copa {
    width: 100%;
    max-width: 1440px;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 25px;
    gap: 20px;
    justify-content: space-between;
    position: relative;
}

.seccion-superior {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    gap: 35px;
    align-items: center;
}

.cabecera-holograma {
    width: 220px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 101;
    gap: 20px;
    flex-shrink: 0;
    padding-top: 10px;
}

.contenedor-logo-holograma {
    width: 100%;
    max-width: 185px; 
}

.contenedor-logo-holograma img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.7));
}

.filtros-holograma {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

.btn-regresar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.2s, background 0.3s;
    width: 100%;
    text-align: center;
}

.btn-regresar:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

.btn-pantalla-completa {
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.4);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.2s, background 0.3s;
    width: 100%;
    text-align: center;
}

.btn-pantalla-completa:hover {
    background: rgba(0, 198, 255, 0.25);
    border-color: #00c6ff;
    transform: translateX(4px);
}

.separador-menu {
    width: 100%;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    margin: 4px 0;
}

.btn-filtro {
    background: rgba(15, 12, 22, 0.7);
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: #a0a5b5;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.2s, background 0.3s, border-color 0.3s, color 0.3s;
    width: 100%;
    text-align: left;
}

.btn-filtro:hover, .btn-filtro.activo {
    color: #fff;
    border-color: rgba(0, 198, 255, 0.8);
}
.btn-filtro.activo { background: rgba(0, 198, 255, 0.2); border-color: #00c6ff; }

.btn-filtro span {
    font-size: 0.75rem;
    opacity: 0.6;
    float: right;
}

/* APARADOR ESCENARIO GLOBAL */
.aparador-central {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; 
}

/* CONTENEDOR DESTACADO AGRANDADO (MANTIENE LA PROPORCIÓN 16:9) */
.contenedor-destacado {
    width: 100%;
    max-width: 1160px;            
    aspect-ratio: 16 / 9;         
    max-height: calc(100vh - 120px); 
    position: relative;
    cursor: grab;
    background: transparent;
    overflow: visible; 
    display: flex;
    flex-direction: column;
}

.contenedor-destacado:active {
    cursor: grabbing;
}

/* ESTRUCTURA DE TARJETA EN POSITION ABSOLUTA */
.tarjeta-bloque-completo {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    will-change: transform, opacity;
    opacity: 0;
    pointer-events: none; 
}

.bloque-prev { transform: translate3d(-100vw, 0, 0); opacity: 0; }
.bloque-actual { 
    transform: translate3d(0, 0, 0); 
    z-index: 5; 
    opacity: 1 !important; 
    pointer-events: auto; 
}
.bloque-next { transform: translate3d(100vw, 0, 0); opacity: 0; }

/* CONTENEDOR DE LA IMAGEN EXPANDIDO */
.imagen-wrapper {
    width: 100%;
    flex: 1;                      
    min-height: 0;
    background: rgba(10, 8, 14, 0.4);
    border: none !important;             
    border-radius: 14px 14px 0px 0px !important;       
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.tarjeta-bloque-completo.borde-bodega .imagen-wrapper,
.tarjeta-bloque-completo.borde-terreno .imagen-wrapper,
.tarjeta-bloque-completo.borde-oficina .imagen-wrapper { 
    border: none !important; 
    border-radius: 14px 14px 0px 0px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); 
}

/* MODIFICADO: AJUSTE SEGURO PARA VER IMÁGENES COMPLETAS SIN RECORTE */
.imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    pointer-events: none;
    border-radius: 14px 14px 0px 0px !important;       
    will-change: transform, opacity;
    opacity: 0; 
    transform: scale(1); 
    animation: abrirImagenNormal 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* TRUCO DE LA FOTO EN AUTOMÁTICO */
.imagen-wrapper img.transicion-lenta {
    animation: abrirImagenNormal 5.0s cubic-bezier(0.25, 1, 0.35, 1) forwards !important;
}

@keyframes abrirImagenNormal {
    to { opacity: 1; transform: scale(1); }
}

/* EL CONTADOR INTERNO DE CADA TARJETA */
.galeria-contador {
    position: absolute;
    top: 20px;
    left: 25px;
    background: rgba(0, 0, 0, 0.65);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0e0e0;
    z-index: 10;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* EL PANEL NEGRO INFERIOR MODIFICADO: MÁS DELGADO Y CENTRADO */
.panel-detalles-bloque {
    width: 100%;
    height: 42px; 
    background: rgba(12, 10, 18, 0.95);
    border: 1px solid #00c6ff; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0px 0px 14px 14px; 
    z-index: 20;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 198, 255, 0.15);
    flex-shrink: 0;
    padding: 0 20px;
    display: flex;
    align-items: center; 
}

.info-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
}

.btn-buy-hologram {
    border: none;
    color: #000;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    background: #00c6ff; 
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-buy-hologram:hover { 
    background: #fff; 
    color: #000; 
    transform: scale(1.05); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* CONTENEDOR FLEX DE CONTROLES INFERIORES UNIFICADOS */
.contenedor-navegacion-unificada {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px; 
    width: 100%;
    max-width: 960px;
    z-index: 30;
}

/* BOTONES DE NAVEGACIÓN */
.flecha-pantalla-orilla {
    position: relative; 
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    background: rgba(15, 12, 22, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: #00c6ff; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    width: auto; 
    height: 36px; 
    padding: 0 15px; 
    cursor: pointer;
    z-index: 200; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease; 
    backdrop-filter: blur(8px);
    border-radius: 0px; 
    text-shadow: 0 0 8px rgba(0, 198, 255, 0.4); 
    box-shadow: none;
    flex-shrink: 0;
    user-select: none;
}

.flecha-pantalla-orilla:hover {
    border-color: rgba(0, 198, 255, 0.5); 
    color: #fff; 
    background: rgba(0, 198, 255, 0.1);
    transform: scale(1.03);
}

.flecha-orilla-izq, .flecha-orilla-der { left: auto; right: auto; }

.datos-inmueble-oculto { display: none; }

/* FRANJA DE NÚMEROS */
.paginacion-numeros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px; 
}

.item-numero {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 12, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a0a5b5;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.item-numero:hover {
    border-color: rgba(0, 198, 255, 0.5);
    color: #fff;
    background: rgba(0, 198, 255, 0.1);
}

.item-numero.activo {
    background: #00c6ff !important;
    border-color: #00c6ff !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.6);
    transform: scale(1.05);
}

/* ==========================================================================
   ANUNCIO DE BIENVENIDA PREMIUM / INTERACTIVO CORPORATIVO (FONDO OSCURECIDO)
   ========================================================================== */
.anuncio-bienvenida-elegante {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: rgba(10, 8, 14, 0.3); 
    border: 1px solid rgba(0, 198, 255, 0.45); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.bienvenida-badge {
    background: rgba(0, 198, 255, 0.2);
    border: 1px solid rgba(0, 198, 255, 0.6);
    color: #00d2ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.anuncio-bienvenida-elegante h2 {
    font-size: 2.8rem;
    font-weight: 300; 
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 2px 15px rgba(0, 198, 255, 0.5), 0 2px 4px rgba(0,0,0,0.4);
}

.anuncio-bienvenida-elegante .subtitulo-bienvenida {
    font-size: 1.25rem;
    font-weight: 300;
    color: #ffffff; 
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.anuncio-bienvenida-elegante .subtitulo-bienvenida strong {
    color: #00e5ff; 
    font-weight: 600;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.6);
    padding-bottom: 1px;
}

.separador-bienvenida {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #00e5ff, transparent);
    margin: 30px 0;
}

.anuncio-bienvenida-elegante p.instruccion {
    color: #f1f5f9; 
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 35px;
    background: rgba(0, 0, 0, 0.25); 
    padding: 15px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 520px;
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.2);
}

.anuncio-bienvenida-elegante p.instruccion span {
    opacity: 0.9;
    margin-right: 4px;
}

.anuncio-bienvenida-elegante p.instruccion strong {
    color: #00e5ff;
}

.btn-entrar-anuncio {
    border: none;
    color: #000;
    padding: 14px 50px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(135deg, #00e5ff 0%, #0072ff 100%); 
    box-shadow: 0 5px 25px rgba(0, 198, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-entrar-anuncio:hover { 
    background: #ffffff; 
    color: #000000; 
    transform: translateY(-2px) scale(1.02); 
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}