/* ==========================================================================
   Solutions — Workforce Productivity page-specific styles
   Uses tokens from css/brand-v1.6.css. Master-brand / cross-platform page
   (lives under Solutions in nav), so the page accent stays Navy + Teal.
   This solution is Prime-only (per solutions.html's platform tag and the
   real HR/Attendance/Leave/Payroll/Performance modules, which only exist
   in Prime) — so unlike solutions-digital-transformation.html's two-card
   Prime/Pulse split, this page uses a single Indigo-accented Prime
   highlight card, matching the convention that Indigo/Coral only appear
   on platform-specific elements, never as the page's own accent.
   ========================================================================== */

/* ---- Hero ---- */

/* ---- Hero visual: unified employee record (2026-08-17, Track B Cluster A;
   frame+fill fix 2026-08-17) — ONE record with connected data chips
   (HR/Attendance/Leave/Payroll/Performance), a literal read of "employee
   data lives in one place, not five." Deliberately a single-record card,
   not a roster/list — keeps this distinct from prime-hr.html's
   directory-ROW mockup (many employees), which stays correct and
   untouched as the original for that page.

   Frame+fill fix: this page already had a genuine border, but at 74%
   width with no height constraint it left visible margin instead of
   matching the site's full-bleed frame convention (see
   it-consulting.css's comment for the full writeup) — changed to inset:0
   and increased internal spacing/sizing so the record card itself IS the
   frame, same as every other Cluster A page after the fix. ---- */

.wphv-fallback {
    position: absolute;
    inset: 0;
}

.wphv-record {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
}

.wphv-record-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.wphv-record-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent, var(--da-teal-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--da-white);
}

.wphv-record-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wphv-record-line {
    height: 8px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--da-white) 22%, transparent);
    width: 60%;
}

.wphv-record-line--name {
    height: 10px;
    width: 85%;
    background: color-mix(in srgb, var(--da-white) 35%, transparent);
}

.wphv-record-chips {
    display: flex;
    gap: 0.6rem;
}

.wphv-chip {
    flex: 1;
    height: 56px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--da-white) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent, var(--da-teal-400));
}

/* ---- Shared section label / title pattern ---- */

/* ---- The Challenge (intro) ---- */

.wp-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Before / After visual (sits inside The Challenge section) ---- */

/* ---- What Changes: 4-up feature cards ---- */

.wp-changes {
    padding: 60px 0;
    background: var(--da-gray-100);
}

.wp-changes-text {
    font-size: 1.05rem;
    color: var(--da-gray-500);
    line-height: 1.7;
    width: 100%;
    margin-bottom: 2.5rem;
}

.wp-change-text {
    font-size: 0.92rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Built on Prime: single highlight card, Indigo accent ---- */

.wp-platform {
    padding: 60px 0;
    background: var(--da-white);
}

.wp-platform-card-text {
    font-size: 1rem;
    color: var(--da-gray-500);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* ---- Outcomes: chip row ---- */

.wp-outcomes {
    padding: 20px 0 70px;
    background: var(--da-white);
}

/* ---- Explore Other Solutions ---- */

.wp-explore {
    padding: 20px 0 80px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.wp-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.wp-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {
    .wp-hero {
        padding: 130px 0 60px;
    }

    .wp-hero-title {
        font-size: 2.1rem;
    }

    .wp-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .wp-section-title {
        font-size: 1.65rem;
    }
}

@media (max-width: 575.98px) {
    .wp-hero-title {
        font-size: 1.75rem;
    }

    .wp-section-title {
        font-size: 1.5rem;
    }

    .wp-cta-title {
        font-size: 1.4rem;
    }

    .wp-baf {
        flex-direction: column;
    }

    .wp-baf-arrow {
        transform: rotate(90deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wp-change-card,
    .wp-platform-card,
    .wp-explore-card,
    .wp-cta-actions a {
        transition: none;
    }

    .wp-change-card:hover,
    .wp-platform-card:hover,
    .wp-explore-card:hover,
    .wp-cta-actions a:hover {
        transform: none;
    }
}
