/* ===================================
   REFERANSLAR - REFERENCES
=================================== */

.ref-section {
    padding: 80px 0 100px;
    background: #fff;
}

.ref-section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 50px;
}

.ref-section-header .section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e63946;
    margin-bottom: 10px;
}

.ref-section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
}

.ref-section-header p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

/* ── Grid ── */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* ── Kart ── */
.ref-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 32px 24px 24px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ref-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
    border-color: #e63946;
}

/* ── Logo ── */
.ref-card-logo {
    width: 120px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .6;
    transition: filter .3s ease, opacity .3s ease;
}

.ref-card:hover .ref-card-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.ref-card-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-card-placeholder i {
    font-size: 32px;
    color: #cbd5e1;
}

/* ── Firma Adı ── */
.ref-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.ref-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.ref-card-name a:hover {
    color: #e63946;
}

/* ── CTA ── */
.ref-cta-section {
    padding: 0 0 100px;
    background: #fff;
}

.ref-cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ref-cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ref-cta-content p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 991.98px) {
    .ref-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .ref-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

@media (max-width: 767.98px) {
    .ref-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ref-card {
        padding: 24px 16px 20px;
    }

    .ref-section {
        padding: 50px 0 70px;
    }

    .ref-section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 575.98px) {
    .ref-cta-content h2 {
        font-size: 22px;
    }
}