.he-page {
  --he-blue: #0075be;
  --he-blue-dark: #0b4f8e;
  --he-navy: #13345c;
  --he-ink: #183153;
  --he-muted: #5d738f;
  --he-border: #d6e3ef;
  --he-soft: #f5f8fb;
  background: #f4f6f8;
  color: var(--he-ink);
}

.he-page main {
  overflow: hidden;
}

.he-page img {
  display: block;
  max-width: 100%;
}

.he-page h1,
.he-page h2,
.he-page h3 {
  color: var(--he-ink);
  letter-spacing: -0.03em;
}

.he-page p {
  color: var(--he-muted);
}

.he-page a {
  text-decoration: none;
}

.he-hero,
.he-intro,
.he-benefits,
.he-rate-goals,
.he-guidance,
.he-tools,
.he-center,
.he-contact {
  padding: 82px 0;
}

.he-hero {
  padding-top: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%),
    #eef4f8;
}

.he-hero-shell {
  position: relative;
  min-height: 460px;
  padding-top: 238px;
}

.he-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 300px;
  border-radius: 30px 30px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.18) 40%, rgba(255, 255, 255, 0.08) 100%),
    url("../img/about/usfamily.jpg") center center / cover no-repeat;
  box-shadow: 0 18px 38px rgba(25, 52, 92, 0.1);
}

.he-hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 300px;
  gap: 26px;
  align-items: end;
}

.he-hero-copy {
  padding: 24px 28px 28px;
  border-top: 4px solid #29a1ea;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 34px rgba(25, 52, 92, 0.08);
}

.he-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--he-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.he-hero-copy h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.05;
}

.he-hero-copy p {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
}

.he-hero-actions,
.he-guidance-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.he-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: 0.2s ease;
}

.he-btn:hover {
  transform: translateY(-1px);
}

.he-btn-primary,
.he-btn-primary:visited,
.he-btn-primary:focus {
  background: var(--he-blue);
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(0, 117, 190, 0.22);
}

.he-btn-primary:hover {
  background: var(--he-blue-dark);
  color: #fff !important;
}

.he-btn-secondary,
.he-btn-secondary:visited,
.he-btn-secondary:focus,
.he-btn-outline,
.he-btn-outline:visited,
.he-btn-outline:focus {
  background: #fff;
  border-color: var(--he-blue);
  color: var(--he-blue) !important;
}

.he-btn-secondary:hover,
.he-btn-outline:hover {
  background: var(--he-blue);
  color: #fff !important;
}

.he-rate-card,
.he-stat-card,
.he-contact-card {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(24, 49, 83, 0.08);
}

.he-rate-card {
  border-top: 4px solid #3ab5ff;
}

.he-rate-label,
.he-card-label {
  display: block;
  color: var(--he-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.he-rate-card strong,
.he-stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--he-ink);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
}

.he-rate-card span,
.he-card-subtitle {
  display: block;
  margin-top: 8px;
  color: var(--he-muted);
  font-size: 14px;
}

.he-rate-card .he-btn,
.he-stat-card .he-btn {
  margin-top: 18px;
}

.he-section-heading {
  max-width: 800px;
  margin: 0 auto 38px;
  text-align: center;
}

.he-intro {
  padding: 58px 0 44px;
  background: #fff;
}

.he-benefits {
  padding-top: 54px;
  background: #fff;
}

.he-rate-goals,
.he-center {
  background: #f2f5f8;
}

.he-guidance,
.he-tools,
.he-contact {
  background: #fff;
}

.he-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--he-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.he-section-heading h2,
.he-panel-heading h2,
.he-guidance-copy h2,
.he-tools-copy h2,
.he-center-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.he-section-heading p,
.he-panel-heading p,
.he-guidance-copy p,
.he-tools-copy p,
.he-center-copy p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
}

.he-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.he-benefit {
  padding: 22px 18px;
  text-align: center;
}

.he-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 117, 190, 0.08);
  color: var(--he-blue);
  font-size: 26px;
}

.he-benefit h3,
.he-resource-list h3,
.he-contact-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.he-benefit p,
.he-contact-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.he-rate-goals-grid,
.he-guidance-grid,
.he-tools-grid,
.he-center-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.he-goals-panel,
.he-guidance-copy,
.he-tools-copy,
.he-center-copy {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(24, 49, 83, 0.06);
}

.he-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.he-goals-grid article {
  padding: 18px 12px;
  border-radius: 16px;
  background: var(--he-soft);
  text-align: center;
}

.he-goals-grid i {
  display: block;
  margin-bottom: 10px;
  color: var(--he-blue);
  font-size: 24px;
}

.he-goals-grid span {
  color: var(--he-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.he-guidance-copy ul,
.he-link-list {
  margin: 22px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.he-guidance-copy li,
.he-link-list li {
  color: var(--he-ink);
  line-height: 1.7;
}

.he-text-link,
.he-link-list a,
.he-contact-link {
  color: var(--he-blue);
  font-weight: 800;
}

.he-text-link:hover,
.he-link-list a:hover,
.he-contact-link:hover {
  color: var(--he-blue-dark);
}

.he-media-card,
.he-tools-media,
.he-center-media {
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(24, 49, 83, 0.08);
}

.he-media-card img,
.he-tools-media img,
.he-center-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.he-resource-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.he-resource-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--he-border);
}

.he-resource-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.he-resource-list i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 117, 190, 0.08);
  color: var(--he-blue);
  font-size: 20px;
}

.he-resource-list h3 {
  font-size: 18px;
}

.he-resource-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.he-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.he-contact-card {
  text-align: center;
}

.he-contact-card .he-btn,
.he-contact-card .he-contact-link {
  margin-top: 18px;
}

.he-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(0, 117, 190, 0.08);
}

@media (max-width: 1199.98px) {
  .he-benefit-grid,
  .he-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .he-rate-goals-grid,
  .he-guidance-grid,
  .he-tools-grid,
  .he-center-grid,
  .he-hero-panel {
    grid-template-columns: 1fr;
  }

  .he-hero-shell {
    padding-top: 210px;
  }
}

@media (max-width: 767.98px) {
  .he-hero,
  .he-intro,
  .he-benefits,
  .he-rate-goals,
  .he-guidance,
  .he-tools,
  .he-center,
  .he-contact {
    padding: 68px 0;
  }

  .he-hero {
    padding-top: 24px;
  }

  .he-hero-shell {
    min-height: 0;
    padding-top: 180px;
  }

  .he-hero-shell::before {
    height: 220px;
    border-radius: 22px 22px 0 0;
  }

  .he-hero-copy,
  .he-goals-panel,
  .he-guidance-copy,
  .he-tools-copy,
  .he-center-copy,
  .he-rate-card,
  .he-stat-card,
  .he-contact-card {
    padding: 22px 20px;
  }

  .he-benefit-grid,
  .he-contact-grid,
  .he-goals-grid {
    grid-template-columns: 1fr;
  }

  .he-hero-actions,
  .he-guidance-actions {
    flex-direction: column;
  }

  .he-btn {
    width: 100%;
  }
}
