/* ─── HEADER PRINCIPAL ─────────────────────────────── */
header .atl-menu-header .elementor-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
/* ─── COLUMNA LOGO (col-25) ─────────────────────────── */
header .atl-menu-header .elementor-col-25:first-child {
  flex: 0 0 auto;
  width: auto;
  max-width: 200px;
}

header .atl-menu-header .header-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* ─── ÍCONOS SOCIALES → junto al menú, misma fila ───── */
header .atl-menu-header .elementor-col-25.flex-direction-row {
  flex: 0 0 auto;
  width: auto;
  order: 1; /* va después del menú */
}

header .atl-menu-header .header-social-icons {
  display: flex;
  align-items: center;
}

header .atl-menu-header .elementor-social-icons-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

header .atl-menu-header .elementor-social-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: background 0.2s;
}

header .atl-menu-header .elementor-social-icon:hover {
  background: rgba(0, 0, 0, 0.06);
}


@media (min-width: 325px) {
  .elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-741efae.flex-direction-row {
    order: 2 !important;
    width: 50px !important;
  }
  .elementor-column.elementor-col-25.elementor-top-column.elementor-element.elementor-element-97e63c7.flex-direction-row {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
  }
  .elementor-column.elementor-col-25.elementor-top-column.elementor-element.elementor-element-97e63c7.flex-direction-row
    .elementor-widget-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
}
@media (min-width: 1025px) {
  .elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-741efae.flex-direction-row {
    order: 0 !important;
    width: auto !important;
  }
  .elementor-column.elementor-col-25.elementor-top-column.elementor-element.elementor-element-97e63c7.flex-direction-row {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
  }
  .elementor-column.elementor-col-25.elementor-top-column.elementor-element.elementor-element-97e63c7.flex-direction-row
    .elementor-widget-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }  
  /* ─── COLUMNA MENÚ (col-50) → ocupa el espacio central */
  header .atl-menu-header .elementor-col-50 {
    flex: 1 1 auto;
    width: auto;
  }

  header .atl-menu-header .elementor-col-50 .elementor-widget-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
  }

  /* ─── MENÚ NAV ──────────────────────────────────────── */
  header .atl-menu-header .elementor-nav-menu--main {
    display: flex;
    align-items: center;
  }

  header .atl-menu-header .elementor-nav-menu > li > a {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }

  /* ─── ALINEACIÓN STICKY ─────────────────────────────── */
  header .elementor-sticky--active.atl-menu-header {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  }
}
/* ============================================================
    ── NAV TRANSPARENTE SOBRE VÍDEO ──────────────────── 
============================================================ */
div[data-elementor-type="wp-page"] {
  transform: translateY(-100px);
}
/* Overlay se queda dentro de su sección, sin subir */
.elementor-background-overlay {
  z-index: 0 !important;
}
body:not(.scrolled) .atl-menu-header.elementor-sticky--active,
body:not(.scrolled) .atl-menu-header.elementor-sticky--effects {
  background: transparent !important;
  box-shadow: none !important;
} /* Fondo del header también en estado normal */
body:not(.scrolled) .atl-menu-header {
  background: transparent !important;
  box-shadow: none !important;
}
/* Texto del menú principal en blanco */
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu
  > li
  > a.elementor-item {
  color: #ffffff !important;
}
body:not(.scrolled) .header-social-icons * {
  color: #ffffff !important;
}
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu
  > li
  > a.elementor-item:hover,
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu
  > li
  > a.elementor-item-active {
  color: #ffffff !important;
  opacity: 0.75;
} /* Flecha de submenú también en blanco */
body:not(.scrolled) .atl-menu-header .elementor-nav-menu .sub-arrow i {
  color: #ffffff !important;
}
/* Dropdown con fondo sólido para legibilidad */
body:not(.scrolled) .atl-menu-header .elementor-nav-menu--dropdown {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu--dropdown
  a.elementor-sub-item {
  color: #1a1a2e !important;
}
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu--dropdown
  a.elementor-sub-item:hover {
  color: #004aad !important;
  background: #f4f6ff !important;
}
/* Icono hamburguesa en blanco */
body:not(.scrolled) .atl-menu-header .elementor-menu-toggle i {
  color: #ffffff !important;
}
/* Panel desplegable móvil con fondo sólido */
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  background: #ffffff !important;
}
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  a {
  color: #1a1a2e !important;
}
body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  a {
  color: #1a1a2e !important;
}

body:not(.scrolled) .header-logo {
  filter: saturate(0) brightness(0) invert(1);
}

body:not(.scrolled)
  .atl-menu-header
  .elementor-nav-menu--dropdown
  .elementor-nav-menu
  > li
  > a.elementor-item {
  color: #1a1a2e !important;
}
