/* ==========================================
   KARİYER SAYFASI
   Neden biz kartları, ekip yüz dizisi ve başvuru formu.
   ========================================== */

/* --- Neden UGR --- */
.cr-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 18px);
}

.cr-perk {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 2.6vw, 36px);
    border-radius: 22px;
    background: var(--cream);
    transition: background 0.35s ease, rotate 0.5s var(--ease);
}

.cr-perk:nth-child(2) {
    background: var(--brand);
}

.cr-perk:nth-child(3) {
    background: var(--dark);
    color: #f2f2f2;
}

.cr-perk:hover {
    rotate: -1deg;
}

.cr-perk__num {
    display: block;
    margin-bottom: clamp(28px, 5vh, 56px);
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 1.5px currentColor;
}

.cr-perk:nth-child(1) .cr-perk__num,
.cr-perk:nth-child(2) .cr-perk__num { -webkit-text-stroke-color: var(--ink); }
.cr-perk:nth-child(3) .cr-perk__num { -webkit-text-stroke-color: var(--brand); }

.cr-perk__title {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.cr-perk__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.78;
}

/* --- Ekip yüz dizisi --- */
.cr-team {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: clamp(20px, 3vh, 32px);
    padding: 16px 20px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--line);
}

.cr-team__faces {
    display: flex;
    padding-left: 12px;
}

.cr-team__faces img,
.cr-team__faces span {
    width: 46px;
    height: 46px;
    margin-left: -12px;
    box-sizing: border-box;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
    background: var(--brand);
}

.cr-team__faces span {
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 900;
    animation: cr-pulse 2.4s ease-in-out infinite;
}

@keyframes cr-pulse {
    50% { scale: 1.12; }
}

.cr-team__text {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cr-team__text strong {
    box-shadow: inset 0 -0.35em 0 var(--brand);
}

/* --- Başvuru formu --- */
.cr-apply {
    scroll-margin-top: 90px;
}

.cr-form__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.ip-field select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230d0d0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    appearance: none;
    cursor: pointer;
}

.ip-field select:focus {
    outline: none;
    background-color: #fff;
    box-shadow: inset 0 0 0 2px var(--ink);
}

.cr-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 2px dashed rgba(13, 13, 13, 0.2);
    border-radius: 16px;
    background: var(--cream);
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.cr-file:hover,
.cr-file:focus-within {
    border-color: var(--ink);
    background: #fff;
}

.cr-file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.cr-file__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--brand);
}

.cr-file__icon svg {
    width: 22px;
    height: 22px;
}

.cr-file__text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.cr-file__text strong {
    overflow: hidden;
    font-size: 0.92rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-file__text small {
    font-size: 0.76rem;
    color: var(--muted);
}

.cr-file.has-file {
    border-style: solid;
    border-color: var(--ink);
    background: var(--brand);
}

.cr-file.is-too-big {
    border-color: #d93025;
    background: #fdecea;
}

.cr-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--muted);
    cursor: pointer;
}

.cr-check input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--ink);
}

.cr-check a {
    color: var(--ink);
    font-weight: 800;
}

/* --- Süreç --- */
.cr-steps ol {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cr-steps li {
    display: flex;
    gap: 14px;
}

.cr-steps__num {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    font-weight: 900;
}

.cr-steps strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.cr-steps p {
    margin: 4px 0 0;
    font-size: 0.84rem;
    line-height: 1.55;
    opacity: 0.75;
}

.cr-steps__note {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.76rem;
    line-height: 1.55;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .cr-perks {
        grid-template-columns: minmax(0, 1fr);
    }

    .cr-team {
        border-radius: 22px;
    }

    /* Dar ekranda yüz dizisi taşmasın: yalnızca ilk altı kişi */
    .cr-team__faces img:nth-of-type(n + 7) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cr-team__faces span {
        animation: none;
    }
}
