/* Compact introduction and expandable services on all three image-map templates. */
.pf-detail-compact {
    --detail-ink: #243e53;
    --detail-paper: #f8f4eb;
    --detail-line: #cbd0c9;
    background: var(--detail-paper);
}

.pf-detail-compact .service-intro-band {
    background-image: linear-gradient(132deg, #182f42 15%, #203d55 100%);
}
.pf-detail-compact .service-intro-band::before { opacity: .28; }
.pf-detail-compact :is(.fit-hero, .green-hero, .clean-hero) {
    padding-block: clamp(12px, 1.6vw, 22px) clamp(19px, 2.55vw, 36px);
}
.pf-detail-compact :is(.fit-hero, .green-hero, .clean-hero) .n-breadcrumb {
    font-size: .85rem;
    margin-bottom: clamp(8px, 1.35vw, 17px);
}
.pf-detail-compact .n-breadcrumb > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-block: -6px;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pf-detail-compact :is(.fit-hero-line, .green-hero-line, .clean-hero-line) {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(12px, 3vw, 40px);
}
.pf-detail-compact :is(.fit-hero, .green-hero, .clean-hero) h1 {
    font-size: clamp(38px, 4.3vw, 62px);
    line-height: 1.02;
    text-transform: none;
    text-wrap: balance;
}
.pf-detail-compact :is(.fit-intro, .green-intro, .clean-intro) > p {
    max-width: 42ch;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.44;
    color: #f2eee4;
}

.pf-detail-compact :is(.fit-explorer, .green-explorer, .clean-explorer) {
    grid-template-columns: minmax(0, 2.25fr) minmax(265px, 1fr);
    gap: clamp(20px, 3.15vw, 46px);
    padding-block: clamp(18px, 2.45vw, 34px) clamp(25px, 3.25vw, 46px);
}
.pf-detail-compact :is(.fit-visual-head, .green-visual-head, .clean-visual-head) {
    padding-block: 0 .65rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: .93rem;
    line-height: 1.25;
}
.pf-detail-compact :is(.fit-figure, .green-figure, .clean-figure) {
    border-radius: 0;
    box-shadow: none;
}
.pf-detail-compact :is(.fit-figure, .green-figure, .clean-figure) figcaption {
    border-top: 1px solid var(--detail-line);
    padding: .55rem .8rem;
    background: #fbf8f1;
}
.pf-detail-compact :is(.fit-caption-kicker, .green-caption-kicker, .clean-caption-kicker) {
    margin-bottom: 0;
}
.pf-detail-compact figure:not(:has(:is(.fit-hotspot, .green-hotspot, .clean-hotspot).is-active))
    :is([data-fit-title], [data-fit-description], [data-green-title], [data-green-description], [data-clean-title], [data-clean-description]) {
    display: none;
}

.pf-detail-compact :is(.fit-services-head, .green-services-head, .clean-services-head) {
    padding: 0 0 .6rem;
}
.pf-detail-compact :is(.fit-services-head, .green-services-head, .clean-services-head) h2 {
    color: var(--detail-ink);
    font-size: 1.85rem;
    margin: 0;
}
.pf-detail-compact :is(.fit-service, .green-service, .clean-service) {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--detail-line);
    border-radius: 0;
    background: transparent;
}
.pf-detail-compact :is(.fit-service, .green-service, .clean-service):last-of-type {
    border-bottom-color: var(--detail-line);
}
.pf-detail-compact :is(.fit-service, .green-service, .clean-service) > summary {
    min-height: 45px;
    padding: 6px 8px;
    gap: 10px;
}
.pf-detail-compact :is(.fit-service, .green-service, .clean-service):is(:hover, .is-active, [open]) {
    background: #eee9dd;
    border-color: #a8b6b2;
}
.pf-detail-compact :is(.fit-service, .green-service, .clean-service) h3 {
    font-size: .96rem;
}

.pf-detail-compact :is(.fit-next, .green-next, .clean-next) {
    gap: 14px 32px;
    border-radius: 0;
    background: #ece8dd;
    border: 1px solid var(--detail-line);
    border-left: 3px solid #2e4a66;
    padding: clamp(14px, 2vw, 25px);
}
.pf-detail-compact :is(.fit-next, .green-next, .clean-next) h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.25vw, 2rem);
}
.pf-request-tip > summary {
    min-height: 44px;
    align-content: center;
    cursor: pointer;
    width: fit-content;
    font-size: .9rem;
    color: #2e4a66;
    text-underline-offset: 3px;
    text-decoration: underline;
}
.pf-detail-compact .pf-request-tip > p { font-size: .9rem; }

@media (max-width: 800px) {
    .pf-detail-compact :is(.fit-hero-line, .green-hero-line, .clean-hero-line),
    .pf-detail-compact :is(.fit-explorer, .green-explorer, .clean-explorer) {
        grid-template-columns: minmax(0, 1fr);
    }
    .pf-detail-compact :is(.fit-hero-line, .green-hero-line, .clean-hero-line) { gap: 7px; }
    .pf-detail-compact :is(.fit-hero, .green-hero, .clean-hero) h1 {
        font-size: clamp(34px, 8.6vw, 48px);
        text-wrap: wrap;
    }
    .pf-detail-compact :is(.fit-intro, .green-intro, .clean-intro) { margin: 0; }
    .pf-detail-compact :is(.fit-visual-head, .green-visual-head, .clean-visual-head) { gap: 8px; }
    .pf-detail-compact .service-list-jump { flex-shrink: 0; }
    .pf-detail-compact :is(.fit-service, .green-service, .clean-service) > summary { min-height: 48px; }
    .pf-detail-compact :is(.fit-next, .green-next, .clean-next) { display: grid; justify-items: start; }
    .pf-detail-compact :is(.fit-next, .green-next, .clean-next) > .n-button { margin: 0; }
}
