/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: #0F172A;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    display: block;
    max-width: 100%;
}

.cs-inline-icon {
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    width: 14px;
    height: 14px;
}

:root {
    --orange: #F0895E;
    --orange-h: #E07848;
    --navy: #0F172A;
    --c1: #252527;
    --c2: #45454A;
    --c3: #66666B;
    --c4: #94A3B8;
    --bg-light: #F4F7F9;
    --f8: #F8FAFC;
    --border: rgba(15, 23, 42, 0.07);
    --px: clamp(24px, 4vw, 64px);
    --max1200: calc(1200px + var(--px) + var(--px));
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.cs-hero {
    position: relative;
    overflow: hidden;
    height: min(650px, 26vw);
    margin-top: 64px;
}

.cs-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 50%, rgba(15, 23, 42, 0.55) 100%);
}

.cs-hero-glow {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 137, 94, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.cs-hero-inner {
    position: relative;
    z-index: 10;
    max-width: var(--max1200);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cs-hero-content {
    max-width: 640px;
}

.cs-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cs-hero-eline {
    width: 24px;
    height: 1px;
    background: var(--orange);
}

.cs-hero-etxt {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--orange);
    text-transform: uppercase;
}

.cs-hero-h1 {
    font-size: clamp(24px, 2.7vw, 36px);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.cs-hero-h1 .accent {
    color: var(--orange);
}

.cs-hero-sub {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 560px;
}

/* Search */
.cs-search-wrap {
    position: relative;
    max-width: 440px;
}

.cs-search-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #94A3B8;
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}

.cs-search-icon::after {
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 6px;
    height: 2px;
    background: #94A3B8;
    border-radius: 2px;
    content: '';
    transform: rotate(45deg);
    transform-origin: left center;
}

.cs-search-input {
    width: 100%;
    padding: 14px 20px 14px 44px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid #fff;
    color: var(--navy);
    font-size: 0.83rem;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cs-search-input::placeholder {
    color: #94A3B8;
}

.cs-search-input:focus {
    border-color: var(--orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(240, 137, 94, 0.2);
}

/* ══════════════════════════════════════
   MAIN (Tags + Grid)
══════════════════════════════════════ */
.cs-main {
    padding: 5rem 0;
    background: #fff;
}

.cs-inner {
    max-width: var(--max1200);
    margin: 0 auto;
    padding: 0 var(--px);
}

/* Tags */
.cs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 3rem;
}

.cs-tag {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    color: var(--c2);
    transition: all 0.15s;
    cursor: pointer;
}

.cs-tag:hover {
    border-color: rgba(15, 23, 42, 0.35);
    color: var(--navy);
}

.cs-tag.active {
    background: #0C294B;
    border-color: #0C294B;
    color: #fff;
}

/* Count row */
.cs-count-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.cs-count-txt {
    font-size: 0.78rem;
    color: #94A3B8;
}

.cs-clear-btn {
    font-size: 0.72rem;
    color: var(--orange);
    transition: color 0.15s;
}

.cs-clear-btn:hover {
    color: var(--orange-h);
}

/* Case card grid */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cs-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
    background: #fff;
}

.cs-card:hover {
    background: #0C294B;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.10);
    transform: translateY(-2px);
}

/* Card image */
.cs-card-img {
    position: relative;
    height: 192px;
    overflow: hidden;
    background: #E2E8F0;
    flex-shrink: 0;
}

.cs-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cs-card:hover .cs-card-img img {
    transform: scale(1.04);
}

.cs-card-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.20);
}

.cs-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cs-badge-industry {
    font-size: 0.58rem;
    font-weight: 700;
    background: var(--orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 100px;
}

.cs-badge-service {
    font-size: 0.58rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.85);
    color: var(--navy);
    padding: 4px 10px;
    border-radius: 100px;
}

.cs-card-region {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.60);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 100px;
}

.cs-card-region .cs-inline-icon {
    width: 12px;
    height: 12px;
}

.cs-card-region span {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Card body */
.cs-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.cs-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.45;
    transition: color 0.2s;
}

.cs-card:hover .cs-card-title {
    color: #fff;
}

.cs-card-summary {
    font-size: 14px;
    color: var(--c3);
    line-height: 1.8;
    margin-bottom: 1rem;
    flex: 1;
}

.cs-card-results {
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem;
}

.cs-card:hover .cs-card-summary, .cs-card:hover .cs-card-result span {
    color: rgba(255, 255, 255, .8);
}

.cs-card:hover .cs-card-results {
    border-color: rgba(255, 255, 255, .25);
}

.cs-card-result {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-card-result .cs-inline-icon {
    width: 14px;
    height: 14px;
}

.cs-card-result span {
    font-size: 16px;
    color: var(--c2);
    font-weight: 500;
}

.cs-card-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--orange);
}

.cs-card-cta .cs-inline-icon {
    width: 12px;
    height: 12px;
}

.cs-card:hover .cs-card-cta {
    color: #fff;
}

.cs-card:hover .cs-card-cta svg {
    filter: brightness(0) invert(1);
}

/* Pagination */
.cs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.cs-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #DDE5ED;
    border-radius: 8px;
    color: #1B293C;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: color .2s, background .2s, border-color .2s;
}

.cs-page-btn:hover {
    border-color: #0b2e53;
    color: #fff;
    background: #0b2e53;
}

.cs-page-btn.is-active {
    border-color: #0b2e53;
    color: #fff;
    background: #0b2e53;
}

.cs-page-btn.is-disabled {
    color: #94A3B8;
    background: #F8FAFC;
    cursor: not-allowed;
}

.cs-page-arrow {
    font-size: 20px;
}

.cs-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #1B293C;
    font-size: 20px;
    font-weight: 700;
}

/* ══════════════════════════════════════
   RELATED
══════════════════════════════════════ */
.cs-related {
    padding: 5rem 0;
    background: var(--bg-light);
}

.cs-related-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.cs-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cs-eyebrow-line {
    width: 20px;
    height: 1px;
    background: var(--orange);
}

.cs-eyebrow-txt {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--orange);
    text-transform: uppercase;
}

.cs-related-h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.35;
}

.cs-related-sub {
    font-size: 16px;
    color: var(--c3);
    line-height: 1.8;
    margin-top: 8px;
}

.cs-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cs-rcard {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.cs-rcard:hover {
    background: #0C294B;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
}

.cs-rcard-img {
    position: relative;
    height: 176px;
    overflow: hidden;
    background: #E2E8F0;
}

.cs-rcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cs-rcard:hover .cs-rcard-img img {
    transform: scale(1.05);
}

.cs-rcard-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.20);
}

.cs-rcard-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.58rem;
    font-weight: 700;
    background: var(--orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 100px;
}

.cs-rcard-body {
    padding: 24px;
}

.cs-rcard-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.2s;
}

.cs-rcard:hover .cs-rcard-title {
    color: #fff;
}

.cs-rcard-desc {
    font-size: 14px;
    color: var(--c3);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.cs-rcard:hover .cs-rcard-desc {
    color: rgba(255, 255, 255, .8);
}

.cs-rcard-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--orange);
}

.cs-rcard-cta .cs-inline-icon {
    width: 12px;
    height: 12px;
}

.cs-rcard:hover .cs-rcard-cta {
    color: #fff;
}

.cs-rcard:hover .cs-rcard-cta svg {
    filter: brightness(0) invert(1);
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.cs-faq-outer {
    padding: 92px 0;
    background: #fff;
    overflow: hidden;
}

.cs-faq-fullbleed {
    position: static;
    width: auto;
    left: auto;
    transform: none;
    background: #fff;
    padding: 0;
}

.cs-faq-h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #071b35;
    letter-spacing: -0.035em;
    line-height: 1.42;
    text-align: center;
    margin-bottom: 0;
}

.cs-faq-sub {
    max-width: 780px;
    font-size: 16px;
    font-weight: 400;
    color: #637487;
    line-height: 1.9;
    text-align: center;
    margin: 12px auto 40px;
}

.cs-faq-list {
    border-top: 1px solid #d9e2e7;
}

.cs-faq-item {
    border-bottom: 1px solid #d9e2e7;
}

.cs-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    cursor: pointer;
}

.cs-faq-q-text {
    font-size: 16px;
    font-weight: 700;
    color: #071b35;
    line-height: 1.5;
    transition: color 0.15s;
}

.cs-faq-item.open .cs-faq-q-text,
.cs-faq-item:hover .cs-faq-q-text {
    color: #f0895e;
}

.cs-faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    transition: all 0.2s;
}

.cs-faq-chev {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    transition: transform 0.2s;
}

.cs-faq-item.open .cs-faq-icon {
    background: #071b35;
    border-color: #071b35;
}

.cs-faq-item.open .cs-faq-chev {
    color: #fff;
    transform: rotate(90deg);
}

.cs-faq-a {
    display: none;
    padding: 0 64px 22px 0;
}

.cs-faq-item.open .cs-faq-a {
    display: block;
}

.cs-faq-a p {
    margin: 0;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.9;
    font-weight: 400;
    padding-left: 0;
}

.cs-faq-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: #f0895e;
    font-size: 16px;
    font-weight: 750;
    text-decoration: none;
}

.cs-faq-link span {
    font-size: 20px;
    transition: transform 0.2s;
}

.cs-faq-link:hover span {
    transform: translateX(4px);
}

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.cs-cta {
    position: relative;
    overflow: hidden;
    height: 470px;
    min-height: 470px;
    max-height: 470px;
    flex: 0 0 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-cta-bg {
    position: absolute;
    inset: 0;
}

.cs-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(7, 27, 53, 0.8);
}

.cs-cta-dots {
    display: none;
}

.cs-cta-glow {
    display: none;
}

.cs-cta-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.cs-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 137, 94, 0.15);
    border: 1px solid rgba(240, 137, 94, 0.30);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
}

.cs-cta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

.cs-cta-h2 {
    font-size: clamp(24px, 2.7vw, 36px);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.cs-cta-h2 .accent {
    color: var(--orange);
}

.cs-cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cs-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cs-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    background: var(--orange);
    padding: .9rem 2rem;
    border-radius: 9999px;
    transition: background .2s, transform .2s;
}

.cs-cta-btn-primary:hover {
    background: var(--orange-h);
}

.cs-cta-btn-primary .cs-inline-icon {
    width: 16px;
    height: 16px;
}

.cs-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding: .9rem 2rem;
    border-radius: 9999px;
    transition: background .2s, transform .2s;
}

.cs-cta-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.cs-cta-btn-ghost .cs-inline-icon {
    width: 16px;
    height: 16px;
}


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .cs-hero {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .cs-hero-inner {
        height: auto;
        padding: 56px var(--px) 40px;
        transform: none;
    }

    .cs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .cs-faq-outer {
        padding: 68px 0;
    }

    .cs-faq-h3 {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        line-height: 1.42;
    }

    .cs-faq-sub {
        margin-bottom: 28px;
    }

    .cs-faq-q {
        gap: 16px;
        padding: 19px 0;
    }

    .cs-faq-q-text {
        font-size: 15px;
    }

    .cs-faq-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .cs-faq-a {
        padding-right: 0;
    }

    .cs-faq-a p,
    .cs-faq-link {
        font-size: 15px;
    }

    .cs-grid {
        grid-template-columns: 1fr;
    }

    .cs-pagination {
        justify-content: flex-start;
        gap: 8px;
        margin-top: 40px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cs-pagination::-webkit-scrollbar {
        display: none;
    }

    .cs-page-btn, .cs-page-ellipsis {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .cs-page-arrow, .cs-page-ellipsis {
        font-size: 20px;
    }

    .cs-related-grid {
        grid-template-columns: 1fr;
    }
}
