
/* =========================================================
   ONISTECH INFO SYSTEMS — PREMIUM SERVICE STRIP
   Responsive | Glossy | Bootstrap 5
========================================================= */

.service-strip {
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid var(--brand-border);
}

.service-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 23px 0;
}

/* SERVICE CARD */

.service-strip-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    padding: 12px 17px;
    color: var(--brand-dark);
    background: transparent;
    border-right: 1px solid #e0e9f6;
    text-decoration: none;
    transition:
        background .22s ease,
        box-shadow .22s ease,
        transform .22s ease;
}

.service-strip-item:first-child {
    padding-left: 0;
}

.service-strip-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.service-strip-item:hover,
.service-strip-item:focus-visible {
    color: var(--brand-navy);
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 8px 24px rgba(23, 47, 120, .06);
}

.service-strip-item:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: -2px;
    border-radius: 10px;
}

/* ICON */

.service-strip-icon {
    position: relative;
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 13px;
    font-size: 22px;
    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.service-strip-icon::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, .5),
        transparent 60%
    );
    pointer-events: none;
}

.service-strip-icon.icon-blue {
    color: #087fe7;
    background: linear-gradient(145deg, #f4faff, #e2f1ff);
    box-shadow: inset 0 0 0 1px rgba(8, 127, 231, .07);
}

.service-strip-icon.icon-orange {
    color: #e87916;
    background: linear-gradient(145deg, #fff9f2, #ffead7);
    box-shadow: inset 0 0 0 1px rgba(242, 140, 40, .08);
}

.service-strip-item:hover .service-strip-icon {
    transform: translateY(-2px);
    box-shadow: 0 7px 17px rgba(23, 47, 120, .1);
}

/* TEXT */

.service-strip-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.service-strip-copy strong {
    color: var(--brand-navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.service-strip-copy small {
    margin-top: 3px;
    color: var(--brand-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
}

/* ARROW */

.service-strip-arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    color: #91a5c2;
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
}

.service-strip-item:hover .service-strip-arrow {
    color: var(--brand-orange);
    transform: translate(2px, -2px);
}

/* TABLET AND SMALL LAPTOP */

@media (max-width: 1199.98px) {
    .service-strip-inner {
        padding: 18px 0;
    }

    .service-strip-item {
        gap: 10px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .service-strip-icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 20px;
    }

    .service-strip-copy strong {
        font-size: 12px;
    }

    .service-strip-copy small {
        font-size: 10px;
    }
}

/* TABLET: TWO COLUMNS */

@media (max-width: 991.98px) {
    .service-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px 0;
    }

    .service-strip-item {
        min-height: 78px;
        padding: 13px;
        border-right: 1px solid #e0e9f6;
        border-bottom: 1px solid #e0e9f6;
    }

    .service-strip-item:first-child,
    .service-strip-item:last-child {
        padding-right: 13px;
        padding-left: 13px;
    }

    .service-strip-item:nth-child(2) {
        border-right: 0;
    }

    .service-strip-item:nth-child(3),
    .service-strip-item:nth-child(4) {
        border-bottom: 0;
    }

    .service-strip-copy strong {
        font-size: 13px;
    }

    .service-strip-copy small {
        font-size: 11px;
    }
}

/* MOBILE: COMPACT, APP-LIKE SERVICE ROWS */

@media (max-width: 575.98px) {
    .service-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 9px 0;
    }

    .service-strip-item,
    .service-strip-item:first-child,
    .service-strip-item:last-child {
        gap: 9px;
        min-height: 78px;
        padding: 11px 8px;
    }

    .service-strip-item:nth-child(odd) {
        border-right: 1px solid #e0e9f6;
    }

    .service-strip-item:nth-child(even) {
        border-right: 0;
    }

    .service-strip-item:nth-child(3) {
        border-bottom: 0;
    }

    .service-strip-item:nth-child(4) {
        border-bottom: 0;
    }

    .service-strip-icon {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        border-radius: 10px;
        font-size: 18px;
    }

    .service-strip-copy strong {
        font-size: 11px;
        line-height: 1.4;
    }

    .service-strip-copy small {
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.4;
    }

    .service-strip-arrow {
        display: none;
    }
}

/* VERY SMALL PHONES */

@media (max-width: 359.98px) {
    .service-strip-item,
    .service-strip-item:first-child,
    .service-strip-item:last-child {
        gap: 6px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .service-strip-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .service-strip-copy strong {
        font-size: 10px;
    }

    .service-strip-copy small {
        font-size: 8px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .service-strip-item,
    .service-strip-icon,
    .service-strip-arrow {
        transition: none !important;
    }
}
