/* ==========================================================
   SERVICE DETAIL PAGE — v3 "Site Dossier" system
   Plain CSS + Bootstrap 5 (NOT Tailwind).

   Convention used throughout: every element keeps its native
   Bootstrap component class (card, btn, badge, accordion-item,
   list-group-item, row/col) for structure and behavior, and is
   styled by pairing that class with a project-specific class in
   a compound selector, e.g.:

        <div class="card svcd-diff-card"> ... </div>
        .card.svcd-diff-card { ... }

   This overrides Bootstrap's default look only where the custom
   class is present, so Bootstrap's JS (accordion collapse, etc.)
   and default behavior keep working untouched.
   ========================================================== */

:root {
    --svcd-ink: #0d1210;
    --svcd-steel: #97a39d;
    --svcd-paper: #ffffff;
    --svcd-paper-tint: #f7f7f5;
    --svcd-teal: #1ec8a0;
    --svcd-purple: #714b67;
    --svcd-line: #26302c;
    --svcd-line-light: #e6e4e1;
}

.svcd-page { background: var(--svcd-paper); }
.svcd-page .container { max-width: 1180px; }

/* ---------- EYEBROW ---------- */
.svcd-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--svcd-purple); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem;
}
.svcd-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--svcd-teal); display: inline-block; }
.svcd-eyebrow.on-dark { color: #cfd8d4; }
.svcd-eyebrow.on-dark::before { background: var(--svcd-teal); }

/* ---------- BREADCRUMB ---------- */
.svcd-breadcrumb-bar { padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.breadcrumb.svcd-breadcrumb {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .82rem;
    margin: 0;
    --bs-breadcrumb-divider: '›';
    --bs-breadcrumb-divider-color: #ffffff; /* Overrides Bootstrap's default divider color to White */
}
.breadcrumb.svcd-breadcrumb .breadcrumb-item a { color: #d7ddda; text-decoration: none; }
.breadcrumb.svcd-breadcrumb .breadcrumb-item a:hover { color: var(--svcd-teal); }
.breadcrumb.svcd-breadcrumb .breadcrumb-item.active { color: var(--svcd-teal); }

/* Backup approach: If your Bootstrap version doesn't support the CSS variable override */
.breadcrumb.svcd-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #ffffff;
}

/* Final CSS*/
.service-header {
    min-height: 90vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
    padding: 5rem 0;	
}

.service-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none !important;
    z-index: 1;
}

.service-header .container,
.service-header .about-content {
    position: relative;
    z-index: 2;
}

.service-header .service-hero-p{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: #d7ddda;
    line-height: 1.75;
    font-weight: 400;
    margin-bottom: 2.1rem;
}

.service-head-1010{
    font-family: DM Sans, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 46.875rem;
    color: #fff;
}


/* Badges — Bootstrap .badge paired with custom look */
.badge.svcd-badge {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 6px;
    padding: .55rem 1rem;
    font-size: .78rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: #eef1ef;
    display: inline-flex; align-items: center; gap: .45rem;
    margin: 0 .55rem .55rem 0;
}
.badge.svcd-badge i { color: var(--svcd-teal); font-size: .85rem; }

/* Buttons — Bootstrap .btn paired with custom look */
.btn.svcd-btn-primary {
    background: var(--svcd-teal); color: #0d1210; border: none; border-radius: 10px;
    padding: .95rem 2rem; font-family: 'DM Sans', sans-serif; font-size: .93rem;
    font-weight: 700; display: inline-flex; align-items: center; gap: .55rem;
    transition: background .2s, transform .15s;
}
.btn.svcd-btn-primary:hover, .btn.svcd-btn-primary:focus { background: #1ae0b0; transform: translateY(-2px); color: #0d1210; }

.btn.svcd-btn-ghost {
    background: transparent; color: #ffffff; border: 1.5px solid rgba(255,255,255,.4); border-radius: 10px;
    padding: .95rem 2rem; font-family: 'DM Sans', sans-serif; font-size: .93rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: .5rem; transition: all .2s;
}
.btn.svcd-btn-ghost:hover, .btn.svcd-btn-ghost:focus { border-color: var(--svcd-teal); color: var(--svcd-teal); }

.svcd-plate-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
}

.row.svcd-plate-row {
    --bs-gutter-x: 0;
}

.svcd-plate-item {
    /* Increased padding from 1.4rem to 2rem top/bottom for breathing room */
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,.12);
}

/* Removes the right border on the last item for desktop layout */
@media (min-width: 768px) {
    .svcd-plate-item:last-child { border-right: none; }
}

/* Fixes spacing and layout specifically for 2x2 mobile screens */
@media (max-width: 767px) {
    .svcd-plate-item {
        padding: 1.5rem 1rem;
    }
    /* Removes right border on the even items in mobile 2-column view */
    .svcd-plate-item:nth-child(2n) { border-right: none; }
    /* Adds a subtle bottom border to the top row in mobile */
    .svcd-plate-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

.svcd-plate-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem; /* Slightly larger for a bold impact */
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -.5px;
    margin-bottom: 0.5rem;
}

.svcd-plate-lbl {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem; /* Slightly larger text to decrease radical word wrapping */
    color: #a3b2ac;
    font-weight: 400;
    line-height: 1.4; /* Increased for a much cleaner look when text wraps */
}

/* ---------- THE PROBLEM — Bootstrap row/col ---------- */
.row.svcd-why-row { --bs-gutter-x: 4rem; }
.svcd-why-text h2 { margin-bottom: 1.2rem; font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.85rem, 3.2vw, 2.4rem);
    font-weight: 600;
    color: #1a2421;
    letter-spacing: -.8px;
    line-height: 1.2; }
.svcd-why-text p {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: .98rem; color: #5b6b67;
    line-height: 1.85; font-weight: 400; max-width: 36rem;
}
.text-1001{
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: .98rem; color: #5b6b67;
    line-height: 1.85; font-weight: 400; max-width: 36rem;
}
.svcd-why-text p + p { margin-top: 1rem; }
.svcd-why-text strong { color: #1a2421; }

.svcd-why-visual { padding-left: 1.6rem; }

/* list-group used for the pain-point list */
.list-group-item.svcd-why-example {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: .92rem; color: #1a2421; font-weight: 500;
    padding: .95rem 0; border: none; border-bottom: 1px solid var(--svcd-line-light);
    border-radius: 0; background: transparent;
    display: flex; align-items: baseline; gap: .7rem;
}
.list-group-item.svcd-why-example:first-child { padding-top: 0; }
.list-group-item.svcd-why-example:last-child { border-bottom: none; }
.svcd-why-example span.svcd-x { color: var(--svcd-purple); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .78rem; }

.text-heading-1001{
    margin-bottom: 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.85rem, 3.2vw, 2.4rem);
    font-weight: 600;
    color: #1a2421;
    letter-spacing: -.8px;
    line-height: 1.2;
}













/* ==========================================================
   CONTENT SECTIONS
   ========================================================== */
.svcd-section { padding: 6rem 0; }
.svcd-section.tint { background: var(--svcd-paper-tint); }
.svcd-section h2 {
    font-family: 'DM Sans', sans-serif; font-size: clamp(1.85rem, 3.2vw, 2.4rem);
    font-weight: 600; color: #1a2421; letter-spacing: -.8px; line-height: 1.2;
}
.svcd-section-head { max-width: 40rem; margin-bottom: 3rem; }



/* ==========================================================
   IMAGE BAND — signature element, full-bleed photography
   ========================================================== */
.svcd-imgband {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    background-color: var(--svcd-ink);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease;
}
.svcd-imgband.is-visible { opacity: 1; transform: translateY(0); }
.svcd-imgband::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(13,18,16,.94) 0%, rgba(13,18,16,.72) 45%, rgba(13,18,16,.4) 100%);
}
.svcd-imgband-crane { background-image: url('https://images.unsplash.com/photo-1609867271967-a82f85c48531?w=2000&q=75&auto=format&fit=crop'); }
.svcd-imgband-warehouse { background-image: url('https://images.unsplash.com/photo-1740914994657-f1cdffdc418e?w=2000&q=75&auto=format&fit=crop'); }
.svcd-imgband-inner { position: relative; z-index: 1; padding: 3.6rem 0; }
.svcd-imgband-tag {
    font-family: 'DM Sans', sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--svcd-teal); margin-bottom: 1rem; display: block;
}
.svcd-imgband h3 {
    font-family: 'DM Sans', sans-serif; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600;
    color: #ffffff; max-width: 34rem; line-height: 1.3; letter-spacing: -.4px; margin: 0;
}
.svcd-imgband h3 strong { color: var(--svcd-teal); font-weight: 700; }

/* ==========================================================
   WHAT MAKES US DIFFERENT — Bootstrap card, flat/bordered
   ========================================================== */
.row.svcd-diff-row { --bs-gutter-x: 0; --bs-gutter-y: 0; border-top: 1px solid var(--svcd-line-light); border-left: 1px solid var(--svcd-line-light); }
.card.svcd-diff-card {
    border: none; border-right: 1px solid var(--svcd-line-light); border-bottom: 1px solid var(--svcd-line-light);
    border-radius: 0; background: transparent; height: 100%;  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.card.svcd-diff-card .card-body { padding: 2.4rem; }
.svcd-diff-num {
    font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 700; color: var(--svcd-purple);
    letter-spacing: .08em; margin-bottom: 1.4rem; display: block;
}
.card.svcd-diff-card .card-title { font-family: 'DM Sans', sans-serif; font-size: 1.08rem; font-weight: 600; color: #1a2421; margin-bottom: .7rem; letter-spacing: -.3px; }
.card.svcd-diff-card .card-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .9rem; color: #6b7672; line-height: 1.75; font-weight: 400; margin: 0; }

.card.svcd-diff-card:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* ==========================================================
   METHODOLOGY — Bootstrap list-group, spec-sheet rows
   ========================================================== */
.list-group.svcd-phase-list { border-radius: 0; max-width: 950px;}
.list-group-item.svcd-phase {
    display: flex; gap: 2.2rem; padding: 2rem 0; align-items: flex-start;
    border: none; border-top: 1px solid var(--svcd-line-light); border-radius: 0 !important; background: transparent;
}
.list-group.svcd-phase-list .list-group-item.svcd-phase:last-child { border-bottom: 1px solid var(--svcd-line-light); }
.svcd-phase-num {
    font-family: 'DM Sans', sans-serif; font-size: 1.6rem; font-weight: 300; color: #d7d4d1;
    width: 3.4rem; flex-shrink: 0; line-height: 1;
}
.svcd-phase-body { flex: 1; display: flex; gap: 2.4rem; flex-wrap: wrap; }
.svcd-phase-main { flex: 1.4; min-width: 240px; }
.svcd-phase-main h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: #1a2421; margin-bottom: .5rem; letter-spacing: -.2px; }
.svcd-phase-main p { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .89rem; color: #6b7672; line-height: 1.7; margin: 0; font-weight: 400; }
.svcd-phase-tags { flex: 1; min-width: 200px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: .5rem; }
.badge.svcd-phase-tag {
    background: var(--svcd-paper-tint); color: #1a2421; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .74rem; font-weight: 600; padding: .45rem .75rem; border-radius: 3px;
    border: 1px solid var(--svcd-line-light);
}

/* ==========================================================
   WHAT WE IMPLEMENT — Bootstrap card grid + photo mosaic
   ========================================================== */
.row.svcd-module-row { --bs-gutter-x: 0; --bs-gutter-y: 0; border-top: 1px solid var(--svcd-line-light); border-left: 1px solid var(--svcd-line-light); margin-bottom: 3.6rem; }
.card.svcd-module-chip {
    border: none; border-right: 1px solid var(--svcd-line-light); border-bottom: 1px solid var(--svcd-line-light);
    border-radius: 0; height: 100%; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.card.svcd-module-chip .card-body {
    padding: 1.1rem 1.2rem;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; font-weight: 600; color: #1a2421;
    display: flex; align-items: center; gap: .6rem;
}
.card.svcd-module-chip i { color: var(--svcd-teal); font-size: .95rem; flex-shrink: 0; }



.row.svcd-mosaic-row { margin-bottom: 2.6rem; }
.card.svcd-mosaic-tile {
    position: relative; min-height: 210px; border-radius: 6px; overflow: hidden; border: none;
    background-size: cover; background-position: center;
}
.card.svcd-mosaic-tile::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,18,16,0) 40%, rgba(13,18,16,.92) 100%);
}
.card.svcd-mosaic-tile .card-img-overlay {
    display: flex; align-items: flex-end; padding: 1.2rem; z-index: 1;
}
.card.svcd-mosaic-tile .card-title {
    font-family: 'DM Sans', sans-serif; font-size: .92rem; font-weight: 600; color: #fff;
    letter-spacing: -.1px; margin: 0;
}

.svcd-industry-block h4 {
    font-family: 'DM Sans', sans-serif; font-size: .76rem; font-weight: 700; color: var(--svcd-purple);
    letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem;
}
.badge.svcd-pill {
    background: var(--svcd-paper-tint);
    border: 1px solid var(--svcd-line-light);
    color: #1a2421;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    padding: .55rem 1.05rem;
    border-radius: 4px;
    margin: 0 .5rem .5rem 0;
    transition: all .3s ease;
    cursor: default;
}

.badge.svcd-pill:hover {
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

/* ==========================================================
   INSIGHT — dark statement band, no photo
   ========================================================== */
.svcd-insight {
    position: relative;
    padding: 6.5rem 0;
    background-color: var(--svcd-ink);
    background-size: cover;
    background-position: center;
}
.svcd-insight::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(13,18,16,.9) 0%, rgba(13,18,16,.85) 45%, rgba(13,18,16,.2) 100%);
}
.svcd-insight .container { position: relative; z-index: 1; }
.svcd-insight h2 {
    font-family: 'DM Sans', sans-serif; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 600;
    color: #ffffff; max-width: 40rem; margin-bottom: 1.2rem; letter-spacing: -.6px; line-height: 1.3;
}
.lead.svcd-insight-lede {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: .98rem; color: #cfd6d2;
    line-height: 1.85; max-width: 40rem; font-weight: 400; margin: 0;
}
.lead.svcd-insight-lede strong { color: var(--svcd-teal); font-weight: 600; }

/* ---------- FAQ — Bootstrap accordion ---------- */
.accordion-item.svcd-accordion-item { border: none; border-bottom: 1px solid var(--svcd-line-light); border-radius: 0; background: transparent; }
.accordion-button.svcd-accordion-button {
    font-family: 'DM Sans', sans-serif; font-size: 1.02rem; font-weight: 600; color: #1a2421;
    padding: 1.4rem 0; background: transparent; box-shadow: none; letter-spacing: -.2px;
}
.accordion-button.svcd-accordion-button:not(.collapsed) { color: var(--svcd-purple); background: transparent; box-shadow: none; }
.accordion-button.svcd-accordion-button:focus { box-shadow: none; }
.accordion-body.svcd-accordion-body {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: .92rem; color: #6b7672;
    line-height: 1.8; padding: 0 2.2rem 1.6rem 0; max-width: 42rem; font-weight: 400;
}

/* ---------- RELATED SERVICES — Bootstrap card grid ---------- */
.row.svcd-related-row { --bs-gutter-x: 0; --bs-gutter-y: 0; border-top: 1px solid var(--svcd-line-light); border-left: 1px solid var(--svcd-line-light); }
.card.svcd-related-card {
    border: none; border-right: 1px solid var(--svcd-line-light); border-bottom: 1px solid var(--svcd-line-light);
    border-radius: 0; height: 100%; transition: background .2s ease;
}
.card.svcd-related-card:hover { background: var(--svcd-paper-tint); }
.card.svcd-related-card .card-body { padding: 2rem; }
.card.svcd-related-card .card-title { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: #1a2421; margin-bottom: .5rem; letter-spacing: -.2px; }
.card.svcd-related-card .card-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .86rem; color: #6b7672; line-height: 1.65; margin: 0 0 .8rem; }
.svcd-related-link { font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 600; color: var(--svcd-teal); display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }

/* ---------- Scroll-reveal (JS toggles .is-visible; respects reduced motion) ---------- */
@media (prefers-reduced-motion: reduce) {
    .svcd-imgband { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .svcd-why-visual { border-left: none; border-top: 2px solid var(--svcd-purple); padding-left: 0; padding-top: 1.4rem; margin-top: 2rem; }
    .svcd-hero { min-height: auto; }
}
@media (max-width: 767.98px) {
    .row.svcd-diff-row .col-md-6:nth-child(odd) .card.svcd-diff-card,
    .row.svcd-related-row .col-md-6:nth-child(odd) .card.svcd-related-card { border-right: none; }
}
@media (max-width: 575.98px) {
    .svcd-section, .svcd-insight { padding: 3.5rem 0; }
    .list-group-item.svcd-phase { flex-direction: column; gap: .8rem; }
    .svcd-phase-num { width: auto; }
    .svcd-plate-item { border-bottom: 1px solid rgba(255,255,255,.12); }
}