/* ==========================================================================================================
   Al-Rayan National Colleges — Continuing Education Centre · public site (Figma «الريان الطبية», page 1:2)
   Tokens are the Figma values; components are prefixed ry-. RTL-first (logical properties everywhere).
   ========================================================================================================== */
:root {
  --ry-navy: #123a7b;
  --ry-navy-2: #1e3c6f;
  --ry-navy-3: #00306e;
  --ry-ink: #001b3d;
  --ry-gold: #c69e58;
  --ry-gold-soft: #f6f1e2;
  --ry-gold-tint: #faf5e9;
  --ry-sky: #0099e9;
  --ry-sky-tint: rgba(0, 153, 233, .08);
  --ry-text: #535965;
  --ry-muted: #818997;
  --ry-bg: #f5f7fb;
  --ry-bg-2: #f7f8fb;
  --ry-line: #e0e2e6;
  --ry-line-2: #eeeff1;
  --ry-white: #fff;
  --ry-container: 1240px;
  --ry-r-sm: 8px;
  --ry-r: 12px;
  --ry-r-md: 16px;
  --ry-r-lg: 24px;
  --ry-shadow-sm: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .1);
  --ry-shadow: 0 13px 33px rgba(28, 39, 115, .02), 0 26px 62px rgba(28, 39, 115, .02), 0 80px 106px rgba(28, 39, 115, .02);
  /* Thmanyah Sans / The Year of Handicrafts are the Figma fonts; they load only if their web files are installed
     (public/site/fonts) — otherwise IBM Plex Sans Arabic (OFL, self-hosted) carries the design. */
  --ry-font: "Thmanyah Sans", "The Year of Handicrafts", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- base ---------- */
.ry-body { margin: 0; font-family: var(--ry-font); color: var(--ry-ink); background: var(--ry-white); font-size: 16px;
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.ry-body *, .ry-body *::before, .ry-body *::after { box-sizing: border-box; }
.ry-body img { max-width: 100%; display: block; }
:where(.ry-body) a { color: inherit; text-decoration: none; }
:where(.ry-body) :is(h1, h2, h3, p) { margin: 0; }
:where(.ry-body) button { font: inherit; cursor: pointer; }
.ry-container { width: 100%; max-width: calc(var(--ry-container) + 40px); margin-inline: auto; padding-inline: 20px; }
.ry-body main > section, .ry-footer { position: relative; }
html:has(.ry-body) { overflow-x: clip; }
.ry-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ry-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ry-white); color: var(--ry-navy);
  padding: 10px 16px; border-radius: var(--ry-r-sm); font-weight: 700; }
.ry-skip:focus { top: 12px; }
.ry-body :focus-visible { outline: 3px solid var(--ry-gold); outline-offset: 2px; }
.ry-ic { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ry-flip { transform: scaleX(-1); }
[dir="ltr"] .ry-arrow { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.ry-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 32px;
  border-radius: var(--ry-r-md); border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 24px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.ry-btn:hover { transform: translateY(-1px); }
.ry-btn--sky { background: var(--ry-sky); color: var(--ry-white); box-shadow: 0 4px 6px rgba(25, 47, 97, .04), 0 10px 15px rgba(25, 47, 97, .04); }
.ry-btn--sky:hover { background: #0088d0; }
.ry-btn--navy { background: var(--ry-navy); color: var(--ry-white); box-shadow: var(--ry-shadow-sm); }
.ry-btn--navy:hover { background: #0e2f66; }
.ry-btn--gold { background: var(--ry-gold); color: var(--ry-white); border-radius: var(--ry-r); box-shadow: var(--ry-shadow-sm); }
.ry-btn--gold:hover { background: #b78d47; }
.ry-btn--glass { background: rgba(255, 255, 255, .1); color: var(--ry-white); border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); font-weight: 500; }
.ry-btn--glass:hover { background: rgba(255, 255, 255, .18); }
.ry-btn--white { background: var(--ry-white); color: var(--ry-navy); border-color: var(--ry-line); }
.ry-btn--white:hover { border-color: var(--ry-navy); }
.ry-btn--outline { background: transparent; color: var(--ry-navy); border-color: var(--ry-line-2); border-radius: var(--ry-r); }
.ry-btn--outline:hover { border-color: var(--ry-navy); background: var(--ry-bg); }
.ry-btn--sm { min-height: 40px; padding: 8px 20px; }
.ry-btn--block { width: 100%; }

/* ---------- section heads ---------- */
.ry-eyebrow { display: block; color: var(--ry-gold); font-size: 14px; font-weight: 500; line-height: 20px; }
.ry-h2 { color: var(--ry-ink); font-size: 48px; font-weight: 800; line-height: 1.25; }
.ry-lead { color: var(--ry-muted); font-size: 18px; line-height: 1.6; }
.ry-head { display: flex; flex-direction: column; gap: 12px; }
.ry-head--center { align-items: center; text-align: center; max-width: 640px; margin-inline: auto; }
.ry-section { padding-block: 80px; position: relative; }
.ry-pattern { position: absolute; width: 792px; height: 485px; background: url(../images/rayan/pattern.png) center / contain no-repeat;
  opacity: .1; pointer-events: none; z-index: 0; }

/* ==========================================================================================================
   HEADER
   ========================================================================================================== */
.ry-header { position: relative; z-index: 50; background: var(--ry-navy); }
.ry-header--overlay { position: absolute; inset-inline: 0; top: 0; background: linear-gradient(180deg, rgba(27, 45, 96, .4) 0%, rgba(27, 45, 96, 0) 100%); }
.ry-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.ry-header__logo img { width: 200px; height: auto; }
.ry-nav { display: flex; align-items: center; gap: 28px; }
.ry-nav a { color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 500; line-height: 20px; position: relative; padding-block: 6px; }
.ry-nav a:hover, .ry-nav a.is-active { color: var(--ry-white); }
.ry-nav a.is-active::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--ry-gold); }
.ry-header__actions { display: flex; align-items: center; gap: 12px; }
.ry-iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ry-r-sm); border: 0; background: transparent;
  color: rgba(255, 255, 255, .85); }
.ry-iconbtn:hover { background: rgba(255, 255, 255, .1); color: var(--ry-white); }
.ry-iconbtn .ry-ic { width: 19px; height: 19px; }
.ry-hlink { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 16px; border-radius: var(--ry-r-sm);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); color: var(--ry-white); font-size: 14px; font-weight: 700; line-height: 20px; }
.ry-hlink:hover { background: rgba(255, 255, 255, .18); }
.ry-hlink--gold { background: var(--ry-gold); border-color: var(--ry-gold); border-radius: var(--ry-r); padding-inline: 20px; box-shadow: var(--ry-shadow-sm); }
.ry-hlink--gold:hover { background: #b78d47; }
.ry-lang { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; }
.ry-lang:hover { color: var(--ry-white); }
.ry-burger { display: none; }
.ry-search { display: none; padding-block: 0 18px; }
.ry-search.is-open { display: block; }
.ry-search form { display: flex; gap: 8px; max-width: 560px; margin-inline-start: auto; }
.ry-search input { flex: 1; min-height: 44px; border-radius: var(--ry-r); border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1);
  color: var(--ry-white); padding-inline: 16px; font: inherit; font-size: 14px; }
.ry-search input::placeholder { color: rgba(255, 255, 255, .7); }

/* mobile drawer */
.ry-drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.ry-drawer.is-open { display: block; }
.ry-drawer__scrim { position: absolute; inset: 0; background: rgba(0, 27, 61, .5); }
.ry-drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(320px, 86vw); background: var(--ry-white);
  display: flex; flex-direction: column; gap: 6px; padding: 20px; overflow-y: auto; box-shadow: 0 0 40px rgba(0, 0, 0, .2); }
.ry-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ry-drawer__top img { width: 150px; background: var(--ry-navy); border-radius: var(--ry-r-sm); padding: 6px 10px; }
.ry-drawer__close { color: var(--ry-ink); }
.ry-drawer__close:hover { background: var(--ry-bg); color: var(--ry-ink); }
.ry-drawer a.ry-drawer__link { padding: 12px 14px; border-radius: var(--ry-r-sm); color: var(--ry-ink); font-weight: 600; }
.ry-drawer a.ry-drawer__link:hover, .ry-drawer a.ry-drawer__link.is-active { background: var(--ry-bg); color: var(--ry-navy); }
.ry-drawer__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; }

/* ==========================================================================================================
   HOME — hero
   ========================================================================================================== */
.ry-hero { position: relative; min-height: 806px; background: var(--ry-navy-2) url(../images/rayan/hero.jpg) center top / cover no-repeat;
  color: var(--ry-white); display: flex; align-items: center; overflow: hidden; }
.ry-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(30, 60, 111, .55) 0%, rgba(30, 60, 111, 0) 60%); }
[dir="ltr"] .ry-hero::after { background: linear-gradient(90deg, rgba(30, 60, 111, .55) 0%, rgba(30, 60, 111, 0) 60%); }
.ry-hero__inner { position: relative; z-index: 1; padding-block: 160px 100px; }
.ry-hero__copy { max-width: 672px; }
.ry-hero__title { font-size: 60px; font-weight: 900; line-height: 1.25; }
.ry-hero__text { margin-top: 16px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 613px; }
.ry-hero__cta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.ry-hero__stats { display: flex; flex-wrap: wrap; gap: 80px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .15); }
.ry-hero__stat b { display: block; color: var(--ry-gold); font-size: 24px; font-weight: 900; line-height: 32px; }
.ry-hero__stat span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 20px; }

/* ---------- why us ---------- */

/* ---------- diplomas ---------- */
.ry-dips { background: var(--ry-bg); padding-block: 80px 76px; }
.ry-dips__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ry-dips__head .ry-head { max-width: 667px; }
.ry-dips__head .ry-h2 { font-weight: 700; }
.ry-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ry-pill { min-height: 37px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--ry-line); background: var(--ry-white); color: var(--ry-muted);
  font-size: 14px; font-weight: 500; line-height: 20px; }
.ry-pill:hover { color: var(--ry-navy); border-color: var(--ry-navy); }
.ry-pill.is-active { background: var(--ry-sky); border-color: var(--ry-sky); color: var(--ry-white); box-shadow: var(--ry-shadow-sm); }
.ry-dips__all { flex: 0 0 auto; }
.ry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 49px; }
.ry-dips__empty { margin-top: 40px; text-align: center; color: var(--ry-muted); }

/* program card */
.ry-card { display: flex; flex-direction: column; background: var(--ry-white); border: 1px solid var(--ry-line-2); border-radius: var(--ry-r-lg); padding: 8px 8px 22px;
  transition: box-shadow .25s, transform .25s; }
.ry-card:hover { box-shadow: var(--ry-shadow); transform: translateY(-3px); }
.ry-card[hidden] { display: none; }
.ry-card__media { position: relative; border-radius: var(--ry-r-md); overflow: hidden; aspect-ratio: 384 / 254; background: var(--ry-bg); }
.ry-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ry-card__tags { position: absolute; inset-inline-start: 12px; top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ry-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; color: var(--ry-white); font-size: 12px; font-weight: 500; line-height: 16px; }
.ry-tag--gold { background: var(--ry-gold); }
.ry-tag--navy { background: var(--ry-navy); }
.ry-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 12px 0; }
.ry-card__title { font-size: 18px; font-weight: 700; line-height: 25px; color: var(--ry-ink); }
.ry-card__title a:hover { color: var(--ry-navy); }
.ry-card__desc { margin-top: 8px; color: var(--ry-text); font-size: 14px; line-height: 23px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.ry-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.ry-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--ry-r-sm); background: var(--ry-sky-tint); color: var(--ry-sky);
  font-size: 12px; font-weight: 500; line-height: 18px; }
.ry-chip .ry-ic { width: 16px; height: 16px; }
.ry-price { margin-top: auto; padding-top: 12px; }
.ry-price__now { display: inline-flex; align-items: center; gap: 4px; color: var(--ry-navy); font-size: 24px; font-weight: 900; line-height: 35px; }
.ry-price__now .ry-riyal { width: 16px; height: 17px; }
.ry-price__old { margin-inline-start: 8px; color: var(--ry-muted); font-size: 14px; text-decoration: line-through; }
.ry-price small { display: block; color: var(--ry-muted); opacity: .8; font-size: 10px; line-height: 15px; }
.ry-card__go { margin-top: 11px; }
.ry-riyal { display: inline-block; width: 1em; height: 1.06em; background: currentColor; flex: 0 0 auto;
  -webkit-mask: url(../images/rayan/riyal.svg) center / contain no-repeat; mask: url(../images/rayan/riyal.svg) center / contain no-repeat; }

/* ---------- featured diploma ---------- */
.ry-feat { padding-block: 100px; overflow: hidden; }
.ry-feat__box { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 682px; background: var(--ry-bg); border: 1px solid var(--ry-line-2);
  border-radius: var(--ry-r-lg); box-shadow: var(--ry-shadow-sm); overflow: hidden; }
.ry-feat__copy { position: relative; z-index: 1; padding: 56px; }
.ry-feat__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: var(--ry-gold-tint); color: var(--ry-gold);
  font-size: 14px; font-weight: 700; line-height: 20px; }
.ry-feat__title { margin-top: 32px; font-size: 48px; font-weight: 900; line-height: 1.25; color: var(--ry-ink); }
.ry-feat__title span { color: var(--ry-sky); }
.ry-feat__text { margin-top: 16px; color: var(--ry-text); font-size: 18px; line-height: 1.6; }
.ry-feat__text b { color: var(--ry-ink); }
.ry-feat__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ry-fact { padding: 16px; border-radius: var(--ry-r); background: var(--ry-white); border: 1px solid var(--ry-line-2); }
.ry-fact span { display: block; color: var(--ry-muted); font-size: 12px; font-weight: 500; line-height: 18px; }
.ry-fact b { display: block; margin-top: 4px; color: var(--ry-ink); font-size: 14px; font-weight: 500; line-height: 20px; }
.ry-feat__cta { margin-top: 40px; }
.ry-feat__media { position: relative; }
.ry-feat__media .ry-pattern { inset-inline-end: -480px; top: -10px; }
.ry-feat__media img { position: absolute; bottom: 0; inset-inline-end: 50px; width: 409px; height: auto; z-index: 1; }
.ry-feat__media::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 265px; z-index: 2; background: linear-gradient(180deg, rgba(247, 248, 251, 0), var(--ry-bg-2)); }

/* ---------- journey steps ---------- */
.ry-steps { padding-block: 0 100px; overflow: hidden; }
.ry-steps .ry-pattern { inset-inline-start: -360px; top: 30px; }
.ry-steps__row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 64px; }
.ry-steps__row::before { content: ""; position: absolute; top: 39px; inset-inline: 10%; height: 1px; background: var(--ry-line); }
.ry-step { position: relative; text-align: center; }
.ry-step__dot { position: relative; display: grid; place-items: center; width: 79px; height: 79px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--ry-white); border: 1px solid var(--ry-line); color: var(--ry-muted); font-size: 18px; font-weight: 700; }
.ry-step--first .ry-step__dot { background: var(--ry-gold); border-color: var(--ry-gold); color: var(--ry-white); box-shadow: 0 4px 6px rgba(198, 155, 88, .08), 0 10px 15px rgba(198, 155, 88, .08); }
.ry-step h3 { font-size: 16px; font-weight: 700; line-height: 24px; color: var(--ry-ink); }
.ry-step p { margin-top: 8px; color: var(--ry-muted); font-size: 12px; line-height: 1.65; }
.ry-steps__cta { margin-top: 56px; text-align: center; }

/* ---------- stats ---------- */
.ry-stats { position: relative; padding-block: 80px; overflow: hidden; color: var(--ry-white);
  background: linear-gradient(110deg, var(--ry-navy-3) 0%, var(--ry-navy-3) 45%, rgba(0, 48, 110, .92) 70%, #4b5f7c 100%); }
.ry-stats .ry-pattern { opacity: .12; inset-inline-start: -320px; top: 44px; filter: brightness(3); }
.ry-stats .ry-head { position: relative; z-index: 1; }
.ry-stats .ry-h2 { color: var(--ry-white); font-weight: 700; }
.ry-stats .ry-lead { color: rgba(255, 255, 255, .7); }
.ry-stats__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
.ry-stat { text-align: center; padding-inline: 16px; }
.ry-stat + .ry-stat { border-inline-start: 1px solid rgba(255, 255, 255, .2); }
.ry-stat b { display: block; color: var(--ry-gold); font-size: 48px; font-weight: 900; line-height: 60px; direction: ltr; }
.ry-stat strong { display: block; margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 28px; }
.ry-stat span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 20px; }

/* ---------- testimonials ---------- */
.ry-tst { padding-block: 100px 40px; overflow: hidden; }
.ry-tst .ry-pattern { left: 50%; transform: translateX(-50%); top: 180px; }
.ry-tst__row { position: relative; z-index: 1; display: flex; justify-content: center; gap: 24px; margin-top: 47px; }
.ry-quote { flex: 0 0 614px; max-width: 100%; padding: 40px 51px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); text-align: center; }
.ry-quote--main { box-shadow: var(--ry-shadow); }
.ry-quote--side { opacity: .32; border-color: #e7ebee; }
.ry-quote img { width: 40px; height: 40px; margin: 0 auto; }
.ry-quote blockquote { margin: 24px 0 0; color: #1b191f; font-size: 18px; line-height: 1.6; }
.ry-quote figcaption { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ry-quote figcaption b { font-size: 14px; font-weight: 700; color: var(--ry-ink); }
.ry-quote figcaption span { color: var(--ry-muted); font-size: 12px; }
.ry-quote figcaption em { margin-top: 2px; font-style: normal; color: var(--ry-gold); font-size: 12px; font-weight: 500; }

/* ---------- FAQ ---------- */
.ry-faq { padding-block: 80px; overflow: hidden; }
.ry-faq .ry-pattern { inset-inline-end: -330px; top: 200px; }
.ry-faq__list { position: relative; z-index: 1; max-width: 816px; margin: 56px auto 0; display: grid; gap: 12px; }
.ry-faq__item { border-radius: var(--ry-r-md); background: var(--ry-white); border: 1px solid var(--ry-line-2); transition: background .2s, border-color .2s, box-shadow .2s; }
.ry-faq__item[open] { background: #fdfcf8; border-color: rgba(198, 168, 75, .2); box-shadow: var(--ry-shadow-sm); }
.ry-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer;
  color: var(--ry-ink); font-size: 16px; font-weight: 600; line-height: 22px; }
.ry-faq__item summary::-webkit-details-marker { display: none; }
.ry-faq__sign { flex: 0 0 auto; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--ry-line-2); color: var(--ry-ink); transition: transform .2s, background .2s; }
.ry-faq__item[open] .ry-faq__sign { background: var(--ry-gold); color: var(--ry-white); transform: rotate(45deg); }
.ry-faq__answer { margin: 0 24px 24px; padding-top: 16px; border-top: 1px solid rgba(198, 168, 75, .1); color: var(--ry-text); font-size: 16px; line-height: 1.65; }
.ry-faq__more { position: relative; z-index: 1; max-width: 816px; margin: 48px auto 0; padding: 32px; border-radius: var(--ry-r-md); background: var(--ry-bg-2);
  border: 1px solid var(--ry-line-2); text-align: center; }
.ry-faq__more p { color: var(--ry-text); margin-bottom: 16px; }
.ry-faq__more .ry-btn { border-radius: var(--ry-r); min-height: 44px; padding-inline: 24px; font-weight: 600; }

/* ---------- final CTA ---------- */
.ry-cta { position: relative; padding-block: 150px 60px; overflow: hidden; color: var(--ry-white); text-align: center;
  background: var(--ry-navy) url(../images/rayan/cta-bg.jpg) center / cover no-repeat; }
.ry-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 58, 123, .55) 0%, rgba(18, 58, 123, .85) 55%, var(--ry-navy) 100%); }
.ry-cta__inner { position: relative; z-index: 1; max-width: 816px; margin-inline: auto; }
.ry-cta h2 { font-size: 60px; font-weight: 900; line-height: 1.25; }
.ry-cta p { margin-top: 16px; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.ry-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.ry-cta__btns .ry-btn--glass { border-radius: var(--ry-r); }
.ry-cta__points { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8); font-size: 14px; }
.ry-cta__points span { display: inline-flex; align-items: center; gap: 8px; }
.ry-cta__points .ry-ic { color: var(--ry-gold); }
.ry-cta__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ry-cta__ring--1 { width: 288px; height: 288px; inset-inline-end: 47px; top: 250px; border: 1px solid rgba(0, 92, 78, .3); opacity: .4; }
.ry-cta__ring--2 { width: 192px; height: 192px; inset-inline-end: 95px; top: 298px; border: 1px solid rgba(198, 168, 75, .2); opacity: .3; }

/* ==========================================================================================================
   FOOTER
   ========================================================================================================== */
.ry-footer { position: relative; overflow: hidden; background: var(--ry-navy); color: var(--ry-white); }
.ry-footer .ry-pattern { inset-inline-end: -320px; top: 198px; opacity: .1; filter: brightness(3); width: 622px; height: 381px; }
.ry-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr 1fr; gap: 40px; padding-block: 100px 50px; }
.ry-footer__brand img { width: 234px; height: auto; }
.ry-social { display: flex; gap: 12px; margin-top: 30px; }
.ry-social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--ry-white); transition: background .2s; }
.ry-social a:hover { background: var(--ry-gold); }
.ry-social svg { width: 16px; height: 16px; fill: currentColor; }
.ry-footer h3 { font-size: 18px; font-weight: 700; line-height: 27px; margin-bottom: 24px; }
.ry-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ry-footer li a { font-size: 14px; line-height: 21px; color: rgba(255, 255, 255, .92); }
.ry-footer li a:hover { color: var(--ry-gold); }
.ry-footer__acc { display: grid; gap: 16px; justify-items: start; }
.ry-footer__acc img.ry-nelc { width: 160px; height: auto; }
.ry-footer__acc img.ry-vision { width: 100px; height: auto; }
.ry-footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .1); }
.ry-footer__bottom .ry-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 64px; padding-block: 20px; }
.ry-footer__bottom p, .ry-footer__bottom a { color: rgba(255, 255, 255, .4); font-size: 14px; line-height: 20px; }
.ry-footer__bottom a:hover { color: var(--ry-white); }
.ry-footer__bottom nav { display: flex; align-items: center; gap: 20px; }
.ry-footer__bottom nav i { color: rgba(255, 255, 255, .2); font-style: normal; }

/* ==========================================================================================================
   RESPONSIVE
   ========================================================================================================== */
@media (max-width: 1199px) {
  .ry-nav { gap: 20px; }
  .ry-header__logo img { width: 170px; }
  .ry-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .ry-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .ry-nav, .ry-header__actions .ry-hide-md { display: none; }
  .ry-burger { display: inline-grid; }
  .ry-header__bar { min-height: 76px; }
  .ry-hero { min-height: 640px; }
  .ry-hero__inner { padding-block: 130px 70px; }
  .ry-hero__title { font-size: 44px; }
  .ry-h2, .ry-feat__title { font-size: 38px; }
  .ry-feat__box { grid-template-columns: 1fr; }
  .ry-feat__media { min-height: 460px; }
  .ry-feat__media img { width: auto; height: 440px; inset-inline-end: 50%; transform: translateX(-50%); }
  [dir="ltr"] .ry-feat__media img { transform: translateX(50%); }
  .ry-cards { grid-template-columns: repeat(2, 1fr); }
  .ry-steps__row { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .ry-steps__row::before { display: none; }
  .ry-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ry-stat:nth-child(3) { border-inline-start: 0; }
  .ry-cta h2 { font-size: 44px; }
  .ry-quote { flex-basis: 100%; }
  .ry-quote--side { display: none; }
}
@media (max-width: 600px) {
  .ry-container { padding-inline: 16px; }
  .ry-header__logo img { width: 140px; }
  .ry-hlink--gold { padding-inline: 14px; min-height: 42px; }
  .ry-hero { min-height: 0; }
  .ry-hero__inner { padding-block: 120px 56px; }
  .ry-hero__title { font-size: 32px; }
  .ry-hero__text { font-size: 16px; }
  .ry-hero__cta .ry-btn { flex: 1 1 100%; }
  .ry-hero__stats { gap: 24px; justify-content: space-between; }
  .ry-section, .ry-dips, .ry-feat, .ry-faq { padding-block: 56px; }
  .ry-h2, .ry-feat__title { font-size: 30px; }
  .ry-lead, .ry-feat__text { font-size: 16px; }
  .ry-cards { grid-template-columns: 1fr; }
  .ry-dips__all { width: 100%; }
  .ry-feat__copy { padding: 28px 20px; }
  .ry-feat__facts { grid-template-columns: 1fr; }
  .ry-feat__cta .ry-btn { width: 100%; }
  .ry-steps { padding-bottom: 56px; }
  .ry-steps__row { grid-template-columns: 1fr 1fr; }
  .ry-stats__grid { grid-template-columns: 1fr 1fr; }
  .ry-stat { padding-inline: 8px; }
  .ry-stat b { font-size: 34px; line-height: 44px; }
  .ry-tst { padding-block: 56px 24px; }
  .ry-quote { padding: 28px 20px; }
  .ry-quote blockquote { font-size: 16px; }
  .ry-cta { padding-block: 90px 48px; }
  .ry-cta h2 { font-size: 32px; }
  .ry-cta p { font-size: 16px; }
  .ry-cta__btns .ry-btn { flex: 1 1 100%; }
  .ry-footer__grid { grid-template-columns: 1fr 1fr; padding-block: 56px 32px; gap: 32px 20px; }
  .ry-footer__bottom .ry-container { justify-content: center; text-align: center; }
}

/* ==========================================================================================================
   INNER PAGES — shared hero (Figma «Hero» 163:5722)
   ========================================================================================================== */
.ry-phero { position: relative; overflow: hidden; background: var(--ry-navy-2); color: var(--ry-white); }
.ry-phero__pattern { width: 1111px; height: 680px; inset-inline-end: -277px; top: 103px; opacity: .1; filter: brightness(3); }
[dir="rtl"] .ry-phero__pattern { inset-inline-end: auto; left: -277px; }
.ry-phero__inner { position: relative; z-index: 1; padding-block: 232px 182px; max-width: calc(var(--ry-container) + 40px); }
.ry-crumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 18px; }
.ry-crumbs a { color: var(--ry-white); }
.ry-crumbs a:hover { color: var(--ry-gold); }
.ry-crumbs [aria-current] { color: rgba(255, 255, 255, .6); }
.ry-phero__title { margin-top: 40px; max-width: 600px; font-size: 60px; font-weight: 700; line-height: 1.25; }
.ry-phero__title span { color: var(--ry-gold); }
.ry-phero__text { margin-top: 24px; max-width: 531px; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.5; }

/* ---------- diplomas listing (162:3277) ---------- */
.ry-list { padding-block: 80px; }
.ry-filters { background: var(--ry-white); border: 1px solid #dde3ef; border-radius: var(--ry-r-lg); padding: 24px 24px 25px; box-shadow: var(--ry-shadow); }
.ry-filters__search { position: relative; display: block; }
.ry-filters__search .ry-ic { position: absolute; inset-inline-start: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ry-muted); }
.ry-filters__search input { width: 100%; min-height: 56px; border: 1px solid #dfe3ea; border-radius: var(--ry-r-md); padding-inline: 56px 20px;
  font: inherit; font-size: 14px; color: var(--ry-ink); background: var(--ry-white); }
.ry-filters__search input::placeholder { color: var(--ry-muted); }
.ry-filters__search input:focus { outline: none; border-color: var(--ry-sky); box-shadow: 0 0 0 3px rgba(0, 153, 233, .15); }
.ry-filters__body { margin-top: 20px; padding-top: 20px; border-top: 1px solid #dde3ef; }
.ry-filters__title { display: flex; align-items: center; gap: 8px; color: var(--ry-ink); font-size: 14px; font-weight: 700; line-height: 20px; }
.ry-filters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.ry-select { position: relative; display: block; }
.ry-select::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-inline-end: 1.6px solid var(--ry-muted); border-bottom: 1.6px solid var(--ry-muted); transform: rotate(45deg); }
.ry-select select { width: 100%; min-height: 44px; appearance: none; -webkit-appearance: none; border: 1px solid #dde3ef; border-radius: var(--ry-r); background: var(--ry-white);
  padding-inline: 16px 36px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ry-ink); cursor: pointer; }
.ry-select select:focus { outline: none; border-color: var(--ry-sky); box-shadow: 0 0 0 3px rgba(0, 153, 233, .15); }
.ry-select select:disabled { color: var(--ry-muted); cursor: default; background: var(--ry-bg-2); }
.ry-filters__clear { min-height: 44px; font-weight: 600; }
.ry-filters__clear:disabled { opacity: .5; cursor: default; transform: none; }
.ry-list__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; }
.ry-list__count { color: var(--ry-ink); font-size: 32px; font-weight: 700; line-height: 48px; }
.ry-sort { display: inline-flex; align-items: center; gap: 12px; color: var(--ry-ink); font-size: 14px; font-weight: 700; }
.ry-select--sm select { min-width: 190px; }
.ry-cards--list { margin-top: 32px; row-gap: 24px; }
.ry-list__results { transition: opacity .2s; }
.ry-list__results.is-loading { opacity: .45; }
.ry-empty { margin-top: 32px; padding: 64px 24px; text-align: center; border: 1px dashed #dde3ef; border-radius: var(--ry-r-lg); background: var(--ry-bg-2); }
.ry-empty .ry-ic { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--ry-muted); }
.ry-empty h3 { font-size: 20px; font-weight: 700; }
.ry-empty p { margin-top: 6px; color: var(--ry-muted); }
.ry-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ry-pager__btn, .ry-pager__num { min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: var(--ry-r); border: 1px solid var(--ry-line); background: var(--ry-white);
  color: var(--ry-ink); font-size: 14px; font-weight: 600; display: inline-grid; place-items: center; }
.ry-pager__btn:hover, .ry-pager__num:hover { border-color: var(--ry-navy); color: var(--ry-navy); }
.ry-pager__num.is-current { background: var(--ry-navy); border-color: var(--ry-navy); color: var(--ry-white); }
.ry-pager__btn.is-disabled { opacity: .45; }
.ry-pager__gap { color: var(--ry-muted); padding-inline: 4px; }

@media (max-width: 991px) {
  .ry-phero__inner { padding-block: 150px 90px; }
  .ry-phero__title { font-size: 44px; }
  .ry-filters__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ry-phero__inner { padding-block: 130px 64px; }
  .ry-phero__title { font-size: 32px; margin-top: 24px; }
  .ry-phero__text { font-size: 15px; }
  .ry-list { padding-block: 40px 56px; }
  .ry-filters { padding: 16px; }
  .ry-filters__grid { grid-template-columns: 1fr; }
  .ry-list__bar { margin-top: 36px; }
  .ry-list__count { font-size: 24px; line-height: 36px; }
  .ry-sort { width: 100%; justify-content: space-between; }
}

/* ==========================================================================================================
   DIPLOMA DETAILS (125:195)
   ========================================================================================================== */
.ry-dhero .ry-phero__inner { padding-block: 200px 48px; }
.ry-dhero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-top: 40px; }
.ry-dhero__copy { max-width: 640px; }
.ry-dhero__title { font-size: 48px; font-weight: 700; line-height: 1.25; }
.ry-pricebox { flex: 0 0 340px; padding: 24px; border-radius: var(--ry-r-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px); }
.ry-pricebox__now { display: flex; align-items: center; gap: 6px; font-size: 28px; font-weight: 700; line-height: 1.3; }
.ry-pricebox__now .ry-riyal { width: 22px; height: 24px; }
.ry-pricebox__now s { margin-inline-start: 8px; font-size: 16px; font-weight: 400; color: rgba(255, 255, 255, .55); }
.ry-pricebox small { display: block; margin: 4px 0 20px; color: rgba(255, 255, 255, .6); font-size: 10px; }
.ry-facts { display: grid; grid-template-columns: repeat(5, 1fr); margin: 56px 0 0; padding: 24px 8px; border-radius: var(--ry-r-lg);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(10px); }
.ry-facts > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding-inline: 20px; }
.ry-facts > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.ry-facts dt { grid-column: 2; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.5; font-weight: 400; }
.ry-facts dd { grid-column: 2; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
.ry-facts .ry-ic { grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--ry-gold); }

.ry-secnav { position: sticky; top: 0; z-index: 40; background: var(--ry-white); border-bottom: 1px solid var(--ry-line-2); }
.ry-secnav .ry-container { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.ry-secnav .ry-container::-webkit-scrollbar { display: none; }
.ry-secnav a { flex: 0 0 auto; padding-block: 18px 16px; border-bottom: 2px solid transparent; color: var(--ry-text); font-size: 14px; white-space: nowrap; }
.ry-secnav a:hover { color: var(--ry-navy); }
.ry-secnav a.is-active { color: var(--ry-gold); border-bottom-color: var(--ry-gold); font-weight: 600; }
.ry-body section[id] { scroll-margin-top: 70px; }

.ry-rich { color: var(--ry-text); font-size: 17px; line-height: 1.75; }
.ry-rich > * + * { margin-top: 12px; }
.ry-rich h2, .ry-rich h3, .ry-rich h4 { color: var(--ry-ink); font-size: 18px; font-weight: 700; margin-top: 20px; }
.ry-rich ul, .ry-rich ol { padding-inline-start: 22px; }
.ry-rich li + li { margin-top: 6px; }
.ry-rich strong, .ry-rich b { color: var(--ry-ink); }

.ry-about-prog { padding-block: 76px 96px; }
.ry-about-prog__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.ry-about-prog__copy .ry-h2 { margin: 12px 0 24px; }
.ry-about-prog__goals { margin-top: 32px; font-size: 18px; font-weight: 700; color: var(--ry-ink); }
.ry-checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.ry-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ry-text); font-size: 14px; line-height: 1.6; }
.ry-checks .ry-ic { color: var(--ry-gold); margin-top: 3px; }
.ry-about-prog__media img { width: 100%; aspect-ratio: 523 / 348; object-fit: cover; border-radius: var(--ry-r-lg); }

.ry-outcomes { padding-block: 80px; background: var(--ry-bg); }
.ry-outcomes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ry-outcome { padding: 28px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); border-bottom: 3px solid var(--ry-gold); }
.ry-outcome i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--ry-r); background: var(--ry-gold-tint); color: var(--ry-gold); }
.ry-outcome i .ry-ic { width: 24px; height: 24px; }
.ry-outcome p { margin-top: 18px; color: var(--ry-text); font-size: 14px; line-height: 1.7; }

.ry-skills { padding-block: 100px; }
.ry-skills__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.ry-skills__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ry-skills__list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--ry-r-md); background: var(--ry-bg-2); border: 1px solid var(--ry-line-2);
  color: var(--ry-ink); font-size: 14px; line-height: 1.6; }
.ry-skills__list span { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ry-gold-tint); color: var(--ry-gold); font-size: 12px; font-weight: 700; }

.ry-reqs { padding-block: 80px; background: var(--ry-bg); }
.ry-reqs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.ry-req { padding: 28px 24px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); }
.ry-req i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--ry-r); background: rgba(0, 153, 233, .08); color: var(--ry-sky); }
.ry-req i .ry-ic { width: 24px; height: 24px; }
.ry-req h3 { margin-top: 18px; font-size: 16px; font-weight: 700; color: var(--ry-ink); }
.ry-req p { margin-top: 8px; color: var(--ry-text); font-size: 14px; line-height: 1.65; }
.ry-admission { margin-top: 32px; padding: 32px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); }
.ry-admission > h3 { font-size: 20px; font-weight: 700; color: var(--ry-ink); margin-bottom: 12px; }

.ry-curr { padding-block: 80px 100px; }
.ry-units { display: grid; gap: 16px; margin-top: 40px; }
.ry-unit { border-radius: var(--ry-r-md); border: 1px solid var(--ry-line-2); background: var(--ry-white); }
.ry-unit[open] { background: #fdfcf8; border-color: rgba(198, 168, 75, .25); box-shadow: var(--ry-shadow-sm); }
.ry-unit summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; }
.ry-unit summary::-webkit-details-marker { display: none; }
.ry-unit__head { flex: 1; display: grid; gap: 2px; }
.ry-unit__head b { color: var(--ry-ink); font-size: 18px; font-weight: 700; }
.ry-unit__head small { color: var(--ry-muted); font-size: 14px; }
.ry-unit__meta { padding: 4px 12px; border-radius: 999px; background: var(--ry-line-2); color: var(--ry-text); font-size: 12px; white-space: nowrap; }
.ry-unit__chev { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ry-line-2); color: var(--ry-ink); transition: transform .2s, background .2s; }
.ry-unit[open] .ry-unit__chev { transform: rotate(180deg); background: var(--ry-gold); color: var(--ry-white); }
.ry-unit__list { list-style: none; margin: 0 24px 24px; padding: 16px 0 0; border-top: 1px solid rgba(198, 168, 75, .15); display: grid; gap: 12px; }
.ry-unit__list li { display: flex; align-items: center; gap: 12px; color: var(--ry-ink); font-size: 14px; }
.ry-unit__list span { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ry-gold-tint); color: var(--ry-gold); font-size: 10px; font-weight: 700; }

@media (max-width: 991px) {
  .ry-dhero .ry-phero__inner { padding-block: 140px 40px; }
  .ry-dhero__top { flex-direction: column; }
  .ry-pricebox { flex-basis: auto; width: 100%; max-width: 420px; }
  .ry-facts { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .ry-facts > div:nth-child(4) { border-inline-start: 0; }
  .ry-about-prog__grid, .ry-skills__grid { grid-template-columns: 1fr; gap: 40px; }
  .ry-outcomes__grid { grid-template-columns: 1fr 1fr; }
  .ry-reqs__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ry-dhero__title { font-size: 30px; }
  .ry-facts { grid-template-columns: 1fr 1fr; padding: 16px 0; }
  .ry-facts > div { padding-inline: 14px; }
  .ry-facts > div:nth-child(odd) { border-inline-start: 0; }
  .ry-facts > div:nth-child(4) { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
  .ry-facts dt { font-size: 13px; }
  .ry-facts dd { font-size: 15px; }
  .ry-facts .ry-ic { width: 34px; height: 34px; padding: 8px; }
  .ry-about-prog, .ry-outcomes, .ry-skills, .ry-reqs, .ry-curr { padding-block: 56px; }
  .ry-outcomes__grid, .ry-reqs__grid { grid-template-columns: 1fr; }
  .ry-rich { font-size: 15px; }
  .ry-unit summary { padding: 16px; flex-wrap: wrap; }
  .ry-unit__meta { order: 3; }
  .ry-admission { padding: 20px; }
}

/* ==========================================================================================================
   ABOUT (151:581)
   ========================================================================================================== */
.ry-word { padding-block: 80px; }
.ry-word__grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.ry-word__quote { position: relative; margin: 28px 0 0; padding-inline-start: 56px; color: var(--ry-gold); font-size: 36px; font-weight: 700; line-height: 1.4; }
.ry-word__quote::before { content: "”"; position: absolute; inset-inline-start: 0; top: -14px; color: rgba(198, 158, 88, .35); font-size: 90px; line-height: 1; font-family: Georgia, serif; }
.ry-word__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.ry-word__cols p { color: var(--ry-text); font-size: 16px; line-height: 1.8; }
.ry-word__photo { position: relative; margin: 0; padding: 12px; border: 1.5px solid var(--ry-gold); border-radius: 190px 190px var(--ry-r-lg) var(--ry-r-lg); }
.ry-word__photo img { width: 100%; aspect-ratio: 360 / 440; object-fit: cover; object-position: top; border-radius: 180px 180px var(--ry-r-md) var(--ry-r-md); }
.ry-word__photo figcaption { position: absolute; inset-inline: 24px; bottom: -28px; padding: 14px 20px; border-radius: var(--ry-r-md); background: var(--ry-navy); color: var(--ry-white);
  text-align: center; box-shadow: var(--ry-shadow); }
.ry-word__photo b { display: block; font-size: 18px; font-weight: 700; }
.ry-word__photo span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .7); font-size: 14px; }

.ry-vmv { padding-block: 80px; background: var(--ry-bg); }
.ry-vmv__title { text-align: center; font-weight: 700; }
.ry-vmv__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: 48px; }
.ry-vmv__card { padding: 40px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); }
.ry-vmv__card h3 { margin-top: 20px; color: var(--ry-ink); font-size: 28px; font-weight: 700; line-height: 1.4; }
.ry-vmv__card p { margin-top: 16px; color: var(--ry-text); font-size: 16px; line-height: 1.7; }
.ry-vmv__card--navy { background: linear-gradient(135deg, var(--ry-navy) 0%, #1e4a95 100%); border-color: transparent; color: var(--ry-white); position: relative; overflow: hidden; }
.ry-vmv__card--navy::after { content: ""; position: absolute; inset-inline-end: -120px; top: -60px; width: 420px; height: 260px; background: url(../images/rayan/pattern.png) center / contain no-repeat; opacity: .08; filter: brightness(4); }
.ry-vmv__card--navy h3 { color: var(--ry-white); font-size: 36px; }
.ry-vmv__card--navy p { color: rgba(255, 255, 255, .75); font-size: 18px; }
.ry-vmv__tag { display: inline-flex; align-items: center; gap: 8px; color: var(--ry-gold); font-size: 14px; font-weight: 700; }
.ry-goals { display: grid; grid-template-columns: 1fr repeat(3, 1.1fr); gap: 20px; align-items: stretch; margin-top: 24px; padding: 32px; border-radius: var(--ry-r-lg);
  background: var(--ry-white); border: 1px solid var(--ry-line-2); }
.ry-goals__head { align-self: center; }
.ry-goals__head h3 { margin-top: 10px; color: var(--ry-ink); font-size: 28px; font-weight: 700; line-height: 1.3; }
.ry-goal { padding: 20px; border-radius: var(--ry-r-md); background: var(--ry-bg-2); border: 1px solid var(--ry-line-2); display: flex; flex-direction: column; gap: 16px; }
.ry-goal__top { display: flex; align-items: center; justify-content: space-between; }
.ry-goal__top i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ry-r); background: var(--ry-gold-tint); color: var(--ry-gold); }
.ry-goal__top span { color: var(--ry-gold); font-size: 14px; font-weight: 700; }
.ry-goal p { color: var(--ry-ink); font-size: 16px; font-weight: 700; line-height: 1.5; }

.ry-story { padding-block: 100px; overflow: hidden; }
.ry-story .ry-pattern { inset-inline-end: -330px; top: -40px; }
.ry-story__title { position: relative; z-index: 1; text-align: center; font-weight: 700; }
.ry-timeline { position: relative; z-index: 1; list-style: none; padding: 0; margin: 64px auto 0; max-width: 1000px; }
.ry-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ry-line); }
.ry-tl { position: relative; display: flex; justify-content: flex-start; padding-block: 12px; }
.ry-tl--alt { justify-content: flex-end; }
.ry-tl__dot { position: absolute; left: 50%; top: 40px; width: 32px; height: 32px; margin-left: -16px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ry-gold-tint); border: 1px solid rgba(198, 158, 88, .3); color: var(--ry-gold); font-size: 14px; font-weight: 700; z-index: 1; }
.ry-tl__dot.is-first { background: var(--ry-gold); color: var(--ry-white); border-color: var(--ry-gold); }
.ry-tl__card { width: calc(50% - 56px); padding: 28px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); box-shadow: var(--ry-shadow); }
.ry-tl__tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(0, 153, 233, .08); color: var(--ry-navy); font-size: 12px; font-weight: 700; }
.ry-tl__card h3 { margin-top: 12px; color: var(--ry-ink); font-size: 30px; font-weight: 700; line-height: 1.3; }
.ry-tl__card p { margin-top: 8px; color: var(--ry-text); font-size: 16px; line-height: 1.7; }

.ry-dist { padding-block: 100px; overflow: hidden; color: var(--ry-white); background: linear-gradient(160deg, var(--ry-navy) 0%, #1a4592 100%); }
.ry-dist .ry-pattern { opacity: .08; filter: brightness(4); inset-inline-start: -330px; top: 0; }
.ry-dist .ry-head { position: relative; z-index: 1; }
.ry-dist__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; margin-top: 48px; align-items: start; }
.ry-dist__tabs { display: grid; gap: 12px; }
.ry-dist__tab { display: block; width: 100%; text-align: start; padding: 18px 20px; border-radius: var(--ry-r-md); border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06); color: var(--ry-white); transition: background .2s, color .2s; }
.ry-dist__tab:hover { background: rgba(255, 255, 255, .12); }
.ry-dist__tab.is-active { background: var(--ry-white); color: var(--ry-ink); border-color: var(--ry-white); }
.ry-dist__tabhead { display: flex; align-items: center; gap: 12px; }
.ry-dist__tabhead i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ry-r); background: rgba(255, 255, 255, .1); color: var(--ry-gold); }
.ry-dist__tab.is-active .ry-dist__tabhead i { background: var(--ry-gold); color: var(--ry-white); }
.ry-dist__tabhead b { flex: 1; font-size: 20px; font-weight: 700; }
.ry-dist__tabhead em { font-style: normal; color: var(--ry-gold); font-size: 14px; font-weight: 700; }
.ry-dist__tabtext { display: none; margin-top: 12px; color: var(--ry-text); font-size: 15px; line-height: 1.7; }
.ry-dist__tab.is-active .ry-dist__tabtext { display: block; }
.ry-dist__panel { position: relative; margin: 0; border-radius: var(--ry-r-lg); overflow: hidden; aspect-ratio: 703 / 560; }
.ry-dist__panel img { width: 100%; height: 100%; object-fit: cover; }
.ry-dist__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 27, 61, 0) 45%, rgba(0, 27, 61, .85) 100%); }
.ry-dist__panel figcaption { position: absolute; z-index: 1; inset-inline-start: 32px; bottom: 28px; display: grid; justify-items: start; gap: 10px; }
.ry-dist__panel figcaption span { padding: 4px 12px; border-radius: 999px; background: var(--ry-gold); color: var(--ry-white); font-size: 12px; font-weight: 700; }
.ry-dist__panel figcaption b { font-size: 48px; font-weight: 700; line-height: 1.2; }

.ry-env { padding-block: 100px; }
.ry-env__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ry-env__copy .ry-h2 span { color: var(--ry-gold); }
.ry-env__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.ry-env__list li { display: flex; gap: 16px; align-items: flex-start; }
.ry-env__list i { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--ry-r); background: var(--ry-gold-tint); color: var(--ry-gold); }
.ry-env__list b { display: block; color: var(--ry-ink); font-size: 20px; font-weight: 700; }
.ry-env__list span { display: block; margin-top: 4px; color: var(--ry-text); font-size: 16px; }
.ry-env__collage { position: relative; min-height: 560px; }
.ry-env__collage img, .ry-env__b { position: absolute; border-radius: var(--ry-r-lg); object-fit: cover; box-shadow: var(--ry-shadow); border: 6px solid var(--ry-white); }
.ry-env__a { inset-inline-start: 0; top: 0; width: 72%; height: 360px; }
.ry-env__b { inset-inline-end: 0; bottom: 0; width: 58%; height: 290px; margin: 0; overflow: hidden; }
.ry-env__b img { position: static; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.ry-env__b figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 32px 16px 12px; background: linear-gradient(180deg, transparent, rgba(0, 27, 61, .8)); color: var(--ry-white); font-size: 16px; font-weight: 700; }
.ry-env__c { inset-inline-start: 6%; bottom: 40px; width: 38%; height: 170px; }

@media (max-width: 991px) {
  .ry-word__grid { grid-template-columns: 1fr; }
  .ry-word__photo { max-width: 360px; margin-inline: auto; order: -1; }
  .ry-vmv__row, .ry-env__grid { grid-template-columns: 1fr; }
  .ry-goals { grid-template-columns: 1fr 1fr 1fr; }
  .ry-goals__head { grid-column: 1 / -1; }
  .ry-dist__grid { grid-template-columns: 1fr; }
  .ry-dist__media { order: -1; }
}
@media (max-width: 600px) {
  .ry-word, .ry-vmv, .ry-story, .ry-dist, .ry-env { padding-block: 56px; }
  .ry-word__quote { font-size: 24px; padding-inline-start: 40px; }
  .ry-word__cols { grid-template-columns: 1fr; gap: 12px; }
  .ry-vmv__card { padding: 24px; }
  .ry-vmv__card h3, .ry-goals__head h3 { font-size: 22px; }
  .ry-vmv__card--navy h3 { font-size: 26px; }
  .ry-goals { grid-template-columns: 1fr; padding: 20px; }
  .ry-timeline::before { left: auto; inset-inline-start: 15px; margin-left: 0; }
  .ry-tl, .ry-tl--alt { justify-content: flex-end; }
  .ry-tl__dot { left: auto; inset-inline-start: 0; margin-left: 0; }
  .ry-tl__card { width: calc(100% - 48px); padding: 20px; }
  .ry-tl__card h3 { font-size: 22px; }
  .ry-dist__panel figcaption b { font-size: 30px; }
  .ry-env__collage { min-height: 380px; }
  .ry-env__a { height: 230px; }
  .ry-env__b { height: 190px; }
  .ry-env__c { height: 110px; bottom: 24px; }
}

/* Figma puts the photo blocks on the start side (right in Arabic) */
@media (min-width: 992px) {
  .ry-word__photo, .ry-dist__media, .ry-env__collage { order: -1; }
  .ry-word__grid { grid-template-columns: 380px 1fr; }
  .ry-dist__grid { grid-template-columns: 1.6fr 1fr; }
}

/* ==========================================================================================================
   CONTACT (162:2762) + shared form fields
   ========================================================================================================== */
.ry-channels { padding-block: 100px 80px; }
.ry-channels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ry-channel { display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2);
  box-shadow: var(--ry-shadow); }
.ry-channel--accent { border-color: var(--ry-gold); }
.ry-channel__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--ry-r); background: var(--ry-navy); color: var(--ry-white); }
.ry-channel__ic .ry-ic { width: 22px; height: 22px; }
.ry-channel h2 { margin-top: 20px; color: var(--ry-ink); font-size: 24px; font-weight: 700; }
.ry-channel__sub { margin-top: 2px; color: var(--ry-muted); font-size: 14px; }
.ry-channel dl { flex: 1; margin: 24px 0 24px; padding-top: 20px; border-top: 1px solid var(--ry-line-2); display: grid; gap: 4px; }
.ry-channel dt { color: var(--ry-muted); font-size: 14px; font-weight: 400; }
.ry-channel dd { margin: 0 0 12px; color: var(--ry-ink); font-size: 15px; font-weight: 700; }
.ry-channel dd a:hover { color: var(--ry-sky); }
.ry-channel dd[dir="ltr"] { text-align: end; }
[dir="rtl"] .ry-channel dd[dir="ltr"] { text-align: right; }
.ry-channel__addr { font-weight: 400 !important; color: var(--ry-text) !important; }
.ry-channel .ry-btn { justify-content: space-between; }

.ry-form-sec { padding-block: 80px 100px; background: var(--ry-bg); }
.ry-form-sec__grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; }
.ry-form-sec__aside .ry-h2 span { color: var(--ry-gold); }
.ry-depts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.ry-depts li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--ry-r-md); background: var(--ry-white); border: 1px solid var(--ry-line-2); }
.ry-depts i { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ry-r); background: var(--ry-gold-tint); color: var(--ry-gold); }
.ry-depts b { display: block; color: var(--ry-ink); font-size: 14px; }
.ry-depts a { color: var(--ry-navy); font-size: 14px; }
.ry-depts a:hover { color: var(--ry-sky); }

.ry-form { padding: 32px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); box-shadow: var(--ry-shadow); }
.ry-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ry-field { display: grid; gap: 8px; align-content: start; }
.ry-field--wide { grid-column: 1 / -1; }
.ry-field > span:first-child { color: var(--ry-ink); font-size: 14px; font-weight: 700; }
.ry-field input, .ry-field textarea { width: 100%; min-height: 48px; border: 1px solid #dde3ef; border-radius: var(--ry-r); background: var(--ry-white); padding: 12px 16px;
  font: inherit; font-size: 15px; color: var(--ry-ink); }
.ry-field textarea { resize: vertical; min-height: 140px; }
.ry-field input::placeholder, .ry-field textarea::placeholder { color: var(--ry-muted); }
.ry-field input:focus, .ry-field textarea:focus { outline: none; border-color: var(--ry-sky); box-shadow: 0 0 0 3px rgba(0, 153, 233, .15); }
.ry-field [aria-invalid="true"] { border-color: #e05252; }
.ry-field small { color: var(--ry-muted); font-size: 12px; }
.ry-field em { color: #e05252; font-size: 12px; font-style: normal; }
.ry-field .ry-select select { min-height: 48px; font-weight: 400; }
.ry-form__foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.ry-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--ry-r); font-size: 14px; font-weight: 600; }
.ry-alert--ok { background: #ecf8f1; border: 1px solid #b6e3c8; color: #1d6b40; }
.ry-alert--err { background: #fdf0f0; border: 1px solid #f1c2c2; color: #a12b2b; }

@media (max-width: 991px) {
  .ry-channels__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .ry-form-sec__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ry-channels { padding-block: 56px 40px; }
  .ry-form-sec { padding-block: 56px; }
  .ry-form { padding: 20px; }
  .ry-form__grid { grid-template-columns: 1fr; }
  .ry-form__foot .ry-btn { width: 100%; }
}

.ry-faq--page { padding-top: 100px; }
.ry-faq--page .ry-faq__list { margin-top: 0; }
@media (max-width: 600px) { .ry-faq--page { padding-top: 48px; } }

/* ==========================================================================================================
   POLICIES (164:7599)
   ========================================================================================================== */
.ry-pol { padding-block: 100px; }
.ry-pol__grid { display: grid; grid-template-columns: minmax(0, 690px) 1fr; gap: 80px; align-items: start; }
.ry-pol__body { display: grid; gap: 32px; }
.ry-pol__sec h2 { color: var(--ry-ink); font-size: 24px; font-weight: 700; line-height: 1.5; margin-bottom: 16px; }
.ry-pol__sec h3 { color: var(--ry-ink); font-size: 18px; font-weight: 600; line-height: 1.6; margin: 20px 0 8px; }
.ry-pol__sec p { color: var(--ry-ink); font-size: 18px; line-height: 1.6; }
.ry-pol__sec p + p { margin-top: 8px; }
.ry-pol__sec ul { margin: 8px 0 0; padding-inline-start: 22px; color: var(--ry-ink); font-size: 18px; line-height: 1.6; }
.ry-pol__sec li + li { margin-top: 6px; }
.ry-pol__sec li::marker { color: var(--ry-gold); }
.ry-pol__sec a { color: var(--ry-navy); font-weight: 600; }
.ry-pol__sec a:hover { color: var(--ry-sky); }
.ry-pol__sec--sub { padding-inline-start: 20px; border-inline-start: 3px solid var(--ry-gold-tint); }
.ry-pol__after { margin-top: 16px !important; padding: 16px 20px; border-radius: var(--ry-r); background: var(--ry-bg-2); }
.ry-pol__table { margin-top: 20px; border: 1px solid var(--ry-line-2); border-radius: var(--ry-r-md); overflow: hidden; }
.ry-pol__table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ry-pol__table th { background: var(--ry-bg); color: var(--ry-ink); font-weight: 700; text-align: start; padding: 16px 20px; }
.ry-pol__table td { padding: 16px 20px; border-top: 1px solid var(--ry-line-2); color: var(--ry-ink); }
.ry-pol__table td:last-child { font-weight: 700; }
.ry-pol__note { margin-top: 16px; padding: 16px 20px; border-radius: var(--ry-r); background: var(--ry-gold-tint); }
.ry-pol__note b { display: flex; align-items: center; gap: 6px; color: var(--ry-gold); font-size: 14px; }
.ry-pol__note ul { margin-top: 8px; font-size: 14px; color: var(--ry-text); }
.ry-pol__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.ry-pol__card { padding: 20px; border-radius: var(--ry-r-md); background: var(--ry-bg-2); border: 1px solid var(--ry-line-2); }
.ry-pol__card h3 { margin: 0; font-size: 17px; }
.ry-pol__card a { display: inline-block; margin-top: 4px; font-size: 14px; }
.ry-pol__card p { margin-top: 12px; font-size: 14px !important; font-weight: 600; color: var(--ry-muted) !important; }
.ry-pol__card ul { font-size: 14px; margin-top: 4px; }
.ry-pol__menu { position: sticky; top: 24px; display: grid; gap: 8px; padding: 24px; border-radius: var(--ry-r-lg); background: var(--ry-bg); border: 1px solid var(--ry-line-2); }
.ry-pol__menu p { color: var(--ry-muted); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.ry-pol__menu a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: var(--ry-r); color: var(--ry-ink); font-size: 15px; font-weight: 600; background: var(--ry-white); border: 1px solid var(--ry-line-2); }
.ry-pol__menu a:hover { border-color: var(--ry-navy); }
.ry-pol__menu a.is-active { background: var(--ry-navy); border-color: var(--ry-navy); color: var(--ry-white); }

@media (max-width: 991px) {
  .ry-pol__grid { grid-template-columns: 1fr; gap: 40px; }
  .ry-pol__menu { position: static; order: -1; }
}
@media (max-width: 600px) {
  .ry-pol { padding-block: 48px 56px; }
  .ry-pol__sec h2 { font-size: 20px; }
  .ry-pol__sec p, .ry-pol__sec ul { font-size: 16px; }
  .ry-pol__cards { grid-template-columns: 1fr; }
  .ry-pol__table th, .ry-pol__table td { padding: 12px 14px; font-size: 14px; }
}

/* ==========================================================================================================
   AUTH (129:2390) — form panel + navy brand panel
   ========================================================================================================== */
.ry-auth { display: grid; grid-template-columns: 1fr 605px; min-height: 100vh; }
.ry-auth__form { display: flex; flex-direction: column; padding: 40px 48px 32px; background: var(--ry-white); }
.ry-auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ry-auth__logo img { width: 200px; height: auto; }
.ry-auth__home { color: var(--ry-muted); font-size: 14px; font-weight: 600; }
.ry-auth__home:hover { color: var(--ry-navy); }
.ry-auth__inner { width: 100%; max-width: 400px; margin: auto; padding-block: 40px; }
.ry-auth__inner--wide { max-width: 760px; }
.ry-auth__title { color: var(--ry-navy); font-size: 30px; font-weight: 700; line-height: 1.25; }
.ry-auth__text { margin-top: 12px; color: #6b7a99; font-size: 15px; line-height: 1.65; }
.ry-tabs { display: flex; gap: 4px; margin-top: 32px; border-bottom: 1px solid var(--ry-line); }
.ry-tabs button { flex: 1; padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: #94a0b8; font-size: 14px; }
.ry-tabs button.is-active { color: var(--ry-gold); border-bottom-color: var(--ry-gold); font-weight: 600; }
.ry-auth__form-fields { display: grid; gap: 20px; margin-top: 28px; }
.ry-auth .ry-alert { margin: 24px 0 0; }
.ry-auth .ry-field > span:first-child { color: #00293d; font-weight: 400; }
.ry-auth .ry-field input { background: #f6f8fd; min-height: 44px; }
.ry-auth .ry-field input[readonly] { color: var(--ry-muted); }
.ry-pass { position: relative; display: block; }
.ry-pass input { padding-inline-end: 48px !important; }
.ry-pass button { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: var(--ry-r-sm); background: none; color: var(--ry-muted); }
.ry-pass button:hover, .ry-pass button[aria-pressed="true"] { color: var(--ry-navy); }
.ry-otp { letter-spacing: 8px; text-align: center; font-size: 20px !important; font-weight: 700; }
.ry-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ry-check { display: inline-flex; align-items: center; gap: 8px; color: var(--ry-text); font-size: 14px; cursor: pointer; }
.ry-check input { width: 18px; height: 18px; accent-color: var(--ry-navy); }
.ry-auth__link { color: var(--ry-gold); font-size: 14px; }
.ry-auth__link:hover { text-decoration: underline; }
.ry-auth__submit { min-height: 52px; border-radius: var(--ry-r); margin-top: 4px; }
.ry-auth__submit:disabled { opacity: .55; cursor: default; transform: none; }
.ry-auth__cooldown { text-align: center; color: var(--ry-muted); font-size: 13px; }
.ry-auth__alt { margin-top: 24px; text-align: center; color: #6b7a99; font-size: 14px; }
.ry-auth__alt a { color: var(--ry-navy); font-weight: 700; }
.ry-auth__alt a:hover { color: var(--ry-gold); }
.ry-auth__terms { text-align: center; color: #bcc4d8; font-size: 11px; }
.ry-auth__terms a { color: #94a0b8; text-decoration: underline; }
.ry-auth__panel { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 0 64px 32px; color: var(--ry-white); background: linear-gradient(160deg, #1b3470 0%, #274996 55%, #2057a0 100%); }
.ry-auth__panel::before { content: ""; position: absolute; inset: 0; background: url(../images/rayan/pattern.png) center / cover no-repeat; opacity: .06; filter: brightness(4); }
.ry-auth__glow { position: absolute; width: 520px; height: 520px; top: -180px; inset-inline-end: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 158, 88, .12), rgba(198, 158, 88, 0) 70%); }
.ry-auth__panel-copy { position: relative; margin-block: auto; max-width: 340px; }
.ry-auth__panel h2 { font-size: 50px; font-weight: 700; line-height: 1.15; }
.ry-auth__panel h2 span { color: var(--ry-gold); }
.ry-auth__panel p { margin-top: 14px; color: rgba(255, 255, 255, .55); font-size: 16px; line-height: 1.5; }
.ry-auth__acc { position: relative; display: flex; align-items: center; gap: 16px; }
.ry-auth__acc span { font-size: 16px; }
.ry-auth__acc img { width: 160px; height: auto; }

@media (max-width: 1100px) { .ry-auth { grid-template-columns: 1fr 420px; } .ry-auth__panel { padding-inline: 40px; } .ry-auth__panel h2 { font-size: 40px; } }
@media (max-width: 860px) {
  .ry-auth { grid-template-columns: 1fr; }
  .ry-auth__panel { display: none; }
  .ry-auth__form { padding: 20px 16px 24px; min-height: 100vh; }
  .ry-auth__logo img { width: 150px; }
  .ry-auth__inner { padding-block: 32px; }
  .ry-auth__title { font-size: 26px; }
}

/* ==========================================================================================================
   ENROLMENT WIZARD (136:5237 · 139:6389 · 141:7133 · 164:24014) + sign-up extras
   ========================================================================================================== */
.ry-wiz-body { background: var(--ry-bg); min-height: 100vh; }
.ry-wizbar { background: var(--ry-navy); color: var(--ry-white); }
.ry-wizbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.ry-wizbar__brand { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.ry-wizbar__brand img { width: 130px; height: auto; }
.ry-wizbar__back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); font-size: 14px; }
.ry-wizbar__back:hover { color: var(--ry-white); }
.ry-wizbar__back .ry-ic { width: 14px; height: 14px; }
[dir="rtl"] .ry-wizbar__back .ry-arrow { transform: scaleX(-1); }
[dir="ltr"] .ry-wizbar__back .ry-arrow { transform: none; }

.ry-stepper { background: var(--ry-white); border-bottom: 1px solid var(--ry-line-2); }
.ry-stepper ol { list-style: none; margin: 0 auto; padding-block: 16px 14px; display: flex; justify-content: center; gap: 0; }
.ry-stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 150px; color: var(--ry-muted); font-size: 12px; }
.ry-stepper li + li::before { content: ""; position: absolute; top: 18px; inset-inline-end: 50%; width: 100%; height: 2px; background: var(--ry-line-2); z-index: 0; margin-inline-end: 22px; }
.ry-stepper li.is-done + li::before, .ry-stepper li.is-current::before { background: var(--ry-navy); }
.ry-stepper__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ry-bg); border: 2px solid var(--ry-line-2);
  color: var(--ry-muted); font-size: 13px; font-weight: 700; }
.ry-stepper li.is-current .ry-stepper__dot { background: var(--ry-navy); border-color: rgba(18, 58, 123, .25); color: var(--ry-white); box-shadow: 0 0 0 4px rgba(18, 58, 123, .12); }
.ry-stepper li.is-done .ry-stepper__dot { background: var(--ry-navy); border-color: var(--ry-navy); color: var(--ry-white); }
.ry-stepper li.is-current .ry-stepper__name { color: var(--ry-ink); font-weight: 700; }

.ry-chosen { background: var(--ry-white); border-bottom: 1px solid var(--ry-line-2); }
.ry-chosen__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; max-width: 860px; }
.ry-chosen__prog { display: flex; align-items: center; gap: 10px; }
.ry-chosen__prog img { width: 40px; height: 40px; border-radius: var(--ry-r-sm); object-fit: cover; }
.ry-chosen__prog small { display: block; color: var(--ry-muted); font-size: 10px; }
.ry-chosen__prog b { display: block; color: var(--ry-ink); font-size: 14px; }
.ry-chosen__change { display: inline-flex; align-items: center; gap: 4px; color: var(--ry-text); font-size: 13px; }
.ry-chosen__change:hover { color: var(--ry-navy); }
.ry-chosen__change .ry-ic { width: 14px; height: 14px; }

.ry-wiz { padding-block: 40px 80px; }
.ry-wizcard { max-width: 760px; margin-inline: auto; padding: 32px; border-radius: var(--ry-r-lg); background: var(--ry-white); border: 1px solid var(--ry-line-2); box-shadow: 0 2px 10px rgba(18, 58, 123, .04); }
.ry-wizcard__title { position: relative; padding-inline-start: 14px; color: var(--ry-ink); font-size: 22px; font-weight: 700; }
.ry-wizcard__title::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--ry-gold); }
.ry-wizcard__text { margin: 6px 0 24px; color: var(--ry-muted); font-size: 14px; }
.ry-wizcard__sub { margin: 32px 0 16px; padding-top: 24px; border-top: 1px solid var(--ry-line-2); color: var(--ry-ink); font-size: 16px; font-weight: 700; }
.ry-wizcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ry-line-2); }
.ry-wizcard__foot .ry-btn--navy { margin-inline-start: auto; min-width: 180px; }
.ry-star { color: #e05252; font-style: normal; }
.ry-field-err { color: #e05252; font-size: 12px; font-style: normal; display: block; }
.ry-seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ry-seg legend { padding: 0; margin-bottom: 8px; color: var(--ry-ink); font-size: 14px; font-weight: 700; }
.ry-seg label { position: relative; }
.ry-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ry-seg span { display: grid; place-items: center; min-height: 48px; border-radius: var(--ry-r); border: 1px solid #dde3ef; background: var(--ry-bg-2); color: var(--ry-text); font-size: 15px; font-weight: 600; }
.ry-seg input:checked + span { background: var(--ry-gold); border-color: var(--ry-gold); color: var(--ry-white); }
.ry-seg input:focus-visible + span { outline: 3px solid var(--ry-sky); outline-offset: 2px; }
.ry-seg em { grid-column: 1 / -1; }

.ry-upload { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border-radius: var(--ry-r); border: 1.5px dashed #c9d3e6;
  background: var(--ry-bg-2); cursor: pointer; transition: border-color .2s, background .2s; }
.ry-upload:hover { border-color: var(--ry-navy); }
.ry-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ry-upload__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ry-r-sm); background: rgba(0, 153, 233, .1); color: var(--ry-sky); flex: 0 0 auto; }
.ry-upload__txt b { display: block; color: var(--ry-ink); font-size: 13px; word-break: break-all; }
.ry-upload__txt small { display: block; color: var(--ry-muted); font-size: 11px; }
.ry-upload.is-done { border-style: solid; border-color: #7cc79a; background: #f2faf5; }
.ry-upload.is-done .ry-upload__ic { background: #dff3e7; color: #1a7a3f; }
.ry-declares { display: grid; gap: 12px; }
.ry-check--block { align-items: flex-start; line-height: 1.6; }
.ry-check--block input { margin-top: 3px; flex: 0 0 auto; }
.ry-check a { color: var(--ry-navy); text-decoration: underline; }

.ry-pay { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; max-width: 1100px; margin-inline: auto; align-items: start; }
.ry-pay .ry-wizcard { max-width: none; margin: 0; }
.ry-methods { display: grid; gap: 12px; }
.ry-method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--ry-r-md); border: 1px solid #dde3ef; background: var(--ry-white); color: var(--ry-ink); transition: border-color .2s, background .2s; }
.ry-method:hover { border-color: var(--ry-navy); }
.ry-method.is-active { border: 1.5px solid var(--ry-gold); background: #fdfcf8; }
.ry-method.is-disabled { opacity: .55; cursor: not-allowed; }
.ry-method.is-disabled:hover { border-color: #dde3ef; }
.ry-method__radio { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #e3e5e8; }
.ry-method.is-active .ry-method__radio { border-color: var(--ry-navy); box-shadow: inset 0 0 0 4px var(--ry-white); background: var(--ry-navy); }
.ry-method__body { flex: 1; }
.ry-method__body b { display: block; font-size: 16px; font-weight: 600; }
.ry-method__body small { display: block; margin-top: 2px; color: var(--ry-muted); font-size: 13px; }
.ry-method__logos { display: flex; gap: 6px; }
.ry-method__logos i { padding: 2px 6px; border-radius: 4px; border: 1px solid var(--ry-line); font-style: normal; font-size: 10px; font-weight: 800; color: var(--ry-navy); }
.ry-method__tag { padding: 3px 10px; border-radius: 999px; background: var(--ry-line-2); color: var(--ry-muted); font-size: 11px; white-space: nowrap; }
.ry-paybox { display: grid; gap: 14px; padding: 18px; border-radius: var(--ry-r-md); background: var(--ry-bg-2); border: 1px solid var(--ry-line-2); }
.ry-paybox__note { color: var(--ry-muted); font-size: 13px; }
.ry-alert--warn { background: #fff8e6; border: 1px solid #f1d9a0; color: #7a5a12; margin: 0; }
.ry-sum__prog { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--ry-line-2); }
.ry-sum__prog img { width: 56px; height: 56px; border-radius: var(--ry-r); object-fit: cover; }
.ry-sum__prog b { display: block; color: var(--ry-ink); font-size: 14px; line-height: 1.5; }
.ry-sum__prog .ry-chips { margin-top: 6px; gap: 6px; }
.ry-sum__prog .ry-chip { font-size: 10px; padding: 2px 8px; }
.ry-sum__rows { margin: 16px 0 0; display: grid; gap: 12px; }
.ry-sum__rows div { display: flex; justify-content: space-between; font-size: 14px; }
.ry-sum__rows dt { color: var(--ry-text); font-weight: 400; }
.ry-sum__rows dd { margin: 0; display: inline-flex; align-items: center; gap: 4px; color: var(--ry-ink); font-weight: 500; }
.ry-sum__rows dd.is-free { color: #1a7a3f; font-weight: 700; }
.ry-sum__total, .ry-sum__due { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 14px 16px; border-radius: var(--ry-r); background: var(--ry-bg); }
.ry-sum__total span, .ry-sum__due span { color: var(--ry-text); font-size: 14px; }
.ry-sum__total b { display: inline-flex; align-items: center; gap: 4px; color: var(--ry-navy); font-size: 20px; font-weight: 700; }
.ry-sum__due { background: var(--ry-gold-tint); }
.ry-sum__due b { display: inline-flex; align-items: center; gap: 4px; color: var(--ry-gold); font-size: 16px; }
.ry-sum__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; color: #1a7a3f; font-size: 11px; }

.ry-done { text-align: center; }
.ry-done__ic { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: #e3f5ea; color: #1a7a3f; }
.ry-done__ic .ry-ic { width: 34px; height: 34px; stroke-width: 2.4; }
.ry-done .ry-wizcard__title { padding: 0; font-size: 24px; }
.ry-done .ry-wizcard__title::before { display: none; }
.ry-done__no { display: inline-grid; gap: 2px; margin-top: 4px; padding: 12px 28px; border-radius: var(--ry-r); background: var(--ry-bg); }
.ry-done__no small { color: var(--ry-muted); font-size: 10px; }
.ry-done__no b { color: var(--ry-navy); font-size: 20px; }
.ry-done .ry-wizcard__sub { text-align: start; }
.ry-done__rows { margin: 0; display: grid; gap: 0; text-align: start; border: 1px solid var(--ry-line-2); border-radius: var(--ry-r-md); overflow: hidden; }
.ry-done__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 14px; }
.ry-done__rows div + div { border-top: 1px solid var(--ry-line-2); }
.ry-done__rows dt { color: var(--ry-muted); font-weight: 400; }
.ry-done__rows dd { margin: 0; color: var(--ry-ink); font-weight: 600; }
.ry-done__rows dd.is-ok { color: #1a7a3f; }
.ry-done__rows dd.is-wait { color: var(--ry-gold); }
.ry-done__foot { justify-content: center; }
.ry-done__foot .ry-btn--navy { margin-inline-start: 0; }

@media (max-width: 991px) {
  .ry-pay { grid-template-columns: 1fr; }
  .ry-pay__sum { order: -1; }
}
@media (max-width: 600px) {
  .ry-wizbar__brand span { display: none; }
  .ry-stepper li { width: auto; flex: 1; }
  .ry-stepper__name { font-size: 10px; text-align: center; }
  .ry-wiz { padding-block: 20px 48px; }
  .ry-wizcard { padding: 20px 16px; }
  .ry-wizcard__foot { flex-direction: column-reverse; align-items: stretch; }
  .ry-wizcard__foot .ry-btn { width: 100%; margin: 0; }
  .ry-method__logos { display: none; }
}
@media print {
  .ry-wizbar, .ry-stepper, .ry-done__foot { display: none !important; }
  .ry-wiz-body { background: #fff; }
  .ry-wizcard { box-shadow: none; border: 0; }
}

/* ==========================================================================================================
   FIGMA QA PASS 2 (two reviewer reports, 2026-10-02) — wins over the kits above. Item refs: A = header/footer/
   home/list/details report, B = about/contact/faq/policies/auth/wizard report.
   ========================================================================================================== */

/* ---------- global ---------- */
.ry-btn { padding-block: 11px; }                                                        /* A#19 B#4 — 48px tall */
.ry-select::after { border: 0; border-right: 1.6px solid var(--ry-muted); border-bottom: 1.6px solid var(--ry-muted); } /* A#68 B#3 ⌄ */
.ry-select select { display: block; }                                                   /* A#69 */

/* ---------- header (A#1–5) ---------- */
.ry-header--overlay { min-height: 116px; }
.ry-hlink { min-height: 48px; padding-block: 13px; justify-content: center; min-width: 126px; }
.ry-hlink--gold { min-width: 124px; }
.ry-nav a.is-active::after { display: none; }

/* ---------- footer (A#6–13) ---------- */
.ry-footer__grid { grid-template-columns: 234px 84px 179px 181px 161px; justify-content: space-between; }
.ry-footer__brand img { width: 234px; height: 87px; object-fit: contain; object-position: right center; }
[dir="ltr"] .ry-footer__brand img { object-position: left center; }
.ry-footer li { line-height: 21px; }
.ry-footer li a { color: rgba(255, 255, 255, .7); }
.ry-social a, .ry-social span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--ry-white); }
.ry-social span svg { width: 16px; height: 16px; fill: currentColor; }
.ry-footer__acc img.ry-vision { filter: brightness(0) invert(1); }
.ry-footer__bottom .ry-container { padding-inline: 40px; }
@media (max-width: 1199px) { .ry-footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ry-footer__grid { grid-template-columns: 1fr 1fr; } .ry-footer__bottom .ry-container { padding-inline: 16px; } }

/* ---------- home hero (A#14–18) ---------- */
.ry-hero__inner { padding-top: 173px; }
.ry-hero__text { line-height: 26px; }
.ry-hero__stat b { direction: ltr; unicode-bidi: isolate; text-align: right; }
[dir="ltr"] .ry-hero__stat b { text-align: left; }

/* ---------- why us (A#20–26) ---------- */

/* ---------- diplomas + cards (A#28–33) ---------- */
.ry-dips__head { align-items: flex-start; }

/* ---------- featured (A#34–39) ---------- */
.ry-feat__box { max-width: 1200px; margin-inline: auto; }
.ry-feat__media img { top: 93px; bottom: auto; inset-inline-end: 104px; }
.ry-fact span { line-height: 16px; }
@media (max-width: 991px) { .ry-feat__media img { top: 20px; inset-inline-end: 50%; } }

/* ---------- journey (A#40–43) ---------- */
.ry-steps .ry-pattern { inset-inline-start: auto; inset-inline-end: -397px; }
.ry-steps__row { max-width: 1200px; margin-inline: auto; }
.ry-step p { line-height: 20px; }

/* ---------- stats (A#44–47) ---------- */
.ry-stats { padding-block: 80px 134px; background: linear-gradient(292deg, #00306e 0%, #00306e 40%, rgba(198, 155, 88, .55) 100%), #00306e; }
.ry-stats .ry-pattern { filter: none; opacity: .1; inset-inline-start: -473px; inset-inline-end: auto; top: 44px; }
.ry-stats__grid { max-width: 1200px; margin-inline: auto; gap: 16px; }
.ry-stat + .ry-stat { border-inline-start: 1.2px solid rgba(255, 255, 255, .2); }

/* ---------- testimonials (A#49–52) ---------- */
.ry-quote { position: relative; overflow: hidden; }
.ry-quote > :not(.ry-pattern) { position: relative; z-index: 1; }
.ry-quote .ry-pattern { left: 50%; top: 20px; transform: translateX(-50%); opacity: .1; }
.ry-quote blockquote { line-height: 32px; }
.ry-quote figcaption { flex-direction: row; justify-content: center; gap: 16px; text-align: start; }
.ry-quote__avatar { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ry-gold-tint); color: var(--ry-gold); font-weight: 700; }
.ry-quote__who { display: grid; gap: 0; }
.ry-quote__who b { line-height: 20px; }
.ry-quote__who span { line-height: 16px; }
.ry-quote__who em { line-height: 16px; padding-top: 2px; }

/* ---------- FAQ (A#55–58, B#48) ---------- */
.ry-faq .ry-head { max-width: 816px; }
.ry-faq .ry-pattern { inset-inline-end: auto; inset-inline-start: -460px; }
.ry-faq__answer { border-top-color: rgba(198, 168, 75, .04); }
.ry-faq__more .ry-btn { min-width: 160px; }
.ry-faq--page { padding-bottom: 101px; }

/* ---------- final CTA (A#59–64, B#32) ---------- */
.ry-cta { padding-block: 150px 147px; }
.ry-cta::before { background: linear-gradient(130deg, rgba(198, 158, 88, .75) 0%, rgba(18, 58, 123, 0) 45%), linear-gradient(180deg, rgba(18, 58, 123, .35) 0%, rgba(18, 58, 123, .85) 55%, var(--ry-navy) 100%); }
.ry-cta p { color: rgba(255, 255, 255, .75); }
.ry-cta__btns .ry-btn { border-radius: 16px; }
.ry-cta__btns .ry-btn--glass { min-width: 164px; }
.ry-cta__points { color: rgba(255, 255, 255, .6); }
.ry-cta__points .ry-ic { width: 15px; height: 15px; }
.ry-cta__ring--2 { inset-inline-end: 78px; }
@media (max-width: 600px) { .ry-cta { padding-block: 90px 64px; } }

/* ---------- inner-page hero (A#65–67, B#2,#5–7) ---------- */
.ry-phero__inner { min-height: 664px; padding-bottom: 80px; }
.ry-phero__title { line-height: 1.05; }
.ry-phero__pattern { filter: none; }
.ry-phero--sm .ry-phero__inner { min-height: 450px; padding-top: 206px; }
.ry-phero .ry-hero__cta { gap: 12px; }
.ry-phero .ry-btn--glass { border-radius: 8px; border-color: rgba(255, 255, 255, .12); font-weight: 700; padding-inline: 16px; }
.ry-phero .ry-btn--gold { padding-inline: 20px; }
@media (max-width: 991px) { .ry-phero__inner { min-height: 0; padding-bottom: 72px; } .ry-phero--sm .ry-phero__inner { padding-top: 150px; } }

/* ---------- diplomas list (A#70, #72) ---------- */
.ry-select select:disabled { background: var(--ry-white); color: #535965; }
.ry-filters .ry-select select { color: #535965; }
.ry-cards--list .ry-card { border-color: #dde3ef; }

/* ---------- details (A#75–93) ---------- */
.ry-dhero .ry-phero__inner { padding-top: 160px; min-height: 664px; }
.ry-dhero__title { margin-top: 42px; }
.ry-dhero__title span { color: var(--ry-gold); }
.ry-dhero .ry-phero__text { margin-top: 15px; }
.ry-pricebox { flex: 0 0 381px; padding: 37px 41px; border-radius: 16px; border-color: rgba(198, 158, 88, .4); }
.ry-pricebox__row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.ry-pricebox__now { color: rgba(255, 255, 255, .9); }
.ry-pricebox__row small { margin: 0; font-size: 10px; }
.ry-pricebox .ry-btn { border-radius: 12px; }
.ry-facts { border-radius: 16px; border-color: rgba(198, 158, 88, .2); padding: 40px 80px; column-gap: 40px; }
.ry-facts > div { padding-inline: 0; }
.ry-facts > div + div { border-inline-start: 0; }
.ry-facts .ry-ic { width: 24px; height: 24px; padding: 0; background: none; color: var(--ry-white); border-radius: 0; }
.ry-secnav .ry-container { gap: 4px; }
.ry-secnav a { font-weight: 400; padding: 17px 20px; }
.ry-secnav a.is-active { font-weight: 400; }
.ry-about-prog .ry-eyebrow { font-weight: 700; }
.ry-about-prog .ry-rich { font-size: 18px; line-height: 29px; }
.ry-about-prog__media img { max-width: 523px; border-radius: 16px; margin-top: 11px; }
.ry-checks { gap: 16px; }
.ry-checks li { line-height: 23px; }
.ry-checks .ry-ic { width: 24px; height: 24px; padding: 5px; margin-top: 0; border-radius: 50%; background: rgba(198, 158, 88, .12); stroke-width: 2.4; }
.ry-reqs__head { max-width: 1240px !important; }
.ry-req { padding: 24px; border-radius: 16px; }
.ry-req i { width: auto; height: 30px; background: none; font-style: normal; font-size: 26px; line-height: 30px; justify-content: start; }
.ry-req i img { width: 30px; height: 30px; }
.ry-req h3 { margin-top: 16px; }
.ry-req p { color: var(--ry-muted); }
.ry-skills__grid { grid-template-columns: minmax(0, 1fr) 724px; gap: 48px; }
.ry-skills__list li { border-radius: 12px; min-height: 61px; }
.ry-skills__list span { width: 28px; height: 28px; background: rgba(198, 158, 88, .08); }
.ry-units { margin-top: 48px; }
.ry-unit[open] { background: var(--ry-white); border-color: rgba(198, 158, 88, .3); box-shadow: 0 4px 6px rgba(198, 158, 88, .05), 0 10px 15px rgba(198, 158, 88, .03); }
.ry-unit__list { margin-inline: 0; padding: 16px 24px 0; border-top-color: var(--ry-line-2); }
.ry-unit__meta { background: rgba(18, 58, 123, .08); color: var(--ry-navy); border-radius: 8px; padding: 4px 10px; line-height: 16px; }
.ry-unit__chev { width: 36px; height: 36px; }
@media (max-width: 991px) {
  .ry-skills__grid { grid-template-columns: 1fr; }
  .ry-facts { padding: 24px; row-gap: 20px; }
  .ry-pricebox { flex-basis: auto; }
}
@media (max-width: 600px) {
  .ry-secnav .ry-container { -webkit-mask-image: linear-gradient(to left, #000 85%, transparent); mask-image: linear-gradient(to left, #000 85%, transparent); }
  [dir="rtl"] .ry-secnav .ry-container { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .ry-facts { padding: 18px 14px; }
}

/* ---------- about (B#8–31) ---------- */
.ry-word__grid { grid-template-columns: 376px minmax(0, 1fr); gap: 60px; max-width: 1196px; margin-inline: auto; }
.ry-word__photo { padding: 0; border: 0; width: 360px; margin-top: 16px; }
.ry-word__photo::before { content: ""; position: absolute; top: -16px; left: -15px; width: 376px; height: 476px; border: 1.6px solid var(--ry-gold); border-radius: 188px 188px 24px 24px; pointer-events: none; }
.ry-word__photo img { position: relative; height: 480px; border-radius: 180px 180px 16px 16px; }
.ry-word__photo figcaption { inset-inline: auto; left: 50%; transform: translateX(-50%); width: 279px; min-height: 92px; display: grid; align-content: center; border-radius: 16px;
  background: #274996; box-shadow: 0 8px 10px rgba(0, 0, 0, .1), 0 20px 25px rgba(0, 0, 0, .1); }
.ry-word__photo figcaption span { color: rgba(255, 255, 255, .75); }
.ry-word__quote { margin-top: 63px; padding-inline-start: 65px; }
.ry-word__quote::before { content: ""; top: -76px; inset-inline-start: 0; width: 100px; height: 100px; background: url(../images/rayan/quote.svg) center / contain no-repeat; opacity: .2; }
.ry-word__cols { grid-template-columns: 309fr 372fr; gap: 79px; }
.ry-vmv__row { margin-top: 60px; gap: 40px; grid-template-columns: 713fr 487fr; }
.ry-vmv__card { min-height: 390px; padding: 50px 33px; border-color: #dde3ef; }
.ry-vmv__card--navy { padding: 50px 62px; background: linear-gradient(180deg, #274996 0%, #123a7b 100%); }
.ry-vmv__card--navy::after { opacity: .12; }
.ry-vmv__card--navy p { color: rgba(255, 255, 255, .8); }
.ry-vmv__tag .ry-ic { width: 28px; height: 28px; }
.ry-goals { margin-top: 40px; padding: 58px 60px 58px 48px; border-color: #dde3ef; }
.ry-goal { border: 0; border-radius: 24px; padding: 32px 24px 24px; background: #f5f7fb; gap: 12px; }
.ry-goal__top { flex-direction: column; align-items: flex-start; gap: 12px; }
.ry-goal__top i { width: auto; height: auto; background: none; }
.ry-goal__top i .ry-ic { width: 28px; height: 28px; }
.ry-timeline { max-width: 1240px; margin-top: 96px; }
.ry-tl__card { width: calc(50% - 80px); padding: 32px; border-color: #dde3ef; }
.ry-tl__tag { background: rgba(18, 58, 123, .08); }
.ry-dist { padding-block: 80px; }
.ry-dist .ry-pattern { inset: 0; width: auto; height: auto; background-size: cover; opacity: .08; }
.ry-dist__grid { margin-top: 60px; gap: 48px; }
.ry-dist__tab { border-radius: 24px; padding: 24px; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .15); }
.ry-dist__tab.is-active { border: .8px solid var(--ry-gold); box-shadow: 0 25px 50px rgba(0, 0, 0, .25); }
.ry-dist__tabhead i { width: 48px; height: 48px; border-radius: 16px; color: var(--ry-white); }
.ry-dist__tabhead i .ry-ic { width: 28px; height: 28px; }
.ry-dist__tabhead em { color: rgba(255, 255, 255, .4); }
.ry-dist__tab.is-active .ry-dist__tabhead em { color: var(--ry-gold); }
.ry-env__grid { gap: 93px; }
.ry-env__lead { margin-top: 24px; line-height: 2; color: var(--ry-text); }
.ry-env__list { margin-top: 40px; }
.ry-env__list i { border-radius: 16px; background: rgba(198, 158, 88, .14); }
.ry-env__list i .ry-ic { width: 28px; height: 28px; }
.ry-env__a { border: 0; box-shadow: none; }
.ry-env__c { width: 203px; height: 164px; }
@media (min-width: 992px) {
  .ry-dist__grid { grid-template-columns: minmax(0, 1fr) 488px; }
  .ry-env__grid { grid-template-columns: minmax(0, 1fr) 489px; }
}
@media (max-width: 991px) {
  .ry-word__grid { grid-template-columns: 1fr; }
  .ry-word__photo { margin: 24px auto 40px; }
  .ry-vmv__row { grid-template-columns: 1fr; }
  .ry-goals { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .ry-word__photo { width: 300px; }
  .ry-word__photo::before { width: 316px; height: 396px; }
  .ry-word__photo img { height: 400px; }
  .ry-word__quote { margin-top: 48px; padding-inline-start: 0; }
  .ry-word__quote::before { top: -54px; width: 60px; height: 60px; }
  .ry-word__cols { grid-template-columns: 1fr; gap: 12px; }
  .ry-vmv__card, .ry-vmv__card--navy { min-height: 0; padding: 28px 22px; }
  .ry-tl__card { width: calc(100% - 48px); padding: 20px; }
}

/* ---------- contact (B#34–45) ---------- */
.ry-channels { padding-bottom: 100px; }
.ry-channel { padding: 28px; }
.ry-channel__ic { width: 56px; height: 56px; border-radius: 16px; background: #274996; }
.ry-channel__ic .ry-ic { width: 28px; height: 28px; }
.ry-channel dl { align-content: start; gap: 2px; }
.ry-channel dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--ry-ink); }
.ry-channel dt { margin-bottom: 14px; color: var(--ry-muted); font-size: 14px; }
.ry-channel .ry-btn { border-radius: 16px; border-color: #dde3ef; }
.ry-form-sec__grid { grid-template-columns: 370px minmax(0, 1fr); gap: 64px; }
.ry-form { padding: 40px; box-shadow: none; border-color: var(--ry-line-2); }
.ry-form__grid { column-gap: 25px; }
.ry-form__foot { justify-content: flex-start; }
.ry-form__foot .ry-btn { padding: 12px 40px; border-radius: 16px; font-size: 14px; font-weight: 700; }
.ry-field small { font-size: 14px; }
.ry-field textarea { min-height: 150px; }
.ry-form select:invalid, .ry-form select option[value=""] { color: #a4abb8; }
.ry-depts li { padding: 16px; }
.ry-depts i { width: 44px; height: 44px; border-radius: 12px; }
@media (max-width: 991px) { .ry-form-sec__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ry-form { padding: 20px; } }

/* ---------- policies (B#49–58) ---------- */
.ry-pol__grid { grid-template-columns: minmax(0, 690px); }
.ry-pol__sec h2 { margin-bottom: 32px; }
.ry-pol__sec p, .ry-pol__sec ul { line-height: 1.5; }
.ry-pol--refund .ry-pol__sec ul, .ry-pol--privacy .ry-pol__sec ul { list-style: none; padding-inline-start: 0; }
.ry-pol--support .ry-pol__sec li::marker { color: var(--ry-ink); }
.ry-pol__table { max-width: 664px; border-color: #e0e2e5; }
.ry-pol__table th { background: #f8faff; font-size: 14px; border-bottom: 1px solid #e0e2e5; }
.ry-pol__table td { height: 64px; padding-block: 0; border-top-color: #e0e2e5; font-weight: 400; }
.ry-pol__table td:last-child { font-weight: 400; }
.ry-pol__table th + th, .ry-pol__table td + td { border-inline-start: 1px solid #e0e2e5; }
.ry-pol__table tbody tr:nth-child(even) td { background: #f8faff; }
.ry-pol__note { padding: 0; background: none; margin-top: 12px; }
.ry-pol__note b { color: var(--ry-muted); font-size: 12px; font-weight: 400; }
.ry-pol__note ul { list-style: none; padding: 0; font-size: 12px; color: var(--ry-muted); }
.ry-pol__after { padding: 0; background: none; border-radius: 0; }
.ry-pol__cards { grid-template-columns: 1fr; gap: 28px; }
.ry-pol__card { padding: 0; background: none; border: 0; border-radius: 0; }
.ry-pol__card h3 { font-size: 18px; font-weight: 500; }
.ry-pol__card a { font-size: 18px; font-weight: 500; color: var(--ry-navy); }
.ry-pol__card p { font-size: 18px !important; color: var(--ry-ink) !important; font-weight: 500; }
.ry-pol__card ul { font-size: 18px; }
.ry-pol__sec--sub { padding-inline-start: 0; border-inline-start: 0; }
.ry-pol__sec--sub h3 { font-size: 18px; font-weight: 500; }

/* ---------- auth (B#59–70) ---------- */
.ry-auth { grid-template-columns: 605px minmax(0, 1fr); }
.ry-auth__inner { margin: 0 auto; padding-block: 46px 40px; }
.ry-auth__logo { display: block; width: 200px; margin: 0 auto 72px; }
.ry-auth__title, .ry-auth__text { text-align: center; }
.ry-auth__terms { margin-top: 40px; }
.ry-auth .ry-field input { padding-block: 9px; min-height: 44px; }
.ry-auth .ry-field input::placeholder { font-size: 13px; color: #b0bcd4; }
.ry-tabs button { padding-bottom: 10px; }
.ry-tabs button.is-active { font-weight: 400; }
.ry-auth__panel { padding: 0 59px 31px 39px; }
[dir="rtl"] .ry-auth__panel { padding: 0 59px 31px 39px; }
.ry-auth__acc { align-self: flex-end; }
.ry-phone { position: relative; display: block; }
.ry-phone__cc { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; padding-inline-end: 10px;
  border-inline-end: 1px solid #dde3ef; color: var(--ry-ink); font-size: 13px; font-weight: 600; }
.ry-phone__cc[hidden] { display: none; }
.ry-phone.is-phone input { padding-inline-start: 96px; }
[dir="ltr"] .ry-phone__cc { inset-inline-start: 12px; }
@media (max-width: 860px) { .ry-auth { grid-template-columns: 1fr; } .ry-auth__logo { margin-bottom: 32px; width: 150px; } }

/* ---------- wizard (B#71–92) ---------- */
.ry-wizbar { box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 4px 6px rgba(0, 0, 0, .1); position: relative; z-index: 2; }
.ry-wizbar__back { color: rgba(255, 255, 255, .6); }
.ry-wizbar__brand span { color: rgba(255, 255, 255, .7); }
.ry-wizbar__brand img { width: 140px; }
.ry-stepper ol { padding-block: 20px; }
.ry-stepper__dot { width: 40px; height: 40px; border: 0; background: #f6f8fd; color: #9ea9bb; }
.ry-stepper li + li::before { top: 20px; }
.ry-stepper li.is-current .ry-stepper__dot { width: 36px; height: 36px; margin-block: 2px; box-shadow: 0 4px 10px rgba(18, 58, 123, .25); }
.ry-stepper li.is-current .ry-stepper__name { color: var(--ry-navy); font-weight: 400; }
.ry-chosen__in { max-width: 768px; }
.ry-chosen__prog img { width: 36px; height: 36px; border-radius: 8px; }
.ry-chosen__prog small { font-size: 9px; color: #9ea9bb; }
.ry-chosen__prog b { font-size: 13px; }
.ry-wizcard { max-width: 672px; border: 0; box-shadow: none; border-radius: 16px; padding: 28px; }
.ry-wizcard__title { font-size: 20px; }
.ry-wizcard__text { padding-inline-start: 14px; }
.ry-wizcard .ry-form__grid { row-gap: 16px; }
.ry-wizcard .ry-field > span:first-child, .ry-seg legend { font-weight: 400; }
.ry-wizcard .ry-field input, .ry-wizcard .ry-select select { background: #f6f8fd; min-height: 44px; padding-block: 9px; }
.ry-wizcard .ry-field input::placeholder { font-size: 13px; color: #b0bcd4; }
.ry-star { color: #e05252; font-size: 13px; }
.ry-seg span { font-size: 14px; font-weight: 400; color: #535965; }
.ry-wizcard__foot { border-top-color: var(--ry-line-2); }
.ry-wizcard__foot .ry-btn--navy { min-width: 221px; min-height: 52px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.ry-btn--prev { min-width: 159px; min-height: 52px; border-radius: 12px; background: var(--ry-white); border-color: var(--ry-line-2); color: var(--ry-ink); font-weight: 600; }
.ry-wizcard__sub { position: relative; padding: 0 0 0 0; padding-inline-start: 14px; border-top: 0; margin: 32px 0 16px; }
.ry-wizcard__sub::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 4px; height: 16px; border-radius: 4px; background: var(--ry-gold); }
.ry-upload { flex-direction: column; justify-content: center; text-align: center; gap: 10px; min-height: 130px; padding: 20px; border: .8px solid #dde3ef; border-radius: 12px; background: #f6f8fd; }
.ry-upload__ic { width: 40px; height: 40px; border-radius: 50%; background: var(--ry-white); color: var(--ry-navy); }
.ry-upload.is-done .ry-upload__ic { background: var(--ry-white); }
.ry-declares .ry-check { font-size: 13px; }
.ry-declares .ry-check input { border-radius: 6px; }
.ry-wizcard input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.ry-wizcard input[type=number]::-webkit-outer-spin-button, .ry-wizcard input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* step 3: one card — methods (start) + summary panel (end) */
.ry-pay { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; max-width: 896px; margin-inline: auto; align-items: start; }
.ry-pay__sum { padding: 20px; border-radius: 16px; background: #f5f7fb; position: sticky; top: 24px; }
.ry-sum__prog small { display: block; font-size: 10px; color: #9ea9bb; }
.ry-sum__rows dd.is-muted { color: var(--ry-muted); font-size: 12px; font-weight: 400; }
.ry-sum__total { background: var(--ry-white); }
.ry-method.is-active { background: var(--ry-white); }
.ry-method__logos img { height: 18px; width: auto; }
.ry-method__tag { display: inline-block; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ry-line-2); color: var(--ry-muted); font-size: 10px; font-style: normal; font-weight: 500; vertical-align: middle; }
.ry-paybox { padding: 20px 0 0; margin-top: 20px; background: none; border: 0; border-top: 1px solid var(--ry-line-2); border-radius: 0; }
.ry-paybox .ry-btn { min-height: 52px; border-radius: 12px; font-size: 14px; font-weight: 700; }
/* step 4: navy banner + details card */
.ry-done { text-align: center; padding: 0; background: none; }
.ry-done__banner { position: relative; overflow: hidden; padding: 36px 28px 28px; border-radius: 16px; color: var(--ry-white);
  background: linear-gradient(135deg, #001b3d 0%, #0d2d6b 55%, #274996 100%); }
.ry-done__banner::before { content: ""; position: absolute; inset: 0; background: url(../images/rayan/pattern.png) center / cover no-repeat; opacity: .07; filter: brightness(4); }
.ry-done__banner > * { position: relative; }
.ry-done__ring { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); }
.ry-done__ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 0; border-radius: 50%; background: #22c55e; color: var(--ry-white); box-shadow: 0 0 24px rgba(34, 197, 94, .55); }
.ry-done__ic .ry-ic { width: 28px; height: 28px; stroke-width: 2.6; }
.ry-done__banner h1 { font-size: 24px; font-weight: 700; }
.ry-done__banner p { margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.ry-done__no { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; padding: 10px 12px 10px 20px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.ry-done__no > span { display: grid; gap: 2px; padding-inline-end: 16px; border-inline-end: 1px solid rgba(255, 255, 255, .2); }
.ry-done__no small { color: rgba(255, 255, 255, .6); font-size: 10px; }
.ry-done__no b { color: var(--ry-white); font-size: 20px; }
.ry-done__copy { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: var(--ry-white); }
.ry-done__card { margin-top: 16px; padding: 24px; border-radius: 16px; background: var(--ry-white); box-shadow: 0 2px 20px rgba(0, 27, 61, .07); text-align: start; }
.ry-done__card h2 { color: var(--ry-ink); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ry-done__rows { border: 0; border-radius: 0; }
.ry-done__rows div { padding-inline: 0; }
.ry-done__rows div + div { border-top-color: var(--ry-line-2); }
.ry-done__rows dd.is-wait { color: #b45309; }
.ry-done__foot { display: flex; justify-content: center; gap: 12px; margin-top: 20px; padding: 0; border: 0; }
.ry-done__foot .ry-btn--outline { color: #535965; font-weight: 400; font-size: 15px; background: var(--ry-white); }
.ry-done__foot .ry-btn--navy { background: #274996; font-size: 15px; font-weight: 700; }
.ry-wiz-body .ry-wiz:has(.ry-done) { padding-top: 60px; }
@media (max-width: 991px) { .ry-pay { grid-template-columns: 1fr; } .ry-pay__sum { position: static; } }
@media (max-width: 600px) {
  .ry-done__no { padding: 10px 12px; }
  .ry-done__foot { flex-direction: column-reverse; }
  .ry-done__foot .ry-btn { width: 100%; }
}
/* QA pass 2b — footer headings/links on one line (Figma), CTA divider visible */
@media (min-width: 1200px) { .ry-footer__grid { grid-template-columns: repeat(5, auto); } .ry-footer h3, .ry-footer li a { white-space: nowrap; } }
.ry-cta__points { max-width: 1000px; margin-inline: auto; border-top-color: rgba(255, 255, 255, .18); }
.ry-phero__pattern { filter: brightness(3.2); opacity: .07; top: 40px; }

/* ==========================================================================================================
   WHY US — Figma 65:124 (section y806–1577, 771px). The ONLY rules for this section.
   Desktop: picture stage 658 + gap 30 + copy 627 (=1315), stage first (start side). The stage keeps Figma's
   658×587 proportions and everything inside it is placed in % / cqw, so it scales as one picture at every width.
   ========================================================================================================== */
.ry-why { position: relative; overflow: hidden; padding-block: 84px 100px; background: var(--ry-white); }
.ry-why .ry-pattern { top: 1px; inset-inline-start: -191px; inset-inline-end: auto; width: 792px; height: 485px; opacity: .1; filter: none; }
.ry-why__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 658fr) minmax(0, 627fr); gap: 30px;
  align-items: start; max-width: 1355px; }

/* copy column (101:3107) */
.ry-why__copy { padding-top: 18px; }
.ry-why .ry-eyebrow { color: var(--ry-gold); font-size: 14px; font-weight: 600; line-height: 20px; }
.ry-why__copy .ry-h2 { max-width: 560px; margin-top: 3px; padding-top: 12px; color: var(--ry-ink); font-size: 48px; font-weight: 700; line-height: 60px; }
.ry-why__copy .ry-h2 span { color: var(--ry-sky); }
.ry-why__copy .ry-lead { max-width: 551px; margin-top: 0; padding-top: 24px; color: #535965; font-size: 18px; line-height: 29.25px; }
.ry-why__items { display: grid; grid-template-columns: repeat(2, minmax(0, 290px)); justify-content: start; gap: 40px; margin-top: 34px; }
.ry-why__item { display: flex; align-items: flex-start; gap: 16px; }
.ry-why__num { flex: 0 0 auto; min-width: 46px; color: #f6f1e2; font-family: Rubik, var(--ry-font); font-size: 36px; font-weight: 900; line-height: 36px; }
.ry-why__item > div { flex: 1 1 auto; min-width: 0; padding-top: 4px; }
.ry-why__item h3 { display: flex; align-items: center; gap: 8px; min-height: 31px; color: var(--ry-ink); font-size: 16px; font-weight: 700; line-height: 24px; }
.ry-why__item h3 i { flex: 0 0 31px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #f6f1e2; color: var(--ry-gold); }
.ry-why__item h3 i .ry-ic { width: 23px; height: 23px; stroke-width: 1.5; }
.ry-why__item p { margin-top: 0; padding-top: 8px; color: #535965; font-size: 14px; line-height: 22.75px; }

/* picture stage (71:1326 — 658×587): people x0 y-64 509×621, fade x42 y322 616×265, badge x473 y114 162×103 */
.ry-why__media { order: -1; position: relative; min-height: 0; aspect-ratio: 658 / 587; container-type: inline-size; }
.ry-why__media img.ry-why__people { position: absolute; inset-inline-start: auto; inset-inline-end: 0; top: -10.903%; bottom: auto;
  width: 77.356%; height: auto; transform: none; }
.ry-why__media::after { content: ""; position: absolute; z-index: 1; inset-inline-start: 0; inset-inline-end: auto; top: 54.855%; bottom: 0;
  width: 93.617%; height: auto; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.ry-why__badge { position: absolute; z-index: 2; inset-inline-start: 3.495%; top: 19.421%; display: grid; gap: .608cqw;
  width: max-content; min-width: 24.62cqw; padding: 3.19cqw 2.74cqw; border-radius: 2.432cqw; color: var(--ry-white); text-align: start;
  background: linear-gradient(135deg, #3d94fd 0%, #89c0f8 100%);
  box-shadow: 0 13px 34px rgba(198, 168, 75, .02), 0 27px 62px rgba(198, 168, 75, .02), 0 80px 107px rgba(198, 168, 75, .02); }
.ry-why__badge span { display: block; font-size: max(10px, 2.128cqw); font-weight: 700; line-height: 1.485; }
.ry-why__badge b { display: block; margin: 0; font-size: max(15px, 3.647cqw); font-weight: 700; line-height: 1.485; white-space: nowrap; }

@media (min-width: 1400px) { .ry-why__grid { inset-inline-start: -29px; } }   /* Figma: 34px from the start edge, 91px from the end */

/* tablet / phone: copy first, then the same picture stage at full width (max 658) */
@media (max-width: 991px) {
  .ry-why { padding-block: 64px 40px; }
  .ry-why__grid { grid-template-columns: 1fr; gap: 56px; }
  .ry-why__copy { padding-top: 0; }
  .ry-why__media { order: 0; width: 100%; max-width: 658px; margin-inline: auto; }
  .ry-why .ry-pattern { inset-inline-start: -320px; }
}
@media (max-width: 767px) {
  .ry-why__copy .ry-h2 { font-size: 34px; line-height: 44px; }
  .ry-why__copy .ry-lead { font-size: 16px; line-height: 26px; }
}
@media (max-width: 600px) {
  .ry-why { padding-block: 56px 24px; }
  .ry-why__items { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .ry-why__copy .ry-h2 { font-size: 30px; line-height: 40px; }
  .ry-why__grid { gap: 72px; }
  .ry-why__badge { top: 0; padding: 8px 12px; border-radius: 12px; gap: 0; }
  .ry-why__badge span { font-size: 10px; }
  .ry-why__badge b { font-size: 15px; }
}

/* ==========================================================================================================
   AUTH (login / register) — form on the start side (right in Arabic), brand panel on the end side.
   The panel stretches with the page (long register form) and keeps its copy in view while scrolling.
   ========================================================================================================== */
.ry-auth { grid-template-columns: minmax(0, 1fr) 605px; align-items: stretch; }
.ry-body.ry-auth-body { overflow: visible; }   /* a scrolling body would stop the panel copy/badge from sticking; html already clips x */
.ry-auth__form { padding: 40px 48px 32px; }
.ry-auth__inner { max-width: 420px; }
.ry-auth__panel, [dir="rtl"] .ry-auth__panel { position: relative; top: auto; height: auto; min-height: 100vh; overflow: clip; padding: 0 56px 32px; }
.ry-auth__panel-copy { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 140px);
  margin-block: 0 auto; margin-inline: auto; width: 100%; max-width: 420px; }
.ry-auth__panel h2 { font-size: 50px; line-height: 1.2; }
.ry-auth__panel h2 span { display: block; }
.ry-auth__acc { position: sticky; bottom: 32px; align-self: center; width: 100%; max-width: 420px; }
.ry-auth__glow { inset-inline-start: -40px; inset-inline-end: auto; }
[dir="rtl"] .ry-auth input[dir="ltr"], [dir="rtl"] .ry-auth input[inputmode="numeric"], [dir="rtl"] .ry-auth input[type="tel"] { text-align: right; }
.ry-auth__terms { line-height: 1.7; }
@media (max-width: 1199px) {
  .ry-auth { grid-template-columns: minmax(0, 1fr) 440px; }
  .ry-auth__panel, [dir="rtl"] .ry-auth__panel { padding: 0 40px 28px; }
  .ry-auth__panel h2 { font-size: 40px; }
  .ry-auth__form { padding-inline: 32px; }
}
@media (max-width: 960px) {
  .ry-auth { grid-template-columns: minmax(0, 1fr) 340px; }
  .ry-auth__panel h2 { font-size: 34px; }
  .ry-auth__acc span { font-size: 14px; }
  .ry-auth__acc img { width: 130px; }
}
@media (max-width: 860px) {
  .ry-auth { grid-template-columns: 1fr; }
  .ry-auth__panel { display: none; }
  .ry-auth__form { padding: 24px 20px; min-height: 100vh; }
  .ry-auth__inner { max-width: 440px; padding-block: 24px; }
  .ry-auth__logo { width: 160px; margin-bottom: 36px; }
}
@media (max-width: 400px) {
  .ry-auth__form { padding-inline: 16px; }
  .ry-auth__title { font-size: 24px; }
  .ry-auth__text { font-size: 14px; }
}

/* ==========================================================================================================
   FIGMA COLOURS — every gradient below is converted from the Figma fill (handles projected onto the CSS
   gradient line of the element's box), so angles AND stop positions match the design. LTR mirrors the angle.
   ========================================================================================================== */
/* hero photo overlays (71:1299): solid navy over the text side + top-down 80% navy */
.ry-hero::after, [dir="rtl"] .ry-hero::after { background: linear-gradient(270deg, #1e3c6f 40.8%, rgba(30, 60, 111, 0) 101.5%),
  linear-gradient(180deg, rgba(30, 60, 111, .8) -9.4%, rgba(30, 60, 111, 0) 103.3%); }
[dir="ltr"] .ry-hero::after { background: linear-gradient(90deg, #1e3c6f 40.8%, rgba(30, 60, 111, 0) 101.5%),
  linear-gradient(180deg, rgba(30, 60, 111, .8) -9.4%, rgba(30, 60, 111, 0) 103.3%); }
/* stats band (65:661) */
.ry-stats { background: linear-gradient(292deg, #00306e 39%, #c69b58 174.8%); }
[dir="ltr"] .ry-stats { background: linear-gradient(68deg, #00306e 39%, #c69b58 174.8%); }
/* final CTA (65:1036 wash ×.85 + 65:1037 fade to navy), on top of the photo */
.ry-cta::before { background: linear-gradient(180deg, rgba(18, 58, 123, 0) 0%, #123a7b 100%),
  linear-gradient(289.6deg, rgba(18, 58, 123, .85) 30%, rgba(198, 158, 88, .85) 98.4%); }
[dir="ltr"] .ry-cta::before { background: linear-gradient(180deg, rgba(18, 58, 123, 0) 0%, #123a7b 100%),
  linear-gradient(70.4deg, rgba(18, 58, 123, .85) 30%, rgba(198, 158, 88, .85) 98.4%); }
.ry-cta__points .ry-ic { color: #c6a84b; }
/* featured diploma + why-us picture fades (65:330, 71:1329) */
.ry-feat__media::after { background: linear-gradient(180deg, rgba(247, 248, 251, 0) 0%, #f7f8fb 86.6%); }
.ry-why__media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 86.6%); }
/* «يختارنا أكثر من 10,000 متعلم» card (71:1327) */
.ry-why__badge { background: linear-gradient(126deg, #3d94fd 5.6%, #89c0f8 70.1%); }
[dir="ltr"] .ry-why__badge { background: linear-gradient(234deg, #3d94fd 5.6%, #89c0f8 70.1%); }
/* about — vision card (162:1547) */
.ry-vmv__card--navy { background: linear-gradient(118.7deg, #274996 0%, #123a7b 100%); }
[dir="ltr"] .ry-vmv__card--navy { background: linear-gradient(241.3deg, #274996 0%, #123a7b 100%); }
/* about — president photo bottom tint (161:1437) */
.ry-word__photo::after { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 480px; pointer-events: none;
  border-radius: 180px 180px 16px 16px; background: linear-gradient(0deg, rgba(18, 58, 123, .4) 0%, rgba(18, 58, 123, 0) 100%); }
.ry-word__photo figcaption { z-index: 2; }
@media (max-width: 600px) { .ry-word__photo::after { height: 400px; } }
/* about — story timeline spine (162:1715): 1px, fades in and out */
.ry-timeline::before { width: 1px; margin-left: 0; background: linear-gradient(180deg, rgba(39, 73, 150, 0) 0%, rgba(39, 73, 150, .3) 50%, rgba(39, 73, 150, 0) 100%); }
/* about — «ما يجعلنا استثنائيين» section (162:1834) + facility photo shade (162:1840) + inactive tab icons */
.ry-dist { background: linear-gradient(149.2deg, #123a7b 15.7%, #274996 84.3%); }
[dir="ltr"] .ry-dist { background: linear-gradient(210.8deg, #123a7b 15.7%, #274996 84.3%); }
.ry-dist__panel::after { background: linear-gradient(0deg, rgba(0, 27, 61, .85) 0%, rgba(4, 32, 70, .475) 25%, rgba(10, 39, 84, .287) 37.5%,
  rgba(18, 48, 101, .194) 43.8%, rgba(39, 73, 150, .1) 50%, rgba(39, 73, 150, 0) 100%); }
.ry-dist__tab:not(.is-active) .ry-dist__tabhead i { color: #e7cf9f; }
/* about — environment photo with caption (162:2705): whole-photo navy shade, caption without its own band */
.ry-env__b::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(18, 58, 123, .7) 0%, rgba(18, 58, 123, 0) 100%); }
.ry-env__b figcaption { z-index: 2; background: none; }
/* contact — channel icons (162:2762) */
.ry-channel__ic { color: #e7cf9f; }
/* login / register brand panel (129:2717) + gold glow (129:1435) */
.ry-auth__panel, [dir="rtl"] .ry-auth__panel { background: linear-gradient(157.4deg, #1b3470 4.9%, #274996 54.5%, #2057a0 95.1%); }
[dir="ltr"] .ry-auth__panel { background: linear-gradient(202.6deg, #1b3470 4.9%, #274996 54.5%, #2057a0 95.1%); }
.ry-auth__glow { background: radial-gradient(circle, rgba(198, 158, 88, .08) 0%, rgba(198, 158, 88, 0) 70%); }
/* enrolment step 4 banner (164:24360) */
.ry-done__banner { background: linear-gradient(118.5deg, #001b3d 0%, #0d2d6b 50%, #274996 100%); }
[dir="ltr"] .ry-done__banner { background: linear-gradient(241.5deg, #001b3d 0%, #0d2d6b 50%, #274996 100%); }
/* paid / free / secure states (wizard) */
.ry-sum__secure { color: #22c55e; }
/* hero photo = the RAW Figma image (hero-photo.jpg; hero.jpg had the overlays baked in), placed like node 71:1299:
   1593×909 at x-22 y-76 inside the 1440×806 hero → 110.6% wide at 14.4% / 73.8% */
.ry-hero { background: var(--ry-navy-2) url(../images/rayan/hero-photo.jpg) 14.4% 73.8% / 110.6% auto no-repeat; }
@media (max-width: 1299px) { .ry-hero { background-size: cover; background-position: 25% 70%; } }
/* about — facility tabs (Figma 162:1834): number + title on the start side, icon tile at the far end */
.ry-dist__tabhead em { order: -1; }
.ry-dist__tabhead b { flex: 0 1 auto; }
.ry-dist__tabhead i { order: 2; margin-inline-start: auto; }
/* five networks (official site: X · Instagram · Facebook · LinkedIn · YouTube) fit the 234px brand column */
.ry-social { gap: 8px; flex-wrap: wrap; }
.ry-social a, .ry-social span { width: 40px; height: 40px; }
