/* Contact Us — unique NAP cards + map. Shared chrome uses home.css via body.home */

body:is(.page-contact, .page-services, .page-service-detail) .page-banner {
  position: relative;
  padding: 3.15rem 0 2.35rem;
  background: #f5f6f4;
  text-align: center;
  overflow: hidden;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner .container {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--header-max));
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner__dots {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(#c5cbc6 1.15px, transparent 1.2px);
  background-size: 9px 9px;
  opacity: 0.5;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner__dots--tr {
  top: 1.15rem;
  right: 8%;
  width: 8.25rem;
  height: 4.5rem;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner__dots--ml {
  left: 7%;
  top: 58%;
  width: 5.75rem;
  height: 4.85rem;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner h1 {
  margin: 0 0 0.7rem;
  color: #14241c;
  font-size: clamp(1.85rem, 4.4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

body.page-service-detail .page-banner h1 {
  max-width: 16ch;
  margin-inline: auto;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner .crumbs {
  justify-content: center;
  margin: 0;
  color: #8a918c;
  font-size: 0.92rem;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner .crumbs a {
  color: #6c7570;
  text-decoration: none;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner .crumbs a:hover {
  color: #14241c;
}

body:is(.page-contact, .page-services, .page-service-detail) .page-banner .crumbs [aria-current="page"] {
  color: #14241c;
}

body.page-contact .nap {
  background: #fff;
  padding: 3.25rem 0 4.75rem;
}

body.page-contact .nap .container {
  width: min(100% - 2.5rem, var(--header-max));
}

body.page-contact .nap-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

body.page-contact .nap-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 2.15rem 1.35rem 1.85rem;
  background: #fff;
  border: 1px solid rgba(20, 36, 28, 0.1);
  border-radius: 1.35rem;
}

body.page-contact .nap-card__icon {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 1.05rem;
  border-radius: 50%;
  background: #1b3022;
  color: var(--header-lime);
}

body.page-contact .nap-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

body.page-contact .nap-card h2 {
  margin: 0 0 0.45rem;
  color: #14241c;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

body.page-contact .nap-card p,
body.page-contact .nap-card a {
  margin: 0;
  max-width: 18rem;
  color: #6c7570;
  font-size: 0.95rem;
  line-height: 1.55;
  text-decoration: none;
}

body.page-contact .nap-card p + p {
  margin-top: 0.4rem;
}

body.page-contact .nap-card a:hover {
  color: #14241c;
}

body.page-contact .nap-map {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 22.5rem;
  background: #e8ebe7;
}

body.page-contact .nap-map iframe {
  display: block;
  width: 100%;
  height: 22.5rem;
  border: 0;
  filter: grayscale(1) contrast(0.92) brightness(1.06);
}

body.page-contact .nap-pin {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  width: 3.35rem;
  height: 4.35rem;
  transform: translate(-50%, -88%);
  pointer-events: none;
}

body.page-contact .nap-pin svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (min-width: 768px) {
  body.page-contact .nap-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}

@media (max-width: 639px) {
  body:is(.page-contact, .page-services, .page-service-detail) .page-banner {
    padding: 2.35rem 0 1.85rem;
  }

  body:is(.page-contact, .page-services, .page-service-detail) .page-banner .container,
  body.page-contact .nap .container {
    width: min(100% - 2rem, var(--header-max));
  }

  body:is(.page-contact, .page-services, .page-service-detail) .page-banner h1 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  body:is(.page-contact, .page-services, .page-service-detail) .page-banner .crumbs {
    row-gap: 0.2rem;
    justify-content: center;
  }

  body.page-contact .nap {
    padding-bottom: 3.15rem;
  }

  body.page-contact .nap-card {
    padding: 1.75rem 1.15rem 1.5rem;
  }

  body.page-contact .nap-map,
  body.page-contact .nap-map iframe {
    min-height: 18.5rem;
    height: 18.5rem;
  }
}
