/* /referanslar — premium, köşeli marka vitrini */
.refs-page,
.refs-page * {
    border-radius: 0 !important;
}

/* —— Hero —— */
.refs-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(ellipse 55% 50% at 88% 8%, rgba(253, 105, 5, 0.24), transparent 58%),
        radial-gradient(ellipse 40% 45% at 5% 90%, rgba(14, 165, 233, 0.08), transparent 55%),
        linear-gradient(145deg, #0b1220 0%, #0f172a 52%, #080c18 100%);
    color: #f8fafc;
    padding: 5.75rem 0 3rem;
}
@media (min-width: 640px) {
    .refs-hero { padding: 6.25rem 0 3.75rem; }
}
.refs-hero__crumb {
    color: rgba(248, 250, 252, 0.55);
    justify-content: flex-start;
}
.refs-hero__crumb a {
    color: rgba(248, 250, 252, 0.75);
    text-decoration: none;
}
.refs-hero__crumb a:hover { color: #fdba74; }

.refs-hero__inner {
    margin-top: 1.75rem;
    max-width: 40rem;
}
.refs-hero__badge {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(253, 105, 5, 0.45);
    background: rgba(253, 105, 5, 0.12);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fdba74;
}
.refs-hero__title {
    margin: 1rem 0 0;
    font-size: clamp(1.85rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #fff;
}
.refs-hero__lead {
    margin: 1rem 0 0;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.72);
}
.refs-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.75rem;
}
.refs-hero__stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.85);
}
.refs-hero__stat strong {
    color: #fdba74;
    font-weight: 800;
}
.refs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}
.refs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.refs-btn--solid {
    background: #fd6905;
    border: 1px solid #fd6905;
    color: #fff;
}
.refs-btn--solid:hover {
    background: #e05a04;
    border-color: #e05a04;
    color: #fff;
    transform: translateY(-1px);
}
.refs-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}
.refs-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff;
}

/* —— Marquee —— */
.refs-marquee {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(90deg, rgba(253, 105, 5, 0.08), transparent 30%, transparent 70%, rgba(253, 105, 5, 0.06)),
        #080c18;
    padding: 1.5rem 0 1.65rem;
    overflow: hidden;
}
.refs-marquee__label {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(253, 186, 116, 0.65);
}
.refs-marquee__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.refs-marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: clamp(2.25rem, 4.5vw, 3.75rem);
    animation: refs-marquee-scroll 40s linear infinite;
}
.refs-marquee__track:hover { animation-play-state: paused; }
@keyframes refs-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .refs-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 1.25rem 1.75rem;
        padding: 0 1rem;
    }
    .refs-marquee__viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .refs-marquee__track [aria-hidden="true"] { display: none; }
}
.refs-marquee__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(5.5rem, 12vw, 7.5rem);
    height: 2.75rem;
    opacity: 0.82;
    transition: opacity 0.2s ease;
}
.refs-marquee__logo:hover { opacity: 1; }
.refs-marquee__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.refs-marquee__name {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

/* —— Proof —— */
.refs-proof {
    border-bottom: 1px solid #e2e8f0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) 0 0 / 36px 36px,
        #f8fafc;
    padding: 2.5rem 0;
}
@media (min-width: 640px) {
    .refs-proof { padding: 3rem 0; }
}
.refs-proof__grid {
    display: grid;
    gap: 0.85rem;
}
@media (min-width: 768px) {
    .refs-proof__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}
.refs-proof__item {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 16px 36px -30px rgba(15, 23, 42, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .refs-proof__item:hover {
        border-color: rgba(253, 105, 5, 0.4);
        transform: translateY(-2px);
    }
}
.refs-proof__num {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fd6905;
    line-height: 1;
}
.refs-proof__label {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
}
.refs-proof__text {
    margin: 0.4rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
}

/* —— Grid —— */
.refs-grid-section {
    background: #fff;
    padding: 2.75rem 0 3.5rem;
}
@media (min-width: 640px) {
    .refs-grid-section { padding: 3.25rem 0 4.5rem; }
}
.refs-grid-section__head {
    margin-bottom: 1.75rem;
    max-width: 36rem;
}
.refs-grid-section__kicker {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fd6905;
}
.refs-grid-section__title {
    margin: 0.65rem 0 0;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
}
.refs-grid-section__lead {
    margin: 0.65rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

.refs-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
    .refs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}
@media (min-width: 1024px) {
    .refs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.1rem;
    }
}

.refs-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 36px -28px rgba(15, 23, 42, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .refs-card:hover {
        border-color: rgba(253, 105, 5, 0.45);
        box-shadow: 0 22px 48px -28px rgba(234, 88, 12, 0.28);
        transform: translateY(-3px);
    }
}
.refs-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 7rem;
    padding: 1.35rem 1rem;
    background:
        linear-gradient(135deg, rgba(253, 105, 5, 0.06), transparent 50%),
        #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.refs-card__visual::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(253, 105, 5, 0.55), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.refs-card:hover .refs-card__visual::after { opacity: 1; }
.refs-card__visual img {
    max-height: 3.35rem;
    max-width: 85%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.refs-card:hover .refs-card__visual img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}
.refs-card__fallback {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.3;
    color: #64748b;
    text-transform: uppercase;
}
.refs-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.95rem 1rem 1.1rem;
}
.refs-card__name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}
.refs-card:hover .refs-card__name { color: #c2410c; }
.refs-card__link {
    margin-top: auto;
    padding-top: 0.7rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fd6905;
    text-decoration: none;
}
.refs-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.refs-empty {
    margin-top: 0.5rem;
    padding: 3rem 1.5rem;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    text-align: center;
    color: #64748b;
    font-size: 0.9375rem;
}
.refs-empty a {
    color: #fd6905;
    font-weight: 700;
}

/* —— CTA —— */
.refs-cta {
    border-top: 1px solid #1e293b;
    background:
        linear-gradient(110deg, rgba(253, 105, 5, 0.18), transparent 48%),
        #0b1220;
    color: #f8fafc;
    padding: 2.75rem 0;
}
.refs-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .refs-cta__inner {
        flex-direction: row;
        align-items: center;
    }
}
.refs-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}
.refs-cta p {
    margin: 0.55rem 0 0;
    max-width: 28rem;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}
.refs-cta__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.refs-cta .refs-btn--solid {
    background: #fd6905;
    border-color: #fd6905;
    color: #fff;
}
.refs-cta .refs-btn--solid:hover {
    background: #e05a04;
    border-color: #e05a04;
}

@media (prefers-reduced-motion: reduce) {
    .refs-card,
    .refs-proof__item,
    .refs-btn {
        transition: none !important;
        transform: none !important;
    }
}
