.bca-pool-scope {
    --bca-green: #0f5a42;
    --bca-dark: #0b3f31;
    --bca-body: #3e5b50;
    position: relative;
    overflow: hidden;
    background: #fbfaf4;
    isolation: isolate;
}

.bca-pool-scope__inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1320px);
    margin: 0 auto;
}

.bca-pool-scope__header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.bca-pool-scope__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15,90,66,.09);
    color: var(--bca-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.bca-pool-scope__heading {
    margin: 16px 0 0;
    color: var(--bca-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.5vw, 62px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
}

.bca-pool-scope__wave {
    width: 58px;
    height: 12px;
    margin: 18px auto 20px;
    background:
        radial-gradient(circle at 8px 6px, transparent 4px, var(--bca-green) 4.5px, var(--bca-green) 5.5px, transparent 6px)
        0 0 / 19px 12px repeat-x;
    opacity: .8;
}

.bca-pool-scope__intro {
    color: var(--bca-body);
    font-size: 17px;
    line-height: 1.7;
}

.bca-pool-scope__intro p {
    margin: 0;
}

.bca-pool-scope__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bca-pool-scope__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 220px;
    padding: 22px;
    border: 1px solid rgba(15,90,66,.08);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15,90,66,.07);
    transition: transform .22s ease, box-shadow .22s ease;
}

.bca-pool-scope__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15,90,66,.12);
}

.bca-pool-scope__image-wrap {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(15,90,66,.07);
}

.bca-pool-scope__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bca-pool-scope__content {
    min-width: 0;
}

.bca-pool-scope__category {
    margin-bottom: 7px;
    color: var(--bca-green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .11em;
}

.bca-pool-scope__card-title {
    margin: 0 0 9px;
    color: var(--bca-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.bca-pool-scope__description {
    color: var(--bca-body);
    font-size: 14px;
    line-height: 1.55;
}

.bca-pool-scope__description p {
    margin: 0;
}

.bca-pool-scope__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.bca-pool-scope__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.is-status-planned {
    background: #edf3ef;
    color: #416655;
}

.is-status-quotes {
    background: #fff1c9;
    color: #775500;
}

.is-status-warranty {
    background: #e4f1e8;
    color: #0f5a42;
}

.is-status-scheduled {
    background: #e5eef9;
    color: #225384;
}

.is-status-progress {
    background: #d9eee5;
    color: #0f5a42;
}

.is-status-complete {
    background: #d7f1dd;
    color: #27633a;
}

.is-priority-high {
    background: #fde4df;
    color: #9a3b2c;
}

.is-priority-medium {
    background: #f6ecd5;
    color: #755a1b;
}

.is-priority-low {
    background: #eef2ef;
    color: #5d6c62;
}

.bca-pool-scope__sparkle {
    position: absolute;
    z-index: 3;
    color: #f4c542;
    font-size: 25px;
    animation: bca-scope-float 3.7s ease-in-out infinite;
}

.bca-pool-scope__sparkle--one {
    left: 5%;
    top: 80px;
}

.bca-pool-scope__sparkle--two {
    right: 5%;
    bottom: 70px;
    animation-delay: -1.7s;
}

@keyframes bca-scope-float {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(7deg); }
}

@media (prefers-reduced-motion: reduce) {
    .bca-pool-scope__sparkle {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .bca-pool-scope__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bca-pool-scope__grid {
        grid-template-columns: 1fr;
    }

    .bca-pool-scope__card {
        min-height: 0;
    }

    .bca-pool-scope__heading {
        font-size: 42px;
    }
}
