:root {
  --h2-mega-blue: #1f527b;
  --h2-mega-blue-dark: #143b5d;
  --h2-mega-blue-deep: #0f314f;
  --h2-mega-orange: #f1872a;
  --h2-mega-white: #ffffff;
  --h2-mega-ice: #f6f9fc;
  --h2-mega-line: #d9e5ee;
  --h2-mega-muted: #66849b;
  --h2-mega-shadow: 0 24px 60px rgba(15, 49, 79, 0.2);
}

.h2-mega,
.h2-mega * {
  box-sizing: border-box;
}

.h2-mega {
  width: min(1180px, calc(100vw - 32px));
  margin-top: 38px;
  margin-left: 40px;
  color: var(--h2-mega-blue-deep);
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.h2-mega :where(a, h2, h3, p, span, strong, small) {
  max-width: 100%;
  color: inherit;
  font-family: Montserrat, Inter, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  line-height: inherit;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
}

.h2-mega a {
  color: inherit;
  text-decoration: none;
}

.h2-mega__inner {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  width: 100%;
  padding: 22px;
  background: var(--h2-mega-white);
  border: 1px solid rgba(31, 82, 123, 0.14);
  border-radius: 0 0 22px 22px;
  box-shadow: var(--h2-mega-shadow);
}

.h2-mega--services {
  width: min(960px, calc(100vw - 80px));
}

.h2-mega--services .h2-mega__inner {
  grid-template-columns: minmax(260px, 310px) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  padding: 18px;
}

.h2-mega--services .h2-mega__feature {
  min-height: 300px;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px;
}

.h2-mega--services .h2-mega__feature h2 {
  font-size: 24px !important;
}

.h2-mega--services .h2-mega__feature p {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.h2-mega--services .h2-mega__feature-link {
  margin-top: auto;
  width: fit-content;
}

.h2-mega--services .h2-mega__columns {
  align-content: start;
  gap: 12px;
  padding-top: 4px;
}

.h2-mega--services .h2-mega__group h3 {
  margin-bottom: 12px;
  text-align: center !important;
}

.h2-mega--services .h2-mega__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.h2-mega--services .h2-mega-card--primary {
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  min-height: 138px;
  padding: 18px;
}

.h2-mega--services .h2-mega-card--primary .h2-mega-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.h2-mega--services .h2-mega-card--primary .h2-mega-card__icon::before {
  font-size: 24px;
}

.h2-mega--services .h2-mega-card--primary strong {
  font-size: 16px !important;
}

.h2-mega--services .h2-mega-card--primary small {
  font-size: 13px !important;
}

.h2-mega--services .h2-mega__footer {
  padding-top: 12px;
}

.h2-mega__feature {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(31, 82, 123, 0.94), rgba(15, 49, 79, 0.98));
  border-radius: 16px;
  color: var(--h2-mega-white);
}

.h2-mega__kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  background: rgba(241, 135, 42, 0.16);
  border: 1px solid rgba(241, 135, 42, 0.34);
  border-radius: 999px;
  color: #ffd6b1;
  font-size: 11px;
  font-weight: 800;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.h2-mega__feature h2 {
  margin: 0;
  color: var(--h2-mega-white);
  font-size: 26px !important;
  line-height: 1.08 !important;
  letter-spacing: 0;
}

.h2-mega__feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.h2-mega__feature-link,
.h2-mega__footer a:last-child {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  background: var(--h2-mega-orange);
  border-radius: 999px;
  color: var(--h2-mega-white);
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.06em !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  transition: background 180ms ease, transform 180ms ease;
}

.h2-mega__feature-link:hover,
.h2-mega__footer a:last-child:hover {
  background: #d96f17;
  transform: translateY(-1px);
}

.h2-mega__columns {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.h2-mega__group {
  min-width: 0;
}

.h2-mega__group h3 {
  margin: 0 0 10px;
  color: var(--h2-mega-blue-dark);
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

.h2-mega__grid {
  display: grid;
  gap: 10px;
}

.h2-mega__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.h2-mega__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h2-mega-card {
  min-width: 0;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 86px;
  padding: 12px;
  background: var(--h2-mega-ice);
  border: 1px solid rgba(31, 82, 123, 0.12);
  border-radius: 10px;
  color: var(--h2-mega-blue-deep) !important;
  text-align: left !important;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.h2-mega-card:hover {
  background: var(--h2-mega-white);
  border-color: rgba(241, 135, 42, 0.46);
  box-shadow: 0 12px 28px rgba(15, 49, 79, 0.12);
  transform: translateY(-1px);
}

.h2-mega-card--primary {
  min-height: 104px;
  background: #eef6fb;
}

.h2-mega-card__icon {
  width: 44px;
  height: 44px;
  display: grid !important;
  place-items: center;
  overflow: hidden;
  background: var(--h2-mega-white);
  border: 1px solid rgba(31, 82, 123, 0.14);
  border-radius: 10px;
  color: var(--h2-mega-orange);
  flex: 0 0 auto;
}

.h2-mega-card__icon img {
  width: 27px;
  height: 27px;
  display: block;
  object-fit: contain;
}

.h2-mega-card__icon::before {
  color: currentColor;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.h2-mega-card__icon--home::before {
  content: "H";
}

.h2-mega-card__icon--building::before {
  content: "B";
}

.h2-mega-card__icon--ant::before {
  content: "A";
}

.h2-mega-card__icon--rodent::before {
  content: "R";
}

.h2-mega-card__icon--earwig::before {
  content: "E";
}

.h2-mega-card__icon--silverfish::before {
  content: "S";
}

.h2-mega-card__icon--boxelder::before {
  content: "B";
}

.h2-mega-card__content {
  min-width: 0;
  display: grid !important;
  gap: 3px;
}

.h2-mega-card__content strong {
  display: block;
  color: var(--h2-mega-blue-deep);
  font-size: 14px !important;
  font-weight: 900;
  line-height: 1.2 !important;
  overflow-wrap: anywhere;
}

.h2-mega-card__content small {
  display: block;
  color: var(--h2-mega-muted);
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
}

.h2-mega__group--species {
  padding-top: 2px;
}

.h2-mega__quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.h2-mega__quick-list a {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  background: var(--h2-mega-white);
  border: 1px solid var(--h2-mega-line);
  border-radius: 999px;
  color: var(--h2-mega-blue-dark);
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.15 !important;
  transition: border-color 180ms ease, color 180ms ease;
}

.h2-mega__quick-list a:hover {
  border-color: rgba(241, 135, 42, 0.6);
  color: var(--h2-mega-orange);
}

.h2-mega__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--h2-mega-line);
}

.h2-mega__footer a:first-child {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--h2-mega-blue-dark);
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.04em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

.h2-mega__footer a:first-child:hover {
  color: var(--h2-mega-orange);
}

@media (max-width: 1120px) {
  .h2-mega {
    width: min(980px, calc(100vw - 24px));
  }

  .h2-mega--services {
    width: min(900px, calc(100vw - 48px));
  }

  .h2-mega__inner {
    grid-template-columns: 1fr;
  }

  .h2-mega__feature {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .h2-mega {
    margin-top: 10px;
    margin-left: 0;
  }

  .h2-mega__grid--three,
  .h2-mega__grid--two {
    grid-template-columns: 1fr;
  }

  .h2-mega__inner {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 16px;
  }

  .h2-mega__footer {
    align-items: stretch;
    flex-direction: column;
  }
}