/* ======================================================
   Contact Us (SCOPED) — extra-safe wrapper scope
   - Everything is gated by: main.nw-contact-main
   - No :root, no globals, no token usage
   ====================================================== */

main.nw-contact-main{
  background: #eef3f0;
}

/* Page base (scoped) */
main.nw-contact-main .nw-contact{
  background: #eef3f0;
  color: #31373a;

  /* Match About Us: Roboto everywhere + system fallback */
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Match About Us baseline sizing */
  font-size: 16px;
  line-height: 28px;

  font-weight: 400;
}

main.nw-contact-main .nw-contact *,
main.nw-contact-main .nw-contact *::before,
main.nw-contact-main .nw-contact *::after{
  box-sizing: border-box;
}

main.nw-contact-main .nw-contact img:not(.nw-contact__hero-bg){
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus (scoped) */
main.nw-contact-main .nw-contact :focus{
  outline: 2px solid rgba(255, 213, 79, 0.65);
  outline-offset: 2px;
}

/* =========================
   HERO
   ========================= */
main.nw-contact-main .nw-contact__hero{
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f0f0f0;
}

main.nw-contact-main .nw-contact__hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%; /* <- try 65–80% */
  filter: brightness(70%);
  z-index: 0;
}

main.nw-contact-main .nw-contact__hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

main.nw-contact-main .nw-contact__hero-inner{
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  margin-left: auto;
  margin-right: auto;
  padding: 44px 0;
  max-width: 920px;
}

main.nw-contact-main .nw-contact__eyebrow{
  margin: 0 0 10px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.92);
  font-family: inherit;
}

main.nw-contact-main .nw-contact__title{
  margin: 0 0 14px 0;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -1px;
  color: #ffd54f;
  text-transform: none;
}

main.nw-contact-main .nw-contact__subtitle{
  margin: 0;
  font-family: inherit;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.7;
  font-weight: 300;
  color: #f1f1f1;
  max-width: 68ch;
}

main.nw-contact-main .nw-contact__hero-actions{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   WRAP + GRID
   ========================= */
main.nw-contact-main .nw-contact__wrap{
  width: min(1200px, 92vw);
  margin-left: auto;
  margin-right: auto;
  padding: 34px 0 74px 0;
}

main.nw-contact-main .nw-contact__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 980px){
  main.nw-contact-main .nw-contact__grid{ grid-template-columns: 1fr; }
}

/* =========================
   CARDS
   ========================= */
main.nw-contact-main .nw-contact__card{
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(241, 244, 245, 0.95);
  overflow: hidden;
}

main.nw-contact-main .nw-contact__card-head{
  padding: 22px 22px 0 22px;
}

main.nw-contact-main .nw-contact__h2{
  margin: 0 0 6px 0;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #31373a;
  text-transform: uppercase;
}

main.nw-contact-main .nw-contact__h3{
  margin: 16px 22px 8px 22px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #31373a;
  text-transform: uppercase;
}

main.nw-contact-main .nw-contact__muted{
  margin: 0 0 14px 0;
  color: #5a6763;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}

/* =========================
   BUTTONS (scoped)
   ========================= */
main.nw-contact-main .nw-contact__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;

  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;

  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease, filter 150ms ease;
  border: 1px solid rgba(0,0,0,0.25);
}

main.nw-contact-main .nw-contact__btn:focus-visible{
  outline: 3px solid rgba(255, 213, 79, 0.65);
  outline-offset: 2px;
}

main.nw-contact-main .nw-contact__btn--primary{
  background: #16412f;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

main.nw-contact-main .nw-contact__btn--primary:hover{
  transform: translateY(-1px);
  background: #2f6a4b;
}

main.nw-contact-main .nw-contact__btn--ghost{
  background: transparent;
  color: #16412f;
  border: 1.5px solid #8EAF9D;
}

main.nw-contact-main .nw-contact__btn--ghost:hover{
  background: rgba(241, 244, 245, 0.75);
  transform: translateY(-1px);
}

main.nw-contact-main .nw-contact__btn--full{
  width: 100%;
}

/* =========================
   FORM
   ========================= */
main.nw-contact-main .nw-contact__form{
  padding: 18px 22px 22px 22px;
}

main.nw-contact-main .nw-contact__form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px){
  main.nw-contact-main .nw-contact__form-grid{ grid-template-columns: 1fr; }
}

main.nw-contact-main .nw-contact__field{
  display: grid;
  gap: 6px;
}

main.nw-contact-main .nw-contact__field--full{
  grid-column: 1 / -1;
}

main.nw-contact-main .nw-contact__label{
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #31373a;
}

main.nw-contact-main .nw-contact__input,
main.nw-contact-main .nw-contact__select,
main.nw-contact-main .nw-contact__textarea{
  appearance: none;
  width: 100%;
  background: #f0f0f0;
  border: 1px solid rgba(142, 175, 157, 0.40);
  border-radius: 10px;
  padding: 12px 12px;
  color: #31373a;

  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;

  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

main.nw-contact-main .nw-contact__textarea{
  resize: vertical;
  min-height: 140px;
}

main.nw-contact-main .nw-contact__input::placeholder,
main.nw-contact-main .nw-contact__textarea::placeholder{
  color: rgba(90, 103, 99, 0.75);
}

main.nw-contact-main .nw-contact__input:focus,
main.nw-contact-main .nw-contact__select:focus,
main.nw-contact-main .nw-contact__textarea:focus{
  outline: none;
  border-color: #16412f;
  box-shadow: 0 0 0 3px rgba(22, 65, 47, 0.25);
  background: #ffffff;
}

main.nw-contact-main .nw-contact__help{
  margin: 6px 2px 0 2px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6763;
}

main.nw-contact-main .nw-contact__form-actions{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

main.nw-contact-main .nw-contact__fineprint{
  margin: 14px 0 0 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6763;
}

/* Honeypot */
main.nw-contact-main .nw-contact__hp{
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================
   INFO (right card)
   ========================= */
main.nw-contact-main .nw-contact__info-list{
  list-style: none;
  margin: 0;
  padding: 6px 22px 0 22px;
}

main.nw-contact-main .nw-contact__info-item{
  padding: 12px 0;
  border-bottom: 1px solid rgba(142, 175, 157, 0.22);
  display: flex;
  flex-direction: column;
  gap: 6px; /* space between stacked links */
}

main.nw-contact-main .nw-contact__info-item:last-child{
  border-bottom: none;
}

main.nw-contact-main .nw-contact__info-kicker{
  display: block;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(49, 55, 58, 0.75);
  margin-bottom: 4px;
}

main.nw-contact-main .nw-contact__info-link{
  color: #6AA476;
  text-decoration: none;
  font-family: inherit;
  font-weight: 800;
  display: inline-block; /* keeps text sizing sane */
}

main.nw-contact-main .nw-contact__info-link:hover{
  color: #2f6a4b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main.nw-contact-main .nw-contact__info-text{
  color: #31373a;
  font-family: inherit;
  font-weight: 600;
}

main.nw-contact-main .nw-contact__divider{
  height: 1px;
  background: rgba(142, 175, 157, 0.22);
  margin: 10px 22px 0 22px;
}

main.nw-contact-main .nw-contact__bullets{
  list-style: none;
  margin: 0;
  padding: 0 22px 18px 22px;
  display: grid;
  gap: 8px;
}

main.nw-contact-main .nw-contact__bullets li{
  position: relative;
  padding-left: 22px;
  color: #31373a;
  line-height: 1.55;
  font-family: inherit;
  font-size: 16px;
}

main.nw-contact-main .nw-contact__bullets li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 40%, #ffd54f 0 45%, #16412f 50% 100%);
  box-shadow: 0 0 0 2px rgba(22, 65, 47, 0.35);
}

main.nw-contact-main .nw-contact__cta-band{
  margin: 0;
  padding: 16px 22px 22px 22px;
  background: rgba(241, 244, 245, 0.75);
  border-top: 1px solid rgba(142, 175, 157, 0.22);
}

main.nw-contact-main .nw-contact__cta-text{
  margin: 0 0 10px 0;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #31373a;
  font-size: 12px;
}

/* =========================
   MAP CARD
   ========================= */
main.nw-contact-main .nw-contact__map-card{
  margin-top: 22px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(241, 244, 245, 0.95);
  overflow: hidden;
}

main.nw-contact-main .nw-contact__map-head{
  padding: 22px 22px 0 22px;
}

main.nw-contact-main .nw-contact__map-grid{
  padding: 16px 22px 22px 22px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 980px){
  main.nw-contact-main .nw-contact__map-grid{ grid-template-columns: 1fr; }
}

main.nw-contact-main .nw-contact__address-line{
  margin: 0 0 8px 0;
  color: #31373a;
  font-family: inherit;
  font-size: 16px;
  line-height: 28px;
}

main.nw-contact-main .nw-contact__address-line strong{
  color: #31373a;
  font-weight: 900;
}

main.nw-contact-main .nw-contact__map-embed{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(142, 175, 157, 0.25);
  background: #f0f0f0;
  min-height: 280px;
}

main.nw-contact-main .nw-contact__map-embed iframe{
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

/* =========================
   FAQ
   ========================= */
main.nw-contact-main .nw-contact__faq{
  margin-top: 22px;
}

main.nw-contact-main .nw-contact__faq-item{
  margin: 0 0 12px 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
  overflow: hidden;
}

main.nw-contact-main .nw-contact__faq-item[open]{
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

main.nw-contact-main .nw-contact__faq-summary{
  list-style: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #31373a;
}

main.nw-contact-main .nw-contact__faq-summary::-webkit-details-marker{
  display: none;
}

main.nw-contact-main .nw-contact__faq-summary::before{
  content: "+";
  inline-size: 22px;
  block-size: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  font-weight: 900;
  flex: none;
  color: rgba(15, 23, 42, 0.85);
  background: #ffffff;
}

main.nw-contact-main .nw-contact__faq-item[open] .nw-contact__faq-summary::before{
  content: "–";
  background: rgba(15, 23, 42, 0.06);
}

main.nw-contact-main .nw-contact__faq-body{
  margin: 0;
  font-family: inherit;
  font-size: 14px;   /* match .qi-card-text / .step-body p */
  padding: 0 18px 16px 52px;
  color: rgba(15, 23, 42, 0.80);
  line-height: 1.7;
}

/* Responsive hero height */
@media (max-width: 768px){
  main.nw-contact-main .nw-contact__hero{ min-height: 58vh; }
}

/* Add this small block to your already-scoped CSS to support the new CTA stack */
main.nw-contact-main .nw-contact__stack{
  display: grid;
  gap: 10px;
}
