/* Header #386 de Inka · estilos (2026-11-14). Antes vivían en 2 widgets HTML del header. Ver header.js. */
/* ===== NAV: negro sólido al bajar ===== */
#nav-container {
    transition: background-color .3s ease, box-shadow .3s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

#nav-container.is-sticky {
    background-color: var(--idx-dark);
    box-shadow: 0 10px 24px -14px rgba(11, 17, 21, .55);
}

body.nav-active #nav-container.is-sticky {
    box-shadow: none;
}

/* solo en los tours (lo pone el JS) */
#nav-container.is-hidden {
    transform: translateY(-100%);
}

/* ===== MENÚ DE PC ===== */
.wp-menu-nav ul li a {
    transition: all .3s ease !important;
}

.wp-menu-nav .elementor-nav-menu--dropdown {
    box-shadow: rgba(0, 0, 0, .16) 0 1px 4px;
    border-radius: 10px;
}

@media (min-width: 1025px) {
    /* al bajar: enlaces blancos sobre el negro */
    #nav-container.is-sticky .elementor-nav-menu--layout-horizontal > .elementor-nav-menu > li:not(.contact-nav) > a.elementor-item {
        color: #fff !important;
        fill: currentColor !important;
    }

    /* pasar el mouse, página actual y submenú abierto: el naranja de la marca */
    #nav-container.is-sticky .elementor-nav-menu--layout-horizontal > .elementor-nav-menu > li:not(.contact-nav) > a.elementor-item:is(:hover, :focus, :active, .elementor-item-active, .highlighted, [aria-current="page"], [aria-expanded="true"]) {
        color: var(--idx-secondary) !important;
    }

    #nav-container.is-sticky .elementor-nav-menu--layout-horizontal > .elementor-nav-menu > li > a.elementor-item > .sub-arrow svg {
        fill: currentColor !important;
    }
}

/* "Contacto" del menú (ítem con la clase contact-nav) = botón con flecha */
.contact-nav {
    transition: all .3s ease !important;
}

.contact-nav a {
    padding: 12.5px 20px !important;
    border-radius: var(--idx-radius);
    background: var(--idx-secondary);
    color: #fff !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.contact-nav a:hover {
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(251, 128, 1, .35);
    transform: translateY(-3px);
}

.contact-nav a::after {
    position: static !important;
    content: "" !important;
    opacity: 1 !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    background-color: #fff !important;
    -webkit-mask: url("/wp-content/uploads/2026/11/chevron-right.svg") center / contain no-repeat !important;
    mask: url("/wp-content/uploads/2026/11/chevron-right.svg") center / contain no-repeat !important;
}

@media (max-width: 1024px) {
    .hidden-mobile {
        display: none !important;
    }

    .inka-mm__list .gtranslate_wrapper {
        display: none !important;
    }

    .contact-nav {
        width: fit-content !important;
        margin: 10px auto 20px !important;
    }
}

/* ===== LOGO ===== */
#logo-nav {
    transition: height .3s ease, filter .3s ease;
}

#logo-nav:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}

#nav-container.is-sticky #logo-nav {
    height: 50px;
    width: auto;
}

@media (max-width: 1024px) {
    #nav-container.is-sticky #logo-nav { height: 44px; }
}

@media (max-width: 767px) {
    #nav-container.is-sticky #logo-nav { height: 36px; }
}

@media (max-width: 360px) {
    [data-custom-id="logo-text-nav"] { display: none !important; }
}

@media (max-width: 340px) {
    [data-custom-class="btn-contact-nav-aea"] { display: none !important; }
}

/* ===== HAMBURGUESA (blanca siempre: el panel es oscuro) ===== */
.mp-burger-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    padding: 0;
    border: none;
    background: none;
    background-color: transparent !important;
    cursor: pointer;
    z-index: 2002;
}

.mp-line {
    width: 100%;
    height: 2px;
    background: #fff;
    transform-origin: right;
    transition: background-color .3s ease, transform .3s ease, opacity .3s ease;
}

body.nav-active .mp-burger-btn .mp-line:nth-child(1) { transform: rotate(-45deg) translate(-3px, -6px); }
body.nav-active .mp-burger-btn .mp-line:nth-child(2) { opacity: 0; }
body.nav-active .mp-burger-btn .mp-line:nth-child(3) { transform: rotate(45deg) translate(-2px, 6px); }

#mp-menu-trigger:hover .mp-line { background: var(--idx-secondary); }
#mp-menu-trigger:hover .elementor-heading-title { color: var(--idx-secondary); }

/* ===== PANEL DEL CELULAR: se abre como un CUADRADO desde la hamburguesa ===== */
#offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    z-index: 45;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(var(--oc-t, 14px) var(--oc-r, 16px) var(--oc-b, 90%) var(--oc-l, 85%) round var(--idx-radius-sm));
    transition: clip-path .75s cubic-bezier(.77, 0, .175, 1), visibility 0s .75s;
}

body.nav-active #offcanvas-menu {
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0 round 0);
    transition: clip-path .75s cubic-bezier(.77, 0, .175, 1), visibility 0s;
}

#offcanvas-menu .e-con-inner {
    overflow-y: auto;
    padding-top: 110px !important;
    z-index: 2;
}

/* las opciones entran una tras otra cuando el cuadrado ya está creciendo */
#offcanvas-menu .inka-mm__list > li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease;
}

body.nav-active #offcanvas-menu .inka-mm__list > li {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

body.nav-active #offcanvas-menu .inka-mm__list > li:nth-child(1) { transition-delay: 200ms; }
body.nav-active #offcanvas-menu .inka-mm__list > li:nth-child(2) { transition-delay: 250ms; }
body.nav-active #offcanvas-menu .inka-mm__list > li:nth-child(3) { transition-delay: 300ms; }
body.nav-active #offcanvas-menu .inka-mm__list > li:nth-child(4) { transition-delay: 350ms; }
body.nav-active #offcanvas-menu .inka-mm__list > li:nth-child(5) { transition-delay: 400ms; }
body.nav-active #offcanvas-menu .inka-mm__list > li:nth-child(6) { transition-delay: 450ms; }
body.nav-active #offcanvas-menu .inka-mm__list > li:nth-child(7) { transition-delay: 500ms; }

body.nav-active {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    #nav-container,
    #offcanvas-menu,
    #offcanvas-menu .inka-mm__list > li {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}

/* =========================================================
   GTRANSLATE · estilo Inka Summit (2026-11-14)
   = la cajita de idioma de la maqueta nav-01.php: borde fino blanco, globo + "ES" + flecha;
   la lista que se abre es del MISMO ANCHO que el botón, con bandera + código. Todo con variables --idx-*.
   ========================================================= */

/* --- el botón (idioma actual) --- */
.gt_float_switcher {
  position: relative;
  overflow: visible !important;            /* el plugin trae hidden y cortaba la lista */
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--idx-font-body), sans-serif !important;
}

.gt_float_switcher .gt-selected {
  background-color: transparent !important;
}

.gt_float_switcher .gt-current-lang {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px !important;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--idx-radius-sm);
  color: #fff !important;                  /* el plugin pone gris */
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

@media (hover: hover) {
  .gt_float_switcher .gt-current-lang:hover {
    border-color: #fff;
  }
}

/* sin bandera: un globo en su lugar */
.gt_float_switcher .gt-current-lang img {
  display: none !important;
}

.gt_float_switcher .gt-current-lang::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"/><path d="M2 12h20"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"/><path d="M2 12h20"/></svg>') center / contain no-repeat;
}

/* código del idioma: "ES" */
.gt-lang-code {
  color: inherit !important;
  font-family: var(--idx-font-body), sans-serif;
  font-size: var(--idx-fs-1) !important;
  font-weight: 600 !important;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

/* flecha: chevron fino (el de toda la web), gira al abrir */
.gt_float_switcher-arrow {
  height: auto !important;
  background-image: none !important;
  line-height: 0 !important;
  transform: rotate(0deg) !important;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1) !important;
}

.gt_float_switcher-arrow::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') center / contain no-repeat;
}

.gt_float_switcher-arrow.gt_arrow_rotate {
  transform: rotate(180deg) !important;
}

/* --- la lista que se abre: tarjeta blanca --- */
.gt_options {
  display: none !important;
}

/* del MISMO ANCHO que el botón (2026-11-14: "antes tenía el mismo ancho y con banderas") */
.gt_options.gt-open {
  position: absolute !important;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 60;
  display: block !important;
  min-width: 0;
  max-height: none !important;
  margin: 0 !important;
  padding: 4px;
  overflow: hidden !important;
  border: 1px solid var(--idx-border);
  border-radius: var(--idx-radius-sm);
  background: var(--idx-white);
  box-shadow: 0 12px 28px -14px rgba(13, 35, 64, .4);
  animation: inka-gt-in .2s cubic-bezier(.22, 1, .36, 1);
}

@keyframes inka-gt-in {
  from { opacity: 0; transform: translateY(-4px); }
}

/* cada idioma: bandera + código, alineados con el globo y el "ES" del botón */
.gtranslate_wrapper .gt_float_switcher .gt_options a {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 6px !important;
  border-radius: 2px;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transition: background-color .2s ease !important;
}

.gtranslate_wrapper .gt_float_switcher .gt_options a > span {
  display: none !important;
}

.gtranslate_wrapper .gt_float_switcher .gt_options a img {
  display: block !important;
  flex: none;
  width: 16px !important;
  height: 12px !important;
  margin: 0 !important;
  border-radius: 1px;
  object-fit: cover;
}

.gtranslate_wrapper .gt_float_switcher .gt_options a::after {
  content: attr(data-gt-lang);
  color: var(--idx-title);
  font-family: var(--idx-font-body), sans-serif;
  font-size: var(--idx-fs-1);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (hover: hover) {
  .gtranslate_wrapper .gt_float_switcher .gt_options a:hover {
    background: var(--idx-primary-soft) !important;
  }
}

/* --- celular y tableta --- */
@media (max-width: 1024px) {
  .gtranslate-pc {
    display: none !important;
  }

  .gt_float_wrapper {
    line-height: 0 !important;
  }

  .gt_float_switcher .gt-current-lang {
    height: 36px;
    padding: 0 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gt_options.gt-open { animation: none; }
  .gt_float_switcher-arrow { transition: none !important; }
}
