/* =========================================================
   Workplace Management page (solutions/workplace-management-software.html)
   Every rule is scoped to .workplace-page so it never touches the shared
   navbar (index.css) or footer (footer.css), and wins over the generic
   .hero / .cards rules in index.css and responsive.css.
   ========================================================= */
.workplace-page * {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

.workplace-page {
    margin: 0;
    font-family: Poppins, sans-serif;
    color: #10253c;
    background: #fff
}

.workplace-page a {
    text-decoration: none;
    color: inherit
}

.workplace-page .wrap {
    width: min(1180px, calc(100% - 44px));
    margin: auto
}

.workplace-page section {
    padding: 96px 0
}

.workplace-page .hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #061a2d
}

.workplace-page .heroimg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.workplace-page .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 20, 36, .96), rgba(3, 20, 36, .77) 48%, rgba(3, 20, 36, .14))
}

.workplace-page .hero-copy {
    position: relative;
    color: #fff;
    padding: 110px 0
}

.workplace-page .hero-copy>* {
    max-width: 760px
}

.workplace-page .eyebrow,
.workplace-page .section-tag {
    color: #fca918;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px
}

.workplace-page .hero h1 {
    font-size: 60px;
    line-height: 1.07;
    letter-spacing: -2.2px;
    margin: 16px 0 22px
}

.workplace-page .hero h1 span {
    color: #fca918
}

.workplace-page .hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #dce8f3
}

.workplace-page .buttons,
.workplace-page .inline-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 28px
}

.workplace-page .btn {
    padding: 15px 23px;
    border-radius: 8px;
    font-weight: 700
}

.workplace-page .gold {
    background: #fca918;
    color: #092844
}

.workplace-page .outline {
    border: 1px solid #9eb4c8;
    color: #fff
}

.workplace-page .micro {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 48px
}

.workplace-page .micro span {
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(7, 75, 136, .3);
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 11px
}

.workplace-page .twocol,
.workplace-page .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.workplace-page .twocol h2,
.workplace-page .center h2,
.workplace-page .grid h2 {
    font-size: 40px;
    line-height: 1.2;
    margin: 12px 0
}

.workplace-page .twocol p,
.workplace-page .center p,
.workplace-page .grid p {
    color: #617184;
    line-height: 1.8
}

.workplace-page .problems {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 46px
}

.workplace-page .problems article {
    border-top: 3px solid #fca918;
    padding: 23px;
    background: #f5f8fb
}

.workplace-page .problems b {
    color: #074b88
}

.workplace-page .problems h3 {
    font-size: 17px
}

.workplace-page .problems p {
    font-size: 13px;
    color: #657587;
    line-height: 1.7
}

.workplace-page .center {
    text-align: center;
    max-width: 800px;
    margin: auto
}

.workplace-page .beforeafter {
    background: #f6f8fb
}

.workplace-page .flow {
    display: grid;
    grid-template-columns: 1fr auto 1.15fr auto 1fr;
    gap: 15px;
    align-items: stretch;
    margin-top: 48px
}

.workplace-page .flowbox {
    border-radius: 15px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.workplace-page .flowbox small {
    font-weight: 800;
    color: #074b88
}

.workplace-page .flowbox b {
    font-size: 20px
}

.workplace-page .flowbox span {
    font-size: 12px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 6px
}

.workplace-page .flowbox.muted,
.workplace-page .flowbox.result {
    background: #e9eff4
}

.workplace-page .flowbox.brand {
    background: #074b88;
    color: #fff
}

.workplace-page .flowbox.brand small {
    color: #fca918
}

.workplace-page .flowbox.brand p {
    font-size: 13px;
    color: #d8e8f5;
    line-height: 1.7
}

.workplace-page .arrow {
    display: flex;
    align-items: center;
    font-size: 28px;
    color: #fca918
}

.workplace-page .solutions {
    background: #071f37
}

.workplace-page .light h2 {
    color: #fff
}

.workplace-page .light p {
    color: #b8c9d8
}

.workplace-page .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 48px
}

.workplace-page .cards a {
    min-height: 250px;
    padding: 27px;
    border: 1px solid #294760;
    border-radius: 14px;
    background: #0b2a48;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: .25s
}

.workplace-page .cards a:hover {
    transform: translateY(-5px);
    border-color: #fca918
}

.workplace-page .cards b {
    color: #fca918;
    font-size: 12px
}

.workplace-page .cards h3 {
    font-size: 20px;
    margin-top: 18px
}

.workplace-page .cards p {
    font-size: 13px;
    line-height: 1.7;
    color: #b9cad9
}

.workplace-page .cards i {
    font-style: normal;
    color: #fca918;
    font-size: 12px;
    font-weight: 700;
    margin-top: auto
}

.workplace-page .story img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(7, 75, 136, .13)
}

.workplace-page .grid ul {
    list-style: none;
    padding: 0
}

.workplace-page .grid li {
    padding: 10px 0;
    border-bottom: 1px solid #e1e8ee
}

.workplace-page .grid li:before {
    content: '✓';
    font-weight: 800;
    color: #fca918;
    margin-right: 10px
}

.workplace-page .inline-buttons a,
.workplace-page .textlink {
    color: #074b88;
    font-size: 13px;
    font-weight: 700
}

.workplace-page .soft {
    background: #f6f8fb
}

.workplace-page .dark {
    background: #071f37;
    color: #fff
}

.workplace-page .dark .grid p {
    color: #b8cad9
}

.workplace-page .dark .grid li {
    border-color: #28445e
}

.workplace-page .yellow {
    color: #fca918
}

.workplace-page .integration {
    text-align: center
}

.workplace-page .integration-flow {
    margin: 42px auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.workplace-page .integration-flow span,
.workplace-page .integration-flow strong {
    padding: 16px 18px;
    border-radius: 9px;
    background: #f0f5f8;
    font-size: 13px
}

.workplace-page .integration-flow strong {
    background: #074b88;
    color: #fff
}

.workplace-page .integration-flow b {
    color: #fca918
}

.workplace-page .example {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 22px;
    border-left: 4px solid #fca918;
    text-align: left;
    background: #f7f9fb
}

.workplace-page .example p {
    font-size: 13px;
    color: #607184;
    line-height: 1.7
}

.workplace-page .proof {
    background: #f7f9fb
}

.workplace-page .proofgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 45px
}

.workplace-page .proofgrid article {
    background: #fff;
    padding: 27px;
    border: 1px solid #dce5ec;
    border-radius: 14px
}

.workplace-page .proofgrid h3 {
    margin: 0
}

.workplace-page .proofgrid small {
    color: #074b88;
    font-weight: 700
}

.workplace-page .proofgrid dt {
    font-size: 10px;
    font-weight: 800;
    color: #074b88;
    text-transform: uppercase;
    margin-top: 16px
}

.workplace-page .proofgrid dd {
    font-size: 12px;
    line-height: 1.7;
    color: #5d6f80;
    margin: 4px 0
}

.workplace-page .note {
    font-size: 10px;
    color: #8996a3;
    margin-top: 15px
}

.workplace-page .chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 35px
}

.workplace-page .chips span {
    padding: 12px 16px;
    border: 1px solid #dbe4eb;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600
}

.workplace-page .faqs {
    max-width: 880px;
    margin: 40px auto
}

.workplace-page .faqs details {
    border-bottom: 1px solid #dfe6ec;
    padding: 19px 4px
}

.workplace-page .faqs summary {
    font-weight: 700;
    cursor: pointer
}

.workplace-page .faqs p {
    font-size: 13px;
    line-height: 1.8;
    color: #607184
}

.workplace-page .cta {
    text-align: center;
    color: #fff;
    background: linear-gradient(120deg, #052b50, #074b88)
}

.workplace-page .cta h2 {
    font-size: 43px;
    max-width: 800px;
    margin: 13px auto
}

.workplace-page .cta p {
    color: #d7e7f4
}

.workplace-page .cta .btn {
    display: inline-block;
    margin-top: 18px
}

.workplace-page .reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: .6s
}

.workplace-page .reveal.show {
    opacity: 1;
    transform: none
}

@media(max-width:900px) {
    .workplace-page .hero h1 {
        font-size: 46px
    }

    .workplace-page .twocol,
    .workplace-page .grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .workplace-page .problems,
    .workplace-page .cards,
    .workplace-page .proofgrid {
        grid-template-columns: repeat(2, 1fr)
    }

    .workplace-page .flow {
        grid-template-columns: 1fr
    }

    .workplace-page .arrow {
        justify-content: center;
        transform: rotate(90deg)
    }

    .workplace-page .reverse>div {
        order: 2
    }

    .workplace-page .reverse>img {
        order: 1
    }
}

@media(max-width:600px) {
    .workplace-page section {
        padding: 68px 0
    }

    .workplace-page .wrap {
        width: calc(100% - 28px)
    }

    .workplace-page .hero {
        min-height: 700px
    }

    .workplace-page .hero h1 {
        font-size: 37px
    }

    .workplace-page .hero p {
        font-size: 15px
    }

    .workplace-page .twocol h2,
    .workplace-page .center h2,
    .workplace-page .grid h2,
    .workplace-page .cta h2 {
        font-size: 30px
    }

    .workplace-page .problems,
    .workplace-page .cards,
    .workplace-page .proofgrid {
        grid-template-columns: 1fr
    }

    .workplace-page .story img {
        height: 300px
    }
}

/* ---------- Site integration (shared header + index.css) ---------- */
.workplace-page {
    display: block;
    font-family: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif
}

html {
    scroll-padding-top: 96px
}

/* index.css gives .hero a column flex layout, background photo and 88vh height */
.workplace-page .hero {
    flex-direction: row;
    justify-content: flex-start;
    padding: 80px 0 0
}

.workplace-page .hero-copy {
    padding: 70px 0 90px
}

.workplace-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s, background-color .2s
}

.workplace-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18)
}

.workplace-page .outline:hover {
    background: rgba(255, 255, 255, .1)
}

/* "Explore" links under the story sections become real buttons */
.workplace-page .inline-buttons a,
.workplace-page .textlink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1.5px solid #074b88;
    border-radius: 10px;
    transition: background-color .2s, color .2s
}

.workplace-page .textlink {
    margin-top: 22px
}

.workplace-page .inline-buttons a:hover,
.workplace-page .textlink:hover {
    background: #074b88;
    color: #fff
}

.workplace-page .textlink.yellow {
    border-color: #fca918
}

.workplace-page .textlink.yellow:hover {
    background: #fca918;
    color: #071f37
}

.workplace-page .dark h2 {
    color: #fff
}

.workplace-page .faqs summary {
    list-style-position: outside
}

@media (max-width: 900px) {
    .workplace-page .hero {
        min-height: 0
    }

    .workplace-page .twocol h2,
    .workplace-page .center h2,
    .workplace-page .grid h2 {
        font-size: 34px
    }

    .workplace-page .story img {
        height: 380px
    }
}

@media (max-width: 600px) {
    .workplace-page .hero-copy {
        padding: 48px 0 60px
    }

    .workplace-page .buttons .btn,
    .workplace-page .inline-buttons a,
    .workplace-page .textlink {
        width: 100%;
        justify-content: center
    }

    .workplace-page .micro {
        margin-top: 32px
    }

    .workplace-page .flowbox {
        padding: 22px
    }

    .workplace-page .cards a {
        min-height: 0;
        gap: 4px
    }

    .workplace-page .cards i {
        margin-top: 14px
    }

    .workplace-page .integration-flow {
        flex-direction: column
    }

    .workplace-page .integration-flow b {
        transform: rotate(90deg)
    }

    .workplace-page .integration-flow span,
    .workplace-page .integration-flow strong {
        width: 100%
    }

    .workplace-page .chips span {
        flex: 1 1 calc(50% - 10px);
        text-align: center
    }

    .workplace-page .story img {
        height: 260px
    }
}
