/* ==========================================================================
   PEKINTAS HOME — CORPORATE REFERENCES / LOGO WALL
   Exact user-provided PNG logos. No generated/recreated logos.
   ========================================================================== */

.pekintas-home-references {
    --phrl-navy: #012b48;
    --phrl-blue: #075b8d;
    --phrl-text: #617989;
    --phrl-line: rgba(1,43,72,.11);
    position: relative;
    overflow: hidden;
    padding: 82px 0 96px;
    background: #fff;
    font-family: Inter, Arial, sans-serif;
}

.pekintas-home-references *,
.pekintas-home-references *::before,
.pekintas-home-references *::after {
    box-sizing: border-box;
}

.phrl-heading {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
    gap: 72px;
    align-items: end;
    padding-bottom: 31px;
    border-bottom: 1px solid var(--phrl-line);
}

.phrl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    color: var(--phrl-blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
}

.phrl-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--phrl-blue);
}

.phrl-heading h2 {
    max-width: 760px;
    margin: 0;
    color: var(--phrl-navy);
    font-size: clamp(36px,4vw,58px);
    line-height: 1.01;
    font-weight: 800;
    letter-spacing: -.047em;
}

.phrl-heading-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
}

.phrl-heading-side p {
    max-width: 520px;
    margin: 0;
    color: var(--phrl-text);
    font-size: 15px;
    line-height: 1.75;
}

.phrl-heading-side strong {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(7,91,141,.12);
    border-radius: 999px;
    background: #f2f7f9;
    color: var(--phrl-blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .04em;
}

.phrl-marquee {
    position: relative;
    width: 100%;
    margin-top: 32px;
    padding: 2px 0;
}

.phrl-marquee::before,
.phrl-marquee::after {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    width: min(9vw,130px);
    pointer-events: none;
}

.phrl-marquee::before {
    left: 0;
    background: linear-gradient(90deg,#fff 10%,rgba(255,255,255,0));
}

.phrl-marquee::after {
    right: 0;
    background: linear-gradient(270deg,#fff 10%,rgba(255,255,255,0));
}

.phrl-row {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 6px 0;
}

.phrl-track {
    display: flex;
    width: max-content;
    transform: translate3d(0,0,0);
    animation: phrl-scroll var(--phrl-duration,240s) linear infinite;
    backface-visibility: hidden;
}

.phrl-row.is-reverse .phrl-track {
    animation-direction: reverse;
}

.phrl-row:hover .phrl-track {
    animation-play-state: paused;
}

.phrl-row.is-static {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.phrl-row.is-static .phrl-track {
    animation: none !important;
    transform: none !important;
}

.phrl-row.is-static .phrl-set[aria-hidden="true"] {
    display: none;
}

.phrl-logo {
    contain: layout paint;
}

.phrl-set {
    display: flex;
    flex: none;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
}

.phrl-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 176px;
    width: 176px;
    height: 84px;
    padding: 16px 20px;
    overflow: hidden;
    border: 1px solid var(--phrl-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(1,43,72,.035);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.phrl-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 136px !important;
    max-height: 54px !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.phrl-logo:hover {
    transform: translateY(-3px);
    border-color: rgba(7,91,141,.24);
    background: #fbfdfe;
    box-shadow: 0 18px 38px rgba(1,43,72,.075);
}

.phrl-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.025);
}

@keyframes phrl-scroll {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
}

@media (max-width: 900px) {
    .pekintas-home-references {
        padding: 64px 0 78px;
    }

    .phrl-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .phrl-heading-side p {
        max-width: 680px;
    }

    .phrl-logo {
        flex-basis: 164px;
        width: 164px;
        height: 82px;
        padding: 14px 17px;
    }

    .phrl-logo img {
        max-width: 128px !important;
        max-height: 52px !important;
    }

    .phrl-set {
        gap: 13px;
        padding-right: 13px;
    }
}

@media (max-width: 600px) {
    .pekintas-home-references {
        padding: 52px 0 64px;
    }

    .phrl-heading h2 {
        font-size: 36px;
    }

    .phrl-heading-side p {
        font-size: 14px;
    }

    .phrl-marquee {
        margin-top: 27px;
    }

    .phrl-logo {
        flex-basis: 142px;
        width: 142px;
        height: 72px;
        padding: 12px 14px;
        border-radius: 13px;
    }

    .phrl-logo img {
        max-width: 112px !important;
        max-height: 44px !important;
    }

    .phrl-set {
        gap: 10px;
        padding-right: 10px;
    }

    .phrl-row {
        padding: 5px 0;
    }

    .phrl-marquee::before,
    .phrl-marquee::after {
        width: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phrl-row {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .phrl-row::-webkit-scrollbar {
        display: none;
    }

    .phrl-track {
        animation: none !important;
    }

    .phrl-set[aria-hidden="true"] {
        display: none;
    }
}
