/* =========================================================
   EMARK FLOATING CALL + WHATSAPP
   Scoped component; no global element selectors.
   ========================================================= */

.emark-floating-contact {
  position: fixed;
  right: 18px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1200;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;

  pointer-events: none;
}

.emark-floating-contact__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 48px;
  padding: 0 15px;

  color: #FFFFFF;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;

  box-shadow: 0 12px 30px rgba(18, 43, 73, 0.17);
  pointer-events: auto;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.emark-floating-contact__link--whatsapp {
  background: #00A86B;
}

.emark-floating-contact__link--call {
  background: #083E7F;
}

.emark-floating-contact__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.emark-floating-contact__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
  .emark-floating-contact__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(18, 43, 73, 0.22);
    filter: brightness(1.02);
  }
}

@media (max-width: 600px) {
  .emark-floating-contact {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 9px;
  }

  .emark-floating-contact__link {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 50%;
  }

  .emark-floating-contact__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emark-floating-contact__link {
    transition: none;
  }
}
