/* ========== Recruitment Service page ========== */
.hero-recruit .hero-bg {
    background: url("../images/recruit-hero.jpg") center / cover no-repeat;
    animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero-recruit {
    min-height: 300px;
    padding: 72px 8px 64px;
}

.hero-recruit .hero-content > * {
    animation: recruitFadeUp 0.8s ease both;
}

.hero-recruit .hero-content h1 {
    animation-delay: 0.1s;
}

.hero-recruit .hero-content .hero-lead {
    animation-delay: 0.25s;
}

.hero-recruit .hero-content .hero-emphasis {
    animation-delay: 0.4s;
}

@keyframes recruitFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recruit-overview,
.recruit-flow,
.recruit-challenges {
    background: #fff;
}

.recruit-media {
    overflow: hidden;
    border-radius: 1.15rem;
    box-shadow: 0 16px 36px rgb(15 23 42 / 0.12);
}

.recruit-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 260px;
    transition: transform 0.6s ease;
}

.recruit-media:hover img {
    transform: scale(1.05);
}

.recruit-media-sm img {
    min-height: 220px;
    max-height: 280px;
}

.recruit-section-title,
.recruit-overview-body h2 {
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--gray-900, #111827);
    line-height: 1.35;
    margin-bottom: 1rem;
}

.recruit-copy,
.recruit-overview-body p {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

.recruit-strengths {
    background: #fff;
}

.strengths-panel {
    background: #f3f4f6;
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
}

.strengths-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--brand-primary);
}

.strength-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgb(15 23 42 / 0.14);
}

.strength-icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    background: linear-gradient(
        135deg,
        var(--brand-primary),
        var(--brand-navy)
    );
    transition: transform 0.35s ease;
}

.strength-card:hover .strength-icon {
    transform: scale(1.08) rotate(-4deg);
}

.strength-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 0.65rem;
}

.strength-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.flow-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

.flow-track::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--brand-primary),
        var(--brand-navy)
    );
    opacity: 0.35;
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s ease 0.2s;
}

.recruit-flow:has(.flow-step.is-visible) .flow-track::before {
    transform: scaleX(1);
}

.flow-step {
    position: relative;
    z-index: 1;
}

.flow-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--brand-primary),
        var(--brand-navy)
    );
    box-shadow: 0 10px 20px rgb(139 37 85 / 0.28);
    transition: transform 0.35s ease;
}

.flow-step.is-visible .flow-num {
    animation: flowPulse 0.7s ease both;
}

@keyframes flowPulse {
    0% {
        transform: scale(0.7);
    }
    70% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.flow-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 16rem;
}

.challenge-list li {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.02rem;
    line-height: 1.55;
}

.challenge-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #fff;
    font-size: 0.95rem;
}

.challenge-list li.is-visible .challenge-check {
    animation: checkPop 0.45s ease both;
}

@keyframes checkPop {
    from {
        transform: scale(0.5);
        opacity: 0.4;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.job-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.92rem;
    background: #fff;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.job-tag:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .flow-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .flow-track::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-recruit {
        min-height: 240px;
        padding: 48px 8px 40px;
    }

    .strengths-panel {
        padding: 1.75rem 1rem;
    }

    .flow-track {
        grid-template-columns: 1fr;
    }

    .recruit-media img {
        min-height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-recruit .hero-bg,
    .hero-recruit .hero-content > *,
    .flow-num,
    .challenge-check,
    .strength-card,
    .recruit-media img,
    .job-tag {
        animation: none !important;
        transition: none !important;
    }
}
