

/* ==========================================================================
   Extensiones UI/UX para el Nuevo Hero de Alta Gama (recovery-ssd.css)
   ========================================================================== */

/* Fondo oscuro corporativo con trama técnica opcional */
.bg-dark {
    background-color: #0f172a !important;
}

.hero-bg-overlay {
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Efecto cristal translúcido para microetiquetas */
.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Sombra avanzada para tarjetas flotantes */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Tipografía y acentos en Hero */
.text-primary-emphasis {
    color: #60a5fa !important;
}

.fs-8 {
    font-size: 0.65rem;
}

.mt-0-5 {
    margin-top: 0.15rem;
}

.bg-soft-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-dark-enterprise {
    background-color: #0b0f19;
    background-image: radial-gradient(circle at 10% 20%, rgba(13, 110, 253, 0.08) 0%, transparent 40%);
}

.bg-surface-dark {
    background-color: #131b2e !important;
}

.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-lg-9 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

/* Patrón de grillas técnico de fondo */
.tech-grid-pattern {
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Efecto de brillo difuso controlado */
.lab-glow-effect {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Indicador de pulso activo para simular disponibilidad del especialista */
.pulse-indicator {
    width: 8px;
    height: 8px;
    display: inline-block;
    box-shadow: 0 0 0 rgba(25, 135, 84, 0.4);
    animation: industrialPulse 2s infinite;
}

@keyframes industrialPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(25, 135, 84, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

.tracking-wide {
    letter-spacing: 0.08em;
}

.transition-all {
    transition: all 0.25s ease-in-out;
}

.transition-all:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}



.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.py-lg-8 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.transition-hover {
    transition: all 0.25s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}
.transition-hover:hover {
    transform: translateY(-3px;);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08) !important;
}
.accordion-button:not(.collapsed) {
    color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.03) !important;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}






 /* ==========================================
   HEADER & NAVBAR COMPLETE - DNP RECOVERY
   ========================================== */

/* --- PROTECCIÓN Y AISLAMIENTO DE ESTILOS (OVERRIDE DE MAIN) --- */
.topbar ul,
.topbar li,
.navbar-nav,
.navbar-nav li,
.dropdown-menu-custom,
.dropdown-menu-custom li {
  line-height: normal;
  list-style: none;
}
.navbar {
  padding-top:20px !important;
  padding-bottom: 20px !important;
}

.nav-link-custom {
  font-size: 1rem !important;
  line-height: 1.4 !important;
}

.dropdown-item-custom {
  font-size: 0.875rem !important;
  line-height: 1.35 !important;
}
/* ------------------------------------------------------------- */

@media (min-width: 1200px) and (hover: hover) {
  /* Preparación del contenedor para perspectiva */
  .navbar-nav .nav-item.dropdown {
    perspective: 1000px;
    position: relative;
  }

  /* Estado Base Oculto */
  .dropdown-menu-custom {
    display: block !important; /* Forzar bloque para que CSS gestione la animación */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform-origin: top center;
    transform: rotateX(-12deg) translateY(15px) scale(0.96);
    filter: blur(4px);
    transition: 
      opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.28s;
    
    /* Detalle visual: Micro-barra de acento brillante en la parte superior del menú */
    border-top: 3px solid #dc3545 !important;
  }

  /* Estado Activo al pasar el Cursor (Hover) */
  .navbar-nav .nav-item.dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: blur(0px);
    transform: rotateX(0deg) translateY(0) scale(1);
  }

  /* Animación Sutil e Independiente para los Items Internos (Efecto Cascada) */
  .navbar-nav .nav-item.dropdown:hover .dropdown-item-custom {
    animation: itemSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}

/* Keyframes de entrada suave para los items del submenú */
@keyframes itemSlideIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Barra Superior (TopBar) */
.topbar {
  background-color: #1a1e21;
  font-size: 0.85rem !important;
  line-height: 1.3 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-badge {
  font-size: 0.75rem !important;
  letter-spacing: 0.5px;
  padding: 0.35em 0.65em;
}

.topbar-text {
  color: #d1d5db;
}

/* Forzado de color celeste/blanco brillante para iconos en fondo oscuro */
.topbar i.topbar-icon-mail {
  color: #ffffff !important;
  font-size: 0.9rem !important;
}

.topbar i.topbar-icon-white {
  color: #ffffff !important;
}

.topbar-link {
  color: #ffffff;
  transition: color 0.2s ease-in-out;
}

.topbar-link:hover {
  color: #6ea8fe;
  text-decoration: none;
}

.topbar-link-ws {
  color: #25d366; /* Verde Oficial WhatsApp */
  transition: opacity 0.2s ease-in-out;
}

.topbar-link-ws:hover {
  color: #1eb857;
  opacity: 0.9;
}

.topbar-divider {
  color: #495057;
}

/* Navbar Principal */
.logo-navbar {
  height: auto;
  max-width: 100%;
}

.nav-link-custom {
  color: #212529;
  font-weight: 600;
  padding: 0.5rem 0.8rem !important;
  transition: color 0.2s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: #dc3545 !important; /* Rojo Corporativo / Emergencia */
}

/* Dropdown Menu Personalizado */
.dropdown-menu-custom {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.75rem 0;
  min-width: 300px;
}

.dropdown-header-custom {
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0d6efd;
  font-weight: 700;
  padding: 0.5rem 1.25rem 0.25rem;
}

.dropdown-item-custom {
  padding: 0.6rem 1.25rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.2s ease;
}

.dropdown-item-custom:hover {
  background-color: #f8f9fa;
  color: #dc3545;
  padding-left: 1.5rem;
}

/* Botón Call To Action (CTA Navbar) */
.btn-cta-navbar {
  font-size: 0.875rem !important;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-navbar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(220, 53, 69, 0.35);
}
/* FIN NAVBAR NUEVO */


/*FOOTER*/

/* ==========================================
   FOOTER ALINEADO A PALETA DNP RECOVERY
   ========================================== */

.footer-b2b {
  /* Azul Marino Profundo extraído de la tipografía DNP */
  background-color: #0f1e36; 
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  border-top: 3px solid #2993d8; /* Línea de acento con el azul de RECOVERY */
}

/* Títulos de Columna */
.footer-b2b .footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

/* Subrayado con el Azul brillante de RECOVERY */
.footer-b2b .footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background-color: #2993d8;
  border-radius: 2px;
}

/* Bloques e Iconos de Contacto */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: #e2e8f0;
}

.footer-contact-item i {
  color: #2993d8; /* Azul claro de la marca para iconos */
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #2993d8;
  text-decoration: underline;
}

/* Enlaces de Menú / Soluciones */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #2993d8;
  transform: translateX(3px);
}

.footer-links a i {
  color: #2993d8;
}

/* Botones y Badges integrados en la paleta */
.btn-outline-brand {
  border: 1px solid #2993d8;
  color: #ffffff;
  background-color: transparent;
  transition: all 0.2s ease;
}

.btn-outline-brand:hover {
  background-color: #2993d8;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(41, 147, 216, 0.3);
}

/* Badges de Partners en contenedor Azul Noche */
.footer-partner-badge {
  background-color: #172847;
  border: 1px solid #253a63;
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-partner-badge img {
  max-height: 40px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-partner-badge:hover img {
  opacity: 1;
}

/* Pie Inferior (Copyright) */
.footer-bottom {
  background-color: #081121; /* Azul noche más oscuro para cierre visual */
  border-top: 1px solid #1e3256;
  padding: 1.1rem 0;
  font-size: 0.825rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #2993d8;
}


.logo-container-white {
  display: inline-block;
  background-color: rgba(255, 255, 255
  ); /* Blanco translúcido equilibrado */
  border: 1px solid rgba(255, 255, 255);  /* Borde blanco tenue */
  backdrop-filter: blur(4px);                  /* Desenfoque suave de fondo */
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
}
/*FIN FOOTER*/