:root{
  --ql-white: #ffffff;
  --ql-overlay: rgba(0,0,0,.96);
  --ql-maxw: 1280px;
  --ql-font: "BeasusiteFit", "Clara", Arial, sans-serif;

  --ql-mega-bg: rgba(8,8,8,.98);
  --ql-mega-border: rgba(255,255,255,.10);
  --ql-mega-muted: rgba(255,255,255,.72);
  --ql-mega-accent: #c8a06a;
}

html, body{
  width: 100%;
  max-width: 100%;
}

@supports (overflow-x: clip){
  html, body{ overflow-x: clip !important; }
}
@supports not (overflow-x: clip){
  html, body{ overflow-x: hidden !important; }
}

*, *::before, *::after{
  box-sizing: border-box;
}

.row-fluid, .dnd-section, .body-container, .body-container-wrapper, .page-center{
  max-width: 100%;
}

/* NAV WRAPPER */
.ql-nav{
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
  z-index: 9999;
  font-family: var(--ql-font) !important;
}

.ql-nav__inner{
  max-width: var(--ql-maxw);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

/* LOGO */
.ql-logo,
.ql-logo:hover,
.ql-logo:focus,
.ql-logo:active{
  text-decoration: none !important;
  border: 0 !important;
  outline: none !important;
}

.ql-logo::after{
  content: none !important;
}

.ql-logo,
.ql-logo img{
  transition: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.ql-logo{
  position: relative;
  z-index: 4;
}

.ql-logo img{
  display: block;
  height: auto;
  width: 150px;
  max-width: 150px;
}

/* MENU DESKTOP */
.ql-menu{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  font-family: var(--ql-font) !important;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.ql-menu li{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ql-menu li::marker{
  content: "";
}

.ql-menu__item{
  position: relative;
}

/* puente invisible para que no se cierre al bajar el cursor */
.ql-menu__item--has-panel::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 28px;
}

/* LINKS Y TRIGGERS */
.ql-nav .ql-menu a,
.ql-nav .ql-menu .ql-menu__trigger{
  font-family: var(--ql-font) !important;
  font-weight: 400 !important;
  color: var(--ql-white) !important;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .2px;
  padding: 8px 0;
  position: relative;
  display: inline-block;
  outline: none;
  white-space: nowrap;
  transition: text-shadow 180ms ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.ql-menu__trigger{
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.ql-nav .ql-menu a::after,
.ql-nav .ql-menu .ql-menu__trigger::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 100%;
  background: var(--ql-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.ql-nav .ql-menu a:hover::after,
.ql-nav .ql-menu a:focus-visible::after,
.ql-nav .ql-menu .ql-menu__trigger:hover::after,
.ql-nav .ql-menu .ql-menu__trigger:focus-visible::after,
.ql-menu__item.is-open > .ql-menu__trigger::after{
  transform: scaleX(1);
}

.ql-nav .ql-menu a:hover,
.ql-nav .ql-menu a:focus-visible,
.ql-nav .ql-menu .ql-menu__trigger:hover,
.ql-nav .ql-menu .ql-menu__trigger:focus-visible{
  text-shadow: 0 0 0.85px currentColor;
}

/* MEGAMENU DESKTOP */
.ql-mega{
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(1080px, calc(100vw - 48px));
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  z-index: 10;
}

.ql-mega__inner{
  background: var(--ql-mega-bg);
  border: 1px solid var(--ql-mega-border);
  border-radius: 22px;
  padding: 32px 34px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 42px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,.30);
}

.ql-mega__eyebrow{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ql-mega-muted);
}

.ql-mega__title{
  margin: 0 0 12px;
  color: var(--ql-white);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 400;
}

.ql-mega__text{
  margin: 0 0 20px;
  color: var(--ql-mega-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ql-mega__cta{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px !important;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: var(--ql-white) !important;
}

.ql-mega__cta::after{
  display: none;
}

.ql-mega__links{
  display: grid;
  gap: 18px 22px;
  align-content: start;
}

.ql-mega__links--three{
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.ql-mega__links--four{
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.ql-mega__links a{
  display: block !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: 17px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word;
  hyphens: none;
}

.ql-mega__links a::after{
  display: none;
}

.ql-menu__item--has-panel.is-open > .ql-mega,
.ql-menu__item--has-panel:hover > .ql-mega,
.ql-menu__item--has-panel:focus-within > .ql-mega{
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* BURGER */
.ql-burger{
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
  margin-left: auto;
  z-index: 10001;
  position: relative;
}

.ql-burger:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 2px;
}

.ql-burger__bar{
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ql-white);
  margin: 6px 0;
  transform: none;
  opacity: 1;
  transition: transform 220ms ease, opacity 220ms ease;
}

.ql-burger:not(.is-open) .ql-burger__bar{
  transform: none;
  opacity: 1;
}

/* MOBILE */
@media (max-width: 860px){
  .ql-nav{
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 99999;
  }

  .ql-nav__inner{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: calc(env(safe-area-inset-top) + 12px) 18px 12px;
    min-height: 84px;
  }

  .ql-logo{
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    z-index: 100002;
  }

  .ql-logo img{
    width: auto !important;
    max-width: none !important;
    height: 56px !important;
    max-height: none !important;
  }

  .ql-burger{
    display: inline-block;
    grid-column: 3;
    justify-self: end;
    align-self: center;
    padding: 10px;
    margin: 0;
    z-index: 100002;
  }

  .ql-menu{
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    background: rgba(0,0,0,.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding-left: calc(env(safe-area-inset-left) + 24px) !important;
    padding-right: calc(env(safe-area-inset-right) + 24px) !important;
    padding-top: calc(env(safe-area-inset-top) + 108px) !important;
    padding-bottom: calc(env(safe-area-inset-bottom) + 28px) !important;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: none;
    z-index: 100000;
    left: 0 !important;
  }

  @supports not (padding-left: calc(env(safe-area-inset-left) + 24px)) {
    .ql-menu{
      padding-left: 24px !important;
      padding-right: 24px !important;
      padding-top: 108px !important;
      padding-bottom: 28px !important;
    }
  }

  .ql-menu.is-open{
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .ql-menu__item{
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.10);
    padding: 0;
  }

  .ql-menu__item--has-panel::after{
    display: none;
  }

  .ql-nav .ql-menu a,
  .ql-nav .ql-menu .ql-menu__trigger{
    font-family: var(--ql-font) !important;
    font-weight: 400 !important;
    font-size: 24px;
    line-height: 1.2;
    padding: 20px 0;
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .ql-nav .ql-menu a::after,
  .ql-nav .ql-menu .ql-menu__trigger::after{
    display: none;
  }

  .ql-menu__trigger{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .ql-menu__trigger::before{
    content: "+";
    order: 2;
    font-size: 30px;
    line-height: 1;
    color: var(--ql-white);
    transition: transform 180ms ease;
  }

  .ql-menu__item.is-open > .ql-menu__trigger::before{
    content: "−";
  }

  .ql-mega{
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    margin: 0;
    z-index: auto;
  }

  .ql-menu__item.is-open > .ql-mega{
    display: block;
  }

  .ql-mega__inner{
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 0 14px;
    display: block;
  }

  .ql-mega__intro{
    display: none;
  }

  .ql-mega__links,
  .ql-mega__links--three,
  .ql-mega__links--four{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 12px;
  }

  .ql-mega__links a{
    font-size: 18px !important;
    line-height: 1.35 !important;
    padding: 14px 0 !important;
    color: rgba(255,255,255,.86) !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .ql-mega__links a:last-child{
    border-bottom: 0;
  }
}

/* BURGER -> X */
.ql-burger.is-open .ql-burger__bar:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.ql-burger.is-open .ql-burger__bar:nth-child(2){
  opacity: 0;
}
.ql-burger.is-open .ql-burger__bar:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce){
  .ql-nav .ql-menu a,
  .ql-nav .ql-menu a::after,
  .ql-menu__trigger,
  .ql-menu__trigger::before,
  .ql-burger__bar,
  .ql-menu,
  .ql-mega{
    transition: none !important;
  }
}