/* SHARED RESPONSIVE NAVIGATION
 * Match the 900px menu breakpoint used by site.js and the page stylesheets.
 */
@media (max-width: 900px) {
  /* Equal whole-pixel strokes avoid the uneven rasterization of 1.5px lines. */
  nav .burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 8px;
  }
  nav .burger span {
    flex: 0 0 2px;
    width: 26px;
    height: 2px;
    margin: 0;
  }

  /* One gap controls every menu row, including the final booking link. */
  .mmenu, .mmenu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    overflow-y: auto;
  }
  .mmenu a, .mmenu a.cta {
    margin: 0;
    flex-shrink: 0;
  }
  /* Smaller navigation labels retain generous touch targets. */
  .mmenu a:not(.cta) {
    font-size: 24px;
    line-height: 1.5;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .mmenu a.cta {
    /* A filled booking action stands out without adding an extra menu gap. */
    display: block;
    padding: 16px 12px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .02em;
    text-transform: none;
    min-height: 44px;
    color: var(--cream);
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: var(--button-radius);
  }
  .mmenu a.cta:hover, .mmenu a.cta:focus-visible {
    background: #4e5b3d;
    border-color: #4e5b3d;
    color: var(--cream);
  }
}

/* Allow room for the complete consultation wording on smaller desktops. */
@media (min-width: 901px) and (max-width: 1150px) {
  nav .links { gap: 14px; }
  nav .links .btn { letter-spacing: .12em; }
}

/* COMPACT FOOTER — preserve reading order and type size on narrow screens. */
@media (max-width: 900px) {
  footer { padding: 32px 24px 24px; }
  footer .footer-top { grid-template-columns: 1fr; gap: 18px; }
  footer .flinks { justify-content: flex-start; gap: 8px 24px; }
}

@media (max-width: 900px) {
  footer .footer-contact-items { justify-content: flex-start; }
}

/* The same section rhythm, reduced for tablets and phones. */
@media (max-width: 900px) {
  :root { --section-space: 64px; }
}
