/* ui10.css: rich service-page sections (glance band, fit check, systems, process, handover, models, FAQ).
   Visual only; loaded last. Delete this file + its <link> + the service-rich*.php includes to revert. */

.sx-mark { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; }
.sx-mark svg { width: 14px; height: 14px; }

/* ---------- Glance band: overlaps the hero edge ---------- */
.sx-glance { position: relative; z-index: 3; margin-top: clamp(-96px, -7vw, -56px); padding: 0 0 clamp(24px, 3vw, 40px); }
.sx-glance-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); border-top: 3px solid #b08a3e; border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(11, 27, 58, .45); overflow: hidden; }
.sx-glance-grid li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 28px; border-left: 1px solid var(--c-line, rgba(11, 27, 58, .12)); }
.sx-glance-grid li:first-child { border-left: 0; }
.sx-glance-n { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: #b08a3e; }
.sx-glance-grid strong { color: #0b1b3a; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.sx-glance-grid li > span:last-child { color: #4a5670; font-size: .92rem; line-height: 1.55; }

/* ---------- Fit check ---------- */
.sx-fit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.sx-fit-card { padding: clamp(24px, 3vw, 36px); border-radius: 6px; background: #fff; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); box-shadow: 0 1px 2px rgba(11, 27, 58, .04), 0 24px 44px -30px rgba(11, 27, 58, .28); }
.sx-fit-card h3 { margin: 0 0 18px; font-size: 1.25rem; color: #0b1b3a; }
.sx-fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sx-fit-card li { display: flex; gap: 14px; align-items: flex-start; color: #3d4a63; line-height: 1.55; }
.sx-yes { border-top: 3px solid #b08a3e; }
.sx-yes .sx-mark { background: rgba(176, 138, 62, .16); color: #8a6a24; }
.sx-no { background: #0b1b3a; border-color: #0b1b3a; }
.sx-no h3 { color: #fff; }
.sx-no li { color: #c3cee6; }
.sx-no .sx-mark { background: rgba(255, 255, 255, .1); color: #9fb0cf; }
.sx-fit-note { margin: 22px 0 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); color: #aebbd6; font-size: .94rem; line-height: 1.6; }
.sx-no .btn-ghost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .4) !important; }
.sx-no .btn-ghost:hover { background: rgba(255, 255, 255, .1) !important; border-color: #fff !important; }

/* ---------- Systems grid ---------- */
.sx-systems-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sx-sys { position: relative; padding: 28px 26px 30px; border-radius: 6px; background: #fff; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); box-shadow: 0 1px 2px rgba(11, 27, 58, .04), 0 18px 36px -26px rgba(11, 27, 58, .25); transition: transform .3s, border-color .25s, box-shadow .3s; }
.sx-sys:hover { transform: translateY(-5px); border-color: rgba(176, 138, 62, .6); box-shadow: 0 2px 4px rgba(11, 27, 58, .05), 0 30px 54px -26px rgba(11, 27, 58, .32); }
.sx-sys-n { display: block; margin-bottom: 18px; font-size: 2rem; font-weight: 600; letter-spacing: -.04em; color: rgba(176, 138, 62, .55); line-height: 1; }
.sx-sys h3 { margin: 0 0 10px; font-size: 1.14rem; color: #0b1b3a; letter-spacing: -.015em; }
.sx-sys p { margin: 0; color: #4a5670; font-size: .96rem; line-height: 1.6; }

/* ---------- Process timeline ---------- */
.sx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: sx; }
.sx-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: linear-gradient(90deg, #b08a3e, rgba(176, 138, 62, .2)); }
.sx-steps li { position: relative; padding: 0 14px; text-align: left; }
.sx-step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: #0b1b3a; color: #e6c27a; font-weight: 700; letter-spacing: .04em; box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(176, 138, 62, .45); }
.sx-step-body h3 { margin: 0 0 8px; font-size: 1.1rem; color: #0b1b3a; }
.sx-step-body p { margin: 0 0 10px; color: #4a5670; font-size: .93rem; line-height: 1.55; }
.sx-step-out { padding-top: 10px; border-top: 1px dashed rgba(11, 27, 58, .2); }
.sx-step-out b, .sx-model-for b { display: block; margin-bottom: 3px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8a6a24; }

/* ---------- Handover ---------- */
.sx-receive { background: linear-gradient(180deg, #0b1b3a, #08142e); }
.sx-receive-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.sx-receive .eyebrow { color: #e6c27a; }
.sx-receive h2 { color: #fff; -webkit-text-fill-color: #fff; }
.sx-receive .lead { color: #aebbd6; margin-bottom: 26px; }
.sx-receive .btn.btn-primary { background: #e6c27a !important; border-color: #e6c27a !important; color: #0b1b3a !important; }
.sx-receive-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sx-receive-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); transition: border-color .25s, background .25s; }
.sx-receive-grid li:hover { border-color: rgba(230, 194, 122, .6); background: rgba(255, 255, 255, .08); }
.sx-receive-grid .sx-mark { background: rgba(230, 194, 122, .16); color: #e6c27a; }
.sx-receive-grid strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 3px; }
.sx-receive-grid li span:last-child { color: #aebbd6; font-size: .9rem; line-height: 1.5; }

/* ---------- Models ---------- */
.sx-models-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sx-model { padding: 30px 28px; border-radius: 6px; background: #fff; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); border-bottom: 3px solid #b08a3e; box-shadow: 0 18px 36px -26px rgba(11, 27, 58, .25); }
.sx-model h3 { margin: 0 0 10px; font-size: 1.22rem; color: #0b1b3a; }
.sx-model p { margin: 0 0 16px; color: #4a5670; line-height: 1.6; }
.sx-model-for { margin: 0 !important; padding-top: 14px; border-top: 1px solid rgba(11, 27, 58, .12); color: #0b1b3a !important; font-weight: 500; }

@media (max-width: 1100px) {
  .sx-glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-glance-grid li:nth-child(odd) { border-left: 0; }
  .sx-glance-grid li:nth-child(n+3) { border-top: 1px solid var(--c-line, rgba(11, 27, 58, .12)); }
  .sx-systems-grid, .sx-models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 0; }
  .sx-steps::before { display: none; }
}
@media (max-width: 860px) {
  .sx-fit-grid, .sx-receive-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sx-glance { margin-top: -40px; }
  .sx-glance-grid { grid-template-columns: 1fr; }
  .sx-glance-grid li { border-left: 0 !important; border-top: 1px solid var(--c-line, rgba(11, 27, 58, .12)); padding: 20px; }
  .sx-glance-grid li:first-child { border-top: 0; }
  .sx-systems-grid, .sx-models-grid, .sx-receive-grid { grid-template-columns: 1fr; }
  .sx-steps { grid-template-columns: 1fr; gap: 0; }
  .sx-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0 0 26px; }
  .sx-steps li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 58px; bottom: 2px; width: 2px; background: rgba(176, 138, 62, .4); }
  .sx-step-n { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .sx-sys:hover { transform: none; } }

/* leave room under the hero text for the overlapping glance band */
.hero:has(+ .sx-glance) { padding-bottom: clamp(150px, 15vw, 210px) !important; }
.sx-glance { margin-top: clamp(-120px, -8vw, -72px) !important; }
main > .hero.on-dark:has(+ .sx-glance), main > .hero[style]:has(+ .sx-glance) { padding-bottom: clamp(170px, 16vw, 230px) !important; }
.section.sx-receive, main > .section.sx-receive { background: linear-gradient(180deg, #0b1b3a, #08142e) !important; background-image: linear-gradient(180deg, #0b1b3a, #08142e) !important; }
.section.sx-receive h2 { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.section.sx-receive .lead { color: #aebbd6 !important; }

/* ---------- "The problem / What we build" block: roomy, consistent padding at every width ---------- */
main > .section > .wrap.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
main > .section > .wrap.grid-2 > div.reveal:not(.card) {
  box-sizing: border-box; min-width: 0; padding: clamp(28px, 3.6vw, 52px) clamp(24px, 3.4vw, 48px) !important;
  background: #fff !important; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)) !important; border-top: 3px solid #b08a3e !important;
  border-radius: 6px !important; box-shadow: 0 1px 2px rgba(11, 27, 58, .04), 0 24px 44px -30px rgba(11, 27, 58, .28) !important;
}
main > .section > .wrap.grid-2 > div.reveal:not(.card) > h2 { margin: 0 0 clamp(16px, 2vw, 24px) !important; font-size: clamp(1.4rem, 2.2vw, 1.8rem) !important; }
main > .section > .wrap.grid-2 > div.reveal:not(.card) > .lead { margin: 0 !important; font-size: clamp(1rem, 1.3vw, 1.12rem) !important; line-height: 1.7; color: #3d4a63; }
main > .section > .wrap.grid-2 .list-check { margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.4vw, 16px); }
main > .section > .wrap.grid-2 .list-check li { margin: 0 !important; padding-left: 32px !important; line-height: 1.5; color: #2f3b55; }
@media (max-width: 860px) {
  main > .section > .wrap.grid-2 { grid-template-columns: 1fr; }
  main > .section > .wrap.grid-2 > div.reveal:not(.card) { padding: 26px 22px !important; }
}

/* ---------- Page container: comfortable side gutters on laptops, tablets and phones ---------- */
:root { --max: 1200px; }
.wrap, .x-cta .wrap { width: min(100% - clamp(32px, 5.5vw, 96px), var(--max)) !important; margin-inline: auto !important; }
@media (max-width: 600px) { .wrap, .x-cta .wrap { width: calc(100% - 32px) !important; } }

/* ---------- Industry pages: stats band + numbered challenges ---------- */
.sx-stat { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: #0b1b3a; }
.sx-stat-txt { color: #b08a3e; }
.sx-stat-l { color: #4a5670; font-size: .92rem; line-height: 1.45; }
.sx-ind-grid { grid-template-columns: 1fr 1fr; }
.sx-numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sx-numbered li { display: flex; gap: 16px; align-items: flex-start; color: #3d4a63; line-height: 1.55; }
.sx-num-badge { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: #0b1b3a; color: #e6c27a; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 860px) { .sx-ind-grid { grid-template-columns: 1fr; } }
.sx-glance-grid .sx-stat { font-size: clamp(2.4rem, 4vw, 3.4rem) !important; font-weight: 600 !important; letter-spacing: -.05em !important; line-height: 1 !important; color: #0b1b3a !important; }
.sx-glance-grid .sx-stat-txt { color: #b08a3e !important; }
.sx-glance-grid .sx-stat-l { color: #4a5670; font-size: .92rem; }
