/* B service presentation; content remains in the shared public PHP pages. */
.b-service-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--content-gap);
    padding-top: var(--page-heading-top);
    padding-bottom: var(--section-y);
    align-items: start;
}
.b-service-nav {
    position: sticky;
    top: 128px;
}
.b-service-nav > .section-kicker {
    margin: 0 0 24px;
}
.b-service-nav a {
    display: block;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: var(--muted);
}
.b-service-nav a span {
    display: block;
    font-weight: 700;
    font-size: 15px;
}
.b-service-nav small {
    display: block;
    font:
        10px Inter,
        sans-serif;
    margin-top: 8px;
}
.b-service-nav a[aria-current='page'] {
    color: white;
    background: var(--blue);
}
.b-service-nav a:hover {
    color: var(--blue);
    background: #e5edff;
}
.b-service-nav a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}
.b-service-heading {
    margin-bottom: 32px;
}
.b-service-heading .breadcrumb {
    color: var(--muted);
    margin: 0 0 32px;
}
.b-service-heading h1 {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.2;
    letter-spacing: -0.045em;
    margin: 16px 0 20px;
}
.b-service-heading > p:last-child {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}
.b-service-visual {
    position: relative;
    height: 320px;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--navy);
}
.b-service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.b-service-visual figcaption {
    position: absolute;
    inset: auto 0 0;
    color: white;
    padding: 48px 32px 24px;
    background: linear-gradient(transparent, rgba(18, 31, 51, 0.85));
    font-size: 14px;
}
.b-service-process {
    border-radius: 20px;
    padding: 32px;
    background: #121f33;
    color: white;
}
.b-service-process > .section-kicker {
    color: #8db4ff;
}
.b-service-process ol {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.b-service-process li {
    border: 1px solid #34425a;
    border-radius: 12px;
    padding: 24px;
}
.b-service-process li span {
    display: block;
    font:
        12px Inter,
        sans-serif;
    color: #8db4ff;
    margin-bottom: 16px;
}
.b-service-process li strong {
    font-size: 20px;
}
.b-service-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--card-gap);
    padding: 48px 0;
}
.b-service-page h2 {
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: -0.035em;
    margin: 0;
}
.b-service-intro p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 16px;
}
.b-service-intro p.lead {
    font-size: 16px;
    color: var(--ink);
}
.b-service-intro p:last-child {
    margin-bottom: 0;
}
.b-service-scope {
    padding: 32px;
    background: var(--bg);
    border-radius: 20px;
}
.b-service-scope > .section-kicker {
    margin: 0 0 16px;
}
.b-service-scope > div {
    margin-top: 32px;
}
.b-service-scope article {
    display: grid;
    grid-template-columns: 32px 180px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
}
.b-service-scope article:last-child {
    padding-bottom: 0;
}
.b-service-scope article > span {
    font:
        12px Inter,
        sans-serif;
    color: var(--blue);
}
.b-service-scope h3 {
    margin: 0;
    font-size: 19px;
}
.b-service-scope article p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}
.b-service-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--card-gap);
    margin-top: 48px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 20px;
}
.b-service-contact .section-kicker {
    margin: 0 0 16px;
}
.b-service-contact .button {
    background: var(--blue);
    color: white;
    margin-top: 24px;
}
.b-service-contact p,
.b-service-contact li {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}
.b-service-contact ul {
    padding-left: 20px;
    margin: 20px 0 0;
}
@media (max-width: 1100px) {
    .b-service-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 32px;
    }
    .b-service-intro,
    .b-service-contact {
        grid-template-columns: 1fr;
    }
    .b-service-scope article {
        grid-template-columns: 32px 1fr;
    }
    .b-service-scope article p {
        grid-column: 2;
    }
}
@media (max-width: 768px) {
    .b-service-layout {
        grid-template-columns: 1fr;
    }
    .b-service-nav {
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 4px 4px 12px;
    }
    .b-service-nav > .section-kicker,
    .b-service-nav small {
        display: none;
    }
    .b-service-nav a {
        flex: 0 0 auto;
        margin: 0;
        padding: 14px 16px;
        background: var(--bg);
    }
    .b-service-nav a span {
        font-size: 13px;
    }
    .b-service-heading .breadcrumb {
        margin-bottom: 24px;
    }
    .b-service-heading > p:last-child {
        font-size: 15px;
    }
    .b-service-visual {
        height: 240px;
        border-radius: 12px;
    }
    .b-service-process,
    .b-service-scope,
    .b-service-contact {
        padding: 24px;
        border-radius: 12px;
    }
    .b-service-process ol {
        grid-template-columns: 1fr;
    }
    .b-service-process li {
        display: flex;
        align-items: baseline;
        gap: 16px;
        padding: 20px;
    }
    .b-service-process li span {
        margin: 0;
    }
    .b-service-process li strong {
        font-size: 17px;
    }
    .b-service-page h2 {
        font-size: 25px;
    }
    .b-service-intro {
        padding: 32px 0;
    }
    .b-service-contact {
        margin-top: 32px;
    }
    .b-service-scope article {
        gap: 16px;
        grid-template-columns: 24px 1fr;
    }
}
