/* =====================================================================
   Industry pages (/industries, /industries/{slug})
   Builds on managed-support.css (.ms-page). Scoped under .ind-page.
   ===================================================================== */

.ind-page .ms-hero.ind-hero { padding: 120px 0 80px; }
.ind-page .ms-crumbs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: #9fb0c8; }
.ind-page .ms-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.ind-page .ms-crumbs a { color: #cfe0f2; text-decoration: none; }
.ind-page .ms-crumbs a:hover { color: #ffd166; }

/* ---------- Hero estate map ---------- */
.ind-map { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin: 0 auto; }
.ind-map-node { max-width: 46%; }
.ind-map-node b { white-space: normal; text-align: center; line-height: 1.2; }
.ind-map-a { display: block; text-decoration: none !important; pointer-events: auto; }
.ind-map-a:hover b, .ind-map-a:focus-visible b { border-color: #ffd166; color: #fff; box-shadow: 0 0 0 4px rgba(255,209,102,.25), 0 0 26px rgba(255,209,102,.5); transform: scale(1.06); cursor: pointer; }
.ind-map-a:focus-visible { outline: 2px solid #ffd166; outline-offset: 3px; border-radius: 999px; }
.ind-map-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(46,196,182,.35); animation: ind-spin 46s linear infinite; }
.ind-map-ring.r2 { inset: 26%; border-color: rgba(255,183,3,.3); animation-direction: reverse; animation-duration: 30s; }
@keyframes ind-spin { to { transform: rotate(360deg); } }
.ind-map-hub { position: absolute; left: 50%; top: 50%; width: 126px; height: 126px; margin: -63px 0 0 -63px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,183,3,.35), rgba(255,183,3,.08) 60%, rgba(7,18,42,.9)); border: 2px solid #ffb703; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #ffd166; text-align: center; box-shadow: 0 0 0 0 rgba(255,183,3,.45); animation: ind-halo 2.8s ease-out infinite; z-index: 2; }
.ind-teal .ind-map-hub { border-color: #2ec4b6; color: #7fe7dc; background: radial-gradient(circle at 30% 30%, rgba(46,196,182,.35), rgba(46,196,182,.08) 60%, rgba(7,18,42,.9)); box-shadow: 0 0 0 0 rgba(46,196,182,.45); animation-name: ind-halo-teal; }
.ind-map-hub i { font-size: 28px; }
.ind-map-hub span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.2; padding: 0 10px; }
@keyframes ind-halo { 0% { box-shadow: 0 0 0 0 rgba(255,183,3,.45); } 100% { box-shadow: 0 0 0 26px rgba(255,183,3,0); } }
@keyframes ind-halo-teal { 0% { box-shadow: 0 0 0 0 rgba(46,196,182,.45); } 100% { box-shadow: 0 0 0 26px rgba(46,196,182,0); } }
.ind-map-node { position: absolute; transform: translate(-50%, -50%); z-index: 3; opacity: 0; animation: ind-node-in .6s cubic-bezier(.2,.9,.3,1.3) forwards; animation-delay: calc(.6s + var(--i) * .18s); }
.ind-map-node b { display: block; background: rgba(14,39,68,.92); border: 1.5px solid #2ec4b6; color: #e8f9f7; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11.5px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.ind-amber .ind-map-node b { border-color: #ffb703; color: #fff2cf; }
.ind-map-node b i { color: #7fe7dc; margin-right: 4px; }
.ind-amber .ind-map-node b i { color: #ffd166; }
.ind-map-link { position: absolute; left: 50%; top: 50%; width: 42%; height: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(46,196,182,.6), rgba(46,196,182,.05)); pointer-events: none; z-index: 1; }
.ind-amber .ind-map-link { background: linear-gradient(90deg, rgba(255,183,3,.6), rgba(255,183,3,.05)); }
.ind-map-tag { position: relative; margin: 18px auto 0; max-width: 440px; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 18px; font-size: 12.5px; color: #dfe6f1; font-weight: 600; letter-spacing: .3px; text-align: center; }
.ind-map-tag .ms-dot { flex: 0 0 auto; }
.ind-map-cap { display: none; opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.ind-map-cap.is-on { display: inline; opacity: 1; transform: none; }
.ind-map-node b.is-lit { border-color: #ffd166; color: #fff; box-shadow: 0 0 0 4px rgba(255,209,102,.25), 0 0 26px rgba(255,209,102,.5); transform: scale(1.06); }
.ind-map-node b { transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease, color .35s ease; }
@keyframes ind-node-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 991px) { .ind-map { max-width: 360px; margin-top: 34px; } .ind-map-tag { max-width: 360px; font-size: 12px; } .ind-map-node b { font-size: 10.5px; padding: 6px 10px; } .ind-map-hub { width: 104px; height: 104px; margin: -52px 0 0 -52px; } }
@media (max-width: 480px) { .ind-map { max-width: 300px; } .ind-map-node b { font-size: 9.5px; padding: 5px 8px; } }

/* ---------- Stats ---------- */
.ind-stats { padding: 54px 0; }
.ind-page .ms-stat { text-align: center; }
.ind-page .ms-stat .v { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; color: #ffd166; line-height: 1; }
.ind-page .ms-stat .l { display: block; margin-top: 8px; color: #c9d2e0; font-size: 14px; line-height: 1.4; }

/* ---------- Overview rail ---------- */
.ind-rail { background: rgba(255,255,255,.92); border-radius: 16px; padding: 26px 26px 22px; box-shadow: 0 8px 32px rgba(7,18,42,.08); border-top: 5px solid #ffb703; }
.ind-teal .ind-rail { border-top-color: #2ec4b6; }
.ind-rail h4 { font-size: 15px; letter-spacing: .5px; text-transform: uppercase; color: #07122a; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.ind-rail h4 i { color: #d18f00; }
.ind-teal .ind-rail h4 i { color: #17968a; }
.ind-links { list-style: none; padding: 0; margin: 0; }
.ind-links li { margin: 0 0 8px; }
.ind-links a { display: block; padding: 10px 14px; border-radius: 10px; border: 1px solid #efe6cf; background: #fffdf7; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ind-links a:hover { transform: translateX(4px); border-color: #ffb703; box-shadow: 0 8px 20px rgba(255,183,3,.15); }
.ind-links a b { display: block; color: #07122a; font-size: 15px; }
.ind-links a span { display: block; color: #6b5d3c; font-size: 13px; margin-top: 2px; }
.ind-page .ms-prose p { color: #3b3325; font-size: 17px; line-height: 1.7; margin-bottom: 1.1em; }

/* ---------- Challenge cards ---------- */
.ind-card { height: 100%; background: #fff; border: 1px solid #ece7d9; border-radius: 16px; padding: 28px 24px; box-shadow: 0 8px 28px rgba(7,18,42,.06); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; position: relative; overflow: hidden; }
.ind-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #ffb703, #2ec4b6); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.ind-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(7,18,42,.12); border-color: #ffe3a3; }
.ind-card:hover::after { transform: scaleX(1); }
.ind-icon { width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #fff1c9, #ffe08a); color: #9c6b00; font-size: 22px; margin-bottom: 16px; transition: transform .35s ease; }
.ind-card:hover .ind-icon, .ind-sector:hover .ind-icon { transform: rotate(-6deg) scale(1.08); }
.ind-card h3 { font-size: 19px; margin: 0 0 8px; color: #07122a; }
.ind-card p { color: #4a4638; font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Solutions (dark) ---------- */
.ind-solution { height: 100%; display: grid; grid-template-columns: auto 1fr; gap: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 26px 26px; transition: background .3s ease, transform .3s ease, border-color .3s ease; }
.ind-solution:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); border-color: rgba(255,209,102,.5); }
.ind-solution-n { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; color: #ffb703; line-height: 1; padding-top: 4px; }
.ind-solution h3 { font-size: 19px; color: #fff; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.ind-solution h3 i { color: #7fe7dc; font-size: 17px; }
.ind-solution p { color: #dfe6f1; font-size: 15px; line-height: 1.65; margin: 0; }
.ind-solution p a { color: #ffd166; font-weight: 700; }

/* ---------- Case studies ---------- */
.ind-case { display: grid; grid-template-columns: 150px 1fr; height: 100%; background: rgba(255,255,255,.94); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(7,18,42,.08); text-decoration: none !important; border: 1px solid #efe6cf; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.ind-case:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(7,18,42,.14); }
.ind-case-media { background: linear-gradient(160deg, #f6f9fc, #e9f0f7); display: flex; align-items: center; justify-content: center; padding: 16px; position: relative; overflow: hidden; border-right: 1px solid #e6e0cf; }
.ind-case-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side at 70% 20%, rgba(255,183,3,.14), transparent 70%); pointer-events: none; }
.ind-case-media img { width: 100%; height: 130px; object-fit: contain; position: relative; z-index: 1; transition: transform .5s ease; filter: drop-shadow(0 8px 16px rgba(7,18,42,.18)); }
.ind-case:hover .ind-case-media img { transform: scale(1.06); }
.ind-case-initial { font-family: 'Space Grotesk', sans-serif; font-size: 56px; font-weight: 700; color: #b07d00; position: relative; z-index: 1; }
.ind-case-body { padding: 20px 22px 18px; display: flex; flex-direction: column; }
.ind-case-client { font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #17968a; margin-bottom: 4px; }
.ind-case h3 { font-size: 18px; color: #07122a; margin: 0 0 8px; line-height: 1.3; }
.ind-case p { color: #4a4638; font-size: 14.5px; line-height: 1.55; margin: 0 0 12px; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ind-tags span { font-size: 11.5px; font-weight: 700; color: #7a5300; background: #fff1c9; border-radius: 999px; padding: 3px 10px; }
.ind-case-more { margin-top: auto; font-weight: 700; color: #07122a; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.ind-case-more i { transition: transform .25s ease; color: #d18f00; }
.ind-case:hover .ind-case-more i { transform: translateX(5px); }
@media (max-width: 560px) { .ind-case { grid-template-columns: 1fr; } .ind-case-media { min-height: 140px; } }

/* ---------- Technology chips, reading, trust ---------- */
.ind-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ind-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid #dfe8f5; color: #07122a !important; font-weight: 700; font-size: 14px; text-decoration: none !important; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ind-chip i { color: #17968a; }
.ind-chip:hover { transform: translateY(-3px); border-color: #2ec4b6; box-shadow: 0 10px 22px rgba(46,196,182,.18); }
.ind-h4 { font-size: 15px; letter-spacing: .5px; text-transform: uppercase; color: #07122a; display: flex; align-items: center; gap: 8px; }
.ind-h4 i { color: #d18f00; }
.ind-reading { list-style: none; padding: 0; margin: 10px 0 0; }
.ind-reading li { padding: 8px 0; border-bottom: 1px dashed #e6e0cf; }
.ind-reading a { color: #07122a; font-weight: 600; text-decoration: none; }
.ind-reading a:hover { color: #9c6b00; text-decoration: underline; }
.ind-trust { background: linear-gradient(160deg, #07122a, #0e2744); color: #eef2f8; border-radius: 18px; padding: 30px 30px 26px; height: 100%; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(7,18,42,.25); }
.ind-trust::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(46,196,182,.25), transparent 70%); }
.ind-trust-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ind-trust-head i { font-size: 24px; color: #7fe7dc; }
.ind-trust h3 { color: #fff; font-size: 21px; margin: 0; }
.ind-trust p { color: #dfe6f1; font-size: 15px; line-height: 1.65; }
.ind-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.ind-trust-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #ffe4a0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,209,102,.3); border-radius: 999px; padding: 6px 12px; }
.ind-trust-badges span i { color: #ffd166; }

/* ---------- Other industries ---------- */
.ind-other { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e6e0cf; color: #07122a !important; font-weight: 700; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ind-other > i:first-child { width: 36px; height: 36px; border-radius: 10px; background: #fff1c9; color: #9c6b00; display: inline-flex; align-items: center; justify-content: center; }
.ind-other .arr { margin-left: auto; color: #d18f00; transition: transform .2s ease; }
.ind-other:hover { transform: translateY(-3px); border-color: #ffb703; box-shadow: 0 10px 24px rgba(255,183,3,.15); }
.ind-other:hover .arr { transform: translateX(4px); }

/* ---------- Index sector cards ---------- */
.ind-sector { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #ece7d9; border-radius: 18px; padding: 28px 26px 22px; box-shadow: 0 8px 28px rgba(7,18,42,.06); text-decoration: none !important; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.ind-sector::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg, #ffb703, #ffd166); }
.ind-sector-teal::before { background: linear-gradient(90deg, #2ec4b6, #7fe7dc); }
.ind-sector-teal .ind-icon { background: linear-gradient(135deg, #dcf5f1, #b6ece5); color: #0d6b61; }
.ind-sector:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(7,18,42,.14); }
.ind-sector h3 { font-size: 21px; color: #07122a; margin: 0 0 8px; }
.ind-sector p { color: #4a4638; font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.ind-sector-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #6b5d3c; font-weight: 600; }
.ind-sector-foot .arr { color: #07122a; font-weight: 700; }
.ind-sector-foot .arr i { transition: transform .25s ease; color: #d18f00; }
.ind-sector:hover .ind-sector-foot .arr i { transform: translateX(5px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .ind-map-ring, .ind-map-hub, .ind-map-node b { animation: none !important; }
    .ind-map-node { opacity: 1; animation: none; }
    .ind-card, .ind-case, .ind-sector, .ind-solution, .ind-chip, .ind-other, .ind-links a { transition: none; }
}

/* ---------- Product spotlight (e.g. TradeYoke) ---------- */
.ind-product-panel { background: linear-gradient(160deg, #07122a, #0e2744); border-radius: 18px; padding: 24px 24px 18px; box-shadow: 0 20px 50px rgba(7,18,42,.25); position: relative; overflow: hidden; }
.ind-product-panel::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,183,3,.22), transparent 70%); pointer-events: none; }
.ind-product-head { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #9ff0e6; margin-bottom: 14px; }
.ind-product-links { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.ind-product-links li { margin: 0 0 8px; }
.ind-product-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-decoration: none !important; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.ind-product-links a:hover { transform: translateX(4px); background: rgba(255,255,255,.09); border-color: rgba(255,209,102,.5); }
.ind-product-links a b { color: #fff; font-size: 14px; }
.ind-product-links a span { grid-column: 1; color: #bfc9d9; font-size: 12px; }
.ind-product-links a i { grid-column: 2; grid-row: 1 / span 2; color: #ffd166; }
