/* BIG Real Estate: call / text bar for phones (plugin 1.4.0). Hidden from 768px up. */
.big-mobile-contact { display: none; }

@media (max-width: 767px) {
  .big-mobile-contact {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--big-ink, #111111);
    border-top: 1px solid var(--big-line, #2a2a2a);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    font-family: var(--font-body, Inter), Inter, system-ui, sans-serif;
    transition: transform 0.2s ease, visibility 0.2s;
  }
  .big-mobile-contact[data-hidden="true"] { transform: translateY(110%); visibility: hidden; }

  .big-mobile-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
  }
  .big-mobile-contact svg { width: 18px; height: 18px; flex: none; }
  .big-mobile-contact .big-mc-call { background: var(--big-yellow, #fdd904); color: var(--big-ink, #111111); }
  .big-mobile-contact .big-mc-call:hover,
  .big-mobile-contact .big-mc-call:focus-visible { background: var(--big-yellow-hover, #ffe866); color: var(--big-ink, #111111); }
  .big-mobile-contact .big-mc-text { border: 2px solid var(--big-paper, #f5f5f2); color: var(--big-paper, #f5f5f2); background: transparent; }
  .big-mobile-contact .big-mc-text:hover,
  .big-mobile-contact .big-mc-text:focus-visible { background: var(--big-paper, #f5f5f2); color: var(--big-ink, #111111); }
  .big-mobile-contact a:focus-visible { outline: 3px solid var(--big-yellow, #fdd904); outline-offset: 2px; }

  /* Room at the bottom so the bar never covers the footer or the last form button. */
  body.big-has-mobile-contact { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 359px) {
  .big-mobile-contact { grid-template-columns: 1fr 1fr; }
  .big-mobile-contact .big-mc-number { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .big-mobile-contact { transition: none; }
}
