.services-rail-wrapper {
    top: 120px;
}

.services-rail {
    display: flex;
    flex-direction: column;
}

.services-rail-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 0.75rem;
}

.services-rail-link {
    padding: 0.3rem 0 0.3rem 0.75rem;
    margin: 0.1rem 0;
    text-decoration: none;
    color: #212529;
    border-left: 2px solid transparent;
}

.services-rail-link:hover {
    color: #0b4658;
}

.services-rail-link.active {
    color: #0b4658;
    font-weight: 600;
    border-left-color: rgba(11, 70, 88, 0.9);
}

.services-rail-cta {
    margin-top: 1.25rem;
    color: #0b4658;
}


/* Offset anchor scroll position for fixed header */
#leadership-section,
#operations-section,
#assurance-section,
#training-section,
#engagement-section,
#next-steps {
    scroll-margin-top: 110px;
}



/* Transition between intro and services */
.services-transition {
    margin: 1.5rem 0 1.25rem 0;
}

.services-transition-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.45);
}

.services-transition-rule {
    margin-top: 0.6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* Give sections consistent rhythm */
#services-pillar-nav section[id$="-section"] {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

/* Soften the heavy dividers you currently have */
#services-pillar-nav .border-top {
    border-top-color: rgba(0, 0, 0, 0.10) !important;
}

#services-pillar-nav .services-block {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

#services-pillar-nav .services-block+.services-block {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}

#services-pillar-nav .services-block h2 {
    margin-bottom: 0.5rem;
}

#services-pillar-nav .services-block .svc-subtitle {
    margin-bottom: 1.25rem;
}

#services-pillar-nav .services-block p.lead {
    margin-bottom: 1rem;
}

#services-pillar-nav .services-block p.lead:last-of-type {
    margin-bottom: 0;
}

/* Button placement and spacing */
#services-pillar-nav .services-block .svc-action {
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
}

/* Improve readability without changing copy */
.services-content {
    max-width: 760px;
    /* keeps line length readable */
}

/* Section rhythm */
.services-section {
    padding-top: 1.5rem;
    padding-bottom: 2.25rem;
}

/* Make the one-line subheading feel like a deliberate summary */
.services-kicker {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(11, 70, 88, 0.90);
    margin-bottom: 0.85rem;
}

/* Reduce perceived density of body text */
.services-body p.lead {
    font-size: 1.05rem;
    /* slightly smaller than default lead */
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* Quiet internal subheaders for scan points */
.services-subhead {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.55);
    margin: 1.25rem 0 0.5rem 0;
}

/* Optional: subtle “topics” row, not bullets */
.services-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    margin: 0.25rem 0 1rem 0;
}

.services-topic {
    font-size: 0.85rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: rgba(0, 0, 0, 0.72);
    background: rgba(255, 255, 255, 0.6);
}

/* Consistent placement for section action buttons */
.services-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

/* CTA block: more contrast, still “informative page” tone */
.services-contact-option .border-top {
    border-top-color: rgba(0, 0, 0, 0.12) !important;
}

.services-contact-inner {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
}

.services-contact-card {
    background: rgba(11, 70, 88, 0.04);
    border: 1px solid rgba(11, 70, 88, 0.12);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

/* CTA: force 2-column layout on desktop, stack on small screens */
.services-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.services-cta-text {
    flex: 1 1 auto;
    /* allows the paragraph to shrink */
    min-width: 0;
    /* critical: lets flexbox actually shrink the text */
}

.services-cta-btn {
    flex: 0 0 auto;
    /* keep button sized to content */
    margin-left: auto;
    /* push it to the far right */
}

/* Stack nicely on small screens */
@media (max-width: 991.98px) {
    .services-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .services-cta-btn {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        /* keeps button on the right even when stacked */
    }
}

/* Tier 1 header band (Service hub and category pages) */
.page-header-band {
    background: #0b4658;
    padding: 28px 0;
}

.page-header-band .page-title {
    color: #fff;
    margin: 0;
}

.page-header-band .page-subtitle {
    color: rgba(255, 255, 255, 0.86);
    margin: 6px 0 0 0;
}

.page-header-band .page-accent {
    width: 240px;
    border-top: 3px solid #d13708;
    /* your existing tertiary/orange */
    margin: 14px auto 0 auto;
}

.page-header-band .subpage-accent {
    height: 2px;
    background: #d13708;
    max-width: 140px;
}

@media (max-width: 992px) {
    .page-header-band {
        padding: 22px 0;
    }

    .page-header-band .page-accent {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .page-header-band {
        padding: 18px 0;
    }

    .page-header-band .page-accent {
        width: 180px;
    }
}

/* =========================================================
   Leadership extensions
   Built on existing services system
   All changes scoped to .services
   ========================================================= */

.services {
    --cy-anchor-offset: 120px;
}

/* Anchor offset reuse */
.services [id] {
    scroll-margin-top: var(--cy-anchor-offset);
}

/* Section divider cue (Leadership only)
   Note: class .section-divider-top is already used in your HTML */
.services .section-divider-top {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Leadership subtitles
   Reuse existing label classes, only adjust rhythm and presence */
.services .services-rail-label,
.services .services-transition-label {
    margin-top: 0.15rem;
    margin-bottom: 0.9rem;
    letter-spacing: 0.06em;
    color: rgba(0, 0, 0, 0.55);
}

/* Slightly stronger on desktop */
@media (min-width: 992px) {

    .services .services-rail-label,
    .services .services-transition-label {
        font-size: 0.88rem;
        color: rgba(0, 0, 0, 0.58);
    }
}

/* -----------------------------------------------------------------
   Briefing block
   Purpose: executive briefing content, dense but readable
   ----------------------------------------------------------------- */

.services .briefing-block {
    border-left: 4px solid #d13708;
    /* your chosen 4px rule */
    padding-left: 1rem;
}

.services .briefing-block+.briefing-block {
    margin-top: 1.35rem;
}

.services .briefing-block h3 {
    margin-bottom: 0.30rem;
}

.services .briefing-block p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Slightly tighter on small screens so blocks do not feel oversized */
@media (max-width: 575.98px) {
    .services .briefing-block+.briefing-block {
        margin-top: 1.05rem;
    }

    .services .briefing-block p {
        font-size: 0.94rem;
        line-height: 1.42;
    }
}

/* -----------------------------------------------------------------
   Decision card
   Purpose: engagement models and other decision frameworks
   ----------------------------------------------------------------- */

.services .decision-card {
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 0.6rem;
    background: #fff;
    height: 100%;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.services .decision-card .card-body {
    padding: 1.35rem 1.35rem 1.25rem 1.35rem;
}

.services .decision-kicker {
    font-size: 0.93rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.68);
    margin-bottom: 0.80rem;
}

.services .decision-list {
    padding-left: 1.05rem;
    margin-bottom: 0.85rem;
}

.services .decision-list li {
    margin-bottom: 0.45rem;
}

.services .decision-shape {
    font-size: 0.92rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.75);
    margin-bottom: 0;
}

/* -----------------------------------------------------------------
   Core services list panel
   Purpose: dense enumeration that still feels designed
   ----------------------------------------------------------------- */

.services .core-services-panel {
    border-color: rgba(0, 0, 0, 0.10) !important;
}

.services .core-services-list {
    list-style-position: outside;
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.services .core-services-list li {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0.45rem;
}

.services .core-services-list li:last-child {
    margin-bottom: 0;
}

/* If list items use Bootstrap col-* classes, prevent cramped columns */
.services .core-services-list li[class*="col-"] {
    padding-right: 1.25rem;
}

/* -----------------------------------------------------------------
   How We Work and Who This Is For tuning
   ----------------------------------------------------------------- */

.services .how-we-work .briefing-block p {
    color: rgba(0, 0, 0, 0.76);
}

.services .who-this-is-for .briefing-block h3 {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.services .who-this-is-for .briefing-block p {
    font-size: 0.94rem;
    color: rgba(0, 0, 0, 0.72);
}

/* -----------------------------------------------------------------
   CTA placement helper (bottom-right in boxed CTA sections)
   ----------------------------------------------------------------- */

/* CTA box: reusable site component
   Default: text left, action right (stack on small screens) */
   .cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.05);
}

/* Keep the button aligned to the right */
.cta-actions {
    display: flex;
    justify-content: flex-end;
}

/* If the CTA uses the existing two-child structure (as in resources.html),
   ensure the second child stays tight to content */
.cta-box > div:last-child {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

/* Remove extra bottom spacing on the paragraph inside CTA */
.cta-box p:last-child {
    margin-bottom: 0;
}

/* Stack on smaller screens */
@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-box > div:last-child,
    .cta-actions {
        justify-content: flex-start;
    }
}


.services .start-convo {
    padding-top: 3rem;
}

.services .intro-panel ul {
    color: rgba(0, 0, 0, 0.72);
}

.services .intro-panel li {
    margin-bottom: 0.5rem;
}

.services .intro-panel li:last-child {
    margin-bottom: 0;
}

/* Give breathing room before footer when CTA is last */
  @media (max-width: 991.98px) {
    .services-contact-option {
      margin-bottom: 3rem; /* slightly tighter on mobile/tablet */
    }
  }