
        :root {
            --bg-deep: #080706; /* Fondo negro carbón profundo con calidez */
            --bg-card: rgba(23, 20, 16, 0.8);
            --neon-gold: #f59e0b; /* Dorado / Ámbar principal */
            --gold-glow: rgba(245, 158, 11, 0.25);
            --border-tech: rgba(245, 158, 11, 0.2);
        }


        html, body {
            max-width: 100% !important;
            overflow-x: hidden !important;
            position: relative;
        }


        body {
            background-color: var(--bg-deep);
            color: #f3f4f6;
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
        }

        /* Fondo con iluminación ambiental dorada responsiva */
        .ambient-glow {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;             /* Se adapta a la pantalla */
            max-width: 900px;        /* Límite máximo en computadoras */
            height: 600px;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(8, 7, 6, 0) 70%);
            z-index: 0;
            pointer-events: none;
            overflow: hidden;        /* Evita que desborde el viewport */
            
            animation: floatGlow 10s ease-in-out infinite alternate;
            will-change: transform, opacity;
        }

        /* Ajuste de espacio para que el menú colapsado en pantallas reducidas no transparente el fondo */
    /* NAVBAR RESPONSIVA CRISTAL (Glasseada y centrada) */
        /* NAVBAR RESPONSIVA CRISTAL (Ajustada al viewport) */
        .tech-navbar-clean {
            background: rgba(18, 15, 12, 0.85) !important;
            backdrop-filter: blur(20px) !important;
            -webkit-backdrop-filter: blur(20px) !important;
            border: 1px solid rgba(245, 158, 11, 0.25) !important;
            border-radius: 1.25rem !important;
            
            /* Ancho dinámico que jamás desborda */
            width: calc(100% - 1.5rem) !important;
            max-width: 1320px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            transition: all 0.3s ease !important;
        }

        @media (max-width: 576px) {
            .tech-navbar-clean {
                width: calc(100% - 1rem) !important; /* Ajuste milimétrico para móviles pequeños */
            }
        }

        @media (max-width: 576px) {
            .btn-scroll-top {
                right: 15px !important;
                bottom: 20px !important;
                width: 42px !important;
                height: 42px !important;
            }
        }

        /* Tarjetas estilo Glassmorphism Luxury Tech */
        .tech-card {
            background: var(--bg-card);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--border-tech);
            border-radius: 1.25rem;
            transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .tech-card:hover {
            border-color: var(--neon-gold);
            box-shadow: 0 0 25px var(--gold-glow);
            transform: translateY(-4px);
        }

        .text-gold {
            color: var(--neon-gold) !important;
        }

        /* Botón con brillo dorado elegante */
        .btn-tech-glow {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #080706;
            font-weight: 600;
            border: none;
            box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
            transition: all 0.3s ease;
        }

        .btn-tech-glow:hover {
            box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
            transform: translateY(-2px);
            color: #080706;
        }

        /* Estilo para el acordeón FAQ oscuro / dorado */
        .accordion-item {
            background-color: var(--bg-card) !important;
            border: 1px solid var(--border-tech) !important;
            color: #fff !important;
            margin-bottom: 1rem;
            border-radius: 0.75rem !important;
            overflow: hidden;
        }
        .accordion-button {
            background-color: rgba(23, 20, 16, 0.9) !important;
            color: #fff !important;
            box-shadow: none !important;
        }
        .accordion-button:not(.collapsed) {
            color: var(--neon-gold) !important;
            background-color: rgba(245, 158, 11, 0.05) !important;
        }
        .accordion-body {
            color: #9ca3af !important;
        }

        /* Animación de entrada por JS */
        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }
    
/* Clase robusta para contenedores de imágenes médicas */
.img-container-fluid {
    width: 100%;
    height: 220px; /* Ajusta la altura fija que prefieras para las tarjetas */
    background-color: rgba(0, 0, 0, 0.3); /* Fondo sutil por si la imagen es PNG transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.75rem;
}

.img-container-fluid img {
    width: 100%;
    height: 100%;
    /* Cambia a 'contain' si no quieres que se recorte NADA de la foto, 
       o déjala en 'cover' si quieres que llene todo manteniendo una proporción fija */
    object-fit: contain; 
    transition: transform 0.3s ease;
}

/* Opcional: Un zoom sutil y elegante al pasar el cursor */
.tech-card:hover .img-container-fluid img {
    transform: scale(1.03);
}



/* Estilos para el Formulario de Contacto - Luxury Tech */

/* Borde divisor responsivo entre columnas */
.border-end-tech {
    border-right: 1px solid rgba(245, 158, 11, 0.15) !important;
}

@media (max-width: 991.98px) {
    .border-end-tech {
        border-right: none !important;
        border-bottom: 1px solid rgba(245, 158, 11, 0.15) !important;
    }
}

/* Campos de texto oscuros estilizados */
.tech-input {
    background-color: rgba(8, 7, 6, 0.6) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    color: #f3f4f6 !important;
    border-radius: 0.6rem !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
}

.tech-input::placeholder {
    color: #6b7280 !important;
    font-size: 0.9rem;
}

/* Estado Focus (Foco con brillo dorado) */
.tech-input:focus {
    background-color: rgba(15, 13, 10, 0.9) !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3) !important;
    outline: none !important;
}

/* Caja de iconos en la columna de info */
.tech-icon-box {
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Estilo base idéntico a tech-card pero sin transformaciones ni animación 3D */
.tech-card-static {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-tech);
    border-radius: 1.25rem;
}


/* EFECTO 1 CORREGIDO: Brillo Ambiental Flotante */
.ambient-glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 900px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(8, 7, 6, 0) 70%);
    z-index: 0;
    pointer-events: none;
    
    /* Aplicamos la animación directa */
    animation: floatGlow 10s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

/* Animación corregida manteniendo el centrado horizontal fijo */
@keyframes floatGlow {
    0% {
        transform: translate(-50%, 0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-48%, 25px) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-52%, -15px) scale(1.05);
        opacity: 0.7;
    }
}


/* ==========================================================================
   5. BOTÓN FLOTANTE VOLVER AL INICIO (ARCOÍRIS SPECTRA CORREGIDO)
   ========================================================================== */

/* 1. Registrar la variable de ángulo para que la animación conic-gradient funcione */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotarBorde {
  to {
    --angle: 360deg;
  }
}

.btn-scroll-top {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    width: 48px; 
    height: 48px; 
    color: #38bdf8; /* Color cian neón de ChiroFull por defecto */
    background: linear-gradient(#0b0f19, #0b0f19) padding-box,
                conic-gradient(from var(--angle), #00f2ff, #a600ff, #39ff14, #ff0055, #00f2ff) border-box;
    border: 2px solid transparent; 
    border-radius: 50%; 
    font-size: 1.1rem; 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999; /* Asegurar que quede por encima de todo */
    
    /* Estado oculto */
    opacity: 0; 
    visibility: hidden;
    transform: translateY(15px);
    
    /* Animación del borde continuo + transiciones */
    animation: rotarBorde 3s linear infinite;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, color 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Estado visible al hacer scroll */
.btn-scroll-top.show { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

/* Efectos al pasar el mouse (Hover) */
.btn-scroll-top.show:hover { 
    color: #ffffff; 
    transform: translateY(-5px); 
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5); 
}

.btn-scroll-top:active { 
    transform: translateY(-2px); 
}


/* ESTILOS PARA MODAL LUXURY TECH */

/* Fondo del contenido del modal con cristal y borde dorado */
.tech-modal-content {
    background: rgba(18, 15, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.15) !important;
}

/* Oscurecimiento del fondo al abrir el modal */
.modal-backdrop.show {
    opacity: 0.8 !important;
    background-color: #050403 !important;
}

/* Transición suave al abrir */
.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}