/* Services hub — excited.agency section flow, ATM brand tokens */

/* ── Hero ── */
.svc-hub__hero {
    background: #fff;
}

.dark .svc-hub__hero {
    background: #18181b;
}

/* ── Scope tags strip ── */
.svc-hub__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.625rem;
}

.svc-hub__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #52525b;
    background: #f4f4f5;
    border: 1px solid transparent;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.dark .svc-hub__tag {
    color: #e4e4e7;
    background: #323238;
}

.svc-hub__tag--linked:hover {
    color: #ab1e23;
    border-color: rgba(171, 30, 35, 0.35);
    background: rgba(171, 30, 35, 0.06);
}

.dark .svc-hub__tag--linked:hover {
    color: #f87171;
    background: rgba(171, 30, 35, 0.12);
}

/* ── Category sections ── */
.svc-hub__category {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.svc-hub__category--alt {
    background: #fafafa;
}

.dark .svc-hub__category {
    background: #18181b;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.dark .svc-hub__category--alt {
    background: #27272a;
}

/* Editorial category intro (A + E) */
.svc-hub__cat-intro {
    margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .svc-hub__cat-intro {
        margin-bottom: 3rem;
    }
}

.svc-hub__cat-index-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.svc-hub__cat-index {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    color: #a1a1aa;
    flex-shrink: 0;
}

.dark .svc-hub__cat-index {
    color: #71717a;
}

.svc-hub__cat-index-line {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    max-width: 12rem;
}

.dark .svc-hub__cat-index-line {
    background: rgba(255, 255, 255, 0.1);
}

.svc-hub__tags--category {
    max-width: 52rem;
}

.svc-hub__category--alt .svc-hub__tag {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .svc-hub__category--alt .svc-hub__tag {
    background: #323238;
    border-color: rgba(255, 255, 255, 0.08);
}

/* ── Category grid ── */
.svc-hub__cat-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .svc-hub__cat-grid {
        grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
        gap: 3rem 4rem;
    }

    .svc-hub__cat-grid--reverse .svc-hub__cat-media-col {
        order: 2;
    }

    .svc-hub__cat-grid--reverse .svc-hub__cat-detail {
        order: 1;
    }
}

.svc-hub__cat-media-col {
    min-width: 0;
}

/* Category media */
.svc-hub__cat-media {
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f4f4f5;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
    .svc-hub__cat-media {
        border-radius: 1.5rem;
        position: sticky;
        top: 6.5rem;
    }
}

.dark .svc-hub__cat-media {
    background: #323238;
}

.svc-hub__cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Detail panels ── */
.svc-hub__cat-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .svc-hub__cat-detail {
        gap: 2.5rem;
    }
}

.svc-hub__panel {
    padding: 1.5rem 1.625rem;
    border-radius: 1.25rem;
    background: #f4f4f5;
}

@media (min-width: 1024px) {
    .svc-hub__panel {
        padding: 1.75rem 2rem;
        border-radius: 1.5rem;
    }
}

.dark .svc-hub__panel {
    background: #323238;
}

.svc-hub__panel-label {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ab1e23;
    margin-bottom: 0.75rem;
}

.dark .svc-hub__panel-label {
    color: #f87171;
}

.svc-hub__panel-text {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    color: #52525b;
}

.dark .svc-hub__panel-text {
    color: #e4e4e7;
}

/* Deliverables list */
.svc-hub__deliverables {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.svc-hub__deliverable {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.5;
    color: #52525b;
}

.dark .svc-hub__deliverable {
    color: #e4e4e7;
}

.svc-hub__check {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #52525b;
    margin-top: 0.125rem;
}

.dark .svc-hub__check {
    background: #ab1e23;
}

.svc-hub__check svg {
    width: 0.5rem;
    height: 0.5rem;
    fill: #fff;
}

/* Scenarios */
.svc-hub__scenarios {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.svc-hub__scenario {
    padding: 1.25rem 1.375rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
    transition: border-color 0.2s ease;
}

.dark .svc-hub__scenario {
    border-color: rgba(255, 255, 255, 0.08);
}

.svc-hub__scenario:hover {
    border-color: rgba(171, 30, 35, 0.25);
}

.svc-hub__scenario-title {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #52525b;
    margin-bottom: 0.5rem;
}

.dark .svc-hub__scenario-title {
    color: #f4f4f5;
}

.svc-hub__scenario-detail {
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.65;
    color: #71717a;
}

.dark .svc-hub__scenario-detail {
    color: #a1a1aa;
}

/* What we do */
.svc-hub__what-we-do {
    padding-top: 0.5rem;
}

.svc-hub__what-we-do-text {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: #52525b;
}

@media (min-width: 1024px) {
    .svc-hub__what-we-do-text {
        font-size: 1.25rem;
    }
}

.dark .svc-hub__what-we-do-text {
    color: #f4f4f5;
}

/* ── Mid CTA ── */
.svc-hub__mid-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.svc-hub__mid-cta-copy {
    flex: 1 1 20rem;
    max-width: 40rem;
}

.svc-hub__mid-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}

/* ── Approach grid ── */
.svc-hub__approach-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .svc-hub__approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .svc-hub__approach-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.svc-hub__approach-card {
    padding: 1.5rem 1.625rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
}

@media (min-width: 1024px) {
    .svc-hub__approach-card {
        padding: 1.75rem 2rem;
        border-radius: 1.5rem;
    }
}

.dark .svc-hub__approach-card {
    background: #323238;
    border-color: rgba(255, 255, 255, 0.08);
}

.svc-hub__approach-title {
    font-size: 1.0625rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #52525b;
    margin-bottom: 0.625rem;
}

.dark .svc-hub__approach-title {
    color: #f4f4f5;
}

.svc-hub__approach-detail {
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.65;
    color: #71717a;
}

.dark .svc-hub__approach-detail {
    color: #a1a1aa;
}

/* Last two approach cards span on xl when 5 items */
@media (min-width: 1280px) {
    .svc-hub__approach-card:nth-child(4) {
        grid-column: 1 / 2;
    }

    .svc-hub__approach-card:nth-child(5) {
        grid-column: 2 / 3;
    }
}
