.page-content.page-content-referanslar {
    width: 100%;
    max-width: none;
    margin: calc(var(--header-height, 86px) * -1) 0 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
    --ref-fade-line: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.22) 10%,
        rgba(255, 255, 255, 0.58) 50%,
        rgba(255, 255, 255, 0.22) 90%,
        rgba(255, 255, 255, 0) 100%
    );
}

.ref-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 clamp(1.5rem, 4vw, 4rem) 4rem;
    background: #000000;
    overflow: hidden;
}

.ref-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ref-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 42%, rgba(215, 25, 25, 0.06) 0%, transparent 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
}

.ref-hero-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1120px);
}

.ref-hero-title {
    position: relative;
    z-index: 1;
    font-family: "area-variable", sans-serif;
    font-size: clamp(2.5rem, 8.6vw, 8.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    padding-top: 0.12em;
    overflow: visible;
    white-space: nowrap;
}

.ref-hero-title .ref-hero-char {
    display: inline-block;
}

.ref-hero-sub {
    position: relative;
    z-index: 1;
    font-family: "Cardo", serif;
    font-style: italic;
    font-size: clamp(0.95rem, 1.6vw, 1.35rem);
    color: rgba(255, 255, 255, 0.74);
    margin: 1.5rem 0 0;
    letter-spacing: 0.01em;
}

.ref-hero-rule {
    position: relative;
    z-index: 1;
    border: none;
    height: 1px;
    background: var(--ref-fade-line);
    margin: 2.5rem 0 0;
    transform-origin: left center;
}

.ref-body {
    background: #000000;
    color: #ffffff;
    padding: 0 clamp(1.5rem, 4vw, 4rem) 6rem;
}

.ref-body-inner {
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.25rem;
}

.ref-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(0.9rem, 1.6vw, 1.35rem);
}

.ref-logo-card {
    position: relative;
    margin: 0;
    min-height: clamp(110px, 12vw, 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2vw, 1.5rem);
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.35s ease;
    box-shadow: inset 0 0 0 0 rgba(220, 36, 36, 0);
}

.ref-logo-card::before,
.ref-logo-card::after {
    content: "";
    position: absolute;
    top: -1px;
    width: 0;
    height: 2px;
    background: rgb(255, 36, 36);
    transition: width 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.ref-logo-card::before {
    right: 50%;
}

.ref-logo-card::after {
    left: 50%;
}

.ref-logo-card:hover {
    border-color: rgb(255, 36, 36);
    box-shadow: inset 0 0 0 2px rgba(255, 36, 36, 1);
    transition-delay: 0s, 0s, 0.28s;
}

.ref-logo-card:hover::before,
.ref-logo-card:hover::after {
    width: calc(50% + 1px);
}

.ref-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .ref-hero {
        padding-bottom: 3.5rem;
    }

    .ref-hero-title {
        font-size: clamp(1.85rem, 9vw, 4.5rem);
    }

    .ref-body {
        padding-bottom: 4.25rem;
    }

    .ref-logos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
