:root {
  --primary-color: #5B57E7;
  --secondary-color: #000;
  --helper-color: #fff;
  --max-width: 1440px;
}

/* header */
.abchdrefgbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  min-height: 3.5em;
  padding: 0.5em 0.6em 0.5em 1.7em;
  border-radius: 1.9em;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  background-size: 200% 100%;
  background-position: 0 0;
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.abchdrefgbtn:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
}

.abchdrefgbtnicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.08rem);
  order: -1;
  transition: transform 0.4s ease;
}

.abchdrefgbtn:hover .abchdrefgbtnicon {
  transform: rotate(-12deg) scale(1.1);
}

.abchdrefgbtngradient {
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--primary-color) 45%, var(--helper-color)), var(--primary-color), color-mix(in srgb, var(--primary-color) 75%, var(--helper-color)));
  color: var(--helper-color);
}

.abchdrefgbtngradient .abchdrefgbtnicon {
  background-color: var(--helper-color);
  color: var(--primary-color);
}

.abchdrefgbtngradient:hover {
  box-shadow: 0 10px 30px -8px rgba(91, 87, 231, 0.55);
}

.abchdrefgbtnoutline {
  background-color: var(--secondary-color);
  border-color: color-mix(in srgb, color-mix(in srgb, var(--helper-color) 34%, var(--secondary-color)) 50%, transparent);
  color: var(--helper-color);
}

.abchdrefgbtnoutline .abchdrefgbtnicon {
  background-color: color-mix(in srgb, var(--helper-color) 8%, transparent);
  color: var(--helper-color);
}

.abchdrefgbtnoutline:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px -10px rgba(91, 87, 231, 0.55);
}

.abchdrefgbtnwhatsapp {
  background-image: linear-gradient(90deg, var(--primary-color), var(--primary-color));
  color: var(--helper-color);
}

.abchdrefgbtnwhatsapp .abchdrefgbtnicon {
  background-color: var(--helper-color);
  color: var(--primary-color);
  font-size: clamp(1.035rem, 0.977rem + 0.2vw, 1.242rem);
}

.abchdrefgbtnwhatsapp:hover {
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.45);
}

.abchdrefg {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: var(--secondary-color);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.abchdrefg.abccmnefgisscrolled {
  background-color: var(--secondary-color);
  border-bottom-color: color-mix(in srgb, var(--helper-color) 10%, transparent);
}

.abchdrefginner {
  width: calc(100% - 2em);
  max-width: var(--max-width);
  margin-inline: auto;
  min-height: 4.6em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.abchdrefglogo {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--helper-color);
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem);
  font-weight: 700;
}

.abchdrefglogoicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.55em;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 45%, var(--helper-color)), var(--primary-color));
  color: var(--helper-color);
  font-size: clamp(0.765rem, 0.722rem + 0.2vw, 0.918rem);
}

.abchdrefgnav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  background-color: transparent;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.4s;
}

.abchdrefgnav.abccmnefgisopen {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.abchdrefgpanel {
  width: min(86vw, 22rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5em;
  padding: 1.2em;
  background-color: var(--secondary-color);
  border-inline-end: 1px solid color-mix(in srgb, color-mix(in srgb, var(--helper-color) 34%, var(--secondary-color)) 50%, transparent);
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.abchdrefgnav.abccmnefgisopen .abchdrefgpanel {
  transform: translateX(0);
}

.abchdrefgpaneltop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.abchdrefgclose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--helper-color) 8%, transparent);
  color: var(--helper-color);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
}

.abchdrefglinks {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3em;
}

.abchdrefgitem {
  position: relative;
  display: flex;
  flex-direction: column;
}

.abchdrefglink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  min-height: 2.8em;
  color: var(--helper-color);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  font-weight: 500;
  transition: color 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.abchdrefglink:hover,
.abchdrefglink.abccmnefgisactive {
  color: color-mix(in srgb, var(--primary-color) 45%, var(--helper-color));
}

.abchdrefgarrow {
  font-size: clamp(0.63rem, 0.595rem + 0.2vw, 0.756rem);
  color: color-mix(in srgb, var(--helper-color) 77%, var(--secondary-color));
  transition: transform 0.3s ease;
}

.abchdrefgitem.abccmnefgisopen .abchdrefgarrow {
  transform: rotate(180deg);
}

.abchdrefgdropdown {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.abchdrefgitem.abccmnefgisopen .abchdrefgdropdown {
  grid-template-rows: 1fr;
}

.abchdrefgdropdownlist {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.abchdrefgdropdownlink {
  display: flex;
  align-items: center;
  gap: 0.8em;
  min-height: 2.6em;
  padding-inline: 0.8em;
  border-radius: 0.8em;
  color: color-mix(in srgb, var(--helper-color) 77%, var(--secondary-color));
  font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.abchdrefgdropdownlink i {
  width: 1.3em;
  text-align: center;
  color: color-mix(in srgb, var(--primary-color) 75%, var(--helper-color));
}

.abchdrefgdropdownlink:hover {
  background-color: color-mix(in srgb, var(--primary-color) 16%, transparent);
  color: var(--helper-color);
}

.abchdrefgpanelcta {
  display: flex;
  margin-top: auto;
}

.abchdrefgpanelcta .abchdrefgbtn {
  width: 100%;
}

.abchdrefgcta {
  display: none;
}

.abchdrefgburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8em;
  height: 2.8em;
  border-radius: 0.9em;
  border: 1px solid color-mix(in srgb, color-mix(in srgb, var(--helper-color) 50%, var(--secondary-color)) 50%, transparent);
  color: var(--helper-color);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
}

@media (min-width: 768px) {
  .abchdrefgcta {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .abchdrefgburger,
  .abchdrefgclose,
  .abchdrefgpaneltop,
  .abchdrefgpanelcta {
    display: none;
  }

  .abchdrefgnav {
    position: static;
    inset: auto;
    visibility: visible;
    pointer-events: auto;
    background-color: transparent;
  }

  .abchdrefgpanel {
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    transform: none;
  }

  .abchdrefglinks {
    flex-direction: row;
    align-items: center;
    gap: 2.2em;
  }

  .abchdrefglink {
    justify-content: flex-start;
    position: relative;
  }

  .abchdrefglink::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0.3em;
    height: 2px;
    border-radius: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .abchdrefglink:hover::after {
    transform: scaleX(1);
  }

  .abchdrefgdropdown {
    display: block;
    position: absolute;
    top: 100%;
    inset-inline-start: 50%;
    width: 17em;
    padding-top: 0.6em;
    translate: 50% 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  [dir="rtl"] .abchdrefgdropdown {
    translate: 50% 0;
  }

  .abchdrefgitem:hover .abchdrefgdropdown,
  .abchdrefgitem:focus-within .abchdrefgdropdown,
  .abchdrefgitem.abccmnefgisopen .abchdrefgdropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .abchdrefgdropdownlist {
    overflow: visible;
    padding: 0.6em;
    border: 1px solid color-mix(in srgb, color-mix(in srgb, var(--helper-color) 34%, var(--secondary-color)) 50%, transparent);
    border-radius: 1.2em;
    background-color: var(--secondary-color);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45);
  }

  .abchdrefgitemdropdown:hover .abchdrefgarrow {
    transform: rotate(180deg);
  }
}

.abchdrefgactions {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.abchdrefglang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.8em;
  height: 2.8em;
  padding-inline: 0.7em;
  border: 1px solid color-mix(in srgb, color-mix(in srgb, var(--helper-color) 50%, var(--secondary-color)) 50%, transparent);
  border-radius: 0.9em;
  color: var(--helper-color);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  font-weight: 600;
  line-height: 1;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.abchdrefglang:hover {
  color: color-mix(in srgb, var(--primary-color) 45%, var(--helper-color));
  border-color: color-mix(in srgb, var(--primary-color) 45%, var(--helper-color));
  background-color: color-mix(in srgb, var(--helper-color) 4%, transparent);
}

[dir="ltr"] .abchdrefgpanel {
  transform: translateX(-100%);
  box-shadow: 20px 0 50px -20px rgba(0, 0, 0, 0.45);
}

[dir="ltr"] .abchdrefgnav.abccmnefgisopen .abchdrefgpanel {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  [dir="ltr"] .abchdrefgpanel {
    transform: none;
    box-shadow: none;
  }

  [dir="ltr"] .abchdrefgdropdown {
    translate: -50% 0;
  }
}
