.elementor-127 .elementor-element.elementor-element-8cb90c4{--display:flex;}.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-6ed3361 *//* =========================================
   NIVEL 3D · HEADER
========================================= */

.n3d-site-header {
  --n3d-header-primary: #3192b2;
  --n3d-header-navy: #023e70;
  --n3d-header-teal: #36798c;
  --n3d-header-slate: #2c4a66;
  --n3d-header-bg: #ffffff;
  --n3d-header-soft: #eaf6f9;
  --n3d-header-line: rgba(2, 62, 112, 0.12);

  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  border-bottom: 1px solid var(--n3d-header-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 30px rgba(2, 62, 112, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: Inter, Manrope, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.n3d-site-header *,
.n3d-site-header *::before,
.n3d-site-header *::after {
  box-sizing: border-box;
}

/* CONTENEDOR */
.n3d-header-container {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  align-items: center;
  margin-inline: auto;
  gap: 35px;
}

/* LOGO */
.n3d-header-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.n3d-header-logo img {
  display: block;
  width: auto;
  max-width: 165px;
  max-height: 52px;
  object-fit: contain;
}

/* NAVEGACIÓN */
.n3d-header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.n3d-header-link {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--n3d-header-slate) !important;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.n3d-header-link:hover {
  background: var(--n3d-header-soft);
  color: var(--n3d-header-navy) !important;
}

.n3d-header-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

/* DROPDOWN */
.n3d-header-dropdown {
  position: relative;
}

.n3d-header-dropdown:hover .n3d-header-link svg {
  transform: rotate(180deg);
}

.n3d-header-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 315px;
  padding: 9px;
  border: 1px solid var(--n3d-header-line);
  border-radius: 19px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(2, 62, 112, 0.15);

  opacity: 0;
  visibility: hidden;

  transform: translate(-50%, 8px);

  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.n3d-header-submenu::before {
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 18px;
  content: "";
}

.n3d-header-dropdown:hover .n3d-header-submenu,
.n3d-header-dropdown:focus-within .n3d-header-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.n3d-header-submenu > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 13px;
  color: var(--n3d-header-navy) !important;
  text-decoration: none !important;
  transition: background 180ms ease;
}

.n3d-header-submenu > a:hover {
  background: var(--n3d-header-soft);
}

.n3d-header-submenu__icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--n3d-header-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 850;
}

.n3d-header-submenu strong,
.n3d-header-submenu small {
  display: block;
}

.n3d-header-submenu strong {
  margin-bottom: 3px;
  color: var(--n3d-header-navy);
  font-size: 0.88rem;
}

.n3d-header-submenu small {
  color: #60778b;
  font-size: 0.73rem;
}

/* CTA */
.n3d-header-cta {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--n3d-header-primary);
  border-radius: 999px;
  background: var(--n3d-header-primary);
  box-shadow: 0 10px 25px rgba(49, 146, 178, 0.18);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.n3d-header-cta:hover {
  border-color: var(--n3d-header-navy);
  background: var(--n3d-header-navy);
  box-shadow: 0 14px 30px rgba(2, 62, 112, 0.2);
  transform: translateY(-2px);
}

/* BOTÓN HAMBURGUESA */
.n3d-mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--n3d-header-line);
  border-radius: 13px;
  background: #ffffff;
  cursor: pointer;
}

.n3d-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--n3d-header-navy);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.n3d-mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.n3d-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.n3d-mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MENÚ MÓVIL */
.n3d-mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  background: #ffffff;

  transition:
    max-height 280ms ease,
    border-color 280ms ease;
}

.n3d-mobile-menu.is-open {
  max-height: 700px;
  border-color: var(--n3d-header-line);
}

.n3d-mobile-menu__inner {
  display: grid;
  width: min(100% - 28px, 1180px);
  gap: 5px;
  padding: 18px 0 24px;
  margin-inline: auto;
}

.n3d-mobile-link,
.n3d-mobile-services__toggle {
  display: flex;
  min-height: 52px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--n3d-header-navy) !important;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}

.n3d-mobile-link:hover,
.n3d-mobile-services__toggle:hover {
  background: var(--n3d-header-soft);
}

.n3d-mobile-services__toggle svg {
  width: 18px;
  fill: none;
  stroke: var(--n3d-header-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.n3d-mobile-services.is-open
.n3d-mobile-services__toggle svg {
  transform: rotate(180deg);
}

/* SUBMENÚ MÓVIL */
.n3d-mobile-submenu {
  display: grid;
  overflow: hidden;
  max-height: 0;
  margin-left: 13px;
  border-left: 2px solid var(--n3d-header-soft);

  transition:
    max-height 250ms ease,
    padding 250ms ease;
}

.n3d-mobile-services.is-open .n3d-mobile-submenu {
  max-height: 200px;
  padding: 5px 0;
}

.n3d-mobile-submenu a {
  display: block;
  padding: 11px 18px;
  color: #60778b !important;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none !important;
}

.n3d-mobile-submenu a:hover {
  color: var(--n3d-header-primary) !important;
}

/* CTA MÓVIL */
.n3d-mobile-cta {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 13px;
  border-radius: 999px;
  background: var(--n3d-header-primary);
  color: #ffffff !important;
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none !important;
}

/* TABLET */
@media (max-width: 960px) {

  .n3d-header-container {
    min-height: 74px;
  }

  .n3d-header-nav,
  .n3d-header-cta {
    display: none;
  }

  .n3d-mobile-toggle {
    display: flex;
    margin-left: auto;
  }

  .n3d-mobile-menu {
    display: block;
  }

  .n3d-header-logo img {
    max-width: 145px;
    max-height: 47px;
  }
}

/* MÓVIL */
@media (max-width: 520px) {

  .n3d-header-container {
    width: calc(100% - 28px);
    min-height: 68px;
  }

  .n3d-header-logo img {
    max-width: 130px;
    max-height: 43px;
  }

  .n3d-mobile-toggle {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }
}/* End custom CSS */