/* ─── SHARED INNER PAGE STYLES ────────────────────────────────── */
/* Used by: about, services, references, sustainability, recruitment */

/* ── Page hero (fixed-nav offset) ── */
.page-hero {
    position: relative;
    height: 68vh;
    min-height: 420px;
    display: grid;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    /* fallback if no image set */
    background-color: #0e1825;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,14,22,.80) 0%,
        rgba(8,14,22,.25) 55%,
        transparent 100%
    );
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0 0 56px;
}

.page-hero-inner .eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-cyan);
    margin-bottom: 12px;
}

.page-hero-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -1px;
    color: #fff;
    margin: 0 0 16px;
    max-width: 18ch;
}

.page-hero-inner p {
    font-size: clamp(15px, 1.3vw, 17px);
    color: rgba(255,255,255,.70);
    max-width: 54ch;
    line-height: 1.65;
    margin: 0;
}

/* ── Section shared ── */
.inner-section {
    background: #fff;
    padding: 88px 0;
}

.inner-section.tinted {
    background: #f5f6fa;
}

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-blue);
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: -.7px;
    line-height: 1.1;
    color: #0f1923;
    margin: 0 0 18px;
}

.section-body {
    font-size: 16px;
    line-height: 1.75;
    color: #4a5060;
    max-width: 62ch;
}

/* ── Split layout ── */
.inner-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.inner-split.reverse { direction: rtl; }
.inner-split.reverse > * { direction: ltr; }

.inner-split-img {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2e44 0%, #0e374f 100%);
    background-size: cover;
    background-position: center;
}

.inner-split-img img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.inner-split-text {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.inner-section.tinted .inner-split-text {
    background: #f5f6fa;
}

/* ── Image break ── */
.img-break {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1620 0%, #1a2e44 100%);
    background-size: cover;
    background-position: center;
}

.img-break-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,22,32,.55);
    display: flex;
    align-items: center;
}

.img-break-quote {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.8vw, 38px);
    font-weight: 700;
    color: #fff;
    max-width: 24ch;
    line-height: 1.2;
    letter-spacing: -.4px;
}

.img-break-quote span { color: var(--c-cyan); }

/* ── Buttons (reused across pages) ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 7px;
    background: var(--c-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 160ms ease, transform 120ms ease;
}

.btn-primary:hover {
    background: var(--c-blue-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 7px;
    background: transparent;
    color: #0f1923;
    font-size: 14px;
    font-weight: 650;
    border: 1.5px solid #d0d3dd;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.btn-ghost:hover {
    border-color: var(--c-blue);
    background: rgba(37,99,235,.04);
}

.btn-ghost.light {
    color: #fff;
    border-color: rgba(255,255,255,.28);
}

.btn-ghost.light:hover {
    border-color: var(--c-cyan);
    background: rgba(6,182,212,.10);
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── CTA strip ── */
.cta-strip {
    background: #0f1923;
    padding: 88px 0;
    text-align: center;
}

.cta-strip h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: -.7px;
    color: #fff;
    margin: 0 0 14px;
}

.cta-strip p {
    color: rgba(255,255,255,.58);
    font-size: 16px;
    max-width: 48ch;
    margin: 0 auto 28px;
    line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .inner-split,
    .inner-split.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .inner-split-img { min-height: 280px; }

    .inner-split-text { padding: 44px 24px; }

    .inner-section { padding: 64px 0; }

    .img-break { height: 280px; }
}
