.services-page {
    --services-ink: #102b4b;
    --services-muted: #4e6073;
    color: var(--services-ink);
}

.services-page *,
.services-page *::before,
.services-page *::after { box-sizing: border-box; }
.services-page .container { max-width: 1200px; }
.services-page [id] { scroll-margin-top: 7rem; }
.services-page a:focus-visible,
.services-page summary:focus-visible { outline: 3px solid #c92e49; outline-offset: 5px; }
.services-page .services-eyebrow {
    margin: 0 0 1rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.services-page-hero { background: var(--services-ink); color: #fff; padding: 4.5rem 0; }
.services-page-hero .services-eyebrow { color: #c0cfdf; }
.services-page-hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.6rem);
    line-height: 1.07;
    letter-spacing: -.045em;
    margin: 0 0 1.5rem;
}
.services-page-hero h1 span { color: #ff9aaa; }
.services-page .services-intro { max-width: 690px; font-size: 1.15rem; color: #dce5ee; margin: 0 0 2rem; }
.services-page .services-primary-action { background: #c92e49; padding: .9rem 1.5rem; }
.services-page .services-primary-action:hover { background: #ac233b; }
.services-hero-link { display: inline-block; color: #fff; margin: 1rem 0 1rem 1.5rem; font-size: .95rem; }
.services-hero-link:hover { color: #ffb6c2; }
.services-page-hero a:focus-visible,
.services-closing a:focus-visible { outline-color: #ffb6c2; }

.services-jump-links { display: block; background: #fff; border-bottom: 1px solid #dce3e9; }
.services-jump-links .container { display: flex; flex-wrap: wrap; gap: .25rem 2rem; padding-top: .85rem; padding-bottom: .85rem; }
.services-jump-links a { padding: .4rem 0; font-size: .85rem; font-weight: 600; }

.modeling-section { padding: 4.5rem 0 0; background: #f3f6f8; }
.modeling-section-heading { margin-bottom: 2rem; }
.modeling-section-heading .services-eyebrow { color: #a92d45; }
.modeling-section-heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 .75rem; letter-spacing: -.035em; }
.modeling-section-heading > p:last-child { margin: 0; color: var(--services-muted); font-size: 1.05rem; }
.modeling-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.modeling-card {
    background: #fff;
    padding: 2.25rem;
    border: 1px solid #d7e0e8;
    border-top: 3px solid #c92e49;
    border-radius: 6px;
}
.modeling-category { font-size: .71rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: #56687b; margin: 0 0 1.25rem; }
.modeling-category span { color: #a92d45; margin-right: .25rem; }
.modeling-card h3 { margin: 0 0 1rem; font-size: 1.75rem; letter-spacing: -.03em; }
.modeling-description { color: var(--services-muted); margin: 0 0 1.5rem; }
.modeling-capabilities { padding-left: 1.15rem; margin: 0 0 1.5rem; font-size: .95rem; }
.modeling-capabilities li { padding-left: .25rem; margin-bottom: .6rem; }
.modeling-capabilities li::marker { color: #c92e49; }
.modeling-details { border-top: 1px solid #dce3e9; border-bottom: 1px solid #dce3e9; }
.modeling-details summary { cursor: pointer; padding: 1rem 0; font-size: .9rem; font-weight: 600; }
.modeling-details summary:hover { color: #a92d45; }
.modeling-details-content { font-size: .9rem; color: var(--services-muted); padding-bottom: .5rem; }
.modeling-details-content p { margin: 0 0 1rem; }
.modeling-details-content strong { color: var(--services-ink); }
.modeling-card-footer { padding-top: 1.25rem; }
.modeling-scope { font-size: .9rem; font-weight: 700; margin: 0 0 1.25rem; }
.modeling-scope span { display: block; color: var(--services-muted); font-size: .8rem; font-weight: 400; margin-top: .2rem; }
.modeling-card-footer .btn { font-size: .9rem; }
.modeling-example { display: block; width: fit-content; font-size: .85rem; margin-top: 1.1rem; text-decoration: underline; text-underline-offset: 3px; }
.modeling-handoff { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.75rem 0 2.5rem; }
.modeling-handoff p { max-width: 680px; font-size: .9rem; color: var(--services-muted); margin: 0; }
.modeling-handoff strong { color: var(--services-ink); }
.modeling-handoff a { font-size: .85rem; font-weight: 600; flex-shrink: 0; }

.services-page .services-leadership { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding-top: 3rem; padding-bottom: 3rem; }
.services-leadership-copy { max-width: 690px; }
.services-leadership .services-eyebrow { color: var(--services-muted); margin-bottom: .65rem; }
.services-leadership h2 { margin: 0 0 .75rem; font-size: 1.8rem; }
.services-leadership-copy > p:last-child { margin: 0; color: var(--services-muted); }
.services-leadership > .btn { flex-shrink: 0; font-size: .9rem; }

.services-page .packages-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.services-page .package-card { background: white; padding: 2.5rem; border-radius: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); border-top: 4px solid #e94560; display: flex; flex-direction: column; }
.services-page .package-card h3 { font-size: 1.4rem; color: #0f3460; margin: 0 0 .75rem; }
.services-page .package-card p { font-size: .95rem; color: #555; line-height: 1.6; flex-grow: 1; }
.services-page .package-footer { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.services-page .package-price { font-size: 1.1rem; font-weight: 700; color: #0f3460; }
.services-page .package-timeline { font-size: .85rem; color: #657487; margin-left: .5rem; }
.services-page .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-page .service-card { display: flex; flex-direction: column; }
.services-page .service-card p { flex-grow: 1; }
.services-page .service-card .btn { align-self: flex-start; }

.services-closing { padding: 3.5rem 0; background: var(--services-ink); color: #fff; }
.services-closing .services-eyebrow { color: #c0cfdf; }
.services-closing h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 1rem; }
.services-closing p:not(.services-eyebrow) { max-width: 630px; margin: 0 0 1.75rem; color: #dce5ee; }

@media (max-width: 1000px) {
    .modeling-card { padding: 1.75rem; }
    .modeling-handoff { align-items: flex-start; }
    .services-page .services-leadership { gap: 2rem; }
    .services-leadership > .btn { flex-shrink: 1; }
    .services-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .services-page [id] { scroll-margin-top: 2rem; }
    .services-page-hero { padding: 3rem 0; }
    .services-page .services-intro { font-size: 1rem; }
    .services-hero-link { margin: 1.25rem 0 0; display: block; width: fit-content; }
    .services-jump-links .container { gap: .15rem 1.25rem; text-align: left; }
    .services-jump-links a { font-size: .8rem; }
    .modeling-section { padding-top: 3rem; }
    .modeling-grid,
    .services-page .packages-grid,
    .services-page .services-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .modeling-card h3 { font-size: 1.6rem; }
    .modeling-handoff,
    .services-page .services-leadership { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .services-page .package-card { padding: 1.75rem; }
    .services-page .package-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .services-page-section h2 { font-size: 1.6rem !important; }
    .services-page-section > .container { padding-left: 0; padding-right: 0; }
}

@media (max-width: 380px) {
    .modeling-card { padding: 1.25rem; }
    .modeling-card-footer .btn { padding-left: 1rem; padding-right: 1rem; }
}
