﻿/* =========================================================
   WILLSMARG INDUSTRIES — LEVEL 5 PREMIUM PAGE
   File: wwwroot/css/Industries.css
   Purpose: enterprise industry software page, signature hero, responsive
========================================================= */

:root {
    --wsm-industries-bg: #f7f9fc;
    --wsm-industries-surface: #ffffff;
    --wsm-industries-ink: #0b1f3a;
    --wsm-industries-ink-2: #20324d;
    --wsm-industries-muted: #64748b;
    --wsm-industries-line: #dfe7ef;
    --wsm-industries-teal: #00a8c8;
    --wsm-industries-teal-2: #e5fbff;
    --wsm-industries-teal-dark: #007d95;
    --wsm-industries-blue: #1d4ed8;
    --wsm-industries-shadow: 0 16px 42px rgba(11,31,58,.075);
    --wsm-industries-shadow-lg: 0 28px 72px rgba(11,31,58,.13);
    --wsm-industries-radius: 24px;
}

.wsm-industries-page {
    color: var(--wsm-industries-ink);
    background: var(--wsm-industries-bg);
    overflow-x: hidden;
}

.wsm-industries-shell {
    width: 100%;
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
    margin: 0 auto;
}

.wsm-industries-section {
    position: relative;
    padding: clamp(64px, 5vw, 96px) 0;
    border-bottom: 1px solid var(--wsm-industries-line);
}

.wsm-industries-head h2,
.wsm-industries-split-head h2,
.wsm-industries-global-card h2,
.wsm-industries-cta-card h2 {
    margin: 22px 0 14px;
    color: var(--wsm-industries-ink);
    font-size: clamp(2.25rem, 3.15vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -.055em;
    font-weight: 950;
}

.wsm-industries-head p,
.wsm-industries-split-head p,
.wsm-industry-card p,
.wsm-industries-flow-card p,
.wsm-industries-fit-card p,
.wsm-industries-capability-grid p,
.wsm-industries-global-card p,
.wsm-industries-cta-card p {
    color: var(--wsm-industries-muted);
    font-size: clamp(.95rem, .9vw, 1.04rem);
    line-height: 1.72;
    font-weight: 620;
}

.wsm-industries-head-center {
    max-width: 1120px;
    margin: 0 auto clamp(34px, 4vw, 54px);
    text-align: center;
}

    .wsm-industries-head-center p {
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
    }

.wsm-industries-split-head {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
    gap: clamp(28px, 5vw, 86px);
    align-items: end;
    margin-bottom: 34px;
}

    .wsm-industries-split-head p {
        margin: 0 0 8px;
        max-width: 760px;
    }

/* =========================================================
   HERO
========================================================= */

.wsm-industries-hero {
    position: relative;
    padding: clamp(58px, 5vw, 92px) 0 clamp(60px, 5vw, 96px);
    background: linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px), radial-gradient(circle at 8% 12%, rgba(0,168,200,.11), transparent 30%), radial-gradient(circle at 90% 18%, rgba(29,78,216,.07), transparent 28%), linear-gradient(135deg, #fbfdff 0%, #f4f8fb 52%, #eef5f8 100%);
    background-size: 46px 46px, 46px 46px, auto, auto, auto;
    border-bottom: 1px solid var(--wsm-industries-line);
    overflow: hidden;
}

    .wsm-industries-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 0 48%, rgba(0,168,200,.075) 48% 49%, transparent 49% 100%);
        pointer-events: none;
    }

.wsm-industries-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(560px, .88fr);
    gap: clamp(42px, 5vw, 92px);
    align-items: center;
}

.wsm-industries-hero-copy h1 {
    max-width: 1120px;
    margin: 26px 0 22px;
    color: var(--wsm-industries-ink);
    font-size: clamp(3rem, 5vw, 6.15rem);
    line-height: .99;
    letter-spacing: -.072em;
    font-weight: 950;
}

.wsm-industries-hero-copy p {
    max-width: 1040px;
    color: var(--wsm-industries-muted);
    font-size: clamp(1rem, 1.05vw, 1.15rem);
    line-height: 1.82;
    font-weight: 620;
}

.wsm-industries-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.wsm-industries-proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

    .wsm-industries-proof-strip span {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        border-radius: 999px;
        color: var(--wsm-industries-ink);
        background: rgba(255,255,255,.88);
        border: 1px solid var(--wsm-industries-line);
        box-shadow: 0 8px 22px rgba(11,31,58,.045);
        font-size: .86rem;
        font-weight: 900;
    }

    .wsm-industries-proof-strip i {
        color: var(--wsm-industries-teal-dark);
    }

/* =========================================================
   SIGNATURE HERO BOARD LEVEL 5
========================================================= */

.wsm-industries-system-card {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    border: 1px solid var(--wsm-industries-line);
    border-radius: 30px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--wsm-industries-shadow);
    overflow: hidden;
    transform: translateZ(0);
    animation: wsmIndustriesBoardIn .85s cubic-bezier(.22,1,.36,1) both;
}

@keyframes wsmIndustriesBoardIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.975);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.wsm-industries-system-card::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    animation: wsmIndustriesBoardSweep 1.1s ease .45s both;
    pointer-events: none;
}

@keyframes wsmIndustriesBoardSweep {
    to {
        transform: translateX(120%);
    }
}

.wsm-industries-system-head {
    min-height: 60px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--wsm-industries-line);
    background: #fbfdff;
}

    .wsm-industries-system-head span,
    .wsm-industries-system-head strong {
        text-transform: uppercase;
        letter-spacing: .11em;
        font-size: .74rem;
        font-weight: 950;
        color: #8a98aa;
    }

    .wsm-industries-system-head strong {
        color: var(--wsm-industries-teal-dark);
    }

.wsm-industries-system-body {
    position: relative;
    min-height: 485px;
    background: linear-gradient(rgba(11,31,58,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.045) 1px, transparent 1px), #fff;
    background-size: 34px 34px;
    isolation: isolate;
}

    .wsm-industries-system-body::before {
        content: "";
        position: absolute;
        inset: 12%;
        border: 1px dashed rgba(0,168,200,.30);
        border-radius: 34px;
        z-index: 0;
    }

.wsm-industries-line-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wsm-industries-line {
    fill: none;
    stroke: rgba(0,168,200,.45);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 640;
    stroke-dashoffset: 640;
    animation: wsmIndustriesLineDraw 1.25s cubic-bezier(.22,1,.36,1) forwards;
}

.line-a {
    animation-delay: .55s;
}

.line-b {
    animation-delay: .72s;
}

.line-c {
    animation-delay: .88s;
}

.line-d {
    animation-delay: 1.04s;
}

@keyframes wsmIndustriesLineDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.wsm-industries-core {
    position: absolute;
    width: 245px;
    min-height: 152px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 24px;
    border-radius: 20px;
    color: #fff;
    background: var(--wsm-industries-ink);
    box-shadow: 0 22px 56px rgba(11,31,58,.24);
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 5;
    animation: wsmIndustriesCoreIn .82s cubic-bezier(.22,1,.36,1) .35s both, wsmIndustriesCoreFloat 6s ease-in-out 1.4s infinite;
}

@keyframes wsmIndustriesCoreIn {
    from {
        opacity: 0;
        transform: translate(-50%, -44%) scale(.92);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
}

@keyframes wsmIndustriesCoreFloat {
    0%, 100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 6px));
    }
}

.wsm-industries-core small {
    color: #9ceeff;
    font-weight: 850;
    letter-spacing: .12em;
}

.wsm-industries-core strong {
    font-size: 1.24rem;
    line-height: 1.22;
    font-weight: 950;
}

.wsm-industries-core span {
    color: rgba(255,255,255,.74);
    font-size: .76rem;
    font-weight: 800;
}

.wsm-industries-node {
    position: absolute;
    width: 250px;
    min-height: 124px;
    padding: 24px 22px 20px;
    border-radius: 18px;
    border: 1px solid var(--wsm-industries-line);
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 36px rgba(11,31,58,.09);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
    overflow: hidden;
    z-index: 4;
    opacity: 0;
    animation: wsmIndustriesNodeIn .75s cubic-bezier(.22,1,.36,1) forwards;
}

    .wsm-industries-node:hover {
        transform: translateY(-5px);
        border-color: rgba(0,168,200,.32);
        box-shadow: 0 22px 50px rgba(11,31,58,.12);
    }

    .wsm-industries-node i {
        position: absolute;
        left: 15px;
        top: 10px;
        color: rgba(0,168,200,.22);
        font-size: 2.9rem;
        line-height: 1;
        pointer-events: none;
    }

    .wsm-industries-node strong {
        position: relative;
        z-index: 1;
        display: block;
        padding-top: 28px;
        margin-bottom: 6px;
        color: var(--wsm-industries-ink);
        line-height: 1.22;
        font-weight: 950;
    }

    .wsm-industries-node span {
        position: relative;
        z-index: 1;
        display: block;
        color: var(--wsm-industries-muted);
        line-height: 1.45;
        font-size: .86rem;
        font-weight: 650;
    }

@keyframes wsmIndustriesNodeIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.wsm-industries-node.node-a {
    left: 32px;
    top: 42px;
    animation-delay: .72s;
}

.wsm-industries-node.node-b {
    right: 32px;
    top: 70px;
    animation-delay: .88s;
}

.wsm-industries-node.node-c {
    left: 42px;
    bottom: 54px;
    animation-delay: 1.04s;
}

.wsm-industries-node.node-d {
    right: 42px;
    bottom: 44px;
    animation-delay: 1.2s;
}

.wsm-industries-system-foot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--wsm-industries-line);
}

    .wsm-industries-system-foot span {
        padding: 18px;
        border-right: 1px solid var(--wsm-industries-line);
        color: var(--wsm-industries-ink);
        font-size: .84rem;
        font-weight: 950;
    }

        .wsm-industries-system-foot span:last-child {
            border-right: 0;
        }

/* =========================================================
   INDUSTRY CARDS
========================================================= */

.wsm-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.wsm-industry-card {
    position: relative;
    min-height: 310px;
    padding: 30px 28px;
    border-radius: var(--wsm-industries-radius);
    background: #fff;
    border: 1px solid var(--wsm-industries-line);
    box-shadow: 0 14px 36px rgba(11,31,58,.06);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

    .wsm-industry-card::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 3px;
        background: var(--wsm-industries-teal);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s ease;
    }

    .wsm-industry-card:hover {
        transform: translateY(-7px);
        border-color: rgba(0,168,200,.34);
        box-shadow: 0 24px 58px rgba(11,31,58,.11);
    }

        .wsm-industry-card:hover::after {
            transform: scaleX(1);
        }

    .wsm-industry-card.is-featured {
        border-color: rgba(0,168,200,.42);
        background: linear-gradient(180deg, #fff, rgba(229,251,255,.35));
        box-shadow: 0 24px 62px rgba(0,168,200,.12);
    }

.wsm-industry-icon-title {
    position: relative;
    isolation: isolate;
    min-height: 92px;
    margin-bottom: 12px;
}

    .wsm-industry-icon-title i {
        position: absolute;
        left: -2px;
        top: -10px;
        z-index: 0;
        color: rgba(0,168,200,.18);
        font-size: clamp(3.35rem, 4.2vw, 4.7rem);
        line-height: 1;
        pointer-events: none;
    }

    .wsm-industry-icon-title h3 {
        position: relative;
        z-index: 1;
        padding-top: 42px;
        margin: 0;
        color: var(--wsm-industries-ink);
        font-size: clamp(1.08rem, 1vw, 1.28rem);
        line-height: 1.25;
        letter-spacing: -.025em;
        font-weight: 950;
    }

/* =========================================================
   FLOW / CAPABILITY / FIT
========================================================= */

.wsm-industries-pattern-section {
    background: linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px), radial-gradient(circle at 88% 12%, rgba(0,168,200,.075), transparent 28%), #f7f9fc;
    background-size: 46px 46px, 46px 46px, auto, auto;
}

.wsm-industries-pattern-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

    .wsm-industries-pattern-flow::before {
        content: "";
        position: absolute;
        left: 5%;
        right: 5%;
        top: 50%;
        height: 2px;
        background: linear-gradient(90deg, rgba(0,168,200,.08), rgba(0,168,200,.50), rgba(0,168,200,.08));
        transform: translateY(-50%);
        z-index: 0;
    }

.wsm-industries-flow-card,
.wsm-industries-capability-grid article,
.wsm-industries-fit-card {
    position: relative;
    z-index: 1;
    min-height: 230px;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--wsm-industries-line);
    box-shadow: 0 14px 36px rgba(11,31,58,.06);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

    .wsm-industries-flow-card:hover,
    .wsm-industries-capability-grid article:hover,
    .wsm-industries-fit-card:hover {
        transform: translateY(-6px);
        border-color: rgba(0,168,200,.34);
        box-shadow: 0 24px 58px rgba(11,31,58,.11);
    }

    .wsm-industries-flow-card i,
    .wsm-industries-capability-grid i {
        width: 58px;
        height: 58px;
        display: grid;
        place-items: center;
        border-radius: 18px;
        color: var(--wsm-industries-teal-dark);
        background: var(--wsm-industries-teal-2);
        border: 1px solid rgba(0,168,200,.22);
        font-size: 1.35rem;
        margin-bottom: 24px;
        box-shadow: 0 14px 32px rgba(0,168,200,.12);
    }

    .wsm-industries-flow-card h3,
    .wsm-industries-capability-grid h3 {
        margin: 0 0 12px;
        color: var(--wsm-industries-ink);
        font-size: clamp(1.18rem, 1.18vw, 1.45rem);
        font-weight: 950;
        letter-spacing: -.025em;
    }

.wsm-industries-capability-grid,
.wsm-industries-fit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.wsm-industries-fit-section {
    background: #fff;
}

.wsm-industries-fit-card span {
    color: var(--wsm-industries-teal-dark);
    letter-spacing: .16em;
    font-size: .78rem;
    font-weight: 950;
}

.wsm-industries-fit-card strong {
    display: block;
    margin: 18px 0 10px;
    color: var(--wsm-industries-ink);
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 950;
}

/* =========================================================
   GLOBAL CARD + CTA
========================================================= */

.wsm-industries-global-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr) auto;
    gap: 28px;
    align-items: center;
    padding: clamp(30px, 4vw, 54px);
    border-radius: 30px;
    background: linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px), #fff;
    background-size: 34px 34px;
    border: 1px solid var(--wsm-industries-line);
    box-shadow: var(--wsm-industries-shadow);
}

    .wsm-industries-global-card h2 {
        margin-bottom: 0;
    }

    .wsm-industries-global-card p {
        margin: 0;
    }

.wsm-industries-cta-section {
    background: #f7f9fc;
}

.wsm-industries-cta-card {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 74px);
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px), #fff;
    background-size: 34px 34px;
    border: 1px solid var(--wsm-industries-line);
    box-shadow: var(--wsm-industries-shadow-lg);
}

    .wsm-industries-cta-card p {
        max-width: 860px;
        margin: 0 auto 24px;
    }

/* =========================================================
   RESPONSIVE — ALL DEVICES
========================================================= */

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .wsm-industries-hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(500px, .78fr);
        gap: clamp(44px, 4vw, 72px);
    }

    .wsm-industries-system-card {
        max-width: 760px;
        margin-right: 18px;
    }

    .wsm-industries-system-body {
        min-height: 430px;
    }

    .wsm-industries-node {
        width: 220px;
        min-height: 118px;
        padding: 20px 18px 18px;
    }

        .wsm-industries-node i {
            font-size: 2.45rem;
            left: 14px;
            top: 9px;
        }

        .wsm-industries-node strong {
            padding-top: 24px;
            font-size: .98rem;
        }

        .wsm-industries-node span {
            font-size: .80rem;
            line-height: 1.42;
        }

    .wsm-industries-core {
        width: 205px;
        min-height: 132px;
        padding: 20px;
        border-radius: 18px;
    }

        .wsm-industries-core strong {
            font-size: 1.06rem;
        }

        .wsm-industries-core span {
            font-size: .70rem;
        }

    .wsm-industries-node.node-a {
        left: 28px;
        top: 38px;
    }

    .wsm-industries-node.node-b {
        right: 28px;
        top: 58px;
    }

    .wsm-industries-node.node-c {
        left: 34px;
        bottom: 48px;
    }

    .wsm-industries-node.node-d {
        right: 34px;
        bottom: 42px;
    }

    .wsm-industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wsm-industries-pattern-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wsm-industries-capability-grid,
    .wsm-industries-fit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .wsm-industries-hero-grid,
    .wsm-industries-split-head {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .wsm-industries-system-card {
        width: 100%;
        max-width: 820px;
        margin: 30px auto 0;
        border-radius: 24px;
        overflow: hidden;
    }

    .wsm-industries-system-body {
        position: relative;
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 24px;
        align-items: stretch;
    }

        .wsm-industries-system-body::before,
        .wsm-industries-line-svg {
            display: none;
        }

    .wsm-industries-core {
        position: relative;
        inset: auto;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 440px;
        min-height: 145px;
        margin: 0 auto 10px;
        grid-column: 1 / -1;
        order: 1;
        z-index: 2;
        animation: none;
    }

    .wsm-industries-node,
    .wsm-industries-node.node-a,
    .wsm-industries-node.node-b,
    .wsm-industries-node.node-c,
    .wsm-industries-node.node-d {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        min-height: 128px;
        z-index: 1;
        opacity: 1;
        animation: none;
    }

        .wsm-industries-node.node-a {
            order: 2;
        }

        .wsm-industries-node.node-b {
            order: 3;
        }

        .wsm-industries-node.node-c {
            order: 4;
        }

        .wsm-industries-node.node-d {
            order: 5;
        }

    .wsm-industries-grid,
    .wsm-industries-pattern-flow,
    .wsm-industries-capability-grid,
    .wsm-industries-fit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .wsm-industries-pattern-flow::before {
            display: none;
        }

    .wsm-industries-global-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .wsm-industries-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .wsm-industries-hero {
        padding-top: 48px;
        padding-bottom: 60px;
    }

    .wsm-industries-hero-copy h1 {
        font-size: clamp(2.35rem, 10vw, 3.45rem);
        line-height: 1.02;
        letter-spacing: -.055em;
    }

    .wsm-industries-hero-copy p {
        font-size: 1rem;
        line-height: 1.72;
    }

    .wsm-industries-hero-actions .wsm-btn {
        width: 100%;
    }

    .wsm-industries-proof-strip span {
        width: 100%;
        justify-content: center;
    }

    .wsm-industries-system-card {
        max-width: 100%;
        margin-top: 26px;
        border-radius: 22px;
    }

    .wsm-industries-system-head {
        min-height: auto;
        padding: 16px 18px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        align-items: start;
    }

        .wsm-industries-system-head span,
        .wsm-industries-system-head strong {
            white-space: normal;
            line-height: 1.35;
        }

    .wsm-industries-system-body {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
    }

    .wsm-industries-core {
        max-width: 100%;
        min-height: 132px;
        margin: 0;
    }

    .wsm-industries-node {
        min-height: 120px;
    }

    .wsm-industries-system-foot {
        grid-template-columns: 1fr;
    }

        .wsm-industries-system-foot span {
            border-right: 0;
            border-bottom: 1px solid var(--wsm-industries-line);
        }

            .wsm-industries-system-foot span:last-child {
                border-bottom: 0;
            }

    .wsm-industries-grid,
    .wsm-industries-pattern-flow,
    .wsm-industries-capability-grid,
    .wsm-industries-fit-grid {
        grid-template-columns: 1fr;
    }

        .wsm-industry-card,
        .wsm-industries-flow-card,
        .wsm-industries-fit-card,
        .wsm-industries-capability-grid article {
            min-height: auto;
            padding: 24px 22px;
        }

    .wsm-industries-global-card,
    .wsm-industries-cta-card {
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wsm-industries-system-card,
    .wsm-industries-system-card::after,
    .wsm-industries-core,
    .wsm-industries-node,
    .wsm-industries-line {
        animation: none !important;
        transition-duration: .001ms !important;
    }

    .wsm-industries-node,
    .wsm-industries-system-card,
    .wsm-industries-core {
        opacity: 1 !important;
        filter: none !important;
    }
}

/* =========================================================
   INDUSTRIES — LEVEL 5 TIMELINE SYSTEM FINAL
   Rebuilds:
   1) Industry Delivery Pattern
   2) Industry Fit
   Premium horizontal timeline on desktop, clean stack on tablets/mobile.
========================================================= */

.wsm-industries-pattern-section,
.wsm-industries-fit-section {
    position: relative;
    overflow: hidden;
}

    .wsm-industries-pattern-section::before,
    .wsm-industries-fit-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(11,31,58,.032) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.032) 1px, transparent 1px), radial-gradient(circle at 88% 18%, rgba(0,168,200,.08), transparent 30%);
        background-size: 46px 46px, 46px 46px, auto;
        pointer-events: none;
    }

    .wsm-industries-pattern-section .wsm-industries-shell,
    .wsm-industries-fit-section .wsm-industries-shell {
        position: relative;
        z-index: 1;
    }

.wsm-industries-pattern-flow {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch;
    padding-top: 46px;
    isolation: isolate;
}

    .wsm-industries-pattern-flow::before {
        content: "";
        position: absolute;
        left: 5%;
        right: 5%;
        top: 72px;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(0,168,200,.55), transparent);
        z-index: 0;
    }

    .wsm-industries-pattern-flow::after {
        content: "";
        position: absolute;
        left: 5%;
        top: 72px;
        width: 12%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(0,168,200,.95), transparent);
        z-index: 1;
        animation: wsmIndustryTimelineScan 4.8s cubic-bezier(.22,1,.36,1) infinite;
    }

@keyframes wsmIndustryTimelineScan {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(660%);
        opacity: 0;
    }
}

.wsm-industries-flow-card {
    position: relative;
    z-index: 2;
    min-height: 270px !important;
    padding: 42px 26px 28px !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)), radial-gradient(circle at 92% 12%, rgba(0,168,200,.10), transparent 34%);
    border: 1px solid var(--wsm-industries-line) !important;
    box-shadow: 0 16px 42px rgba(11,31,58,.07) !important;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform .34s cubic-bezier(.22,1,.36,1), box-shadow .34s cubic-bezier(.22,1,.36,1), border-color .28s ease, background .28s ease !important;
}

    .wsm-industries-flow-card::before {
        content: "";
        position: absolute;
        left: 28px;
        top: -34px;
        width: 18px;
        height: 72px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(0,168,200,.0), rgba(0,168,200,.45));
        opacity: .55;
        z-index: 2;
    }

    .wsm-industries-flow-card::after {
        content: "";
        position: absolute;
        left: 22px;
        top: 16px;
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: #ffffff;
        border: 7px solid rgba(0,168,200,.20);
        box-shadow: 0 0 0 1px rgba(0,168,200,.24), 0 14px 30px rgba(0,168,200,.16);
        z-index: 3;
    }

    .wsm-industries-flow-card:hover {
        transform: translateY(-9px) !important;
        border-color: rgba(0,168,200,.42) !important;
        box-shadow: 0 26px 64px rgba(11,31,58,.12) !important;
    }

    .wsm-industries-flow-card i {
        position: absolute !important;
        left: 30px !important;
        top: 54px !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: rgba(0,168,200,.18) !important;
        font-size: clamp(4rem, 4.4vw, 5.4rem) !important;
        line-height: 1 !important;
        z-index: 0 !important;
        pointer-events: none;
    }

    .wsm-industries-flow-card h3 {
        position: relative;
        z-index: 2;
        margin: 72px 0 12px !important;
        padding: 0 !important;
        color: var(--wsm-industries-ink) !important;
        font-size: clamp(1.12rem, 1.08vw, 1.34rem) !important;
        line-height: 1.22 !important;
        letter-spacing: -.03em;
        font-weight: 950 !important;
    }

    .wsm-industries-flow-card p {
        position: relative;
        z-index: 2;
        margin: 0 !important;
        color: var(--wsm-industries-muted) !important;
        font-size: .94rem !important;
        line-height: 1.68 !important;
        font-weight: 650 !important;
    }

.wsm-industries-fit-grid {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
    padding-top: 44px;
    isolation: isolate;
}

    .wsm-industries-fit-grid::before {
        content: "";
        position: absolute;
        left: 7%;
        right: 7%;
        top: 70px;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(0,168,200,.54), transparent);
        z-index: 0;
    }

    .wsm-industries-fit-grid::after {
        content: "";
        position: absolute;
        left: 7%;
        top: 70px;
        width: 15%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(0,168,200,.95), transparent);
        z-index: 1;
        animation: wsmIndustryFitScan 4.6s cubic-bezier(.22,1,.36,1) infinite;
    }

@keyframes wsmIndustryFitScan {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(520%);
        opacity: 0;
    }
}

.wsm-industries-fit-card {
    position: relative;
    z-index: 2;
    min-height: 250px !important;
    padding: 34px 28px 28px !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)), radial-gradient(circle at 92% 12%, rgba(0,168,200,.10), transparent 34%);
    border: 1px solid var(--wsm-industries-line) !important;
    box-shadow: 0 16px 42px rgba(11,31,58,.07) !important;
    overflow: hidden;
    transition: transform .34s cubic-bezier(.22,1,.36,1), box-shadow .34s cubic-bezier(.22,1,.36,1), border-color .28s ease !important;
}

    .wsm-industries-fit-card:hover {
        transform: translateY(-9px) !important;
        border-color: rgba(0,168,200,.42) !important;
        box-shadow: 0 26px 64px rgba(11,31,58,.12) !important;
    }

    .wsm-industries-fit-card span {
        position: relative;
        z-index: 3;
        width: 52px;
        height: 52px;
        display: inline-grid;
        place-items: center;
        margin-bottom: 28px;
        border-radius: 16px;
        background: var(--wsm-industries-teal-2);
        border: 1px solid rgba(0,168,200,.28);
        color: var(--wsm-industries-teal-dark);
        box-shadow: 0 14px 34px rgba(0,168,200,.14), inset 0 1px 0 rgba(255,255,255,.86);
        font-size: .76rem;
        letter-spacing: .12em;
        font-weight: 950;
    }

        .wsm-industries-fit-card span::before {
            content: "";
            position: absolute;
            left: 50%;
            top: -44px;
            width: 2px;
            height: 44px;
            transform: translateX(-50%);
            background: linear-gradient(180deg, transparent, rgba(0,168,200,.45));
        }

    .wsm-industries-fit-card strong {
        position: relative;
        z-index: 2;
        display: block;
        margin: 0 0 12px !important;
        color: var(--wsm-industries-ink) !important;
        font-size: clamp(1.12rem, 1.05vw, 1.32rem) !important;
        line-height: 1.25 !important;
        letter-spacing: -.025em;
        font-weight: 950 !important;
    }

    .wsm-industries-fit-card p {
        position: relative;
        z-index: 2;
        margin: 0 !important;
        color: var(--wsm-industries-muted) !important;
        font-size: .94rem !important;
        line-height: 1.68 !important;
        font-weight: 650 !important;
    }

.wsm-industries-flow-card,
.wsm-industries-fit-card {
    animation: wsmIndustryTimelineCardIn .72s cubic-bezier(.22,1,.36,1) both;
}

    .wsm-industries-flow-card:nth-child(1),
    .wsm-industries-fit-card:nth-child(1) {
        animation-delay: .04s;
    }

    .wsm-industries-flow-card:nth-child(2),
    .wsm-industries-fit-card:nth-child(2) {
        animation-delay: .12s;
    }

    .wsm-industries-flow-card:nth-child(3),
    .wsm-industries-fit-card:nth-child(3) {
        animation-delay: .20s;
    }

    .wsm-industries-flow-card:nth-child(4),
    .wsm-industries-fit-card:nth-child(4) {
        animation-delay: .28s;
    }

    .wsm-industries-flow-card:nth-child(5) {
        animation-delay: .36s;
    }

@keyframes wsmIndustryTimelineCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.985);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .wsm-industries-pattern-flow {
        grid-template-columns: repeat(5, minmax(190px, 1fr)) !important;
        gap: 16px !important;
    }

    .wsm-industries-flow-card {
        min-height: 285px !important;
        padding: 40px 22px 26px !important;
    }

        .wsm-industries-flow-card i {
            font-size: 4.3rem !important;
        }

    .wsm-industries-fit-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .wsm-industries-fit-card {
        min-height: 260px !important;
        padding: 32px 24px 26px !important;
    }
}

@media (max-width: 1199.98px) {
    .wsm-industries-pattern-flow,
    .wsm-industries-fit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        padding-top: 0 !important;
    }

        .wsm-industries-pattern-flow::before,
        .wsm-industries-pattern-flow::after,
        .wsm-industries-fit-grid::before,
        .wsm-industries-fit-grid::after,
        .wsm-industries-flow-card::before,
        .wsm-industries-flow-card::after,
        .wsm-industries-fit-card span::before {
            display: none !important;
        }

    .wsm-industries-flow-card,
    .wsm-industries-fit-card {
        min-height: auto !important;
        padding: 28px 24px !important;
    }

        .wsm-industries-flow-card i {
            left: 24px !important;
            top: 22px !important;
            font-size: 4.2rem !important;
        }

        .wsm-industries-flow-card h3 {
            margin-top: 62px !important;
        }
}

@media (max-width: 767.98px) {
    .wsm-industries-pattern-flow,
    .wsm-industries-fit-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .wsm-industries-flow-card,
    .wsm-industries-fit-card {
        padding: 24px 22px !important;
        border-radius: 20px !important;
    }

        .wsm-industries-flow-card i {
            left: 22px !important;
            top: 20px !important;
            font-size: 3.6rem !important;
        }

        .wsm-industries-flow-card h3 {
            margin-top: 54px !important;
            font-size: 1.1rem !important;
        }

        .wsm-industries-fit-card span {
            width: 46px;
            height: 46px;
            margin-bottom: 20px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .wsm-industries-pattern-flow::after,
    .wsm-industries-fit-grid::after,
    .wsm-industries-flow-card,
    .wsm-industries-fit-card {
        animation: none !important;
    }
}


/* =========================================================
   INDUSTRIES — FINAL ICON BEHIND TEXT FIX
   Fixes:
   1) Industry Fit numbers replaced with premium icons
   2) Cross-Industry Capability icons behind headings
========================================================= */

/* Industry Fit: hide numbers and show icons instead */
.wsm-industries-fit-card span {
    font-size: 0 !important;
}

    .wsm-industries-fit-card span::after {
        font-family: "bootstrap-icons";
        font-size: 1.25rem;
        color: var(--wsm-industries-teal-dark);
        line-height: 1;
    }

.wsm-industries-fit-card:nth-child(1) span::after {
    content: "\F2DD"; /* workflow */
}

.wsm-industries-fit-card:nth-child(2) span::after {
    content: "\F4F2"; /* plug/integration */
}

.wsm-industries-fit-card:nth-child(3) span::after {
    content: "\F17E"; /* chart */
}

.wsm-industries-fit-card:nth-child(4) span::after {
    content: "\F116"; /* repeat/evolution */
}

/* Cross-Industry Capability: icon behind heading */
.wsm-industries-capability-grid article {
    position: relative !important;
    overflow: hidden !important;
    padding: 34px 28px 30px !important;
}

.wsm-industries-capability-grid i {
    position: absolute !important;
    left: 22px !important;
    top: 20px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 4.2rem !important;
    color: rgba(0,168,200,.18) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.wsm-industries-capability-grid h3 {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 58px !important;
}

.wsm-industries-capability-grid p {
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile polish */
@media (max-width: 767.98px) {
    .wsm-industries-capability-grid article {
        padding: 28px 22px 24px !important;
    }

    .wsm-industries-capability-grid i {
        font-size: 3.6rem !important;
        left: 20px !important;
        top: 18px !important;
    }

    .wsm-industries-capability-grid h3 {
        margin-top: 52px !important;
    }
}