/* ==========================================================================
   TAQUDI · Homepage visual pilot (Checkpoint A) — loaded by index.html only.
   Brand lock: only the existing palette from styles.css is used —
   navy #0B1320 / #0a1526 / #16233b / #1e3350 · teal #00B8A3 / #2fd4c4 / #009486
   · light #E6ECF1 · grey #64748B · text #f2f6fa / #cdd8e4 / #94a5b8.
   The redesign comes from layout, type, diagrams and motion — not new colours.
   ========================================================================== */

.home-x {
  --hx-navy: #0B1320;
  --hx-paper: #0a1526;
  --hx-800: #16233b;
  --hx-700: #1e3350;
  --hx-card: #101f34;
  --hx-teal: #00B8A3;
  --hx-teal-l: #2fd4c4;
  --hx-teal-d: #009486;
  --hx-light: #E6ECF1;
  --hx-grey: #64748B;
  --hx-ink: #f2f6fa;
  --hx-text: #cdd8e4;
  --hx-soft: #94a5b8;
  --hx-line: rgba(230, 236, 241, .09);
  --hx-line-2: rgba(230, 236, 241, .16);
  --hx-tline: rgba(0, 184, 163, .38);
  --hx-maxw: 1240px;
  background: var(--hx-navy);
}
.home-x main [id] { scroll-margin-top: 80px; }
.hx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hx-wrap { width: min(100% - 48px, var(--hx-maxw)); margin-inline: auto; position: relative; }

/* ---------- Type primitives ---------- */
.hx-eye {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--hx-teal-l);
}
.hx-eye::before { content: ""; width: 28px; height: 1px; background: var(--hx-teal); }
html[dir="rtl"] .hx-eye { font-family: var(--font); letter-spacing: 0; font-size: 14px; font-weight: 600; }
.hx-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; color: var(--hx-ink); margin: 0; max-width: 24ch; }
html[dir="rtl"] .hx-h2 { line-height: 1.35; letter-spacing: 0; font-weight: 700; }
.hx-sub { color: var(--hx-soft); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; margin: 0; max-width: 52ch; }
.hx-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 68px); }
.hx-sec { position: relative; padding: clamp(80px, 9vw, 128px) 0; }
.hx-link { display: inline-flex; align-items: center; gap: 10px; color: var(--hx-teal-l); font-weight: 600; font-size: 15px; }
.hx-link::after { content: "→"; transition: transform .2s ease; }
html[dir="rtl"] .hx-link::after { content: "←"; }
.hx-link:hover::after { transform: translateX(4px); }
html[dir="rtl"] .hx-link:hover::after { transform: translateX(-4px); }
.hx-more { margin-top: 44px; }

/* ---------- Buttons ---------- */
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px;
  font-weight: 600; font-size: 16px; border-radius: 4px; border: 1px solid transparent; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.hx-btn:active { transform: translateY(1px); }
.hx-btn-p { background: var(--hx-teal); color: #04231f; }
.hx-btn-p:hover { background: var(--hx-teal-l); }
.hx-btn-g { border-color: var(--hx-line-2); color: var(--hx-ink); background: rgba(11, 19, 32, .35); }
.hx-btn-g:hover { border-color: var(--hx-teal-l); color: var(--hx-teal-l); }
.hx-arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
html[dir="rtl"] .hx-arr { transform: scaleX(-1); }
.hx-btn-p:hover .hx-arr { transform: translateX(3px); }
html[dir="rtl"] .hx-btn-p:hover .hx-arr { transform: scaleX(-1) translateX(3px); }

/* ---------- Header: part of the hero, solid once scrolled ---------- */
.home-x .hx-header {
  position: fixed; inset-inline: 0; top: 0; background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s ease, border-color .3s ease;
}
.home-x .hx-header.scrolled, .home-x .hx-header.menu-open {
  background: rgba(11, 19, 32, .92); border-bottom-color: var(--hx-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.home-x .hx-header .container { width: min(100% - 48px, 1320px); max-width: none; }
.home-x .hx-header .nav { height: 80px; }
.home-x .hx-header .brand-mark { width: 42px; height: 37px; }
.home-x .hx-header .brand-text b { font-size: 20px; letter-spacing: .14em; }
.home-x .hx-header .nav-links { gap: 30px; }
.home-x .hx-header .nav-links a, .home-x .hx-header .nav-dd-toggle { font-size: 15px; color: rgba(230, 236, 241, .78); }
.home-x .hx-header .nav-links a:hover, .home-x .hx-header .nav-links a.active { color: #fff; }
.home-x .hx-header .nav-links a.active::after { bottom: -8px; height: 2px; border-radius: 0; background: var(--hx-teal); }
.home-x .hx-header .lang-pill { border: 0; padding: 6px 4px; font-family: var(--mono); letter-spacing: .08em; }
.home-x .hx-header .nav-cta { gap: 16px; }
.home-x .hx-header .nav-cta .btn { border-radius: 4px; padding: 10px 18px; font-size: 14px; box-shadow: none; }
.home-x .hx-header .nav-login-secondary { border: 0; padding-inline: 6px; background: transparent; }

/* ---------- HERO ---------- */
.hx-hero {
  position: relative; overflow: hidden; color: var(--hx-ink);
  min-height: clamp(700px, 100vh, 920px); display: flex; flex-direction: column;
  background:
    radial-gradient(1100px 640px at 72% 78%, rgba(0, 184, 163, .13), transparent 62%),
    linear-gradient(180deg, var(--hx-navy) 0%, var(--hx-paper) 45%, var(--hx-800) 100%);
}
.hx-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hx-hero-main { position: relative; flex: 1; display: flex; flex-direction: column; }
.hx-sky {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 57%; height: min(86%, calc(57vw * .6));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
html[dir="rtl"] .hx-sky {
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(270deg, transparent 0%, #000 38%);
}
.hx-hero-inner { flex: 1; display: flex; align-items: center; padding: 150px 0 120px; }
.hx-hero-copy { position: relative; max-width: 880px; }
.hx-kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--hx-tline); background: rgba(0, 184, 163, .06);
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--hx-teal-l);
}
.hx-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hx-teal); box-shadow: 0 0 0 4px rgba(0, 184, 163, .18); }
html[dir="rtl"] .hx-kicker { font-family: var(--font); letter-spacing: 0; font-size: 14px; font-weight: 600; padding: 7px 12px 7px 14px; }
.hx-h1 { margin: 0 0 28px; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; color: #fff; }
.hx-h1 span { display: block; white-space: nowrap; }
.hx-h1 .hx-l1 { text-shadow: 0 2px 24px rgba(11, 19, 32, .6); }
.hx-h1 .hx-l2 { color: var(--hx-teal-l); }
html[dir="rtl"] .hx-h1 { line-height: 1.3; letter-spacing: 0; font-weight: 700; font-size: clamp(38px, 4.6vw, 70px); }
.hx-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.65; color: var(--hx-text); max-width: 34em; margin: 0 0 40px; }


/* Skyline symbol (shared by hero + closing band) */
.sk-glow { fill: url(#hxGlow); }
.sk-far { fill: #16233b; opacity: .55; }
.sk-mid { fill: url(#hxTower); }
.sk-win-o > * { fill: url(#hxWin); }
.sk-tw { fill: url(#hxTower); }
.sk-edge { fill: none; stroke: rgba(47, 212, 196, .35); stroke-width: 1; }
.sk-orb { fill: #0B1320; stroke: var(--hx-teal-l); stroke-width: 1.5; }
.sk-kc { fill: none; stroke: var(--hx-teal-l); stroke-width: 1.6; stroke-linejoin: round; }
.sk-kc-glow { fill: none; stroke: var(--hx-teal); stroke-width: 6; opacity: .28; filter: blur(3px); }
.sk-lit rect { fill: var(--hx-teal-l); opacity: .5; }
.sk-lit rect:nth-child(3n) { fill: var(--hx-light); opacity: .45; }
.sk-ground { fill: #0B1320; }
.sk-horizon { stroke: rgba(47, 212, 196, .45); stroke-width: 1; }
.sk-trails path { fill: none; stroke: var(--hx-teal); stroke-width: 1.2; opacity: .5; stroke-dasharray: 60 40; }
.js-anim .sk-trails path { animation: hx-trail 14s linear infinite; }
.js-anim .sk-trails path + path { animation-duration: 19s; animation-direction: reverse; }
@keyframes hx-trail { to { stroke-dashoffset: -1000; } }

/* ---------- STAKEHOLDER MODEL ---------- */
.hx-sm { background: var(--hx-paper); border-top: 1px solid var(--hx-line); }
.hx-sm-dia {
  position: relative; display: grid; grid-template-columns: 20% 20.5% 19.5% 40%; grid-template-rows: repeat(3, auto);
  min-height: 460px; align-items: center;
}
.hx-sm-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
html[dir="rtl"] .hx-sm-lines { transform: scaleX(-1); }
.hx-sm-lines .ln { fill: none; stroke: var(--hx-tline); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hx-sm-lines .fl { fill: none; stroke: var(--hx-teal-l); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 3 22; opacity: 0; }
.js-anim .hx-sm-dia .ln { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.4s cubic-bezier(.6, .1, .2, 1) .25s; }
.js-anim .hx-sm-dia.in .ln { stroke-dashoffset: 0; }
.js-anim .hx-sm-dia.in .fl { opacity: .9; animation: hx-flow 2.6s linear 1.6s infinite; }
@keyframes hx-flow { to { stroke-dashoffset: -50; } }

.hx-sm-col { position: relative; z-index: 1; }
.hx-sm-inv { grid-column: 1; grid-row: 1 / 4; }
.hx-sm-hubcol { grid-column: 2 / 4; grid-row: 1 / 4; display: flex; justify-content: center; }
.hx-sm-stk { grid-column: 4; grid-row: 1 / 4; display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; height: 100%; }

.hx-node { position: relative; background: var(--hx-card); border: 1px solid var(--hx-line-2); padding: 22px 22px 22px; }
.hx-node h3 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; color: var(--hx-ink); font-weight: 600; letter-spacing: -.01em; }
.hx-node p { font-size: 14px; line-height: 1.6; color: var(--hx-soft); margin: 0; }
.hx-ic { width: 30px; height: 30px; fill: none; stroke: var(--hx-teal-l); stroke-width: 1.3; margin-bottom: 16px; }
.hx-tag { position: absolute; top: -11px; inset-inline-start: 18px; background: var(--hx-teal); color: #04231f; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; }
html[dir="rtl"] .hx-tag { font-family: var(--font); letter-spacing: 0; font-size: 12.5px; }
.hx-node-inv { margin-inline-end: 0; border-color: var(--hx-tline); }
.hx-node-inv::after { content: ""; position: absolute; top: 50%; inset-inline-end: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--hx-teal-l); box-shadow: 0 0 0 4px rgba(47, 212, 196, .16); }
.hx-node-s { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-content: center; padding: 18px 22px; }
.hx-node-s h3, .hx-node-s p { grid-column: 2; }
.hx-node-s::before { content: ""; position: absolute; top: 50%; inset-inline-start: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--hx-navy); border: 1.5px solid var(--hx-teal-l); }
.hx-code { grid-row: 1 / 3; align-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--hx-teal-l); border: 1px solid var(--hx-tline); padding: 4px 7px; margin-top: 2px; }
.hx-node-s:hover { border-color: var(--hx-tline); }

.hx-hub {
  position: relative; width: 272px; height: 272px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px;
  background: radial-gradient(circle at 50% 38%, #16233b 0%, var(--hx-navy) 72%);
  border: 1px solid var(--hx-teal); box-shadow: 0 0 0 10px rgba(0, 184, 163, .05), 0 0 60px rgba(0, 184, 163, .18);
}
.hx-hub img { width: 52px; height: auto; margin-bottom: 10px; }
.hx-hub b { font-size: 21px; letter-spacing: .16em; color: #fff; }
html[dir="rtl"] .hx-hub b { letter-spacing: 0; font-size: 24px; }
.hx-hub-sub { display: block; font-size: 13.5px; line-height: 1.45; color: var(--hx-text); margin: 6px 0 12px; max-width: 18ch; }
.hx-hub-list { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; line-height: 1.7; color: var(--hx-teal-l); max-width: 190px; }
html[dir="rtl"] .hx-hub-list { font-family: var(--font); font-size: 12.5px; letter-spacing: 0; }
.hx-hub-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hx-hub-ring.r1 { inset: -26px; border: 1px dashed rgba(47, 212, 196, .3); }
.hx-hub-ring.r2 { inset: -52px; border: 1px solid rgba(230, 236, 241, .06); }
.js-anim .hx-hub-ring.r1 { animation: hx-spin 60s linear infinite; }
@keyframes hx-spin { to { transform: rotate(360deg); } }

.hx-princ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 6vw, 84px); border-top: 1px solid var(--hx-line); }
.hx-princ > div { padding: 30px 32px 0; border-inline-start: 1px solid var(--hx-line); }
.hx-princ > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.hx-princ h3 { font-size: 16px; color: var(--hx-teal-l); margin: 0 0 8px; font-weight: 600; }
.hx-princ p { font-size: 14.5px; line-height: 1.7; color: var(--hx-soft); margin: 0; }

/* ---------- JOURNEY ---------- */
.hx-jr-ph { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 26px; }
.hx-jr-ph span {
  grid-column: var(--a) / var(--b); position: relative; margin-inline-end: 22px; padding-top: 12px;
  border-top: 1px solid var(--hx-line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--hx-soft);
}
.hx-jr-ph span::before, .hx-jr-ph span::after { content: ""; position: absolute; top: -1px; width: 1px; height: 7px; background: var(--hx-line-2); }
.hx-jr-ph span::before { inset-inline-start: 0; } .hx-jr-ph span::after { inset-inline-end: 0; }
.hx-jr-ph span:last-child { color: var(--hx-teal-l); border-top-color: var(--hx-tline); }
html[dir="rtl"] .hx-jr-ph span { font-family: var(--font); letter-spacing: 0; font-size: 13px; }
.hx-jr-sec { background: linear-gradient(180deg, var(--hx-navy), var(--hx-paper)); border-top: 1px solid var(--hx-line); overflow: hidden; }
.hx-jr { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); }
.hx-jr::before, .hx-jr::after { content: ""; position: absolute; top: 87px; inset-inline: 0; height: 1px; }
.hx-jr::before { background: var(--hx-line-2); }
.hx-jr::after { height: 2px; top: 86.5px; background: linear-gradient(90deg, var(--hx-teal-d), var(--hx-teal-l)); transform-origin: left center; }
html[dir="rtl"] .hx-jr::after { background: linear-gradient(270deg, var(--hx-teal-d), var(--hx-teal-l)); transform-origin: right center; }
.js-anim .hx-jr::after { transform: scaleX(0); transition: transform 2.2s cubic-bezier(.6, .1, .2, 1) .2s; }
.js-anim .hx-jr.in::after { transform: scaleX(1); }
.hx-jr li { position: relative; padding-inline-end: 22px; }
.hx-jr-n {
  display: block; height: 64px; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(47, 212, 196, .55); font-family: "Inter", var(--font);
}
.hx-jr-dot { position: relative; display: block; width: 13px; height: 13px; margin: 17px 0 26px; border-radius: 50%; background: var(--hx-navy); border: 2px solid var(--hx-teal-l); z-index: 1; }
.hx-jr li:nth-child(n+4) .hx-jr-dot { background: var(--hx-teal-l); }
.hx-jr-last .hx-jr-dot { box-shadow: 0 0 0 6px rgba(47, 212, 196, .16); }
.js-anim .hx-jr li { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js-anim .hx-jr.in li { opacity: 1; transform: none; }
.js-anim .hx-jr.in li:nth-child(2) { transition-delay: .25s; } .js-anim .hx-jr.in li:nth-child(3) { transition-delay: .5s; }
.js-anim .hx-jr.in li:nth-child(4) { transition-delay: .75s; } .js-anim .hx-jr.in li:nth-child(5) { transition-delay: 1s; }
.js-anim .hx-jr.in li:nth-child(6) { transition-delay: 1.25s; } .js-anim .hx-jr.in li:nth-child(7) { transition-delay: 1.5s; }
.hx-jr h3 { font-size: 20px; margin: 0 0 10px; color: var(--hx-ink); font-weight: 600; letter-spacing: -.01em; }
.hx-jr p { font-size: 14px; line-height: 1.65; color: var(--hx-soft); margin: 0; }
.hx-jr li:hover .hx-jr-n { -webkit-text-stroke-color: var(--hx-teal-l); color: rgba(47, 212, 196, .08); }

/* ---------- SERVICE ARCHITECTURE ---------- */
.hx-svc { background: var(--hx-paper); border-top: 1px solid var(--hx-line); }
.hx-fam-grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 24px; align-items: stretch; }
.hx-fam { position: relative; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--hx-line-2); }
.hx-fam-1 { background: var(--hx-card); border-top: 2px solid var(--hx-teal); }
.hx-fam-2 { background: transparent; }
.hx-fam-h { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin-bottom: 34px; }
.hx-fam-n { grid-row: 1 / 3; font-family: var(--mono); font-size: 14px; color: var(--hx-teal-l); padding-top: 8px; }
.hx-fam-h h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; margin: 0 0 10px; color: #fff; font-weight: 600; letter-spacing: -.02em; }
html[dir="rtl"] .hx-fam-h h3 { line-height: 1.45; letter-spacing: 0; }
.hx-fam-h p { font-size: 15px; line-height: 1.65; color: var(--hx-soft); margin: 0; max-width: 54ch; }
.hx-fam-c { grid-column: 2; justify-self: start; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-light); border: 1px solid var(--hx-line-2); padding: 5px 10px; margin-top: 8px; }
html[dir="rtl"] .hx-fam-c { font-family: var(--font); letter-spacing: 0; font-size: 13px; }

.hx-gantt { --lbl: 42%; }
.hx-g-head, .hx-g-row { display: grid; grid-template-columns: 30px calc(var(--lbl) - 30px) 1fr; align-items: center; }
.hx-g-head { padding-bottom: 12px; border-bottom: 1px solid var(--hx-line-2); }
.hx-g-head > span:first-child { grid-column: 1 / 3; }
.hx-g-ph { display: grid; grid-template-columns: repeat(4, 1fr); }
.hx-g-ph span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-soft); padding-inline-start: 8px; border-inline-start: 1px solid var(--hx-line-2); line-height: 1.3; }
html[dir="rtl"] .hx-g-ph span { font-family: var(--font); letter-spacing: 0; font-size: 12.5px; }
.hx-g-row { min-height: 46px; border-bottom: 1px solid var(--hx-line); color: var(--hx-ink); transition: background .18s ease; }
.hx-g-row:hover { background: rgba(0, 184, 163, .06); }
.hx-g-i { font-family: var(--mono); font-size: 11px; color: var(--hx-grey); }
.hx-g-l { font-size: 15px; font-weight: 500; padding-inline-end: 12px; line-height: 1.35; }
.hx-g-row:hover .hx-g-l { color: var(--hx-teal-l); }
.hx-g-t {
  display: grid; grid-template-columns: repeat(4, 1fr); align-self: stretch; align-items: center;
  background-image: linear-gradient(90deg, var(--hx-line) 1px, transparent 1px); background-size: 25% 100%;
}
.hx-g-t i { grid-column: var(--s) / var(--e); height: 8px; margin: 0 6px; border-radius: 1px; background: linear-gradient(90deg, rgba(0, 184, 163, .55), rgba(47, 212, 196, .9)); }
html[dir="rtl"] .hx-g-t i { background: linear-gradient(270deg, rgba(0, 184, 163, .55), rgba(47, 212, 196, .9)); }
.js-anim .hx-g-t i { transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.6, .1, .2, 1); }
html[dir="rtl"].js-anim .hx-g-t i { transform-origin: right center; }
.js-anim .hx-fam-1.in .hx-g-t i { transform: scaleX(1); }
.js-anim .hx-fam-1.in .hx-g-row:nth-child(n+4) .hx-g-t i { transition-delay: .15s; }
.js-anim .hx-fam-1.in .hx-g-row:nth-child(n+7) .hx-g-t i { transition-delay: .3s; }
.js-anim .hx-fam-1.in .hx-g-coord .hx-g-t i { transition-delay: .55s; transition-duration: 1.3s; }
.hx-g-coord { border-top: 1px dashed var(--hx-tline); border-bottom: 0; }
.hx-g-coord .hx-g-l { color: var(--hx-teal-l); font-weight: 600; }
.hx-g-coord .hx-g-t i { height: 12px; background: repeating-linear-gradient(90deg, var(--hx-teal) 0 14px, rgba(0, 184, 163, .4) 14px 18px); }
.hx-g-note { margin: 18px 0 0; font-size: 13.5px; color: var(--hx-soft); padding-inline-start: 30px; }

.hx-spec { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--hx-line-2); }
.hx-spec a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 2px; border-bottom: 1px solid var(--hx-line); color: var(--hx-ink); font-size: 15.5px; font-weight: 500; transition: color .18s ease, padding .18s ease; }
.hx-spec a .hx-arr { color: var(--hx-grey); flex: none; }
.hx-spec a:hover { color: var(--hx-teal-l); padding-inline-start: 8px; }
.hx-spec a:hover .hx-arr { color: var(--hx-teal-l); }

/* ---------- SAUDI CONTEXT ---------- */
.hx-map { margin: 0; direction: ltr; }
.hx-map svg { width: 100%; height: auto; overflow: visible; }
.m-land { fill: url(#hxLand); stroke: var(--hx-teal-l); stroke-width: 1.4; stroke-linejoin: round; }
.m-dots { fill: url(#hxDots); stroke: none; }
.m-arcs path { fill: none; stroke: var(--hx-teal-l); stroke-width: 1.2; stroke-dasharray: 4 5; opacity: .7; }
.js-anim .hx-map .m-arcs path { stroke-dashoffset: 400; opacity: 0; transition: opacity .6s ease .6s; }
.js-anim .hx-map.in .m-arcs path { opacity: .7; animation: hx-arc 9s linear infinite; }
@keyframes hx-arc { from { stroke-dashoffset: 180; } to { stroke-dashoffset: 0; } }
.m-core { fill: var(--hx-teal-l); }
.m-ring { fill: none; stroke: var(--hx-teal-l); stroke-width: 1; opacity: .6; }
.m-pulse { fill: rgba(47, 212, 196, .28); transform-box: fill-box; transform-origin: center; }
.js-anim .hx-map.in .m-pulse { animation: hx-pulse 2.8s ease-out infinite; }
@keyframes hx-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.m-dot { fill: var(--hx-navy); stroke: var(--hx-teal-l); stroke-width: 2; }
.hx-map text { font-family: var(--font); font-size: 15px; fill: var(--hx-light); direction: ltr; unicode-bidi: isolate; }
.m-hub text { font-size: 17px; font-weight: 600; fill: #fff; }
.hx-map .m-n { font-family: var(--mono); fill: var(--hx-teal-l); font-size: 12px; }
.js-anim .hx-map .m-pt { opacity: 0; transition: opacity .5s ease; }
.js-anim .hx-map.in .m-pt { opacity: 1; }
.js-anim .hx-map.in .m-pt:nth-of-type(2) { transition-delay: .5s; } .js-anim .hx-map.in .m-pt:nth-of-type(3) { transition-delay: .65s; }
.js-anim .hx-map.in .m-pt:nth-of-type(4) { transition-delay: .8s; } .js-anim .hx-map.in .m-pt:nth-of-type(5) { transition-delay: .95s; }
.hx-map figcaption { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--hx-grey); }
html[dir="rtl"] .hx-map figcaption { direction: rtl; }

/* ---------- CLOSING CTA ---------- */
.hx-cta { position: relative; overflow: hidden; padding: clamp(96px, 11vw, 150px) 0 clamp(150px, 16vw, 230px); text-align: center; border-top: 1px solid var(--hx-line);
  background: radial-gradient(900px 420px at 50% 100%, rgba(0, 184, 163, .16), transparent 70%), linear-gradient(180deg, var(--hx-paper), var(--hx-800)); }
.hx-cta-sky { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 56%; opacity: .42;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
.hx-cta-in { display: flex; flex-direction: column; align-items: center; }
.hx-cta .hx-eye::after { content: ""; width: 28px; height: 1px; background: var(--hx-teal); }
.hx-cta .hx-h2 { max-width: 22ch; font-size: clamp(32px, 4.2vw, 56px); }
.hx-cta .hx-sub { margin: 22px auto 38px; }
.hx-cta .hx-actions { justify-content: center; }
.hx-diag { margin-top: 26px; font-size: 14.5px; }

/* Entrance: the generic .reveal fades; diagrams animate their own parts. */
.js-anim .hx-sm-dia.reveal, .js-anim .hx-jr.reveal, .js-anim .hx-fam-1.reveal, .js-anim .hx-map.reveal { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .home-x .hx-header .nav-links { gap: 20px; }
  .home-x .hx-header .nav-links a, .home-x .hx-header .nav-dd-toggle { font-size: 14px; }
}
@media (max-width: 1180px) {
  .hx-hub { width: 236px; height: 236px; padding: 24px; }
  .hx-hub-list { display: none; }
  .hx-sky { width: 62%; height: min(80%, calc(62vw * .62)); }
  .hx-fam-grid { grid-template-columns: 1fr; }
  .hx-jr p { font-size: 13.5px; }
  .hx-jr li { padding-inline-end: 16px; }
  .hx-jr-n { font-size: 46px; height: 56px; }
  .hx-jr::before { top: 79px; } .hx-jr::after { top: 78.5px; }
}
@media (max-width: 1100px) {
  .home-x .hx-header .nav-links { gap: 16px; }
}
@media (max-width: 980px) {
  .hx-head { grid-template-columns: 1fr; }
  .hx-sky { width: 100%; inset-inline-end: 0; height: 58%; opacity: .75;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); }
  html[dir="rtl"] .hx-sky { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); }
  .hx-hero { min-height: 0; }
  .hx-hero-inner { padding: 136px 0 300px; align-items: flex-start; }
  .hx-jr-ph { display: none; }

  /* Stakeholder model becomes a vertical flow */
  .hx-sm-dia { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; }
  .hx-sm-lines { display: none; }
  .hx-sm-col { width: 100%; }
  .hx-sm-inv, .hx-sm-hubcol { display: flex; justify-content: center; position: relative; padding-bottom: 64px; }
  .hx-sm-inv::after, .hx-sm-hubcol::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 1px; height: 64px; background: linear-gradient(180deg, var(--hx-teal-l), var(--hx-tline)); }
  .hx-node-inv { width: min(100%, 460px); text-align: center; }
  .hx-node-inv .hx-ic { margin-inline: auto; }
  .hx-node-inv::after { top: auto; bottom: -5px; left: 50%; inset-inline-end: auto; margin-left: -4.5px; margin-top: 0; }
  .hx-sm-hubcol { padding-top: 40px; padding-bottom: 104px; }
  .hx-sm-hubcol::after { height: 72px; bottom: 0; }
  .hx-sm-stk { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; gap: 14px; position: relative; padding-top: 26px; border-top: 1px solid var(--hx-tline); }
  .hx-node-s { grid-template-columns: 1fr; padding: 20px; align-content: start; }
  .hx-node-s h3, .hx-node-s p { grid-column: 1; }
  .hx-code { grid-row: auto; justify-self: start; margin: 0 0 12px; }
  .hx-node-s::before { top: -32px; left: 50%; inset-inline-start: auto; margin-left: -4.5px; margin-top: 0; }
  .hx-princ { grid-template-columns: 1fr; }
  .hx-princ > div { padding: 24px 0; border-inline-start: 0; border-bottom: 1px solid var(--hx-line); }

  /* Journey becomes vertical */
  .hx-jr { grid-template-columns: 1fr; gap: 0; padding-inline-start: 0; }
  .hx-jr::before, .hx-jr::after { top: 8px; bottom: 8px; left: auto; right: auto; inset-inline-start: 6px; inset-inline-end: auto; width: 1px; height: auto; }
  .hx-jr::after { width: 2px; inset-inline-start: 5.5px; transform-origin: center top; background: linear-gradient(180deg, var(--hx-teal-d), var(--hx-teal-l)); }
  html[dir="rtl"] .hx-jr::after { transform-origin: center top; background: linear-gradient(180deg, var(--hx-teal-d), var(--hx-teal-l)); }
  .js-anim .hx-jr::after { transform: scaleY(0); }
  .js-anim .hx-jr.in::after { transform: scaleY(1); }
  .hx-jr li { display: grid; grid-template-columns: 13px 64px 1fr; column-gap: 20px; padding: 0 0 30px; }
  .hx-jr-dot { grid-column: 1; grid-row: 1 / 3; margin: 6px 0 0; }
  .hx-jr-n { grid-column: 2; grid-row: 1 / 3; font-size: 40px; height: auto; }
  .hx-jr h3, .hx-jr p { grid-column: 3; }
  .hx-jr h3 { margin-bottom: 6px; }
  .hx-jr p { font-size: 15px; }

}
@media (max-width: 760px) {
  .hx-gantt { --lbl: 100%; }
  .hx-g-head { display: grid; grid-template-columns: 1fr; }
  .hx-g-head > span:first-child { display: none; }
  .hx-g-row { grid-template-columns: 30px 1fr; row-gap: 8px; padding: 12px 0; }
  .hx-g-t { grid-column: 1 / 3; height: 12px; }
  .hx-g-l { font-size: 15px; }
}
@media (max-width: 640px) {
  .hx-wrap, .home-x .hx-header .container { width: calc(100% - 32px); }
  .home-x .hx-header .nav { height: 68px; }
  .home-x .hx-header .hx-nav-cta { display: none; }
  .home-x .hx-header .brand-mark { width: 36px; height: 32px; }
  .home-x .nav-links.open { top: 62px; }
  .hx-hero-inner { padding: 112px 0 230px; }
  .hx-kicker { font-size: 10.5px; letter-spacing: .1em; margin-bottom: 22px; }
  html[dir="rtl"] .hx-kicker { font-size: 13px; }
  .hx-h1 { font-size: clamp(38px, 11vw, 52px); }
  .hx-h1 span { white-space: normal; }
  html[dir="rtl"] .hx-h1 { font-size: clamp(34px, 10vw, 48px); }
  .hx-lead { margin-bottom: 30px; }
  .hx-actions { flex-direction: column; align-items: stretch; }
  .hx-btn { width: 100%; }
  .hx-sky { height: 40%; }
  .hx-sm-stk { grid-template-columns: 1fr; padding-top: 18px; padding-inline-start: 22px; border-inline-start: 1px solid var(--hx-tline); gap: 12px; }
  .hx-sm-hubcol { padding-bottom: 56px; }
  .hx-sm-hubcol::after { height: 56px; }
  .hx-node-s::before { top: 50%; left: auto; inset-inline-start: -27px; margin-left: 0; margin-top: -4.5px; }
  .hx-node-s::after { content: ""; position: absolute; top: 50%; inset-inline-start: -22px; width: 22px; height: 1px; background: var(--hx-tline); }
  .hx-hub { width: 220px; height: 220px; }
  .hx-hub-ring.r2 { inset: -36px; }
  .hx-hub-ring.r1 { inset: -18px; }
  .hx-fam { padding: 24px 20px; }
  .hx-fam-h { grid-template-columns: 1fr; }
  .hx-fam-n { grid-row: auto; padding: 0; }
  .hx-fam-c { grid-column: 1; }
  .hx-jr li { grid-template-columns: 13px 48px 1fr; column-gap: 16px; }
  .hx-jr-n { font-size: 32px; }
  .hx-map text { font-size: 19px; }
  .m-hub text { font-size: 21px; }
  .hx-map .m-n { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .sk-trails path, .hx-sm-lines .fl, .hx-hub-ring.r1, .m-arcs path, .m-pulse { animation: none !important; }
  .hx-sm-lines .fl { opacity: 0 !important; }
}

/* ==========================================================================
   v2 · aligned with the owner's target concept (image 3):
   full-bleed Riyadh hero · serif display type · floating pillar bar ·
   light "How we help" band with cards + map · light service architecture.
   Serif = IBM Plex Serif (same Plex superfamily as the brand font), English only.
   ========================================================================== */
.home-x { --hx-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif; }
body.lang-en.home-x .hx-h1, body.lang-en.home-x .hx-h2, body.lang-en.home-x .hx-fam-h h3, body.lang-en.home-x .hx-quote p {
  font-family: var(--hx-serif); font-weight: 500; letter-spacing: -.01em;
}
body.lang-en.home-x .hx-h1 { font-size: clamp(40px, 4.7vw, 70px); line-height: 1.08; }
body.lang-en.home-x .hx-h2 { line-height: 1.15; }

/* Hero: the city fills the frame, a navy shade carries the text */
.hx-hero { min-height: clamp(660px, 94vh, 880px); background: #0B1320; }
.hx-hero-main { background: radial-gradient(900px 520px at 70% 85%, rgba(0,184,163,.14), transparent 65%), linear-gradient(180deg, #0B1320 0%, #0a1526 60%, #16233b 100%); }
.hx-hero .hx-sky { top: auto; bottom: 70px; inset-inline-end: 9%; inset-inline-start: auto; width: 62%; height: min(80%, calc(64vw * .6)); opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 86%, transparent 100%); }
html[dir="rtl"] .hx-hero .hx-sky { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 30%, #000 86%, transparent 100%); mask-image: linear-gradient(270deg, transparent 0%, #000 30%, #000 86%, transparent 100%); }
.hx-hero-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,19,32,.94) 0%, rgba(11,19,32,.78) 34%, rgba(11,19,32,.18) 62%, rgba(11,19,32,0) 80%),
              linear-gradient(0deg, rgba(11,19,32,.85) 0%, rgba(11,19,32,0) 30%); }
html[dir="rtl"] .hx-hero-shade {
  background: linear-gradient(270deg, rgba(11,19,32,.94) 0%, rgba(11,19,32,.78) 34%, rgba(11,19,32,.18) 62%, rgba(11,19,32,0) 80%),
              linear-gradient(0deg, rgba(11,19,32,.85) 0%, rgba(11,19,32,0) 30%); }
.hx-hero-inner { padding: 150px 0 190px; align-items: center; justify-content: space-between; gap: 40px; }
.hx-hero-copy { max-width: 760px; }
.hx-kicker { border: 0; background: none; padding: 0; letter-spacing: .24em; color: var(--hx-light); }
.hx-kicker::before { display: none; }
.hx-btn { border-radius: 3px; }
.hx-quote { align-self: flex-start; margin-top: 10px; max-width: 250px; padding-inline-start: 22px; border-inline-start: 1px solid rgba(230,236,241,.4); }
.hx-quote p { margin: 0 0 14px; font-size: 22px; line-height: 1.4; color: var(--hx-ink); }
html[dir="rtl"] .hx-quote p { font-size: 19px; line-height: 1.6; }
.hx-quote span { font-size: 14px; color: var(--hx-soft); }

/* Floating pillar bar straddling hero and the light band */
.hx-pillars-wrap { position: relative; z-index: 3; margin-top: -96px; }
.hx-pillars { display: grid; grid-template-columns: repeat(4, 1fr); background: #0B1320; border: 1px solid rgba(230,236,241,.1); border-radius: 10px; box-shadow: 0 24px 60px rgba(11,19,32,.35); }
.hx-pil { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 22px 32px; border-inline-start: 1px solid rgba(230,236,241,.1); }
.hx-pil:first-child { border-inline-start: 0; }
.hx-pil svg { width: 40px; height: 40px; margin-bottom: 10px; fill: none; stroke: var(--hx-teal-l); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hx-pil b { font-size: 18px; font-weight: 600; color: #fff; }
.hx-pil span { font-size: 14px; color: var(--hx-soft); line-height: 1.5; }
.hx-hero { overflow: visible; }
.hx-hero-main { overflow: hidden; }

/* Light surfaces: re-map the tokens instead of duplicating rules */
.hx-light {
  --hx-ink: #0B1320; --hx-text: #1e3350; --hx-soft: #64748B; --hx-card: #ffffff;
  --hx-line: rgba(11,19,32,.08); --hx-line-2: rgba(11,19,32,.14); --hx-tline: rgba(0,148,134,.45);
  --hx-teal-l: #009486; --hx-light: #1e3350; --hx-grey: #64748B;
  background-color: #ffffff; color: var(--hx-text); border-top: 0;
}
.hx-light .hx-eye { color: #64748B; }
.hx-light .hx-eye::before { background: var(--hx-teal); }
.hx-light .hx-fam-h h3 { color: #0B1320; }
.hx-light .hx-fam-1 { background: #ffffff; box-shadow: 0 1px 0 rgba(11,19,32,.04), 0 18px 40px rgba(11,19,32,.06); }
.hx-light .hx-fam-2 { background: rgba(230,236,241,.45); border-color: transparent; }
.hx-light .hx-g-row:hover { background: rgba(0,184,163,.07); }
.hx-light .hx-g-t i { background: linear-gradient(90deg, #009486, #00B8A3); }
.hx-light .hx-g-coord .hx-g-t i { background: repeating-linear-gradient(90deg, #00B8A3 0 14px, rgba(0,184,163,.35) 14px 18px); }
.hx-light .hx-spec a .hx-arr { color: #64748B; }
.hx-svc.hx-light { background: linear-gradient(180deg, rgba(230,236,241,0) 0%, rgba(230,236,241,.6) 100%), #ffffff; }

/* How we help */
.hx-help { padding: 150px 0 110px; background: linear-gradient(180deg, #E6ECF1 0%, rgba(230,236,241,0) 70%), #ffffff; }
.hx-help-grid { display: grid; grid-template-columns: 1fr 1.08fr .92fr; gap: 36px; align-items: center; }
.hx-help .hx-h2 { font-size: clamp(30px, 3.2vw, 46px); max-width: 14ch; }
.hx-help .hx-sub { margin: 20px 0 26px; font-size: 16.5px; color: #1e3350; }
.hx-help .hx-link { color: #0B1320; padding-bottom: 6px; border-bottom: 2px solid var(--hx-teal); }
.hx-help-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hx-hc { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; min-height: 150px; background: rgba(230,236,241,.6); border: 1px solid rgba(11,19,32,.05); border-radius: 6px; transition: background .2s ease, transform .2s ease; }
.hx-hc:hover { background: #E6ECF1; transform: translateY(-2px); }
.hx-hc svg { width: 30px; height: 30px; margin-bottom: 8px; fill: none; stroke: #009486; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hx-hc b { font-size: 18px; color: #0B1320; font-weight: 600; }
.hx-hc span { font-size: 14px; line-height: 1.5; color: #64748B; }
.hx-help-map { position: relative; }
.hx-acr { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.hx-acr-h { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #0B1320; font-weight: 600; }
html[dir="rtl"] .hx-acr-h { font-family: var(--font); letter-spacing: 0; font-size: 16px; }
.hx-acr span:last-child { font-size: 14px; color: #64748B; }
.hx-help .hx-map { margin-top: -6px; }
.hx-help .m-land { fill: #E6ECF1; stroke: rgba(100,116,139,.55); stroke-width: 1.2; }
.hx-help .m-dots { fill: url(#hxDots); opacity: .55; }
.hx-help .m-arcs path { stroke: #009486; opacity: .55; }
.hx-help .m-dot { fill: #fff; stroke: #0B1320; stroke-width: 2; }
.hx-help .m-core { fill: #0B1320; } .hx-help .m-ring { stroke: #009486; } .hx-help .m-pulse { fill: rgba(0,184,163,.3); }
.hx-help .hx-map text { fill: #1e3350; font-size: 17px; }
.hx-help .m-hub text { fill: #0B1320; font-size: 19px; font-weight: 700; }
.hx-help .hx-map figcaption { color: #64748B; font-size: 11.5px; margin-top: 4px; }
.hx-aldur { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; background: #0B1320; border-radius: 6px; color: #E6ECF1; font-size: 13.5px; }
.hx-aldur img { width: 30px; height: auto; flex: none; }
.js-anim .hx-help-map .m-arcs path { opacity: .55; }
.js-anim .hx-help-map .m-pt { opacity: 1; }

@media (max-width: 1180px) {
  .hx-help-grid { grid-template-columns: 1fr 1fr; }
  .hx-help-copy { grid-column: 1 / -1; }
  .hx-help .hx-h2 { max-width: 22ch; }
  .hx-quote { display: none; }
}
@media (max-width: 980px) {
  .hx-hero-inner { padding: 130px 0 180px; }
  .hx-hero .hx-sky, html[dir="rtl"] .hx-hero .hx-sky { inset-inline-end: 0; width: 100%; height: 55%; bottom: 60px; opacity: .8; -webkit-mask-image: none; mask-image: none; }
  .hx-hero-shade, html[dir="rtl"] .hx-hero-shade { background: linear-gradient(180deg, rgba(11,19,32,.9) 0%, rgba(11,19,32,.72) 45%, rgba(11,19,32,.2) 75%, rgba(11,19,32,.7) 100%); }
  .hx-pillars { grid-template-columns: repeat(2, 1fr); }
  .hx-pil:nth-child(3) { border-inline-start: 0; }
  .hx-pil:nth-child(n+3) { border-top: 1px solid rgba(230,236,241,.1); }
  .hx-pillars-wrap { margin-top: -110px; }
}
@media (max-width: 760px) {
  .hx-help-grid { grid-template-columns: 1fr; }
  .hx-help { padding-top: 90px; }
}
@media (max-width: 640px) {
  .hx-hero-inner { padding: 110px 0 140px; }
  .hx-pil { padding: 22px 12px; }
  .hx-pil b { font-size: 15.5px; }
  .hx-pil span { font-size: 12.5px; }
  .hx-pil svg { width: 32px; height: 32px; margin-bottom: 4px; }
  .hx-pillars-wrap { margin-top: -80px; }
  .hx-help-cards { gap: 10px; }
  .hx-hc { padding: 18px 16px; min-height: 0; }
  .hx-help .hx-map text { font-size: 24px; }
  .hx-help .m-hub text { font-size: 26px; }
}

/* v2.1 · hero photograph (owner-selected Riyadh image) replaces the line-art skyline */
.hx-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 62%; }
html[dir="rtl"] .hx-photo { object-position: 78% 62%; } /* the city is never mirrored */
.hx-hero-main { background: #0B1320; }
@media (max-width: 980px) { .hx-photo { object-position: 80% 60%; } }
/* With the photo, Kingdom Centre owns the right side in both languages:
   the side quote is retired, and in Arabic the copy block sits over the open sky
   on the left (text still right-aligned) so the tower is never covered. */
.hx-quote { display: none; }
html[dir="rtl"] .hx-hero-inner { justify-content: flex-end; }
html[dir="rtl"] .hx-hero-shade {
  background: linear-gradient(90deg, rgba(11,19,32,.92) 0%, rgba(11,19,32,.72) 36%, rgba(11,19,32,.15) 64%, rgba(11,19,32,0) 80%),
              linear-gradient(0deg, rgba(11,19,32,.85) 0%, rgba(11,19,32,0) 30%);
}
html[dir="rtl"] .hx-hero-copy { max-width: 700px; }
@media (max-width: 980px) {
  html[dir="rtl"] .hx-hero-inner { justify-content: flex-start; }
  html[dir="rtl"] .hx-hero-shade { background: linear-gradient(180deg, rgba(11,19,32,.9) 0%, rgba(11,19,32,.72) 45%, rgba(11,19,32,.2) 75%, rgba(11,19,32,.7) 100%); }
}
