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

/* ============================================================
   WHAT WE DO / OUR APPROACH / OUR MISSION
   Headings in the serif in a narrow left column, copy in a wider
   right one, over the tint.

   WhatWeDo.png is ~99% transparent - a pale diagonal that catches
   the top right corner and nothing else. It MUST stay a PNG: saved
   as a JPEG it loses the alpha and the whole band turns solid
   green, which is what the raw pixels under that alpha are.
   ============================================================ */
.section-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--frm-tint);
}

.wwd-section {
    background-image: url('/Services/Media/WhatWeDo.png');
    padding: 54px 0;
}

.block-stack {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.block {
    display: grid;
    grid-template-columns: 396px 624px;
    gap: 60px;
    align-items: start;
}

.block-heading {
    font-family: var(--frm-serif);
    color: var(--frm-navy);
    font-size: 50px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 70px;
    margin: 0;
    padding-bottom: 10px;
}

.block-text {
    font-family: var(--frm-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    color: var(--frm-body);
    margin: 0;
}

.block-text strong {
    color: var(--frm-navy);
    font-weight: 700;
}

/* ============================================================
   CLIENT SEGMENTS
   Full bleed: three 480px columns, a 400px photo over a 400px
   panel, the middle panel a shade darker than its neighbours.
   ============================================================ */
.segment-section {
    background: var(--frm-white);
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.segment {
    display: flex;
    flex-direction: column;
}

.segment img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.segment-body {
    min-height: 400px;
    padding: 130px 40px;
    text-align: center;
    background: var(--frm-tint);
}

.segment:nth-child(2) .segment-body {
    background: #ededed;
}

.segment-title {
    font-family: var(--frm-sans);
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1em;
    margin: 0;
    padding-bottom: 10px;
}

.segment-text {
    font-family: var(--frm-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 32px;
    color: #000000;
    margin: 0 0 20px;
}

/* A solid pill here rather than the hero's outline one. */
.segment .btn {
    background: var(--frm-accent);
    border-color: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 23.8px;
    padding: 10px 15px;
    text-transform: uppercase;
}

.segment .btn:hover {
    background: var(--frm-accent-dark);
    border-color: transparent;
    color: #ffffff;
}

/* ============================================================
   WHAT WE DO BEST
   ============================================================ */
.wwdb-section {
    padding: 100px 0;
}

.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: 30px;
    height: 30px;
    flex-shrink: 0;
    color: var(--frm-navy);
}

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

.capability-title {
    font-family: var(--frm-head);
    color: var(--frm-navy);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.capability-text {
    font-family: var(--frm-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 28.8px;
    color: rgba(42, 52, 67, 0.5);
    margin: 0;
}

@media (max-width: 1140px) {
.block { grid-template-columns: 1fr 1.6fr; gap: 40px; }
}

@media (max-width: 900px) {
.block { grid-template-columns: 1fr; gap: 14px; }
.block-heading { font-size: 36px; line-height: 48px; }
.segment-grid { grid-template-columns: 1fr; }
.segment-body { min-height: 0; padding: 60px 40px; }
.segment:nth-child(2) .segment-body { background: var(--frm-tint); }
}

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