/* =================================================================at
   DNP RECOVERY - RECOVERY-HDD.CSS
   Estilos específicos para la Pila de Recuperación de HDD (Bootstrap 5)
   =================================================================== */

/* Importación de Montserrat desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --hdd-primary: #1B4F9B;
  --hdd-accent: #499ED7;
  --hdd-danger: #DC3545;
  --hdd-light: #F8F9FA;
  --hdd-dark: #212529;
  --hdd-gray: #6C757D;
  --hdd-border: #E9ECEF;
  --hdd-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
  --hdd-shadow-hover: 0 1rem 2rem rgba(27, 79, 155, 0.12);
  --hdd-transition: all 0.3s ease-in-out;
}

/* Base & Typography */
.hdd-wrapper {
  color: var(--hdd-dark);
   font-family: 'Montserrat', sans-serif, system-ui, -apple-system;
  line-height: 1.6;
}

.hdd-wrapper h1, .hdd-wrapper h2, .hdd-wrapper h3, .hdd-wrapper h4, .hdd-wrapper h5, .hdd-wrapper h6 {
  color: var(--hdd-primary);
  font-weight: 700;
}

/* Hero Section */
.hdd-hero {
  background: linear-gradient(135deg, #0d2b5c 0%, var(--hdd-primary) 100%);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hdd-hero h1 {
  color: #ffffff;
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

.hdd-hero p.lead {
  color: #e2e8f0;
  font-size: 1.25rem;
}

.hdd-badge-emergency {
  background-color: var(--hdd-danger);
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.hdd-hero-stats {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

/* Cards & Components */
.hdd-card {
  background: #ffffff;
  border: 1px solid var(--hdd-border);
  border-radius: 0.75rem;
  box-shadow: var(--hdd-shadow);
  transition: var(--hdd-transition);
  height: 100%;
}

.hdd-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hdd-shadow-hover);
  border-color: var(--hdd-accent);
}

.hdd-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(73, 158, 215, 0.1);
  color: var(--hdd-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--hdd-transition);
}

.hdd-card:hover .hdd-card-icon {
  background: var(--hdd-primary);
  color: #ffffff;
}

/* Warnings / Don'ts Section */
.hdd-warning-box {
  background-color: #fff5f5;
  border-left: 4px solid var(--hdd-danger);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.5rem;
  box-shadow: var(--hdd-shadow);
}

.hdd-warning-box h4 {
  color: var(--hdd-danger);
}

/* Timeline Process */
.hdd-timeline {
  position: relative;
  padding-left: 2rem;
}

.hdd-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--hdd-accent);
}

.hdd-timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.hdd-timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hdd-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(73, 158, 215, 0.3);
}

/* Sticky CTA for Mobile */
@media (max-width: 991.98px) {
  .hdd-mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    padding: 0.75rem 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*/