/* ============================================================
   Services - page stylesheet
   Only what this page uses. Anything shared with another page
   stays in /Shared/assets/css/site.css.
   ============================================================ */

.section-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
}

.section-photo > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   TEXT BLOCKS  (What We Do / Our Approach / Our Mission)
   Heading left, copy right - as on the live page.
   ============================================================ */
.block-stack {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.block {
    display: grid;
    grid-template-columns: minmax(200px, 0.8fr) 1.4fr;
    gap: 40px;
    align-items: start;
}

.block-heading {
    color: var(--dbc-navy);
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
}

.block-text {
    font-size: clamp(0.88rem, 1.02vw, 0.98rem);
    line-height: 1.9;
    color: var(--dbc-body);
    margin: 0;
}

/* Client-segment cards: photo on top, copy below */
.segment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.segment {
    display: flex;
    flex-direction: column;
    background: var(--dbc-white);
}

.segment:nth-child(even) {
    background: #ececec;
}

.segment img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.segment-body {
    padding: 36px 32px 42px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.segment-title {
    color: var(--dbc-navy);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.segment-text {
    font-size: 0.82rem;
    line-height: 1.85;
    color: var(--dbc-body);
    margin: 0 0 1.8rem;
}

.segment .btn {
    margin-top: auto;
}

/* Capability cards: small icon beside the heading */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 46px 40px;
}

.capability-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 0.9rem;
}

.capability-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--dbc-navy);
}

.capability-icon svg { width: 100%; height: 100%; }

.capability-title {
    color: var(--dbc-navy);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.capability-text {
    font-size: 0.84rem;
    line-height: 1.85;
    color: var(--dbc-body);
    margin: 0;
}

@media (max-width: 900px) {
.block { grid-template-columns: 1fr; gap: 14px; }
.segment-grid { grid-template-columns: 1fr; }
.segment:nth-child(even) { background: var(--dbc-white); }
}

@media (max-width: 600px) {
.capability-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Our Services */
.segment-section {
    background: var(--dbc-white);
}

.wwdb-section {
    background-image: url('/Services/Media/WhatWeDoBest.jpg');
}
