/* ── Consultant IT section ─────────────────── */
.cs-section {
    background: #0b0d14;
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}
.cs-section__bg { position: absolute; inset: 0; pointer-events: none; }
.cs-section__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .18;
}
.cs-section__glow--1 { width: 480px; height: 480px; top: -160px; left: -120px; background: #08d665; }
.cs-section__glow--2 { width: 420px; height: 420px; bottom: -160px; right: -100px; background: #2f7bff; }
.cs-section__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 42px 42px;
}

.cs-header { position: relative; z-index: 1; margin-bottom: 44px; }
.cs-label {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 3px;
    color: #08d665; text-transform: uppercase; margin-bottom: 12px;
}
.cs-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #fff;
    margin-bottom: 12px;
}
.cs-title span { color: #08d665; }
.cs-sub {
    font-family: 'Raleway', sans-serif;
    color: rgba(255,255,255,.55);
    font-size: 15px;
    max-width: 640px;
    line-height: 1.7;
}

.cs-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.cs-card {
    background: #12141d;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.cs-card:hover {
    transform: translateY(-4px);
    border-color: rgba(8,214,101,.35);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.cs-card__link { position: absolute; inset: 0; z-index: 3; }

.cs-card__mock { position: relative; }
.cs-card__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #1a1d29;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.cs-card__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.cs-card__dot:nth-child(1) { background: #ff5f57; }
.cs-card__dot:nth-child(2) { background: #febc2e; }
.cs-card__dot:nth-child(3) { background: #28c840; }
.cs-card__url {
    margin-left: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,.4);
    background: rgba(255,255,255,.04);
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cs-card__imgwrap {
    height: 190px;
    overflow: hidden;
    background: #1a1d29;
}
.cs-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .5s ease;
}
.cs-card:hover .cs-card__img { transform: scale(1.04); }

.cs-card__body { padding: 20px 22px 22px; }
.cs-card__badge {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #08d665;
    margin-bottom: 8px;
}
.cs-card__name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
}
.cs-card__desc {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,.5);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cs-card__see {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #08d665;
}
.cs-card__see i { font-size: 10px; }

.cs-footnote {
    position: relative; z-index: 1;
    margin-top: 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 12.5px;
    color: rgba(255,255,255,.35);
    line-height: 1.7;
}

/* Homepage condensed variant */
.idx-cs-grid { grid-template-columns: repeat(4, 1fr); }
.cs-more {
    position: relative; z-index: 1;
    margin-top: 36px;
    text-align: center;
}
.cs-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease;
}
.cs-more__btn:hover { border-color: #08d665; background: rgba(8,214,101,.08); color: #fff; }

@media (max-width: 991px) {
    .cs-grid, .idx-cs-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 575px) {
    .cs-grid, .idx-cs-grid { grid-template-columns: 1fr !important; }
    .cs-title { font-size: 28px; }
}
