/* ============================================================
   HEADBRID DIGITAL
   SERVICES PAGE
   ============================================================ */

/* ============================================================
   01. SERVICES HERO STYLING - CSS
   ============================================================ */

.inner-hero {
    position: relative;
    padding: 165px 0 100px;
    background: var(--black);
    border-bottom: 1px solid var(--border);
}

.services-hero {
    overflow: hidden;
}

.services-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 50%;
}

.inner-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;        /* centers the content block */
    text-align: center;    /* centers eyebrow, h1, and paragraph */
}

.inner-hero h1 {
    max-width: 850px;
    margin-left: auto;     /* centers the h1 within the wrapper */
    margin-right: auto;
    margin-bottom: 28px;
}

.inner-hero-content > p {
    max-width: 700px;
    margin-left: auto;     /* centers the paragraph */
    margin-right: auto;
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;  /* centers the buttons */
    flex-wrap: wrap;          /* stacks gracefully on small screens */
    gap: 15px;                /* adjust to match your existing spacing */
}

/* ============================================================
   02. INTRO
   ============================================================ */

.services-intro {
    background: var(--black-soft);
}

.services-intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.services-intro-layout h2 {
    max-width: 560px;
}

.services-intro-layout p {
    max-width: 560px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.services-intro-layout p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   03. SERVICES GRID
   ============================================================ */

.services-section {
    background: var(--black);
}

.services-section-header {
    max-width: 760px;
    margin: 0 auto 55px;   /* was: margin-bottom: 55px */
    text-align: center;    /* centers eyebrow, h2, and paragraph */
}
.services-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.service-card {
    min-height: 390px;
    padding: 34px;
    background: var(--black);
    transition:
        background var(--transition);
}

.service-card:hover {
    background: var(--black-card);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.service-category {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.service-card h3 {
    max-width: 450px;
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.service-card > p {
    max-width: 500px;
    margin-bottom: 24px;
    font-size: 0.86rem;
    line-height: 1.75;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    position: relative;
    padding-left: 17px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.service-list li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 6px;
    height: 1px;
    background: var(--gold);
}


/* ============================================================
   04. SYSTEM CONNECTION
   ============================================================ */

.service-system-section {
    background: var(--black-soft);
}

.service-system-header {
    max-width: 780px;
   margin: 0 auto 55px;   /* was: margin-bottom: 55px */
    text-align: center;    /* centers eyebrow, h2, and paragraph */
}

.service-flow {
    display: flex;
    align-items: center;
    width: 100%;
}

.service-flow-item {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.service-flow-item span {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.service-flow-item strong {
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--white);
}

.service-flow-item small {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.service-flow-line {
    flex: 0 0 45px;
    height: 1px;
    background: var(--border-light);
}


/* ============================================================
   05. FRACTIONAL MARKETING
   ============================================================ */

.fractional-service-section {
    background: var(--black);
}

.fractional-service-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.fractional-service-copy h2 {
    max-width: 560px;
}

.fractional-service-copy p {
    max-width: 540px;
    font-size: 0.9rem;
    line-height: 1.75;
}

.fractional-service-copy .btn {
    margin-top: 12px;
}

.fractional-service-panel {
    border-top: 1px solid var(--border);
}

.fractional-service-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.fractional-service-item > span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.fractional-service-item h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.fractional-service-item p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.7;
}


/* ============================================================
   06. RIGHT FIT
   ============================================================ */

.fit-section {
    background: var(--black-soft);
}

.fit-header {
    max-width: 760px;
  margin: 0 auto 55px;   /* was: margin-bottom: 55px */
    text-align: center;    /* centers eyebrow, h2, and paragraph */
}

.fit-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.fit-item {
    min-height: 260px;
    padding: 32px;
    background: var(--black-soft);
}

.fit-number {
    display: block;
    margin-bottom: 55px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.fit-item h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.fit-item p {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.7;
}


/* ============================================================
   07. PROCESS
   ============================================================ */

.services-process-section {
    background: var(--black);
}

.services-process-header {
    max-width: 700px;
    margin: 0 auto 55px;   /* was: margin-bottom: 55px */
    text-align: center;    /* centers eyebrow, h2, and paragraph */
}

.services-process {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-process-item {
    min-height: 230px;
    padding: 28px 22px;
    border-right: 1px solid var(--border);
}

.services-process-item:last-child {
    border-right: none;
}

.services-process-item > span {
    display: block;
    margin-bottom: 55px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.services-process-item h3 {
    margin-bottom: 9px;
    font-size: 1.05rem;
}

.services-process-item p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.65;
}


/* ============================================================
   08. FINAL CTA
   ============================================================ */

.services-final-cta {
    border-top: none;
}


/* ============================================================
   09. RESPONSIVE: 1000px
   ============================================================ */

@media (max-width: 1000px) {

    .services-intro-layout,
    .fractional-service-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-process {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .services-process-item:nth-child(3) {
        border-right: none;
    }

    .services-process-item:nth-child(-n+3) {
        border-bottom: 1px solid var(--border);
    }

}


/* ============================================================
   10. RESPONSIVE: 800px
   ============================================================ */

@media (max-width: 800px) {

    .inner-hero {
        padding: 135px 0 85px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .service-flow-item {
        padding: 20px 0;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .service-flow-line {
        display: none;
    }

    .fit-grid {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   11. RESPONSIVE: 650px
   ============================================================ */

@media (max-width: 650px) {

    .inner-hero h1 {
        font-size: clamp(2.4rem, 11vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .service-card {
        min-height: auto;
        padding: 27px 22px;
    }

    .service-card-top {
        margin-bottom: 40px;
    }

    .fit-item {
        min-height: auto;
        padding: 27px 22px;
    }

    .fit-number {
        margin-bottom: 35px;
    }

    .services-process {
        grid-template-columns: 1fr;
    }

    .services-process-item {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .services-process-item:last-child {
        border-bottom: none;
    }

}


/* ============================================================
   12. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .service-card,
    .fit-item {
        transition: none;
    }

}
```
