/* =========================================================
   HERO v3 — full-bleed Riyadh photo, navy veil, premium front view
   (loaded last; overrides hero2.css + theme-light hero rules)
   ========================================================= */
.hero--bleed { --hx-ink: #070d22; --hx-tx: #ffffff; --hx-tx2: rgba(232,238,252,.9); --hx-mut: #c3cde6; --hx-line: rgba(255,255,255,.16); --hx-acc: #9cc9ff;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  min-height: min(100svh, 960px); padding: clamp(120px, 15vh, 160px) 0 clamp(32px, 5vh, 56px) !important; background: var(--hx-ink) !important; color: var(--hx-tx); }
.hero--bleed .hero__gl, .hero--bleed .hero__aurora, .hero--bleed .hero__scroll { display: none !important; }

/* background photo + veil */
.hero--bleed .hero__bg { position: absolute; inset: -60px 0 0; z-index: -2; will-change: transform; }
.hero--bleed .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; transform-origin: 65% 40%; animation: hxKen 36s ease-in-out infinite alternate; }
@keyframes hxKen { from { transform: scale(1.04); } to { transform: scale(1.13); } }
.hero--bleed .hero__veil { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(7,13,34,.94) 0%, rgba(7,13,34,.86) 34%, rgba(7,13,34,.5) 62%, rgba(7,13,34,.22) 100%),
              linear-gradient(0deg, rgba(7,13,34,.96) 0%, rgba(7,13,34,.55) 22%, transparent 45%),
              linear-gradient(180deg, rgba(7,13,34,.55) 0%, transparent 22%); }
html[dir="rtl"] .hero--bleed .hero__veil { background:
  linear-gradient(270deg, rgba(7,13,34,.94) 0%, rgba(7,13,34,.86) 34%, rgba(7,13,34,.5) 62%, rgba(7,13,34,.22) 100%),
  linear-gradient(0deg, rgba(7,13,34,.96) 0%, rgba(7,13,34,.55) 22%, transparent 45%),
  linear-gradient(180deg, rgba(7,13,34,.55) 0%, transparent 22%); }
/* optional admin video sits between photo and veil */
html .hero--bleed .hero__bgv { display: block !important; position: absolute; inset: 0; z-index: 1; background: transparent; }
.hero--bleed .hero__bgv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero--bleed .hero__bgv.is-playing video { opacity: 1; }

/* content column */
.hero--bleed .hero__inner { position: relative; z-index: 2; display: block !important; width: var(--wrap, min(1240px, 92vw)); margin-inline: auto; }
.hero--bleed .hero__inner > :not(.hero__creds) { max-width: 700px; }
html .hero--bleed .hero__eyebrow { background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.24) !important; color: #e6edff !important; }
html .hero--bleed .hero__eyebrow * { color: inherit !important; }
html .hero--bleed .hero__title, html .hero--bleed .hero__title .split, html .hero--bleed .hero__title .split * { color: var(--hx-tx) !important; -webkit-text-fill-color: var(--hx-tx) !important; }
html .hero--bleed .hero__title { font-size: clamp(40px, 5.4vw, 82px) !important; line-height: 1.02 !important; letter-spacing: -.035em !important; margin-top: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
html[lang="ar"] .hero--bleed .hero__title { font-size: clamp(42px, 5.6vw, 84px) !important; line-height: 1.22 !important; letter-spacing: 0 !important; }
html .hero--bleed .hero__title .line { white-space: normal !important; }
html .hero--bleed .hero__title .line--grad .split, html .hero--bleed .hero__title .line--grad .split * { color: var(--hx-acc) !important; -webkit-text-fill-color: var(--hx-acc) !important; background: none !important; }
html .hero--bleed .hero__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; margin-top: clamp(20px, 2.6vw, 30px); }
html .hero--bleed .hero__sub { max-width: 560px; color: var(--hx-tx2) !important; font-size: clamp(16px, 1.35vw, 19px) !important; line-height: 1.65; }
.hero--bleed .hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
html .hero--bleed .btn--primary { background: #fff !important; color: #0b1636 !important; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6) !important; border: 0 !important; }
html .hero--bleed .btn--primary * { color: inherit !important; stroke: currentColor; }
html .hero--bleed .btn--primary:hover { background: #e9f1ff !important; }
html .hero--bleed .btn--ghost { background: rgba(255,255,255,.06) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.42) !important; box-shadow: none !important; }
html .hero--bleed .btn--ghost * { color: inherit !important; }
html .hero--bleed .btn--ghost:hover { background: rgba(255,255,255,.14) !important; border-color: #fff !important; }

/* ---------- proof bar ---------- */
html .hero--bleed .hero__proof { list-style: none; display: grid !important; grid-template-columns: auto minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; gap: 0 !important;
  max-width: none !important; width: 100%; margin: clamp(40px, 7vh, 72px) 0 0 !important; padding: 0 !important; border-radius: 20px; overflow: hidden;
  background: rgba(10,17,42,.82) !important; border: 1px solid var(--hx-line) !important; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7) !important; }
html .hero--bleed .hero__proof .pf { display: flex !important; align-items: center; gap: 14px; min-height: 84px; padding: 16px 24px !important; border: 0 !important; border-radius: 0 !important; background: none !important; white-space: normal !important; position: relative; }
html .hero--bleed .hero__proof .pf + .pf::before { content: ""; position: absolute; inset-inline-start: 0; top: 20%; bottom: 20%; width: 1px; background: var(--hx-line) !important; }
html .hero--bleed .hero__proof b { font-family: var(--f-display, inherit); color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }
html .hero--bleed .hero__proof span, html .hero--bleed .hero__proof small { color: var(--hx-mut) !important; font-size: 14px; line-height: 1.4; }
.hero--bleed .pf--num b, .hero--bleed .pf--svc b { font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -.02em; }
.hero--bleed .pf--num span { max-width: 15ch; }
.pf__stack { display: inline-flex; flex: none; }
.pf__stack i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid #0a112a; overflow: hidden; font-style: normal; }
.pf__stack i + i { margin-inline-start: -12px; }
.pf__stack img { width: 72%; height: 72%; object-fit: contain; }
html .hero--bleed .pf__more { background: #1d3b8f !important; color: #fff !important; font-size: 12px; font-weight: 700; }
.hero--bleed .pf--v30 svg { flex: none; width: 34px; height: 34px; fill: none; stroke: #3ddc97; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html .hero--bleed .pf--v30 b { display: block; font-family: inherit; font-size: 15px; }
html .hero--bleed .pf--v30 small { display: block; font-size: 13px; }

/* Vision 2030 seal + location tag on the photo side */
html .hero--bleed > .v30 { position: absolute !important; z-index: 3; top: calc(50% - 120px) !important; bottom: auto !important; inset-inline-end: clamp(24px, 6vw, 96px) !important; inset-inline-start: auto !important; width: 140px !important; height: 140px !important; }
.hero--bleed .hero__loc { position: absolute; z-index: 3; top: calc(50% + 40px); inset-inline-end: clamp(24px, 6vw, 96px); display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px;
  border-radius: 999px; background: rgba(10,17,42,.78); border: 1px solid var(--hx-line); color: #fff; font-size: 13.5px; font-weight: 600; }
.hero__loc-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.22); }
html .hero--bleed .hero__cue { color: rgba(255,255,255,.75) !important; }
html .hero--bleed .hero__cue i { background: rgba(255,255,255,.3) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  html .hero--bleed .hero__proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .hero--bleed .hero__proof .pf:nth-child(3)::before { display: none; }
  html .hero--bleed .hero__proof .pf:nth-child(n+3) { border-top: 1px solid var(--hx-line) !important; }
}
@media (max-width: 1000px) { html .hero--bleed > .v30, .hero--bleed .hero__loc { display: none; } }
@media (max-width: 760px) {
  .hero--bleed { min-height: 0; padding-top: 112px !important; }
  .hero--bleed .hero__bg img { object-position: 68% 40%; }
  .hero--bleed .hero__veil, html[dir="rtl"] .hero--bleed .hero__veil { background: linear-gradient(180deg, rgba(7,13,34,.72) 0%, rgba(7,13,34,.82) 45%, rgba(7,13,34,.96) 100%); }
  html .hero--bleed .hero__proof { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  html .hero--bleed .hero__proof .pf { min-height: 0; padding: 14px 16px !important; gap: 10px; flex-direction: column; align-items: flex-start; }
  html .hero--bleed .hero__proof span, html .hero--bleed .hero__proof small { font-size: 13px; }
  .hero--bleed .pf__stack i { width: 34px; height: 34px; }
  html .hero--bleed .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 340px) { html .hero--bleed .hero__proof { grid-template-columns: 1fr; } html .hero--bleed .hero__proof .pf + .pf::before { display: none; } html .hero--bleed .hero__proof .pf + .pf { border-top: 1px solid var(--hx-line) !important; } }

@media (prefers-reduced-motion: reduce) { .hero--bleed .hero__bg img { animation: none; transform: scale(1.04); } .hero--bleed .hero__bg { transform: none !important; } }
html.lite .hero--bleed .hero__bg img { animation: none; transform: scale(1.04); }
/* beat theme-light's outline/accent line rules (they use !important + high specificity) */
html[class] .hero--bleed .hero__title .line .split, html[class] .hero--bleed .hero__title .line .split * { color: #fff !important; -webkit-text-fill-color: #fff !important; -webkit-text-stroke: 0 !important; }
html[class] .hero--bleed .hero__title .line--grad .split, html[class] .hero--bleed .hero__title .line--grad .split * { color: var(--hx-acc) !important; -webkit-text-fill-color: var(--hx-acc) !important; }
html .hero--bleed .hero__cue { display: none !important; }
