 
 
/* =================================================================aret
   DNP RECOVERY - ESTILOS DE PÁGINA: RECUPERACIÓN RAID B2B
   =================================================================== */

:root {
    --raid-primary: #0f172a;
    --raid-accent: #0284c7;
    --raid-accent-hover: #0369a1;
    --raid-whatsapp: #25d366;
    --raid-whatsapp-hover: #20ba5a;
    --raid-warning-bg: #fff1f2;
    --raid-warning-border: #f43f5e;
    --raid-warning-text: #881337;
    --raid-light-bg: #f8fafc;
    --raid-alt-bg: #f1f5f9;
    --raid-border: #e2e8f0;
}

/* --- Hero Section --- */
.raid-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 80px 0;
}

.raid-badge-hero {
    background-color: rgba(2, 132, 199, 0.15);
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.raid-hero h1 {
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.2;
}

.raid-hero-lead {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.6;
}

.raid-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.raid-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.raid-trust-item i {
    color: #38bdf8;
}

/* --- KPI Panel (Hero Right) --- */
.raid-kpi-panel {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.raid-kpi-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.raid-kpi-row span:first-child {
    color: #94a3b8;
}

.raid-kpi-row span:last-child {
    color: #ffffff;
    font-weight: 600;
}
/* --- Direct Answer Block Mejorado --- */
.raid-direct-answer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--raid-border);
    border-left: 5px solid var(--raid-accent);
    border-radius: 12px;
    padding: 30px;
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.raid-answer-header {
    margin-bottom: 12px;
}

.raid-answer-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--raid-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
}

.raid-answer-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--raid-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.raid-direct-answer p {
    color: #475569;
    font-size: 0.98rem;
}

/* --- Secciones Generales --- */
.raid-section {
    padding: 80px 0;
}

.raid-section-light {
    background-color: var(--raid-light-bg);
}

.raid-section-alt {
    background-color: var(--raid-alt-bg);
}

.raid-section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--raid-accent);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.raid-section-title {
    font-weight: 800;
    color: var(--raid-primary);
    font-size: 2.25rem;
}

.raid-section-intro {
    max-width: 700px;
    font-size: 1.1rem;
}

/* --- Alerta Crítica --- */
.raid-alert-critical {
    background-color: var(--raid-warning-bg);
    border: 2px solid var(--raid-warning-border);
    border-radius: 10px;
    padding: 30px;
    color: var(--raid-warning-text);
}

.raid-alert-critical h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.raid-alert-critical p {
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.raid-alert-critical code {
    background-color: rgba(136, 19, 55, 0.1);
    color: var(--raid-warning-text);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* --- Tarjetas de Niveles RAID --- */
.raid-card {
    background: #ffffff;
    border: 1px solid var(--raid-border);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.raid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.raid-card-icon {
    font-size: 2rem;
    color: var(--raid-accent);
    margin-bottom: 20px;
}

.raid-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--raid-primary);
    margin-bottom: 12px;
}

.raid-card p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* --- Tags de Riesgo --- */
.raid-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.raid-tag-risk-high {
    background-color: #fee2e2;
    color: #991b1b;
}

.raid-tag-risk-medium {
    background-color: #fef3c7;
    color: #92400e;
}

/* --- Plataformas Soportadas --- */
.raid-platform-card {
    background: #ffffff;
    border: 1px solid var(--raid-border);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
}

.raid-platform-card i {
    font-size: 1.75rem;
    color: var(--raid-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.raid-platform-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--raid-primary);
    margin-bottom: 8px;
}

.raid-platform-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* --- Línea de Tiempo (Proceso) --- */
.raid-process {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.raid-process-step {
    background: #ffffff;
    border: 1px solid var(--raid-border);
    border-left: 4px solid var(--raid-accent);
    border-radius: 8px;
    padding: 25px;
}

.raid-process-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--raid-primary);
    margin-bottom: 8px;
}

.raid-process-step p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Tarjetas EEAT --- */
.raid-eeat-card {
    background: #ffffff;
    border: 1px solid var(--raid-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    height: 100%;
}

.raid-eeat-card i {
    font-size: 2.5rem;
    color: var(--raid-accent);
    margin-bottom: 20px;
}

.raid-eeat-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--raid-primary);
    margin-bottom: 12px;
}

.raid-eeat-card p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Formulario B2B --- */
.raid-form-panel {
    background: #ffffff;
    border: 1px solid var(--raid-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.raid-form-note {
    font-size: 0.85rem;
    color: #64748b;
}

/* --- Botones Personalizados --- */
.btn-raid-primary {
    background-color: var(--raid-accent);
    border-color: var(--raid-accent);
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-raid-primary:hover {
    background-color: var(--raid-accent-hover);
    border-color: var(--raid-accent-hover);
    color: #ffffff;
}

.btn-raid-wa {
    background-color: var(--raid-whatsapp);
    border-color: var(--raid-whatsapp);
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-raid-wa:hover {
    background-color: var(--raid-whatsapp-hover);
    border-color: var(--raid-whatsapp-hover);
    color: #ffffff;
}

/* --- CTA Final Banner --- */
.raid-cta-final {
    background: linear-gradient(135deg, var(--raid-primary) 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
}

.raid-cta-final h2 {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 15px;
}

.raid-cta-final p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* --- Responsive Helpers --- */
@media (max-width: 991.98px) {
    .raid-hero h1 {
        font-size: 2.25rem;
    }
    .raid-section-title {
        font-size: 1.85rem;
    }
}




 /* ==========================================
   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*/