/* Scoped styles for the /staffing promotional page only.
   All rules live under .stf-page so nothing leaks to other pages. */

.stf-page {
    --stf-navy: #16222e;
    --stf-deep: #0d1620;
    --stf-gold: #c8a951;
    --stf-cream: #f7f5f0;
    --stf-slate: #3a4a5c;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--stf-navy);
    overflow-x: hidden;
}

.stf-page h1,
.stf-page h2,
.stf-page h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stf-eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stf-gold);
    display: inline-block;
    margin-bottom: 1rem;
}

.stf-section {
    padding: 5rem 0;
}

.stf-dark {
    background-color: var(--stf-navy);
    color: var(--stf-cream);
}

.stf-deep-bg {
    background-color: var(--stf-deep);
    color: var(--stf-cream);
}

.stf-light {
    background-color: var(--stf-cream);
    color: var(--stf-navy);
}

/* ---- Buttons ---- */
.stf-btn-gold {
    display: inline-block;
    background-color: var(--stf-gold);
    color: var(--stf-deep);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 2.4rem;
    border: 2px solid var(--stf-gold);
    border-radius: 10px;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
    box-shadow: 0 6px 20px rgba(200, 169, 81, 0.35);
    cursor: pointer;
}

.stf-btn-gold:hover {
    background-color: #d8bc66;
    border-color: #d8bc66;
    color: var(--stf-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(200, 169, 81, 0.45);
}

.stf-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--stf-navy);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: 2px solid var(--stf-slate);
    border-radius: 10px;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease;
}

.stf-btn-outline:hover {
    background-color: var(--stf-slate);
    color: var(--stf-cream);
    transform: translateY(-2px);
}

/* Visible keyboard focus on every interactive element in the page */
.stf-page a:focus-visible,
.stf-page button:focus-visible,
.stf-page input:focus-visible,
.stf-page select:focus-visible,
.stf-page textarea:focus-visible {
    outline: 3px solid var(--stf-gold);
    outline-offset: 3px;
}

/* ---- Hero ---- */
.stf-hero {
    position: relative;
    padding: 7.5rem 0 7rem;
    background-color: var(--stf-deep);
    background-image:
        linear-gradient(
            110deg,
            rgba(13, 22, 32, 0.92) 0%,
            rgba(13, 22, 32, 0.72) 42%,
            rgba(13, 22, 32, 0.35) 100%
        ),
        url("../img/staffing-hero-bg.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.stf-hero::after {
    /* soft fade into the next (light) section */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(13, 22, 32, 0) 0%, rgba(13, 22, 32, 0.55) 100%);
    pointer-events: none;
}

.stf-hero .container {
    position: relative;
    z-index: 1;
}

.stf-hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 24px rgba(13, 22, 32, 0.65);
}

.stf-hero .stf-sub {
    font-size: 1.18rem;
    color: rgba(247, 245, 240, 0.85);
    max-width: 32rem;
    margin-bottom: 2.2rem;
    text-shadow: 0 1px 14px rgba(13, 22, 32, 0.6);
}

/* ---- Hero profile-card stack ---- */
.stf-card-stack {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    min-height: 340px;
}

.stf-pcard {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(330px, 82%);
    background: #ffffff;
    border: 1px solid rgba(58, 74, 92, 0.16);
    border-radius: 16px;
    padding: 1.35rem 1.35rem 1.2rem;
    box-shadow: 0 18px 44px rgba(6, 12, 20, 0.5);
    opacity: 0;
}

.stf-pcard-1 {
    z-index: 3;
    animation: stf-card-in-1 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.stf-pcard-2 {
    z-index: 2;
    animation: stf-card-in-2 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.stf-pcard-3 {
    z-index: 1;
    animation: stf-card-in-3 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

@keyframes stf-card-in-1 {
    from {
        opacity: 0;
        transform: translate(-50%, -38%) rotate(0deg) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(-3deg);
    }
}

@keyframes stf-card-in-2 {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) rotate(0deg) scale(0.92);
    }
    to {
        opacity: 0.9;
        transform: translate(-40%, -44%) rotate(5deg);
    }
}

@keyframes stf-card-in-3 {
    from {
        opacity: 0;
        transform: translate(-50%, -42%) rotate(0deg) scale(0.92);
    }
    to {
        opacity: 0.75;
        transform: translate(-61%, -58%) rotate(-10deg);
    }
}

.stf-pcard-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.stf-pcard-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--stf-slate);
    color: rgba(247, 245, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stf-pcard-avatar-gold {
    background: var(--stf-navy);
    color: var(--stf-gold);
    border: 2px solid var(--stf-gold);
}

.stf-pcard-id {
    flex-grow: 1;
    min-width: 0;
}

.stf-pcard-namebar {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #dde3e9, #eef1f4);
    margin-bottom: 0.45rem;
}

.stf-pcard-role {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--stf-navy);
    display: block;
    line-height: 1.2;
}

.stf-pcard-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.stf-pcard-chips span {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--stf-navy);
    background: #f1f4f6;
    border: 1px solid #dbe3e8;
    border-radius: 6px;
    padding: 0.24rem 0.55rem;
}

.stf-pcard-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: #5a6572;
}

.stf-pcard-meta i {
    color: var(--stf-gold);
    margin-right: 0.25rem;
}

/* "Pre-Screened" stamp on the top card */
.stf-stamp {
    position: absolute;
    top: -16px;
    right: -14px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--stf-gold);
    color: var(--stf-deep);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 2px solid #f3e4b6;
    box-shadow: 0 8px 22px rgba(200, 169, 81, 0.55);
    opacity: 0;
    transform: scale(2.2) rotate(14deg);
    animation: stf-stamp-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 1.05s forwards;
}

.stf-stamp i {
    font-size: 1rem;
}

@keyframes stf-stamp-in {
    0% {
        opacity: 0;
        transform: scale(2.2) rotate(14deg);
    }
    60% {
        opacity: 1;
        transform: scale(0.94) rotate(-7deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(-5deg);
    }
}

/* ---- Scroll reveal (single restrained effect) ---- */
.stf-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.stf-reveal.stf-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .stf-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .stf-pcard,
    .stf-stamp {
        animation: none !important;
        transition: none !important;
    }
    /* Static final positions for the card stack + stamp */
    .stf-pcard-1 {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(-3deg);
    }
    .stf-pcard-2 {
        opacity: 0.9;
        transform: translate(-40%, -44%) rotate(5deg);
    }
    .stf-pcard-3 {
        opacity: 0.75;
        transform: translate(-61%, -58%) rotate(-10deg);
    }
    .stf-stamp {
        opacity: 1;
        transform: scale(1) rotate(-5deg);
    }
}

/* ---- Section headings ---- */
.stf-section h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    margin-bottom: 0.75rem;
}

/* ---- How it works ---- */
.stf-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.stf-steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--stf-gold),
        var(--stf-slate),
        var(--stf-gold)
    );
    opacity: 0.4;
    z-index: 0;
}

.stf-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.5rem;
}

.stf-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--stf-navy);
    color: var(--stf-gold);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    border: 2px solid var(--stf-gold);
    box-shadow: 0 4px 14px rgba(22, 34, 46, 0.18);
}

.stf-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.stf-step p {
    font-size: 0.94rem;
    color: #5a6572;
    margin: 0;
}

/* ---- Cards (role categories + why) ---- */
.stf-card {
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(13, 22, 32, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(13, 22, 32, 0.32);
}

.stf-role-card {
    background-color: var(--stf-slate);
    color: var(--stf-cream);
    border: 1px solid rgba(200, 169, 81, 0.18);
}

.stf-role-card:hover {
    border-color: var(--stf-gold);
}

.stf-role-card .stf-card-icon {
    color: var(--stf-gold);
    margin-bottom: 1rem;
}

.stf-role-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.stf-role-card p {
    color: rgba(247, 245, 240, 0.78);
    font-size: 0.95rem;
    margin: 0;
}

.stf-why-card {
    background-color: #ffffff;
    border: 1px solid rgba(58, 74, 92, 0.14);
    box-shadow: 0 6px 18px rgba(22, 34, 46, 0.08);
}

.stf-why-card:hover {
    box-shadow: 0 14px 30px rgba(22, 34, 46, 0.14);
}

.stf-why-card .stf-card-icon {
    color: var(--stf-gold);
    background: rgba(200, 169, 81, 0.12);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stf-why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.stf-why-card p {
    font-size: 0.92rem;
    color: #5a6572;
    margin: 0;
}

/* ---- Browse talent (quiet section) ---- */
.stf-browse {
    background-color: #ecefe9;
    background: linear-gradient(180deg, #f0f1ec 0%, #e8ebe7 100%);
}

/* ---- Pricing teaser ---- */
.stf-pricing p {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.25rem, 2.6vw, 1.8rem);
    line-height: 1.45;
    max-width: 46rem;
    margin: 0 auto;
    color: var(--stf-cream);
}

.stf-pricing .stf-gold-text {
    color: var(--stf-gold);
}

/* ---- Guarantee callout ---- */
.stf-guarantee-card {
    background: linear-gradient(135deg, #f3e8c9 0%, #ecdcae 100%);
    border: 1px solid var(--stf-gold);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
    color: var(--stf-deep);
    box-shadow: 0 14px 36px rgba(200, 169, 81, 0.28);
}

.stf-guarantee-card h2 {
    margin-bottom: 1rem;
}

.stf-guarantee-card p {
    font-size: 1.05rem;
    margin: 0;
}

/* ---- Contact form ---- */
.stf-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 12px 34px rgba(22, 34, 46, 0.12);
    border: 1px solid rgba(58, 74, 92, 0.12);
}

.stf-form-wrap label {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
    display: block;
}

.stf-form-wrap .form-control,
.stf-form-wrap .form-select {
    border: 1.5px solid rgba(58, 74, 92, 0.3);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-family: "Inter", sans-serif;
}

.stf-form-wrap .form-control:focus,
.stf-form-wrap .form-select:focus {
    border-color: var(--stf-gold);
    box-shadow: 0 0 0 0.2rem rgba(200, 169, 81, 0.25);
}

.stf-success {
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid var(--stf-gold);
    border-radius: 18px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 12px 34px rgba(200, 169, 81, 0.25);
}

.stf-success .stf-check {
    color: var(--stf-gold);
    margin-bottom: 1rem;
}

/* Honeypot — hidden from humans, present for bots */
.stf-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- Footer CTA ---- */
.stf-footer-cta {
    text-align: center;
    padding: 4.5rem 0;
}

.stf-footer-cta h2 {
    margin-bottom: 1.6rem;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .stf-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
    .stf-steps::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .stf-section {
        padding: 3.5rem 0;
    }
    .stf-hero {
        padding: 4.5rem 0 4rem;
    }
    .stf-card-stack {
        min-height: 300px;
        max-width: 340px;
    }
    .stf-pcard {
        width: min(300px, 88%);
    }
    .stf-stamp {
        right: -6px;
    }
    .stf-steps {
        grid-template-columns: 1fr;
    }
    .stf-form-wrap,
    .stf-guarantee-card {
        padding: 1.8rem 1.4rem;
    }
}
