/**
 * Capabilities section — clear titles (no box bg), stronger 3D carousel.
 */

body.p4pn-cover-page .p4p-cap-band {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 clamp(0.25rem, 1cqi, 0.5rem) clamp(0.15rem, 0.6vh, 0.35rem) !important;
    text-align: center;
}

body.p4pn-cover-page .p4p-cap-band::before {
    display: none !important;
}

body.p4pn-cover-page .p4p-cap-band__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

body.p4pn-cover-page .p4p-cap-band__title,
body.p4pn-cover-page .p4p-section-title.p4p-cap-band__title {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #fff !important;
    font-size: clamp(1.35rem, 3.8cqi, 2.15rem) !important;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
    text-shadow:
        0 0 28px rgba(167, 139, 250, 0.45),
        0 2px 18px rgba(0, 0, 0, 0.85),
        0 0 2px rgba(255, 255, 255, 0.35);
    -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.12);
}

body.p4pn-cover-page .p4p-cap-band .p4p-kicker {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}

body.p4pn-cover-page .p4p-cap-band__intro {
    color: rgba(255, 255, 255, 0.78) !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8);
    max-width: 52ch;
    margin-inline: auto;
    -webkit-line-clamp: 3;
}

body.p4pn-cover-page .p4p-cap-band__mv {
    justify-content: center;
    margin-top: clamp(0.25rem, 0.8vh, 0.45rem);
}

body.p4pn-cover-page .p4p-cap-band__pill {
    background: rgba(8, 10, 18, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.p4pn-cover-page .p4p-carousel-scene {
    perspective: 2200px !important;
    perspective-origin: 50% 42%;
    transform-style: preserve-3d;
    min-height: min(36vh, 320px);
    margin-top: clamp(0.15rem, 0.6vh, 0.35rem);
}

body.p4pn-cover-page .p4p-carousel-rotor {
    transform-style: preserve-3d;
    width: min(280px, 52cqi, 56vw) !important;
    height: min(360px, 34cqi, 38vh) !important;
}

body.p4pn-cover-page .p4p-carousel-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: linear-gradient(160deg, rgba(14, 12, 22, 0.88) 0%, rgba(6, 6, 12, 0.72) 100%) !important;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.p4pn-cover-page .p4p-carousel-card.is-active {
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.65),
        0 0 40px color-mix(in srgb, var(--svc-color, #a78bfa) 28%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.p4pn-cover-page .p4p-service-card__visual {
    transform: translateZ(36px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

body.p4pn-cover-page .p4p-service-card__title {
    transform: translateZ(48px);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

body.p4pn-cover-page .p4p-cap-rail {
    position: relative;
    z-index: calc(var(--p4pn-z-stage, 60) + 4);
    margin-top: clamp(0.1rem, 0.4vh, 0.25rem);
    padding-bottom: 0.15rem;
}

body.p4pn-cover-page .p4p-cap-rail__track-wrap,
body.p4pn-cover-page .p4p-cap-rail__status {
    position: relative;
    z-index: 2;
}

@media (pointer: coarse) {
    body.p4pn-cover-page .p4p-carousel-scene {
        perspective: 1400px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.p4pn-cover-page .p4p-carousel-card {
        transform: none !important;
    }
}
