/* ============================================================
   PHRi™ program page — standalone design system
   Scoped to .phri2 so the global nav/footer stay untouched.
   Neutral surfaces; violet + rust used only as accents.
   ============================================================ */

.phri2 {
  --bg:        #F7F7F9;
  --white:     #FFFFFF;
  --dark:      #1E1E30;
  --body:      #555560;
  --muted:     #888896;
  --border:    #E2E2EA;
  --violet:    #6B6BAE;
  --violet-bg: #F0F0F8;
  --rust:      #B5451B;
  --amber:     #E8A838;

  font-family: 'Work Sans', sans-serif;
  color: var(--body);
  background: var(--white);
}

.phri2 h1,
.phri2 h2,
.phri2 h3,
.phri2 h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  text-shadow: none;
  text-transform: none;
}

.phri2 p { margin: 0; }
.phri2 section { padding: clamp(56px, 8vw, 88px) 40px; }

/* ---------- scroll animations ----------
   Hidden states are gated on `.js-anim` (set by an inline script in
   <head>) so that if JS never runs, nothing is left invisible. */
.js-anim .animate {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),
              transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.animate.visible {
  opacity: 1;
  transform: none;
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* Per-element motion so the page keeps moving as you scroll. */
.hrci-card__badge { transition: inherit; }
.exam-chart       { transition: inherit; }

.js-anim .phri2 .for-card,
.js-anim .phri2 .inc-card    { transform: translateY(30px); }
.js-anim .phri2 .inc-stat,
.js-anim .phri2 .price-card  { transform: translateY(22px) scale(.95); }
.js-anim .phri2 .elig-row    { transform: translateX(-26px); }
.js-anim .phri2 .trainer-photo { transform: translateX(-28px); }
.js-anim .phri2 .trainer-info  { transform: translateX(28px); }
.js-anim .phri2 .faq-item      { transform: translateY(18px); }
.js-anim .phri2 .cta-card      { transform: scale(.96); }

.js-anim .phri2 .for-card,
.js-anim .phri2 .inc-card,
.js-anim .phri2 .inc-stat,
.js-anim .phri2 .price-card,
.js-anim .phri2 .elig-row,
.js-anim .phri2 .trainer-photo,
.js-anim .phri2 .trainer-info,
.js-anim .phri2 .faq-item,
.js-anim .phri2 .cta-card {
  opacity: 0;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),
              transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
/* !important so the resting state can never lose to the offset rules
   above — a lost cascade here would strand content permanently shifted. */
.phri2 .for-card.visible,
.phri2 .inc-card.visible,
.phri2 .inc-stat.visible,
.phri2 .price-card.visible,
.phri2 .elig-row.visible,
.phri2 .trainer-photo.visible,
.phri2 .trainer-info.visible,
.phri2 .faq-item.visible,
.phri2 .cta-card.visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .animate,
  .phri2 .for-card, .phri2 .inc-card, .phri2 .inc-stat, .phri2 .price-card,
  .phri2 .elig-row, .phri2 .trainer-photo, .phri2 .trainer-info,
  .phri2 .faq-item, .phri2 .cta-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- shared utilities ---------- */
.phri2 .container        { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.phri2 .container-narrow { max-width: 680px; margin: 0 auto; padding: 0 24px; }

.phri2 .eyebrow-violet {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 12px;
}

.phri2 .btn-primary {
  background: var(--dark);
  color: #fff;
  border: 1.5px solid var(--dark);
  border-radius: 8px;
  padding: 13px 28px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background .18s ease, transform .12s ease;
}
.phri2 .btn-primary:hover { background: #2E2E50; transform: translateY(-1px); }

.phri2 .btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 8px;
  padding: 13px 28px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: border-color .18s ease, background .18s ease;
}
.phri2 .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.phri2 .btn-outline {
  color: var(--dark);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 13px 28px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  background: #fff;
  text-align: center;
  transition: border-color .18s ease, transform .12s ease;
}
.phri2 .btn-outline:hover { border-color: var(--violet); transform: translateY(-1px); }

.placeholder-text { color: #bbb; font-style: italic; }

/* ============================================================
   1. HERO — split: dark copy panel left, portrait right
   ============================================================ */
/* Split hero. The source photo is portrait, so it keeps its framing in a
   column rather than being cropped to a face close-up by a full-bleed cover.
   The panel is a FLAT #1A1A2A and the photo's scrim starts at exactly that
   same colour, so the column boundary has nothing to reveal. */
.hero-phri {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(88vh, 760px);
  background: #1A1A2A;
  padding: 0 !important;
  overflow: hidden;
}
.hero-photo {
  position: relative;
  background-image:
    linear-gradient(to right,
      rgba(26,26,42,1) 0%,
      rgba(26,26,42,0.96) 12%,
      rgba(26,26,42,0.78) 30%,
      rgba(26,26,42,0.46) 50%,
      rgba(26,26,42,0.18) 70%,
      rgba(26,26,42,0) 88%),
    url('hero-phri.jpg');
  background-size: cover, cover;
  background-position: center, 50% 20%;
  background-repeat: no-repeat, no-repeat;
}
.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(48px, 6vw, 72px) clamp(28px, 4.5vw, 64px);
  max-width: 620px;
  margin-left: auto;
  color: #fff;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  margin: 0 0 16px;
  text-wrap: balance;
  max-width: 12ch;
}
.hero-content .eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  display: block;
  margin-bottom: 16px;
}
.hero-lede {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
  color: rgba(255,255,255,0.92);
  margin: 0 0 14px !important;
}
.hero-lede__mark { color: var(--amber); }
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  margin: 0 0 32px !important;
  max-width: 460px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-buttons .btn-primary {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}
.hero-buttons .btn-primary:hover { background: rgba(255,255,255,0.88); }

/* ============================================================
   2. CERTIFICATION OVERVIEW
   ============================================================ */
.section-overview { background: var(--white); text-align: center; }
.section-overview h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 18px;
  text-wrap: balance;
}
.phri2 .lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--body);
  margin: 0 auto !important;
  max-width: 620px;
}
.section-overview h2 .h2-mark { color: var(--rust); }
.phri2 .lead strong { color: var(--dark); font-weight: 700; }

/* HRCI awarding-body card */
.hrci-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 36px;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.hrci-card__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 26px;
  background: var(--bg);
  border-right: 0.5px solid var(--border);
  min-width: 148px;
}
.hrci-card__mark {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.hrci-card__mark sup { font-size: 0.42em; top: -0.75em; }
.hrci-card__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hrci-card__body { padding: 22px 26px; }
.phri2 .hrci-card__name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin: 0 0 6px !important;
}
.hrci-card__body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}

/* Exam content breakdown.
   Scoped with .phri2 so it outranks `.phri2 .container`, which would
   otherwise reset margin-top/padding-top to 0 via its shorthands. */
.phri2 .exam-content {
  margin-top: clamp(56px, 7vw, 84px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 0.5px solid var(--border);
  text-align: center;
}
.exam-content h3 {
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.25;
  margin: 0 0 10px;
}
.phri2 .exam-content__intro {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 28px !important;
}
.exam-chart { margin: 0 0 22px; }
.exam-chart img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto;
}
.exam-chart figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.stat-trio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.stat-pill {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.stat-pill strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
}
.stat-pill span { font-size: 13px; color: var(--muted); }

.phri2 .overview-link {
  display: inline-block;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid rgba(107,107,174,0.35);
  padding-bottom: 2px;
}
.phri2 .overview-link:hover { border-bottom-color: var(--violet); }

/* ============================================================
   3. WHO THIS IS FOR
   ============================================================ */
.section-for { background: var(--bg); text-align: center; }
.section-for h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 36px;
}
.cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.for-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.for-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,30,48,0.06);
}
/* icon sits inline beside the title at every width */
.for-card__head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 8px;
}
.card-icon {
  color: var(--violet);
  display: block;
  line-height: 0;
  flex-shrink: 0;
  margin-top: 1px;
}
.for-card h4 {
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
}
.for-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ============================================================
   4. ELIGIBILITY
   ============================================================ */
.section-eligibility { background: var(--white); text-align: center; }
.section-eligibility h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 30px;
}
.eligibility-list { max-width: 540px; margin: 0 auto; }
.elig-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
  text-align: left;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--body);
}
.elig-row:last-of-type { border-bottom: none; }
.elig-row strong { color: var(--dark); font-weight: 600; }
.elig-bar {
  width: 3px;
  height: 36px;
  background: var(--violet);
  border-radius: 2px;
  flex-shrink: 0;
}
.phri2 .note-text {
  margin-top: 22px !important;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   5. MEET YOUR TRAINER
   ============================================================ */
.section-trainer { background: var(--bg); }
.trainer-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.trainer-photo img {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.trainer-info h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.phri2 .trainer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 16px !important;
}
.trainer-info p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}
.trainer-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.cred-pill {
  background: var(--violet-bg);
  color: var(--violet);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   6. WHAT'S INCLUDED + PRICING
   ============================================================ */
.section-included { background: var(--white); text-align: center; }
.section-included h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 36px;
}
.phri2 .program-dates {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin: -22px 0 36px !important;
}

.included-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 620px;
  margin: 0 auto 16px;
}
.inc-stat {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 26px 18px;
}
.inc-stat__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--rust);
  line-height: 1;
  margin-bottom: 6px;
}
.inc-stat__label { font-size: 13px; color: var(--muted); }

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.inc-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.inc-check {
  color: var(--rust);
  flex-shrink: 0;
  line-height: 0;
  margin-top: 2px;
}
.inc-card { align-items: center; }
/* With an odd number of items the last one would sit alone in a half-width
   column; let it span the row instead. */
.inc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.inc-card h4 { font-size: 15px; line-height: 1.4; margin: 0; }
.inc-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 5px; }

/* pricing — two compact boxes side by side */
.phri2 .pricing-label {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.2;
  color: var(--rust);
  text-align: center;
  margin: clamp(40px, 5vw, 60px) 0 20px !important;
}
.pricing-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 620px;
  /* the label above now carries the top spacing */
  margin: 0 auto;
}
.price-card {
  background: var(--dark);
  color: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
}
.price-card--alt {
  background: var(--white);
  color: var(--dark);
  border: 0.5px solid var(--border);
}
.price-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(27px, 3.2vw, 35px);
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  white-space: nowrap;
}
.price-card--alt .price-amount { color: var(--dark); }
.price-amount .currency {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  margin-left: 6px;
}
.phri2 .price-sub {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
  margin: 0 !important;
}
.price-card--alt .price-sub { color: var(--muted) !important; }

/* Brochure download — the one filled accent button on the page, so it
   reads as the low-commitment action next to the prices. */
.brochure-cta { text-align: center; margin-top: clamp(28px, 3.5vw, 40px); }
.btn-brochure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--rust);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--rust);
  border-radius: 8px;
  padding: 14px 30px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
.btn-brochure:hover {
  background: #C85A2E;
  border-color: #C85A2E;
  transform: translateY(-1px);
}
.btn-brochure__icon { line-height: 0; flex-shrink: 0; }

/* ============================================================
   7. FAQ
   ============================================================ */
.section-faq { background: var(--bg); text-align: center; }
.section-faq h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 28px;
}
.faq-list { text-align: left; }
.faq-item { border-bottom: 0.5px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}
/* keep the question one flex item so inline markup can't get spread apart */
.faq-q__text { flex: 1; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-a p { font-size: 14.5px; line-height: 1.7; color: var(--body); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon {
  transition: transform 0.25s ease;
  color: var(--rust);
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
}

/* ============================================================
   8. READINESS TEST + BROCHURE
   ============================================================ */
.section-ctas { background: var(--white); }
.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.cta-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
}
.cta-card {
  position: relative;
  overflow: hidden;
}
/* thin rust rule along the top of each CTA card */
.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 56px;
  height: 3px;
  background: var(--rust);
}
.cta-card h3 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
.cta-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 24px !important;
}

/* ============================================================
   9. FINAL CTA BANNER
   ============================================================ */
.section-final-cta {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 8vw, 80px) 40px !important;
}
.section-final-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.section-final-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin: 0 0 32px !important;
}
.btn-amber {
  background: var(--amber);
  color: var(--dark);
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  padding: 14px 32px;
  text-decoration: none;
  display: inline-block;
  transition: transform .12s ease, filter .18s ease;
}
.btn-amber:hover { transform: translateY(-1px); filter: brightness(1.05); }

.phri2 .final-cta__ask {
  color: rgba(255,255,255,0.72) !important;
  font-size: 15px;
  margin: 0 0 20px !important;
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: var(--dark);
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  padding: 14px 30px;
  text-decoration: none;
  transition: transform .12s ease, filter .18s ease;
}
.btn-telegram:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-telegram__icon { line-height: 0; flex-shrink: 0; }

.phri2 .back-link {
  display: inline-block;
  margin-top: 26px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.phri2 .back-link:hover { color: rgba(255,255,255,0.85); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-phri { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to bottom,
        rgba(20,20,35,0.90) 0%,
        rgba(20,20,35,0.80) 50%,
        rgba(20,20,35,0.94) 100%),
      url('hero-phri.jpg');
    background-position: center, 50% 14%;
  }
  .hero-content {
    margin-left: 0;
    max-width: 100%;
    padding: clamp(72px, 14vw, 110px) 28px;
  }
  .hero-sub { max-width: 100%; }
}

/* Narrow screens: no sideways entrances. A horizontal offset on a
   full-width element overflows the viewport and creates a horizontal
   scrollbar while the element is still animating in. */
@media (max-width: 900px) {
  .js-anim .phri2 .elig-row,
  .js-anim .phri2 .trainer-photo,
  .js-anim .phri2 .trainer-info { transform: translateY(24px); }
}

@media (max-width: 768px) {
  .phri2 section { padding-left: 24px; padding-right: 24px; }
  /* let headings wrap naturally instead of at the authored break points */
  .phri2 h1 br,
  .phri2 h2 br { display: none; }
  .cards-2x2,
  .cta-pair,
  .included-grid { grid-template-columns: 1fr; }
  .trainer-wrap { grid-template-columns: 1fr; gap: 32px; }
  .trainer-photo img { aspect-ratio: 4 / 5; max-width: 340px; margin: 0 auto; }
  .trainer-info { text-align: center; }
  .trainer-creds { justify-content: center; }
  .included-stats { grid-template-columns: 1fr; }
  .pricing-block { grid-template-columns: 1fr; }
  /* HRCI card stacks: badge becomes a full-width header strip */
  .hrci-card { flex-direction: column; }
  .hrci-card__badge {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 16px 22px;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .hrci-card__body { padding: 20px 22px; }
}

@media (max-width: 560px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost { width: 100%; box-sizing: border-box; }
  .price-card { padding: 26px 22px; }
  .btn-brochure { width: 100%; box-sizing: border-box; }
  .cta-card { padding: 32px 24px; }
  .cta-card .btn-primary,
  .cta-card .btn-outline { width: 100%; box-sizing: border-box; }
  .btn-amber { display: block; width: 100%; box-sizing: border-box; }
  .btn-telegram { width: 100%; box-sizing: border-box; justify-content: center; }
  .stat-trio { flex-direction: column; align-items: stretch; }
  .stat-pill { justify-content: center; }
}
