/* ============================================================
   Wuthqa — The Gate page styles
   Builds on tokens + chrome (home.css) + shared inner styles (inner.css).
   Also links investment.css (reuses the Facts snapshot styles).
   ============================================================ */

/* ---- Hero + 3-number bar fill the viewport on landing ----------- */
/* 119px = sticky chrome (utility 40 + nav 79); 137px = the (compact) stats bar.
   Trim the hero's tall default padding so the content + bar fit one screen. */
.wq-phero2.is-fill { min-height: calc(100vh - 256px); display: flex; align-items: center;
  padding-top: 16px; padding-bottom: 16px; }
.wq-phero2.is-fill .wq-phero2-inner { width: 100%; }

/* ---- Hero stats strip ------------------------------------------- */
.wq-gate-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wq-gate-stat { text-align: center; }
.wq-gate-stat-v { font-family: var(--font-en); font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1;
  color: #fff; letter-spacing: -.02em; }
.wq-gate-stat-l { color: rgba(255, 255, 255, .86); font-size: 13.5px; margin-top: 7px; }

/* ---- 7-step pathway — alternating "Process" layout -------------- */
.wq-psteps { max-width: 1060px; margin: 6px auto 0; }
.wq-pstep { display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(20px, 5vw, 72px); padding: clamp(30px, 5vw, 58px) 0; }
.wq-pstep + .wq-pstep { border-top: 1px solid var(--border); }
/* Non-flip: text left / number right. Flip: number left / text right. */
.wq-pstep.is-flip .wq-pstep-figure { order: -1; }

.wq-pstep-figure { margin: 0; text-align: center; }
.wq-pstep-num { display: inline-block; font-family: var(--font-en); font-weight: 800; letter-spacing: -.045em;
  font-size: clamp(108px, 17vw, 232px); line-height: .82;
  background-repeat: no-repeat; background-position: center 42%; background-size: cover;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-text-stroke: 1px rgba(171, 140, 57, .35); }

.wq-pstep-body h3 { color: var(--teal); font-family: 'Source Serif 4', Georgia, serif; font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.16; margin: 0; }
.wq-pstep-body h3::after { content: ''; display: block; width: 54px; height: 3px; border-radius: 2px;
  background: var(--gold); margin: 16px 0 18px; }
.wq-pstep-body p { color: var(--fg-2); font-size: 15.5px; line-height: 1.8; margin: 0 0 16px; }
.wq-step-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wq-step-tags span { font-family: var(--font-en); font-size: 11.5px; font-weight: 600; color: var(--teal);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-full); padding: 5px 12px; }

/* ---- Services included (dark icon cards) ------------------------ */
.wq-gsv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wq-gsv-card { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg);
  padding: 30px 26px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .3s var(--ease), transform .3s var(--ease); }
.wq-gsv-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.wq-gsv-ic { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
  border-radius: var(--r-full); background: var(--gold-tint); color: var(--gold); margin-bottom: 16px; }
.wq-gsv-name { color: #fff; font-weight: 600; font-size: 17px; }
.wq-gsv-desc { color: rgba(255, 255, 255, .66); font-size: 13.5px; line-height: 1.6; margin: 8px 0 0; }

/* ---- Why Saudi — red CTA panel + dark icon grid (company red) --- */
.wq-whyq { display: grid; grid-template-columns: minmax(280px, 350px) 1fr;
  gap: clamp(20px, 3vw, 40px); align-items: center; }

/* Left: solid red call-to-action panel (company #d8382e) */
.wq-whyq-panel { position: relative; display: flex; flex-direction: column; justify-content: center;
  border-radius: 24px; padding: clamp(28px, 3vw, 38px) clamp(28px, 3.2vw, 42px);
  background: radial-gradient(85% 90% at 22% 16%, #e2493d 0%, rgba(226, 73, 61, 0) 62%),
    linear-gradient(158deg, #d8382e 0%, #ad2a22 100%); }
.wq-whyq-kicker { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.wq-whyq-title { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; color: #fff;
  font-size: clamp(22px, 2.3vw, 28px); line-height: 1.16; letter-spacing: -.01em; margin: 12px 0 0; }
.wq-whyq-desc { color: rgba(255, 255, 255, .84); font-size: 14px; line-height: 1.65; margin: 13px 0 0; }
/* white circular connector notch straddling the panel's right edge */
.wq-whyq-notch { position: absolute; top: 50%; right: -27px; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; background: #fff; }

/* Right: hairline-divided grid of icon cards (gap:1px reveals the divider) */
.wq-whyq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; }
.wq-whyq-card { background: #fff; padding: 24px 24px; transition: background .3s var(--ease); }
.wq-whyq-card:hover { background: var(--surface); }
.wq-whyq-top { display: flex; align-items: center; gap: 12px; }
.wq-whyq-ic { flex-shrink: 0; display: inline-flex; color: #d8382e; }
.wq-whyq-name { color: var(--teal); font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.wq-whyq-cdesc { color: var(--fg-2); font-size: 13px; line-height: 1.55; margin: 12px 0 0; }

/* ---- Founder quote ---------------------------------------------- */
.wq-gquote { max-width: 820px; margin: 0 auto; text-align: center; }
.wq-gquote-mark { color: var(--gold); display: inline-flex; }
.wq-gquote blockquote { margin: 14px 0 22px; color: #fff; font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; font-style: italic; }
.wq-gquote figcaption .n { display: block; color: var(--gold); font-weight: 600; font-size: 16px; }
.wq-gquote figcaption .r { display: block; color: rgba(255, 255, 255, .6); font-size: 13.5px; margin-top: 4px; }

/* ---- Closing CTA ------------------------------------------------ */
.wq-gcta { max-width: 720px; margin: 0 auto; text-align: center; }
.wq-gcta h2 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; color: #fff;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin: 0 0 16px; }
.wq-gcta p { color: rgba(255, 255, 255, .82); font-size: 16.5px; line-height: 1.8; margin: 0 0 26px; }
.wq-gcta .wq-btn { margin: 0 auto; }
.wq-gcta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-top: 26px; }
.wq-gcta-links a, .wq-gcta-links span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.wq-gcta-links a { font-weight: 600; }
.wq-gcta-links a:hover { color: var(--gold); }
.wq-gcta-links svg, .wq-gcta-links [data-lucide] { color: var(--gold); }

/* ---- Responsive ------------------------------------------------- */
@media (max-width: 980px) {
  .wq-gsv-grid { grid-template-columns: repeat(2, 1fr); }
  /* stack the red panel on top of the grid; move the notch to the seam */
  .wq-whyq { grid-template-columns: 1fr; gap: 0; }
  .wq-whyq-panel { border-radius: 24px 24px 0 0; }
  .wq-whyq-notch { top: auto; bottom: -27px; right: 50%; transform: translateX(50%); }
  .wq-whyq-grid { border-radius: 0 0 18px 18px; }
}
@media (max-width: 760px) {
  .wq-phero2.is-fill { min-height: 0; display: block; padding-top: 64px; padding-bottom: 70px; }
  .wq-pstep { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .wq-pstep .wq-pstep-figure,
  .wq-pstep.is-flip .wq-pstep-figure { order: -1; }
  .wq-pstep-body h3::after { margin-left: auto; margin-right: auto; }
  .wq-step-tags { justify-content: center; }
  .wq-gate-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .wq-whyq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .wq-gsv-grid { grid-template-columns: 1fr; }
  .wq-whyq-grid { grid-template-columns: 1fr; }
}
