#top,#about,#services,#why-us,#contact{scroll-margin-top:92px}
.contact-point h2,.contact-point h3{margin:0 0 5px;font-size:1rem;letter-spacing:0}
.contact-form-wrap{margin-top:78px}
.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:820px){#top,#about,#services,#why-us,#contact{scroll-margin-top:70px}.contact-form-wrap{margin-top:52px}}


/* v2.2 mobile navigation and map fixes */
@media (max-width: 820px) {
  /* Keep the mobile drawer above the hero and all page content. */
  .site-header {
    z-index: 1000;
  }

  .nav-toggle {
    z-index: 1102;
  }

  .primary-nav {
    z-index: 1101;
    color: var(--ink);
  }

  .primary-nav a {
    display: block;
    color: var(--ink) !important;
    background: transparent;
    text-shadow: none;
    opacity: 1;
    line-height: 1.35;
  }

  .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Prevent the hero/content from visually crossing the open menu. */
  .hero,
  main,
  .site-footer {
    position: relative;
    z-index: 0;
  }
}

/* The Google map itself should be the only branded element in the map area. */
.map-caption {
  display: none !important;
}


/* =========================================================
   v2.3 — Mobile navigation overlay/drawer
   ========================================================= */
@media (max-width: 820px) {
  /* The header remains above the page. */
  .site-header {
    position: relative;
    z-index: 10000 !important;
  }

  /* Create a full-screen backdrop using the header pseudo-element. */
  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(8, 35, 55, 0.48);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 9998;
  }

  /* Make the nav a real right-side drawer. */
  .site-header .primary-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(82vw, 360px) !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 92px 28px 32px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background: rgba(255,255,255,0.98) !important;
    box-shadow: -18px 0 50px rgba(0,0,0,.18) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 9999 !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform .28s ease, opacity .2s ease, visibility .28s ease !important;
  }

  .site-header .primary-nav.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .site-header:has(.primary-nav.open)::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header .primary-nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
    padding: 12px 4px !important;
    margin: 0 !important;
    color: #123b5a !important;
    background: transparent !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    border-bottom: 1px solid rgba(18,59,90,.12) !important;
    opacity: 1 !important;
  }

  .site-header .primary-nav a:hover,
  .site-header .primary-nav a:focus-visible {
    color: #078bc8 !important;
  }

  /* Ensure the close/hamburger control is above the drawer. */
  .nav-toggle {
    position: relative !important;
    z-index: 10001 !important;
  }

  body.menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Page content stays below the overlay. */
  body.menu-open main,
  body.menu-open .hero,
  body.menu-open .site-footer {
    z-index: 0 !important;
  }
}


/* v2.4 — Footer cleanup */
.footer-social,
.social-links,
.social-icons {
  outline: none !important;
}

/* Keep the footer copyright line centered across the footer width. */
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center !important;
  text-align: center;
  position: relative;
}

.site-footer .footer-bottom .copyright {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Keep legal links on the right without affecting copyright centering when present. */
.site-footer .footer-bottom .footer-legal {
  position: absolute;
  right: 0;
}

@media (max-width: 820px) {
  .site-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .site-footer .footer-bottom .footer-legal {
    position: static;
  }
}


/* v2.5 — WordPress consultation form status and privacy notice */
.form-status {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  margin: 0 0 18px;
  border-radius: 12px;
  font-weight: 600;
}
.form-status-success {
  background: #e9f8ef;
  color: #17663a;
  border: 1px solid #b8e4c7;
}
.form-status-error {
  background: #fff2f2;
  color: #8a2424;
  border: 1px solid #f0c0c0;
}
.form-privacy-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: .78;
}


/* v2.6 — remove footer social icons and legal links */
.site-footer .socials,
.site-footer .footer-bottom nav,
.site-footer .footer-legal {
  display: none !important;
}

.site-footer .footer-bottom {
  justify-content: center !important;
  text-align: center !important;
}

.site-footer .footer-bottom p {
  width: 100%;
  margin: 0 auto;
  text-align: center !important;
}

/* v2.8 — success state */
.form-status-success {
  max-width: 760px;
  margin: 0 auto !important;
  padding: 28px 30px !important;
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
  border-radius: 16px;
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(42px, 11.5vw, 58px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.035em !important;
  }
  .hero p { font-size: 16px !important; line-height: 1.55 !important; }
  .hero .button, .hero a.button {
    min-height: 52px;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
  .hero .hero-actions, .hero .actions, .hero .cta-group {
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  .form-status-success {
    margin: 20px 16px !important;
    padding: 24px 18px !important;
    font-size: 17px !important;
  }
}
