
/* =========================================================
   ADS & FUNNEL — SERVICES PAGE HERO
   File: assets/css/pages/services/hero.css
   Shared global design tokens
   ========================================================= */

.bcc-services-hero {
    /* Shared global palette */
    --services-green: var(--bcc-color-primary, #10211F);
    --services-lime: var(--bcc-color-accent, #A5FF62);
    --services-paper: var(--bcc-color-background, #F5F5F2);
    --services-muted: var(--bcc-color-text-on-primary-muted, #C4CECA);
    --services-border: color-mix(in srgb, var(--services-paper) 13%, transparent);

    position: relative;
    padding: 0.75rem 1rem 1.5rem;
    background: var(--services-paper);
    color: var(--services-green);
}

.bcc-services-hero,
.bcc-services-hero * {
    box-sizing: border-box;
}

.bcc-services-hero__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    max-width: 1600px;
    margin-inline: auto;

    padding:
        clamp(3.5rem, 6vw, 6.5rem)
        clamp(1.5rem, 4vw, 4.5rem)
        clamp(2.75rem, 4vw, 3.75rem);

    border: 1px solid color-mix(in srgb, var(--services-paper) 6%, transparent);
    border-radius: 1.5rem;

    background: var(--services-green);
    color: var(--services-paper);
}

/* Subtle footer-style vertical grid */

.bcc-services-hero__panel::before {
    position: absolute;
    z-index: -1;
    inset: 0;

    background-image: linear-gradient(
        to right,
        transparent calc(25% - 0.5px),
        color-mix(in srgb, var(--services-paper) 5.5%, transparent) calc(25% - 0.5px),
        color-mix(in srgb, var(--services-paper) 5.5%, transparent) calc(25% + 0.5px),
        transparent calc(25% + 0.5px),
        transparent calc(50% - 0.5px),
        color-mix(in srgb, var(--services-paper) 5.5%, transparent) calc(50% - 0.5px),
        color-mix(in srgb, var(--services-paper) 5.5%, transparent) calc(50% + 0.5px),
        transparent calc(50% + 0.5px),
        transparent calc(75% - 0.5px),
        color-mix(in srgb, var(--services-paper) 5.5%, transparent) calc(75% - 0.5px),
        color-mix(in srgb, var(--services-paper) 5.5%, transparent) calc(75% + 0.5px),
        transparent calc(75% + 0.5px)
    );

    content: "";
    pointer-events: none;
}

.bcc-services-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 8rem);
}

.bcc-services-hero__heading {
    max-width: 680px;
}

/* =========================================
   EYEBROW
========================================= */

.bcc-services-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    margin: 0 0 1.75rem;

    color: var(--services-lime);

    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bcc-services-hero__eyebrow::before {
    display: inline-block;
    width: 24px;
    height: 1px;
    flex: 0 0 24px;

    background: var(--services-lime);
    content: "";
}

/* =========================================
   HEADING
========================================= */

.bcc-services-hero__title,
.bcc-services-hero__heading .bcc-services-hero__title {
    max-width: 680px;
    margin: 0;

    color: var(--services-paper) !important;

    font-family: var(--bcc-font-heading, inherit);
    font-size: clamp(3rem, 5.2vw, 5.75rem);
    font-weight: 550;
    line-height: 1.02;
    letter-spacing: -0.065em;

    text-wrap: balance;
}

.bcc-services-hero__title span {
    display: block;
    color: var(--services-lime) !important;
}

/* =========================================
   DESCRIPTION AND CONTENT
========================================= */

.bcc-services-hero__content {
    max-width: 560px;
    padding-top: clamp(0.5rem, 1vw, 1rem);
}

.bcc-services-hero__description {
    max-width: 520px;
    margin: 0;

    color: var(--services-muted);

    font-family: inherit;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.015em;

    text-wrap: pretty;
}

/* =========================================
   CALLS TO ACTION
========================================= */

.bcc-services-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;

    margin-top: 2rem;
}

.bcc-services-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;

    min-height: 48px;
    padding: 0.35rem 0.4rem 0.35rem 1.25rem;

    border: 1px solid transparent;
    border-radius: var(--bcc-border-radius-pill, 999px);

    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none;

    transition:
        background-color var(--bcc-transition-base, 180ms ease),
        color var(--bcc-transition-base, 180ms ease),
        border-color var(--bcc-transition-base, 180ms ease),
        transform var(--bcc-transition-base, 180ms ease);
}

.bcc-services-hero__cta-text {
    display: inline-flex;
    align-items: center;
}

.bcc-services-hero__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    border-radius: 50%;

    font-size: 1rem;
    line-height: 1;

    transition:
        background-color var(--bcc-transition-base, 180ms ease),
        color var(--bcc-transition-base, 180ms ease),
        transform var(--bcc-transition-base, 180ms ease);
}

/* Primary: shared lime pill and dark circular arrow */

.bcc-services-hero__cta--primary {
    background: var(--services-lime);
    border-color: var(--services-lime);
    color: var(--services-green);
}

.bcc-services-hero__cta--primary .bcc-services-hero__cta-icon {
    background: var(--services-green);
    color: var(--services-paper);
}

.bcc-services-hero__cta--primary:hover {
    background: var(--bcc-color-accent-hover, #B8FF86);
    border-color: var(--bcc-color-accent-hover, #B8FF86);
    color: var(--services-green);
    transform: translateY(-2px);
}

.bcc-services-hero__cta--primary:hover .bcc-services-hero__cta-icon {
    background: var(--services-green);
    color: var(--services-paper);
    transform: rotate(45deg);
}

/* Secondary: understated dark-surface action */

.bcc-services-hero__cta--secondary {
    background: transparent;
    border-color: var(--services-border);
    color: var(--services-paper);
}

.bcc-services-hero__cta--secondary .bcc-services-hero__cta-icon {
    background: color-mix(in srgb, var(--services-paper) 9%, transparent);
    color: var(--services-paper);
}

.bcc-services-hero__cta--secondary:hover {
    background: color-mix(in srgb, var(--services-paper) 7%, transparent);
    border-color: color-mix(in srgb, var(--services-lime) 55%, transparent);
    color: var(--services-lime);
}

.bcc-services-hero__cta--secondary:hover .bcc-services-hero__cta-icon {
    background: var(--services-lime);
    color: var(--services-green);
}

.bcc-services-hero__cta:focus-visible {
    outline: 2px solid var(--services-lime);
    outline-offset: 4px;
}

/* =========================================
   HERO FOOTER / EXPERTISE
========================================= */

.bcc-services-hero__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 6rem);

    margin-top: clamp(4rem, 8vw, 7rem);
    padding-top: 1.75rem;

    border-top: 1px solid var(--services-border);
}

.bcc-services-hero__expertise,
.bcc-services-hero__trust {
    min-width: 0;
}

.bcc-services-hero__footer-label {
    display: block;
    margin-bottom: 1.1rem;

    color: var(--services-lime);

    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.bcc-services-hero__service-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.4rem;

    margin: 0;
    padding: 0;
    list-style: none;
}

.bcc-services-hero__service-list li {
    position: relative;
    padding-left: 0.85rem;

    color: var(--services-paper);

    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
}

.bcc-services-hero__service-list li::before {
    position: absolute;
    top: 0.65em;
    left: 0;

    width: 5px;
    height: 5px;

    background: var(--services-lime);
    border-radius: 50%;

    content: "";
}

.bcc-services-hero__trust-description {
    max-width: 420px;
    margin: 0;

    color: var(--services-muted);

    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .bcc-services-hero__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 2.5rem;
    }

    .bcc-services-hero__title,
    .bcc-services-hero__heading .bcc-services-hero__title {
        font-size: clamp(2.8rem, 6vw, 4.5rem);
    }

    .bcc-services-hero__footer {
        gap: 2.5rem;
        margin-top: 4rem;
    }

    .bcc-services-hero__service-list {
        gap: 0.5rem 1rem;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .bcc-services-hero {
        padding: 0.5rem 0.75rem 1rem;
    }

    .bcc-services-hero__panel {
        padding: 2.5rem 1.4rem 2rem;
        border-radius: 1rem;
    }

    .bcc-services-hero__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .bcc-services-hero__eyebrow {
        margin-bottom: 1.25rem;
        font-size: 0.7rem;
    }

    .bcc-services-hero__title,
    .bcc-services-hero__heading .bcc-services-hero__title {
        font-size: clamp(2.7rem, 11vw, 4.2rem);
        line-height: 1.03;
        letter-spacing: -0.06em;
    }

    .bcc-services-hero__content {
        padding-top: 0;
    }

    .bcc-services-hero__description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .bcc-services-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .bcc-services-hero__cta {
        width: 100%;
        min-height: 50px;
    }

    .bcc-services-hero__footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        margin-top: 3.5rem;
        padding-top: 1.5rem;
    }

    .bcc-services-hero__footer-label {
        margin-bottom: 0.85rem;
    }

    .bcc-services-hero__service-list {
        gap: 0.6rem 1rem;
    }

    .bcc-services-hero__service-list li {
        font-size: 0.8rem;
    }

    .bcc-services-hero__trust-description {
        font-size: 0.9rem;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .bcc-services-hero__cta,
    .bcc-services-hero__cta-icon {
        transition: none;
    }
}
