/* Services page hub: finder map, lifecycle directory and help band. Classes are prefixed sh-. */

.sh {
  --sh-navy: #003366;
  --sh-ink: #0b2a4a;
  --sh-text: #3b5675;
  --sh-muted: #4f6784;
  --sh-blue: #166cc3;
  --sh-sky: #8fc1ff;
  --sh-amber: #f5a623;
  --sh-line: #dbe7f4;
  --sh-ground: #f3f7fb;
  --sh-mono: 'JetBrains Mono', ui-monospace, monospace;
  --sh-ease: cubic-bezier(.16, 1, .3, 1);
  display: block;
  background: var(--sh-ground);
  color: var(--sh-ink);
  font-family: Inter, Roboto, 'Segoe UI', Arial, sans-serif;
}
.sh :where(*:not(i, [class*="fa-"])) { font-family: inherit; }
.sh *, .sh *::before, .sh *::after { box-sizing: border-box; }
body.sh-page { overflow-x: clip; }
.sh-shell { width: min(1240px, 100% - 48px); margin: 0 auto; }

.sh-kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ffc766; }
.sh-kicker--blue { color: var(--sh-blue); }

.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .25s var(--sh-ease), background .25s, color .25s, box-shadow .25s; }
.sh-btn:hover { transform: translateY(-2px); }
.sh-btn--amber { background: var(--sh-amber); color: #1b1300; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; box-shadow: 0 14px 30px -14px rgba(245, 166, 35, .8); }
.sh-btn--amber:hover { color: #1b1300; background: #ffb43a; }
.sh-btn--ghost { border: 1px solid rgba(255, 255, 255, .4); color: #ffffff; }
.sh-btn--ghost:hover { color: #ffffff; background: rgba(255, 255, 255, .08); }
.sh-btn--navy { background: var(--sh-navy); color: #ffffff; min-height: 44px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.sh-btn--navy:hover { color: #ffffff; background: var(--sh-blue); }
.sh-btn--outline { border: 2px solid var(--sh-navy); color: var(--sh-navy); white-space: nowrap; }
.sh-btn--outline:hover { background: var(--sh-navy); color: #ffffff; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.sh-hero { background: radial-gradient(1100px 600px at 78% 40%, #0f4a86 0%, #032a52 45%, #001b36 100%); color: #ffffff; padding: 72px 0 84px; overflow: hidden; }
.sh-hero-inner { width: min(1240px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 48px; align-items: start; }
.sh-hero-copy { display: flex; flex-direction: column; gap: 22px; padding-top: 12px; }
.sh-hero h1 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.03; font-weight: 900; letter-spacing: -.035em; color: #ffffff; }
.sh-hero h1 span { display: block; color: var(--sh-sky); }
.sh-lead { margin: 0; font-size: 18px; line-height: 1.6; color: #c9d9ec; max-width: 520px; }
.sh-finder { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.sh-finder-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fb3d9; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sh .sh-chip { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #ffffff; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.sh .sh-chip:hover { border-color: var(--sh-amber); }
.sh .sh-chip:focus-visible, .sh .sh-stop:focus-visible, .sh-block:focus-visible { outline: 3px solid #ffc766; outline-offset: 3px; }
.sh .sh-chip.is-on { background: var(--sh-amber); border-color: var(--sh-amber); color: #1b1300; }

.sh-hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.sh-map-wrap { position: relative; width: 100%; max-width: 680px; aspect-ratio: 680 / 430; }
.sh-map { position: absolute; left: 0; top: 0; width: 680px; height: 430px; transform: scale(var(--sh-s, 1)); transform-origin: 0 0; }
.sh-plate { position: absolute; inset: 0; width: 680px; height: 430px; overflow: visible; }
.sh-plate-top { fill: rgba(143, 193, 255, .06); stroke: rgba(143, 193, 255, .25); stroke-dasharray: 4 6; }
.sh-plate-r { fill: rgba(0, 10, 25, .35); }
.sh-plate-l { fill: rgba(0, 10, 25, .55); }
.sh-path { stroke: var(--sh-amber); stroke-width: 3; stroke-dasharray: 8 4; stroke-linecap: round; animation: sh-march 1s linear infinite; transition: x2 .55s var(--sh-ease), y2 .55s var(--sh-ease); }
.sh-path--pair { stroke: var(--sh-sky); stroke-width: 2; stroke-dasharray: 3 5; }
.sh-path[hidden] { display: none; }
@keyframes sh-march { to { stroke-dashoffset: -24; } }

.sh-block { position: absolute; width: 120px; height: 86px; display: block; text-decoration: none; transition: transform .55s var(--sh-ease); }
.sh-block svg { position: absolute; inset: 0; width: 120px; height: 86px; overflow: visible; }
.sh-block polygon { transition: fill .45s, stroke .45s; }
.sh-face-t { fill: #1d528a; }
.sh-face-l { fill: #0f3a66; }
.sh-face-r { fill: #0b2e52; }
.sh-face-mark { fill: none; stroke: rgba(143, 193, 255, .35); stroke-width: 1.5; }
.sh-block-label { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; background: rgba(9, 30, 56, .9); color: #c9d9ec; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7); transition: background .3s, color .3s; }
.sh-block:hover { transform: translateY(-6px); }
.sh-block:hover .sh-block-label { color: #ffffff; }
.sh-block.is-pair { transform: translateY(-8px); }
.sh-block.is-pair .sh-face-t { fill: #4ea3f0; }
.sh-block.is-pair .sh-face-l { fill: #2b78c2; }
.sh-block.is-pair .sh-face-r { fill: #1f5f9e; }
.sh-block.is-pair .sh-block-label { background: #cfe6ff; color: var(--sh-navy); }
.sh-block.is-main { transform: translateY(-18px); }
.sh-block.is-main .sh-face-t { fill: var(--sh-amber); }
.sh-block.is-main .sh-face-l { fill: #c47f0e; }
.sh-block.is-main .sh-face-r { fill: #a86a08; }
.sh-block.is-main .sh-face-mark { stroke: rgba(27, 19, 0, .35); }
.sh-block.is-main .sh-block-label { background: #ffffff; color: var(--sh-navy); }

.sh-pin { position: absolute; left: 318px; top: 328px; width: 44px; height: 44px; animation: sh-float 2.4s ease-in-out infinite; }
.sh-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sh-amber); animation: sh-pulse 1.8s ease-out infinite; }
.sh-pin i { position: absolute; inset: 12px; border-radius: 50%; background: var(--sh-amber); box-shadow: 0 0 0 4px rgba(245, 166, 35, .25); }
.sh-you { position: absolute; left: 370px; top: 340px; font-family: var(--sh-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffc766; }
@keyframes sh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes sh-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.sh-rec { position: relative; z-index: 2; width: min(540px, 100%); margin-top: -24px; padding: 24px 26px; border-radius: 22px; background: #ffffff; color: var(--sh-ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); display: flex; flex-direction: column; gap: 12px; }
.sh-rec.is-swap { animation: sh-rise .5s var(--sh-ease) both; }
@keyframes sh-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.sh-rec-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-blue); }
.sh-rec-name { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--sh-navy); }
.sh-rec p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sh-text); }
.sh-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-facts > span { padding: 6px 12px; border-radius: 999px; background: #eef6ff; color: #0f5a9b; font-size: 13px; font-weight: 700; line-height: 1.3; }
.sh-rec-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--sh-line); font-size: 13px; color: var(--sh-muted); }

/* Lifecycle directory */
.sh-life { padding: 96px 0 72px; }
.sh-life-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sh-life-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.sh-life h2, .sh-help h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; font-weight: 900; letter-spacing: -.035em; color: var(--sh-navy); }
.sh-life-head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--sh-text); }

.sh-rail { position: relative; margin: 40px 0 22px; height: 64px; }
.sh-rail-track { position: absolute; left: 0; right: 0; top: 30px; height: 4px; border-radius: 4px; background: var(--sh-line); }
.sh-rail-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--sh-at, 1.2%); border-radius: 4px; background: linear-gradient(90deg, var(--sh-blue), var(--sh-amber)); transition: width .7s var(--sh-ease); }
.sh-rail-track b { position: absolute; top: -8px; left: calc(var(--sh-at, 1.2%) - 10px); width: 20px; height: 20px; border-radius: 50%; background: var(--sh-amber); border: 3px solid #ffffff; transition: left .7s var(--sh-ease); animation: sh-glow 1.6s ease-out infinite; }
@keyframes sh-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, .5); } 50% { box-shadow: 0 0 0 10px rgba(245, 166, 35, 0); } }
.sh-rail-stops { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; align-items: start; }
.sh .sh-stop { justify-self: start; min-height: 30px; padding: 5px 12px; border-radius: 999px; border: 1px solid #c9d9ec; background: #ffffff; color: var(--sh-navy); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.sh .sh-stop.is-on { background: var(--sh-navy); border-color: var(--sh-navy); color: #ffffff; }

.sh-stages { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; align-items: start; }
.sh-stage { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 24px; background: rgba(255, 255, 255, .45); border: 1px solid #e3ecf6; transition: transform .5s var(--sh-ease), background .35s, border-color .35s; }
.sh-stage.is-on { transform: translateY(-6px); background: #e6f0fb; border-color: var(--sh-sky); }
.sh-stage-head { display: flex; flex-direction: column; gap: 4px; padding: 4px 4px 2px; }
.sh-stage-head h3 { margin: 0; font-size: 20px; color: var(--sh-navy); letter-spacing: -.01em; }
.sh-stage-head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sh-muted); }

.sh-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: #ffffff; border: 1px solid var(--sh-line); text-decoration: none; color: var(--sh-ink); box-shadow: 0 20px 40px -34px rgba(0, 51, 102, .6); scroll-margin-top: 120px; transition: transform .3s var(--sh-ease), box-shadow .3s, border-color .3s; }
.sh-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0, 51, 102, .55); border-color: var(--sh-sky); color: var(--sh-ink); }
.sh-card:target { border-color: var(--sh-amber); box-shadow: 0 0 0 3px rgba(245, 166, 35, .35); }
.sh-card-top { display: flex; align-items: center; gap: 12px; }
.sh-card-top b { font-size: 17px; line-height: 1.25; color: var(--sh-navy); }
.sh-card-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: linear-gradient(145deg, var(--sh-blue), var(--sh-navy)); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.sh-card-text { font-size: 14px; line-height: 1.55; color: var(--sh-text); }
.sh-card .sh-facts > span { font-size: 12px; padding: 4px 10px; }
.sh-card-more { font-size: 14px; font-weight: 800; color: var(--sh-blue); }
.sh-inside { padding: 14px 16px; border-radius: 16px; border: 1px dashed #b8cfe8; display: flex; flex-direction: column; gap: 6px; }
.sh-inside > span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-muted); }
.sh-inside ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sh-inside li { font-size: 14px; font-weight: 600; color: var(--sh-ink); }

/* Help band */
.sh-help-wrap { padding: 0 0 90px; }
.sh-help { width: min(1240px, 100% - 48px); margin: 0 auto; border-radius: 28px; background: radial-gradient(700px 300px at 85% 20%, #0f4a86, #032a52 60%, #001b36); color: #ffffff; padding: 48px 56px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: center; }
.sh-help-copy { display: flex; flex-direction: column; gap: 14px; }
.sh-help h2 { color: #ffffff; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.sh-help-copy p { margin: 0; font-size: 16px; line-height: 1.6; color: #c9d9ec; }
.sh-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.sh-steps li { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(143, 193, 255, .2); display: flex; flex-direction: column; gap: 10px; }
.sh-step-num { font-family: var(--sh-mono); font-size: 13px; font-weight: 700; color: #ffc766; }
.sh-steps b { font-size: 17px; color: #ffffff; }
.sh-steps li > span:last-child:not(.sh-step-num) { font-size: 14px; line-height: 1.55; color: #c9d9ec; }

/* Tablet */
@media (max-width: 1100px) {
  .sh-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sh-hero-copy { max-width: 680px; }
  .sh-stages, .sh-rail-stops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-rail { display: none; }
  .sh-stage.is-on { transform: none; }
  .sh-help { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
}

/* Phone */
@media (max-width: 640px) {
  .sh-hero { padding: 40px 0 48px; }
  .sh-hero-inner, .sh-shell, .sh-help { width: calc(100% - 32px); }
  .sh-lead { font-size: 16px; }
  .sh-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .sh-chips::-webkit-scrollbar { display: none; }
  .sh .sh-chip { flex: none; white-space: nowrap; font-size: 14px; }
  .sh-actions .sh-btn { flex: 1 1 100%; }
  .sh-block-label { font-size: 19px; top: -36px; padding: 6px 12px; }
  .sh-you, .sh-face-mark { display: none; }
  .sh-rec { margin-top: -8px; padding: 20px; }
  .sh-rec-name { font-size: 22px; }
  .sh-rec-foot { flex-direction: column; align-items: stretch; }
  .sh-rec-foot .sh-btn { width: 100%; min-height: 48px; }
  .sh-life { padding: 56px 0 40px; }
  .sh-life-head { flex-direction: column; align-items: stretch; gap: 20px; }
  .sh-rail { display: block; height: auto; margin: 26px 0 16px; }
  .sh-rail-track { display: none; }
  .sh-rail-stops { position: static; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: #ffffff; border: 1px solid var(--sh-line); }
  .sh .sh-stop { justify-self: stretch; min-height: 44px; border: 0; border-radius: 9px; font-size: 13px; letter-spacing: .02em; padding: 6px 4px; }
  .sh-stop-num, .sh-stop-sep { display: none; }
  .sh-stages { grid-template-columns: minmax(0, 1fr); }
  .sh-stage { display: none; padding: 0; background: none; border: 0; }
  .sh-stage.is-on { display: flex; background: none; }
  .sh-help-wrap { padding-bottom: 56px; }
  .sh-help { padding: 28px 20px; border-radius: 22px; }
  .sh-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .sh-path, .sh-pin, .sh-pin::before, .sh-rail-track b { animation: none; }
  .sh-block, .sh-rec.is-swap, .sh-stage, .sh-card { transition: none; animation: none; }
}
