/* Shared service icons for the homepage, ESA page, and pricing page. */
.home-service-grid .home-service-card .home-service-icon {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  border: 1px solid rgb(255 255 255 / 48%) !important;
  border-radius: 11px !important;
  background: var(--nsa-service-icon-bg) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgb(8 32 54 / 14%) !important;
}
.home-service-grid .home-service-card .home-service-icon > svg { display: none !important; }
.home-service-grid .home-service-card .home-service-icon::before {
  display: block;
  width: 22px;
  height: 22px;
  content: "";
  background: #fff;
  -webkit-mask: var(--nsa-service-icon-mask) center / contain no-repeat;
  mask: var(--nsa-service-icon-mask) center / contain no-repeat;
}

.home-service-grid .home-service-card:nth-child(1) .home-service-icon,
.offering-card:nth-child(1) { --nsa-service-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v12h14V9'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/svg%3E"); }
.home-service-grid .home-service-card:nth-child(2) .home-service-icon,
.offering-card:nth-child(2) { --nsa-service-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='6.8' cy='8' rx='1.7' ry='2.1'/%3E%3Cellipse cx='12' cy='5.8' rx='1.7' ry='2.1'/%3E%3Cellipse cx='17.2' cy='8' rx='1.7' ry='2.1'/%3E%3Cpath d='M6 16.5c0-2.7 2.6-4.9 6-4.9s6 2.2 6 4.9c0 1.5-1 2.5-2.4 2.5-1 0-2.1-.8-3.6-.8s-2.6.8-3.6.8C7 19 6 18 6 16.5Z'/%3E%3C/svg%3E"); }
.home-service-grid .home-service-card:nth-child(3) .home-service-icon,
.offering-card:nth-child(3) { --nsa-service-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }

/* Match the same service symbols to each color-coded standard price strip. */
#service-offerings .offering-card dl > div:nth-child(2) {
  position: relative;
  box-sizing: border-box;
  padding-left: 57px !important;
}
#service-offerings .offering-card dl > div:nth-child(2)::before {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 34px;
  height: 34px;
  content: "";
  transform: translateY(-50%);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 10px;
  background: rgb(4 25 43 / 24%);
}
#service-offerings .offering-card dl > div:nth-child(2)::after {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 20px;
  height: 20px;
  content: "";
  transform: translateY(-50%);
  background: #fff;
  -webkit-mask: var(--nsa-service-icon-mask) center / contain no-repeat;
  mask: var(--nsa-service-icon-mask) center / contain no-repeat;
}
#service-offerings .offering-card dl > div:nth-child(2) dt,
#service-offerings .offering-card dl > div:nth-child(2) dd { position: relative; z-index: 1; }

/* Category colors follow the existing blue, red, and green price strips. */
#service-offerings .home-service-card:nth-child(1) .home-service-icon { --nsa-service-icon-bg: #1268b5; }
#service-offerings .home-service-card:nth-child(2) .home-service-icon { --nsa-service-icon-bg: #b20e2e; }
#service-offerings .home-service-card:nth-child(3) .home-service-icon { --nsa-service-icon-bg: #24754f; }
.home-service-grid .home-service-card:nth-child(1) .home-service-icon { --nsa-service-icon-bg: #1268b5; }
.home-service-grid .home-service-card:nth-child(2) .home-service-icon { --nsa-service-icon-bg: #b20e2e; }
.home-service-grid .home-service-card:nth-child(3) .home-service-icon { --nsa-service-icon-bg: #24754f; }
#service-offerings .offering-card:nth-child(1) dl > div:nth-child(2) { --nsa-service-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v12h14V9'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/svg%3E"); }
#service-offerings .offering-card:nth-child(2) dl > div:nth-child(2) { --nsa-service-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='6.8' cy='8' rx='1.7' ry='2.1'/%3E%3Cellipse cx='12' cy='5.8' rx='1.7' ry='2.1'/%3E%3Cellipse cx='17.2' cy='8' rx='1.7' ry='2.1'/%3E%3Cpath d='M6 16.5c0-2.7 2.6-4.9 6-4.9s6 2.2 6 4.9c0 1.5-1 2.5-2.4 2.5-1 0-2.1-.8-3.6-.8s-2.6.8-3.6.8C7 19 6 18 6 16.5Z'/%3E%3C/svg%3E"); }
#service-offerings .offering-card:nth-child(3) dl > div:nth-child(2) { --nsa-service-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
@media (max-width: 650px) {
  #service-offerings .offering-card dl > div:nth-child(2) { padding-left: 54px !important; }
  #service-offerings .offering-card dl > div:nth-child(2)::before { left: 11px; width: 32px; height: 32px; }
  #service-offerings .offering-card dl > div:nth-child(2)::after { left: 17px; width: 20px; height: 20px; }
}
