/* ======================================
   CORPORATE SERVICES - "Corporate Intelligence" (heading and the two services on the left, a tall photo on the right)
   used by corporate.html - every rule is scoped under .ci
   Black band (.ci-dark); the services are plain rows between thin lines.
====================================== */

.ci {
    --ci-red: #ee3939;
    --ci-ink: #171717;
    --ci-text: #444444;
    --ci-line: #e5e5e5;
    position: relative;
    background: #ffffff;
    color: var(--ci-text);
    font-family: "DM Sans", sans-serif;
}

.ci *,
.ci *::before,
.ci *::after {
    box-sizing: border-box;
}

/* black band: flat #000000, white type, thin lines at 16% white; the red stays #ee3939 */
.ci.ci-dark {
    --ci-ink: #ffffff;
    --ci-text: rgba(255, 255, 255, 0.8);
    --ci-line: rgba(255, 255, 255, 0.16);
    background: #000000;
}

.ci-dark .ci-grid {
    border-top-color: var(--ci-line);
}

.ci-dark .ci-icon {
    background: rgba(238, 57, 57, 0.16);
}

.ci-dark .ci-media {
    background: #111111;
}

.ci-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

.ci-main {
    min-width: 0;
}

/* ---- heading ---- */
.ci-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ci-red);
}

.ci-eyebrow::before {
    content: "";
    flex: none;
    width: 28px;
    height: 2px;
    background: var(--ci-red);
}

.ci-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ci-ink);
}

.ci-title span {
    color: var(--ci-red);
}

.ci-sub {
    margin: 14px 0 0;
    font-size: clamp(15px, 1.15vw, 16.5px);
    line-height: 1.65;
    color: var(--ci-text);
}

/* ---- the two services: plain rows ---- */
.ci-grid {
    margin-top: clamp(24px, 4vh, 34px);
    border-top: 1px solid var(--ci-ink);
}

.ci-card {
    padding: 26px 0;
    border-bottom: 1px solid var(--ci-line);
}

.ci-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ci-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ci-line);
    border-radius: 50%;
    color: var(--ci-red);
}

.ci-icon svg {
    width: 22px;
    height: 22px;
}

.ci-card-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(21px, 1.7vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--ci-ink);
}

.ci-card p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ci-text);
}

.ci-card p:last-child {
    margin-bottom: 0;
}

/* ---- photo: fills the right half, as tall as the text beside it ---- */
.ci-media {
    position: relative;
    align-self: stretch;
    min-height: 420px;
    overflow: hidden;
    background: #f2f2f2;
}

.ci-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- responsive ---- */
@media (max-width: 991px) {
    .ci-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ci-media {
        align-self: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 575px) {
    .ci-card {
        padding: 22px 0;
    }

    .ci-icon {
        width: 42px;
        height: 42px;
    }
}

/* ======================================
   CORPORATE INVESTIGATION AGENCY IN MUMBAI (local SEO, after Due Diligence)
   a centred heading, the four case steps as cards, the locations in two lists, one dark contact strip.
   Scoped under .crl; uses the site's plain .container for the navbar edges.
====================================== */

.crl {
    --crl-red: #ee3939;
    --crl-ink: #171717;
    --crl-text: #444444;
    --crl-muted: #6b7180;
    --crl-line: #e5e5e5;
    --crl-pink: #fff0f0;
    background: #ffffff;
    color: var(--crl-ink);
    font-family: "DM Sans", sans-serif;
}

/* ---- centred heading ---- */
.crl-head {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.crl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--crl-red);
}

.crl-eyebrow i {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--crl-red);
}

.crl-title {
    margin: 0 0 14px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
    color: var(--crl-ink);
}

.crl-title em {
    font-style: normal;
    color: var(--crl-red);
}

.crl-lead {
    margin: 0;
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 1.7;
    color: var(--crl-text);
}

/* small label above the steps and above the locations */
.crl-sub {
    margin: clamp(30px, 4.5vh, 42px) 0 18px;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
    color: var(--crl-ink);
}

/* ---- the four steps: numbered cards ---- */
.crl-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: crl-step;
}

.crl-steps li {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 22px;
    border: 1px solid var(--crl-line);
    counter-increment: crl-step;
}

.crl-steps li::before {
    content: counter(crl-step, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: var(--crl-red);
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
}

.crl-steps strong {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--crl-ink);
}

.crl-steps span {
    font-size: 14px;
    line-height: 1.65;
    color: var(--crl-text);
}

/* ---- where we work: two lists with a thin line between them ---- */
.crl-hub-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 0 clamp(28px, 4vw, 56px);
}

.crl-hub-rule {
    background: var(--crl-line);
}

.crl-hub-list {
    display: grid;
    align-content: start;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crl-hub {
    position: relative;
    padding-left: 24px;
}

/* an open dot for each centre, a filled one for the head office */
.crl-hub::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--crl-red);
    border-radius: 50%;
}

.crl-hub-hq::before {
    background: var(--crl-red);
}

.crl-hub strong {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--crl-ink);
}

.crl-hub span {
    display: block;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--crl-muted);
}

.crl-hub a {
    display: block;
    color: inherit;
}

.crl-hub a strong {
    text-decoration: underline;
    text-decoration-color: var(--crl-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.crl-hub a:hover strong,
.crl-hub a:focus strong {
    color: var(--crl-red);
}

.crl-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--crl-red);
}

.crl-all i {
    transition: transform 0.25s ease;
}

.crl-all:hover,
.crl-all:focus {
    color: #c92b2b;
}

.crl-all:hover i,
.crl-all:focus i {
    transform: translateX(4px);
}

/* ---- contact: one dark strip ---- */
.crl-call {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 32px;
    margin-top: clamp(28px, 4vh, 38px);
    padding: 20px 28px;
    background: #1d1d1d;
    color: #ffffff;
}

.crl-call-h {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
}

.crl-call-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.crl-call-lines li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crl-call-lines i {
    flex: none;
    font-size: 17px;
    color: var(--crl-red);
}

.crl-call-lines a {
    color: #ffffff;
    word-break: break-word;
}

.crl-call-lines a:hover,
.crl-call-lines a:focus {
    color: var(--crl-red);
}

/* ---- responsive ---- */
@media (max-width: 1199px) {
    .crl-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .crl-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .crl-steps li {
        padding: 18px;
    }

    .crl-hub-cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .crl-hub-rule {
        display: none;
    }

    .crl-call {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px;
    }

    .crl-call-lines {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crl-all i {
        transition: none;
    }
}
