/*
 * Business Services hub (/business-services/) - page layer.
 *
 * Rebuilt 15.08.2026 from the legacy inline block (478 uncommented !important,
 * --ffb-* aliases, gradient icon tiles, JS expanders) onto the shared B2B
 * layer: semantic tokens, flat tints, border-colour hovers, <details>
 * disclosure. Layout intent of the original page is preserved.
 */

/* ---------- Hero ---------- */

#ff-b2b.ff-b2b--hub .ffb-hero-grid {
    grid-template-columns: 1fr 1.3fr;
}

#ff-b2b.ff-b2b--hub .ffb-hero-description {
    margin-bottom: 1.5rem;
}

#ff-b2b.ff-b2b--hub .ffb-hero-clients {
    margin: 0 0 1.75rem;
}

/* Rounded parallelogram clip - same hero geometry as Homepage and Schools. */
#ff-b2b.ff-b2b--hub .ffb-hero-image {
    border: none;
    border-radius: 0;
    clip-path: url(#ffb-hero-clip);
}

/* ---------- Pricing models ---------- */

#ff-b2b .ffb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

#ff-b2b .ffb-pricing-card.featured {
    border-color: var(--border-active);
    border-width: 2px;
}

/* Silkscreen-style micro label - a sanctioned uppercase moment. */
#ff-b2b .ffb-pricing-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--action);
    color: var(--surface);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#ff-b2b .ffb-pricing-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--content);
    margin-bottom: 0.5rem;
}

#ff-b2b .ffb-pricing-desc {
    color: var(--content-body);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

#ff-b2b .ffb-pricing-features {
    margin-bottom: 1.5rem;
}

/* Fee note under the pricing grid. Two fees, two policies: a reader who skims
   the cards would otherwise carry the repair diagnostic rule across to data
   recovery, where it does not apply. */
#ff-b2b .ffb-pricing-note {
    max-width: 68ch;
    margin: 2.25rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-neutral);
    color: var(--content-body);
    font-size: 0.9375rem;
}

/* ---------- Services ---------- */

#ff-b2b .ffb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

#ff-b2b .ffb-service-icon {
    width: 52px;
    height: 52px;
    background: var(--tint-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--action);
    margin-bottom: 1.25rem;
}

#ff-b2b .ffb-service-icon svg {
    width: 26px;
    height: 26px;
}

#ff-b2b .ffb-service-title {
    margin-bottom: 0.75rem;
}

#ff-b2b .ffb-service-description {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--content-body);
}

/* Expanded detail box inside a service card. */
#ff-b2b .ffb-service-features {
    background: rgba(0, 170, 196, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius, 12px);
    padding: 1.5rem;
}

#ff-b2b .ffb-service-features h4 {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

#ff-b2b .ffb-service-features ul {
    margin-bottom: 1rem;
}

#ff-b2b .ffb-service-features p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

#ff-b2b .ffb-service-features li {
    font-size: 0.875rem;
}

/* ---------- Who we work with ---------- */

#ff-b2b .ffb-industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

#ff-b2b .ffb-industry-icon {
    width: 52px;
    height: 52px;
    background: var(--tint-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--action);
    margin-bottom: 1.25rem;
}

#ff-b2b .ffb-industry-icon svg {
    width: 24px;
    height: 24px;
}

#ff-b2b .ffb-industry-content h4 {
    margin: 1.25rem 0 0.75rem;
    font-size: 0.9375rem;
}

#ff-b2b .ffb-industry-content h4:first-child {
    margin-top: 0;
}

/* ---------- How we deliver ---------- */

#ff-b2b .ffb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

#ff-b2b .ffb-feature-card {
    text-align: center;
    padding: 1.75rem;
}

#ff-b2b .ffb-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--tint-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--action);
    margin: 0 auto 1.25rem;
}

#ff-b2b .ffb-feature-icon svg {
    width: 28px;
    height: 28px;
}

/* ---------- Beyond repairs strip ---------- */

#ff-b2b .ffb-beyond {
    background: var(--surface-alt);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3rem 0;
}

#ff-b2b .ffb-beyond-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

#ff-b2b .ffb-beyond-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--content);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#ff-b2b .ffb-beyond-text {
    font-size: 1rem;
    color: var(--content-body);
    line-height: 1.7;
    margin: 0;
}

/* ---------- Contact ---------- */

#ff-b2b .ffb-contact-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
    #ff-b2b .ffb-industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023px) {
    #ff-b2b.ff-b2b--hub .ffb-hero-image {
        clip-path: none;
        border-radius: var(--radius, 12px);
        border: 1px solid var(--border-subtle);
    }
}

@media (max-width: 768px) {
    #ff-b2b.ff-b2b--hub .ffb-hero-visual {
        display: none;
    }

    #ff-b2b.ff-b2b--hub .ffb-hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #ff-b2b .ffb-beyond {
        padding: 2rem 0;
    }
}
