
/* QHP residential appliance services page */

.ap-hub {
  color: #183149;
  background: #fff;
}

.ap-hub-wrap {
  width: min(1210px, 92%);
  margin: auto;
}

.ap-hub-hero {
  background: #102a43;
  color: #fff;
  overflow: hidden;
}

.ap-hub-hero-inner {
  min-height: 490px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(22px, 4vw, 55px);
}

.ap-hub-copy {
  padding: clamp(52px, 7vw, 100px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ap-hub-eyebrow,
.ap-hub-kicker,
.ap-hub-service-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px;
  color: #d9aa53;
}

.ap-hub-hero h1 {
  max-width: 610px;
  font-size: clamp(40px, 5.2vw, 72px);
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: #fff;
  margin: 20px 0;
}

.ap-hub-hero h1 em {
  color: #e2b85d;
  font-style: normal;
}

.ap-hub-copy > p:not(.ap-hub-eyebrow):not(.ap-hub-credential) {
  max-width: 530px;
  font-size: 17px;
  line-height: 1.75;
  color: #e5edf4;
}

.ap-hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 21px;
}

.ap-hub-button {
  padding: 15px 23px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
}

.ap-hub-gold {
  color: #132a40;
  background: #e2b85d;
}

.ap-hub-ghost {
  color: #fff;
  border: 1px solid #abbccb;
}

.ap-hub-credential {
  color: #d4e0e9;
  font-size: 12px;
  margin-top: 25px;
}

.ap-hub-hero-image {
  height: 100%;
  min-height: 400px;
}

.ap-hub-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ap-hub-choices {
  padding: 80px 0 65px;
  background: #f5f8fa;
}

.ap-hub-choices h2,
.ap-hub-steps h2 {
  font-size: clamp(29px, 3.3vw, 43px);
  color: #122b42;
  margin: 11px 0;
}

.ap-hub-choices h2 span {
  color: #af7e31;
}

.ap-hub-lead {
  max-width: 710px;
  color: #52697b;
  line-height: 1.8;
  margin: 13px 0 30px;
}

.ap-hub-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.ap-hub-service {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dde7ed;
  box-shadow: 0 14px 32px #10263e0d;
}

.ap-hub-service > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #e6ebee;
}

.ap-hub-service-body {
  padding: 28px 30px 32px;
}

.ap-hub-service h3 {
  color: #142e43;
  font-size: 28px;
  margin: 12px 0;
}

.ap-hub-service p {
  color: #52697b;
  line-height: 1.75;
  min-height: 55px;
}

.ap-hub-service-link {
  display: inline-flex;
  gap: 13px;
  margin-top: 8px;
  text-decoration: none;
  padding: 14px 19px;
  border-radius: 7px;
  color: #10263e;
  font-weight: 800;
  background: #e5b75d;
}

.ap-hub-photo-note {
  font-size: 12px;
  color: #697d8a;
  margin-top: 22px;
}

.ap-hub-steps {
  padding: 69px 0 85px;
}

.ap-hub-step-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 23px;
  margin-top: 30px;
}

.ap-hub-step-grid > div {
  padding: 22px;
  border-left: 3px solid #d7a955;
  background: #f6f8f9;
}

.ap-hub-step-grid b {
  display: block;
  color: #ac7d31;
  font-size: 13px;
  margin-bottom: 13px;
}

.ap-hub-step-grid strong {
  display: block;
  color: #15324b;
  font-size: 18px;
}

.ap-hub-step-grid p {
  color: #52697b;
  line-height: 1.65;
  font-size: 14px;
}

.ap-hub a:focus-visible {
  outline: 3px solid #dbaf5a;
  outline-offset: 4px;
}

@media (max-width: 850px) {
  .ap-hub-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ap-hub-copy {
    padding: 49px 0 30px;
  }

  .ap-hub-hero-image {
    min-height: 0;
    height: 280px;
  }

  .ap-hub-services {
    grid-template-columns: 1fr;
  }

  .ap-hub-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .ap-hub-hero-image {
    height: 210px;
  }

  .ap-hub-step-grid {
    grid-template-columns: 1fr;
  }

  .ap-hub-choices {
    padding: 55px 0;
  }

  .ap-hub-service-body {
    padding: 23px;
  }
}
