@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.125rem;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    border-top: 1px solid rgba(188, 202, 187, 0.55);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.45rem 0.35rem calc(0.5rem + env(safe-area-inset-bottom));
    box-shadow: 0 -14px 36px rgba(25, 28, 29, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: #3d4a3e;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .mobile-bottom-nav .material-symbols-outlined {
    display: block;
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-bottom-nav a[aria-current="page"] {
    color: #006b32;
  }

  .mobile-bottom-nav a[aria-current="page"] .material-symbols-outlined {
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
  }

  .mobile-fluid-heading {
    width: min(100%, calc(100vw - 4rem)) !important;
    max-width: 100% !important;
    font-size: clamp(2rem, 8.7vw, 2.55rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .mobile-section-heading {
    width: min(100%, calc(100vw - 4rem)) !important;
    max-width: 100% !important;
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
  }

  .mobile-copy {
    width: min(100%, calc(100vw - 4rem)) !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.85 !important;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .mobile-hero {
    min-height: min(760px, calc(100vh - 1rem)) !important;
  }

  .mobile-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, calc(100vw - 4rem)) !important;
    gap: 0.75rem !important;
  }

  .mobile-actions > a,
  .mobile-actions > button {
    width: 100%;
    justify-content: center;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    text-align: center;
    font-size: 0.95rem !important;
  }

  .mobile-scroll-row {
    flex-wrap: nowrap !important;
    width: min(100%, calc(100vw - 2rem)) !important;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-scroll-row::-webkit-scrollbar {
    display: none;
  }

  .mobile-scroll-row > * {
    flex: 0 0 auto;
  }

  .mobile-card-padding {
    padding: 1.5rem !important;
  }

  .mobile-profile-image {
    aspect-ratio: 4 / 5;
    min-height: 0 !important;
  }

  .mobile-stack {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .border-l-4 .mobile-fluid-heading {
    width: calc(100vw - 6rem) !important;
  }
}
