/* /business-solutions/ page styles. Brand tokens come from /features.css. */
body.hge-hero-bleed #page-container { padding-top: 0 !important; margin-top: 0 !important; }
#bs-main { --bs-hero-field: #071C3A; overflow-x: clip; font-family: var(--hge-body); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; color: var(--hgb-muted); }
#bs-main * { box-sizing: border-box; }
#bs-main :is(h1, h2, h3, p) { padding-bottom: 0; }
#bs-main ::selection { background: rgba(61, 192, 102, .28); color: var(--hge-navy); }
#bs-hero, #bs-projects, .bs-sol, #bs-useful, #bs-cta { scroll-margin-top: 100px; }
#bs-main :is(a, button, input) { scroll-margin-top: 140px; }
#bs-main :is(a, button, input):focus-visible { outline: 3px solid var(--hgb-green-fill); outline-offset: 3px; }
.bs-wrap { max-width: 1180px; margin: 0 auto; }
.bs-cta { padding: clamp(4.5rem, 10vw, 8rem) 1.25rem; }
#bs-main .bs-h1, #bs-main .bs-h2 { font-family: var(--hge-display) !important; text-transform: uppercase; font-weight: 600; text-wrap: balance; }
.bs-h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; margin: 0 auto; color: var(--hge-paper); }
.bs-h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.01em; color: var(--hge-navy); margin: 0; }
#bs-main .bs-lead, #bs-main .bs-card-p, #bs-main .bs-steps p, #bs-main .bs-show-cap { color: var(--hgb-muted); }
#bs-main .bs-lead, #bs-main .bs-card-p, #bs-main .bs-steps p { font-family: var(--hge-body); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.bs-lead { max-width: 60ch; margin: 1rem 0 0; text-wrap: pretty; }
.bs-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(100svh, 900px); padding: clamp(6rem, 14vh, 9rem) 1.25rem clamp(4rem, 10vh, 6rem); background-color: var(--bs-hero-field); background-image: radial-gradient(ellipse 70% 60% at 72% 40%, rgba(9, 64, 132, .55) 0%, rgba(9, 64, 132, 0) 70%); color-scheme: dark; }
.bs-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 640px; margin: 0 auto; text-align: center; }
#bs-hero .bs-sub { max-width: 46ch; margin: 1.5rem auto 2rem; color: rgba(244, 246, 243, .78); font-family: var(--hge-body); font-weight: 400; letter-spacing: 0; font-size: 1.0625rem; line-height: 1.6; }
/* The H1 is deliberately absent from every entrance selector. */
@media (prefers-reduced-motion: no-preference) {
  /* Hidden until initHero fades them in. If script.js never runs, the fallback animation shows them after 4s. */
  html.js .bs-frag { visibility: hidden; animation: bs-frag-fallback 0s linear 4s forwards; }
  html.js.bs-no-gsap .bs-frag { visibility: visible; }
  html.js .bs-hero:not(.is-lit) :is(.bs-sub, .bs-btn) { opacity: 0; transform: translateY(12px); }
  html.js .bs-hero.is-lit :is(.bs-sub, .bs-btn) { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, background-color .25s ease; }
  html.js .bs-hero.is-lit .bs-sub { transition-delay: .16s; }
  html.js .bs-hero.is-lit .bs-btn { transition-delay: .24s, .24s, 0s, 0s; }
}
@keyframes bs-frag-fallback { to { visibility: visible; } }
/* Hero UI fragments: two quiet clusters of real-looking UI. One shadow, one radius, depth by scale + opacity only. */
.bs-hero-ui { --frag-shadow: 0 18px 44px rgba(2, 10, 24, .42); position: relative; z-index: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.5rem 2rem; width: 100%; max-width: 1180px; margin: 3rem auto 0; pointer-events: none; }
.bs-cluster { position: relative; display: flex; flex-direction: column; }
.bs-cluster--left { align-items: flex-start; }
.bs-cluster--right { align-items: flex-end; }
.bs-frag { position: relative; flex: none; padding: 1rem; border-radius: var(--hge-radius); background: #fff; box-shadow: var(--frag-shadow); color: var(--hge-navy); font-family: var(--hge-body); font-size: .875rem; font-weight: 500; line-height: 1.5; letter-spacing: .005em; font-variant-numeric: tabular-nums; }
.bs-frag-label, .bs-frag-body { display: block; }
/* SMS: a received text bubble with its sender line */
.bs-frag--sms { width: 15rem; border-radius: 18px 18px 18px 6px; z-index: 2; }
.bs-frag-from { display: flex; align-items: center; gap: .5rem; }
.bs-frag-from .bs-frag-label { font-weight: 600; }
.bs-frag-avatar { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: linear-gradient(140deg, var(--hgb-green) 0%, var(--hgb-green-deep) 100%); }
.bs-frag-body { margin-top: .5rem; color: var(--hgb-muted); text-wrap: pretty; }
/* Menu report: one row, item | type | status */
.bs-frag--row { display: flex; align-items: center; gap: 1rem; padding: .625rem .625rem .625rem .875rem; margin: -.5rem 0 0 1.25rem; z-index: 1; opacity: .82; scale: .92; transform-origin: 0 0; white-space: nowrap; }
.bs-row-item { font-weight: 600; }
.bs-row-type { color: var(--hgb-muted); }
.bs-row-pill { padding: .125rem .625rem; border-radius: 999px; background: rgba(61, 192, 102, .16); color: var(--hgb-green-deep); font-weight: 600; }
/* Gift card: a small card shape, 1.6:1 */
.bs-frag--card { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; width: 11.5rem; aspect-ratio: 1.6; padding: .875rem 1rem; background: linear-gradient(150deg, var(--hgb-green) 0%, var(--hgb-green-fill) 100%); color: var(--bs-hero-field); opacity: .82; scale: .94; transform-origin: 100% 0; z-index: 1; }
.bs-frag--card .bs-frag-label { font-weight: 600; white-space: nowrap; }
.bs-card-chip { align-self: flex-end; width: 1.625rem; height: 1.25rem; border-radius: 4px; background: rgba(7, 28, 58, .18); }
/* Score: compact tile, number + label + meter */
.bs-frag--score { width: 12.5rem; margin: -2.5rem 4rem 0 0; z-index: 3; }
.bs-frag-num { display: block; font-size: 2.25rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.bs-frag--score .bs-frag-label { margin-top: .375rem; color: var(--hgb-muted); }
.bs-frag-meter { display: block; height: 4px; margin-top: .75rem; border-radius: 999px; background: rgba(9, 64, 132, .1); overflow: hidden; }
.bs-frag-meter span { display: block; width: 86%; height: 100%; border-radius: inherit; background: var(--hgb-green-fill); }
/* New hire: checklist pill with a completed ring */
.bs-frag--check { display: inline-flex; align-items: center; gap: .625rem; padding: .5rem 1.125rem .5rem .5rem; margin: -.75rem 1.5rem 0 0; border-radius: 999px; z-index: 4; }
.bs-frag--check .bs-frag-label { font-weight: 600; }
.bs-frag-ring { flex: none; display: block; }
.bs-frag-ring circle { stroke: var(--hgb-green-fill); }
.bs-frag-ring path { stroke: var(--hgb-green-deep); }
.bs-btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--hge-display); text-transform: uppercase; font-weight: 600; letter-spacing: .07em; font-size: .9rem; line-height: 1; padding: .95rem 1.9rem; border-radius: 999px; text-decoration: none !important; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.bs-btn--ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff !important; }
.bs-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.bs-btn--solid { background: var(--hge-teal, #1E7D44); color: #fff !important; box-shadow: var(--hge-shadow); }
.bs-btn--solid:hover { background: var(--hge-navy, #094084); }
#bs-main .bs-btn:active { transform: scale(.97); transition: transform .1s ease-out; }
.bs-card { min-width: 0; background: #fff; border: 1px solid rgba(9,64,132,.10); border-radius: var(--hge-radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: none; transition: box-shadow .3s ease; }
#bs-main .bs-card-h, #bs-main .bs-steps h3 { font-family: var(--hge-body) !important; text-transform: none; font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--hge-navy); margin: 0; }
.bs-card-p { margin: 0; }
.bs-show-cap { font-size: .875rem; font-weight: 500; line-height: 1.5; letter-spacing: .005em; color: var(--hgb-muted); }
.bs-card-cta { margin-top: auto; font-weight: 600; color: var(--hgb-green-deep); }
.bs-card-cta:hover { color: var(--hge-navy); }
.bs-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bs-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.bs-step-n { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--hge-radius); color: var(--hgb-green-deep); background: #E4F6EA; font-family: var(--hge-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.bs-steps p { margin: 1rem 0 0; }
.bs-cta { text-align: center; background: linear-gradient(165deg, #094084 0%, #062049 100%); }
.bs-cta .bs-h2 { color: #fff; }
#bs-cta .bs-lead { color: rgba(255,255,255,.82); margin: 1rem auto 2.5rem; }
#bs-cta .bs-btn--solid:hover { background: #2FA85A; color: var(--bs-hero-field) !important; }
@media (hover: hover) { .bs-card:hover { transition: box-shadow .3s ease, transform .3s ease; box-shadow: var(--hge-shadow); transform: translateY(-2px); } }
@media (min-width: 768px) {
  #bs-hero .bs-sub { font-size: 1.1875rem; }
}
@media (min-width: 900px) { .bs-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1179px) {
  .bs-hero { padding-top: 5rem; padding-bottom: 4rem; }
  .bs-hero-ui { gap: 1.5rem 3rem; margin-top: 2.5rem; }
  .bs-cluster--right { display: grid; grid-template-columns: auto auto; align-items: start; }
  .bs-frag--card { grid-area: 1 / 1; margin-top: 1.25rem; transform-origin: 0 0; }
  .bs-frag--score { grid-area: 1 / 2; margin: 0 0 0 -2.5rem; }
  .bs-frag--check { grid-area: 2 / 2; justify-self: end; margin: -.75rem 1rem 0 0; }
}
@media (min-width: 1180px) {
  .bs-hero-inner { width: 520px; }
  #bs-main .bs-h1 { max-width: none; }
  .bs-hero-ui { position: absolute; inset: 0; display: block; margin: 0 auto; }
  .bs-cluster { position: absolute; top: 50%; }
  .bs-cluster--left { left: 1.5rem; translate: 0 -78%; }
  .bs-cluster--right { right: 1.5rem; translate: 0 -40%; }
}
@media (max-width: 767px) {
  .bs-card { padding: 1.5rem; }
  .bs-hero-ui { flex-wrap: nowrap; justify-content: flex-start; align-items: flex-start; gap: 0; max-width: 22rem; margin-top: 2.5rem; }
  .bs-frag--row, .bs-frag--card, .bs-frag--check { display: none; }
  .bs-cluster--right { margin: 3rem 0 0 -.75rem; }
  .bs-frag--sms { width: 13.5rem; }
  .bs-frag--score { width: 8.75rem; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-card, .bs-card:hover, #bs-main .bs-btn, #bs-main .bs-btn:active { transition: none; transform: none; }
  html.js .bs-hero :is(.bs-sub, .bs-btn) { opacity: 1; transform: none; transition: none; }
}
