.static-compact-nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 2000;
  width: min(calc(100% - 216px), 1580px);
  height: 54px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: #062f70;
  color: #fff;
  box-shadow: 0 8px 24px rgba(7, 19, 45, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -110%);
  transition: transform 0.32s ease, opacity 0.25s ease;
}

.static-compact-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.static-compact-menu {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.static-compact-logo {
  flex: 0 0 auto;
  width: 76px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.static-compact-logo img {
  display: block;
  width: 76px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.static-compact-links {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}

.static-compact-links::-webkit-scrollbar {
  display: none;
}

.static-compact-links.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.static-compact-links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.static-compact-links a:hover {
  color: #ffdfdf;
}

.static-compact-links small {
  width: 6px;
  height: 6px;
  margin: 0 0 3px 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  font-size: 0;
  transform: rotate(45deg);
}

.static-compact-nav .breaking span {
  display: none;
}

.static-whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 1900;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(15, 125, 57, 0.4);
  text-decoration: none;
  animation: staticWhatsAppFloat 3s ease-in-out infinite;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.static-whatsapp-fab::before,
.static-whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(15, 125, 57, 0.58);
  border-radius: 50%;
  pointer-events: none;
  animation: staticWhatsAppPulse 1.9s ease-out infinite;
}

.static-whatsapp-fab::after {
  inset: -16px;
  border-color: rgba(15, 125, 57, 0.28);
  animation: staticWhatsAppOuterPulse 2.4s ease-out 0.7s infinite;
}

.static-whatsapp-fab:hover,
.static-whatsapp-fab:focus-visible {
  color: #fff;
  background: #1fb85a;
  box-shadow: 0 14px 28px rgba(15, 125, 57, 0.48);
  animation: none;
  transform: translateY(-3px) scale(1.04);
}

.static-whatsapp-fab:focus-visible {
  outline: 3px solid rgba(15, 125, 57, 0.42);
  outline-offset: 3px;
}

.static-whatsapp-fab svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
  animation: staticWhatsAppWiggle 2.4s ease-in-out infinite;
  transform-origin: center;
}

.static-whatsapp-fab:hover svg,
.static-whatsapp-fab:focus-visible svg {
  animation: none;
}

@keyframes staticWhatsAppFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes staticWhatsAppPulse {
  0% { opacity: 0.78; transform: scale(0.9); }
  70%, 100% { opacity: 0; transform: scale(1.18); }
}

@keyframes staticWhatsAppOuterPulse {
  0% { opacity: 0; transform: scale(0.95); }
  12% { opacity: 0.5; }
  72%, 100% { opacity: 0; transform: scale(1.22); }
}

@keyframes staticWhatsAppWiggle {
  0%, 56%, 100% { transform: rotate(0deg); }
  8% { transform: rotate(-8deg); }
  16% { transform: rotate(8deg); }
  24% { transform: rotate(-5deg); }
  32% { transform: rotate(5deg); }
}

@media (max-width: 1100px) {
  .static-compact-nav {
    width: calc(100% - 48px);
    gap: 15px;
    padding: 0 18px;
  }

  .static-compact-links {
    gap: 20px;
  }
}

@media (max-width: 650px) {
  .static-compact-nav {
    width: 100%;
    height: 50px;
    gap: 14px;
    padding: 0 16px;
  }

  .static-compact-logo,
  .static-compact-logo img {
    width: 62px;
    height: 36px;
  }

  .static-compact-links {
    gap: 18px;
  }

  .static-compact-links a {
    font-size: 13px;
  }

  .static-whatsapp-fab {
    right: 12px;
    bottom: 82px;
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-whatsapp-fab,
  .static-whatsapp-fab::before,
  .static-whatsapp-fab::after,
  .static-whatsapp-fab svg {
    animation: none;
  }
}
