@charset "UTF-8";
/* =====================================================
   LCP SUPPORT CSS - VERSION UNIFICADA Y COMPATIBLE
   Soporta estructura ANTIGUA y NUEVA de headers
   Optimizado y consolidado - 2025
   ===================================================== */

/* === VARIABLES === */
:root {
  --header-padding: 22px;
  --header-min-height: 125px;
  --logo-max-height: 98px;  /* ✅ NUEVA VARIABLE */
  --icon-size: 20px;
  --font-size-text: 16px;
  --transition-speed: 0.3s;
}

/* === PRELOADER === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-speed) ease-out;
}

#status {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top-color: #e7543d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.preloader-hidden #preloader {
  opacity: 0;
  pointer-events: none;
}

/* === HERO & OVERLAY OPTIMIZATION === */
.hero-media-bg,
.hero-media-bg--secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-media-bg img,
.hero-media-bg--secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

.loaded .hero-media-bg img,
.hero-media-bg img.loaded,
.loaded .hero-media-bg--secondary img,
.hero-media-bg--secondary img.loaded {
  opacity: 1;
}

.overlay {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay.medium-size { min-height: 420px; }
.overlay.large-size { min-height: 600px; }
.overlay .container { position: relative; z-index: 2; }

.home {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}
.home.loaded { opacity: 1; }

/* === LAZY LOADING === */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--transition-speed) ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src] {
  opacity: 1;
}

/* === CONTENT FADE IN === */
.content,
.footer {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.loaded .content,
.loaded .footer {
  opacity: 1;
}

/* =====================================================
   HEADER - SOPORTE PARA ESTRUCTURA NUEVA
   ===================================================== */
.cabecera-top {
  background: #f8f8f8;
  padding: var(--header-padding) 0;
  min-height: var(--header-min-height);
  border-bottom: 1px solid #e0e0e0;
}

.cabecera-top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
}

.cabecera-top__left {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
}

.brand-link {
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}

.brand-link img {
  display: block;
  max-height: var(--logo-max-height, 98px);  /* ✅ Usa variable */
  width: auto;
  margin: 5px 0;
}

.brand-slogan {
  display: inline-block;
  font-size: 15px;
  color: #666;
  white-space: nowrap;
  line-height: 1.3;
}

.utils-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 10px;
}

.util-link,
.util-cta {
  font-size: var(--font-size-text);
  line-height: 1.4;
}

.util-link {
  color: #333;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.util-link:hover { color: #e7543d; }

.util-cta {
  padding: 8px 20px;
  margin-left: 30px;
}

.social-mail {
  display: flex;
  align-items: center;
  gap: 22px;
}

.social-icons {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
}

.social-icons li { margin: 0; }

.social-icons img {
  width: var(--icon-size);
  height: var(--icon-size);
  object-fit: contain;
  transition: opacity var(--transition-speed) ease;
}

.social-icons img:hover { opacity: 0.7; }

.mail-link,
.a-email {
  font-size: 14px;         /* ✅ Cambia de var(--font-size-text) a 12px */
  color: #333;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.mail-link:hover,
.a-email:hover { 
  color: #e7543d; 
}

/* =====================================================
   HEADER - SOPORTE PARA ESTRUCTURA ANTIGUA (htop)
   Mantiene compatibilidad con páginas existentes
   ===================================================== */
.htop {
  background: #f8f8f8;
  padding: 30px 0;
  border-bottom: 1px solid #ebebeb;
}

.htop .logo {
  margin-right: 27px;
}

.htop .logo a {
  font-size: 36px;
  line-height: 2.4;
  color: #000;
  font-weight: 700;
  display: inline-block;
}

.htop .slogan {
  color: #050505;
  font-size: 15px;
  font-weight: 300;
  line-height: 40px;
  display: inline-block;
}

.htop .contact-info {
  line-height: 96px;
  font-size: 16px;
  font-weight: 300;
  color: #666;
}

.htop .contact-info .phone {
  padding-right: 25px;
  border-right: 1px solid #e2e2e2;
  margin-right: 24px;
}

/* === SLIDER FIXES CONSOLIDADOS === */
section.slider.popupslider.magnific-wrap,
section.slider.popupslider.magnific-wrap .container,
section.slider.popupslider.magnific-wrap .slidebar,
section.slider.popupslider.magnific-wrap .row {
  margin-bottom: 0;
  padding-bottom: 0;
}

section.slider.popupslider.magnific-wrap + div.container.vacancy-row {
  margin-top: 0;
  padding-top: 20px;
}

section.slider.popupslider.magnific-wrap::after,
section.slider.popupslider.magnific-wrap::before,
section.slider.popupslider.magnific-wrap .container::after,
section.slider.popupslider.magnific-wrap .container::before {
  display: none;
  content: none;
}

/* === VACANCY ROW === */
.vacancy-row .container {
  padding-top: 30px;
  padding-bottom: 25px;
}

.vacancy-row:first-of-type .container { padding-top: 50px; }
.vacancy-row:last-of-type .container { padding-bottom: 15px; }

/* === SECTION FILM === */
.section-film {
  margin-top: -20px;
}

.section-film .container {
  padding-top: 35px;
  padding-bottom: 35px;
}

.section-film .page-header {
  margin-bottom: 25px;
}

/* === VIDEO RESPONSIVE === */
.video-16x9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-16x9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === IMAGEN CONTROLADA EN MÓVILES === */
.img-controlled-mobile {
  max-width: 300px;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* === SLIDER TRABAJOS RECIENTES === */
.slider.related-projects,
.slider.related-projects .oneslider,
.slider.related-projects .oneslider ul,
.slider.related-projects .oneslider li,
.slider.related-projects .slidebar {
  opacity: 1;
  visibility: visible;
}

.slider.related-projects .oneslider img {
  min-height: 150px;
  width: auto;
  max-width: 100%;
  height: auto;
}

.slider.related-projects .slidebar {
  min-height: 50px;
  margin: 20px 0 30px;
  position: relative;
  clear: both;
}

.slider.related-projects .slidebar .pagination {
  position: relative;
  margin: 15px auto 20px;
  display: block;
  text-align: center;
  padding: 10px 0;
}

.slider.related-projects h4 {
  margin-top: 30px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

/* === OVERRIDES COMPACTOS === */
.container.slider.related-projects {
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.container.slider.related-projects .page-header {
  margin: 10px auto 8px;
  padding-bottom: 4px;
}

.container.slider.related-projects ul {
  margin-bottom: 0;
  padding-left: 0;
}

.container.slider.related-projects + .highlight.darker {
  margin-top: 0;
}

.container.slider.related-projects + .highlight.darker .purchase {
  padding-top: 12px;
}

.footer .separator.foorow-1 {
  margin-top: 12px;
  margin-bottom: 12px;
}

.row-gap {
  clear: both;
  height: 48px;
  width: 100%;
}

.fila-origen {
  margin-top: 5px;
  margin-bottom: 5px;
  padding-bottom: 0;
}

.fila-origen figure,
.fila-origen img.img-responsive {
  margin: 0;
  padding: 0;
  display: block;
}

#cursosct .post-img2.is-920 img {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}
.center-block {
  margin-left: auto;
  margin-right: auto;
}

/* === PERFORMANCE OPTIMIZATIONS === */
.slider,
.oneslider,
.home,
.overlay {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; }

.hero-media-bg img,
.hero-media-bg--secondary img,
.overlay,
.home {
  transform: translateZ(0);
}

/* =====================================================
   MEDIA QUERIES CONSOLIDADAS
   ===================================================== */

/* Tablets 769px - 991px */
@media (min-width: 769px) and (max-width: 991px) {
  :root {
    --header-padding: 18px;
    --header-min-height: 110px;
    --icon-size: 18px;
    --font-size-text: 12px;
  }
  
  .brand-link img { max-height: 75px; }
  
  .vacancy-row .container {
    padding-top: 35px;
    padding-bottom: 20px;
  }
  
  .section-film { margin-top: -15px; }
  
  .img-controlled-mobile { max-width: 280px; }
  
  .footer .separator.foorow-1 {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

/* Móviles hasta 768px */
@media (max-width: 768px) {
  :root {
    --header-padding: 15px;
    --icon-size: 18px;
    --font-size-text: 12px;
  }
  
  /* Header NUEVO */
  .cabecera-top {
    min-height: auto;
  }
  
  .cabecera-top__row {
    flex-direction: column;
    gap: 15px;
  }
  
  .cabecera-top__left {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  
  .cabecera-top__right {
    width: 100%;
    text-align: center;
  }
  
  .brand-link img { max-height: 70px; }
  
  .brand-slogan {
    width: 100%;
    margin-top: 8px;
    text-align: center;
  }
  
  .utils-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .social-mail {
    flex-direction: column;
    gap: 10px;
  }
  
  .social-icons { gap: 8px; }
  
  /* Header ANTIGUO - mantener compatibilidad */
  .htop {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .overlay { min-height: 320px; }
  .overlay.medium-size { min-height: 320px; }
  .overlay.large-size { min-height: 400px; }
  
  .vacancy-row .container {
    padding-top: 25px;
    padding-bottom: 15px;
  }
  
  .section-film { margin-top: -10px; }
  
  .section-film .container {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  
  .slider.related-projects .oneslider img { min-height: 120px; }
  
  .slider.related-projects .slidebar {
    min-height: 45px;
    margin: 15px 0 25px;
  }
  
  .slider.related-projects h4 {
    margin-top: 25px;
    padding-top: 15px;
  }
  
  section.slider.popupslider.magnific-wrap + div.container.vacancy-row {
    padding-top: 16px;
  }
  
  .img-controlled-mobile { max-width: 250px; }
  
  .row-gap { height: 32px; }
  
  .container.slider.related-projects { padding-bottom: 4px; margin-bottom: 8px; }
  .container.slider.related-projects .page-header { margin: 6px auto 4px; padding-bottom: 2px; }
  .container.slider.related-projects + .highlight.darker .purchase { padding-top: 8px; }
  
  .footer .separator.foorow-1 {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  
  #cursosct .post-img2 img {
    width: auto;
    max-width: 350px;
    height: auto;
  }
  #cursosct { text-align: center; }
}

/* Móviles muy pequeños hasta 480px */
@media (max-width: 480px) {
  section.slider.popupslider.magnific-wrap + div.container.vacancy-row {
    padding-top: 12px;
  }
  
  .img-controlled-mobile { max-width: 220px; }
  
  .slider.related-projects .slidebar {
    min-height: 40px;
    margin-bottom: 20px;
  }
  
  .slider.related-projects h4 { margin-top: 20px; }
}

/* Móviles extra pequeños hasta 360px */
@media (max-width: 360px) {
  .img-controlled-mobile { max-width: 200px; }
}

/* Disable parallax en móviles */
.no-parallax [data-stellar-background-ratio],
.no-parallax [data-parallax] {
  background-attachment: scroll;
  transform: none;
}
/* === FIX SEGURO: Solo para nuestra_empresa.html === */
.history.history--static .row,
.history.history--static .row * {
    opacity: 1 !important;
}
/* =====================================================
   SITEMAP MEJORADO - ESTILOS
   ===================================================== */

.sitemap-enhanced {
    padding-top: 40px;
    padding-bottom: 60px;
}

.sitemap-section {
    margin-bottom: 50px;
}

.sitemap-section:last-child {
    margin-bottom: 0;
}

.sitemap-category {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e7543d;
}

.category-header i {
    font-size: 32px;
    color: #e7543d;
    margin-right: 15px;
}

.category-header h3 {
    margin: 0;
    font-size: 26px;
    color: #000;
    font-weight: 400;
}

.sitemap-card {
    background: #fff;
    border-radius: 6px;
    padding: 25px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.sitemap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(231, 84, 61, 0.15);
    border-color: #e7543d;
}

.sitemap-card i {
    font-size: 36px;
    color: #e7543d;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.sitemap-card:hover i {
    transform: scale(1.1);
}

.sitemap-card h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 24px;
}

.sitemap-card h4 a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.sitemap-card:hover h4 a {
    color: #e7543d;
}

.sitemap-card p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #666;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .sitemap-category {
        padding: 25px 20px;
    }
    
    .category-header h3 {
        font-size: 22px;
    }
    
    .sitemap-card {
        min-height: 140px;
    }
}

@media (max-width: 767px) {
    .sitemap-enhanced {
        padding-top: 30px;
    }
    
    .sitemap-section {
        margin-bottom: 30px;
    }
    
    .sitemap-category {
        padding: 20px 15px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .category-header i {
        margin-bottom: 10px;
    }
    
    .category-header h3 {
        font-size: 20px;
    }
    
    .sitemap-card {
        min-height: auto;
        padding: 20px 15px;
    }
    
    .sitemap-card i {
        font-size: 28px;
    }
    
    .sitemap-card h4 {
        font-size: 17px;
    }
}
/* =====================================================
   HEADER STICKY COMPACTO - Con Blog de Drones
   ===================================================== */

/* Ocultar cabecera superior cuando está sticky */
.header.sticky .cabecera-top {
    display: none !important;
}

/* IMPORTANTE: Mantener visible solo el Blog de Drones del hbottom */
.header.sticky .hbottom .contact-info {
    display: block !important;
    line-height: 60px !important;
    font-size: 15px;
    font-weight: 400;
    padding: 0;
    text-align: left;
}

.header.sticky .hbottom .contact-info .phone {
    border: none;
    padding: 0;
    margin: 0;
}

.header.sticky .hbottom .contact-info .phone a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.header.sticky .hbottom .contact-info .phone a:hover {
    color: #e7543d;
}

/* Reducir altura del navbar en sticky */
.header.sticky .hbottom {
    min-height: 60px;
    padding: 0;
}

.header.sticky .hbottom .container {
    padding-top: 0;
    padding-bottom: 0;
}

.header.sticky .hbottom .row {
    margin: 0;
    display: flex;
    align-items: center;
}

/* Ajustar columnas para mejor distribución */
.header.sticky .hbottom .col-md-2 {
    width: auto;
    flex-shrink: 0;
    padding-left: 15px;
}

.header.sticky .hbottom .col-md-10 {
    flex: 1;
    width: auto;
}

/* Ajustar mainmenu */
.header.sticky .mainmenu {
    width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
}

/* Reducir altura de los links del navbar en sticky */
.header.sticky .navbar-nav > li > a {
    line-height: 60px !important;
    padding: 0 10px;
    font-size: 15px;
}

/* Centrar el menú principal */
.header.sticky .navbar-nav {
    text-align: right;
}

/* Ajustar botón toggle en móvil cuando sticky */
.header.sticky .navbar-toggle {
    height: 60px;
    line-height: 60px;
    margin: 0;
}

/* Fondo del header sticky más definido */
.header.sticky {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

/* ===================================================== 
   RESPONSIVE: Tablets
   ===================================================== */

@media (min-width: 768px) and (max-width: 991px) {
    .header.sticky .hbottom .contact-info {
        font-size: 14px;
        line-height: 50px !important;
    }
    
    .header.sticky .navbar-nav > li > a {
        line-height: 50px !important;
        font-size: 14px;
        padding: 0 8px;
    }
    
    .header.sticky .navbar-toggle {
        height: 50px;
        line-height: 50px;
    }
    
    .header.sticky .hbottom {
        min-height: 50px;
    }
}

/* ===================================================== 
   RESPONSIVE: Móviles
   ===================================================== */

@media (max-width: 767px) {
    /* Reorganizar layout en móvil */
    .header.sticky .hbottom .row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header.sticky .hbottom .col-md-2,
    .header.sticky .hbottom .col-md-10 {
        width: 100%;
    }
    
    /* Blog de Drones centrado en móvil */
    .header.sticky .hbottom .contact-info {
        text-align: center;
        line-height: 45px !important;
        font-size: 14px;
        border-bottom: 1px solid #e0e0e0;
        padding: 0 15px;
    }
    
    /* Ajustar mainmenu en móvil */
    .header.sticky .mainmenu {
        padding: 0 !important;
    }
    
    .header.sticky .navbar-toggle {
        height: 50px;
        line-height: 50px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    /* Menú colapsado en móvil */
    .header.sticky .navbar-collapse.in,
    .header.sticky .navbar-collapse.collapsing {
        margin-top: 0;
        border-top: 1px solid #e0e0e0;
    }
    
    .header.sticky .collapse.in .navbar-nav,
    .header.sticky .collapsing .navbar-nav {
        background-color: #252525;
        padding: 10px 20px;
    }
    
    .header.sticky .collapse.in .navbar-nav > li > a,
    .header.sticky .collapsing .navbar-nav > li > a {
        line-height: 36px !important;
        text-align: left !important;
        color: #8b8b8b;
    }
}

/* ===================================================== 
   RESPONSIVE: Móviles muy pequeños
   ===================================================== */

@media (max-width: 480px) {
    .header.sticky .hbottom .contact-info {
        font-size: 13px;
        line-height: 40px !important;
    }
    
    .header.sticky .navbar-toggle {
        height: 45px;
        line-height: 45px;
    }
}
/* =====================================================
   SIDEMENU MODERNIZADO
   ===================================================== */

.sidemenu {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 0;
}

.sidemenu-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidemenu-header h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 22px;
}

.sidemenu-header p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

/* WhatsApp destacado */
.sidemenu-whatsapp {
    padding: 20px 30px;
    background: rgba(37, 211, 102, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateX(5px);
}

.btn-whatsapp i {
    font-size: 22px;
}

/* Navegación */
.sidemenu-nav {
    padding: 20px 0;
}

.sidemenu-nav h5 {
    color: #e7543d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px 10px;
    margin: 0;
    font-weight: 600;
}

.sidemenu-nav ul {
    margin: 0 0 15px 0;
    padding: 0;
}

.sidemenu-nav li {
    list-style: none;
    padding: 0 !important;
}

.sidemenu-nav li::before {
    display: none !important;
}

.sidemenu-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 30px;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidemenu-nav li a:hover {
    background: rgba(231, 84, 61, 0.1);
    color: #e7543d;
    padding-left: 35px;
}

.sidemenu-nav li a i {
    width: 18px;
    text-align: center;
    color: #e7543d;
}

/* CTA */
.sidemenu-cta {
    padding: 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidemenu-cta .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Redes sociales */
.sidemenu-social {
    padding: 20px 30px;
}

.sidemenu-social h5 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

.sidemenu-social .social {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.sidemenu-social .social li {
    padding: 0 !important;
}

.sidemenu-social .social li::before {
    display: none !important;
}

.sidemenu-social .social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    color: #999;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidemenu-social .social a:hover {
    background: #e7543d;
    color: #fff;
    transform: translateY(-3px);
}

/* Contacto */
.sidemenu-contact {
    padding: 20px 30px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidemenu-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #999;
}

.sidemenu-contact i {
    color: #e7543d;
    width: 16px;
}

.sidemenu-contact a {
    color: #999;
    text-decoration: none;
}

.sidemenu-contact a:hover {
    color: #e7543d;
}

/* Close button */
.sidemenu .sclose {
    top: 25px;
    right: 25px;
}

/* Responsive */
@media (max-width: 360px) {
    .sidemenu {
        width: 280px;
    }
}
/* =====================================================
   FOOTER MODERNO
   ===================================================== */

.footer-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0 0;
    color: #999;
}

.footer-main {
    padding-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #e7543d;
}

.footer-col p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Enlaces del footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    padding-left: 0 !important;
}

.footer-links li::before {
    display: none !important;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #e7543d;
    padding-left: 5px;
}

/* Contacto */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-left: 0 !important;
}

.footer-contact li::before {
    display: none !important;
}

.footer-contact i {
    color: #e7543d;
    font-size: 16px;
    width: 24px;
    margin-right: 10px;
    margin-top: 2px;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #e7543d;
}

.footer-contact span {
    color: #999;
    font-size: 14px;
}

/* CTA Button */
.footer-cta {
    margin: 20px 0 0 0;
    padding: 0;
    background: transparent !important;
    text-align: left !important;
}

.footer-col .footer-cta {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.btn-footer {
    background: #e7543d !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    min-width: 180px !important;
    text-align: center !important;
    margin-left: 0 !important; /* NUEVA LÍNEA */
}

.btn-footer:hover {
    background: #d94836;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 84, 61, 0.3);
}

/* Separador */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* Footer bottom */
.footer-bottom {
    padding: 25px 0;
    align-items: center;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.footer-social {
    text-align: right;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 12px;
}

.social-links li {
    padding-left: 0 !important;
}

.social-links li::before {
    display: none !important;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #999;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #e7543d;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 767px) {
    .footer-modern {
        padding: 40px 0 0;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col {
        text-align: center;
        margin-bottom: 35px;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-copyright,
    .footer-social {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}
/* =====================================================
   FOOTER CON SVG INLINE - ESTILOS OPTIMIZADOS
   ===================================================== */

.footer-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0 0;
    color: #999;
}

.footer-main {
    padding-bottom: 25px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #e7543d;
}

.footer-col p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Botón CTA del footer - SIN recuadro naranja */
.footer-cta {
    margin: 20px 0 0 0;
    padding: 0;
    background: transparent !important;
}

.btn-footer {
    background: #e7543d !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.btn-footer:hover {
    background: #d94836 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 84, 61, 0.3) !important;
}

/* Enlaces del footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    padding-left: 0 !important;
}

.footer-links li::before {
    display: none !important;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #e7543d;
    padding-left: 5px;
}

/* Información de contacto con SVG */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
    padding-left: 0 !important;
}

.footer-contact li::before {
    display: none !important;
}

.footer-contact li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-icon {
    flex-shrink: 0;
    margin-top: 3px;
    fill: #e7543d !important;
}

.footer-contact a,
.footer-contact span {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-contact a:hover {
    color: #e7543d;
}

/* Separador */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0;
}

/* Footer bottom */
.footer-bottom {
    padding: 20px 0;
    align-items: center;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.footer-social {
    text-align: right;
}

/* Iconos de redes sociales con SVG */
.social-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    gap: 12px !important;
}

.social-links li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.social-links li::before {
    content: none !important;
    display: none !important;
}

.social-links a {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #444 !important;
    color: #fff !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.social-links a:hover {
    background: #e7543d !important;
    transform: translateY(-3px);
}

/* SVG dentro de los enlaces sociales */
.social-links a svg {
    width: 18px !important;
    height: 18px !important;
    fill: #fff !important;
    transition: fill 0.3s ease !important;
}

/* Responsive */
@media (max-width: 767px) {
    .footer-modern {
        padding: 40px 0 0;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col {
        text-align: center;
        margin-bottom: 35px;
    }
    
    .footer-links,
    .footer-contact {
        text-align: left;
    }
    
    .footer-copyright,
    .footer-social {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center !important;
    }
}
/* === NUEVO MENÚ RESPONSIVE === */
.nav-main {
  position: relative;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #e7543d;
  color: #e7543d;
  padding: 8px 14px;
  font-size: 16px;
  cursor: pointer;
}
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  padding: 8px;
  display: block;
  transition: color .2s ease;
}
.nav-menu a:hover {
  color: #e7543d;
}
.submenu {
  position: absolute;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: none;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  z-index: 1000;
}
.has-submenu:hover > .submenu {
  display: block;
}
.submenu li a {
  padding: 8px 18px;
  white-space: nowrap;
}

/* --- MÓVIL --- */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
    width: 100%;
    text-align: right;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    display: none;
    width: 100%;
    border-top: 1px solid #eee;
  }
  .nav-menu.open {
    display: flex;
  }
  .has-submenu > a::after {
    content: " ▾";
    float: right;
  }
  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding-left: 15px;
  }
  .submenu.open {
    display: block;
  }
}
/* === Corrección completa menú Drones México === */

/* 1️⃣ Alinear verticalmente el menú principal */
.hbottom .row {
  display: flex;
  align-items: center;
  min-height: 60px; /* altura uniforme */
}
.hbottom .contact-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hbottom .mainmenu {
  display: flex;
  align-items: center;
}

/* 2️⃣ Ajustar padding y line-height para centrado real */
.mainmenu .nav > li > a {
  padding: 15px 18px !important;
  line-height: 30px !important;
  display: flex;
  align-items: center;
}

/* 3️⃣ Submenús de segundo nivel (despliegue lateral) */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0;
  margin-top: -1px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #ddd;
}

/* 4️⃣ Flechas indicadoras solo en submenús */
.dropdown > a.dropdown-toggle::after {
  content: none; /* elimina flecha naranja del primer nivel */
}
.dropdown-submenu > a.dropdown-toggle::after {
  content: "▶";
  font-size: 0.7em;
  color: #e7543d;
  margin-left: 5px;
}

/* 5️⃣ Detalle estético de hover */
.navbar-nav > li > a:hover,
.dropdown-menu > li > a:hover {
  color: #e7543d !important;
}
/* === Corrección definitiva submenús anidados Drones México === */

/* 1️⃣ Estilos base de los submenús */
.nav-menu .submenu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  min-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 9999;
}

/* 2️⃣ Mostrar submenú al pasar el mouse */
.nav-menu li:hover > .submenu {
  display: block;
}

/* 3️⃣ Submenús de segundo nivel: despliegue lateral */
.nav-menu .submenu .submenu {
  top: 0;
  left: 100%;
  margin-left: 1px;
  border-radius: 0;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 4️⃣ Asegurar que el padre controle la posición */
.nav-menu li.has-submenu {
  position: relative;
  overflow: visible; /* evita que el submenú quede cortado */
}

/* 5️⃣ Indicador naranja solo en el segundo nivel */
.nav-menu .submenu li.has-submenu > a::after {
  content: "▶";
  font-size: 0.7em;
  color: #e7543d;
  margin-left: 6px;
  position: relative;
  top: -1px;
}

/* 6️⃣ Hover y contraste visual */
.nav-menu a:hover {
  color: #e7543d;
}
.nav-menu .submenu a {
  padding: 8px 15px;
  display: block;
  color: #222;
  white-space: nowrap;
}
/* === MENÚ DRONES MÉXICO — REFINADO DE SUBMENÚS === */

/* 1️⃣ Menú principal sin fondo */
.nav-menu {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2️⃣ Submenús con fondo gris claro y alineación lateral */
.nav-menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f7f7f7; /* gris claro solo en el dropdown */
  min-width: 240px;
  display: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border-radius: 2px;
  z-index: 999;
  white-space: normal;
}

/* Al pasar el mouse se despliega */
.nav-menu li.has-submenu:hover > .submenu {
  display: block;
}

/* 3️⃣ Sub-submenús (como “Inspección aérea”) laterales */
.nav-menu li.has-submenu ul.submenu ul.submenu {
  top: 0;
  left: 100%; /* se abre al lado derecho */
  margin-left: 2px;
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 4️⃣ Estética de los ítems */
.nav-menu li a {
  display: block;
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
/* Submenús: mismo peso tipográfico que el menú principal */
.nav-menu .submenu a {
  font-weight: 400 !important;
}


/* 5️⃣ Hover: fondo naranja con texto blanco */
.nav-menu li a:hover {
background-color: #d9d9d9;
color: #000;
}

/* 6️⃣ Indicadores visuales para los submenús */
/* Indicador solo para submenús (niveles internos) */
.nav-menu li ul.submenu li.has-submenu > a::after {
  content: " ▶";
  font-size: 0.8em;
  color: #e7543d;
}

/* Quita el indicador del nivel principal */
.nav-menu > li.has-submenu > a::after {
  content: none !important;
}

.nav-menu li.has-submenu ul.submenu li.has-submenu > a::after {
  content: " ▶";
  font-size: 0.8em;
  color: #e7543d;
}

/* 7️⃣ Comportamiento móvil */
@media (max-width: 991px) {
  .nav-menu .submenu {
    position: static;
    box-shadow: none;
    background: #f7f7f7;
  }

  .nav-menu li.has-submenu ul.submenu ul.submenu {
    left: 0;
  }

  .nav-menu li.has-submenu:hover > .submenu {
    display: block;
  }
}
/* === CORRECCIÓN FINAL DE ALINEACIÓN MENÚ DRONES MÉXICO === */

/* --- Escritorio / pantallas grandes --- */
@media (min-width: 992px) {

  /* Mantiene todo en una sola línea */
  .hbottom .row {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* alineación natural */
  }

  /* Bloque izquierdo (Blog de Drones) */
  .hbottom .contact-info {
    flex: 0 0 auto;
    margin-right: 30px;
  }

  /* Bloque derecho (menú principal) */
  .hbottom .mainmenu {
    flex: 1 1 auto;
    text-align: left;
  }

  /* Menú horizontal perfectamente alineado */
  .nav-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .nav-menu > li {
    display: inline-block;
    margin: 0;
  }

  .nav-menu > li > a {
  color: #555; /* gris medio neutro */
    font-weight: 400;
    text-decoration: none;
    padding: 10px 0;
  }
.submenu a {
  color: inherit; /* hereda el color del menú principal */
}
  .nav-menu > li > a:hover {
    color: #e7543d;
  }
}

/* --- Móvil / tablets --- */
@media (max-width: 991px) {

  /* Centra el botón hamburguesa */
  .nav-toggle {
    display: block;
    margin: 0 auto 10px auto; /* centrado horizontal */
    text-align: center;
    background: none;
    border: 1px solid #e7543d;
    color: #e7543d;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 2px;
  }

  /* Evita que el botón quede desplazado a la izquierda */
  .mainmenu {
    text-align: center;
  }

  /* Menú vertical colapsable */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #fff;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-menu > li > a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
  }

  /* Submenús con relleno gris claro */
  .nav-menu .submenu {
    background: #f7f7f7;
  }
}
