
/* ==========================================
   DNP Recovery - Estilos Modulares NAS / SAN
   ========================================== */

:root {
    --nas-blue-dark: #1B4F9B;
    --nas-blue-light: #499ED7;
    --nas-danger: #DC3545;
    --nas-bg: #F8F9FA;
    --nas-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --nas-radius: 0.5rem;
}

/* Estilos Generales y Secciones */
.nas-section {
    position: relative;
}

.nas-hero {
    background: linear-gradient(135deg, var(--nas-blue-dark), var(--nas-blue-light));
    min-height: 80vh;
    padding: 100px 0;
}

/* Tarjetas y Componentes */
.nas-card {
    border-radius: var(--nas-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nas-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--nas-shadow);
}

/* Plataformas y Elementos de Grilla */
.nas-platform {
    font-weight: 600;
    color: var(--nas-blue-dark);
    border-radius: var(--nas-radius);
    transition: all 0.2s ease-in-out;
}

.nas-platform:hover {
    background-color: var(--nas-blue-light) !important;
    color: #FFFFFF;
}

/* Breadcrumbs y FAQ */
.nas-breadcrumb .breadcrumb-item a {
    color: var(--nas-blue-light);
    text-decoration: none;
}

.nas-breadcrumb .breadcrumb-item.active {
    color: #FFFFFF;
}

.nas-faq .accordion-button:not(.collapsed) {
    background-color: var(--nas-blue-light);
    color: #FFFFFF;
}

/* Botones y CTAs */
.nas-cta {
    border-radius: var(--nas-radius);
    font-weight: 600;
}

/* Bloque de Respuesta Directa */
.nas-direct-answer {
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 4px solid var(--nas-danger);
    padding-left: 1rem;
}

















 /* ==========================================
   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*/