.elementor-254 .elementor-element.elementor-element-1dd4acc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-2e76cc1 *//* --- CONFIGURACIÓN BASE --- */
.header-deleje {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  font-family: "Montserrat", sans-serif;
  position: relative;
  z-index: 999;
}

.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

/* LOGO */
.logo-container img {
  height: 80px;
  width: auto;
  display: block;
}

/* NAVEGACIÓN (Escritorio) */
.nav-container {
  flex: 1;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  text-decoration: none;
  color: #333333;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: #f1b207;
}

/* ---------- SUBMENÚ PROYECTOS (Escritorio) ---------- */
.has-submenu > a::after {
  content: "▾";
  font-size: 10px;
  margin-left: 6px;
  display: inline-block;
  transform: translateY(-1px);
}

.submenu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  position: absolute;
  top: 100%;                  /* justo al borde inferior del li */
  left: 50%;
  transform: translateX(-50%) translateY(-4px); /* se anima desde un pelín arriba */
  min-width: 180px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid #f3f3f3;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 1000;
}

.submenu li a {
  display: block;
  padding: 8px 14px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.5px;
}

.submenu li a:hover {
  background-color: #fdf4d1;
  color: #333333;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0); /* estado final: pegado al link, sin hueco */
}

/* BOTÓN DESKTOP */
.btn-contact-desktop {
  background-color: #f1b207;
  color: #ffffff !important;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background-color 0.3s;
}

.btn-contact-desktop:hover {
  background-color: #d39a05;
}

/* ELEMENTOS OCULTOS EN DESKTOP */
.menu-checkbox, 
.hamburger-icon,
.mobile-only-btn {
  display: none;
}

/* --- ESTILOS PARA TABLET Y MÓVIL --- */
@media (max-width: 1024px) {
  .header-wrapper {
    height: 80px;
    padding: 0 15px;
  }

  .logo-container img {
    height: 60px;
  }

  .cta-container-desktop {
    display: none;
  }

  .hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger-icon .line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
  }

  .nav-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #f1f1f1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 18px;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  /* Submenú en móvil: como lista simple debajo de PROYECTOS */
  .has-submenu > a::after {
    display: none;
  }

  .nav-list .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    padding: 4px 0 0;
    margin-top: -6px;
  }

  .nav-list .submenu li a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 0;
    color: #555;
  }

  .nav-list .submenu li a:hover {
    background: transparent;
    color: #f1b207;
  }

  .mobile-only-btn {
    display: block;
    margin-top: 10px;
  }

  .btn-contact-mobile {
    background-color: #f1b207;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
  }

  .menu-checkbox:checked ~ .nav-container {
    max-height: 500px;
  }
}/* End custom CSS */