/* ==========================================================================
   1. TIPOGRAFÍA CORPORATIVA Y REGLAS GLOBALES
   ========================================================================== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  color: #ffffff;
  line-height: 1.6;
  background-color: #000000; /* Fondo negro absoluto unificado */
  overflow-x: hidden; /* Evita desbordamientos laterales defectuosos */
}

@font-face {
  font-family: "bootstrap-icons";
  src: url("../fonts/bootstrap-icons.woff2") format("woff2"),
       url("../fonts/bootstrap-icons.woff") format("woff");
}

/* --- Tu estilo original (Conservado) --- */
.navbar {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(6, 9, 17, 0.7) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .navbar-brand { display: flex; flex-direction: column; align-items: flex-start; color: #fff; }
.navbar .navbar-brand .logo { height: 50px; width: auto; }
.navbar .nav-link { color: #dcdcdc !important; font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-right: 15px; display: flex; align-items: center; transition: color 0.3s ease; }
.navbar .nav-link i { margin-right: 6px; font-size: 1rem; color: #ffffff; }
.navbar .nav-link:hover { color: #0066ff !important; }

/* --- Dropdown y Submenu (Integrado) --- */

.dropdown-menu {
  background-color: #060911;
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-top: 3px solid #0066ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  min-width: 220px; /* Ajusta este valor según necesites */
  width: max-content; /* Se adapta al contenido más largo automáticamente */
  white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
}

/* --- ESTA LÍNEA ELIMINA EL BORDE HORIZONTAL DE LOS SUBMENÚS --- */
.dropdown-menu .dropdown-menu {
  border-top: none !important;
}

.dropdown-item {
  color: #dcdcdc !important;
  font-size: 0.8rem;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #0066ff !important;
  color: #ffffff !important;
}

/* --- Ajuste específico para la jerarquía multinivel --- */
.dropdown-submenu { position: relative; }

/* Desktop: Menú lateral */
@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    top: 0;
    margin-top: -5px;
    display: none;
    left: 100%; /* Mantiene la posición lateral */
    margin-left: 0; /* Asegura que no haya margen extra que desplace el menú */
  }
  .dropdown-submenu:hover > .dropdown-menu { display: block; }
  
  /* Flecha limpia sin bordes */
  .dropdown-submenu > a::after { 
    content: " ▶"; 
    float: right; 
    font-size: 0.7em; 
    margin-top: 0.2em; 
    border: none !important; 
  }
}

/* Mobile: Menú desplegable integrado */
@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-left: 2px solid #0066ff;
    margin-left: 10px;
  }
  .dropdown-submenu > a::after { content: " ▼"; float: right; border: none !important; }
}

/********/
/* ==========================================================================
   RESETEO GLOBAL DE ESPACIOS MUERTOS (COMPACTACIÓN DE TODA LA WEB)
   ========================================================================== */
html, body, main, section, header, footer, article, aside {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    /***padding-top: 20px !important;
    padding-bottom: 20px !important;*/
}
.container, .container-fluid, .row, .col, [class^="col-"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}
h1:last-child, h2:last-child, h3:last-child, p:last-child, .row:last-child {
    margin-bottom: 0 !important;
}

img, video, iframe, canvas {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   9. FOOTER INDUSTRIAL (.FOOTER-DRONAMEX)
   ========================================================================== */
.footer-dronamex {
  background-color: #060911; 
  color: #ffffff;
  font-family: 'Roboto', Arial, sans-serif; 
  padding: 40px 0 15px 0; 
  font-size: 13px; 
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
}

.footer-column {
  flex: 1;
  min-width: 170px;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px; 
}

.footer-column ul li a {
  color: #8a94a6; 
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: #0066ff; 
}

.brand-column {
  min-width: 200px;
}

@media (max-width: 480px) {
  .footer-column {
    flex: 100%;
  }
  .footer-dronamex {
    padding: 30px 0 15px 0;
  }
}


/*********/



.contact-column {
  min-width: 220px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a94a6;
}

.contact-info i {
  color: #0066ff; 
  width: 14px;
}

.btn-cotizacion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0066ff; 
  color: #ffffff;
  padding: 8px 16px; 
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-top: 15px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-cotizacion:hover {
  background-color: #0052cc;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 30px;
  padding-top: 15px;
}

.bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #626e82;
  font-size: 11px; 
}

.bottom-container a {
  color: #626e82;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bottom-container a:hover {
  color: #ffffff;
}

.separator {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.1);
}



/* ==========================================================================
   ESTILO OPTIMIZADO PARA EL LOGOTIPO DEL FOOTER
   ========================================================================== */
.logo-img {
  max-width: 165px !important; 
  height: auto !important; 
  object-fit: contain !important; 
  margin-bottom: 12px !important;
  transition: none !important; 
}

/**********************/
/* ==========================================================================
   ESTILOS CORREGIDOS Y BLINDADOS PARA REDES SOCIALES
   ========================================================================== */
.social-title {
  color: #ffffff !important;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex !important;
  align-items: center !important; 
  gap: 12px !important;            
}

.social-icons .icon-link {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  
  width: 40px !important; 
  height: 40px !important;
  
  background-color: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important; 
  color: #cbd5e1 !important; 
  border-radius: 50% !important;
  text-decoration: none !important;
  
  transition: all 0.25s ease-in-out !important;
}

.social-icons .icon-link i {
  display: inline-block !important;
  font-size: 1.1rem !important; 
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  width: auto !important;
  height: auto !important;
}

.social-icons .icon-link:hover {
  background-color: #0066ff !important; 
  border-color: #0066ff !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important; 
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3) !important; 
}

.contact-column {
  min-width: 220px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a94a6;
}

.contact-info i {
  color: #0066ff; 
  width: 14px;
}

.btn-cotizacion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0066ff; 
  color: #ffffff;
  padding: 8px 16px; 
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-top: 15px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-cotizacion:hover {
  background-color: #0052cc;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 30px;
  padding-top: 15px;
}

.bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #626e82;
  font-size: 11px; 
}

.bottom-container a {
  color: #626e82;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bottom-container a:hover {
  color: #ffffff;
}

.separator {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   10. DRON SEGUIDOR DE PUNTERO (SOLO COMPUTADORAS)
   ========================================================================== */
@media (pointer: fine) and (min-width: 1024px) {
    body, a, button, input, select, textarea, .btn {
        cursor: auto; 
    }
    
    a, button, .btn, [role="button"] {
        cursor: pointer;
    }

    .drone-pointer {
        width: 120px;          
        height: 120px;         
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none !important; 
        z-index: 9999999;     
        display: block;  
        will-change: transform; 
    }

    .drone-pointer img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
}

@media (pointer: coarse) or (max-width: 1023px) {
    .drone-pointer {
        display: none !important;
    }
}

/********* droneScrollSection *******/

#droneScrollSection {
  position: relative;
  height: 200vh; 
  background: #060b13;
}

.drone-part {
  position: absolute;
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s ease;
}

.fuselage {
  width: 200px; height: 80px;
  background: gray;
  top: 30%; left: 40%;
}
.propeller {
  width: 60px; height: 60px;
  background: silver;
  border-radius: 50%;
  top: 20%; left: 35%;
}
.camera {
  width: 40px; height: 40px;
  background: black;
  top: 45%; left: 50%;
}
.landing-gear {
  width: 20px; height: 60px;
  background: darkgray;
  top: 55%; left: 42%;
}

/* ==========================================================================
   ESTILO MAESTRO UNIVERSAL - COMPACTACIÓN DE ESPACIOS EN TODO EL SITIO
   ========================================================================== */
.uptop10  { top: -10px !important; }
.uptop20  { top: -20px !important; }
.uptop30  { top: -30px !important; }
.uptop40  { top: -40px !important; }
.uptop50  { top: -50px !important; }
.uptop60  { top: -60px !important; }
.uptop70  { top: -70px !important; }
.uptop80  { top: -80px !important; }
.uptop90  { top: -90px !important; }
.uptop100 { top: -100px !important; }
.space10 {height: 10px !important;}

section, 
[class*="-section"] {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

section .container,
section .container-fluid,
[class*="-container"],
[class*="-boxing"] {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

section .row {
  --bs-gutter-y: 1rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

section h1, section h2, section h3, 
[class*="-title"] {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

section p {
  margin-bottom: 15px !important;
}

@media (max-width: 767px) {
  section, [class*="-section"] {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  section, [class*="-section"] {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
  }
}

@media (min-width: 992px) {
  section, [class*="-section"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  
  section .row.g-4, 
  section .row.g-5 {
    --bs-gutter-x: 1.5rem !important; 
  }
}

.row.g-4 {
    margin-bottom: 30px; 
}

:root {
  --fs-h1: 32px; --fs-h2: 26px; --fs-h3: 22px; --fs-h4: 18px; --fs-p: 15px; --fs-small: 12px;
}

@media (min-width: 768px) {
  :root {
    --fs-h1: 40px; --fs-h2: 30px; --fs-h3: 24px; --fs-h4: 20px; --fs-p: 16px; --fs-small: 13px;
  }
}

@media (min-width: 1200px) {
  :root {
    --fs-h1: 48px; --fs-h2: 36px; --fs-h3: 28px; --fs-h4: 22px; --fs-p: 16px; --fs-small: 14px;
  }
}

h1, .h1 { font-size: var(--fs-h1); line-height: 1.2; font-weight: 700; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.3; font-weight: 600; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.4; font-weight: 600; }
p      { font-size: var(--fs-p);  line-height: 1.6; margin-bottom: 1rem; }
small  { font-size: var(--fs-small); line-height: 1.4; }

.migaspan {
    width: 100%;
    padding: 10px 0;
    background-color: #000000;
    margin-bottom: 20px;
}

.migaspan-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14x;
    text-transform: uppercase; 
    letter-spacing: 0.125px;
}

.migaspan-home {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #0d6efd;
    font-weight: 550;
    transition: color 0.2s ease;
}

.migaspan-home:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

.migaspan-separator {
    font-weight: 700;
    font-size: 15px;
    color: #cccccc;
}

.migaspan-current {
    color: #cccccc;
    font-weight: 500;
}

@media (min-width: 768px) {
    .migaspan-container {
        font-size: 15px; 
        gap: 16px;
        max-width: 1200px; 
    }
}

/* ==========================================================================
   1. MENÚ Y DROPDOWNS (REPETIDO SEGÚN TU SOLICITUD)
   ========================================================================== */
.dropdown-menu {
  background-color: #060911;
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-top: 3px solid #0066ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  min-width: 220px;
}

.dropdown-item {
  color: #dcdcdc !important;
  font-size: 0.8rem;
  padding: 10px 20px;
  text-transform: uppercase;
}

.dropdown-item:hover {
  background-color: #0066ff !important;
  color: #ffffff !important;
}

/* ==========================================================================
   2. DRON Y CAPAS DE INTERACCIÓN (Z-INDEX)
   ========================================================================== */
.drone-pointer {
    pointer-events: none !important;
    z-index: 9999 !important;
}

.mi-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.98) !important;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2147483647 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mi-modal-content {
    background: #060911;
    color: #ffffff;
    padding: 50px;
    border: 2px solid #0066ff;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 15px;
    position: relative;
    transform: none !important; 
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.logo-container img {
    max-width: 220px;
    height: auto;
    display: block;
}

.mi-modal-content h5 {
    color: #0066ff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.modal-body-content p {
    text-align: justify;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.fecha-modal {
    text-align: center !important;
    font-weight: bold;
    margin-top: 20px;
}

.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: #ffffff;
    z-index: 100;
    line-height: 1;
}

.cerrar-modal:hover {
    color: #0066ff;
}

/* ==========================================================================
   3. ESTILOS DE FORMULARIO
   ========================================================================== */
#formulario-box-cotizacion.collapsed .formulario-body {
    display: none;
}

.btn-enviar {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 10px 20px;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
}

.btn-enviar:hover {
    background-color: #0052cc;
}

/* ==========================================================================
   4. RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .mi-modal-content {
        padding: 30px;
    }
}

/* ==========================================================================
   ESTILOS AVISO DE PRIVACIDAD (Sección Fija)
   ========================================================================== */
.aviso-privacidad-section {
    background-color: #060911;
    color: #ffffff;
    padding: 80px 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container img {
    max-width: 180px;
    height: auto;
}

.aviso-titulo {
    color: #0066ff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
}

.aviso-content p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
    color: #dcdcdc; 
}

.aviso-fecha {
    text-align: center !important;
    margin-top: 50px !important;
    color: #ffffff;
}

@media (max-width: 991px) {
    .aviso-privacidad-section {
        padding: 40px 20px;
    }
}




/* Pantallas medianas y tablets */
@media (max-width: 992px) {
  #hero {
    height: auto;
    padding: 120px 0 60px 0; 
  }
  .main-title {
    font-size: 2rem !important; 
  }
  #formulario-box-cotizacion {
    max-width: 100%;
    margin: 30px auto 0 auto; 
  }
  
  .navbar-collapse {
    background: rgba(6, 9, 17, 0.98) !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-top: 3px solid #0066ff; 
  }
  
  .navbar .nav-link {
    margin-right: 0;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: none;
    border-left: 2px solid #0066ff !important; 
    border-radius: 0;
    padding-left: 15px;
    box-shadow: none;
  }
  
  .navbar .btn-primary {
    margin-top: 15px;
    width: 100%;
    justify-content: center;
  }
  
  .footer-container {
    gap: 30px 15px;
  }
  .footer-column {
    flex: calc(33.33% - 15px);
  }
  
  .v-porque-video-frame {
    margin-top: 30px;
  }
} 

/* Pantallas de Celulares */
@media (max-width: 768px) {
  .footer-column {
    flex: calc(50% - 15px);
  }
  .bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  