/* =====================================================
   Homepage v2 (Nov 2026)
   Section layout shared with our affiliated brand's site,
   in MN Solutions colours. Loaded by index.html only.
   ===================================================== */
.hx { padding: 96px 0; }
.hx--dark { background: #0a1730; color: #ffffff; }
.hx--soft { background: #eef1f6; }
.hx--white { background: #ffffff; }

/* section header: eyebrow with rule, two-line heading, text on the right */
.hx-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.hx-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-700, #4b5566);
}
.hx-eyebrow::before { content: ""; display: block; width: 28px; height: 2px; background: currentColor; }
.hx-title { margin: 0; font-size: 56px; line-height: 1.08; font-weight: 700; color: #0c1a35; }
.hx-title em { font-style: normal; color: var(--orange, #f06a2e); }
.hx-lead { margin: 0 0 6px; max-width: 470px; font-size: 17px; line-height: 1.8; color: var(--gray-500, #5c6779); }
.hx-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--orange, #f06a2e); }
.hx-more svg { width: 18px; height: 18px; transition: transform .2s ease; }
.hx-more:hover svg { transform: translateX(4px); }
.hx--dark .hx-eyebrow { color: #a9b6d3; }
.hx--dark .hx-title { color: #ffffff; }
.hx--dark .hx-lead { color: rgba(255, 255, 255, .72); }

/* ---------- proof strip ---------- */
.hx-proof { background: #0a1730; color: #ffffff; border-top: 1px solid rgba(255, 255, 255, .1); }
.hx-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(255, 255, 255, .1); }
.hx-proof-item { padding: 34px 32px 32px; border-right: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hx-proof-item strong { display: block; font-size: 52px; line-height: 1; font-weight: 700; color: var(--orange, #f06a2e); font-variant-numeric: tabular-nums; }
.hx-proof-item > span:not(.hx-proof-idx):not(.hx-proof-bar) { display: block; margin-top: 12px; max-width: 240px; font-size: 15px; line-height: 1.5; color: #c3cde2; }
.hx-sectors { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 26px 0 30px; }
.hx-sectors-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8e9cbd; }
.hx-sectors ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.hx-sectors li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #e6ebf6; }
.hx-sectors li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange, #f06a2e); }

/* ---------- why (dark cards) ---------- */
.hx-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hx-why-card { padding: 30px 28px 32px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s ease, transform .3s ease; }
.hx-why-card:hover { border-color: rgba(240, 106, 46, .55); transform: translateY(-2px); }
.hx-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 26px; border-radius: 12px; background: rgba(240, 106, 46, .14); color: var(--orange, #f06a2e); }
.hx-icon svg { width: 24px; height: 24px; }
.hx-why-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; font-weight: 700; color: #ffffff; }
.hx-why-card p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .7); }

/* ---------- delivery models (numbered cards) ---------- */
.hx-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hx-svc-card { display: flex; flex-direction: column; padding: 30px 32px 32px; border-radius: 20px; background: #ffffff; border: 1px solid var(--gray-300, #d7dce3); transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.hx-svc-card:hover { transform: translateY(-2px); border-color: rgba(240, 106, 46, .5); box-shadow: 0 24px 50px -30px rgba(12, 26, 53, .45); }
.hx-svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.hx-svc-top .hx-icon { margin: 0; background: #10214a; color: #ffffff; }
.hx-svc-num { font-size: 14px; font-weight: 700; color: var(--gray-500, #5c6779); font-variant-numeric: tabular-nums; }
.hx-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange, #f06a2e); }
.hx-svc-card h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; font-weight: 700; color: #0c1a35; }
.hx-svc-card h3 a { color: inherit; }
.hx-svc-sum { margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-300, #d7dce3); font-size: 16px; line-height: 1.65; color: var(--gray-700, #4b5566); }
.hx-checks { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.hx-checks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; font-weight: 500; color: #0c1a35; }
.hx-checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--orange, #f06a2e); border-bottom: 2px solid var(--orange, #f06a2e); transform: rotate(-45deg); }
.hx-svc-card .hx-more { margin-top: auto; }

/* advisory strip under the delivery cards */
.hx-advisory { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; margin-top: 20px; padding: 34px 32px; border-radius: 20px; background: #0c1a35; color: #ffffff; }
.hx-advisory h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.2; font-weight: 700; color: #ffffff; }
.hx-advisory > div > p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.hx-advisory-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.hx-advisory-list li { padding: 4px 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hx-advisory-list b { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 700; color: #ffffff; }
.hx-advisory-list span { display: block; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .7); }

/* ---------- business impact (light cards) ---------- */
.hx-fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hx-fit-card { padding: 28px 28px 30px; border-radius: 18px; background: #f5f7fa; border: 1px solid #e6eaf1; transition: border-color .3s ease, transform .3s ease, background .3s ease; }
.hx-fit-card:hover { background: #ffffff; border-color: rgba(240, 106, 46, .5); transform: translateY(-2px); }
.hx-fit-card .hx-icon { background: #ffffff; border: 1px solid #e1e6ef; color: var(--navy, #153292); }
.hx-fit-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; font-weight: 700; color: #0c1a35; }
.hx-fit-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--gray-700, #4b5566); }

/* ---------- closing call to action ---------- */
.hx-cta { padding: 110px 0; text-align: center; color: #ffffff; background: radial-gradient(70% 100% at 50% 100%, #1b3a8f 0%, #0a1730 70%); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hx-cta .hx-eyebrow { justify-content: center; color: #a9b6d3; }
.hx-cta .hx-title { color: #ffffff; max-width: 760px; margin: 0 auto 20px; }
.hx-cta p.hx-cta-text { max-width: 520px; margin: 0 auto 32px; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .75); }
.hx-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .hx-why-grid, .hx-fit-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-advisory { grid-template-columns: 1fr; gap: 28px; }
  .hx-advisory-list li:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 1000px) {
  .hx { padding: 72px 0; }
  .hx-head { gap: 40px; }
  .hx-title { font-size: 44px; }
  .hx-svc-grid { grid-template-columns: 1fr; }
  .hx-proof-item { padding: 28px 22px; }
  .hx-proof-item strong { font-size: 42px; }
}
@media (max-width: 760px) {
  .hx { padding: 56px 0; }
  .hx-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .hx-title { font-size: 36px; }
  .hx-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-proof-item strong { font-size: 36px; }
  .hx-why-grid, .hx-fit-grid { grid-template-columns: 1fr; }
  .hx-advisory { padding: 28px 22px; }
  .hx-advisory-list { grid-template-columns: 1fr; gap: 20px; }
  .hx-advisory-list li { padding: 0; border-left: 0; }
  .hx-cta { padding: 80px 0; }
  .hx-svc-card { padding: 26px 22px 28px; }
}

/* small refinements */
.hx-advisory > div > p.hx-kicker { margin: 0 0 8px; font-size: 12px; line-height: 1.4; color: var(--orange, #f06a2e); }
.hx-cta .hx-eyebrow::before { display: none; }

/* ---------- Products page: six product cards (content mirrors the homepage) ---------- */
.hx-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hx-prod-card { position: relative; display: flex; flex-direction: column; padding: 30px 30px 30px; border-radius: 20px; background: #ffffff; border: 1px solid var(--gray-300, #d7dce3); border-top: 4px solid var(--product); scroll-margin-top: 130px; transition: box-shadow .3s ease, transform .3s ease; }
.hx-prod-card:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--product) 55%, #0c1a35); }
.hx-prod-num { position: absolute; top: 26px; right: 28px; font-size: 14px; font-weight: 700; color: var(--product); font-variant-numeric: tabular-nums; }
.hx-prod-card .plist-top { padding-right: 34px; }
.hx-prod-card .plist-headline { font-size: 24px; }
.hx-prod-card .plist-text { max-width: none; }
.hx-prod-card .plist-actions { margin-top: auto; }
@media (max-width: 1200px) { .hx-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .hx-prod-grid { grid-template-columns: 1fr; } .hx-prod-card { padding: 24px 22px 26px; } }

/* ---------- questions (homepage FAQ) ---------- */
.hx-faq { max-width: 980px; }
.hx-faq-item { border-top: 1px solid var(--gray-300, #d7dce3); }
.hx-faq-item:last-child { border-bottom: 1px solid var(--gray-300, #d7dce3); }
.hx-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 14px 0; cursor: pointer; list-style: none; }
.hx-faq-item summary::-webkit-details-marker { display: none; }
.hx-faq-item h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: #0c1a35; }
.hx-faq-item summary svg { flex: none; width: 22px; height: 22px; color: var(--orange, #f06a2e); transition: transform .2s ease; }
.hx-faq-item[open] summary svg { transform: rotate(180deg); }
.hx-faq-item p { margin: 0; padding: 0 46px 24px 0; font-size: 16px; line-height: 1.7; color: var(--gray-700, #4b5566); }
@media (max-width: 760px) { .hx-faq-item h3 { font-size: 18px; } .hx-faq-item p { padding-right: 0; } }


/* ---------- Client quote ---------- */
.hx-quote { background: #fff; padding: 88px 0; }
.hx-quote-card { max-width: 880px; margin: 0 auto; text-align: center; }
.hx-quote-mark { width: 44px; height: 33px; color: var(--orange, #f06a2e); display: block; margin: 0 auto 28px; }
.hx-quote blockquote { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; position: static; display: block; }
.hx-quote blockquote:before, .hx-quote blockquote:after { content: none; display: none; }
.hx-quote blockquote p { margin: 0; font-size: 30px; line-height: 1.4; font-weight: 500; color: var(--navy-deep, #0c1a35); letter-spacing: -.01em; }
.hx-quote figcaption { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: #6b7590; }
.hx-quote figcaption strong { font-size: 18px; font-weight: 600; color: var(--navy-deep, #0c1a35); }
@media (max-width: 767px) {
  .hx-quote { padding: 56px 0; }
  .hx-quote blockquote p { font-size: 22px; }
}

/* ---------- Proof strip: animated, futuristic ---------- */
.hx-proof { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 15% 0%, #12244a 0%, #0a1730 55%, #070f22 100%); }
.hx-proof > .container-fluid { position: relative; z-index: 1; }
.hx-proof-fx { position: absolute; inset: 0; pointer-events: none; }
.hx-proof-grid-bg { position: absolute; inset: -40px 0; background-image: linear-gradient(rgba(110, 168, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 168, 255, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 80%); animation: hxGridDrift 18s linear infinite; }
.hx-proof-scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(110, 168, 255, .08) 70%, rgba(240, 106, 46, .14) 98%, transparent); animation: hxScan 7s ease-in-out infinite; }
@keyframes hxGridDrift { to { transform: translateY(44px); } }
@keyframes hxScan { 0% { top: -30%; } 60%, 100% { top: 110%; } }

.hx-proof-grid { border-left-color: rgba(110, 168, 255, .14); }
.hx-proof-item { position: relative; border-color: rgba(110, 168, 255, .14); background: linear-gradient(160deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 60%); transition: background .4s ease; }
.hx-proof-item::before, .hx-proof-item::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--orange, #f06a2e); opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.hx-proof-item::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; transform: translate(4px, 4px); }
.hx-proof-item::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; transform: translate(-4px, -4px); }
.hx-proof-item:hover { background: radial-gradient(120% 120% at 0% 0%, rgba(240, 106, 46, .12), rgba(110, 168, 255, .04) 55%, transparent); }
.hx-proof-item:hover::before, .hx-proof-item:hover::after { opacity: 1; transform: none; }
.hx-proof-idx { position: absolute; top: 18px; right: 22px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; color: rgba(142, 156, 189, .7); }
.hx-proof-item .hx-count { display: inline; margin: 0; font: inherit; color: inherit; }
.hx-proof-item strong { text-shadow: 0 0 24px rgba(240, 106, 46, .35); }
.hx-proof-bar { display: block; position: relative; height: 2px; margin-top: 16px; max-width: 120px; background: rgba(110, 168, 255, .14); overflow: hidden; border-radius: 2px; }
.hx-proof-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--orange, #f06a2e), #6ea8ff); transform: scaleX(1); transform-origin: left; }
.hx-proof-item .hx-proof-label { display: block; margin-top: 12px; max-width: 240px; font-size: 15px; line-height: 1.5; color: #c3cde2; }

/* reveal: only when JS has marked the section as ready to animate */
.hx-proof.is-anim .hx-proof-item { opacity: 0; transform: translateY(18px); transition: opacity .7s ease calc(var(--i) * 90ms), transform .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 90ms), background .4s ease; }
.hx-proof.is-anim .hx-proof-bar::after { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 90ms + 200ms); }
.hx-proof.is-anim.is-in .hx-proof-item { opacity: 1; transform: none; }
.hx-proof.is-anim.is-in .hx-proof-bar::after { transform: scaleX(1); }

/* sector chips */
.hx-sectors li { padding: 7px 14px 7px 12px; border: 1px solid rgba(110, 168, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .03); transition: border-color .3s ease, background .3s ease; }
.hx-sectors li:hover { border-color: rgba(240, 106, 46, .6); background: rgba(240, 106, 46, .08); }
.hx-sectors li::before { box-shadow: 0 0 0 0 rgba(240, 106, 46, .6); animation: hxPing 2.4s ease-out infinite; }
.hx-sectors li:nth-child(2)::before { animation-delay: .4s; } .hx-sectors li:nth-child(3)::before { animation-delay: .8s; }
.hx-sectors li:nth-child(4)::before { animation-delay: 1.2s; } .hx-sectors li:nth-child(5)::before { animation-delay: 1.6s; }
.hx-sectors li:nth-child(6)::before { animation-delay: 2s; }
@keyframes hxPing { 0% { box-shadow: 0 0 0 0 rgba(240, 106, 46, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(240, 106, 46, 0); } }

@media (max-width: 575px) {
  .hx-proof-idx { top: 14px; right: 14px; }
  .hx-proof-item .hx-proof-label { font-size: 14px; }
  .hx-sectors ul { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-proof-grid-bg, .hx-proof-scan, .hx-sectors li::before { animation: none; }
  .hx-proof-scan { display: none; }
}
@media print { .hx-proof.is-anim .hx-proof-item { opacity: 1; transform: none; } }
