/* =========================================================================
   Referanslar — modern trust page (rf-*)
   ========================================================================= */

.page-references {
    --rf-navy: #0a3d7a;
    --rf-accent: #0b4f9c;
    --rf-gold: #f0a020;
    --rf-ink: #0c1b2e;
    --rf-muted: #64748b;
    --rf-line: #dde3ee;
    --rf-soft: #f4f6fa;
    --rf-surface: #ffffff;
}

.rf-page {
    overflow-x: clip;
    background: var(--rf-soft);
    color: var(--rf-ink);
}

.rf-page h1,
.rf-page h2,
.rf-page h3 {
    font-family: Sora, "Source Sans 3", system-ui, sans-serif;
    letter-spacing: -0.02em;
    color: var(--rf-navy);
}

.rf-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rf-gold);
}

.rf-section-head {
    max-width: 36rem;
    margin: 0 auto 28px;
    text-align: center;
}

.rf-section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.25;
    font-weight: 700;
}

.rf-section-head p {
    margin: 0;
    color: var(--rf-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.rf-btn-ghost {
    border-color: rgba(10, 61, 122, 0.28) !important;
    color: var(--rf-navy) !important;
    background: rgba(255, 255, 255, 0.55) !important;
}

.rf-btn-ghost:hover {
    border-color: var(--rf-navy) !important;
    background: #fff !important;
}

/* ----- Hero ----- */

.rf-hero {
    position: relative;
    display: grid;
    align-items: center;
    padding: clamp(88px, 10vh, 112px) 0 40px;
    isolation: isolate;
}

.rf-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 12% -10%, rgba(240, 160, 32, 0.18), transparent 55%),
        radial-gradient(900px 520px at 92% 8%, rgba(11, 79, 156, 0.22), transparent 50%),
        linear-gradient(165deg, #e8eef8 0%, #f4f6fa 42%, #eef3f9 100%);
}

.rf-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 61, 122, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 61, 122, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.rf-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    pointer-events: none;
}

.rf-hero-orb-a {
    width: min(42vw, 420px);
    height: min(42vw, 420px);
    top: -8%;
    right: 8%;
    background: rgba(240, 160, 32, 0.35);
    animation: rf-float 12s ease-in-out infinite;
}

.rf-hero-orb-b {
    width: min(36vw, 360px);
    height: min(36vw, 360px);
    bottom: 4%;
    left: -4%;
    background: rgba(11, 79, 156, 0.28);
    animation: rf-float 14s ease-in-out infinite reverse;
}

@keyframes rf-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(12px, -18px, 0); }
}

.rf-hero-inner {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.rf-hero-brand {
    margin: 0 auto 18px;
}

.rf-hero-brand img {
    display: inline-block;
    height: 40px;
    width: auto;
}

.rf-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.85rem, 3.8vw, 2.6rem);
    line-height: 1.12;
    font-weight: 700;
}

.rf-hero-lead {
    margin: 0 auto 22px;
    max-width: 32rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--rf-muted);
}

.rf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ----- Marquee ----- */

.rf-marquee {
    position: relative;
    border-block: 1px solid var(--rf-line);
    background: var(--rf-surface);
    padding: 14px 0;
    overflow: hidden;
}

.rf-marquee::before,
.rf-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}

.rf-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fff, transparent);
}

.rf-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #fff, transparent);
}

.rf-marquee-track {
    display: flex;
    width: max-content;
    animation: rf-marquee 42s linear infinite;
}

.rf-marquee-list {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0 20px;
    list-style: none;
}

.rf-marquee-item {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: 120px;
    height: 44px;
    opacity: 0.72;
    filter: grayscale(0.35);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.rf-marquee-item:hover {
    opacity: 1;
    filter: none;
}

.rf-marquee-item img {
    max-height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.rf-marquee-fallback {
    font-family: Sora, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--rf-navy);
    white-space: nowrap;
}

@keyframes rf-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ----- Quotes / Splide ----- */

.rf-quotes {
    padding: 36px 0 28px;
    background: var(--rf-soft);
}

.rf-splide {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 36px 8px;
}

.rf-quote {
    margin: 0;
    padding: 18px 20px 16px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--rf-line);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(10, 61, 122, 0.05);
}

.rf-quote blockquote {
    margin: 0 0 14px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 3px solid var(--rf-gold);
}

.rf-quote blockquote p {
    margin: 0;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--rf-ink);
}

.rf-quote-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.rf-quote-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--rf-line);
    background: var(--rf-soft);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.rf-quote-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.rf-quote-logo.is-fallback {
    font-family: Sora, sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--rf-navy);
    background: rgba(11, 79, 156, 0.08);
}

.rf-quote-who {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.rf-quote-who strong {
    font-size: 13.5px;
    color: var(--rf-navy);
}

.rf-quote-who em {
    font-style: normal;
    font-size: 12px;
    color: var(--rf-muted);
}

.rf-splide .splide__pagination {
    bottom: -6px;
}

.rf-splide .splide__pagination__page {
    background: rgba(10, 61, 122, 0.22);
    opacity: 1;
    width: 7px;
    height: 7px;
}

.rf-splide .splide__pagination__page.is-active {
    background: var(--rf-navy);
    transform: scale(1.15);
}

.rf-splide .splide__arrow {
    background: #fff;
    border: 1px solid var(--rf-line);
    opacity: 1;
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 12px rgba(10, 61, 122, 0.07);
}

.rf-splide .splide__arrow--prev {
    left: -4px;
}

.rf-splide .splide__arrow--next {
    right: -4px;
}

.rf-splide .splide__arrow svg {
    fill: var(--rf-navy);
    width: 14px;
    height: 14px;
}

.rf-splide .splide__arrow:hover:not(:disabled) {
    background: var(--rf-navy);
}

.rf-splide .splide__arrow:hover:not(:disabled) svg {
    fill: #fff;
}

@media (max-width: 720px) {
    .rf-splide {
        padding: 0 8px 8px;
    }

    .rf-splide .splide__arrow {
        display: none;
    }
}

/* ----- Logo wall ----- */

.rf-wall {
    padding: 40px 0 48px;
    background: #fff;
}

.rf-wall-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.rf-wall-link {
    position: relative;
    display: grid;
    grid-template-rows: 52px auto auto;
    gap: 6px;
    align-content: start;
    justify-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    min-height: 124px;
    padding: 16px 12px 14px;
    border: 1px solid var(--rf-line);
    border-radius: 14px;
    background: var(--rf-soft);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.rf-wall-link:hover {
    border-color: rgba(10, 61, 122, 0.18);
    background: #fff;
    transform: translateY(-2px);
}

.rf-wall-logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 52px;
}

.rf-wall-logo img {
    max-width: 112px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.rf-wall-logo.is-fallback span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-family: Sora, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--rf-navy);
    background: rgba(11, 79, 156, 0.1);
}

.rf-wall-name {
    font-family: Sora, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--rf-navy);
    line-height: 1.3;
}

.rf-wall-sub {
    font-size: 12.5px;
    color: var(--rf-muted);
}

.rf-wall-ext {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    color: var(--rf-muted);
    opacity: 0;
    transition: opacity 0.2s ease;
}

a.rf-wall-link:hover .rf-wall-ext {
    opacity: 1;
}

.rf-empty {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px;
}

.rf-empty h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.rf-empty p {
    margin: 0 0 20px;
    color: var(--rf-muted);
}

/* ----- CTA ----- */

.rf-cta {
    padding: 40px 0;
    background:
        linear-gradient(135deg, #0a3d7a 0%, #0b4f9c 58%, #0a355f 100%);
    color: #fff;
}

.rf-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.rf-cta h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.rf-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    max-width: 36rem;
    line-height: 1.5;
}

.rf-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rf-cta .rf-btn-ghost {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    background: transparent !important;
}

.rf-cta .rf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
}

/* ----- Reveal defaults (GSAP overrides) ----- */

[data-rf-reveal],
[data-rf-wall-item] {
    will-change: transform, opacity;
}

/* ----- Responsive ----- */

@media (max-width: 1024px) {
    .rf-wall-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .rf-hero {
        min-height: auto;
        padding-top: 110px;
    }

    .rf-wall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rf-wall-link {
        min-height: 132px;
        padding: 18px 12px 14px;
    }

    .rf-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .rf-wall-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rf-hero-orb-a,
    .rf-hero-orb-b,
    .rf-marquee-track {
        animation: none !important;
    }

    .rf-marquee-track {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 12px;
        padding: 0 16px;
    }

    .rf-marquee-list[aria-hidden="true"] {
        display: none;
    }

    .rf-marquee-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 0;
    }

    a.rf-wall-link:hover {
        transform: none;
    }
}
