/* ==========================================================
   CALICO IIM — Home page
   Warm and readable: warm neutral surfaces, dark body text at a
   comfortable size, cards with soft depth, thin line pictograms
   bare in the accent colour. One typeface (Inter). No gradients
   as decoration, no glow, no motion beyond gentle hovers.
   Scoped under .cx so the other pages keep their own styles.
   ========================================================== */

.cx {
    --ink: #17161d;
    --text: #34343f;
    --muted: #55566a;
    --faint: #7c7d8f;
    --line: #ebeaf0;
    --line-strong: #d5d4de;
    --paper: #ffffff;
    --warm: #f9f9fb;
    --warm-2: #efeff4;
    --night: #161827;
    --night-2: #1f2236;
    --night-text: #c9cad6;
    --night-line: rgba(255, 255, 255, .12);
    --accent: #6a3fd4;
    --accent-hover: #5630b8;
    --accent-on-dark: #c2b0f7;
    --ok: #1e7a4a;
    --wip: #a35d00;
    --radius: 16px;
    --shadow: 0 1px 1px rgba(23, 22, 29, .03), 0 8px 24px -16px rgba(23, 22, 29, .14);
    --shadow-hover: 0 1px 2px rgba(23, 22, 29, .04), 0 24px 48px -24px rgba(23, 22, 29, .24);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Resets at class specificity: they beat Bootstrap's element rules, and every component class below, coming later, wins over them. */
.cx :where(h1, h2, h3) { color: var(--ink); margin: 0; font-weight: 600; }
.cx :where(p) { margin: 0; }
.cx :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.cx :where(a) { text-decoration: none; }
.cx .container { --bs-gutter-x: 2rem; }
.cx .row { --bs-gutter-x: 2rem; }

/* ---------- Type ---------- */
.cx-label {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem;
}
.cx-label::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.cx-label-light { color: var(--accent-on-dark); }
.cx-title { font-size: clamp(1.9rem, 3.2vw, 2.65rem); line-height: 1.15; letter-spacing: -.022em; text-wrap: balance; }
.cx-title-light { color: #fff !important; }
.cx-lead { font-size: 1.2rem; line-height: 1.65; color: var(--muted); margin-top: 1.25rem; max-width: 640px; text-wrap: pretty; }
.cx-lead-light { color: var(--night-text); }
.cx-text { color: var(--muted); margin-top: 1rem; }

/* Typographic numbering: the only ornament the cards carry. */
.cx-num { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cx-num-light { color: var(--accent-on-dark); }

/* ---------- Buttons ---------- */
.cx-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.cx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.5rem; border-radius: 8px; border: 1px solid transparent;
    font-size: 1rem; font-weight: 600; line-height: 1.2;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.cx-btn:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; }
.cx-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(106, 63, 212, .7); }
.cx-btn-primary:hover { background: var(--accent-hover); color: #fff; }
.cx-btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.cx-btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.cx-btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--paper); }
.cx-btn-outline:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Sections ---------- */
.cx-section { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--paper); }
.cx-section-warm { background: var(--warm); }
.cx-section-dark { background: var(--night); color: var(--night-text); }
.cx-head { max-width: 720px; margin-bottom: 3rem; }
.cx-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cx-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.cx-head-split .cx-lead { margin-top: 0; }

/* ---------- Photos ---------- */
.cx-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--warm-2); box-shadow: 0 30px 60px -34px rgba(23, 22, 29, .45); }
.cx-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-photo-tall { aspect-ratio: 4 / 3; }
.cx-photo figcaption {
    position: absolute; left: 1rem; bottom: 1rem; display: inline-block;
    padding: .45rem .8rem; border-radius: 8px; font-size: .85rem; font-weight: 500; line-height: 1.2;
    color: var(--ink); background: rgba(255, 255, 255, .94);
}

/* ---------- Cards ---------- */
.cx-cards { display: grid; gap: 1.25rem; }
.cx-cards-2 { grid-template-columns: repeat(2, 1fr); }
.cx-cards-3 { grid-template-columns: repeat(3, 1fr); }
.cx-cards-4 { grid-template-columns: repeat(4, 1fr); }
.cx-card {
    display: flex; flex-direction: column; padding: 1.75rem; color: var(--text);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
a.cx-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.cx-card h3 { margin-top: .9rem; font-size: 1.12rem; line-height: 1.35; letter-spacing: -.01em; }
.cx-card p { margin-top: .5rem; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.cx-card-link { margin-top: auto; padding-top: 1.5rem; font-size: .95rem; font-weight: 600; color: var(--accent); }
a.cx-card:hover .cx-card-link { color: var(--accent-hover); }

/* ==========================================================
   HERO
   ========================================================== */
.cx-hero { background: var(--night); color: var(--night-text); padding: clamp(8rem, 12vw, 9.5rem) 0 0; }
.cx-hero-title { color: #fff !important; font-size: clamp(2.3rem, 4.3vw, 3.6rem); line-height: 1.1; letter-spacing: -.028em; text-wrap: balance; }
.cx-hero-lead { margin-top: 1.5rem; font-size: 1.2rem; line-height: 1.65; color: var(--night-text); max-width: 640px; }
.cx-hero-photo { aspect-ratio: 4 / 3; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }

.cx-figures {
    display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(3.5rem, 6vw, 5rem) 0 0;
    border-top: 1px solid var(--night-line);
}
.cx-figures > div { padding: 2rem 1.5rem 2.25rem 0; }
.cx-figures > div + div { padding-left: 1.75rem; border-left: 1px solid var(--night-line); }
.cx-figures dt { font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1; }
.cx-figures dd { margin: .65rem 0 0; font-size: .95rem; line-height: 1.5; color: #a9abbb; }

/* ==========================================================
   CLIENTS — five equal cells in one framed strip
   ========================================================== */
.cx-clients { background: var(--warm); padding: 3rem 0; }
.cx-clients-label { text-align: center; font-size: .95rem; font-weight: 500; color: var(--muted); margin-bottom: 1.5rem !important; }
.cx-clients-logos {
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.cx-clients-logos li { display: flex; align-items: center; justify-content: center; padding: 1.6rem 1.25rem; }
.cx-clients-logos li + li { border-left: 1px solid var(--line); }
/* The client logos are white wordmarks: shown in ink, softened, full strength on hover. */
.cx-clients-logos img { height: 40px; width: auto; max-width: 100%; filter: brightness(0); opacity: .62; transition: opacity .2s; }
.cx-clients-logos li:hover img { opacity: .9; }

/* ==========================================================
   ABOUT
   ========================================================== */
.cx-pillars { margin-top: clamp(3.5rem, 6vw, 5rem); }

.cx-milestones { margin-top: clamp(3.5rem, 6vw, 4.5rem); padding: 2rem 2rem 1.75rem; border-radius: var(--radius); background: var(--warm); border: 1px solid var(--line); }
.cx-milestones-k { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem !important; }
.cx-milestones ol { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.cx-milestones ol::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line-strong); }
.cx-milestones li { position: relative; padding-top: 1.9rem; }
.cx-milestones li::before {
    content: ''; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%;
    background: var(--paper); border: 2px solid var(--accent);
}
.cx-milestones li.is-latest::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(106, 63, 212, .15); }
.cx-milestone-y { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.cx-milestone-t { display: block; margin-top: .3rem; font-size: .95rem; line-height: 1.5; color: var(--muted); }

/* ==========================================================
   COMPANIES
   ========================================================== */
.cx-companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cx-company {
    display: flex; flex-direction: column; background: var(--paper); color: var(--text);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.cx-company:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.cx-company:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cx-company-top {
    display: flex; align-items: center; min-height: 80px; padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--line); background: #fafafb;
}
.cx-company-logo { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; max-width: 100%; }
.cx-company-logo svg { width: 30px; height: 30px; flex: none; }
/* Logos scale down inside the band rather than overflow it. */
.cx-company-img { height: 34px; width: auto; max-width: min(180px, 100%); object-fit: contain; object-position: left center; }
.cx-company-img-fs { height: 42px; }
.cx-company-img-gz { height: 40px; }
.cx-company-name { font-size: 1.1rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.cx-company-meta { margin: 1.5rem 1.75rem 0; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cx-company h3 { margin: .5rem 1.75rem 0; font-size: 1.12rem; line-height: 1.35; }
.cx-company p { margin: .55rem 1.75rem 0; font-size: 1rem; line-height: 1.6; color: var(--muted); flex: 1; }
.cx-company-link {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 1.5rem; padding: 1.05rem 1.75rem; border-top: 1px solid var(--line);
    font-size: .95rem; font-weight: 600; color: var(--accent);
}
.cx-company:hover .cx-company-link { color: var(--accent-hover); }
.cx-company-join { padding-top: 2rem; background: transparent; border: 1.5px dashed var(--line-strong); box-shadow: none; justify-content: center; }
.cx-company-join:hover { background: var(--paper); border-style: solid; }
.cx-company-join h3 { margin-top: 1.25rem; font-size: 1.2rem; }
.cx-company-join p { flex: 0; }
.cx-company-join .cx-company-link { border-top: 0; margin-top: .75rem; justify-content: flex-start; gap: .4rem; }

/* ==========================================================
   TECHNOLOGY
   ========================================================== */
.cx-engine {
    display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: 1rem 1.25rem; max-width: 420px;
    background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
    transition: border-color .2s, background-color .2s;
}
.cx-engine:hover { color: var(--text); border-color: var(--line-strong); background: var(--warm-2); }
.cx-engine img { width: 44px; height: 44px; flex: none; }
.cx-engine-text { display: flex; flex-direction: column; line-height: 1.35; }
.cx-engine-text b { color: var(--ink); font-size: 1.05rem; }
.cx-engine-text span { font-size: .92rem; color: var(--muted); }
.cx-engine-go { margin-left: auto; color: var(--accent); font-weight: 600; }

.cx-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: clamp(3rem, 5vw, 4.5rem); }
.cx-point { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.cx-point::before { content: ''; position: absolute; left: 0; top: -1px; width: 28px; height: 2px; background: var(--accent); }
.cx-point h3 { font-size: 1.05rem; line-height: 1.35; }
.cx-point p { margin-top: .45rem; font-size: .98rem; line-height: 1.6; color: var(--muted); }

/* ==========================================================
   TRUST
   ========================================================== */
/* One divided panel; colour only on the item still in progress. */
.cx-section-ruled { border-top: 1px solid var(--line); }
.cx-trust-panel {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.cx-trust-cell { padding: 1.9rem 1.75rem 2.1rem; }
.cx-trust-cell + .cx-trust-cell { border-left: 1px solid var(--line); }
.cx-trust-cell.is-progress { background: #f5f2fd; }
.cx-status { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cx-trust-cell.is-progress .cx-status { color: var(--accent); }
.cx-trust-cell h3 { margin-top: .7rem; font-size: 1.12rem; line-height: 1.35; }
.cx-trust-cell p { margin-top: .5rem; font-size: 1rem; line-height: 1.6; color: var(--muted); }

/* ==========================================================
   JOIN
   ========================================================== */
.cx-criteria { margin: 2rem 0 2.25rem; }
.cx-criteria-k { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .75rem !important; }
.cx-criteria li { position: relative; padding-left: 1.25rem; margin-top: .55rem; color: var(--night-text); line-height: 1.55; }
.cx-criteria li::before { content: ''; position: absolute; left: 0; top: .8em; width: 10px; height: 1.5px; background: var(--accent-on-dark); }
.cx-gains { display: grid; gap: 1rem; }
.cx-gain {
    display: flex; gap: 1.25rem; padding: 1.5rem 1.6rem; border-radius: var(--radius);
    background: var(--night-2); border: 1px solid var(--night-line);
}
.cx-gain .cx-num { flex: none; min-width: 1.75rem; margin-top: .2rem; }
.cx-gain h3 { color: #fff; font-size: 1.1rem; }
.cx-gain p { margin-top: .4rem; color: var(--night-text); font-size: 1rem; line-height: 1.6; }
.cx-keeps { margin-top: 1.5rem; font-size: 1rem; line-height: 1.6; color: var(--night-text); }

/* ==========================================================
   NEWS
   ========================================================== */
.cx-news-card { min-height: 260px; }
.cx-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; color: var(--faint); }
.cx-news-cat { font-weight: 600; color: var(--accent); }
.cx-news-card h3 { margin-top: .75rem; font-size: 1.12rem; line-height: 1.45; }

/* ==========================================================
   CONTACT — one dark panel: invitation left, three doors right
   ========================================================== */
.cx-contact {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
    padding: clamp(2rem, 5vw, 3.75rem); border-radius: 20px; background: var(--night); color: var(--night-text);
    box-shadow: 0 40px 80px -50px rgba(23, 22, 29, .6);
}
.cx-contact-where { margin-top: 1.75rem !important; color: var(--night-text); font-size: 1rem; }
.cx-doors { display: grid; gap: .75rem; }
.cx-doors a {
    display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; border-radius: 12px;
    background: var(--night-2); border: 1px solid var(--night-line); color: #fff;
    transition: border-color .2s, background-color .2s;
}
.cx-doors a:hover { color: #fff; border-color: rgba(194, 176, 247, .55); background: #252942; }
.cx-door-text { display: flex; flex-direction: column; line-height: 1.4; }
.cx-door-text b { font-size: 1.05rem; }
.cx-door-text span { font-size: .92rem; color: #a9abbb; }
.cx-door-go { margin-left: auto; color: var(--accent-on-dark); font-size: 1.1rem; transition: transform .2s; }
.cx-doors a:hover .cx-door-go { transform: translateX(3px); }

/* Long compound words (German) break at the soft hyphens written into the copy. */
.cx-hero-title, .cx-title, .cx h3 { hyphens: manual; overflow-wrap: break-word; }

/* ==========================================================
   FINISH — small refinements on top of the system above
   ========================================================== */
.cx-section { padding: clamp(5rem, 9vw, 8rem) 0; }
.cx-section-warm { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cx-title { font-size: clamp(2rem, 3.4vw, 2.85rem); letter-spacing: -.028em; }
.cx-head { margin-bottom: 3.5rem; }
.cx-label { font-size: .78rem; letter-spacing: .12em; }
.cx-label::before { width: 24px; height: 1.5px; }
.cx-company-top { background: var(--paper); }
.cx-company:hover, a.cx-card:hover { border-color: rgba(106, 63, 212, .28); }
.cx-arrow { display: inline-block; transition: transform .25s ease; }
.cx-company:hover .cx-company-link .cx-arrow, .cx-engine:hover .cx-arrow { transform: translate(2px, -2px); }
a.cx-card:hover .cx-card-link .cx-arrow { transform: translateX(3px); }
.cx-figures dt { letter-spacing: -.03em; }

/* 2. Gentle fade-in (classes set by home.js, below the fold only). */
.cx-rv { opacity: 0; transform: translateY(12px); }
.cx-rv.is-in {
    opacity: 1; transform: none;
    transition: opacity .7s cubic-bezier(.2, .6, .2, 1) var(--rv-delay, 0ms), transform .7s cubic-bezier(.2, .6, .2, 1) var(--rv-delay, 0ms);
}

/* 3. Depth in the navy: a barely perceptible fall from lighter to deeper navy, a soft light behind the hero photo. */
.cx-hero {
    background:
        radial-gradient(640px 420px at 80% 42%, rgba(106, 63, 212, .14), transparent 70%),
        linear-gradient(180deg, #1c1f33 0%, #161827 55%, #121422 100%);
}
.cx-section-dark { background: linear-gradient(180deg, #1b1e31 0%, #161827 60%, #131524 100%); }

/* 4. Photos: a slow, slight zoom on hover and a fine light inner edge. */
.cx-photo img { transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.cx-photo:hover img { transform: scale(1.03); }

/* 5. Link text underlines itself from the left on hover. */
.cx-u {
    background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
    background-position: 0 100%; background-size: 0% 1px; padding-bottom: 1px;
    transition: background-size .35s cubic-bezier(.2, .6, .2, 1);
}
a:hover .cx-u, a:focus-visible .cx-u { background-size: 100% 1px; }

@media (prefers-reduced-motion: reduce) {
    .cx-photo img, .cx-u, .cx-arrow { transition: none; }
    .cx-photo:hover img { transform: none; }
}

/* Contact panel: crisp, not hazy. Solid deep navy, a faint light top right, white doors. */
.cx-contact {
    background: radial-gradient(520px 320px at 92% 0%, rgba(106, 63, 212, .16), transparent 70%), #13152a;
    box-shadow: 0 30px 60px -48px rgba(23, 22, 29, .5);
}
.cx-contact .cx-lead-light { color: #d9dae4; }
.cx-contact-where { color: #b9bbc9; }
.cx-doors a { background: #fff; border-color: transparent; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.cx-doors a:hover { background: #fff; border-color: transparent; color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7); }
.cx-door-text b { color: var(--ink); }
.cx-door-text span { color: var(--muted); }
.cx-door-go { color: var(--accent); }

/* Hero photo: the leaf-shaped frame (small and large corners alternating), a fine
   brand line beside it with quiet tick marks, the caption as plain text on the image. */
.cx-hero-art { position: relative; padding-left: 1.5rem; }
.cx-hero-art::before {
    content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 2px; border-radius: 2px; opacity: .85;
    background: linear-gradient(to bottom, transparent 0%, #8b5cf6 25%, #06b6d4 60%, #ec4899 90%, transparent 100%);
}
.cx-hero-art::after {
    content: ''; position: absolute; left: -2px; top: 12%; bottom: 12%; width: 6px; opacity: .55; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .45) 1px, transparent 1.5px);
    background-size: 6px 24px; background-repeat: repeat-y;
}
.cx-hero-photo { border-radius: 24px 88px 24px 88px; border: 0; background: var(--night); }
.cx-hero-photo figcaption {
    left: auto; right: 1.5rem; bottom: 1.25rem; padding: 0; border-radius: 0; background: none;
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.cx-hero-photo figcaption::before { content: ''; width: 18px; height: 1.5px; background: #fff; opacity: .8; }
@media (max-width: 575.98px) {
    .cx-hero-art { padding-left: 1rem; }
    .cx-hero-photo { border-radius: 18px 56px 18px 56px; }
}

/* Buttons on navy: the main action is white with dark text, the second a light outline.
   Side by side at every width, never stretched across a phone screen. */
.cx-hero .cx-btn-primary, .cx-section-dark .cx-btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cx-hero .cx-btn-primary:hover, .cx-section-dark .cx-btn-primary:hover { background: #ecebf3; color: var(--ink); }
@media (max-width: 479.98px) {
    .cx-hero-title { font-size: 2.05rem; }
    .cx-actions { gap: .6rem; }
    .cx-actions .cx-btn { padding: .8rem 1.15rem; font-size: .95rem; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 991.98px) {
    .cx-figures { grid-template-columns: 1fr 1fr; }
    .cx-figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .cx-figures > div:nth-child(n+3) { border-top: 1px solid var(--night-line); }
    .cx-clients-logos { grid-template-columns: repeat(3, 1fr); }
    .cx-clients-logos li:nth-child(4) { border-left: 0; }
    .cx-clients-logos li:nth-child(n+4) { border-top: 1px solid var(--line); }
    .cx-cards-3, .cx-cards-4, .cx-companies { grid-template-columns: 1fr 1fr; }
    .cx-milestones ol { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
    .cx-head-split { grid-template-columns: 1fr; }
    .cx-points { grid-template-columns: 1fr 1fr; }
    .cx-trust-panel { grid-template-columns: 1fr 1fr; }
    .cx-trust-cell:nth-child(3) { border-left: 0; }
    .cx-trust-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
    .cx-contact { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .cx { font-size: 1rem; }
    .cx-cards-2, .cx-cards-3, .cx-cards-4, .cx-companies, .cx-points, .cx-trust-panel { grid-template-columns: 1fr; }
    .cx-trust-cell + .cx-trust-cell { border-left: 0; border-top: 1px solid var(--line); }
    .cx-clients-logos { grid-template-columns: 1fr 1fr; }
    .cx-clients-logos li { padding: 1.25rem 1rem; }
    .cx-clients-logos li + li { border-left: 0; }
    .cx-clients-logos li:nth-child(even) { border-left: 1px solid var(--line); }
    .cx-clients-logos li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .cx-clients-logos li:nth-child(5) { grid-column: span 2; }
    .cx-clients-logos img { height: 32px; }
    .cx-milestones { padding: 1.5rem; }
    .cx-milestones ol { grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
    .cx-milestones ol::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
    .cx-milestones li { padding: 0 0 1.25rem; }
    .cx-milestones li::before { left: -2rem; top: .35rem; }
    .cx-news-card { min-height: 0; }
}

@media (max-width: 479.98px) {
    .cx-figures > div { padding-right: .75rem; }
    .cx-figures > div + div { padding-left: .75rem; }
    .cx-figures > div:nth-child(3) { padding-left: 0; }
    .cx-company-top { padding: 1.1rem 1.25rem; }
    .cx-company h3, .cx-company p, .cx-company-meta { margin-left: 1.25rem; margin-right: 1.25rem; }
    .cx-company-link { padding-left: 1.25rem; padding-right: 1.25rem; }
}
