/* /referanslar */

.cs-refs { padding: 80px 0 100px; background: #f6f7fb; }

.cs-refs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}
.cs-refs-head > div:first-child { max-width: 720px; }
.cs-refs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6f2dbd;
}
.cs-refs-kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #6f2dbd, #ff7a18); }
.cs-refs-head h2 { margin: 12px 0 12px; font-size: clamp(26px, 3vw, 36px); color: #2a0f4d; }
.cs-refs-head p { margin: 0; font-size: 16px; line-height: 1.75; color: #4a4a5a; }

.cs-refs-count {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border-radius: 28px;
    background: linear-gradient(135deg, #6f2dbd 0%, #ff7a18 100%);
    color: #fff;
    box-shadow: 0 20px 40px -18px rgba(111, 45, 189, .7);
}
.cs-refs-count strong { font-family: "Montserrat", sans-serif; font-size: 44px; line-height: 1; }
.cs-refs-count span { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; opacity: .9; }

/* Kartlar */
.cs-refs-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.cs-ref-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ebe8f3;
    box-shadow: 0 16px 34px -28px rgba(42, 15, 77, .45);
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cs-ref-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, #6f2dbd, #e80566 55%, #ff7a18);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.cs-ref-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 26px 46px -26px rgba(111, 45, 189, .45);
    color: inherit;
    text-decoration: none;
}
.cs-ref-card:hover::before { opacity: 1; }
.cs-ref-card:focus-visible { outline: 3px solid rgba(111, 45, 189, .35); outline-offset: 3px; }

.cs-ref-logo {
    display: grid;
    place-items: center;
    height: 120px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 14px;
    background: #faf9fd;
}
.cs-ref-logo img {
    max-width: 100%;
    max-height: 88px;
    object-fit: contain;
    filter: grayscale(.15);
    transition: filter .25s ease, transform .25s ease;
}
.cs-ref-card:hover .cs-ref-logo img { filter: none; transform: scale(1.04); }

.cs-ref-body h3 { margin: 0; font-size: 17px; font-weight: 700; color: #2a0f4d; }
.cs-ref-sector {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f1eafb;
    font-size: 12px;
    font-weight: 600;
    color: #6f2dbd;
}
.cs-ref-body p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #5d5c70; }

.cs-ref-visit {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f1eafb;
    color: #6f2dbd;
    font-size: 12px;
    transform: rotate(-45deg);
    transition: background .25s ease, color .25s ease;
}
.cs-ref-card.is-link { padding-bottom: 60px; }
.cs-ref-card:hover .cs-ref-visit { background: linear-gradient(135deg, #6f2dbd, #ff7a18); color: #fff; }

.cs-refs-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px dashed #d9d3ea;
    color: #5d5c70;
}
.cs-refs-empty i { font-size: 24px; color: #6f2dbd; }

/* Çağrı bandı */
.cs-refs-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 56px;
    padding: 36px 40px;
    border-radius: 24px;
    background: linear-gradient(120deg, #2a0f4d 0%, #4a1a8c 55%, #b0359f 100%);
    color: #fff;
}
.cs-refs-cta h2 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.cs-refs-cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.cs-refs-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.cs-refs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6f2dbd 0%, #ff7a18 100%);
    box-shadow: 0 12px 26px -12px rgba(255, 122, 24, .6);
    font-weight: 700;
    color: #fff;
    transition: transform .2s ease;
}
.cs-refs-btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.cs-refs-btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); box-shadow: none; }

@media (max-width: 767.98px) {
    .cs-refs { padding: 48px 0 70px; }
    .cs-refs-head { flex-direction: column; align-items: flex-start; }
    .cs-refs-count { width: auto; height: auto; flex-direction: row; gap: 8px; padding: 10px 18px; border-radius: 999px; }
    .cs-refs-count strong { font-size: 22px; }
    .cs-refs-count span { margin-top: 0; }
    .cs-refs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cs-ref-card { padding: 14px; }
    .cs-ref-logo { height: 90px; padding: 10px; }
    .cs-refs-cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
}
