/* ==========================================
   1. VARIABLES Y BASE
   ========================================== */
:root {
    --bg-black: #0F0F0F;
    --surface: #1A1A1A;
    --gold: #C5A059;
    --smoke: #E5E5E5;
    --nav-height: 80px;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background-color: var(--bg-black);
    color: var(--smoke);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Evita el desplazamiento lateral en móvil */
    position: relative;
}

/* FIX VISIBILIDAD AOS */
[data-aos] { opacity: 1 !important; transform: none !important; visibility: visible !important; pointer-events: auto; }

p { text-align: justify; }
.serif { font-family: 'Playfair Display', serif; }
.text-gold { color: var(--gold); }

/* ==========================================
   2. NAVEGACIÓN (LOGO IZQ - TITULO CENTRO - MENÚ DER)
   ========================================== */
.nav-patina {
    position: fixed; top: 0; left: 0; width: 100vw; height: var(--nav-height);
    background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(10px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; z-index: 9999; border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}
#nav-menu{
    color: #C5A059; 
    font-weight: 600; 
    padding: 5px 10px; 
    border-radius: 2px;
}
.logo-patina-svg-container { flex: 1; display: flex; justify-content: flex-start; }
.main-logo { height: 55px; width: auto; filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5)); }


.main-title-centered {
    flex: 2;
    text-align: center;
    font-size: clamp(16px, 4vw, 24px); /* Tamaño fluido */
    letter-spacing: 4px;
    font-weight: 700;
    margin: 0 !important;
    white-space: nowrap;
    
    /* AÑADE ESTO PARA EL ENLACE */
    display: block;
    text-decoration: none !important; /* Quita el subrayado */
    color: #ffffff !important;        /* Fuerza el color blanco */
}

.main-title-centered:hover {
    color: #ffffff; /* Evita que cambie de color al pasar el ratón si no quieres */
    opacity: 0.9;   /* Un efecto sutil de pulsación */
}

.nav-right-section { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--smoke); text-decoration: none; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }

.hamburger {
    display: none; flex-direction: column; justify-content: space-between;
    width: 25px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 10001;
}
.hamburger span { width: 100%; height: 2px; background-color: var(--gold); transition: 0.3s; }

/* ==========================================
   3. BOTONES UNIFICADOS (PÁGINA Y DOSSIERS)
   ========================================== */
.btn-asset, .btn-asset-waitlist, .btn-asset-luxe, .btn-asset-cta {
    display: inline-block !important;
    background: var(--gold) !important;
    color: #000 !important;
    border: 1px solid var(--gold) !important;
    padding: 1rem 2.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    text-align: center !important;
    cursor: pointer !important;
    border-radius: 2px !important;
}
/* ==========================================
   3. HERO SECTION (REPARADO Y VISIBLE)
   ========================================== */
.hero-vault {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Aseguramos que la imagen cargue y cubra todo */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1547996160-81dfa63595dd?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax elegante */
    z-index: 1; /* Por debajo de la nav (9999) */
}

.hero-content {
    position: relative;
    z-index: 10; /* Por encima del fondo del hero */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    width: 100%;
    /* Fuerza visibilidad si AOS falla */
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.hero-title { 
    font-size: clamp(2.2rem, 8vw, 5rem); 
    line-height: 1.1; 
    margin-bottom: 2.5rem;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tagline { 
    color: var(--gold); 
    text-transform: uppercase; 
    letter-spacing: clamp(4px, 1vw, 8px); 
    font-size: clamp(10px, 2vw, 12px); 
    margin-bottom: 1.5rem; 
    display: block; 
    text-align: center;
}
.btn-asset:hover, .btn-asset-waitlist:hover, .btn-asset-luxe:hover, .btn-asset-cta:hover {
    background: transparent !important;
    color: var(--gold) !important;
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.3) !important;
    transform: translateY(-3px) !important;
}

/* ==========================================
   4. PRODUCTOS Y TABLAS (INDEX)
   ========================================== */
.section-padding { padding: 8rem 5%; max-width: 1300px; margin: 0 auto; }

.product-block { display: flex; flex-direction: column; margin-bottom: 8rem; background: var(--surface); border-radius: 4px; overflow: hidden; }
.product-img-container img { width: 100%; height: 450px; object-fit: cover; filter: grayscale(100%); transition: 1s; }
.product-block:hover img { filter: grayscale(0%); transform: scale(1.02); }
.product-info { padding: 4rem 3rem; display: flex; flex-direction: column; align-items: flex-start; }
.description { margin-bottom: 3.5rem !important; color: #999; font-size: 15px; line-height: 1.8; }

.overflow-x-auto { 
    width: 100% !important; overflow-x: auto !important; background: rgba(20, 20, 20, 0.5); 
    border-radius: 8px; margin: 2rem 0; border: 1px solid rgba(197, 160, 89, 0.15); 
    -webkit-overflow-scrolling: touch;
}
.investment-table { width: 100%; border-collapse: collapse; min-width: 550px; font-size: 13px; }
.investment-table th { color: var(--gold); text-transform: uppercase; padding: 20px; border-bottom: 2px solid rgba(197, 160, 89, 0.3); text-align: left; }
.investment-table td { padding: 20px 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #CCC; }

/* ==========================================
   5. WIDGET PREDICTOR IA (REPARADO)
   ========================================== */
#waitlist-predictor { padding: 2rem 5% 8rem; } /* Espaciado ajustado para no verse apartado */

.waitlist-container {
    max-width: 1000px; margin: 0 auto;
    background: linear-gradient(145deg, #151515 0%, #0F0F0F 100%);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 5rem 2rem; text-align: center; border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.waitlist-text {
    color: #888; font-size: 16px; max-width: 600px;
    margin: 0 auto 3.5rem !important; /* Espacio para el botón */
    line-height: 1.8;
}

/* ==========================================
   6. MODAL DE CONTACTO LUXE (REPARADO)
   ========================================== */
.modal-overlay { 
    position: fixed !important; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.98); backdrop-filter: blur(15px);
    display: none !important; /* Oculto por defecto */
    justify-content: center; align-items: center; 
    z-index: 10000000; padding: 20px;
}
.modal-overlay.active { display: flex !important; }

.modal-content-luxe { 
    background: #111; border: 1px solid var(--gold); 
    padding: 4rem 3rem; width: 100%; max-width: 500px; 
    position: relative; text-align: center; border-radius: 4px;
    max-height: 90vh; overflow-y: auto;
}

.close-modal-luxe { position: absolute; top: 20px; right: 20px; font-size: 30px; color: var(--gold); border: none; background: transparent; cursor: pointer; }

/* Formulario con Etiquetas Flotantes */
.patina-form-luxe .form-group { position: relative; margin-bottom: 2.2rem; text-align: left; }
.patina-form-luxe input, .patina-form-luxe select, .patina-form-luxe textarea { 
    width: 100%; background: transparent; border: none; border-bottom: 1px solid #333; 
    padding: 10px 0; color: #fff; outline: none; font-family: 'Montserrat', sans-serif;
}
.patina-form-luxe label { position: absolute; top: 10px; left: 0; color: #666; font-size: 12px; pointer-events: none; transition: 0.4s; text-transform: uppercase; }

/* Efecto Flotante */
.patina-form-luxe input:focus ~ label, 
.patina-form-luxe input:not(:placeholder-shown) ~ label,
.patina-form-luxe select:focus ~ label,
.patina-form-luxe select:valid ~ label,
.patina-form-luxe textarea:focus ~ label,
.patina-form-luxe textarea:not(:placeholder-shown) ~ label { 
    top: -18px; font-size: 10px; color: var(--gold); 
}
/* --- BOTÓN CANCELAR REFINADO --- */
.btn-cancel-luxe {
    display: block !important;
    width: 100%;
    background: transparent !important;
    color: #888 !important; /* Gris discreto para no competir con el dorado */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Borde muy fino */
    padding: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    margin-top: 1.2rem !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-align: center !important;
    font-family: 'Montserrat', sans-serif;
    border-radius: 2px;
}

.btn-cancel-luxe:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.05) !important; /* Brillo sutil al pasar el ratón */
}

/* ==========================================
   FIX ESPECÍFICO PARA PÁGINAS DOSSIER
   ========================================== */

/* 1. Ajuste de Cabecera y Contenedor */
.dossier-header-clean {
    padding: 160px 1.5rem 60px !important; /* Espacio para que la nav fija no tape el título */
    text-align: center;
    background: linear-gradient(to bottom, #1a1a1a, #0F0F0F);
    border-bottom: 1px solid #222;
}

.dossier-container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 4rem 1.5rem !important;
}

/* 2. Tarjetas de Inversión y Separación */
/* 2. Tarjetas de Inversión y Separación */
.investment-card {
    border: 1px solid rgba(197, 160, 89, 0.15) !important;
    background: linear-gradient(145deg, #151515 0%, #0F0F0F 100%) !important;
    margin-bottom: 6rem !important; 
    padding: 3.5rem 2.5rem !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7) !important;
    border-radius: 4px;
}

/* FIX ESPECÍFICO PARA LOS TÍTULOS H2 EN DOSSIER */
.investment-card h2 {
    font-family: 'Playfair Display', serif !important; /* Fuente de lujo */
    font-style: italic !important;
    font-size: 2.2rem !important; /* Mucho más grande que el párrafo */
    color: var(--gold) !important; /* Color oro */
    margin-bottom: 2rem !important; /* Separación con el párrafo */
    display: block !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    text-align: ceter;
}

/* Si usas h3 dentro de las cards (como en Evolución de Valor) */
.investment-card h3 {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-size: 1.8rem !important;
    color: var(--gold) !important;
    margin-bottom: 1.5rem !important;
}
/* 3. Estilo de Tablas Técnicas dentro de Dossier */
.dossier-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 2rem 0 !important;
}

.dossier-table th {
    color: var(--gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 15px !important;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3) !important;
    background: rgba(0,0,0,0.2) !important;
    font-size: 11px !important;
    text-align: left;
}

.dossier-table td {
    padding: 18px 15px !important;
    border-bottom: 1px solid #222 !important;
    color: #ccc !important;
    font-size: 14px;
}

/* Fila resaltada (Año Actual) */
.row-highlight td {
    background: rgba(197, 160, 89, 0.1) !important;
    border-top: 1px solid var(--gold) !important;
    border-bottom: 1px solid var(--gold) !important;
    color: #fff !important;
}

/* 4. Estilo para los Desplegables (Dudas de Inversores) */
details {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.3s ease;
}

details[open] {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    outline: none;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

/* 5. Listas de Autoridad (Puntos de Autenticidad) */
.authority-list {
    list-style: none !important;
    padding: 0 !important;
}

.authority-list li {
    position: relative !important;
    padding-left: 2rem !important;
    margin-bottom: 1.5rem !important;
    color: #aaa !important;
    line-height: 1.6 !important;
}

.authority-list li::before {
    content: "•" !important;
    color: var(--gold) !important;
    position: absolute !important;
    left: 0 !important;
    font-size: 1.8rem !important;
    top: -5px !important;
}

/* 6. Banner de Garantía y Botones finales */
.purchase-vault-section {
    background: rgba(197, 160, 89, 0.03) !important;
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
    padding: 3rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}
/* 7. CENTRAR CTA EN DOSSIERS */

.table-cta-container {
    text-align: center !important; /* Centra el texto y el botón inline */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centra el botón si es bloque */
    justify-content: center !important;
    margin: 3rem auto 1rem !important; /* Espaciado vertical */
    padding-top: 2rem !important;
    border-top: 1px solid rgba(197, 160, 89, 0.1); /* Línea divisoria sutil */
    width: 100% !important;
}

.cta-hint {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    color: #888 !important;
    font-size: 12px !important;
    letter-spacing: 1px;
}

.btn-asset-cta {
    margin: 0 auto !important; /* Centrado extra por margen */
    display: inline-block !important;
    min-width: 300px; /* Tamaño consistente para el botón */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .btn-asset-cta {
        width: 100% !important; /* En móvil el botón ocupa todo el ancho */
        min-width: unset;
    }
}

@media (min-width: 768px) {
    .purchase-vault-section {
        flex-direction: row !important;
        justify-content: space-between !important;
    }
}

/* Estilo para los botones de plataforma (Watchfinder, etc) */
.btn-asset-cta, .purchase-action .btn-asset {
    width: auto !important;
    min-width: 280px;
}

/* ==========================================
   6. CHATBOT Y TRIGGER (BURBUJAS DE CHAT)
   ========================================== */

/* Burbuja circular principal */
#chat-bubble { 
    position: fixed !important; 
    bottom: 25px !important; 
    right: 25px !important; 
    width: 60px; 
    height: 60px; 
    background-color: var(--gold) !important; 
    border-radius: 50%; 
    display: flex !important; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    z-index: 9999999; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.5); 
    transition: transform 0.3s ease;
}
#chat-bubble:hover { transform: scale(1.1); }
#chat-bubble svg { stroke: #000; width: 28px; height: 28px; }

/* Globo de texto "¿Analizamos este reloj?" */
.chat-trigger-balloon {
    position: fixed !important;
    bottom: 95px !important; /* Altura de burbuja(60) + bottom(25) + gap(10) */
    right: 25px !important;
    background: #1A1A1A !important;
    border: 1px solid var(--gold) !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    z-index: 9999998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    pointer-events: none;
}

.chat-trigger-balloon.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.trigger-text { color: var(--gold); font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; white-space: nowrap; }

.trigger-arrow {
    position: absolute; bottom: -6px; right: 22px; width: 12px; height: 12px;
    background: #1A1A1A; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
    transform: rotate(45deg);
}

/* Ventana de Chat */
#chat-window { 
    display: none; 
    position: fixed !important; 
    bottom: 100px; 
    right: 25px; 
    width: 350px; 
    max-width: 85vw; 
    height: 500px; 
    max-height: 70vh; 
    background-color: var(--surface); 
    border: 1px solid var(--gold); 
    z-index: 9999999; 
    flex-direction: column; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
    overscroll-behavior: contain;
}

#chat-window.active { display: flex !important; }

.chat-header { 
    background: var(--gold); padding: 1rem; color: #000; font-weight: 700; font-size: 12px; text-transform: uppercase; 
}

.chat-body { 
    flex-grow: 1; padding: 1.2rem; overflow-y: auto !important; background: #0F0F0F; 
    display: flex; flex-direction: column; gap: 15px; /* Espacio entre burbujas */
}

/* --- ESTILO BURBUJAS --- */

/* Burbuja de la IA (Izquierda) */
.ai-msg { 
    align-self: flex-start;
    max-width: 85%;
    background: #1A1A1A;
    color: #eee;
    padding: 12px 16px;
    border-radius: 15px 15px 15px 0px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    font-size: 13px;
    line-height: 1.5;
    position: relative;
}

/* Burbuja del Usuario (Derecha - Inyectada por JS) */
#chat-content div[style*="text-align: right"] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#chat-content div[style*="text-align: right"] span {
    background: var(--gold) !important;
    color: #000 !important;
    padding: 10px 16px !important;
    border-radius: 15px 15px 0px 15px !important;
    font-weight: 500;
    max-width: 85%;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Footer del chat */
.chat-footer { padding: 12px; background: var(--surface); border-top: 1px solid #333; }
.chat-footer input { 
    width: 100%; background: #000; border: 1px solid #444; padding: 12px; color: white; 
    border-radius: 20px; /* Redondeado estilo chat moderno */
    outline: none; font-size: 16px; 
}
/* ==========================================
   8. FOOTER REESTRUCTURADO (LOGO IZQ - TEXTO DER)
   ========================================== */
.footer-patina { padding: 5rem 5%; border-top: 1px solid rgba(197, 160, 89, 0.1); background-color: #080808; }
.footer-flex-container { 
    max-width: 1200px; margin: 0 auto; 
    display: flex; align-items: center; justify-content: space-between; gap: 40px; 
}
.disclosure { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 1px; margin: 0; line-height: 1.6; max-width: 700px; text-align: left; }
/* ==========================================
   9. GESTIÓN DE COOKIES (ESTILO LUXE)
   ========================================== */
.cookie-vault-banner {
    position: fixed !important;
    bottom: -150px; /* Empieza oculto fuera de pantalla */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 850px;
    
    /* Efecto Cristal Ahumado */
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Borde dorado técnico */
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    padding: 20px 30px;
    
    /* Prioridad máxima (por encima del chatbot) */
    z-index: 2147483647 !important; 
    
    border-radius: 4px;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.9);
    transition: bottom 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Clase que activa el JS para subir el banner */
.cookie-vault-banner.active {
    bottom: 25px !important;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    flex: 1;
    font-size: 12px;
    color: #AAA;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* El texto "Protocolo de Privacidad" */
.cookie-text span {
    font-size: 14px;
    margin-right: 10px;
    display: inline-block;
}

.cookie-link {
    color: var(--gold);
    text-decoration: underline !important;
    font-weight: 500;
    transition: color 0.3s;
}

.cookie-link:hover {
    color: #fff;
}

/* Botón Aceptar Cookies */
.btn-cookie-accept {
    background: var(--gold) !important;
    color: #000 !important;
    border: 1px solid var(--gold) !important;
    padding: 10px 25px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background: transparent !important;
    color: var(--gold) !important;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .cookie-vault-banner {
        padding: 20px;
        width: 90%;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .btn-cookie-accept {
        width: 100%; /* Botón ancho total en móvil */
    }
}

/* ==========================================
   9. RESPONSIVE
   ========================================== */
@media (min-width: 769px) {
    .grid-container { flex-direction: row; }
    .product-block { flex-direction: row; }
    .product-img-container, .product-info { width: 50%; }
}

@media (max-width: 768px) {
    .hamburger { display: flex !important; }
    .nav-links {
        display: none !important; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: #0a0a0a; flex-direction: column; align-items: center; justify-content: center; z-index: 10000;
    }
    .nav-links.active { display: flex !important; }
    .footer-flex-container { flex-direction: column; text-align: center; }
    .disclosure { text-align: center; }
}
/* --- ESTILO PARA EL ENLACE DE EMAIL --- */
.email-link {
    color: var(--gold) !important; /* Mantenemos el dorado de la marca */
    text-decoration: none; /* Quitamos el subrayado feo por defecto */
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

/* Efecto al pasar el ratón */
.email-link:hover {
    color: #ffffff !important; /* Cambia a blanco puro para destacar */
    transform: translateY(-1px); /* Pequeño movimiento hacia arriba */
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.4); /* Brillo dorado sutil */
}

/* Línea decorativa inferior que aparece al hacer hover */
.email-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.email-link:hover::after {
    width: 100%;
}
/* Botones rápidos dentro del chat */
.chat-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-left: 10px;
}

.chat-quick-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-quick-btn:hover {
    background: var(--gold);
    color: #000;
}

/* Animación de puntos suspensivos */
.typing-dots span {
    animation: blink 1.4s infinite both;
    font-weight: bold;
}
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}
.btn-asset-luxe {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #C5A059 0%, #A68545 100%);
    color: #000 !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-asset-luxe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
    filter: brightness(1.1);
}

/* ==========================================
   TICKER Y NEWS FLASH (ESTILO BLOOMBERG)
   ========================================== */

/* Animación del Ticker */
.market-ticker-wrap {
    position: fixed;
    top: calc(var(--nav-height) + 40px); /* Debajo de Nav y Alerta */
    left: 0;
    width: 100%;
    background: #000;
    border-bottom: 1px solid #222;
    z-index: 9997;
    height: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: tickerLoop 30s linear infinite;
}

@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #888;
    margin-right: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trend-up { color: #2ecc71; margin-left: 5px; }
.trend-down { color: #e74c3c; margin-left: 5px; }
.trend-stable { color: #3498db; margin-left: 5px; }

/* Tarjetas de Noticias Flash */
.news-card {
    background: var(--surface);
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    padding: 2rem;
    transition: var(--transition);
}

.news-card:hover {
    border-left-color: var(--gold);
    background: rgba(197, 160, 89, 0.02);
}

.news-date {
    font-size: 9px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* --- AJUSTE DE CONTENIDO --- */
.hero-vault {
    padding-top: 190px !important; /* Compensamos Nav + Alerta + Ticker */
}

/* ==========================================
   STATUS BAR: TERMINAL DE INTELIGENCIA
   ========================================== */
.intelligence-status-bar {
    position: fixed;
    top: var(--nav-height); /* Se pega al final de la nav (80px) */
    left: 0;
    width: 100%;
    background: rgba(212, 175, 55, 0.05); /* Oro muy sutil */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding: 8px;
    text-align: center;
    z-index: 9998; /* Un nivel debajo de la nav principal */
}

.intelligence-status-bar p {
    color: var(--gold) !important;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 !important;
    font-weight: 500;
}

/* Punto parpadeante de "Sistema Activo" */
.status-dot {
    color: #2ecc71; /* Verde éxito */
    margin-right: 5px;
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* ==========================================
   AJUSTE DE ALTURA PARA TODA LA WEB
   ========================================== */
/* Al añadir una barra de 30px extra, debemos empujar el contenido 
   hacia abajo para que el inicio de las páginas no se tape */

.hero-vault {
    padding-top: 130px !important; /* Ajustado para Nav + Status Bar */
}

.dossier-header-clean {
    padding-top: 160px !important; /* Ajustado para Dossiers */
}

/* Si tienes la zona de compra, también el padding inicial */
main.dossier-container {
    padding-top: 180px !important;
}
/* ==========================================
   RECUPERACIÓN: PUNTO ROJO LIVE PULSE
   ========================================== */
.live-dot {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background-color: #ff3b30 !important; /* Rojo vibrante */
    border-radius: 50% !important;
    margin-left: 15px;
    vertical-align: middle;
    position: relative !important;
    top: -2px;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
    z-index: 10;
}

/* El efecto de onda expansiva (el parpadeo) */
.live-dot::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #ff3b30 !important;
    border-radius: 50% !important;
    z-index: -1 !important;
    animation: live-pulse-ring 2s infinite ease-out !important;
}

/* Animación de la onda */
@keyframes live-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}