:root {
  --pathway-navy: #0a2d61;
  --pathway-orange: #ff7733;
  --pathway-orange-light: #ff9b69;
  --pathway-light: #eef2f7;
  --pathway-border: #d6e0ec;
  --pathway-text: #324b68;
}

body, .header, .service-bookmarks, .services, .process, .safety, footer {
  background: var(--pathway-light);
  color: var(--pathway-navy);
}

.header, .service-bookmarks a, .floating-action-panel,
.detail-card, .audience, .form, .safety-panel, .principle {
  border-color: var(--pathway-border);
}

.nav, .brand strong, .header-call, .header-quote,
.section-head h2, .contact h2, .detail-card h3, .audience h3,
.safety h2, .safety h2 span, .footer-lead h2, .footer-brand, .footer-grid h3 {
  color: var(--pathway-navy);
}

.brand > span:last-child > span, .header-call small,
.section-head p:last-child, .detail-card p, .audience p, .step p,
.process .section-head p:last-child, .footer-lead p,
.footer-grid p, .footer-grid a { color: var(--pathway-text); }

.service-bookmarks a, .detail-card, .audience, .form, .safety-panel, .principle {
  background: #fff;
  color: var(--pathway-navy);
}

.header-quote { border-color: var(--pathway-border); }
.service-bookmarks a:hover, .service-bookmarks a[aria-current="page"] {
  background: var(--pathway-navy);
  border-color: var(--pathway-navy);
  color: #fff;
}

.hero { background: var(--pathway-navy); color: #fff; }
.hero::after {
  background: linear-gradient(90deg, #0a2d61 0%, #0a2d61fa 32%, #0a2d61cf 50%, #0a2d6119 86%);
}
.hero h1 span, .hero .eyebrow { color: var(--pathway-orange-light); }
.hero .hero-copy { color: #e5eef9; }

.button.primary, .floating-primary, .ac-promotion .ac-primary {
  background: var(--pathway-orange);
  color: var(--pathway-navy);
}
.button.primary:hover, .floating-primary:hover, .ac-promotion .ac-primary:hover {
  background: #ff925b;
  color: var(--pathway-navy);
}
.button.secondary, .floating-secondary {
  background: #fff;
  color: var(--pathway-navy);
  border-color: #859ab6;
}
.floating-action-panel { background: var(--pathway-light); }

.section-head .eyebrow, .contact .eyebrow, .safety .eyebrow,
.footer-lead .eyebrow, .trust strong, .audience b, .step::before {
  color: #0d47b6;
}
.principle { border-left-color: var(--pathway-orange); }
.step, .footer-lead, .footer-bottom { border-color: var(--pathway-border); }
.service-card::after {
  background: linear-gradient(0deg, #081f42 0%, #081f42ce 38%, #081f420c 90%);
}
.service-copy small, .service-explore { color: #ffbc9b; }
.service-copy p { color: #eef2f7; }

.ac-promotion { background: var(--pathway-light); }
.ac-promotion .ac-card { border-color: var(--pathway-border); background: #fff; }
.ac-promotion .ac-kicker, .ac-promotion .ac-caption { background: var(--pathway-light); }
.ac-promotion .ac-kicker, .ac-promotion .ac-headline,
.ac-promotion .ac-headline span, .ac-promotion .ac-priceValue,
.ac-promotion .ac-caption h3, .ac-promotion .ac-email, .ac-promotion .ac-phone {
  color: var(--pathway-navy);
}
.ac-promotion .ac-options { border-color: var(--pathway-border); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #0d47b6;
  outline-offset: 3px;
}
.hero :where(a, button):focus-visible { outline-color: #fff; }

@media (max-width: 580px) {
  .hero::after { background: linear-gradient(90deg, #0a2d61f7, #0a2d61c2); }
}

/* iFix-inspired deep navy and electric blue, retaining Pathway's own identity. */
:root { --pathway-navy: #081b36; --pathway-light: #f3f7fb; --pathway-border: #d5e4ef; --pathway-text: #435a70; }
.header { background: rgba(6, 20, 39, .97); border-bottom-color: rgba(103, 216, 255, .2); }
.nav, .brand strong, .header-call, .header-quote { color: #f5fbff; }
.brand > span:last-child > span, .header-call small { color: #c3d9e9; }
.header-call, .header-quote { color: #80ddff; }
.header-quote { border-color: rgba(125, 225, 255, .48); }
.service-bookmarks { background: linear-gradient(180deg, #061427, #0b2445); }
.service-bookmarks a { color: #e5f5ff; background: rgba(255,255,255,.045); border-color: rgba(125,225,255,.22); }
.service-bookmarks a:hover, .service-bookmarks a[aria-current="page"] { color: #041c35; border-color: #69d9ff; background: linear-gradient(135deg,#a4edff,#36b2ff); }
.hero { background: #081b36; }
.hero::after { background: linear-gradient(90deg,#061427 0%,#061427f2 36%,#061427bf 56%,#06142720 90%); }
.hero h1 span, .hero .eyebrow { color: #79ddff; }
.hero .hero-copy { color: #dcecf7; }
.button.primary, .floating-primary, .ac-promotion .ac-primary { background: linear-gradient(135deg,#95edff,#26a9fa); color: #041c35; }
.button.primary:hover, .floating-primary:hover, .ac-promotion .ac-primary:hover { background: linear-gradient(135deg,#baf3ff,#5bc6ff); color: #041c35; }
.button.secondary, .floating-secondary { color: #e8f8ff; background: #0a2546; border-color: rgba(125,225,255,.5); }
.floating-action-panel { background: rgba(6,24,47,.95); border-color: rgba(125,225,255,.3); }
.services { background: #07172c; color: #eef8ff; }
.services .section-head h2 { color: #fff; }
.services .section-head p:last-child { color: #c7dceb; }
.services .section-head .eyebrow, .service-copy small, .service-explore { color: #81dfff; }
.service-card { border-radius: 22px; box-shadow: 0 22px 55px rgba(0,0,0,.24); }
.service-card::after { background: linear-gradient(0deg,#031226f7,#03122622 85%); }
.process { background: #081b36; color: #f4fbff; }
.process .section-head h2, .process .step h3 { color: #f4fbff; }
.process .section-head p:last-child, .step p { color: #c1d6e5; }
.process .section-head .eyebrow, .step::before { color: #80ddff; }
.step { border-color: rgba(125,225,255,.35); }
footer { background: #061427; color: #c5d9e8; }
.footer-lead h2, .footer-brand { color: #f5fbff; }
.footer-lead p, .footer-grid p, .footer-grid a { color: #c5d9e8; }
.footer-grid h3, .footer-lead .eyebrow { color: #80ddff; }
.footer-lead, .footer-bottom { border-color: rgba(125,225,255,.22); }
:where(a, button, input, select, textarea):focus-visible { outline-color: #0878c8; }
.header :where(a, button):focus-visible, .service-bookmarks :where(a, button):focus-visible, .services :where(a, button):focus-visible, footer :where(a, button):focus-visible { outline-color: #a7eaff; }
@media (max-width: 580px) { .hero::after { background: linear-gradient(90deg,#061427fa,#061427c9); } }

/* Reverse brand artwork for the dark header and footer; the favicon remains unchanged. */
.header .brand-logo, .footer-grid .footer-brand .brand-logo { width: 190px; }
.header .brand-logo img, .footer-grid .footer-brand .brand-logo img {
  content: url('/assets/pathway-primary-reversed.png');
  width: 100%;
  height: 72px;
  object-fit: contain;
}
.header .brand > span:last-child, .footer-brand-name { display: none; }
@media (max-width: 580px) {
  .header .brand-logo { width: 164px; }
  .header .brand-logo img { height: 64px; }
}

/* Mobile-first reading space, while preserving the desktop presentation. */
.service-area { background: #edf4fb; color: var(--pathway-navy); scroll-margin-top: 190px; }
.service-area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.service-area-list li { background: #fff; border: 1px solid var(--pathway-border); border-radius: 999px; padding: 9px 14px; color: var(--pathway-navy); font-weight: 650; }
.service-area-note { margin: 24px 0 0; color: var(--pathway-text); }
.service-area-note a { color: #075c9f; text-decoration: underline; font-weight: 700; }
.service-list { padding-left: 1.2em; color: var(--pathway-text); line-height: 1.7; }
.service-list li + li { margin-top: .35em; }
@media (max-width: 580px) {
  .nav { height: 64px; padding: 6px 14px; gap: 8px; }
  .header .brand-logo { width: 132px; }
  .header .brand-logo img { height: 52px; }
  .header-call { white-space: nowrap; font-size: .79rem; }
  .header-call small { font-size: .6rem; }
  .service-bookmarks { position: relative; top: auto; height: auto; padding: 6px 10px 10px; gap: 6px; grid-template-rows: repeat(2, 42px); }
  .service-bookmarks a { margin: 0; min-height: 42px; font-size: .78rem; border-radius: 10px; }
  .hero { min-height: 0; }
  .hero-content { padding: 70px 14px 84px; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 3.15rem); }
  .floating-action-panel { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); gap: 6px; padding: 5px; border-radius: 14px; }
  .floating-action-panel a { min-height: 44px; padding: 7px 8px; display: flex; align-items: center; justify-content: center; text-align: center; }
  .floating-action-panel span { display: none; }
  .floating-action-panel strong { margin: 0; font-size: .86rem; line-height: 1.15; }
  body:has(.form:focus-within) .floating-action-panel { display: none; }
  .service-card, #contact { scroll-margin-top: 76px; }
  .service-area { scroll-margin-top: 76px; }
  .detail-card { padding: 24px; }
  .detail-card h2 { font-size: 1.45rem; line-height: 1.2; }
  .detail-card p { line-height: 1.7; }
  .contact, footer { padding-bottom: 100px; }
  .ac-promotion .ac-card { border-radius: 18px; border-color: rgba(125,225,255,.35); }
  .ac-promotion .ac-kicker { color: #0a2546; }
}
