/* shared-service-components.css — reusable service-page components — v20260404 */
/* Extracted from service-page.css to eliminate duplication across 26 service sections. */
/* Load BEFORE service-page.css so page-specific overrides take precedence. */

/* === Industry Cards === */.service-industries .industry-card { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; box-shadow: var(--shadow-1); }

.service-industries .industry-icon { font-size: 40px; line-height: 1; margin-top: .125rem; filter: drop-shadow(0 1px 0 rgba(13,59,102,.06)); }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(4,minmax(0,1fr)); }

.step { background: #fff; border: 1px solid rgba(13,59,102,.08); border-radius: 16px; padding: 18px; box-shadow: 0 8px 24px rgba(13,59,102,.08); }

.step-num { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: #0D3B66; color: #fff; font-weight: 800; margin-bottom: 8px; }

@media (max-width:1100px){ .steps {  grid-template-columns: repeat(2,1fr); } }

@media (max-width:560px){ .steps {  grid-template-columns: 1fr; } }

/* Gallery grid */.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(4,minmax(0,1fr)); }

@media (max-width:1200px){ .gallery-grid {  grid-template-columns: repeat(3,1fr); } }

@media (max-width:900px){ .gallery-grid {  grid-template-columns: repeat(2,1fr); } }

@media (max-width:380px){ .gallery-grid {  grid-template-columns: 1fr; } }

.gallery-grid a { display: block; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg,#f3f6f9,#e7edf5); box-shadow: 0 6px 18px rgba(13,59,102,.08); }

.gallery-grid img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; height: auto; }

/* Compact: show 6 on desktop/tablet, 4 on phones until expanded */.gallery-grid.compact a:nth-child(n+7) { display: none; }

@media (max-width:900px){ .gallery-grid.compact a:nth-child(n+5) {  display: none; } }

@media (max-width:600px){ .gallery-grid.compact a:nth-child(n+5) {  display: none; } }

.gallery-actions { margin-top: 18px; }

/* Lightbox */.lb-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.92); z-index: 2147483000; padding: 24px; }

.lb-overlay.open { display: flex; }

.lb-stage { position: relative; max-width: min(92vw,1400px); max-height: 88vh; }

.lb-img { max-width: 100%; max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }

.lb-caption { color: #fff; text-align: center; margin-top: 12px; font-size: 14px; opacity: .9; }

.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255,255,255,.16); color: #fff; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }

.lb-btn:hover { background: rgba(255,255,255,.25); }

.lb-prev { left: -56px; }

.lb-next { right: -56px; }

.lb-close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.16); border-radius: 999px; color: #fff; cursor: pointer; }

@media (max-width:780px){ .lb-prev {  left: 6px; }

.lb-next {  right: 6px; }

.lb-close {  top: -50px;  right: -4px; } }

.scroll-lock { overflow: hidden; }

/* =====================================================
   PREMIUM SERVICE-PAGE COMPONENT SYSTEM (v2)
   Reusable across all service + industry pages
   ===================================================== */

/* --- Section contrast rhythm --- */
.section.strip {
    background: linear-gradient(180deg, #f7fafd 0%, #f1f6fc 100%);
}
.section.strip-dark {
    background: linear-gradient(160deg, #0A1B2B 0%, #0D3B66 100%);
    color: #d8e6f5;
}
.section.strip-dark h2,
.section.strip-dark h3,
.section.strip-dark strong {
    color: #fff;
}

/* --- Trust pills (hero) --- */
.trust-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.trust-pill-row li,
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .55rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(13,59,102,.10);
    background: rgba(255,255,255,.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 2px 6px rgba(13,59,102,.04);
    color: #123a66;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

/* --- Delivery / value cards --- */
.delivery-card {
    padding: clamp(18px, 2.6vw, 26px);
    border-radius: 20px;
    border: 1px solid rgba(13,59,102,.09);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 12px 32px rgba(13,59,102,.06);
}
.delivery-card__eyebrow {
    display: block;
    margin: 0 0 8px;
    color: #2d67a1;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.delivery-card h3 {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 1.2;
}
.delivery-card p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
}
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 900px) {
    .delivery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .delivery-grid { grid-template-columns: 1fr; }
}

/* --- Stat / proof band --- */
.proof-stat-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: clamp(20px, 3vw, 32px) 0;
}
.proof-stat {
    text-align: center;
    padding: 16px 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(13,59,102,.08);
    box-shadow: 0 4px 12px rgba(13,59,102,.04);
}
.proof-stat__value {
    display: block;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -.02em;
}
.proof-stat__label {
    display: block;
    margin-top: 4px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
}
@media (max-width: 760px) {
    .proof-stat-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
    .proof-stat-band { grid-template-columns: 1fr; }
}

/* --- CTA band (premium) --- */
.cta-band {
    padding: clamp(28px, 4vw, 48px);
    border-radius: 24px;
    background: linear-gradient(160deg, #0D3B66 0%, #174F87 100%);
    color: #d8e6f5;
    text-align: center;
}
.cta-band h2 {
    color: #fff;
    margin-bottom: .5em;
}
.cta-band p {
    max-width: 58ch;
    margin: 0 auto .75em;
    color: rgba(255,255,255,.8);
}
.cta-band .actions {
    justify-content: center;
}
.cta-band .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #0B3A25;
}
.cta-band .btn-primary:hover {
    background: var(--accent-600);
    border-color: var(--accent-600);
}

/* --- Use-case / feature cards --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.feature-card {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(13,59,102,.08);
    background: #fff;
    box-shadow: 0 6px 18px rgba(13,59,102,.05);
    transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover {
    box-shadow: 0 12px 32px rgba(13,59,102,.10);
    transform: translateY(-2px);
}
.feature-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ecf3ff;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--navy);
}
.feature-card h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
}
.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* --- Process row --- */
.process-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    counter-reset: process-step;
}
.process-step {
    position: relative;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(13,59,102,.08);
    background: #fff;
    box-shadow: 0 6px 18px rgba(13,59,102,.05);
    counter-increment: process-step;
}
.process-step::before {
    content: counter(process-step);
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: .88rem;
    margin-bottom: 10px;
}
.process-step h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}
.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}
@media (max-width: 900px) {
    .process-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .process-row { grid-template-columns: 1fr; }
}

/* --- OAS Gallery (photo grid with lightbox) --- */
.oas-gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 1201px) {
    .oas-gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .oas-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .oas-gallery { grid-template-columns: 1fr; }
}
.oas-gallery > a {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3f6f9, #e7edf5);
    box-shadow: 0 6px 18px rgba(13,59,102,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.oas-gallery > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13,59,102,.12);
}
.oas-gallery > a img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}
/* Compact: limit visible items until expanded */
.oas-gallery[data-limit="6"] > a:nth-of-type(n+7) { display: none; }
.oas-gallery[data-limit="6"].expanded > a { display: block; }
@media (max-width: 900px) {
    .oas-gallery[data-limit="6"] > a:nth-of-type(n+5) { display: none; }
}

/* --- Compact proof card --- */
.compact-proof-card {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(13,59,102,.08);
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    box-shadow: 0 8px 24px rgba(13,59,102,.05);
}
.compact-proof-card h3 {
    margin: 0 0 6px;
}

/* --- Section spacing rhythm helpers --- */
.section + .section { border-top: none; }
.section.strip + .section.strip {
    border-top: 1px solid rgba(13,59,102,.06);
}

/* ============================================
   FIX-006: Shared service-hero photo component
   Reusable across all service pages.
   Follows the janitorial-hero reference pattern.
   ============================================ */
.svc-hero-visual {
    display: grid;
    gap: 14px;
}

.svc-hero-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(13,59,102,.10);
    border-radius: 28px;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
    box-shadow:
        0 8px 20px rgba(13,59,102,.06),
        0 20px 40px rgba(13,59,102,.08);
}

.svc-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.svc-hero-caption {
    margin: 0;
    padding: .85rem 1rem .95rem;
    color: #365c84;
    font-size: .9rem;
    line-height: 1.45;
}

.svc-hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.svc-hero-proof-item {
    border: 1px solid rgba(13,59,102,.10);
    border-radius: 18px;
    padding: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    box-shadow: 0 8px 20px rgba(13,59,102,.05);
}

.svc-hero-proof-item strong {
    display: block;
    margin: 0 0 4px;
    color: #0d3b66;
    font-size: 1.1rem;
    line-height: 1.1;
}

.svc-hero-proof-item p {
    margin: 0;
    color: #486687;
    font-size: .88rem;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .svc-hero-media { border-radius: 22px; }
}
@media (max-width: 640px) {
    .svc-hero-media { border-radius: 18px; }
    .svc-hero-proof { grid-template-columns: 1fr; }
    .svc-hero-proof-item { padding: 12px; }
}