/* =====================================================================================
   Right Move Real Estate Development — Master Stylesheet (v5.2.0)
   Designed for luxury, clarity, seamless RTL flow, and rich micro-interactions.
   ===================================================================================== */

/* ---------------------------------------------------------------- Skip Link */
.skip {
  position: absolute; inset-inline-start: var(--s-4); top: -100px; z-index: var(--z-modal);
  background: var(--navy-900); color: #fff; padding: .6rem 1.2rem; border-radius: var(--r-1);
  box-shadow: var(--sh-2); border: 1px solid var(--gold-400); font-weight: 600;
  transition: top .25s var(--ease);
}
.skip:focus { top: var(--s-4); }

/* ---------------------------------------------------------------- Sticky Glassmorphic Nav */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(228, 223, 213, 0.6);
  transition: background var(--dur-mid) ease, border-color var(--dur-mid) ease, box-shadow var(--dur-mid) ease;
}
.nav[data-stuck="1"] {
  background: rgba(251, 249, 245, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -2px rgba(12, 25, 38, 0.06);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: var(--s-4);
}

/* Brand */
.brand {
  display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: 0 0 auto;
}
.brand img {
  width: 44px; height: 44px; object-fit: contain;
  transition: transform var(--dur-fast) ease;
  filter: drop-shadow(0 2px 4px rgba(7, 31, 56, 0.1));
}
.brand:hover img { transform: scale(1.05); }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-weight: 600; font-size: var(--fs-sm); color: var(--navy-950);
  line-height: 1.25; letter-spacing: -.01em;
}
.brand__en {
  font-size: 11px; color: var(--ink-3); font-weight: 500;
  letter-spacing: .02em; line-height: 1.2;
}

/* Nav Links */
.nav__links {
  display: flex; align-items: center; gap: var(--s-2);
  margin-inline-start: auto;
}
.nav__links > a {
  position: relative; font-size: var(--fs-sm); font-weight: 600;
  color: var(--navy-950); padding: .55rem .95rem; border-radius: var(--r-1);
  text-decoration: none; transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
  letter-spacing: -0.01em;
}
.nav__links > a:hover {
  color: var(--gold-600); background: rgba(197, 155, 39, 0.1);
}
.nav__links > a[aria-current="page"] {
  color: var(--gold-700); font-weight: 700; background: rgba(197, 155, 39, 0.14);
}
.nav__links > a[aria-current="page"]::after {
  content: ""; position: absolute; bottom: 0; inset-inline: .95rem;
  height: 2px; background: var(--gold-500); border-radius: var(--r-pill);
}

.nav__cta-wrap { flex: 0 0 auto; }
.nav__cta {
  padding: .65rem 1.25rem; font-size: var(--fs-sm);
  background: var(--navy-900); color: #fff;
  border: 1px solid rgba(223, 183, 70, 0.4);
  box-shadow: 0 4px 14px -2px rgba(7, 31, 56, 0.25);
}
.nav__cta svg {
  transition: transform var(--dur-fast) ease;
}
.nav__cta:hover {
  background: var(--navy-800); color: #fff;
  border-color: var(--gold-400); box-shadow: 0 6px 18px -2px rgba(7, 31, 56, 0.35);
}
.nav__cta:hover svg {
  transform: translateX(-4px);
}

.nav__burger {
  display: none; background: transparent; border: 0; padding: .6rem;
  cursor: pointer; color: var(--navy-950); flex-direction: column; gap: 5px;
}
.nav__burger-bar {
  display: block; width: 22px; height: 2px; background: currentColor;
  border-radius: var(--r-pill); transition: transform .25s ease, opacity .25s ease;
}
.nav__mobile-cta { display: none; }

@media (max-width: 980px) {
  .nav__burger { display: flex; }
  .nav__cta-wrap { display: none; }
  .nav__links {
    display: none; position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .4rem;
    padding: var(--s-5) var(--s-5) var(--s-6);
    background: rgba(251, 249, 245, 0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-3);
  }
  .nav__links[data-open="1"] { display: flex; animation: slideNav .25s var(--ease); }
  .nav__links > a { padding: .85rem 1rem; font-size: var(--fs-base); }
  .nav__mobile-cta { display: block; margin-top: var(--s-3); }
  .nav__mobile-cta .btn,
  .nav__mobile-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: .95rem 1.25rem !important;
    font-size: var(--fs-base) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: var(--grad-navy) !important;
    border: 1px solid rgba(223, 183, 70, 0.45) !important;
    box-shadow: 0 6px 20px -2px rgba(7, 31, 56, 0.4) !important;
    border-radius: var(--r-1) !important;
    text-decoration: none !important;
  }
  .nav__mobile-cta .btn span,
  .nav__mobile-cta-btn span {
    color: #ffffff !important;
  }
  .nav__mobile-cta .btn svg,
  .nav__mobile-cta-btn svg {
    color: var(--gold-400) !important;
    stroke: var(--gold-400) !important;
    margin-inline-start: .5rem !important;
  }
  .nav__mobile-cta .btn:hover,
  .nav__mobile-cta-btn:hover {
    background: var(--navy-800) !important;
    color: #ffffff !important;
    border-color: var(--gold-400) !important;
  }
}
@media (max-width: 640px) {
  .brand { gap: .5rem; }
  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: 13.5px; }
  .brand__en { display: none; }
}
@keyframes slideNav {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- HERO SECTION */
.rm-hero-wrap {
  position: relative; overflow: hidden;
  padding-block: var(--s-7) var(--s-9);
  background: radial-gradient(circle at 10% 20%, rgba(223, 183, 70, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(10, 43, 76, 0.05) 0%, transparent 45%);
}
.rm-hero {
  display: grid; grid-template-columns: 1.15fr 0.95fr;
  align-items: stretch; gap: var(--s-8); min-height: 520px;
}
.rm-hero,
.rm-hero__copy,
.rm-hero__media {
  min-width: 0;
  max-width: 100%;
}
.rm-hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.rm-hero__eyebrow { margin-bottom: var(--s-4); }
.rm-pulse-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--gold-500); display: inline-block;
  box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(197, 155, 39, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 155, 39, 0); }
}
.rm-hero__title {
  font-size: var(--fs-3xl); font-weight: 600; line-height: 1.18;
  color: var(--navy-950); margin-bottom: var(--s-4);
  word-break: normal; overflow-wrap: break-word; text-wrap: balance;
}
.rm-hero__lead {
  font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.7;
  max-width: 54ch; margin-bottom: var(--s-6);
}
.rm-hero__ctas {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  margin-bottom: var(--s-6);
}
.btn--lg { padding: 1rem 1.85rem; font-size: var(--fs-base); }

.rm-hero__trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  padding-top: var(--s-5); border-top: 1px solid var(--line-subtle);
  margin-top: auto;
}
.rm-trust-pill {
  display: flex; align-items: center; gap: .45rem;
  font-size: var(--fs-xs); font-weight: 500; color: var(--ink-2);
}
.rm-trust-pill svg { width: 16px; height: 16px; color: var(--gold-600); flex-shrink: 0; }

/* Hero Media */
.rm-hero__media { position: relative; display: flex; flex-direction: column; }
.rm-hero__frame {
  position: relative; border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--sh-3); border: 2px solid rgba(255, 255, 255, 0.8);
  flex: 1; min-height: 480px; width: 100%;
}
.rm-hero__frame picture { display: contents; }
.rm-hero__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.rm-hero__frame:hover img { transform: scale(1.03); }
.rm-hero__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(197, 155, 39, 0.25);
  border-radius: var(--r-3);
}

.rm-hero__badge-floating {
  position: absolute; bottom: var(--s-4); inset-inline-end: var(--s-4);
  background: rgba(7, 31, 56, 0.85); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(223, 183, 70, 0.35);
  border-radius: var(--r-2); padding: .75rem 1.1rem;
  display: flex; align-items: center; gap: .75rem; color: #fff;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.35);
}
.rm-hero__badge-icon { font-size: 1.4rem; }
.rm-hero__badge-floating strong { display: block; font-size: var(--fs-xs); color: var(--gold-300); }
.rm-hero__badge-floating small { display: block; font-size: 11px; color: #d0dde9; }

@media (max-width: 980px) {
  .rm-hero { grid-template-columns: 1fr; gap: var(--s-6); min-height: auto; align-items: stretch; }
  .rm-hero__frame { min-height: 350px; aspect-ratio: 16 / 11; max-height: 420px; }
}

@media (max-width: 640px) {
  .rm-hero-wrap { padding-block: var(--s-5) var(--s-7); }
  .rm-hero { gap: var(--s-5); }
  .rm-hero__title {
    font-size: clamp(1.65rem, 1.35rem + 1.8vw, 2.2rem);
    line-height: 1.25;
    text-wrap: balance;
  }
  .rm-hero__lead {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: var(--s-5);
  }
  .rm-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--s-3);
  }
  .rm-hero__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: .9rem 1.4rem;
    font-size: var(--fs-base);
  }
  .rm-hero__trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding-top: var(--s-4);
  }
  .rm-trust-pill {
    font-size: 12px;
  }
  .rm-hero__frame {
    min-height: 260px;
    max-height: 340px;
    aspect-ratio: 16 / 10;
  }
  .rm-hero__badge-floating {
    padding: .55rem .85rem;
    bottom: var(--s-3);
    inset-inline-end: var(--s-3);
    font-size: 12px;
  }
}

/* ---------------------------------------------------------------- STATS STRIP */
.rm-stats-section {
  position: relative; margin-top: calc(-1 * var(--s-5)); z-index: 2;
}
.rm-stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: var(--r-2);
  border: 1px solid var(--line); box-shadow: var(--sh-2);
  overflow: hidden;
}
.rm-stat-item {
  padding: var(--s-5) var(--s-6); text-align: center;
  border-inline-end: 1px solid var(--line-subtle);
  transition: background var(--dur-fast) ease;
}
.rm-stat-item:last-child { border-inline-end: 0; }
.rm-stat-item:hover { background: var(--surface-2); }
.rm-stat-item__num {
  font-size: var(--fs-2xl); font-weight: 700; color: var(--navy-900);
  line-height: 1.1; margin-bottom: .35rem; font-variant-numeric: tabular-nums;
}
.rm-stat-item__label {
  font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500;
}
.rm-stat-item--highlight {
  background: var(--grad-gold-soft);
  display: flex; flex-direction: column; justify-content: center;
}
.rm-stat-item__badge {
  font-size: var(--fs-xl); font-weight: 700; color: var(--gold-600);
  margin-bottom: .25rem;
}

@media (max-width: 840px) {
  .rm-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .rm-stat-item:nth-child(2) { border-inline-end: 0; }
  .rm-stat-item { border-bottom: 1px solid var(--line-subtle); }
}
@media (max-width: 480px) {
  .rm-stats-bar { grid-template-columns: 1fr; }
  .rm-stat-item { border-inline-end: 0; }
}

/* ---------------------------------------------------------------- Section Headers */
.section-head { margin-bottom: var(--s-6); }
.section-head.center { text-align: center; }
.section-head-split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-6);
}

/* ---------------------------------------------------------------- PROJECTS GRID */
.rm-projects-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-5);
}
.pcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; border-radius: var(--r-2); overflow: hidden; text-decoration: none;
  background: var(--navy-900); box-shadow: var(--sh-1);
  border: 1px solid rgba(12, 25, 38, 0.08);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease), border-color var(--dur-mid) ease;
}
.pcard--feature { grid-row: span 2; min-height: 540px; }
.pcard img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.pcard:hover {
  transform: translateY(-4px); box-shadow: var(--sh-3);
  border-color: var(--gold-400);
}
.pcard:hover img { transform: scale(1.04); }
.pcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 32, 0) 30%, rgba(4, 18, 32, 0.72) 70%, rgba(4, 18, 32, 0.94) 100%);
  pointer-events: none;
}
.pcard__status {
  position: absolute; top: var(--s-4); inset-inline-start: var(--s-4); z-index: 2;
  font-size: 11px; font-weight: 600; padding: .35rem .75rem; border-radius: var(--r-pill);
  background: rgba(7, 31, 56, 0.85); color: #fff;
  border: 1px solid rgba(223, 183, 70, 0.35); backdrop-filter: blur(8px);
}
.pcard__body {
  position: relative; z-index: 2; padding: var(--s-5) var(--s-6); color: #fff;
}
.pcard__tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--gold-300);
  margin-bottom: .4rem; letter-spacing: .04em;
}
.pcard__body h3 {
  font-size: var(--fs-xl); color: #fff; line-height: 1.25; margin-bottom: .4rem;
}
.pcard__body p {
  color: #d1dde8; font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--s-3);
}
.pcard__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  font-size: var(--fs-xs); color: #b0c2d3;
}
.pcard__meta span { display: inline-flex; align-items: center; gap: .3rem; }

@media (max-width: 900px) {
  .rm-projects-grid { grid-template-columns: 1fr; }
  .pcard, .pcard--feature { min-height: 320px; grid-row: auto; }
}

/* ---------------------------------------------------------------- GATES TIMELINE */
.gates { position: relative; }
.gates__list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4);
  list-style: none; margin: 0; padding: 0;
}
.gates__list li {
  background: var(--surface); border-radius: var(--r-2);
  border: 1px solid var(--line); padding: var(--s-5) var(--s-4);
  display: flex; flex-direction: column; position: relative;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.gates__list li:hover {
  transform: translateY(-4px); box-shadow: var(--sh-2);
  border-color: var(--gold-400);
}
.gates__chip {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--grad-navy); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-xs); margin-bottom: var(--s-4);
  box-shadow: 0 4px 12px -2px rgba(7, 31, 56, 0.25);
  border: 1px solid rgba(223, 183, 70, 0.3);
}
.gates__list h3 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-2); }
.gates__list p { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.65; margin: 0; flex-grow: 1; }
.gates__foot {
  margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line-subtle);
  font-size: 11px; font-weight: 600; color: var(--gold-600);
}

@media (max-width: 980px) {
  .gates__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gates__list { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- SPLIT & PARTNER */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.split__list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.split__list li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-4); align-items: start; }
.split__icon {
  width: 36px; height: 36px; border-radius: var(--r-1);
  background: var(--gold-100); border: 1px solid var(--line-gold);
  color: var(--gold-600); display: flex; align-items: center; justify-content: center;
}
.split__icon svg { width: 18px; height: 18px; stroke-width: 2; }
.split__list b { display: block; font-weight: 600; color: var(--navy-950); margin-bottom: .2rem; }
.split__list span { color: var(--ink-3); font-size: var(--fs-sm); line-height: 1.6; }

.rm-media-frame {
  position: relative; border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--sh-2); border: 2px solid #fff;
}
.rm-media-frame img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; }
.rm-media-caption {
  position: absolute; bottom: 0; inset-inline: 0;
  background: rgba(7, 31, 56, 0.88); backdrop-filter: blur(8px);
  padding: .75rem var(--s-4); color: #fff;
}
.rm-media-caption strong { display: block; font-size: var(--fs-xs); color: var(--gold-300); }
.rm-media-caption span { font-size: 11px; color: #cfdbe6; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ---------------------------------------------------------------- WHY SECTION (Interactive Chart) */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-8);
  align-items: center; padding-block: var(--s-8);
}
.why__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-600); font-size: var(--fs-xs); letter-spacing: .08em; margin-bottom: var(--s-3);
}
.sig { display: inline-grid; grid-auto-flow: column; align-items: end; gap: 3px; height: 14px; }
.sig i { width: 3px; background: var(--gold-500); border-radius: 1px; display: block; animation: sig 1.8s ease-in-out infinite; }
.sig i:nth-child(1) { height: 6px; animation-delay: 0s; }
.sig i:nth-child(2) { height: 10px; animation-delay: .22s; }
.sig i:nth-child(3) { height: 14px; background: var(--navy-800); animation-delay: .44s; }
@keyframes sig { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.5); } }

.why__read {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
  margin-top: var(--s-6); padding: var(--s-4); background: var(--paper);
  border-radius: var(--r-2); border: 1px solid var(--line-subtle);
}
.why__read dt { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
.why__read dd { margin: .25rem 0 0; font-weight: 600; color: var(--navy-950); font-variant-numeric: tabular-nums; }
.why__read .is-new { animation: outIn .35s var(--ease); }
@keyframes outIn { from { transform: translateY(4px); opacity: .3; } to { transform: none; opacity: 1; } }

.why__chart {
  position: relative; margin: 0; background: var(--paper-2);
  padding: var(--s-5); border-radius: var(--r-2); border: 1px solid var(--line);
}
.why__bars { width: 100%; height: auto; overflow: visible; display: block; }
.why__col { cursor: pointer; transition: opacity .2s ease; }
.why__col:hover rect.why__fill { filter: brightness(1.15); }
.why__col text { font-size: 9px; fill: var(--ink-3); font-weight: 600; }
.why__col[data-active="1"] text { fill: var(--navy-950); font-weight: 700; }
.why__col[data-dim="1"] rect.why__fill { opacity: .35; }
svg.why__bars rect.why__track { fill: #e5e0d5; }
svg.why__bars rect.why__fill--g { fill: var(--gold-500); }
svg.why__bars rect.why__fill--n { fill: var(--navy-800); }
svg.why__bars .why__ground { stroke: var(--gold-500); stroke-width: 2; }
.why__cursor { stroke: var(--navy-800); stroke-width: 1.5; stroke-dasharray: 3 3; pointer-events: none; }
.why__chart figcaption { font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--s-3); text-align: center; }

@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ---------------------------------------------------------------- INVESTOR SECTION */
.invest { position: relative; overflow: hidden; padding-block: var(--s-10); }
.invest__bg { position: absolute; inset: 0; z-index: 0; }
.invest__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(1.2); }
.invest__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(4, 18, 32, 0.94) 0%, rgba(7, 31, 56, 0.88) 100%);
}
.invest__inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-8); align-items: center;
}
.invest h2 { color: #fff; margin-bottom: var(--s-3); }
.invest .lead { color: #c3d3e2; }
.invest__forms { display: grid; gap: var(--s-4); }
.invest-card {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-2); padding: var(--s-4) var(--s-5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.invest-card:hover {
  transform: translateX(-4px); border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.08);
}
.invest-card b { display: block; color: var(--gold-300); font-size: var(--fs-sm); margin-bottom: .25rem; }
.invest-card span { display: block; color: #b7c8d9; font-size: var(--fs-xs); line-height: 1.6; }

@media (max-width: 900px) {
  .invest__inner { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ---------------------------------------------------------------- MEDIA BAND */
.rm-band-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
.rm-band-grid figure {
  margin: 0; border-radius: var(--r-2); overflow: hidden;
  box-shadow: var(--sh-1); border: 1px solid var(--line);
  background: var(--surface);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.rm-band-grid figure:hover {
  transform: translateY(-4px); box-shadow: var(--sh-2);
}
.rm-band-grid img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.rm-band-grid figcaption {
  padding: .75rem 1rem; font-size: var(--fs-xs); font-weight: 500;
  color: var(--ink-2); text-align: center; border-top: 1px solid var(--line-subtle);
}
@media (max-width: 800px) {
  .rm-band-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- CLOSING CTA BAND */
.cta-band {
  background: var(--grad-navy); color: #fff; position: relative; overflow: hidden;
  border-top: 1px solid rgba(223, 183, 70, 0.3);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(223, 183, 70, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative; z-index: 1; display: flex; align-items: center;
  justify-content: space-between; gap: var(--s-6); padding-block: var(--s-8);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: .4rem; }
.cta-band p { color: #c4d4e4; max-width: 50ch; margin: 0; font-size: var(--fs-base); }

/* ---------------------------------------------------------------- PAGE HERO (INNER PAGES) */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: var(--s-8) var(--s-8);
  background: radial-gradient(circle at 10% 20%, rgba(223, 183, 70, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(10, 43, 76, 0.04) 0%, transparent 40%),
              var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; text-align: center; min-width: 0; max-width: 100%; }
.page-hero__heading-group {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; margin-bottom: var(--s-3); max-width: 100%; flex-wrap: wrap;
}
.page-hero__breadcrumbs {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: var(--s-4);
}
.page-hero__breadcrumbs a { color: var(--ink-3); }
.page-hero__breadcrumbs a:hover { color: var(--gold-600); }
.page-hero__breadcrumbs .sep { color: var(--line); }

.page-hero__badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gold-100); border: 1px solid var(--line-gold);
  color: var(--gold-600); padding: .3rem .9rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; margin-bottom: var(--s-4);
  max-width: 100%;
}
.page-hero__badge-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--gold-500); flex-shrink: 0;
}
.page-hero__title {
  font-size: var(--fs-3xl); font-weight: 600; color: var(--navy-950);
  line-height: 1.2; margin-bottom: var(--s-4);
  word-break: normal; overflow-wrap: break-word; text-wrap: balance;
}
.page-hero__lead {
  font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.7;
  max-width: 62ch; margin-inline: auto; margin-bottom: 0;
}
@media (max-width: 640px) {
  .page-hero { padding-block: var(--s-6) var(--s-6); }
  .page-hero__heading-group { flex-direction: column; gap: .5rem; }
  .page-hero__title {
    font-size: clamp(1.5rem, 1.25rem + 1.8vw, 2.1rem);
    line-height: 1.25;
    text-align: center;
  }
  .page-hero__lead {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Prose Card for page body */
.page-prose-card {
  max-width: 860px; margin-inline: auto; background: var(--surface);
  border-radius: var(--r-2); border: 1px solid var(--line);
  padding: var(--s-7) var(--s-8); box-shadow: var(--sh-1);
}
.prose { font-size: var(--fs-base); line-height: 1.85; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--navy-950); margin-top: var(--s-6); margin-bottom: var(--s-3); }
.prose ul, .prose ol { padding-inline-start: var(--s-5); margin-bottom: var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
@media (max-width: 700px) {
  .page-prose-card { padding: var(--s-5) var(--s-4); }
}

/* ---------------------------------------------------------------- CONTACT LAYOUT & REDESIGNED FORM */
.rm-contact-layout {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: var(--s-8); align-items: start;
}
.rm-contact-layout,
.rm-contact-info__card,
.rm-contact-form-wrap,
.rm-form-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.rm-contact-info__card {
  background: var(--surface); border-radius: var(--r-2);
  border: 1px solid var(--line); padding: var(--s-7);
  box-shadow: var(--sh-1); position: sticky; top: calc(var(--nav-h) + var(--s-5));
}
.rm-contact-channels { display: grid; gap: var(--s-3); max-width: 100%; }
.rm-channel-item {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5); border-radius: var(--r-1);
  background: var(--paper); border: 1px solid var(--line-subtle);
  text-decoration: none; color: var(--ink);
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease, background var(--dur-fast) ease;
  max-width: 100%; box-sizing: border-box; overflow: hidden;
}
.rm-channel-item:hover {
  transform: translateX(-3px); border-color: var(--gold-400);
  background: #fff; box-shadow: var(--sh-1);
}
.rm-channel-item--wa {
  background: #f0fdf4; border-color: #bbf7d0; color: #166534;
}
.rm-channel-item--wa:hover {
  border-color: #22c55e; background: #e8faec;
}
.rm-channel-item--static { cursor: default; }
.rm-channel-item--static:hover { transform: none; box-shadow: none; border-color: var(--line-subtle); background: var(--paper); }
.rm-channel-item__icon {
  width: 42px; height: 42px; border-radius: var(--r-1);
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: var(--navy-800); box-shadow: var(--sh-sm); flex-shrink: 0;
}
.rm-channel-item--wa .rm-channel-item__icon { color: #15803d; }
.rm-channel-item__text { min-width: 0; overflow: hidden; }
.rm-channel-item__text small { display: block; font-size: 11.5px; color: var(--ink-3); }
.rm-channel-item__text strong { display: block; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-channel-item__action { margin-inline-start: auto; font-size: var(--fs-xs); font-weight: 600; color: #15803d; flex-shrink: 0; }

.rm-trust-badge {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: var(--r-1);
  background: var(--gold-100); border: 1px solid var(--line-gold);
}
.rm-trust-badge__icon { font-size: 1.3rem; }
.rm-trust-badge strong { display: block; font-size: var(--fs-xs); color: var(--navy-950); }
.rm-trust-badge span { font-size: 11px; color: var(--gold-700); }

/* Form Card */
.rm-form-card {
  background: var(--surface); border-radius: var(--r-3);
  border: 1px solid var(--line); padding: var(--s-7) var(--s-7);
  box-shadow: var(--sh-2); position: relative;
}
.rm-form-header { margin-bottom: var(--s-5); border-bottom: 1px solid var(--line-subtle); padding-bottom: var(--s-5); }
.rm-form-header__badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gold-100); border: 1px solid var(--line-gold);
  color: var(--gold-600); font-size: 11.5px; font-weight: 600;
  padding: .25rem .75rem; border-radius: var(--r-pill); margin-bottom: var(--s-2);
}
.rm-form-title { font-size: var(--fs-xl); color: var(--navy-950); margin-bottom: .3rem; }
.rm-form-subtitle { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.6; margin: 0; }

/* Interactive Role Selector */
.rm-role-group { margin-bottom: var(--s-5); }
.rm-field-label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--navy-950); margin-bottom: .6rem; }
.rm-role-pills {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem;
}
.rm-role-pill {
  display: flex; align-items: center; gap: .65rem; text-align: start;
  padding: .75rem .9rem; border-radius: var(--r-1);
  background: var(--paper); border: 1.5px solid var(--line);
  cursor: pointer; transition: all var(--dur-fast) ease; font-family: inherit;
  color: var(--ink);
}
.rm-role-pill:hover {
  background: #fff; border-color: var(--gold-400);
}
.rm-role-pill.is-active {
  background: var(--gold-100); border-color: var(--gold-500);
  box-shadow: 0 4px 12px -2px rgba(197, 155, 39, 0.25);
}
.rm-role-pill__icon { font-size: 1.25rem; flex-shrink: 0; }
.rm-role-pill__text strong { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--navy-950); }
.rm-role-pill__text small { display: block; font-size: 10.5px; color: var(--ink-3); }
.rm-role-pill__check {
  margin-inline-start: auto; width: 18px; height: 18px; border-radius: 999px;
  background: transparent; color: transparent; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); transition: all var(--dur-fast) ease; flex-shrink: 0;
}
.rm-role-pill.is-active .rm-role-pill__check {
  background: var(--gold-500); color: #fff; border-color: var(--gold-500);
}

/* Modern Input Wrap */
.rm-field { margin-bottom: var(--s-4); }
.rm-field label {
  display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--navy-950); margin-bottom: .35rem;
}
.rm-field label .req { color: #dc2626; margin-inline-start: .2rem; }
.rm-field label .opt { font-weight: 400; color: var(--ink-3); }
.rm-input-wrap {
  position: relative; display: flex; align-items: center;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-1); transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background var(--dur-fast) ease;
}
.rm-input-wrap:focus-within {
  border-color: var(--navy-700); background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 60, 104, 0.12);
}
.rm-input-icon {
  width: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); flex-shrink: 0;
}
.rm-input-icon svg { width: 18px; height: 18px; }
.rm-input-wrap input, .rm-input-wrap select, .rm-input-wrap textarea {
  width: 100%; border: 0; background: transparent; padding: .8rem .9rem;
  font-family: inherit; font-size: var(--fs-sm); color: var(--ink);
  outline: none;
}
.rm-input-wrap--textarea { align-items: flex-start; padding: .4rem 0; }
.rm-input-wrap--textarea textarea { resize: vertical; min-height: 80px; }
.rm-field .hint { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: .3rem; }
.rm-field .err { display: block; font-size: 11.5px; color: #b91c1c; font-weight: 500; margin-top: .3rem; }
.rm-alert-err {
  padding: .75rem 1rem; border-radius: var(--r-1); background: #fef2f2;
  border: 1px solid #fecaca; color: #b91c1c; font-size: var(--fs-xs); margin-bottom: var(--s-4);
}

/* Anti-Spam Captcha */
.rm-field--captcha {
  margin-top: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}
.rm-field--captcha label {
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.rm-captcha-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.rm-captcha-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #ffffff;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--navy-950);
  box-shadow: var(--sh-sm);
  white-space: nowrap;
}
.rm-captcha-icon { font-size: 1.15rem; }
.rm-captcha-math {
  font-size: var(--fs-sm);
  font-weight: 500;
}
.rm-captcha-math strong {
  color: var(--gold-600);
  font-size: var(--fs-base);
  letter-spacing: .04em;
}
.rm-captcha-input-wrap {
  flex: 1;
  max-width: 140px;
}
.rm-captcha-input-wrap input {
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-lg);
  letter-spacing: .08em;
  padding: .6rem .8rem;
}
@media (max-width: 540px) {
  .rm-captcha-row {
    flex-direction: column;
    align-items: stretch;
  }
  .rm-captcha-input-wrap {
    max-width: 100%;
  }
}

.rm-form-actions { margin-top: var(--s-5); }
.btn--submit {
  width: 100%; padding: 1.05rem 1.75rem; font-size: var(--fs-base);
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--grad-navy); color: #fff; border: 1px solid rgba(223, 183, 70, 0.4);
  box-shadow: 0 8px 24px -4px rgba(7, 31, 56, 0.35);
  cursor: pointer;
}
.btn--submit svg {
  transition: transform var(--dur-fast) ease;
}
.btn--submit:hover svg {
  transform: translateX(-4px);
}
.btn--submit:hover {
  border-color: var(--gold-400); box-shadow: 0 12px 30px -4px rgba(7, 31, 56, 0.5);
  filter: brightness(1.1); color: #fff;
}

.rm-trust-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line-subtle);
}
.rm-trust-item {
  display: flex; align-items: center; gap: .4rem; font-size: 11px;
  color: var(--ink-3); font-weight: 500;
}
.rm-trust-item svg { width: 15px; height: 15px; color: var(--gold-600); flex-shrink: 0; }

@media (max-width: 900px) {
  .rm-contact-layout { grid-template-columns: 1fr; gap: var(--s-6); }
  .rm-contact-info__card { position: static; }
  .rm-role-pills { grid-template-columns: 1fr; }
  .rm-trust-row { grid-template-columns: 1fr; gap: .4rem; }
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .rm-contact-info__card,
  .rm-form-card {
    padding: var(--s-5) var(--s-4);
    border-radius: var(--r-2);
  }
  .rm-role-pills {
    grid-template-columns: 1fr;
    gap: .45rem;
  }
  .rm-role-pill {
    padding: .65rem .75rem;
  }
  .rm-captcha-row {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }
  .rm-captcha-badge {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .rm-captcha-input-wrap {
    max-width: 100%;
    width: 100%;
  }
  .rm-captcha-input-wrap input {
    text-align: center;
  }
  .rm-channel-item {
    padding: .65rem .85rem;
  }
  .rm-channel-item__action {
    display: none;
  }
}

/* ---------------------------------------------------------------- FAQ ACCORDION */
.rm-faq-accordion { max-width: 820px; margin-inline: auto; display: grid; gap: var(--s-3); }
.rm-faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-2); overflow: hidden;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.rm-faq-item[open] { border-color: var(--gold-400); box-shadow: var(--sh-1); }
.rm-faq-item summary {
  padding: var(--s-4) var(--s-5); font-weight: 600; font-size: var(--fs-base);
  color: var(--navy-950); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.rm-faq-item summary::-webkit-details-marker { display: none; }
.rm-faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--gold-600); font-weight: 400;
  transition: transform .25s ease;
}
.rm-faq-item[open] summary::after { transform: rotate(45deg); }
.rm-faq-answer {
  padding: 0 var(--s-5) var(--s-4); color: var(--ink-2);
  font-size: var(--fs-sm); line-height: 1.75;
}

/* ---------------------------------------------------------------- SERVICES GRID */
.rm-services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s-5);
}
.rm-service-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-2); padding: var(--s-6); position: relative;
  display: flex; flex-direction: column; box-shadow: var(--sh-sm);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.rm-service-card:hover {
  transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold-400);
}
.rm-service-card__num {
  font-size: var(--fs-xs); font-weight: 700; color: var(--gold-600);
  background: var(--gold-100); border: 1px solid var(--line-gold);
  width: 36px; height: 36px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-4);
}
.rm-service-card__title { font-size: var(--fs-lg); margin-bottom: var(--s-3); color: var(--navy-950); }
.rm-service-card__body { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; flex-grow: 1; }
.rm-service-card__foot { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line-subtle); }
.rm-link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--navy-800);
}
.rm-link-arrow:hover { color: var(--gold-600); }
.rm-link-arrow svg { width: 14px; height: 14px; transition: transform var(--dur-fast) ease; }
.rm-link-arrow:hover svg { transform: translateX(-3px); }

/* ---------------------------------------------------------------- ABOUT INTERACTIVE GATES */
.rm-gates-interactive {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: var(--s-6); box-shadow: var(--sh-1);
}
.rm-gates-nav {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2);
  padding-bottom: var(--s-5); border-bottom: 1px solid var(--line-subtle);
  margin-bottom: var(--s-5);
}
.rm-gate-tab {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-1); padding: .75rem .5rem; text-align: center;
  cursor: pointer; transition: all var(--dur-fast) ease; font-family: inherit;
}
.rm-gate-tab:hover { background: #fff; border-color: var(--gold-400); }
.rm-gate-tab.is-active {
  background: var(--grad-navy); border-color: var(--navy-900); color: #fff;
  box-shadow: 0 4px 14px -2px rgba(7, 31, 56, 0.35);
}
.rm-gate-tab__code { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--gold-400); }
.rm-gate-tab__title { display: block; font-size: 11px; margin-top: .2rem; }
.rm-gate-tab.is-active .rm-gate-tab__title { color: #d0dde9; }

.rm-gate-panel { display: none; }
.rm-gate-panel.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rm-gate-panel__badge {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600; color: var(--gold-600);
  background: var(--gold-100); padding: .25rem .75rem; border-radius: var(--r-pill);
  margin-bottom: var(--s-3);
}
.rm-gate-panel h3 { font-size: var(--fs-xl); color: var(--navy-950); margin-bottom: var(--s-3); }
.rm-gate-panel__text { font-size: var(--fs-base); color: var(--ink-2); line-height: 1.8; max-width: 68ch; }
.rm-gate-panel__meta {
  display: flex; gap: var(--s-6); margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid var(--line-subtle); flex-wrap: wrap;
}
.rm-gate-panel__meta small { display: block; font-size: 11.5px; color: var(--ink-3); }
.rm-gate-panel__meta strong { display: block; font-size: var(--fs-sm); color: var(--navy-900); }

@media (max-width: 768px) {
  .rm-gates-nav { grid-template-columns: repeat(2, 1fr); }
}

/* Strategic Partner Box */
.rm-partner-box {
  background: var(--grad-dark-card); color: #fff; border-radius: var(--r-3);
  padding: var(--s-8) var(--s-7); display: grid; grid-template-columns: 1.3fr .7fr;
  gap: var(--s-6); align-items: center; border: 1px solid rgba(223, 183, 70, 0.35);
  box-shadow: var(--sh-3);
}
.rm-partner-box h3 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--s-3); }
.rm-partner-box p { color: #c3d3e3; font-size: var(--fs-base); line-height: 1.75; }
.rm-partner-features { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: .5rem; }
.rm-partner-features li { color: var(--gold-300); font-size: var(--fs-sm); }
.rm-partner-box__badge { display: flex; justify-content: center; }
.rm-seal-circle {
  width: 140px; height: 140px; border-radius: 999px;
  border: 2px dashed var(--gold-400); display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: rgba(7, 31, 56, 0.6);
  box-shadow: 0 0 30px rgba(197, 155, 39, 0.2);
}
.rm-seal-circle span { font-size: 11px; color: #a0b6cc; }
.rm-seal-circle strong { font-size: var(--fs-lg); color: var(--gold-300); }
.rm-seal-circle small { font-size: 10px; color: #a0b6cc; }
@media (max-width: 768px) {
  .rm-partner-box { grid-template-columns: 1fr; text-align: center; padding: var(--s-6); }
  .rm-partner-features { text-align: start; }
}

/* ---------------------------------------------------------------- FOOTER */
.foot { background: var(--navy-950); color: #c4d3e2; font-size: var(--fs-sm); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot__grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: var(--s-7);
  padding-block: var(--s-9) var(--s-7);
}
.foot__brand-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot__logo-img {
  width: 210px; height: auto; max-width: 100%;
  border-radius: var(--r-1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: block; margin-bottom: var(--s-3);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.foot__logo-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.foot__brand-link img { max-width: 100%; }
.foot__tagline p { color: var(--gold-300); font-weight: 500; font-size: var(--fs-sm); max-width: 28ch; margin-bottom: var(--s-3); }

/* Footer CTA button */
.btn--foot-cta {
  background: rgba(197, 155, 39, 0.12) !important;
  color: var(--gold-300) !important;
  border: 1.5px solid var(--gold-400) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  font-weight: 600 !important;
  border-radius: var(--r-1);
  padding: .75rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-decoration: none;
  transition: all var(--dur-fast) ease !important;
}
.btn--foot-cta:hover {
  background: var(--grad-gold) !important;
  color: #041220 !important;
  border-color: var(--gold-400) !important;
  box-shadow: 0 6px 22px rgba(197, 155, 39, 0.45) !important;
  filter: brightness(1.05);
}
.btn--foot-cta svg {
  transition: transform var(--dur-fast) ease;
}
.btn--foot-cta:hover svg {
  transform: translateX(-4px);
}

/* 3-bar brand motif */
.rm-brand-bars { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.rm-hero-bars { filter: drop-shadow(0 2px 4px rgba(7, 31, 56, 0.15)); }
.rm-why-bars { filter: drop-shadow(0 2px 4px rgba(7, 31, 56, 0.12)); }
.foot__legal-badge { font-size: 11.5px; color: #849cb1; display: flex; flex-wrap: wrap; gap: .4rem; }
.foot__legal-badge .sep { opacity: .4; }

.foot h4 { color: #fff; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-4); position: relative; padding-bottom: .4rem; }
.foot h4::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 24px; height: 2px; background: var(--gold-500); border-radius: var(--r-pill);
}
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.foot__links a { color: #b2c5d7; text-decoration: none; transition: color var(--dur-fast) ease, transform var(--dur-fast) ease; display: inline-block; }
.foot__links a:hover { color: var(--gold-300); transform: translateX(-3px); }

.foot__contact-link {
  display: flex; align-items: center; gap: .5rem; color: #b2c5d7; font-size: var(--fs-xs);
}
.foot__contact-link--wa { color: #4ade80; }
.foot__contact-link--wa:hover { color: #86efac; }
.foot__contact-icon { font-size: 1rem; }

.foot__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  font-size: var(--fs-xs); color: #7f95a8;
}
.foot__legal a { color: var(--gold-300); }

@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FLOATING ACTIONS (WhatsApp & ToTop) */
.fab-wrapper {
  position: fixed; bottom: max(20px, env(safe-area-inset-bottom));
  inset-inline-end: 22px; z-index: 95;
}
.fab {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: var(--r-pill); border: 0;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.05); }

.fab--wa {
  background: #25D366; color: #fff; position: relative;
}
.fab__pulse {
  position: absolute; inset: -3px; border-radius: var(--r-pill);
  border: 2px solid #25D366; opacity: .7;
  animation: fabPulse 2.2s infinite; pointer-events: none;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.fab__card {
  position: absolute; bottom: 0; inset-inline-end: calc(100% + 14px);
  width: 220px; background: var(--navy-900); color: #fff;
  padding: .75rem 1rem; border-radius: var(--r-2);
  border: 1px solid rgba(223, 183, 70, 0.3);
  box-shadow: var(--sh-3); opacity: 0; visibility: hidden;
  transform: translateX(8px); transition: all .25s var(--ease);
  pointer-events: none; text-align: start;
}
.fab__card-title { font-size: var(--fs-xs); font-weight: 600; color: var(--gold-300); margin-bottom: .2rem; }
.fab__card-desc { font-size: 11px; color: #c4d4e4; line-height: 1.4; }
.fab-wrapper:hover .fab__card { opacity: 1; visibility: visible; transform: none; }

.fab--top {
  position: fixed; bottom: max(20px, env(safe-area-inset-bottom));
  inset-inline-start: 22px; z-index: 90;
  background: var(--navy-900); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px -4px rgba(7, 31, 56, 0.4);
}
.fab--top[hidden] { display: none; }
.fab--top:hover { background: var(--navy-800); border-color: var(--gold-400); }

@media (max-width: 980px) {
  .fab__card { display: none !important; }
}
@media (max-width: 640px) {
  .fab { width: 50px; height: 50px; }
  .fab-wrapper { inset-inline-end: 14px; bottom: 16px; }
  .fab--top { inset-inline-start: 14px; bottom: 16px; }
}

/* ---------------------------------------------------------------- ARCHITECTURAL PATTERN SVG */
.rm-arch-pattern {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.rm-arch-pattern--subtle { opacity: .7; }
.rm-arch-pattern--hero { opacity: .9; }

/* ---------------------------------------------------------------- MOTION & REVEALS */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .fab__pulse, .sig i, .rm-pulse-dot { animation: none; }
}

/* ---------------------------------------------------------------- UTILITY */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.center { text-align: center; }

/* ---------------------------------------------------------------- HERO PROJECT IMAGE & ZOOM BADGE */
.rm-hero-project-wrap {
  position: relative; display: block; border-radius: var(--r-2);
  overflow: hidden; cursor: pointer; box-shadow: var(--sh-2);
}
.rm-hero-project-wrap:hover img {
  transform: scale(1.02);
}
.rm-hero-project-wrap img {
  transition: transform .8s var(--ease);
}
.rm-hero-zoom-badge {
  position: absolute; bottom: var(--s-4); inset-inline-end: var(--s-4);
  background: rgba(7, 31, 56, 0.85); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(223, 183, 70, 0.4);
  color: #fff; padding: .55rem 1rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  pointer-events: none; transition: transform .25s ease;
}
.rm-hero-project-wrap:hover .rm-hero-zoom-badge {
  transform: translateY(-2px); border-color: var(--gold-400);
}

/* ---------------------------------------------------------------- LIGHTBOX MODAL */
.rm-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4, 18, 32, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-5); animation: lbFadeIn .25s ease;
}
.rm-lightbox[hidden] { display: none; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.rm-lightbox__stage {
  max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; position: relative;
}
.rm-lightbox__img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: var(--r-2); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(223, 183, 70, 0.4);
  animation: lbScaleUp .25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lbScaleUp { from { transform: scale(0.94); opacity: 0.6; } to { transform: scale(1); opacity: 1; } }

.rm-lightbox__caption {
  margin-top: var(--s-3); color: #e1ebf5; font-size: var(--fs-sm);
  text-align: center; max-width: 65ch; font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.rm-lightbox__close {
  position: absolute; top: var(--s-4); inset-inline-end: var(--s-4);
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; width: 44px; height: 44px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s ease; z-index: 10001;
}
.rm-lightbox__close:hover {
  background: var(--gold-500); color: #041220; transform: scale(1.08);
}

.rm-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s ease; z-index: 10001;
}
.rm-lightbox__nav:hover {
  background: var(--gold-500); color: #041220; transform: translateY(-50%) scale(1.1);
}
.rm-lightbox__nav--prev { inset-inline-start: var(--s-5); }
.rm-lightbox__nav--next { inset-inline-end: var(--s-5); }

@media (max-width: 640px) {
  .rm-lightbox__nav { display: none !important; }
  .rm-lightbox__close { top: var(--s-3); inset-inline-end: var(--s-3); width: 38px; height: 38px; }
}

/* ---------------------------------------------------------------- 2-COLUMN GALLERY GRID */
.rm-gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
.rm-gallery-item {
  margin: 0; border-radius: var(--r-2); overflow: hidden;
  box-shadow: var(--sh-1); border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; position: relative;
  transition: transform var(--dur-normal) var(--ease), box-shadow var(--dur-normal) var(--ease), border-color var(--dur-normal) var(--ease);
}
.rm-gallery-item:hover {
  transform: translateY(-4px); box-shadow: var(--sh-3);
  border-color: var(--gold-400);
}
.rm-gallery-item__img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--paper-2);
}
.rm-gallery-item__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.rm-gallery-item:hover img { transform: scale(1.05); }

.rm-gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(7, 31, 56, 0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease;
}
.rm-gallery-item:hover .rm-gallery-item__overlay { opacity: 1; }

.rm-gallery-item__zoom-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(7, 31, 56, 0.9); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 183, 70, 0.6);
  color: #fff; padding: .55rem 1.1rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600;
  transform: translateY(6px); transition: transform .25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.rm-gallery-item:hover .rm-gallery-item__zoom-btn { transform: none; }
.rm-gallery-item figcaption {
  padding: .85rem 1rem; font-size: var(--fs-xs); font-weight: 500;
  color: var(--ink-2); text-align: center; border-top: 1px solid var(--line-subtle);
  background: #fff;
}

/* ---------------------------------------------------------------- 2-COLUMN RELATED PROJECTS GRID */
.rm-related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
.rm-related-card {
  height: 100%; display: flex; flex-direction: column;
}
.rm-related-card img {
  aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
}
.rm-related-card .pcard__body {
  flex: 1; display: flex; flex-direction: column;
}
.rm-related-card .rm-link-arrow {
  margin-top: auto; padding-top: var(--s-3);
}

@media (max-width: 768px) {
  .rm-gallery-grid { grid-template-columns: 1fr; }
  .rm-related-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- INSIGHTS / ARTICLES 3-COLUMN GRID */
.rm-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.rm-post-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--dur-normal) var(--ease),
              box-shadow var(--dur-normal) var(--ease),
              border-color var(--dur-normal) var(--ease);
}
.rm-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(7, 31, 56, 0.14);
  border-color: var(--gold-400);
}

.rm-post-card__media-link {
  display: block;
  position: relative;
  overflow: hidden;
}
.rm-post-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  overflow: hidden;
}
.rm-post-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.rm-post-card:hover .rm-post-card__img-wrap img {
  transform: scale(1.06);
}

.rm-post-card__badge {
  position: absolute;
  top: var(--s-3);
  inset-inline-end: var(--s-3);
  background: rgba(7, 31, 56, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(223, 183, 70, 0.4);
}

.rm-post-card__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rm-post-card__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: var(--s-2);
}
.rm-post-card__meta .sep { opacity: .4; }

.rm-post-card__title {
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--s-3);
  color: var(--navy-950);
}
.rm-post-card__title a {
  color: inherit;
  transition: color var(--dur-fast) ease;
}
.rm-post-card:hover .rm-post-card__title a {
  color: var(--gold-600);
}

.rm-post-card__desc {
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: var(--s-4);
  flex: 1;
}

.rm-post-card__foot {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-subtle);
}

/* ---------------------------------------------------------------- SINGLE ARTICLE WHITE CARD */
.rm-article-container {
  max-width: 860px;
  margin-inline: auto;
}

.rm-article-card {
  background: #ffffff;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  padding: var(--s-8) var(--s-8);
  overflow: hidden;
}

.rm-article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  margin-bottom: var(--s-4);
}
.rm-article-breadcrumbs a {
  color: var(--navy-700);
  transition: color var(--dur-fast) ease;
}
.rm-article-breadcrumbs a:hover {
  color: var(--gold-600);
}
.rm-article-breadcrumbs .sep { opacity: .4; }
.rm-article-breadcrumbs .cur { color: var(--gold-600); font-weight: 500; }

.rm-article-header {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-subtle);
}
.rm-article-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: var(--s-3);
}
.rm-article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--navy-950);
  margin-bottom: var(--s-4);
}
.rm-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.rm-article-meta .sep { opacity: .4; }

/* Contained & Controlled Featured Image Inside Card */
.rm-article-cover {
  position: relative;
  border-radius: var(--r-2);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  margin: 0 0 var(--s-7) 0;
  background: var(--paper-2);
  max-height: 480px;
}
.rm-article-cover img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.rm-article-cover__caption {
  padding: .65rem 1rem;
  font-size: 11.5px;
  color: var(--ink-3);
  background: var(--paper-2);
  border-top: 1px solid var(--line-subtle);
  text-align: center;
}

.rm-article-body {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--ink-1);
}
.rm-article-body .lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--navy-900);
  font-weight: 500;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-subtle);
}
.rm-article-body h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--navy-950);
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  position: relative;
  padding-inline-start: .75rem;
  border-inline-start: 3px solid var(--gold-500);
}
.rm-article-body p {
  margin-bottom: var(--s-4);
}
.rm-article-body blockquote {
  margin: var(--s-6) 0;
  padding: var(--s-5) var(--s-6);
  background: var(--paper-2);
  border-inline-start: 4px solid var(--gold-500);
  border-radius: var(--r-1);
  font-size: 1.15rem;
  font-style: normal;
  color: var(--navy-950);
  font-weight: 500;
  line-height: 1.7;
}
.rm-article-body ul {
  padding-inline-start: 1.5rem;
  margin-bottom: var(--s-5);
}
.rm-article-body li {
  margin-bottom: var(--s-2);
}

.rm-article-foot {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.rm-article-foot__cta {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--s-5) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.rm-article-foot__prompt strong {
  display: block;
  font-size: var(--fs-base);
  color: var(--navy-950);
  margin-bottom: .25rem;
}
.rm-article-foot__prompt p {
  font-size: var(--fs-xs);
  color: var(--ink-2);
  margin: 0;
}

/* Related articles cards */
.rm-article-more {
  margin-top: var(--s-8);
}
.rm-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
.rm-more-card {
  display: flex;
  gap: var(--s-4);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--s-4);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-normal) var(--ease), border-color var(--dur-normal) var(--ease);
}
.rm-more-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  box-shadow: var(--sh-2);
}
.rm-more-card__img {
  width: 110px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--r-1);
  overflow: hidden;
  background: var(--paper-2);
}
.rm-more-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rm-more-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.rm-more-card__body time {
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: .25rem;
}
.rm-more-card__body h4 {
  font-size: var(--fs-sm);
  color: var(--navy-950);
  margin: 0 0 .5rem 0;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .rm-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-article-card { padding: var(--s-6) var(--s-5); }
}
@media (max-width: 680px) {
  .rm-posts-grid { grid-template-columns: 1fr; }
  .rm-more-grid { grid-template-columns: 1fr; }
  .rm-article-card { padding: var(--s-5) var(--s-4); }
  .rm-article-foot__cta { flex-direction: column; align-items: stretch; text-align: center; }
  .rm-article-foot__cta .btn { width: 100%; }
}

.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; opacity: 0; }
