/* Stickybit enhancements + mobile + form */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }

#contact a, footer a, p, h1, h2, h3, li, span, label {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 960px) {
  #approach > div,
  #contact > div {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  #services > div > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 720px) {
  nav {
    height: 60px !important;
    padding: 0 14px !important;
  }
  nav a[href="#services"],
  nav a[href="#approach"] {
    display: none !important;
  }
  nav a[href="#contact"] {
    white-space: nowrap !important;
    font-size: 11.5px !important;
    letter-spacing: 0.06em !important;
    padding: 9px 12px !important;
  }
  section#top,
  section#approach,
  section#services,
  section#contact,
  footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  section#top {
    min-height: auto !important;
    padding-top: 88px !important;
  }
  section#top h1 {
    font-size: clamp(30px, 9.5vw, 42px) !important;
  }
  section#top a[href="#contact"],
  section#top a[href="#services"] {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  #contact > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }
  #services > div > div[style*="grid"],
  #approach + section > div > div[style*="grid"] {
    grid-template-columns: 1fr !important;
  }
}

#contact .sb-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
  background: rgba(8, 14, 9, 0.6);
  border: 1px solid rgba(120, 192, 72, 0.22);
  border-radius: 10px;
  padding: clamp(24px, 3vw, 36px);
}
#contact .sb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  #contact .sb-row { grid-template-columns: 1fr; }
}
#contact .sb-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
#contact .sb-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #9aa69a;
  text-transform: uppercase;
}
#contact .sb-opt { color: #5f6b5e; text-transform: none; letter-spacing: 0; }
#contact .sb-input,
#contact .sb-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #0a110b;
  border: 1px solid rgba(120, 192, 72, 0.22);
  border-radius: 6px;
  padding: 12px 13px;
  color: #e6ece4;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
}
#contact .sb-input:focus,
#contact .sb-textarea:focus {
  border-color: #78c048;
  outline: none;
}
#contact .sb-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}
#contact .sb-checkboxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
#contact .sb-checkboxes label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: #c8d2c6;
  cursor: pointer;
  line-height: 1.35;
}
#contact .sb-checkboxes input {
  accent-color: #78c048;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
#contact .sb-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(120, 192, 72, 0.28);
  border-radius: 8px;
  background: rgba(120, 192, 72, 0.06);
  font-size: 16px;
  font-weight: 500;
  color: #e6ece4;
  cursor: pointer;
}
#contact .sb-consent input {
  accent-color: #78c048;
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 1px;
}
#contact .sb-req { color: #78c048; font-weight: 700; }
#contact .sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #78c048;
  color: #0a1408;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 15px 26px;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
}
#contact .sb-btn:hover { background: #8fd95a; }
#contact .sb-btn:disabled { opacity: 0.65; cursor: wait; }
#contact .sb-success {
  background: rgba(8, 14, 9, 0.6);
  border: 1px solid rgba(120, 192, 72, 0.22);
  border-radius: 10px;
  padding: 24px;
  color: #a8b3a6;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 1.5;
}
#contact .sb-error {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: #ff8a80;
  line-height: 1.45;
}
#contact .sb-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
#contact .sb-captcha-status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #7e887d;
}
#contact .sb-recaptcha-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 192, 72, 0.18);
  border-radius: 6px;
  background: rgba(8, 14, 9, 0.55);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #7e887d;
  line-height: 1.45;
}
#contact .sb-rc-mark {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a1408;
  background: #78c048;
  padding: 3px 7px;
  border-radius: 3px;
  font-weight: 600;
}
