.has-uns-dock {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.uns-global-navigation {
  position: relative;
  z-index: 1800;
}

.uns-bottom-nav {
  position: fixed;
  z-index: 1800;
  right: 12px;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: 12px;
  width: min(calc(100% - 24px), 370px);
  min-height: 50px;
  margin-inline: auto;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  background: rgba(252, 252, 251, .88);
  box-shadow: 0 14px 36px rgba(10, 18, 35, .16), inset 0 1px 0 rgba(255, 255, 255, .96);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  animation: uns-dock-enter .5s cubic-bezier(.2, .8, .2, 1) both;
}

.uns-bottom-nav a {
  min-width: 0;
  min-height: 42px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 10px;
  color: #596273;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: .58rem;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

body .uns-bottom-nav a:first-child {
  color: #596273;
  background: transparent;
}

.uns-bottom-nav a svg {
  width: 17px;
  height: 17px;
}

.uns-bottom-nav a:hover,
.uns-bottom-nav a:focus-visible,
body .uns-bottom-nav a[aria-current="page"] {
  color: #0d3156;
  background: #e8eef3;
  transform: translateY(-1px);
}

.uns-bottom-nav a:focus-visible,
.uns-whatsapp-fab:focus-visible {
  outline: 3px solid rgba(23, 103, 201, .3);
  outline-offset: 2px;
}

.uns-whatsapp-fab {
  position: fixed;
  z-index: 1801;
  right: 14px;
  bottom: calc(70px + env(safe-area-inset-bottom));
  min-height: 48px;
  padding: 5px 12px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(8, 35, 63, .12);
  border-radius: 14px;
  color: #0d3156;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 30px rgba(8, 35, 63, .18);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: .74rem;
  font-weight: 820;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.uns-whatsapp-icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #fff;
  background: #16834f;
}

.uns-assistant-icon {
  overflow: hidden;
  color: #0d3156;
  background: #eaf2fb;
}

.uns-assistant-icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.uns-assistant-icon i { background: #17a584; }

.uns-whatsapp-icon i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #3dc878;
}

.uns-whatsapp-fab svg {
  width: 18px;
  height: 18px;
}

.uns-whatsapp-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.uns-whatsapp-copy strong { color: #0d3156; font-size: .72rem; line-height: 1; }
.uns-whatsapp-copy small { color: #667284; font-size: .6rem; line-height: 1; }

.uns-whatsapp-fab:hover,
.uns-whatsapp-fab:focus-visible {
  color: #0d3156;
  background: #fff;
  box-shadow: 0 16px 34px rgba(8, 35, 63, .23);
  transform: translateY(-2px);
}

.uns-contact-launcher {
  position: fixed;
  z-index: 1802;
  right: 14px;
  bottom: calc(70px + env(safe-area-inset-bottom));
  width: min(310px, calc(100vw - 28px));
  display: grid;
  justify-items: end;
  gap: 8px;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

.uns-contact-trigger {
  min-height: 50px;
  padding: 5px 10px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(8, 35, 63, .14);
  border-radius: 14px;
  color: #0d3156;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 30px rgba(8, 35, 63, .2);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.uns-contact-trigger-icons {
  position: relative;
  width: 43px;
  height: 38px;
  flex: 0 0 43px;
}

.uns-contact-trigger-robot,
.uns-contact-trigger-whatsapp {
  position: absolute;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(8, 35, 63, .18);
}

.uns-contact-trigger-robot {
  top: 0;
  left: 0;
  overflow: hidden;
  background: #eaf2fb;
}

.uns-contact-trigger-robot img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.uns-contact-trigger-whatsapp {
  right: 0;
  bottom: 0;
  color: #fff;
  background: #16834f;
}

.uns-contact-trigger-whatsapp svg { width: 19px; height: 19px; }

.uns-contact-trigger-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.uns-contact-trigger-copy strong { font-size: .72rem; line-height: 1; }
.uns-contact-trigger-copy small { color: #667284; font-size: .6rem; line-height: 1; }

.uns-contact-chevron {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.uns-contact-launcher.is-open .uns-contact-chevron { transform: rotate(180deg); }

.uns-contact-options {
  width: 100%;
  padding: 6px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(8, 35, 63, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(8, 35, 63, .22);
  transform-origin: right bottom;
  animation: uns-contact-open .18s ease-out both;
}

.uns-contact-options[hidden] { display: none; }

.uns-contact-option {
  min-height: 58px;
  padding: 7px 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  color: #0d3156;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.uns-contact-option + .uns-contact-option { border-top: 1px solid #e7edf2; }
.uns-contact-option:hover,
.uns-contact-option:focus-visible { background: #f1f6fa; transform: translateX(-2px); }

.uns-contact-option-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf2fb;
}

.uns-contact-option-icon img { width: 38px; height: 38px; object-fit: contain; }
.uns-contact-option--whatsapp .uns-contact-option-icon { color: #fff; background: #16834f; }
.uns-contact-option--whatsapp .uns-contact-option-icon svg { width: 23px; height: 23px; }
.uns-contact-option span:last-child { min-width: 0; display: grid; gap: 3px; text-align: left; }
.uns-contact-option strong { font-size: .75rem; line-height: 1.15; }
.uns-contact-option small { color: #667284; font-size: .62rem; line-height: 1.3; }

.uns-contact-trigger:focus-visible,
.uns-contact-option:focus-visible {
  outline: 3px solid rgba(23, 103, 201, .3);
  outline-offset: 2px;
}

.uns-contact-trigger:hover,
.uns-contact-trigger:focus-visible {
  background: #fff;
  box-shadow: 0 16px 34px rgba(8, 35, 63, .24);
  transform: translateY(-2px);
}

@keyframes uns-contact-open {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes uns-dock-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .has-uns-dock { padding-bottom: 82px; }
  .uns-bottom-nav { bottom: 14px; min-height: 50px; }
  .uns-bottom-nav a { flex-direction: row; gap: 5px; font-size: .7rem; }
  .uns-whatsapp-fab { right: max(24px, calc((100vw - 1160px) / 2)); bottom: 22px; }
  .uns-contact-launcher { right: max(24px, calc((100vw - 1160px) / 2)); bottom: 22px; }
}

@media (max-width: 767px) {
  .uns-whatsapp-fab {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 6px;
    justify-content: center;
    border-radius: 14px;
  }
  .uns-whatsapp-copy { display: none; }
  .uns-contact-trigger-copy,
  .uns-contact-chevron { display: none; }
  .uns-contact-trigger {
    width: 54px;
    height: 50px;
    min-height: 50px;
    padding: 5px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uns-bottom-nav { animation: none; }
  .uns-bottom-nav a,
  .uns-whatsapp-fab,
  .uns-contact-trigger,
  .uns-contact-option,
  .uns-contact-chevron { transition: none; }
  .uns-contact-options { animation: none; }
}

.uns-support-entry {
  position: fixed;
  z-index: 1802;
  right: 14px;
  bottom: calc(70px + env(safe-area-inset-bottom));
  min-height: 52px;
  padding: 5px 11px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0d3156;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(8,35,63,.14);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(8,35,63,.2);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.uns-support-entry-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #16834f; border-radius: 11px; }
.uns-support-entry-icon svg { width: 25px; height: 25px; }
.uns-support-entry-copy { min-width: 0; display: grid; gap: 3px; text-align: left; }
.uns-support-entry-copy strong { font-size: .73rem; line-height: 1; }
.uns-support-entry-copy small { color: #667284; font-size: .61rem; line-height: 1; }
.uns-support-entry:hover, .uns-support-entry:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(8,35,63,.24); }
.uns-support-entry:focus-visible { outline: 3px solid rgba(22,131,79,.25); outline-offset: 2px; }

@media (min-width: 768px) {
  .uns-support-entry { right: max(24px, calc((100vw - 1160px) / 2)); bottom: 22px; }
}

@media (max-width: 767px) {
  .uns-support-entry { width: 52px; height: 52px; min-height: 52px; padding: 5px; justify-content: center; }
  .uns-support-entry-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .uns-support-entry { transition: none; }
}
