html.locale-pending body {
  visibility: hidden;
}

:root,
html {
  color-scheme: dark !important;
  background: #0f0f0f;
}

body {
  background-color: #0f0f0f;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  letter-spacing: -0.025em;
}

.astro-skip-link {
  position: fixed;
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #111;
  background: #fff;
  border: 2px solid currentColor;
  transform: translateY(-150%);
}

.astro-skip-link:focus-visible {
  transform: translateY(0);
}

.dark-light-mode {
  display: none !important;
}

.sge-whatsapp-float {
  position: fixed;
  left: clamp(1rem, 2.2vw, 2rem);
  bottom: max(clamp(1rem, 2.2vw, 2rem), env(safe-area-inset-bottom));
  z-index: 9990;
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  color: #fff;
  background: #25d366;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgb(0 0 0 / 28%);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.sge-whatsapp-float:hover {
  color: #fff;
  background: #1ebe5d;
  box-shadow: 0 14px 34px rgb(0 0 0 / 34%);
  transform: translateY(-3px);
}

.sge-whatsapp-float svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.sge-language-switcher {
  position: fixed;
  z-index: 9991;
  top: max(5rem, calc(env(safe-area-inset-top) + 4.25rem));
  right: max(1rem, env(safe-area-inset-right));
  display: flex;
  gap: 0;
  align-items: center;
  min-height: 44px;
  padding: 2px;
  color: #aaa;
  background: rgb(15 15 15 / 88%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.sge-language-switcher a {
  display: grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.sge-language-switcher a.active {
  color: #fff;
  pointer-events: none;
}

.sge-language-switcher > span {
  margin-inline: -0.2rem;
  pointer-events: none;
}

@media (min-width: 576px) {
  body:has(.hamburger-sticky-menu.header-sticky) .sge-language-switcher {
    top: max(6.5rem, calc(env(safe-area-inset-top) + 6.5rem));
    right: max(2.55rem, calc(env(safe-area-inset-right) + 2.55rem));
  }
}

@media (max-width: 575px) {
  .sge-whatsapp-float {
    width: 3.5rem;
    height: 3.5rem;
  }

  .sge-language-switcher {
    top: max(6.25rem, calc(env(safe-area-inset-top) + 5.5rem));
    right: max(0.75rem, env(safe-area-inset-right));
  }

  body:has(.hamburger-sticky-menu.header-sticky) .sge-language-switcher {
    top: max(4rem, calc(env(safe-area-inset-top) + 4rem));
    right: max(1.5rem, calc(env(safe-area-inset-right) + 1.5rem));
  }
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #ff5c35;
  outline-offset: 3px;
}

.at-btn,
.at-btn .text-1,
.at-btn .text-2 {
  text-transform: none !important;
}

.semantic-reset-button,
.at-main-menu .at-menu-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
}

.at-main-menu nav ul li.has-dropdown > .at-menu-trigger {
  position: relative;
  color: var(--at-common-black);
  transition: all 0.4s ease 0.3s ease-out;
}

.at-main-menu nav ul li.has-dropdown > .at-menu-trigger::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 0;
  width: 8px;
  height: 8px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="5" viewBox="0 0 5 5" fill="none"><path d="M0.119881 4.0916L3.76201 0.14603C3.8265 0.0762058 3.912 0.0286966 4.00771 0.00950819C4.10343 -0.00968026 4.20505 0.000313791 4.29974 0.0382265C4.39443 0.0761392 4.47794 0.140268 4.5397 0.222507C4.60146 0.304746 4.63871 0.401402 4.64673 0.500256L4.96657 4.4493C4.97728 4.58185 4.93474 4.70892 4.8483 4.80257C4.76185 4.89622 4.63858 4.94877 4.50559 4.94867L0.543624 4.94521C0.444446 4.94511 0.345125 4.9157 0.258216 4.8607C0.171308 4.8057 0.100716 4.72759 0.0553628 4.63623C0.0100097 4.54486 -0.00806781 4.44436 0.00341617 4.34742C0.0149001 4.25048 0.0554298 4.16146 0.119881 4.0916Z" fill="%230F0F0F"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.at-main-menu nav ul li .at-menu-trigger {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--at-ff-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.at-main-menu > nav > ul > li > .at-menu-trigger {
  --link-desc-room: 4px;
  padding-bottom: calc(10px - var(--link-desc-room));
}

.at-main-menu > nav > ul > li > .at-menu-trigger .at-link-swap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding-bottom: var(--link-desc-room);
  line-height: inherit;
  vertical-align: top;
}

.at-main-menu > nav > ul > li > .at-menu-trigger .at-link-swap .text-1,
.at-main-menu > nav > ul > li > .at-menu-trigger .at-link-swap .text-2 {
  display: block;
  line-height: inherit;
  transition: transform 0.45s cubic-bezier(0.5, 1.5, 0.35, 1);
}

.at-main-menu > nav > ul > li > .at-menu-trigger .at-link-swap .text-2 {
  position: absolute;
  inset: 0 0 auto;
  transform: translateY(calc(100% + var(--link-desc-room)));
}

.at-main-menu > nav > ul > li:hover > .at-menu-trigger .at-link-swap .text-1,
.at-main-menu > nav > ul > li:focus-within > .at-menu-trigger .at-link-swap .text-1 {
  transform: translateY(calc(-100% - var(--link-desc-room)));
}

.at-main-menu > nav > ul > li:hover > .at-menu-trigger .at-link-swap .text-2,
.at-main-menu > nav > ul > li:focus-within > .at-menu-trigger .at-link-swap .text-2 {
  transform: translateY(0);
}

.at-main-menu nav ul li:focus-within > .submenu {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.at-main-menu.menu-light nav ul li.has-dropdown > .at-menu-trigger {
  color: #fff;
}

.at-main-menu.menu-light nav ul li.has-dropdown > .at-menu-trigger::after,
[data-bs-theme="dark"] .at-main-menu nav ul li.has-dropdown > .at-menu-trigger::after {
  filter: invert(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
