


  .sa-hiw {
    --sa-orange: #F26522;
    --sa-orange-soft: rgba(242,101,34,.32);
    --sa-blue: #3B9EFF;
    --sa-blue-soft: rgba(59,158,255,.32);
    --sa-green: #2FCB6B;
    --sa-text: #ECECF1;
    --sa-muted: #9A9AAB;
    --sa-card: #101018;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 84px 24px 96px;
    background:
      radial-gradient(900px 400px at 50% 0%, rgba(242,101,34,.10), transparent 70%),
      radial-gradient(700px 340px at 90% 100%, rgba(59,158,255,.08), transparent 70%),
      #08080d;
    color: var(--sa-text);
    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
  }
  .sa-hiw *, .sa-hiw *::before, .sa-hiw *::after { box-sizing: border-box; }
  .sa-hiw::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  }

  .sa-hiw__head { position: relative; text-align: center; margin: 0 auto 36px; max-width: 760px; }
  .sa-hiw__title { margin: 0 0 12px; font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
  .sa-hiw__title span { color: var(--sa-orange); }
  .sa-hiw__sub { margin: 0; color: var(--sa-muted); font-size: 17px; line-height: 1.5; }

  /* ================= FLOW (desktop: floating zig-zag) ================= */
  .sa-hiw__flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    column-gap: 22px;
    max-width: 1500px;
    margin: 0 auto;
  }
  .sa-hiw__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
  .sa-hiw__lines path {
    fill: none; stroke: var(--sa-orange); stroke-width: 2.5; stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    filter: drop-shadow(0 0 5px rgba(242,101,34,.6));
    transition: stroke-dashoffset .9s ease;
  }
  .sa-hiw__lines path.is-loop { stroke: var(--sa-blue); filter: drop-shadow(0 0 5px rgba(59,158,255,.7)); }
  .sa-hiw__lines path.is-emerg { stroke: #FF8A4C; stroke-width: 3; }
  .sa-hiw__lines path.is-drawn { stroke-dashoffset: 0; }

  .sa-hiw__runner {
    position: absolute; left: 0; top: 0; z-index: 0;
    width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border-radius: 50%; pointer-events: none; opacity: 0;
    background: radial-gradient(circle, #fff 0 25%, var(--sa-orange) 50%, rgba(242,101,34,0) 72%);
    box-shadow: 0 0 16px 6px rgba(242,101,34,.6);
  }
  .sa-hiw__runner.is-blue { background: radial-gradient(circle, #fff 0 25%, var(--sa-blue) 50%, rgba(59,158,255,0) 72%); box-shadow: 0 0 16px 6px rgba(59,158,255,.65); }

  /* card = placement + reveal, float = bobbing, box = visuals */
  .sa-hiw__card {
    position: relative; z-index: 1;
    grid-row: 2; grid-column: var(--c);
    align-self: start;
    margin-top: calc(var(--z) * 84px);
  }
  .sa-hiw__float { animation: sa-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.85s); }
  @keyframes sa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

  .sa-hiw__box {
    position: relative;
    display: flex; flex-direction: column; gap: 10px;
    padding: 18px 16px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)), var(--sa-card);
    border: 1.5px solid var(--sa-orange-soft);
    border-radius: 18px;
    box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02);
    transition: border-color .45s, box-shadow .45s;
  }
  .sa-hiw__card.is-show .sa-hiw__box,
  .sa-hiw:not(.sa-hiw--anim) .sa-hiw__box { border-color: rgba(242,101,34,.6); box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 26px rgba(242,101,34,.16); }

  .sa-hiw__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .sa-hiw__num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--sa-orange); }
  .sa-hiw__icon {
    position: relative;
    width: 46px; height: 46px; flex: none;
    display: grid; place-items: center;
    border-radius: 13px;
    background: var(--sa-orange); color: #140804;
    box-shadow: 0 0 18px rgba(242,101,34,.45);
  }
  .sa-hiw__icon svg { width: 24px; height: 24px; }
  .sa-hiw__box h3 { margin: 4px 0 0; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--sa-text); }
  .sa-hiw__box p { margin: 0; font-size: 14px; line-height: 1.5; color: #C6C6D2; overflow-wrap: anywhere; }
  .sa-hiw__box a { color: var(--sa-orange); font-weight: 700; text-decoration: none; white-space: nowrap; }
  .sa-hiw__box a:hover { text-decoration: underline; }

  /* phone card: bigger icon, ringing */
  .sa-hiw__card--phone .sa-hiw__icon { width: 56px; height: 56px; border-radius: 16px; }
  .sa-hiw__card--phone .sa-hiw__icon svg { width: 29px; height: 29px; }
  .sa-hiw__icon::before, .sa-hiw__icon::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    border: 2px solid var(--sa-orange); opacity: 0; pointer-events: none;
  }
  .sa-hiw__card.is-ringing .sa-hiw__box { animation: sa-shake .5s linear infinite; border-color: var(--sa-orange); box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 34px rgba(242,101,34,.45); }
  .sa-hiw__card.is-ringing .sa-hiw__icon svg { animation: sa-ring .5s linear infinite; }
  .sa-hiw__card.is-ringing .sa-hiw__icon::before { animation: sa-ripple 1.2s ease-out infinite; }
  .sa-hiw__card.is-ringing .sa-hiw__icon::after  { animation: sa-ripple 1.2s ease-out .6s infinite; }
  @keyframes sa-shake {
    0%, 100% { transform: translate(0,0) rotate(0); }
    20% { transform: translate(-3px,1px) rotate(-1.4deg); }
    40% { transform: translate(3px,-1px) rotate(1.4deg); }
    60% { transform: translate(-2px,0) rotate(-1deg); }
    80% { transform: translate(2px,1px) rotate(1deg); }
  }
  @keyframes sa-ring {
    0%, 100% { transform: rotate(0); } 15% { transform: rotate(-18deg); } 30% { transform: rotate(16deg); }
    45% { transform: rotate(-14deg); } 60% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); }
  }
  @keyframes sa-ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

  /* green tag */
  .sa-hiw__card--tag .sa-hiw__box { border-color: rgba(47,203,107,.45) !important; }
  .sa-hiw__card--tag.is-show .sa-hiw__box,
  .sa-hiw:not(.sa-hiw--anim) .sa-hiw__card--tag .sa-hiw__box { border-color: rgba(47,203,107,.75) !important; box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 30px rgba(47,203,107,.22); }
  .sa-hiw__card--tag .sa-hiw__icon { background: var(--sa-green); color: #04140a; box-shadow: 0 0 18px rgba(47,203,107,.55); }
  .sa-hiw__card--tag .sa-hiw__num { color: var(--sa-green); }

  .sa-hiw__card.is-ping .sa-hiw__box { animation: sa-ping .9s ease-out; }
  @keyframes sa-ping {
    0% { box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 0 0 rgba(255,255,255,.45); }
    100% { box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 0 16px rgba(255,255,255,0); }
  }

  /* pills: emergency + loop */
  .sa-hiw__card--pill { justify-self: center; max-width: 440px; margin-top: 0; }
  .sa-hiw__card--emerg { grid-row: 1; grid-column: 1 / 4; margin-bottom: 44px; }
  .sa-hiw__card--loop  { grid-row: 3; grid-column: 3 / 8; margin-top: 70px; }
  .sa-hiw__card--pill .sa-hiw__box { flex-direction: row; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; padding-inline: 12px 18px; border-radius: 16px; }
  .sa-hiw__card--emerg .sa-hiw__box { background: #160c08; border-color: var(--sa-orange) !important; }
  .sa-hiw__card--loop .sa-hiw__box { background: #08111d; border-color: var(--sa-blue) !important; box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 26px rgba(59,158,255,.18) !important; }
  .sa-hiw__card--loop .sa-hiw__icon { background: var(--sa-blue); color: #04101c; box-shadow: 0 0 18px rgba(59,158,255,.55); }
  .sa-hiw__card--pill .sa-hiw__icon { width: 40px; height: 40px; border-radius: 12px; }
  .sa-hiw__card--pill .sa-hiw__icon svg { width: 21px; height: 21px; }
  .sa-hiw__card--pill strong { display: block; font-size: 15px; color: #fff; }
  .sa-hiw__card--pill strong em { font-style: normal; color: var(--sa-orange); text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; margin-inline-start: 6px; }
  .sa-hiw__card--pill .sa-hiw__ptext { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: #C9C9D4; }

  /* AI assistant panel */
  .sa-hiw__ai { position: relative; z-index: 1; max-width: 1100px; margin: 40px auto 0; }
  .sa-hiw__ai .sa-hiw__box {
    display: grid; grid-template-columns: auto 1fr 1fr; gap: 18px 28px; align-items: start;
    padding: 22px 26px;
    background: linear-gradient(180deg, rgba(59,158,255,.06), rgba(59,158,255,.02)), var(--sa-card);
    border-color: var(--sa-blue-soft) !important;
    box-shadow: 0 22px 44px rgba(0,0,0,.5) !important;
  }
  .sa-hiw__ai-head { display: flex; align-items: center; gap: 12px; }
  .sa-hiw__ai .sa-hiw__icon { background: rgba(59,158,255,.15); color: var(--sa-blue); box-shadow: none; }
  .sa-hiw__ai h3 { margin: 0; font-size: 17px; }
  .sa-hiw__ai h3 small { display: block; font-size: 13px; font-weight: 400; color: var(--sa-muted); margin-top: 2px; }
  .sa-hiw__ai h4 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sa-blue); }
  .sa-hiw__chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
  .sa-hiw__chips li { font-size: 13.5px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: #D9D9E3; }

  /* ================= REVEAL (only when JS opts in) ================= */
  .sa-hiw--anim [data-rv] {
    opacity: 0;
    transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(.55);
    transition: opacity .5s ease, transform .9s cubic-bezier(.2,.9,.25,1.12);
  }
  .sa-hiw--anim [data-rv].is-show {
    opacity: 1;
    transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(var(--fs, 1));
  }
  .sa-hiw--anim [data-rv].is-hero { z-index: 5; }

  /* ================= STACKED (tablet / mobile) ================= */
  @media (max-width: 1199px) {
    .sa-hiw { padding: 64px 16px 72px; }
    .sa-hiw__sub { font-size: 16px; }
    .sa-hiw__flow { display: flex; flex-direction: column; gap: 26px; max-width: 560px; }
    .sa-hiw__card { margin-top: 0; margin-inline-start: calc(var(--z) * 34px); margin-inline-end: calc((1 - var(--z)) * 34px); }
    .sa-hiw__box { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
    .sa-hiw__top { flex-direction: column-reverse; align-items: center; gap: 6px; }
    .sa-hiw__body { min-width: 0; }
    .sa-hiw__box h3 { margin: 0 0 4px; }
    .sa-hiw__box p { font-size: 14.5px; }
    .sa-hiw__card--pill { justify-self: auto; max-width: none; margin: 0 17px; }
    .sa-hiw__card--pill .sa-hiw__box { align-items: flex-start; }
    .sa-hiw__ai { max-width: 560px; }
    .sa-hiw__ai .sa-hiw__box { grid-template-columns: 1fr; padding: 20px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .sa-hiw__float, .sa-hiw__box, .sa-hiw__icon svg, .sa-hiw__icon::before, .sa-hiw__icon::after { animation: none !important; }
    .sa-hiw__lines path { transition: none; }
    .sa-hiw__runner { display: none; }
  }

/* Keep long translations inside the grid and reserve room for the launcher. */
.sa-hiw__card, .sa-hiw__ai .sa-hiw__box > * { min-width: 0; }
.sa-hiw__box a, .sa-hiw [dir="ltr"] { unicode-bidi: isolate; }
@media (max-width: 1199px) {
  .sa-hiw { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-hiw--anim [data-rv] { opacity: 1; transform: none; transition: none; }
}
/* Compact the fixed assistant only while this section is in the viewport. */
body:has(.sa-hiw--in-view) #sa-chat-launcher { padding: 12px; border-radius: 50%; }
body:has(.sa-hiw--in-view) #sa-chat-launcher > span { display: none; }
/* The homepage's global heading color is for its light sections. */
.sa-hiw .sa-hiw__title { color: var(--sa-text); }
