@media (max-width: 760px) {
  .mobile-nav {
    gap: 4px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(110deg, #153f30, #0b3024);
    border-top: 2px solid #d8a53d;
    box-shadow: 0 -7px 22px rgb(7 34 25 / 24%);
  }

  .mobile-nav a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    padding: 5px 2px;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 12px;
    background: rgb(255 255 255 / 8%);
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .01em;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
  }

  .mobile-nav a span {
    margin-bottom: 2px;
    color: #ffd166 !important;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.05;
  }

  .mobile-nav a[href="#contact"],
  .mobile-nav a[href^="tel:"] {
    border-color: #f2b34b;
    background: linear-gradient(145deg, #c65717, #a83e0c);
    color: #fff !important;
    box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
  }

  .mobile-nav a[href="#contact"] span,
  .mobile-nav a[href^="tel:"] span {
    color: #fff !important;
    filter: grayscale(1) brightness(0) invert(1);
  }

  .mobile-nav a:focus-visible {
    outline: 3px solid #ffd166;
    outline-offset: 2px;
  }

  .mobile-nav a:active {
    transform: translateY(1px);
  }

  /* Keep the six quick links easy to tap while taking less vertical space. */
  .mobile-nav {
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
  }

  .mobile-nav a {
    min-height: 44px !important;
    padding: 3px 1px;
    font-size: 9px !important;
    line-height: 1.05;
  }

  .mobile-nav a span {
    margin-bottom: 1px;
    font-size: 16px !important;
    line-height: 1;
  }
}
