/* ============================================================
   PCRP (Primary Care Referral Program) page styles
   Scoped to body.page-pcrp so nothing here affects other pages.
   Reuses css/style.css tokens (--navy-deep, --gold-bright, etc.)
   and shared classes (.section, .section-title, .btn, .reveal, .on-silk).
   ============================================================ */

/* ---------- Hero ----------
   ROUND (24 Oct 2026) — HERO UPDATE per "PCRP HERO SECTION UPDATE"
   authorization: background is now the single supplied composite banner
   (logo + swirl art + photo already combined in the image), so no separate
   CSS scrim/wave layer is added on top — doing so would double up on art
   already in the asset. The container uses aspect-ratio matching the
   image's own 2172:724 ratio on desktop/tablet so the full composition
   (logo, both faces) is always visible, never stretched or cropped. */
.pcrp-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  aspect-ratio: 2172 / 724;
  padding: 0 0 36px;
}
.pcrp-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  display: block;
}
/* ROUND (24 Oct 2026) — text block horizontally aligned so the "B" of
   "Bridging" lines up under the "2" in the N2U logo baked into the photo,
   per direct annotation. The logo's "2" sits at ~13.3% of the source
   image's width (measured directly from the asset), and since the hero
   container matches the image's aspect ratio exactly (no crop on
   desktop/tablet), that percentage stays aligned with the logo at any
   width — so the text block is positioned by percentage, not by the
   site's standard centered .container system. */
.pcrp-hero .container { position: relative; z-index: 2; max-width: none; width: 100%; margin: 0; padding-left: 13.3%; padding-right: 24px; }
.pcrp-hero-content { max-width: 560px; }
.pcrp-hero-eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.76rem; font-weight: 700; color: var(--gold-bright); margin-bottom: 0.5em; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.pcrp-hero-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.16; margin: 0 0 0.4em; color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.pcrp-hero-title .emph { color: var(--gold-bright); }
.pcrp-hero-lead { font-size: 0.92rem; color: rgba(255,255,255,0.94); max-width: 440px; margin-bottom: 1.1em; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.pcrp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pcrp-hero-actions .btn { padding: 9px 18px; font-size: 0.86rem; }
.btn-icon { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 6px; }

/* "STRONGER PATIENTS. HEALTHIER COMMUNITIES." — navy translucent panel,
   gold border, gold underline, top-right of the hero, per instruction. */
.pcrp-hero-strap {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 24px;
  background: rgba(3, 21, 39, 0.55);
  border: 1px solid var(--gold-bright);
  border-radius: 6px;
  padding: 14px 18px 16px;
}
.pcrp-hero-strap p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  text-align: right;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
  line-height: 1.3;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}
.pcrp-hero-strap p::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: var(--gold-bright);
}

@media (max-width: 860px) {
  .pcrp-hero { aspect-ratio: auto; min-height: 560px; align-items: flex-end; }
  .pcrp-hero-photo { object-position: 32% center; }
  .pcrp-hero::before {
    content: "";
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(3,21,39,0.15) 0%, rgba(3,21,39,0.55) 55%, rgba(3,21,39,0.88) 100%);
  }
  .pcrp-hero-strap { top: 16px; right: 16px; padding: 10px 14px 12px; }
  .pcrp-hero-strap p { font-size: 0.74rem; }
}
@media (max-width: 420px) {
  .pcrp-hero { min-height: 520px; padding-bottom: 28px; }
  .pcrp-hero-title { font-size: 1.35rem; }
}

/* ---------- Benefits grid ---------- */
.pcrp-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pcrp-benefit-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-soft); }
.pcrp-benefit-icon { width: 76px; height: 76px; object-fit: contain; display: block; margin: 0 auto 16px; }
.pcrp-benefit-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.pcrp-benefit-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ---------- Partnership diagram ---------- */
.pcrp-partnership { background: linear-gradient(160deg, var(--navy-deep), var(--navy-mid) 85%); color: var(--white); position: relative; overflow: hidden; }
.pcrp-partnership-diagram { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: nowrap; margin-top: 48px; }
.pcrp-partnership-node { display: flex; flex-direction: column; align-items: center; text-align: center; width: 220px; }
.pcrp-partnership-node img { width: 108px; height: 108px; object-fit: contain; display: block; margin-bottom: 14px; filter: drop-shadow(0 10px 22px rgba(0,0,0,0.4)); }
.pcrp-partnership-node h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 6px; }
.pcrp-partnership-node p { font-size: 0.85rem; color: rgba(255,255,255,0.78); margin: 0; }
.pcrp-partnership-node.center img { width: 128px; height: 128px; }
.pcrp-partnership-arrow { width: 72px; height: 36px; object-fit: contain; flex-shrink: 0; opacity: 0.85; }
@media (max-width: 860px) {
  .pcrp-partnership-diagram { flex-direction: column; gap: 18px; }
  .pcrp-partnership-arrow { transform: rotate(90deg); width: 48px; height: 28px; }
}

/* ---------- 8-step process ---------- */
.pcrp-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcrp-step-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-soft); position: relative; }
.pcrp-step-number { position: absolute; top: -14px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-deep); color: var(--gold-bright); font-weight: 700; font-family: Georgia, serif; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; box-shadow: 0 6px 14px rgba(0,0,0,0.25); }
.pcrp-step-icon { width: 58px; height: 58px; object-fit: contain; display: block; margin: 10px 0 14px; }
.pcrp-step-card h3 { font-size: 1rem; margin-bottom: 6px; }
.pcrp-step-card p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* ---------- Supply / provide two-column checklists ---------- */
.pcrp-supply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pcrp-supply-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-soft); }
.pcrp-supply-card h3 { font-size: 1.15rem; margin-bottom: 16px; color: var(--navy-deep); }
.pcrp-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pcrp-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.pcrp-checklist li::before { content: "\2713"; color: var(--green-wellness); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ---------- Program option cards (3/6/9 month) ---------- */
.pcrp-programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcrp-program-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; box-shadow: var(--shadow-soft); position: relative; }
.pcrp-program-card.is-featured { border: 2px solid var(--gold); transform: translateY(-6px); }
.pcrp-program-calendar { position: relative; width: 96px; height: 96px; margin: 0 auto 18px; }
.pcrp-program-calendar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pcrp-program-calendar span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-top: 18px; font-family: Georgia, serif; font-weight: 700; font-size: 1.6rem; color: var(--navy-deep); }
.pcrp-program-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pcrp-program-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ---------- Three-column benefits / boundaries section ---------- */
.pcrp-triple-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcrp-triple-card { background: rgba(255,255,255,0.65); border-radius: var(--radius-md); padding: 30px 24px; }
.pcrp-triple-card img { width: 52px; height: 52px; object-fit: contain; display: block; margin-bottom: 14px; }
.pcrp-triple-card h3 { font-size: 1.05rem; margin-bottom: 12px; }

/* ---------- Section wave divider art (shared decorative SVG, reused per section) ---------- */
.pcrp-section-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px;
  background-repeat: no-repeat; background-size: cover; background-position: center;
  opacity: 0.5; pointer-events: none; z-index: 0;
}
.pcrp-section { position: relative; overflow: hidden; }
.pcrp-section > .container { position: relative; z-index: 1; }

/* ---------- CTA / closing section ---------- */
.pcrp-cta { background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); color: var(--white); text-align: center; }
.pcrp-cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Footer closing quote (uses on-silk like other pages) ---------- */
.pcrp-closing-quote { font-family: Georgia, serif; font-style: italic; font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 560px; margin: 18px auto 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pcrp-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .pcrp-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pcrp-programs-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pcrp-program-card.is-featured { transform: none; }
}
@media (max-width: 768px) {
  .pcrp-benefits-grid { grid-template-columns: 1fr; }
  .pcrp-steps-grid { grid-template-columns: 1fr; }
  .pcrp-supply-grid { grid-template-columns: 1fr; }
  .pcrp-programs-grid { grid-template-columns: 1fr; }
  .pcrp-triple-grid { grid-template-columns: 1fr; }
  .pcrp-partnership-diagram { margin-top: 32px; }
}
@media (max-width: 420px) {
  .pcrp-hero-title { font-size: 1.7rem; }
}

/* ============================================================
   PCRP VISUAL REFINEMENT (24 Oct 2026) — "PCRP VISUAL REFINEMENT
   DIRECTIVE": dark forest-green / green-black / metallic-gold
   silk-wave theme applied to sections 3, 5, 6, 7, 8 (replacing
   their white backgrounds) and as a faded accent layer on section 4.
   Hero (S1/S2), navigation, and CTA buttons/labels are untouched —
   scope limited to the sections named in the directive. Follows the
   same .on-silk convention already used on index.html / programs.html
   / resources.html for consistency across the site, using the newly
   supplied reference image (silk-forest-gold-theme.png) in place of
   the blue/green assets those pages use.
   ============================================================ */

/* Full-strength theme: sections 3 (Why Partner), 5 (8-Step Process),
   6 (Provider/NNLHC Responsibilities), 7 (Program Options), 8 (triple
   benefits incl. Professional Boundaries). */
.pcrp-on-silk {
  position: relative;
  background-image:
    linear-gradient(160deg, rgba(4,20,13,0.90) 0%, rgba(10,35,24,0.82) 50%, rgba(4,20,13,0.92) 100%),
    url('../assets/backgrounds/pcrp/silk-forest-gold-theme.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.pcrp-on-silk .section-title { color: var(--white); }
.pcrp-on-silk .section-lead { color: rgba(255,255,255,0.82); }
.pcrp-on-silk .eyebrow-center,
.pcrp-on-silk .eyebrow-center-dark { color: var(--gold-bright); }

/* Section 4 (Unified Partnership) keeps its existing navy gradient;
   this adds the same reference art underneath at low opacity as a
   faded accent, per "introduce subtle, faded background imagery" —
   layout and all foreground content untouched. */
.pcrp-on-silk-faded { position: relative; }
.pcrp-on-silk-faded::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../assets/backgrounds/pcrp/silk-forest-gold-theme.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.pcrp-on-silk-faded > .container { position: relative; z-index: 1; }

/* ---------- Benefit cards (S3) — translucent dark glass, gold border ---------- */
.pcrp-on-silk .pcrp-benefit-card {
  background: rgba(4,20,13,0.55);
  border: 1px solid rgba(201,162,75,0.35);
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.pcrp-on-silk .pcrp-benefit-card h3 { color: var(--white); }
.pcrp-on-silk .pcrp-benefit-card p { color: rgba(255,255,255,0.78); }

/* ---------- Step cards (S5) ---------- */
.pcrp-on-silk .pcrp-step-card {
  background: rgba(4,20,13,0.55);
  border: 1px solid rgba(201,162,75,0.35);
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.pcrp-on-silk .pcrp-step-card h3 { color: var(--white); }
.pcrp-on-silk .pcrp-step-card p { color: rgba(255,255,255,0.78); }
.pcrp-on-silk .pcrp-step-number {
  background: var(--gold-bright); color: var(--navy-deep);
  box-shadow: 0 6px 14px rgba(0,0,0,0.45);
}

/* ---------- Supply/responsibility cards (S6) ---------- */
.pcrp-on-silk .pcrp-supply-card {
  background: rgba(4,20,13,0.55);
  border: 1px solid rgba(201,162,75,0.35);
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.pcrp-on-silk .pcrp-supply-card h3 { color: var(--white); }
.pcrp-on-silk .pcrp-supply-card .section-lead { color: var(--gold-soft); margin-bottom: 1.2rem; }
.pcrp-on-silk .pcrp-checklist li { color: rgba(255,255,255,0.85); }

/* ---------- Program option cards (S7) ---------- */
.pcrp-on-silk .pcrp-program-card {
  background: rgba(4,20,13,0.55);
  border: 1px solid rgba(201,162,75,0.35);
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.pcrp-on-silk .pcrp-program-card.is-featured { border-color: var(--gold-bright); }
.pcrp-on-silk .pcrp-program-card h3 { color: var(--white); }
.pcrp-on-silk .pcrp-program-card p { color: rgba(255,255,255,0.78); }
.pcrp-on-silk .pcrp-program-calendar span { color: var(--gold-bright); }

/* ---------- Triple cards (S8 — incl. Professional Boundaries) ---------- */
.pcrp-on-silk .pcrp-triple-card {
  background: rgba(4,20,13,0.55);
  border: 1px solid rgba(201,162,75,0.35);
  backdrop-filter: blur(3px);
}
.pcrp-on-silk .pcrp-triple-card h3 { color: var(--white); }
.pcrp-on-silk .pcrp-triple-card .pcrp-checklist li { color: rgba(255,255,255,0.85); }
