/* Font Declarations */
@font-face {
  font-family: 'Cairo';
  src: url('https://CvWebs.b-cdn.net/Dr_Raid/Fonts/Cairo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('https://CvWebs.b-cdn.net/Dr_Raid/Fonts/Cairo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.rh-home-body {
  width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  .rh-home-body {
    overflow-x: clip;
  }
}

/* Ensure proper Arabic text rendering */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Alpine.js cloak directive */
[x-cloak] {
  display: none !important;
}

/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1.2s ease-out forwards;
}

/* ──────────────────
   NAVBAR & MEGA-DROPDOWN STYLES
   ────────────────── */
/* Navbar core styles */
#main-navbar {
  transition: background-color 0.3s, box-shadow 0.3s;
}

#main-navbar.scrolled {
  background-color: rgba(11, 30, 69, 0.95) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Navigation links hover effects */
#main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2px;
  width: 0;
  background-color: #fff;
  transition: width 0.3s;
}

#main-navbar .nav-link:hover::after {
  width: 100%;
}

/* Mobile menu styles */
.mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* Mega dropdown animations */

/* Custom animations for mega dropdown */
.animate-fadeIn-delay-1 {
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.3s forwards;
}

.animate-fadeIn-delay-2 {
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.6s forwards;
}

/* Marquee animations */
@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-rtl-slow {
  0% {
    transform: translateX(-10%);
  }

  100% {
    transform: translateX(-60%);
  }
}

.animate-marquee-rtl {
  animation: marquee-rtl 40s linear infinite;
}

.animate-marquee-rtl-slow {
  animation: marquee-rtl-slow 50s linear infinite;
}

/* Smooth dropdown animations */
.dropdown-content {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  will-change: max-height, opacity;
}

/* Apply to all dropdown arrows for smoother rotation */
.dropdown-arrow {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

/* Optional: improve performance on supported browsers */
.dropdown-container {
  transform: translateZ(0);
  position: relative;
}

/* === Major-service RTL alignment fix === */

ENHANCED DROPDOWN ANIMATION STYLES

/* Max height transitions for nested dropdowns */
.max-h-0 {
  max-height: 0;
}

.max-h-\[200px\] {
  max-height: 200px;
}

/* Hover effects for dropdown items */
.dropdown-content a:hover {
  background-color: rgba(59, 130, 246, 0.05);
  color: #1A73E8;
}

/* ──────────────────
   PREMIUM CARD EFFECTS - SUBTLE AND CLEAN
   ────────────────── */
/* Premium Card Effects - Subtle and Clean */
.card-premium {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-premium:hover {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Clean hover effects for dropdown items */
.premium-list button:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.premium-list a:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

/* Subtle animations */
@keyframes subtle-pulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.pulse-subtle {
  animation: subtle-pulse 3s infinite;
}

/* Refined dropdown animations */
.dropdown-container {
  position: relative;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.dropdown-container:hover {
  background-color: rgba(59, 130, 246, 0.03);
}

/* ──────────────────
   MEGA DROPDOWN EXPANDABLE MENU STYLES
   ────────────────── */
/* Mega dropdown specific styling */

BULLET POINT ALIGNMENT FIXES
/* Position the blue bullet properly */

/* Ensure text doesn't wrap */

COMPREHENSIVE BULLET POINT ALIGNMENT FINAL ALIGNMENT ADJUSTMENTS NEW VISUAL HIERARCHY IMPLEMENTATION COMPREHENSIVE BULLET STANDARDIZATION 3-LEVEL HIERARCHICAL STRUCTURE MEGA DROPDOWN LAYOUT OPTIMIZATION
/* Responsive adjustments */
@media (max-width: 768px) {}

FIX DUPLICATE BULLET POINTS @keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.2);
    opacity: 0;
  }

  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

RTL MEGA DROPDOWN ALIGNMENT
/* Enhanced responsive RTL support */
@media (max-width: 768px) {}

REMOVE MINOR SERVICE BULLETS ENHANCED RTL ARROW POSITIONING FINAL RTL REFINEMENTS PERSISTENT SOLID DARK-PURPLE NAVBAR

/* Persistent solid dark-purple navbar */
#main-navbar,
#main-navbar.scrolled {
  background: linear-gradient(90deg, #1a2751 0%, #0b1e45 100%) !important;
  /* solid */
  backdrop-filter: blur(8px);
  /* keep soft blur */
  border-bottom: 1px solid #1a73e833;
}

/* ──────────────────
   NAVBAR PLACEHOLDER — FOUC PREVENTION
   Makes the placeholder div look like the real navbar bar BEFORE
   JavaScript injects the navbar HTML. User always sees the dark bar.
   ────────────────── */
#navbar-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 56px;
  z-index: 50;
  background: linear-gradient(90deg, #1a2751 0%, #0b1e45 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1a73e833;
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* ============================================================
   HOMEPAGE REDESIGN v1 — Brief 01
   All styles below this line are additive. Do not modify anything above.
   ============================================================ */

:root {
  /* Navy scale */
  --rh-navy-deep: #0A1733;
  /* hero background, dark sections */
  --rh-navy-mid: #0B1E45;
  /* existing brand navy — keep for consistency */
  --rh-navy-soft: #344158;
  /* mid-tones, borders on dark */
  --rh-navy-glass: rgba(10, 23, 51, 0.65);
  /* glass morphism fills */

  /* Gold scale */
  --rh-gold: #D4A853;
  /* primary gold — CTAs, accents */
  --rh-gold-muted: #AC8C4A;
  /* eyebrow text, subdued accents */
  --rh-gold-light: #F5E6C8;
  /* gradient mid-stop, light hover */
  --rh-gold-line: rgba(212, 168, 83, 0.08);
  /* blueprint grid faint */
  --rh-gold-line-strong: rgba(212, 168, 83, 0.14);
  /* blueprint grid bold */

  /* Neutrals */
  --rh-white: #FFFFFF;
  --rh-off-white: #F8F9FA;
  /* light-section backgrounds — NOT pure white */
  --rh-text-body: #2A3447;
  /* body text on light */
  --rh-text-muted: #5A6478;
  /* secondary text on light */
  --rh-divider: #E4E7EC;
  /* light-section dividers */

  /* Brand gradient (headline, bridge card border, CTA) */
  --rh-gradient-brand: linear-gradient(180deg,
      #F5E6C8 0%,
      #D4A853 45%,
      #AC8C4A 80%,
      #FFFFFF 100%);
  --rh-gradient-text: linear-gradient(180deg,
      #FFFFFF 0%,
      #F5E6C8 40%,
      #D4A853 100%);

  /* Shadows */
  --rh-shadow-card: 0 20px 60px -20px rgba(10, 23, 51, 0.25);
  --rh-shadow-hero: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  --rh-shadow-glow: 0 0 40px rgba(212, 168, 83, 0.15);

  /* Spacing Scale */
  --rh-space-1: 0.25rem;
  --rh-space-2: 0.5rem;
  --rh-space-3: 0.75rem;
  --rh-space-4: 1rem;
  --rh-space-5: 1.5rem;
  --rh-space-6: 2rem;
  --rh-space-7: 3rem;
  --rh-space-8: 4rem;
  --rh-space-9: 6rem;
  --rh-space-10: 8rem;

  /* Z-Index Scale */
  --rh-z-base: 1;
  /* flat content */
  --rh-z-grid: 2;
  /* blueprint grid overlay */
  --rh-z-motif: 3;
  /* faint analemma figure-8 background */
  --rh-z-overlay: 4;
  /* video gradient overlay */
  --rh-z-content: 10;
  /* hero text, CTAs */
  --rh-z-bridge: 20;
  /* floating bridge card */
  --rh-z-toggle: 30;
  /* floating lang toggle */
  --rh-z-navbar: 50;
  /* existing navbar uses z-50 — do not exceed */
  --rh-z-modal: 100;
  /* reserved — do not use */
}

/* Font faces — weights 500, 800, 900 */
@font-face {
  font-family: 'Cairo';
  src: url('https://CvWebs.b-cdn.net/Dr_Raid/Fonts/Cairo-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('https://CvWebs.b-cdn.net/Dr_Raid/Fonts/Cairo-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('https://CvWebs.b-cdn.net/Dr_Raid/Fonts/Cairo-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* SHARED SECTION TOKENS */
.rh-section {
  position: relative;
  padding: var(--rh-space-10) var(--rh-space-5);
}

.rh-section--light {
  background: var(--rh-off-white);
  color: var(--rh-text-body);
}

.rh-section--dark {
  background: var(--rh-navy-deep);
  color: var(--rh-white);
}

.rh-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.rh-section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--rh-gold-muted);
  margin-bottom: var(--rh-space-3);
}

.rh-section--dark .rh-section__eyebrow {
  color: var(--rh-gold);
}

.rh-section__headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 var(--rh-space-4);
}

.rh-section__subtitle {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--rh-text-muted);
  max-width: 60ch;
}

.rh-section--dark .rh-section__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  .rh-section {
    padding: var(--rh-space-8) var(--rh-space-4);
  }
}

/* HERO CONTAINER */
.rh-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  /* Safari mobile viewport fix */
  overflow: hidden;
  background-color: var(--rh-navy-deep);
  isolation: isolate;
  /* Prevents backdrop-filter bleed */
}

/* HERO PREMIUM BACKGROUND (first viewport only) */
.rh-hero__premium-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45 0%, #0a1a3a 50%, #07142b 100%);
  background-size: 100% 100%, 60px 60px, 60px 60px, 100% 100%;
  background-position: center, center, center, center;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  opacity: 0.82;
}

/* HERO VIDEO — fills hero, sun centered in viewport */
.rh-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -12%;
  z-index: var(--rh-z-base);
  filter: saturate(0.85) brightness(0.95);
}

/* HERO OVERLAY */
.rh-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: var(--rh-z-overlay);
  background:
    linear-gradient(180deg,
      rgba(10, 23, 51, 0.92) 0%,
      rgba(10, 23, 51, 0.75) 35%,
      rgba(10, 23, 51, 0.45) 70%,
      rgba(10, 23, 51, 0.20) 100%);
  pointer-events: none;
}

/* HERO GRID */
.rh-hero__grid {
  position: absolute;
  inset: 0;
  z-index: var(--rh-z-grid);
  pointer-events: none;
  opacity: 0.55;
  /* Two overlapping grids: fine 40px, bold 200px */
  background-image:
    /* Bold grid — every 200px */
    linear-gradient(to right, var(--rh-gold-line-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rh-gold-line-strong) 1px, transparent 1px),
    /* Fine grid — every 40px */
    linear-gradient(to right, var(--rh-gold-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rh-gold-line) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
  /* Fade out toward the edges for a subtle vignette */
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 100%);
}

.rh-hero__grid::before,
.rh-hero__grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rh-hero__grid::before {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 58%);
  opacity: 0.18;
}

.rh-hero__grid::after {
  background:
    radial-gradient(circle at center,
      transparent 0%,
      transparent 33.75%,
      rgba(200, 221, 255, 0.035) 33.85%,
      rgba(200, 221, 255, 0.035) 33.95%,
      transparent 34.05%),
    radial-gradient(circle at center, transparent 28%, rgba(7, 20, 43, 0.24) 100%);
}

/* HERO GRID BEAM — segmented neon that hops across grid cells */
.rh-hero__beam {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
}

.rh-hero__beam.is-disabling {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.rh-hero__beam-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(112px, 12vw, 182px);
  height: auto;
  opacity: 0;
  transform: translate(10vw, 16vh);
  filter: drop-shadow(0 0 10px rgba(24, 204, 252, 0.18));
  animation: rhBeamJump 9.2s steps(1, end) infinite;
}

.rh-hero__beam-pattern path {
  animation: rhBeamTrace 3.8s linear infinite;
}

@keyframes rhBeamTrace {

  0%,
  16% {
    opacity: 0;
  }

  22%,
  54% {
    opacity: 0.95;
  }

  60%,
  100% {
    opacity: 0;
  }
}

@keyframes rhBeamJump {

  0%,
  8% {
    opacity: 0;
    transform: translate(10vw, 16vh);
  }

  10%,
  22% {
    opacity: 0.8;
    transform: translate(10vw, 16vh);
  }

  24%,
  36% {
    opacity: 0.78;
    transform: translate(28vw, 20vh);
  }

  38%,
  50% {
    opacity: 0.75;
    transform: translate(46vw, 14vh);
  }

  52%,
  64% {
    opacity: 0.72;
    transform: translate(20vw, 33vh);
  }

  66%,
  78% {
    opacity: 0.68;
    transform: translate(40vw, 30vh);
  }

  80%,
  92% {
    opacity: 0.65;
    transform: translate(58vw, 24vh);
  }

  94%,
  100% {
    opacity: 0;
    transform: translate(58vw, 24vh);
  }
}

.rh-hero::before,
.rh-hero::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: var(--rh-z-grid);
  background-image:
    linear-gradient(var(--rh-gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--rh-gold) 1px, transparent 1px);
  background-size: 24px 1px, 1px 24px;
  background-position: 0 center, center 0;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.rh-hero::before {
  top: 32px;
  right: 32px;
}

.rh-hero::after {
  bottom: 32px;
  left: 32px;
}

/* HERO MOTIF */
.rh-hero__motif {
  position: absolute;
  inset: 0;
  z-index: var(--rh-z-motif);
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--rh-gold);
  opacity: 0;
  /* Barely visible — suggestion, not decoration */
}

.rh-hero__motif svg {
  width: min(32vw, 360px);
  height: auto;
}

/* HERO CONTENT */
.rh-hero__content {
  position: relative;
  z-index: var(--rh-z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 var(--rh-space-5);
  gap: var(--rh-space-5);
}

/* Desktop/tablet: nudge hero copy downward so it sits more centrally under navbar */
@media (min-width: 768px) {
  .rh-hero__content {
    padding-top: clamp(4.25rem, 10vh, 6.25rem);
    padding-bottom: clamp(1rem, 3vh, 2.25rem);
  }
}

/* Eyebrow */
.rh-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-space-4);
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--rh-gold-muted);
  text-transform: none;
  /* Arabic — no uppercasing */
  margin: 0;
}

.rh-hero__eyebrow-dash {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--rh-gold-muted);
  opacity: 0.7;
}

/* Headline */
.rh-hero__headline {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.rh-hero__headline-line {
  display: block;
  white-space: nowrap;
}

.rh-hero__headline-sub {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: var(--rh-space-4);
  opacity: 0.85;
  white-space: nowrap;
}

/* Subhead */
.rh-hero__subhead {
  max-width: 50ch;
  font-size: clamp(0.9rem, 1.2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Scroll indicator */
.rh-hero__scroll {
  position: absolute;
  bottom: var(--rh-space-7);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--rh-space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
}

.rh-hero__scroll-label {
  font-weight: 500;
}

.rh-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: rh-scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes rh-scroll-pulse {

  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* CTAs */
.rh-hero__ctas {
  display: flex;
  gap: var(--rh-space-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--rh-space-3);
}

.rh-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--rh-space-3);
  padding: 0.95rem 2rem;
  font-family: 'Cairo', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    background 300ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.rh-btn:hover {
  transform: translateY(-2px);
}

.rh-btn:active {
  transform: translateY(0);
}

.rh-btn:focus-visible {
  outline: 2px solid var(--rh-gold-light);
  outline-offset: 3px;
}

.rh-btn__icon {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}

[dir="rtl"] .rh-btn__icon {
  transform: rotate(180deg);
}

.rh-btn:hover .rh-btn__icon {
  transform: rotate(180deg) translateX(-3px);
}

/* Primary — filled gold with gradient */
.rh-btn--primary {
  background: linear-gradient(135deg, #E4BA6B 0%, #D4A853 50%, #B88F3E 100%);
  color: var(--rh-navy-deep);
  box-shadow: 0 10px 30px -10px rgba(212, 168, 83, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.rh-btn--primary:hover {
  box-shadow: 0 14px 40px -10px rgba(212, 168, 83, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Shimmer sweep on hover */
.rh-btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 30%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.rh-btn--primary:hover::before {
  transform: translateX(100%);
}

/* Secondary — ghost outlined */
.rh-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--rh-gold-light);
  border-color: rgba(212, 168, 83, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rh-btn--ghost:hover {
  background: rgba(212, 168, 83, 0.12);
  border-color: var(--rh-gold);
  color: var(--rh-white);
}

/* Outline — for light backgrounds */
.rh-btn--outline {
  background: transparent;
  color: #10213f;
  border-color: rgba(16, 33, 63, 0.25);
}

.rh-btn--outline:hover {
  background: #10213f;
  color: var(--rh-white);
  border-color: #10213f;
  box-shadow: 0 10px 28px -8px rgba(16, 33, 63, 0.35);
}

.rh-btn--outline:hover .rh-btn__icon {
  transform: rotate(180deg) translateX(-3px);
}

/* Language Toggle */
.rh-langtoggle {
  position: absolute;
  top: calc(56px + var(--rh-space-5));
  /* Clear the 56px navbar */
  left: var(--rh-space-5);
  z-index: var(--rh-z-toggle);
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(10, 23, 51, 0.55);
  border: 1px solid rgba(212, 168, 83, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rh-langtoggle__btn {
  appearance: none;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Cairo', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.rh-langtoggle__btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.rh-langtoggle__btn--active {
  background: var(--rh-gold);
  color: var(--rh-navy-deep);
}

.rh-langtoggle__btn:not(:disabled):not(.rh-langtoggle__btn--active):hover {
  color: var(--rh-white);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .rh-langtoggle {
    top: calc(56px + var(--rh-space-3));
    left: var(--rh-space-3);
  }
}

/* BRIDGE CARD */
.rh-bridge-wrap {
  position: relative;
  z-index: var(--rh-z-bridge);
  display: flex;
  justify-content: center;
  /* Sits cleanly below the hero; only a small negative bottom margin lets it
     float onto the intro section. NEVER covers the hero CTAs. */
  margin-top: 0;
  margin-bottom: -56px;
  padding: var(--rh-space-5) var(--rh-space-5) 0;
  background: var(--rh-navy-deep);
  pointer-events: none;
  /* Card itself re-enables it */
}

.rh-bridge-card {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  gap: var(--rh-space-6);
  padding: var(--rh-space-6) var(--rh-space-8);
  width: min(1080px, 100%);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.86) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: 24px;
  /* Gradient border via double background trick */
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow:
    var(--rh-shadow-card),
    0 0 0 1px rgba(212, 168, 83, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.rh-bridge-card__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--rh-space-2);
  text-align: center;
}

.rh-bridge-card__num {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--rh-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Darken the gradient for contrast on the light card */
  filter: brightness(0.85) saturate(1.2);
}

.rh-bridge-card__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rh-text-muted);
  letter-spacing: 0.02em;
}

.rh-bridge-card__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom,
      transparent 0%,
      var(--rh-divider) 25%,
      var(--rh-divider) 75%,
      transparent 100%);
}

@media (max-width: 768px) {
  .rh-bridge-wrap {
    margin-top: 0;
    margin-bottom: -32px;
  }

  .rh-bridge-card {
    flex-wrap: wrap;
    gap: var(--rh-space-5);
    padding: var(--rh-space-5);
  }

  .rh-bridge-card__item {
    flex: 0 0 calc(50% - var(--rh-space-3));
  }

  .rh-bridge-card__divider {
    display: none;
  }
}

/* ============================================================
   LEGACY AUTHORITY SECTION (Post-Hero Trust Layer)
   Scoped only to `.rh-legacy` to avoid side effects.
   ============================================================ */
.rh-legacy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) var(--rh-space-5) clamp(4rem, 8vw, 6rem);
  background:
    linear-gradient(180deg, rgba(11, 30, 69, 0.96) 0%, rgba(8, 21, 47, 1) 100%);
  color: var(--rh-white);
}

.rh-legacy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.32;
  z-index: 0;
}

.rh-legacy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 22%, rgba(201, 168, 76, 0.14) 0%, rgba(201, 168, 76, 0) 58%),
    radial-gradient(circle at 12% 84%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 52%);
  z-index: 0;
}

.rh-legacy__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.rh-legacy__intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.rh-legacy__accent {
  display: block;
  width: 86px;
  height: 1px;
  margin: 0 auto var(--rh-space-4);
  background: linear-gradient(90deg, rgba(230, 211, 163, 0) 0%, rgba(201, 168, 76, 0.95) 55%, rgba(230, 211, 163, 0) 100%);
}

.rh-legacy__eyebrow {
  margin: 0 0 var(--rh-space-3);
  color: #c9a84c;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.rh-legacy__title {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #f6f8ff;
}

.rh-legacy__subtitle {
  margin: var(--rh-space-4) auto 0;
  max-width: 62ch;
  color: rgba(232, 237, 250, 0.82);
  font-size: clamp(1rem, 1.34vw, 1.16rem);
  line-height: 1.9;
}

.rh-legacy__about {
  position: relative;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.35rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.15rem) 0;
  border-top: 1px solid rgba(230, 211, 163, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-legacy__about::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 211, 163, 0.2), transparent);
}

.rh-legacy__about p {
  margin: 0;
  color: rgba(244, 247, 255, 0.88);
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 2.08;
}

.rh-legacy__timeline-wrap {
  position: relative;
  margin-top: clamp(2.2rem, 4.8vw, 3.4rem);
}

.rh-legacy__timeline-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 84%);
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.24) 0%, rgba(201, 168, 76, 0) 72%);
  filter: blur(10px);
  pointer-events: none;
}

.rh-legacy__timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  height: 92px;
}

.rh-legacy__timeline-track,
.rh-legacy__timeline-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 39px;
  height: 2px;
  border-radius: 999px;
}

.rh-legacy__timeline-track {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.rh-legacy__timeline-fill {
  background: linear-gradient(90deg, #e6d3a3 0%, #c9a84c 50%, #e6d3a3 100%);
  box-shadow:
    0 0 18px rgba(201, 168, 76, 0.42),
    0 0 34px rgba(201, 168, 76, 0.18);
}

.rh-legacy__timeline-fill::after {
  content: "";
  position: absolute;
  inset: -4px auto -4px -18%;
  width: 20%;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0) 100%);
}

.rh-legacy__timeline-fill.is-complete::after {
  animation: rhLegacySweep 1.15s ease-out 1;
}

@keyframes rhLegacySweep {
  from {
    transform: translateX(0);
    opacity: 0;
  }

  25% {
    opacity: 0.95;
  }

  to {
    transform: translateX(620%);
    opacity: 0;
  }
}

.rh-legacy__milestone {
  position: absolute;
  left: var(--legacy-point);
  top: 39px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.rh-legacy__milestone-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: block;
  margin: 0 auto;
  background: #0b1e45;
  border: 2px solid #e6d3a3;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.14);
}

.rh-legacy__milestone-label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(230, 211, 163, 0.94);
  letter-spacing: 0.06em;
}

.rh-legacy__pillars {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.rh-legacy__pillar {
  position: relative;
  padding: clamp(1.35rem, 2.6vw, 2rem) clamp(1rem, 2.2vw, 1.45rem);
}

.rh-legacy__pillar:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  inset-inline-start: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.rh-legacy__pillar-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 1.55rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 211, 163, 0.26);
  color: #e6d3a3;
  background: rgba(201, 168, 76, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rh-legacy__pillar h3 {
  margin: 0;
  color: #f7f2e3;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 900;
  line-height: 1.65;
}

.rh-legacy__pillar p {
  margin: 0.55rem 0 0;
  color: rgba(230, 236, 250, 0.72);
  font-size: 0.94rem;
  line-height: 1.85;
}

.rh-legacy__detail {
  margin: clamp(1.4rem, 2.7vw, 2rem) auto 0;
  text-align: center;
  max-width: 65ch;
  color: rgba(230, 236, 250, 0.76);
  font-size: 0.98rem;
  line-height: 1.85;
}

@media (max-width: 1023px) {

  .rh-legacy__about,
  .rh-legacy__pillars {
    grid-template-columns: 1fr;
  }

  .rh-legacy__about::before,
  .rh-legacy__pillar:not(:first-child)::before {
    display: none;
  }

  .rh-legacy__pillar+.rh-legacy__pillar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

}

@media (max-width: 639px) {
  .rh-legacy {
    padding-top: clamp(4.1rem, 12vw, 5rem);
    padding-inline: var(--rh-space-4);
  }

  .rh-legacy__eyebrow {
    letter-spacing: 0.14em;
  }

  .rh-legacy__timeline {
    height: 78px;
  }

  .rh-legacy__about {
    margin-top: 1.7rem;
    padding-block: 1.25rem;
  }

  .rh-legacy__timeline-track,
  .rh-legacy__timeline-fill,
  .rh-legacy__milestone {
    top: 33px;
  }

  .rh-legacy__milestone.is-mid {
    display: none;
  }

  .rh-legacy__milestone-label {
    font-size: 0.74rem;
  }

}

/* ============================================================
   FOUNDER ABOUT SECTION (Option 02: Light Executive Editorial)
   Scoped only to `.rh-about-editorial`.
   ============================================================ */
.rh-about-editorial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 2.8vw, 2.4rem) var(--rh-space-5) clamp(4.2rem, 8vw, 6.4rem);
  color: #10213f;
  background:
    radial-gradient(circle at 8% 18%, rgba(201, 168, 76, 0.16), transparent 20rem),
    radial-gradient(circle at 86% 8%, rgba(11, 30, 69, 0.08), transparent 24rem),
    linear-gradient(135deg, #fbfaf4 0%, #eef3fb 100%);
}

.rh-about-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 30, 69, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.62;
}

.rh-about-editorial::after {
  content: "";
  position: absolute;
  inset-inline-end: -9rem;
  bottom: -12rem;
  z-index: 0;
  width: min(36rem, 74vw);
  aspect-ratio: 1;
  pointer-events: none;
  background-image: url("https://CvWebs.b-cdn.net/Dr_Raid/Logo/New_Logo.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 66% 62%;
  opacity: 0.045;
  filter: saturate(0.65);
}

.rh-about-editorial__inner {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.28fr);
  gap: clamp(1.6rem, 4vw, 3.8rem);
  align-items: center;
}

.rh-about-editorial__portrait {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(16, 33, 63, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
    linear-gradient(90deg, rgba(11, 30, 69, 0.05) 1px, transparent 1px);
  background-color: #e8e4dc;
  box-shadow: 0 36px 80px -58px rgba(7, 20, 43, 0.8);
}

.rh-about-editorial__portrait>img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.04);
}

.rh-about-editorial__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.86) 100%),
    radial-gradient(circle at 80% 16%, rgba(201, 168, 76, 0.22), transparent 13rem);
}

.rh-about-editorial__logo {
  position: absolute;
  z-index: 2;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 4.4rem;
  height: 4.4rem;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(230, 211, 163, 0.24);
  background: rgba(7, 20, 43, 0.8);
  box-shadow: 0 18px 34px -26px rgba(0, 0, 0, 0.9);
}

.rh-about-editorial__logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 66% 62%;
  opacity: 0.92;
}

.rh-about-editorial__badge {
  position: absolute;
  z-index: 2;
  inset-inline: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.9rem 1.15rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(11, 30, 69, 0.1);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px -12px rgba(7, 20, 43, 0.18);
}

.rh-about-editorial__badge-name {
  display: block;
  margin: 0;
  padding-bottom: 0.55rem;
  text-align: center;
  color: #10213f;
  font-size: clamp(0.72rem, 1.6vw, 0.92rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
}

.rh-about-editorial__badge-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-top: 0.5rem;
}

.rh-about-editorial__badge strong {
  color: #c9a84c;
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  line-height: 1;
  font-weight: 900;
}

.rh-about-editorial__badge-stat span {
  color: #4d5a72;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.4;
}

/* Centered Section Header */
.rh-about-editorial__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: clamp(1.5rem, 3.2vw, 2.35rem);
}

.rh-about-editorial__header-wrap {
  display: inline-block;
  position: relative;
}

.rh-about-editorial__header-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #10213f;
  letter-spacing: -0.01em;
}

.rh-about-editorial__header-line {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4a853, #c9a84c, #b8942e);
}

.rh-about-editorial__kicker {
  margin: 0 0 0.72rem;
  color: #c9a84c;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  width: 100%;
}

.rh-about-editorial__content {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.rh-about-editorial__title {
  margin: 0;
  max-width: none;
  color: #10213f;
  font-size: clamp(2.2rem, 3.75vw, 4.25rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rh-about-editorial__title-line {
  display: block;
  white-space: nowrap;
}

.rh-about-editorial__lead {
  margin: 1.35rem 0 0;
  max-width: 68ch;
  color: #1a2d4d;
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 2;
  font-weight: 700;
}

.rh-about-editorial__body {
  margin: 1.15rem 0 0;
  max-width: 70ch;
  color: #5c6a82;
  font-size: clamp(0.96rem, 1.18vw, 1.04rem);
  line-height: 2.1;
  font-weight: 400;
}

.rh-about-editorial__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: clamp(1.45rem, 3vw, 2rem);
}

.rh-cta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--rh-gold, #D4A853);
  padding: 0.6rem 1.3rem;
  color: var(--rh-gold-muted, #AC8C4A);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 34px -30px rgba(7, 20, 43, 0.45);
  font-family: 'Cairo', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rh-cta-chip:hover {
  background: var(--rh-gold, #D4A853);
  color: #fff;
  border-color: var(--rh-gold, #D4A853);
  box-shadow: 0 18px 34px -20px rgba(212, 168, 83, 0.5);
}

.rh-about-editorial__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.26);
  padding: 0.54rem 0.95rem;
  color: #10213f;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 34px -30px rgba(7, 20, 43, 0.45);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
  transition: box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.rh-about-editorial__chips span:hover {
  box-shadow: 0 6px 20px -6px rgba(201, 168, 76, 0.4);
  border-color: rgba(201, 168, 76, 0.5);
}

@media (max-width: 1023px) {
  .rh-about-editorial__inner {
    grid-template-columns: 1fr;
  }

  .rh-about-editorial__title {
    max-width: 100%;
  }

  .rh-about-editorial__title-line {
    white-space: normal;
  }
}

@media (max-width: 639px) {
  .rh-about-editorial {
    padding: clamp(1.25rem, 5vw, 1.9rem) var(--rh-space-4) clamp(3.4rem, 12vw, 4.4rem);
  }

  .rh-about-editorial__portrait {
    min-height: 380px;
    border-radius: 26px;
  }

  .rh-about-editorial__logo {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 18px;
  }

  .rh-about-editorial__header {
    margin-bottom: clamp(1.4rem, 4vw, 2rem);
  }

  .rh-about-editorial__header-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .rh-about-editorial__chips span {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   AUTHORITY SEPARATOR BADGE (Final: light blueprint band + dark glass rail)
   ============================================================ */
#authority-separator.rh-sepbadge {
  position: relative;
  z-index: var(--rh-z-bridge);
  padding: clamp(1.35rem, 3vw, 2rem) var(--rh-space-5) clamp(1.1rem, 2.2vw, 1.75rem);
  background-color: #f6f8fc;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.12), transparent 34rem),
    linear-gradient(rgba(11, 30, 69, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.045) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: auto, 56px 56px, 56px 56px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(11, 30, 69, 0.08);
}

#authority-separator .rh-sepbadge__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.55rem);
}

#authority-separator .rh-sepbadge__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 16px;
  min-height: 142px;
}

#authority-separator .rh-sepbadge__item {
  position: relative;
  padding: clamp(1.15rem, 2.5vw, 1.75rem) 1rem;
  text-align: center;
  display: grid;
  place-content: center;
  min-width: 0;
}

#authority-separator .rh-sepbadge__item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  inset-inline-start: 0;
  width: 1px;
  background: var(--sep-divider, rgba(15, 23, 42, 0.1));
}

#authority-separator .rh-sepbadge__value {
  direction: ltr;
  unicode-bidi: isolate;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--sep-number, #C9A84C);
}

#authority-separator .rh-sepbadge__label {
  margin: 0.78rem 0 0;
  font-size: clamp(0.98rem, 1.15vw, 1.16rem);
  font-weight: 800;
  line-height: 1.55;
  color: var(--sep-label, #64748B);
}

#authority-separator .rh-sepbadge__card--glass {
  --sep-number: #f0d178;
  --sep-label: rgba(245, 248, 255, 0.9);
  --sep-divider: linear-gradient(180deg, transparent, rgba(230, 211, 163, 0.24), transparent);
  border: 1px solid rgba(230, 211, 163, 0.18);
  background:
    radial-gradient(circle at 50% -45%, rgba(201, 168, 76, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(13, 33, 73, 0.88), rgba(6, 18, 42, 0.96));
  box-shadow: 0 26px 52px -32px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}


@media (max-width: 1023px) {
  #authority-separator.rh-sepbadge {
    padding-inline: var(--rh-space-4);
  }

  #authority-separator .rh-sepbadge__card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #authority-separator .rh-sepbadge__item::before {
    display: none;
  }

  #authority-separator .rh-sepbadge__item:nth-child(even)::after {
    content: "";
    position: absolute;
    top: 22%;
    bottom: 22%;
    inset-inline-start: 0;
    width: 1px;
    background: var(--sep-divider, rgba(15, 23, 42, 0.1));
  }

  #authority-separator .rh-sepbadge__item:nth-child(n+3) {
    border-top: 1px solid rgba(127, 141, 163, 0.14);
  }
}

@media (max-width: 639px) {
  #authority-separator.rh-sepbadge {
    padding-inline: var(--rh-space-3);
  }

  #authority-separator .rh-sepbadge__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  #authority-separator .rh-sepbadge__item {
    padding: 1rem 0.8rem;
  }

  #authority-separator .rh-sepbadge__item:nth-child(even)::after {
    display: none;
  }

  #authority-separator .rh-sepbadge__item+.rh-sepbadge__item {
    border-top: 1px solid rgba(127, 141, 163, 0.14);
  }
}

/* HERO HEADLINE GRADIENT FALLBACK */
.rh-hero-headline {
  background: var(--rh-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback for browsers without background-clip: text */
  -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
  .rh-hero-headline {
    color: var(--rh-white);
    -webkit-text-fill-color: currentColor;
  }
}

/* ============================================================
   SECTION 3 - PARTNERS (Option 02: Light Trust Network)
   ============================================================ */
.rh-partners-v2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.25rem, 8vw, 6.8rem) var(--rh-space-5);
  color: #10213f;
  background-color: #f7f9fd;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.14), transparent 34rem),
    radial-gradient(circle at 12% 24%, rgba(11, 30, 69, 0.08), transparent 22rem),
    linear-gradient(rgba(11, 30, 69, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.04) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, 56px 56px, 56px 56px;
}

.rh-partners-v2::before {
  content: "";
  position: absolute;
  inset-inline: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.45), transparent);
  opacity: 0.75;
}

.rh-partners-v2::after {
  content: "";
  position: absolute;
  right: -12rem;
  bottom: -16rem;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: rgba(11, 30, 69, 0.08);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.rh-partners-v2__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.rh-partners-v2__header {
  max-width: 820px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
}

.rh-partners-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  color: #b8902f;
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.rh-partners-v2__eyebrow::before,
.rh-partners-v2__eyebrow::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.rh-partners-v2__title {
  margin: 0;
  color: #07142b;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.rh-partners-v2__subtitle {
  max-width: 720px;
  margin: 1rem auto 0;
  color: rgba(16, 33, 63, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 600;
  line-height: 1.9;
}

.rh-partners-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.2rem);
  align-items: stretch;
}

.rh-partners-v2__card,
.rh-partners-v2__cta {
  border-radius: 2rem;
}

.rh-partners-v2__card {
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 253, 0.82));
  border: 1px solid rgba(11, 30, 69, 0.10);
  box-shadow: 0 24px 60px -48px rgba(7, 20, 43, 0.68);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-partners-v2__card:hover,
.rh-partners-v2__card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(201, 168, 76, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.92));
  box-shadow: 0 34px 80px -50px rgba(7, 20, 43, 0.76);
  outline: none;
}

.rh-partners-v2__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  color: #e6d3a3;
  background: #0b1e45;
  border: 1px solid rgba(201, 168, 76, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.rh-partners-v2__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.rh-partners-v2__logos--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-partners-v2__logos--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-partners-v2__logos span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5.3rem;
  padding: 0.65rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 30, 69, 0.075);
}

.rh-partners-v2__logos--six span {
  height: 4.45rem;
}

.rh-partners-v2__logos img {
  max-width: 100%;
  max-height: 4rem;
  object-fit: contain;
  filter: grayscale(0) saturate(1);
  opacity: 1;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-partners-v2__logos--six img {
  max-height: 3.35rem;
}

.rh-partners-v2__text-logo {
  color: #0b1e45;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.9) !important;
}

.rh-partners-v2__text-logo strong {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.rh-partners-v2__card:hover .rh-partners-v2__logos img,
.rh-partners-v2__card:focus-visible .rh-partners-v2__logos img {
  filter: grayscale(0) saturate(1);
  opacity: 1;
  transform: scale(1.045);
}

.rh-partners-v2__card:hover .rh-partners-v2__text-logo,
.rh-partners-v2__card:focus-visible .rh-partners-v2__text-logo {
  color: #b8902f;
  border-color: rgba(201, 168, 76, 0.32);
}

.rh-partners-v2__card h3,
.rh-partners-v2__cta h3 {
  margin: auto 0 0.55rem;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-v2__card p,
.rh-partners-v2__cta p {
  margin: 0;
  color: rgba(16, 33, 63, 0.66);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.85;
}

.rh-partners-v2__cta {
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.35rem, 2vw, 1.8rem);
  color: #f4ead0;
  background:
    radial-gradient(circle at 20% 10%, rgba(201, 168, 76, 0.18), transparent 16rem),
    linear-gradient(180deg, #0b1e45, #07142b);
  border: 1px solid rgba(230, 211, 163, 0.18);
  box-shadow: 0 28px 72px -46px rgba(7, 20, 43, 0.95);
}

.rh-partners-v2__cta-kicker {
  color: rgba(230, 211, 163, 0.72) !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rh-partners-v2__cta strong {
  display: block;
  margin: 1.15rem 0 0;
  color: #e6d3a3;
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-align: center;
}

.rh-partners-v2__cta h3 {
  margin-top: auto;
  color: #f7f1df;
  text-align: center;
}

.rh-partners-v2__cta p {
  color: rgba(247, 241, 223, 0.68);
  text-align: center;
}

.rh-partners-v2__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.35rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px -24px rgba(230, 211, 163, 0.88);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 900;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-partners-v2__button:hover,
.rh-partners-v2__button:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.06);
  box-shadow: 0 24px 48px -26px rgba(230, 211, 163, 1);
  outline: none;
}

.rh-partners-v2__button svg {
  width: 1.05rem;
  height: 1.05rem;
  transform: rotate(180deg);
}

@media (max-width: 1100px) {
  .rh-partners-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-partners-v2__card,
  .rh-partners-v2__cta {
    min-height: 22rem;
  }
}

@media (max-width: 640px) {
  .rh-partners-v2 {
    padding: 3.5rem var(--rh-space-4);
  }

  .rh-partners-v2__grid {
    grid-template-columns: 1fr;
  }

  .rh-partners-v2__header {
    text-align: right;
  }

  .rh-partners-v2__eyebrow::before,
  .rh-partners-v2__eyebrow::after {
    width: 1.55rem;
  }

  .rh-partners-v2__subtitle {
    margin-right: 0;
    margin-left: 0;
  }

  .rh-partners-v2__card,
  .rh-partners-v2__cta {
    min-height: auto;
  }

  .rh-partners-v2__logos span {
    height: 4.7rem;
  }

  .rh-partners-v2__card h3,
  .rh-partners-v2__cta h3 {
    margin-top: 1.45rem;
  }
}

/* ============================================================
   PARTNERS PAGE PREMIUM REDESIGN
   Scoped to `.rh-partners-*` to preserve homepage cards, navbar,
   footer injection, service modals, and gallery filters.
   ============================================================ */
.rh-partners-page-body {
  margin: 0;
  background: #07142b;
  color: #f7f3ea;
}

.rh-partners-page {
  overflow: hidden;
  background: #07142b;
}

.rh-partners-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  padding: 7.35rem 1.75rem 1.5rem;
  color: #f7f3ea;
  background:
    linear-gradient(rgba(230, 211, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45 0%, #07142b 72%, #071124 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.rh-partners-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(7, 20, 43, 0.2) 0%, rgba(7, 20, 43, 0) 42%),
    linear-gradient(180deg, rgba(230, 211, 163, 0.08) 0%, rgba(230, 211, 163, 0) 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.rh-partners-hero::after {
  content: "";
  position: absolute;
  inset-inline: 2rem;
  bottom: 1.5rem;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.52), transparent);
}

.rh-partners-hero__inner {
  width: min(1500px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.rh-partners-hero__copy,
.rh-partners-hero__panel {
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: 0 32px 80px -58px rgba(0, 0, 0, 0.92);
}

.rh-partners-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}

.rh-partners-page__kicker {
  margin: 0 0 0.75rem;
  color: #c9a84c;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-hero__copy h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff8e8;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.rh-partners-hero__copy>p:not(.rh-partners-page__kicker) {
  max-width: 66ch;
  margin: 1.25rem 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: 1.08rem;
  line-height: 1.9;
}

.rh-partners-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.rh-partners-hero__stats div,
.rh-partners-workflow__steps article {
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.rh-partners-hero__stats div {
  min-height: 7rem;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
}

.rh-partners-hero__stats strong {
  color: #d7b95c;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.rh-partners-hero__stats span {
  color: rgba(247, 243, 234, 0.72);
  font-weight: 800;
  line-height: 1.45;
}

.rh-partners-hero__panel {
  position: relative;
  display: grid;
  align-content: center;
  justify-content: stretch;
  padding: 2rem;
}

.rh-partners-hero__panel-tag {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(230, 211, 163, 0.22);
  border-radius: 999px;
  color: #e6d3a3;
  background: rgba(7, 20, 43, 0.66);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.rh-partners-logo-grid {
  display: grid;
  gap: 0.85rem;
}

.rh-partners-logo-grid--hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  transform: translateY(1.15rem);
}

.rh-partners-logo-grid span,
.rh-partner-card {
  border-radius: 8px;
  border: 1px solid rgba(230, 211, 163, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 234, 0.88));
}

.rh-partners-logo-grid span {
  min-height: 8.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem;
  box-shadow: 0 22px 54px -44px rgba(0, 0, 0, 0.82);
}

.rh-partners-logo-grid img,
.rh-partner-card img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.rh-partners-logo-grid img {
  max-height: 5.7rem;
  filter: grayscale(0.15) saturate(0.95);
}

.rh-partners-text-mark strong {
  color: #0b1e45;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.rh-partners-principle {
  padding: 4.8rem 1.5rem;
  color: #0b1e45;
  background: #f7f3ea;
}

.rh-partners-principle__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.rh-partners-principle h2,
.rh-partners-section-head h2 {
  margin: 0;
  color: #0b1e45;
  font-size: 3.15rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.rh-partners-principle p:not(.rh-partners-page__kicker) {
  margin: 0;
  color: #38455d;
  font-size: 1.08rem;
  line-height: 1.95;
  text-align: start;
}

.rh-partners-directory {
  padding: 5rem 1.5rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45 0%, #07142b 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: #f7f3ea;
}

.rh-partners-directory__inner,
.rh-partners-workflow__inner,
.rh-partners-cta__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.rh-partners-section-head {
  max-width: 820px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.rh-partners-section-head h2 {
  color: #fff8e8;
}

.rh-partners-section-head h2::after,
.rh-partners-principle h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #e6c978, #c9a84c);
}

.rh-partners-principle h2::after {
  margin-inline: 0;
}

.rh-partners-group {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(230, 211, 163, 0.14);
}

.rh-partners-group:last-child {
  border-bottom: 1px solid rgba(230, 211, 163, 0.14);
}

.rh-partners-group__head {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.rh-partners-group__head span,
.rh-partners-workflow__steps span {
  color: #c9a84c;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.rh-partners-group__head h3 {
  margin: 1rem 0 0.6rem;
  color: #fff8e8;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-group__head p {
  margin: 0;
  color: rgba(247, 243, 234, 0.68);
  line-height: 1.8;
}

.rh-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.rh-partners-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-partners-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-partner-card {
  min-height: 11rem;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1.1rem;
  text-align: center;
  color: #0b1e45;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.rh-partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 211, 163, 0.45);
  box-shadow: 0 26px 64px -48px rgba(0, 0, 0, 0.82);
}

.rh-partner-card img {
  max-height: 4.8rem;
}

.rh-partner-card h4 {
  margin: 0;
  color: #0b1e45;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.45;
}

.rh-partner-card--text strong {
  color: #b8902f;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.45;
}

.rh-partners-workflow {
  padding: 5rem 1.5rem;
  background: #f7f3ea;
  color: #0b1e45;
}

.rh-partners-section-head--dark h2 {
  color: #0b1e45;
}

.rh-partners-workflow__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.rh-partners-workflow__steps article {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(11, 30, 69, 0.055);
  border-color: rgba(11, 30, 69, 0.12);
}

.rh-partners-workflow__steps h3 {
  margin: 1rem 0 0.6rem;
  color: #0b1e45;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-workflow__steps p {
  margin: 0;
  color: #4b5870;
  line-height: 1.78;
}

.rh-partners-cta {
  padding: 3rem 1.5rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    #07142b;
  background-size: 72px 72px, 72px 72px, auto;
}

.rh-partners-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.rh-partners-cta p {
  margin: 0;
  color: #fff8e8;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.55;
}

.rh-partners-cta a {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.55rem;
  border-radius: 8px;
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .rh-partners-hero {
    min-height: auto;
    height: auto;
    padding: 7rem 1.1rem 3rem;
  }

  .rh-partners-hero__inner,
  .rh-partners-principle__inner,
  .rh-partners-group {
    grid-template-columns: 1fr;
  }

  .rh-partners-hero__inner,
  .rh-partners-hero__copy,
  .rh-partners-hero__panel {
    height: auto;
  }

  .rh-partners-logo-grid--hero {
    transform: none;
  }

  .rh-partners-hero__copy h1 {
    max-width: none;
    font-size: 3.55rem;
  }

  .rh-partners-workflow__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rh-partners-hero {
    padding: 6.8rem 1rem 2.7rem;
  }

  .rh-partners-hero__copy,
  .rh-partners-hero__panel,
  .rh-partners-group__head,
  .rh-partners-cta__inner {
    padding: 1.15rem;
  }

  .rh-partners-hero__copy h1,
  .rh-partners-principle h2,
  .rh-partners-section-head h2 {
    font-size: 2.35rem;
    line-height: 1.22;
  }

  .rh-partners-hero__stats,
  .rh-partners-logo-grid--hero,
  .rh-partners-grid,
  .rh-partners-grid--three,
  .rh-partners-grid--two,
  .rh-partners-workflow__steps {
    grid-template-columns: 1fr;
  }

  .rh-partners-principle,
  .rh-partners-directory,
  .rh-partners-workflow {
    padding: 4rem 1rem;
  }

  .rh-partners-cta__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .rh-partners-cta a {
    width: 100%;
  }
}

/* ============================================================
   CONTACT PAGE PREMIUM REDESIGN
   Scoped to `.rh-contact-*` to preserve shared navbar/footer and
   service/gallery JavaScript behavior.
   ============================================================ */
.rh-contact-page-body {
  margin: 0;
  background: #07142b;
  color: #f7f3ea;
}

.rh-contact-page {
  overflow: hidden;
  background: #07142b;
}

.rh-contact-kicker {
  margin: 0 0 0.7rem;
  color: #c9a84c;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-contact-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  padding: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.5rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.044) 1px, transparent 1px),
    radial-gradient(circle at 16% 24%, rgba(201, 168, 76, 0.2), transparent 24rem),
    radial-gradient(circle at 82% 72%, rgba(43, 88, 150, 0.18), transparent 28rem),
    linear-gradient(180deg, #0b1e45 0%, #07142b 72%, #071124 100%);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.rh-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(230, 211, 163, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 44%);
}

.rh-contact-hero__inner {
  width: min(1500px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.rh-contact-hero__copy,
.rh-contact-hero__panel {
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: 0 32px 80px -58px rgba(0, 0, 0, 0.92);
}

.rh-contact-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 3rem);
}

.rh-contact-hero__copy h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff8e8;
  font-size: 4.25rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.rh-contact-hero__copy>p:not(.rh-contact-kicker) {
  max-width: 68ch;
  margin: 1.2rem 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: 1.08rem;
  line-height: 1.9;
}

.rh-contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.rh-contact-button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.45rem;
  border-radius: 8px;
  border: 1px solid rgba(230, 211, 163, 0.28);
  color: #f7f3ea;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rh-contact-button:hover,
.rh-contact-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(230, 211, 163, 0.5);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.rh-contact-button--gold {
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  border-color: rgba(255, 255, 255, 0.2);
}

.rh-contact-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 2.5vw, 2.2rem);
}

.rh-contact-hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(230, 211, 163, 0.18);
}

.rh-contact-hero__panel-head span {
  color: #e6d3a3;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rh-contact-hero__panel-head img {
  width: 4.2rem;
  height: auto;
  object-fit: contain;
}

.rh-contact-quick {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.rh-contact-quick li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 6.4rem;
  padding: 0.95rem;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.rh-contact-quick li>span {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  font-weight: 900;
}

.rh-contact-quick strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff8e8;
  font-size: 1.02rem;
  font-weight: 900;
}

.rh-contact-quick a,
.rh-contact-quick em {
  color: rgba(247, 243, 234, 0.72);
  font-style: normal;
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rh-contact-locations {
  padding: 5rem 1.5rem;
  color: #0b1e45;
  background: #f7f3ea;
}

.rh-contact-locations__inner,
.rh-contact-form-section__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.rh-contact-section-head {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.rh-contact-section-head h2,
.rh-contact-form-section__intro h2 {
  margin: 0;
  color: #0b1e45;
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.rh-contact-section-head h2::after,
.rh-contact-form-section__intro h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #e6c978, #c9a84c);
}

.rh-contact-section-head p:not(.rh-contact-kicker),
.rh-contact-form-section__intro>p:not(.rh-contact-kicker) {
  margin: 1rem auto 0;
  max-width: 760px;
  color: #46536a;
  font-size: 1.04rem;
  line-height: 1.9;
}

.rh-contact-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rh-contact-map-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(11, 30, 69, 0.12);
  background: rgba(255, 252, 244, 0.72);
  box-shadow: 0 26px 70px -56px rgba(11, 30, 69, 0.74);
}

.rh-contact-map-card__frame {
  height: 24rem;
  background: #0b1e45;
}

.rh-contact-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.78) contrast(1.02);
}

.rh-contact-map-card__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.rh-contact-map-card__label span {
  color: #c9a84c;
  font-size: 1.28rem;
  font-weight: 900;
}

.rh-contact-map-card__label h3 {
  margin: 0 0 0.2rem;
  color: #0b1e45;
  font-size: 1.22rem;
  font-weight: 900;
}

.rh-contact-map-card__label p {
  margin: 0;
  color: #5d6677;
  font-weight: 700;
}

.rh-contact-form-section {
  padding: 5rem 1.5rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45 0%, #07142b 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: #f7f3ea;
}

.rh-contact-form-section__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 1.25rem;
  align-items: stretch;
}

.rh-contact-form-section__intro,
.rh-contact-form {
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 54px 54px, 54px 54px, auto;
}

.rh-contact-form-section__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.rh-contact-form-section__intro h2 {
  color: #fff8e8;
}

.rh-contact-form-section__intro h2::after {
  margin-inline: 0;
}

.rh-contact-form-section__intro>p:not(.rh-contact-kicker) {
  margin-inline: 0;
  color: rgba(247, 243, 234, 0.72);
}

.rh-contact-form-section__note {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(230, 211, 163, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.rh-contact-form-section__note strong {
  color: #e6d3a3;
  font-weight: 900;
}

.rh-contact-form-section__note span {
  color: rgba(247, 243, 234, 0.68);
  line-height: 1.7;
}

.rh-contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.rh-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rh-contact-form label {
  display: grid;
  gap: 0.45rem;
}

.rh-contact-form label span {
  color: #e6d3a3;
  font-weight: 900;
}

.rh-contact-form input,
.rh-contact-form select,
.rh-contact-form textarea {
  width: 100%;
  min-height: 3.35rem;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  color: #f7f3ea;
  background: rgba(7, 20, 43, 0.64);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.rh-contact-form textarea {
  resize: vertical;
  min-height: 10rem;
}

.rh-contact-form input::placeholder,
.rh-contact-form textarea::placeholder {
  color: rgba(247, 243, 234, 0.42);
}

.rh-contact-form select {
  color-scheme: dark;
}

.rh-contact-form input:focus,
.rh-contact-form select:focus,
.rh-contact-form textarea:focus {
  border-color: rgba(230, 211, 163, 0.52);
  background: rgba(7, 20, 43, 0.82);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.rh-contact-form button {
  min-height: 3.45rem;
  border: 0;
  border-radius: 8px;
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 20px 44px -32px rgba(230, 211, 163, 0.86);
}

.rh-contact-form button:hover,
.rh-contact-form button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.05);
  outline: none;
}

@media (max-width: 1080px) {
  .rh-contact-hero {
    height: auto;
    min-height: auto;
    padding: 7rem 1.1rem 3rem;
  }

  .rh-contact-hero__inner,
  .rh-contact-form-section__inner {
    height: auto;
    grid-template-columns: 1fr;
  }

  .rh-contact-hero__copy,
  .rh-contact-hero__panel {
    height: auto;
  }

  .rh-contact-hero__copy h1 {
    max-width: none;
    font-size: 3.35rem;
  }
}

@media (max-width: 680px) {
  .rh-contact-hero {
    padding: 6.8rem 1rem 2.7rem;
  }

  .rh-contact-hero__copy,
  .rh-contact-hero__panel,
  .rh-contact-form-section__intro,
  .rh-contact-form {
    padding: 1.1rem;
  }

  .rh-contact-hero__copy h1,
  .rh-contact-section-head h2,
  .rh-contact-form-section__intro h2 {
    font-size: 2.35rem;
    line-height: 1.22;
  }

  .rh-contact-hero__actions,
  .rh-contact-map-grid,
  .rh-contact-form__row {
    grid-template-columns: 1fr;
  }

  .rh-contact-hero__actions {
    display: grid;
  }

  .rh-contact-locations,
  .rh-contact-form-section {
    padding: 4rem 1rem;
  }

  .rh-contact-map-card__frame {
    height: 19rem;
  }
}

/* ============================================================
   CONTACT PAGE V2 - ENGINEERING COMMAND DESK
   ============================================================ */
.rh-contact-v2-body {
  margin: 0;
  background: #07142b;
  color: #f7f3ea;
}

.rh-contact-v2 {
  overflow: hidden;
  background: #07142b;
}

.rh-contact-v2__kicker {
  margin: 0 0 0.75rem;
  color: #c9a84c;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-contact-desk {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  padding: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.5rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.044) 1px, transparent 1px),
    linear-gradient(115deg, rgba(230, 211, 163, 0.1) 0 1px, transparent 1px 38%),
    linear-gradient(180deg, #0b1e45 0%, #07142b 74%, #071124 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%, auto;
}

.rh-contact-desk::before {
  content: "";
  position: absolute;
  inset: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.5rem;
  z-index: -1;
  border: 1px solid rgba(230, 211, 163, 0.12);
  opacity: 0.82;
  pointer-events: none;
}

.rh-contact-desk::after {
  content: "";
  position: absolute;
  top: 7.35rem;
  bottom: 1.5rem;
  right: 50%;
  z-index: -1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 211, 163, 0.52), transparent);
  animation: rhContactLineScan 5.5s ease-in-out infinite;
  pointer-events: none;
}

.rh-contact-desk__grid {
  width: min(1500px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.rh-contact-desk__copy,
.rh-contact-intake {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026));
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: 0 32px 78px -58px rgba(0, 0, 0, 0.94);
  animation: rhContactPanelIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rh-contact-desk__copy::before,
.rh-contact-intake::before,
.rh-contact-office-card::before {
  content: "";
  position: absolute;
  inset-inline: 1.15rem;
  top: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.65), transparent);
  pointer-events: none;
}

.rh-contact-desk__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 3rem);
}

.rh-contact-desk__copy h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff8e8;
  font-size: 4.05rem;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.rh-contact-desk__copy>p:not(.rh-contact-v2__kicker) {
  max-width: 70ch;
  margin: 1.15rem 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: 1.06rem;
  line-height: 1.86;
}

.rh-contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.rh-contact-channel {
  min-height: 5.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  color: #f7f3ea;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.rh-contact-channel span {
  color: #c9a84c;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.rh-contact-channel strong {
  color: rgba(247, 243, 234, 0.82);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.rh-contact-channel:hover,
.rh-contact-channel:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(230, 211, 163, 0.46);
  background: rgba(255, 255, 255, 0.078);
  box-shadow: 0 22px 46px -34px rgba(230, 211, 163, 0.5);
  outline: none;
}

.rh-contact-desk__signal {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(230, 211, 163, 0.18);
}

.rh-contact-desk__signal span {
  color: #e6d3a3;
  font-weight: 900;
}

.rh-contact-desk__signal p {
  margin: 0;
  color: rgba(247, 243, 234, 0.64);
  line-height: 1.7;
}

.rh-contact-intake {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: clamp(1.25rem, 2.2vw, 2rem);
  animation-delay: 0.12s;
}

.rh-contact-intake__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(230, 211, 163, 0.18);
}

.rh-contact-intake__head p {
  margin: 0 0 0.2rem;
  color: #c9a84c;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.rh-contact-intake__head h2 {
  margin: 0;
  color: #fff8e8;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.25;
}

.rh-contact-intake__head img {
  width: 4.15rem;
  height: auto;
  object-fit: contain;
}

.rh-contact-intake__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.rh-contact-intake label {
  display: grid;
  gap: 0.4rem;
}

.rh-contact-intake label span {
  color: #e6d3a3;
  font-size: 0.92rem;
  font-weight: 900;
}

.rh-contact-intake input,
.rh-contact-intake select,
.rh-contact-intake textarea {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  color: #f7f3ea;
  background: rgba(7, 20, 43, 0.68);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.rh-contact-intake textarea {
  min-height: 8.4rem;
  resize: vertical;
}

.rh-contact-intake input::placeholder,
.rh-contact-intake textarea::placeholder {
  color: rgba(247, 243, 234, 0.42);
}

.rh-contact-intake select {
  color-scheme: dark;
}

.rh-contact-intake input:focus,
.rh-contact-intake select:focus,
.rh-contact-intake textarea:focus {
  border-color: rgba(230, 211, 163, 0.54);
  background: rgba(7, 20, 43, 0.88);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.rh-contact-intake button {
  min-height: 3.35rem;
  border: 0;
  border-radius: 8px;
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 20px 44px -32px rgba(230, 211, 163, 0.86);
}

.rh-contact-intake button:hover,
.rh-contact-intake button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.05);
  outline: none;
}

.rh-contact-offices {
  padding: 5rem 1.5rem;
  background:
    linear-gradient(rgba(11, 30, 69, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.04) 1px, transparent 1px),
    #f7f3ea;
  background-size: 64px 64px, 64px 64px, auto;
  color: #0b1e45;
}

.rh-contact-offices__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.rh-contact-offices__head {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.rh-contact-offices__head h2 {
  margin: 0;
  color: #0b1e45;
  font-size: 3.05rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.rh-contact-offices__head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #e6c978, #c9a84c);
}

.rh-contact-offices__head p:not(.rh-contact-v2__kicker) {
  max-width: 720px;
  margin: 1rem auto 0;
  color: #46536a;
  font-size: 1.04rem;
  line-height: 1.9;
}

.rh-contact-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rh-contact-office-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(11, 30, 69, 0.13);
  background: rgba(255, 252, 244, 0.8);
  box-shadow: 0 30px 80px -58px rgba(11, 30, 69, 0.82);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rh-contact-office-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.42);
  box-shadow: 0 36px 88px -56px rgba(11, 30, 69, 0.9);
}

.rh-contact-office-card__map {
  height: 24rem;
  background: #07142b;
}

.rh-contact-office-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.76) contrast(1.04);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.rh-contact-office-card:hover iframe {
  filter: saturate(0.95) contrast(1.06);
  transform: scale(1.012);
}

.rh-contact-office-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
}

.rh-contact-office-card__meta span {
  color: #c9a84c;
  font-size: 1.35rem;
  font-weight: 900;
}

.rh-contact-office-card__meta h3 {
  margin: 0 0 0.2rem;
  color: #0b1e45;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-contact-office-card__meta p {
  margin: 0;
  color: #5d6677;
  font-weight: 700;
}

@keyframes rhContactPanelIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rhContactLineScan {

  0%,
  100% {
    opacity: 0.25;
    transform: translateY(-4%);
  }

  50% {
    opacity: 0.9;
    transform: translateY(4%);
  }
}

@media (prefers-reduced-motion: reduce) {

  .rh-contact-desk::after,
  .rh-contact-desk__copy,
  .rh-contact-intake {
    animation: none;
  }

  .rh-contact-channel,
  .rh-contact-intake input,
  .rh-contact-intake select,
  .rh-contact-intake textarea,
  .rh-contact-intake button,
  .rh-contact-office-card,
  .rh-contact-office-card iframe {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .rh-contact-desk {
    height: auto;
    min-height: auto;
    padding: 7rem 1.1rem 3rem;
  }

  .rh-contact-desk::before,
  .rh-contact-desk::after {
    display: none;
  }

  .rh-contact-desk__grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .rh-contact-desk__copy,
  .rh-contact-intake {
    height: auto;
  }

  .rh-contact-desk__copy h1 {
    max-width: none;
    font-size: 3.35rem;
  }
}

@media (max-width: 680px) {
  .rh-contact-desk {
    padding: 6.8rem 1rem 2.7rem;
  }

  .rh-contact-desk__copy,
  .rh-contact-intake {
    padding: 1.1rem;
  }

  .rh-contact-desk__copy h1,
  .rh-contact-offices__head h2 {
    font-size: 2.35rem;
    line-height: 1.22;
  }

  .rh-contact-channel-grid,
  .rh-contact-intake__row,
  .rh-contact-office-grid {
    grid-template-columns: 1fr;
  }

  .rh-contact-offices {
    padding: 4rem 1rem;
  }

  .rh-contact-office-card__map {
    height: 19rem;
  }
}

/* Contact page clean hero and map interaction */
.rh-contact-desk {
  height: auto;
  min-height: auto;
  overflow: visible;
  padding: clamp(7.2rem, 12vw, 8.8rem) clamp(1rem, 2.4vw, 2.5rem) clamp(3rem, 5vw, 4.5rem);
}

.rh-contact-desk::after {
  display: none;
}

.rh-contact-desk::before {
  inset: clamp(6.9rem, 11vw, 8.45rem) clamp(1rem, 2.4vw, 2.5rem) 1.5rem;
}

.rh-contact-desk__grid {
  height: auto;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: clamp(1rem, 2vw, 1.45rem);
}

.rh-contact-desk__copy,
.rh-contact-intake {
  height: auto;
  min-height: 0;
}

.rh-contact-desk__copy {
  align-items: center;
  justify-content: center;
  min-height: clamp(21rem, 42vw, 30rem);
  padding: clamp(1.45rem, 3.4vw, 3.2rem);
  text-align: center;
}

.rh-contact-desk__copy h1 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
}

.rh-contact-desk__copy>p:not(.rh-contact-v2__kicker) {
  max-width: 68ch;
  margin-inline: auto;
  font-size: clamp(1rem, 1.55vw, 1.32rem);
}

.rh-contact-channel-grid {
  width: min(100%, 900px);
  margin-inline: auto;
}

.rh-contact-desk__signal {
  display: none;
}

.rh-contact-intake {
  width: min(100%, 1120px);
  height: auto;
  overflow: visible;
  margin-inline: auto;
}

.rh-contact-form-strip {
  padding: clamp(2.8rem, 5vw, 4.8rem) clamp(1rem, 2.4vw, 2.5rem);
  background:
    linear-gradient(rgba(230, 211, 163, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #07142b 0%, #0b1e45 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.rh-contact-form-strip__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.rh-contact-office-card__map {
  position: relative;
}

.rh-contact-office-card iframe {
  pointer-events: none;
}

.rh-contact-office-card__map.is-active iframe {
  pointer-events: auto;
}

.rh-contact-map-toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #fff8e8;
  background:
    linear-gradient(180deg, rgba(7, 20, 43, 0.1), rgba(7, 20, 43, 0.38));
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition:
    opacity 260ms ease,
    background 260ms ease;
}

.rh-contact-map-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  color: #07142b;
  background: #e6d3a3;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 18px 42px -28px rgba(7, 20, 43, 0.8);
}

.rh-contact-map-toggle:hover,
.rh-contact-map-toggle:focus-visible {
  background:
    linear-gradient(180deg, rgba(7, 20, 43, 0.05), rgba(7, 20, 43, 0.3));
  outline: none;
}

.rh-contact-map-toggle:focus-visible span {
  outline: 2px solid #fff8e8;
  outline-offset: 3px;
}

.rh-contact-office-card__map.is-active .rh-contact-map-toggle {
  opacity: 0;
  pointer-events: none;
}

.rh-contact-office-card__meta {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.rh-contact-office-card__meta h3,
.rh-contact-office-card__meta p {
  text-align: center;
}

@media (max-width: 680px) {
  .rh-contact-desk {
    padding: 6.8rem 1rem 3rem;
  }

  .rh-contact-desk__copy {
    min-height: auto;
  }
}

/* ============================================================
   SECTION 4 - SERVICES (Option 02: Premium Dark Service Board)
   ============================================================ */
.rh-services-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.6rem, 8vw, 7rem) var(--rh-space-5);
  color: #f7f1df;
  background-color: #0b1e45;
  background-image:
    radial-gradient(circle at 22% 18%, rgba(201, 168, 76, 0.16), transparent 22rem),
    radial-gradient(circle at 82% 8%, rgba(96, 137, 210, 0.13), transparent 28rem),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, 58px 58px, 58px 58px;
}

.rh-services-board::before {
  content: "";
  position: absolute;
  inset-inline: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.34), transparent);
}

.rh-services-board::after {
  content: "";
  position: absolute;
  left: -9rem;
  bottom: -18rem;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.08);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

.rh-services-board__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.8rem, 4.2vw, 3.75rem);
  align-items: stretch;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.rh-services-board__intro {
  display: flex;
  flex-direction: column;
}

.rh-services-board__eyebrow {
  margin: 0;
  color: #e6d3a3;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 900;
}

.rh-services-board__title {
  max-width: 11.5ch;
  margin: 0.9rem 0 0;
  color: #fff7df;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

html:not([data-lang="en"]) .rh-services-board__title-keep {
  white-space: nowrap;
}

@media (min-width: 1181px) {
  html:not([data-lang="en"]) .rh-services-board__inner {
    grid-template-columns: minmax(34rem, 0.82fr) minmax(0, 1.18fr);
  }

  html:not([data-lang="en"]) .rh-services-board__title {
    width: 100%;
    max-width: 9.2em;
    font-size: clamp(3.45rem, 3.85vw, 4.55rem);
    line-height: 1.12;
    margin-bottom: 0;
  }

  html:not([data-lang="en"]) .rh-services-board__main-link {
    margin-top: auto;
  }
}

.rh-services-board__subtitle {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: rgba(247, 241, 223, 0.68);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 650;
  line-height: 1.95;
}

.rh-services-board__main-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.75rem;
  margin-top: auto;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 46px -28px rgba(230, 211, 163, 0.95);
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 950;
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 340ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-services-board__main-link:hover,
.rh-services-board__main-link:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.06);
  box-shadow: 0 28px 58px -30px rgba(230, 211, 163, 1);
  outline: none;
}

.rh-services-board__main-link svg {
  width: 1.05rem;
  height: 1.05rem;
  transform: rotate(180deg);
}

.rh-services-board__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.9rem, 1.7vw, 1.15rem);
}

.rh-services-board__card {
  display: block;
  min-height: 12rem;
  padding: clamp(1.6rem, 2.2vw, 2rem);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 15rem),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.105);
  box-shadow: 0 26px 70px -48px rgba(0, 0, 0, 0.65);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-services-board__card--featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.075);
  border-color: rgba(201, 168, 76, 0.32);
}

.rh-services-board__card:hover,
.rh-services-board__card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(230, 211, 163, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.085);
  outline: none;
}

.rh-services-board__number {
  display: block;
  color: #c9a84c;
  font-size: clamp(3rem, 5vw, 4.7rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.rh-services-board__card h3 {
  margin: 1.25rem 0 0;
  color: #fff7df;
  font-size: clamp(1.18rem, 1.42vw, 1.38rem);
  font-weight: 950;
  line-height: 1.35;
}

.rh-services-board__card-desc {
  margin: 0.55rem 0 0;
  color: rgba(247, 241, 223, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .rh-services-board__inner {
    grid-template-columns: 1fr;
  }

  .rh-services-board__title,
  .rh-services-board__subtitle {
    max-width: 44rem;
  }

  .rh-services-board__intro {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .rh-services-board {
    padding: 3.6rem var(--rh-space-4);
  }

  .rh-services-board__grid {
    grid-template-columns: 1fr;
  }

  .rh-services-board__card {
    min-height: auto;
  }

  .rh-services-board__title {
    max-width: 13ch;
  }

  .rh-services-board__main-link {
    width: 100%;
  }
}

/* SECTION 4 - ACHIEVEMENTS */
.rh-achievements .bg-white {
  background: var(--rh-white);
  border-radius: 16px;
  box-shadow: var(--rh-shadow-card);
  position: relative;
  overflow: hidden;
}

.rh-achievements .bg-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rh-gradient-brand);
}

/* ============================================================
   SECTION 6 - TOP 3 PROJECTS (Option 01: Clean Top 3)
   ============================================================ */
.rh-projects-top3 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.4rem, 8vw, 6.8rem) var(--rh-space-5);
  color: #10213f;
  background-color: #f7f5ee;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.14), transparent 34rem),
    linear-gradient(rgba(11, 30, 69, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.045) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: auto, 56px 56px, 56px 56px;
}

.rh-projects-top3::before {
  content: "";
  position: absolute;
  inset-inline: 9%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.45), transparent);
}

.rh-projects-top3__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.rh-projects-top3__header {
  max-width: 780px;
  margin: 0 auto clamp(2.4rem, 5vw, 3.4rem);
  text-align: center;
}

.rh-projects-top3__eyebrow {
  margin: 0;
  color: #b8902f;
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  font-weight: 900;
}

.rh-projects-top3__title {
  margin: 0.75rem 0 0;
  color: #07142b;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.rh-projects-top3__subtitle {
  max-width: 640px;
  margin: 1rem auto 0;
  color: rgba(16, 33, 63, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  font-weight: 650;
  line-height: 1.9;
}

.rh-projects-top3__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.18fr) minmax(0, 0.86fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}

.rh-projects-top3__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 30, 69, 0.09);
  border-radius: 1.7rem;
  box-shadow: 0 28px 80px -52px rgba(7, 20, 43, 0.62);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-projects-top3__card--featured {
  order: 2;
  border-color: rgba(201, 168, 76, 0.34);
  box-shadow: 0 34px 92px -48px rgba(7, 20, 43, 0.72);
}

.rh-projects-top3__card:not(.rh-projects-top3__card--featured) {
  transform: scale(0.92);
  opacity: 0.94;
}

.rh-projects-top3__card:nth-child(2) {
  order: 1;
}

.rh-projects-top3__card:nth-child(3) {
  order: 3;
}

.rh-projects-top3__card:hover,
.rh-projects-top3__card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.42);
  box-shadow: 0 38px 92px -54px rgba(7, 20, 43, 0.78);
  outline: none;
}

.rh-projects-top3__media {
  position: relative;
  height: clamp(15.5rem, 24vw, 19.5rem);
  margin: 0;
  overflow: hidden;
}

.rh-projects-top3__card--featured .rh-projects-top3__media {
  height: clamp(15.5rem, 25vw, 19.5rem);
}

.rh-projects-top3__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-projects-top3__card:hover .rh-projects-top3__media img,
.rh-projects-top3__card:focus-visible .rh-projects-top3__media img {
  transform: scale(1.055);
}

.rh-projects-top3__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  color: #f7f1df;
  background: linear-gradient(180deg, rgba(7, 20, 43, 0.06), rgba(7, 20, 43, 0.58));
  opacity: 0;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  transform: translateY(0.6rem);
  transition:
    opacity 340ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-projects-top3__card:hover .rh-projects-top3__overlay,
.rh-projects-top3__card:focus-visible .rh-projects-top3__overlay {
  opacity: 1;
  transform: translateY(0);
}

.rh-projects-top3__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.15rem, 2vw, 1.45rem);
  text-align: center;
}

.rh-projects-top3__tag {
  margin: 0;
  color: #b8902f;
  font-size: 0.85rem;
  font-weight: 900;
}

.rh-projects-top3__body h3 {
  margin: 0;
  color: #07142b;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 950;
  line-height: 1.35;
}

.rh-projects-top3__body p:not(.rh-projects-top3__tag) {
  margin: 0.7rem 0 0;
  color: rgba(16, 33, 63, 0.64);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.8;
}

.rh-projects-top3__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.1rem, 5vw, 3rem);
}

.rh-projects-top3__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.6rem;
  padding: 0.8rem 1.7rem;
  color: #f7f1df;
  background: linear-gradient(180deg, #0b1e45, #07142b);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 999px;
  box-shadow: 0 22px 50px -32px rgba(7, 20, 43, 0.88);
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 950;
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 340ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rh-projects-top3__button:hover,
.rh-projects-top3__button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.42);
  box-shadow: 0 28px 62px -34px rgba(7, 20, 43, 0.96);
  outline: none;
}

.rh-projects-top3__button svg {
  width: 1.05rem;
  height: 1.05rem;
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .rh-projects-top3__grid {
    grid-template-columns: 1fr;
  }

  .rh-projects-top3__card,
  .rh-projects-top3__card--featured,
  .rh-projects-top3__card:not(.rh-projects-top3__card--featured) {
    order: initial;
    transform: none;
    opacity: 1;
  }

  .rh-projects-top3__media {
    height: 16rem;
  }

  .rh-projects-top3__card--featured .rh-projects-top3__media {
    height: 16rem;
  }
}

@media (max-width: 640px) {
  .rh-projects-top3 {
    padding: 3.3rem 1rem;
    background-size: auto, 42px 42px, 42px 42px;
  }

  .rh-projects-top3__header {
    margin-bottom: 1.65rem;
    text-align: center;
  }

  .rh-projects-top3__eyebrow {
    font-size: 0.9rem;
  }

  .rh-projects-top3__title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  .rh-projects-top3__subtitle {
    max-width: 30ch;
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .rh-projects-top3__grid {
    gap: 1rem;
  }

  .rh-projects-top3__card {
    width: 100%;
    border-radius: 1.35rem;
  }

  .rh-projects-top3__media,
  .rh-projects-top3__card--featured .rh-projects-top3__media {
    height: clamp(12.8rem, 58vw, 15.5rem);
  }

  .rh-projects-top3__overlay {
    opacity: 1;
    transform: none;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(7, 20, 43, 0.02), rgba(7, 20, 43, 0.66));
  }

  .rh-projects-top3__body {
    min-height: auto;
    padding: 1.1rem 1rem 1.25rem;
    text-align: center;
  }

  .rh-projects-top3__body h3 {
    font-size: 1.2rem;
  }

  .rh-projects-top3__body p:not(.rh-projects-top3__tag) {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .rh-projects-top3__button {
    width: 100%;
    min-height: 3.3rem;
    padding-inline: 1rem;
    font-size: 0.98rem;
  }
}

@media (hover: none) and (pointer: coarse) {

  .rh-projects-top3__card:hover,
  #projects-filterable .project-item2:hover {
    transform: none !important;
  }

  .rh-projects-top3__media img,
  .rh-projects-gallery .project-item2 img {
    transition-duration: 420ms;
  }
}

/* SECTION 7 - PROJECTS GALLERY 2 */
#projects-filterable {
  scroll-margin-top: 7rem;
}

.rh-projects-gallery {
  color: #10213f;
  background-color: #f7f5ee !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.14), transparent 34rem),
    linear-gradient(rgba(11, 30, 69, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.045) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: auto, 56px 56px, 56px 56px;
}

.rh-projects-gallery>div:first-child,
.rh-projects-gallery>div:nth-child(2) {
  display: none;
}

.rh-projects-gallery .container {
  width: min(1240px, 100%);
}

.rh-projects-gallery h2 {
  color: #07142b !important;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem) !important;
  font-weight: 950 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.05em;
}

.rh-projects-gallery h2 span {
  display: none;
}

.rh-projects-gallery .text-center>p {
  max-width: 720px;
  color: rgba(16, 33, 63, 0.66) !important;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  font-weight: 650;
  line-height: 1.9;
}

.rh-projects-gallery__filters {
  width: min(100%, 82rem);
  margin-inline: auto;
}

.rh-projects-gallery .filter-btn2 {
  display: inline-flex !important;
  flex: 0 1 16.25rem;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  max-width: 16.25rem;
  padding: 0.62rem 1rem !important;
  color: #10213f !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(11, 30, 69, 0.10) !important;
  box-shadow: 0 16px 42px -34px rgba(7, 20, 43, 0.5);
  font-weight: 900 !important;
  font-size: clamp(0.88rem, 1.05vw, 1.05rem) !important;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease;
}

.rh-projects-gallery .filter-btn2:hover,
.rh-projects-gallery .filter-btn2:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, 0.38) !important;
  background: #fffaf0 !important;
  outline: none;
}

.rh-projects-gallery .filter-btn2.active {
  color: #f7f1df !important;
  background: linear-gradient(180deg, #0b1e45, #07142b) !important;
  border-color: rgba(201, 168, 76, 0.28) !important;
  box-shadow: 0 22px 52px -36px rgba(7, 20, 43, 0.85);
}

@media (min-width: 1024px) {
  .rh-projects-gallery__filters {
    flex-wrap: nowrap !important;
  }

  .rh-projects-gallery .filter-btn2 {
    flex: 1 1 0 !important;
    max-width: none;
    min-width: 0;
    padding-inline: 0.65rem !important;
    font-size: clamp(0.8rem, 0.92vw, 1rem) !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 767px) {
  #projects-filterable {
    scroll-margin-top: 5.5rem;
  }

  .rh-projects-gallery {
    padding-block: 3.25rem !important;
    background-size: auto, 42px 42px, 42px 42px;
  }

  .rh-projects-gallery .container {
    width: 100%;
    padding-inline: 1rem !important;
  }

  .rh-projects-gallery .text-center {
    margin-bottom: 2rem !important;
  }

  .rh-projects-gallery h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  .rh-projects-gallery .text-center>p {
    max-width: 31ch;
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .rh-projects-gallery__filters {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.65rem !important;
    width: 100%;
    max-width: 25rem;
  }

  .rh-projects-gallery .filter-btn2 {
    width: 100%;
    max-width: none;
    min-height: 3.2rem;
    padding: 0.65rem 0.85rem !important;
    font-size: clamp(0.84rem, 3.6vw, 0.98rem) !important;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rh-projects-gallery #projects-grid2 {
    width: 100%;
    gap: 1rem;
  }

  #projects-filterable .project-item2 {
    min-width: 0;
    border-radius: 1.35rem;
  }

  .rh-projects-gallery .project-item2 .relative {
    height: clamp(12.75rem, 57vw, 15.25rem) !important;
  }

  .rh-projects-gallery .project-item2 .p-4 {
    min-height: auto;
    padding: 1.05rem 1rem 1.2rem !important;
    text-align: start;
  }

  .rh-projects-gallery .project-item2 span {
    max-width: 100%;
    white-space: normal;
    font-size: 0.78rem !important;
  }

  .rh-projects-gallery__card-title {
    font-size: 1.16rem;
  }

  .rh-projects-gallery__card-copy {
    font-size: 0.92rem;
    line-height: 1.75;
  }
}

@media (max-width: 640px) {
  .rh-projects-gallery .project-item2 .p-4 {
    text-align: center;
  }
}

.rh-projects-gallery #projects-grid2 {
  gap: clamp(1rem, 2vw, 1.4rem);
}

#projects-filterable .project-item2 {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 30, 69, 0.09);
  border-radius: 1.7rem;
  box-shadow: 0 28px 80px -52px rgba(7, 20, 43, 0.62);
  transition:
    opacity 300ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

#projects-filterable .project-item2:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(201, 168, 76, 0.42);
  box-shadow: 0 38px 92px -54px rgba(7, 20, 43, 0.78);
}

.rh-projects-gallery .project-item2 .relative {
  height: clamp(13.5rem, 21vw, 16.5rem) !important;
}

.rh-projects-gallery .project-item2 .p-4 {
  min-height: 12rem;
  padding: clamp(1.15rem, 2vw, 1.45rem) !important;
  text-align: center;
}

.rh-projects-gallery .project-item2 span {
  color: #b8902f !important;
  background: rgba(201, 168, 76, 0.11) !important;
  border: 1px solid rgba(201, 168, 76, 0.18);
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  line-height: 1.55;
}

.rh-projects-gallery__card-title {
  margin: 0.65rem 0 0;
  color: #07142b;
  font-size: clamp(1.2rem, 1.55vw, 1.42rem);
  font-weight: 950;
  line-height: 1.35;
}

.rh-projects-gallery__card-copy {
  margin: 0.58rem 0 0;
  color: rgba(16, 33, 63, 0.64);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.75;
}

/* Gold Seam */
.rh-gold-seam {
  height: 4px;
  background: var(--rh-gradient-brand);
  opacity: 0.4;
  width: 100%;
}

/* Premium shared footer */
.rh-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #f8f2df;
  background:
    radial-gradient(circle at 78% 12%, rgba(201, 168, 76, 0.12), transparent 25rem),
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #081c3d 0%, #07142b 100%);
  background-size: auto, 64px 64px, 64px 64px, auto;
  padding: clamp(2.7rem, 4.4vw, 4.1rem) 0 0;
  border-top: 1px solid rgba(230, 211, 163, 0.16);
}

.rh-footer__ambient {
  position: absolute;
  inset: -9rem auto auto -9rem;
  width: min(26rem, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(230, 211, 163, 0.1);
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.rh-footer__ambient::before {
  content: "";
  position: absolute;
  inset: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: inherit;
}

.rh-footer__container {
  width: min(92%, 1320px);
  margin-inline: auto;
}

.rh-footer__top {
  display: grid;
  grid-template-columns: minmax(15rem, 1.08fr) minmax(10rem, 0.86fr) minmax(10rem, 0.9fr) minmax(15rem, 1.08fr);
  gap: clamp(1.4rem, 3vw, 3.1rem);
  align-items: stretch;
}

.rh-footer__brand,
.rh-footer__column {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  padding: clamp(1.15rem, 1.7vw, 1.55rem);
  border: 1px solid rgba(230, 211, 163, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.055), rgba(255, 252, 244, 0.022));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.065),
    0 28px 82px -70px rgba(0, 0, 0, 0.9);
}

.rh-footer__brand {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(0.8rem, 1.8vw, 1.1rem);
}

.rh-footer__logo {
  flex-shrink: 0;
  width: 4.65rem;
  height: 4.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(230, 211, 163, 0.82);
  background: rgba(7, 20, 43, 0.54);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-footer__logo:hover {
  transform: translateY(-3px);
  border-color: #f2df93;
  box-shadow: 0 18px 42px -30px rgba(230, 211, 163, 0.78);
}

.rh-footer__logo img {
  width: 3.28rem;
  height: 3.28rem;
  object-fit: contain;
}

.rh-footer__eyebrow {
  margin: 0;
  color: rgba(247, 243, 234, 0.64);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.4;
}

.rh-footer__brand-titles {
  width: 100%;
  max-width: min(100%, 36rem);
  margin-inline: auto;
}

.rh-footer__brand h2 {
  margin: 0;
  color: #e6d3a3;
  font-size: clamp(0.95rem, 1.85vw, 1.28rem);
  font-weight: 1000;
  line-height: 1.4;
}

.rh-footer__summary {
  max-width: 28ch;
  margin: 0;
  color: rgba(247, 243, 234, 0.62);
  font-size: clamp(0.98rem, 1vw, 1.06rem);
  font-weight: 650;
  line-height: 1.65;
}

.rh-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.rh-footer__social a {
  --rh-social-bg: #e6d3a3;
  --rh-social-fg: #07142b;
  --rh-social-border: rgba(230, 211, 163, 0.72);
  --rh-social-shadow: rgba(230, 211, 163, 0.42);
  width: 2.85rem;
  height: 2.85rem;
  display: inline-grid;
  place-items: center;
  color: #e6d3a3;
  border: 1px solid rgba(230, 211, 163, 0.22);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.045);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    color 420ms cubic-bezier(0.16, 1, 0.3, 1),
    background 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-footer__social a[data-social="facebook"] {
  --rh-social-bg: #1877f2;
  --rh-social-fg: #ffffff;
  --rh-social-border: rgba(24, 119, 242, 0.72);
  --rh-social-shadow: rgba(24, 119, 242, 0.5);
}

.rh-footer__social a[data-social="linkedin"] {
  --rh-social-bg: #0a66c2;
  --rh-social-fg: #ffffff;
  --rh-social-border: rgba(10, 102, 194, 0.72);
  --rh-social-shadow: rgba(10, 102, 194, 0.5);
}

.rh-footer__social a[data-social="whatsapp"] {
  --rh-social-bg: #25d366;
  --rh-social-fg: #062415;
  --rh-social-border: rgba(37, 211, 102, 0.72);
  --rh-social-shadow: rgba(37, 211, 102, 0.5);
}

.rh-footer__social a:hover,
.rh-footer__social a:focus-visible {
  color: var(--rh-social-fg);
  background: var(--rh-social-bg);
  border-color: var(--rh-social-border);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -24px var(--rh-social-shadow);
}

.rh-footer__social svg,
.rh-footer__contact-icon svg {
  width: 1.12rem;
  height: 1.12rem;
  fill: currentColor;
}

.rh-footer__column h3 {
  position: relative;
  margin: 0;
  color: #e6d3a3;
  font-size: clamp(1.08rem, 1.18vw, 1.26rem);
  font-weight: 1000;
  line-height: 1.25;
}

.rh-footer__column h3::after {
  content: "";
  display: block;
  width: 2.85rem;
  height: 2px;
  margin-top: 0.72rem;
  background: #c9a84c;
}

.rh-footer__column ul {
  display: grid;
  justify-items: start;
  gap: 0.68rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.rh-footer__column li {
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  color: rgba(247, 243, 234, 0.66);
  font-size: clamp(0.98rem, 1vw, 1.05rem);
  font-weight: 720;
  line-height: 1.55;
}

.rh-footer__column:not(.rh-footer__contact) li::before {
  content: "";
  width: 0.28rem;
  height: 0.28rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.72);
}

.rh-footer__column a {
  color: rgba(247, 243, 234, 0.68);
  transition:
    color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-footer__column a:hover,
.rh-footer__column a:focus-visible {
  color: #f2df93;
  transform: translateX(-2px);
}

.rh-footer__contact li {
  width: 100%;
  gap: 0.75rem;
}

.rh-footer__contact-icon {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #e6d3a3;
  border: 1px solid rgba(230, 211, 163, 0.2);
  border-radius: 10px;
  background: rgba(255, 252, 244, 0.05);
}

.rh-footer__contact-cta {
  min-height: 2.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.72rem 1rem;
  color: #07142b !important;
  background: #e6d3a3;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 1000;
  box-shadow: 0 18px 38px -30px rgba(230, 211, 163, 0.86);
}

.rh-footer__contact-cta:hover,
.rh-footer__contact-cta:focus-visible {
  color: #07142b !important;
  transform: translateY(-2px);
}

.rh-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  margin-top: clamp(1.5rem, 2.4vw, 2.2rem);
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid rgba(230, 211, 163, 0.13);
  color: rgba(247, 243, 234, 0.5);
  font-size: 0.92rem;
  font-weight: 720;
}

.rh-footer__bottom a {
  color: rgba(230, 211, 163, 0.82);
  font-weight: 1000;
}

.rh-footer__bottom a:hover,
.rh-footer__bottom a:focus-visible {
  color: #fff7e8;
}

@media (max-width: 1180px) {
  .rh-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .rh-footer {
    padding-top: 2.2rem;
  }

  .rh-footer__container {
    width: min(100% - 2rem, 1320px);
  }

  .rh-footer__top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rh-footer__brand,
  .rh-footer__column {
    min-height: auto;
    border-radius: 14px;
  }

  .rh-footer__column a,
  .rh-footer__bottom p,
  .rh-footer__bottom a {
    overflow-wrap: anywhere;
  }

  .rh-footer__bottom {
    gap: 0.35rem;
  }
}

/* PROJECTS GALLERY BUTTON PILLS */
.filter-btn,
.filter-btn2 {
  border-radius: 999px !important;
  /* pill shape */
}

/* Responsive tweaks for Hero */
@media (max-width: 1023px) and (min-width: 768px) {
  .rh-hero__motif svg {
    width: 50vw;
  }
}

@media (max-width: 767px) and (min-width: 640px) {
  .rh-hero__grid {
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 100%);
  }

  .rh-hero::before,
  .rh-hero::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .rh-hero {
    min-height: 100svh;
  }

  .rh-hero__video {
    object-fit: cover;
    object-position: center top;
  }

  .rh-hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(10, 23, 51, 0.86) 0%,
        rgba(10, 23, 51, 0.66) 34%,
        rgba(10, 23, 51, 0.54) 68%,
        rgba(10, 23, 51, 0.9) 100%);
  }

  .rh-hero__content {
    align-items: center;
    width: min(100%, 24rem);
    min-height: 100svh;
    margin-inline: auto;
    padding: clamp(5.9rem, 16svh, 7.2rem) 1.15rem clamp(2rem, 8svh, 3.8rem);
    gap: 1rem;
    text-align: center;
  }

  .rh-hero__eyebrow {
    gap: 0.62rem;
    font-size: clamp(0.72rem, 3.25vw, 0.84rem);
    letter-spacing: 0.08em;
  }

  .rh-hero__eyebrow-dash {
    width: clamp(1.45rem, 9vw, 2.25rem);
  }

  .rh-hero__headline {
    max-width: 100%;
    font-size: clamp(1.72rem, 8.2vw, 2.45rem);
    line-height: 1.22;
    letter-spacing: -0.015em;
    text-wrap: balance;
  }

  .rh-hero__headline-line,
  .rh-hero__headline-sub {
    white-space: normal;
  }

  .rh-hero__headline-sub {
    max-width: 22ch;
    margin: 0.72rem auto 0;
    font-size: 0.58em;
    line-height: 1.55;
  }

  .rh-hero__subhead {
    max-width: 28ch;
    font-size: clamp(0.9rem, 3.65vw, 1rem);
    line-height: 1.85;
    text-align: center;
  }

  .rh-hero__scroll {
    display: none;
  }

  .rh-hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 21rem;
    gap: 0.72rem;
    margin-top: 0.55rem;
  }

  .rh-btn {
    width: 100%;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.74rem 1rem;
    font-size: 0.94rem;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .rh-btn__icon {
    width: 1rem;
    height: 1rem;
  }

  .rh-hero__motif svg {
    width: 70vw;
    opacity: 0.04;
  }

  .rh-hero__grid {
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 100%);
  }

  .rh-hero::before,
  .rh-hero::after {
    display: none;
  }
}

/* ANIMATION CHOREOGRAPHY */
/* Hero Entrance Timeline */
.rh-hero__overlay {
  animation: rhFadeIn 300ms ease-out forwards;
}

.rh-hero__grid {
  animation: rhGridIn 700ms ease-out 200ms both;
  transform-origin: center 20px;
}

.rh-hero__motif {
  animation: none;
}

.rh-hero__eyebrow {
  animation: rhSlideUp 700ms ease-out 600ms both;
}

.rh-hero__headline-line:nth-child(1) {
  animation: rhSlideUp 700ms ease-out 800ms both;
}

.rh-hero__headline-line:nth-child(2) {
  animation: rhSlideUp 700ms ease-out 920ms both;
}

.rh-hero__headline-line:nth-child(3) {
  animation: rhSlideUp 700ms ease-out 1040ms both;
}

.rh-hero__subhead {
  animation: rhFadeIn 700ms ease-out 1200ms both;
}

.rh-hero__ctas>*:nth-child(1) {
  animation: rhSlideUp10 700ms ease-out 1400ms both;
}

.rh-hero__ctas>*:nth-child(2) {
  animation: rhSlideUp10 700ms ease-out 1500ms both;
}

.rh-langtoggle,
.rh-hero__scroll {
  animation: rhFadeIn 500ms ease-out 1600ms both;
}

@keyframes rhFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes rhGridIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 0.55;
    transform: scale(1);
  }
}

@keyframes rhMotifIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.06;
  }
}

@keyframes rhSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rhSlideUp10 {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveals */
.rh-section__eyebrow,
.rh-section__headline,
.rh-section__subtitle {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.rh-section__eyebrow.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.rh-section__headline.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 80ms;
}

.rh-section__subtitle.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 160ms;
}

/* Bridge Card Reveal */
.rh-bridge-card {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}

.rh-bridge-card.is-visible {
  opacity: 1;
  transform: scale(1);
}

.rh-bridge-card__item {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.rh-bridge-card.is-visible .rh-bridge-card__item:nth-child(1) {
  transition-delay: 120ms;
  opacity: 1;
  transform: translateY(0);
}

.rh-bridge-card.is-visible .rh-bridge-card__item:nth-child(3) {
  transition-delay: 240ms;
  opacity: 1;
  transform: translateY(0);
}

.rh-bridge-card.is-visible .rh-bridge-card__item:nth-child(5) {
  transition-delay: 360ms;
  opacity: 1;
  transform: translateY(0);
}

.rh-bridge-card.is-visible .rh-bridge-card__item:nth-child(7) {
  transition-delay: 480ms;
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .rh-hero__video {
    display: none;
  }

  .rh-hero__scroll {
    display: none;
  }
}

/* ──────────────────
   HERO POSTER — Static intro before video
   Shows a branded splash, then fades out to reveal the video.
   ────────────────── */
.rh-hero__poster {
  position: absolute;
  inset: 0;
  z-index: calc(var(--rh-z-overlay) + 1);
  /* Above overlay, below content */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45 0%, #0a1a3a 50%, #07142b 100%);
  background-size: 100% 100%, 60px 60px, 60px 60px, 100% 100%;
  background-position: center, center, center, center;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.rh-hero__poster::before,
.rh-hero__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rh-hero__poster::before {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.035), transparent 56%);
  opacity: 0.16;
}

.rh-hero__poster::after {
  background:
    radial-gradient(circle at center,
      transparent 0%,
      transparent 33.75%,
      rgba(200, 221, 255, 0.03) 33.85%,
      rgba(200, 221, 255, 0.03) 33.95%,
      transparent 34.05%),
    linear-gradient(180deg, rgba(7, 20, 43, 0.12) 0%, rgba(7, 20, 43, 0.42) 100%),
    radial-gradient(circle at center, transparent 38%, rgba(7, 20, 43, 0.32) 100%);
}

.rh-hero__poster.fade-out {
  opacity: 0;
}

.rh-hero__poster-logo {
  display: none;
}

@keyframes posterLogoIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ──────────────────
   NAVBAR STYLE REFINEMENT — Match reference image
   Overrides inline Tailwind classes via higher specificity.
   NO HTML changes needed. Mega dropdown logic untouched.
   ────────────────── */

/* Slimmer navbar container */
#main-navbar>.container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Refined nav link sizing — override text-[1.1rem] */
#main-navbar .hidden.md\:flex a,
#main-navbar .hidden.md\:flex button {
  font-size: 0.9375rem !important;
  /* 15px — down from 17.6px */
  padding: 0.375rem 0.75rem !important;
  /* tighter padding */
  font-weight: 600 !important;
  /* semibold, not bold */
}

/* Slightly smaller logo */
#main-navbar img[alt] {
  height: 2.25rem;
  /* 36px — down from 40px (h-10) */
}

/* More transparent background for elegance */
#main-navbar,
#main-navbar.scrolled {
  background: linear-gradient(90deg,
      rgba(26, 39, 81, 0.85) 0%,
      rgba(11, 30, 69, 0.85) 100%) !important;
  border-bottom: 1px solid rgba(26, 115, 232, 0.12) !important;
}

/* On scroll, make it more solid for readability */
#main-navbar.scrolled {
  background: linear-gradient(90deg,
      rgba(26, 39, 81, 0.95) 0%,
      rgba(11, 30, 69, 0.95) 100%) !important;
}

/* English button — more refined */
#main-navbar span.text-xs {
  font-size: 0.6875rem !important;
  /* 11px */
  padding: 0.2rem 0.625rem !important;
}

/* ============================================================
   NAVBAR PREMIUM UPGRADE (Non-Destructive Visual Layer)
   - Preserves existing IDs/classes and dropdown JS behavior
   - Applies only to `.navbar-premium` wrappers
   ============================================================ */

/* FOUC placeholder now matches premium navbar shell */
#navbar-placeholder {
  background:
    radial-gradient(80% 130% at 50% -70%, rgba(201, 168, 76, 0.16) 0%, rgba(201, 168, 76, 0) 60%),
    linear-gradient(180deg, rgba(11, 30, 69, 0.96) 0%, rgba(8, 21, 47, 0.94) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 12px 28px -22px rgba(0, 0, 0, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  transition: border-color 420ms ease, box-shadow 420ms ease, backdrop-filter 420ms ease, -webkit-backdrop-filter 420ms ease;
}

/* Once navbar HTML is injected, placeholder shell should not add visual jumps */
#navbar-placeholder.nav-mounted {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#main-navbar.navbar-premium,
#main-navbar.navbar-premium.scrolled {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow:
    0 16px 34px -24px rgba(0, 0, 0, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 0 26px rgba(201, 168, 76, 0.1);
  backdrop-filter: blur(13px) saturate(130%);
  -webkit-backdrop-filter: blur(13px) saturate(130%);
  isolation: isolate;
  overflow: visible;
  transition: border-bottom-color 420ms ease, box-shadow 420ms ease, backdrop-filter 420ms ease, -webkit-backdrop-filter 420ms ease;
}

#main-navbar.navbar-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 140% at 50% -80%, rgba(201, 168, 76, 0.16) 0%, rgba(201, 168, 76, 0) 58%),
    linear-gradient(180deg, rgba(11, 30, 69, 0.97) 0%, rgba(8, 21, 47, 0.93) 100%);
  opacity: 1;
  transition: opacity 420ms ease;
}

#main-navbar.navbar-premium::after {
  content: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(230, 211, 163, 0) 0%,
      rgba(230, 211, 163, 0.72) 48%,
      rgba(230, 211, 163, 0) 100%);
}

#main-navbar.navbar-premium>.container {
  position: relative;
  z-index: 1;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
  padding-inline: clamp(0.9rem, 3.4vw, 2.8rem);
}

#main-navbar.navbar-premium>.container>div {
  min-height: 58px;
}

/* Logo area: stronger premium presentation without changing link behavior */
#main-navbar.navbar-premium .nav-logo-slot {
  position: relative;
  z-index: 3;
}

#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center {
  position: relative;
  z-index: 2;
}

#main-navbar.navbar-premium .nav-logo-slot>.nav-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(230, 211, 163, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow:
    0 8px 20px -16px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

#main-navbar.navbar-premium .nav-logo-slot>.nav-logo-link:hover {
  transform: translateY(-1px);
  border-color: rgba(230, 211, 163, 0.34);
  box-shadow:
    0 12px 24px -18px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(201, 168, 76, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#main-navbar.navbar-premium .nav-logo-slot img {
  height: 2.4rem;
  width: auto;
  filter: drop-shadow(0 1px 6px rgba(255, 255, 255, 0.08)) saturate(0.95);
}

/* Language switcher: refined champagne pill */
#main-navbar.navbar-premium .nav-lang-slot {
  position: relative;
  z-index: 3;
}

#main-navbar.navbar-premium .nav-lang-slot>.nav-lang-btn {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  line-height: 1.1;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  color: #08152f !important;
  padding: 0.44rem 1rem !important;
  border-radius: 999px;
  border: 1px solid rgba(230, 211, 163, 0.48);
  background: linear-gradient(180deg, #eadbb1 0%, #d4b86a 100%);
  box-shadow:
    0 8px 18px -16px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(201, 168, 76, 0.2);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

#main-navbar.navbar-premium .nav-lang-slot>.nav-lang-btn:hover,
#main-navbar.navbar-premium .nav-lang-slot>.nav-lang-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(230, 211, 163, 0.7);
  box-shadow:
    0 10px 20px -16px rgba(0, 0, 0, 0.78),
    0 0 20px rgba(201, 168, 76, 0.3);
  filter: brightness(1.03);
  outline: none;
}

#main-navbar.navbar-premium .nav-lang-slot>.nav-lang-btn:active {
  transform: translateY(0);
  filter: brightness(0.99);
}

/* Desktop nav rhythm + typography */
#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center {
  gap: clamp(0.15rem, 0.8vw, 0.7rem);
  margin-inline: clamp(0.8rem, 2.6vw, 2.8rem);
}

#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>a,
#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>div>button {
  font-size: 1.03rem !important;
  font-weight: 700 !important;
  line-height: 1.25;
  color: rgba(244, 247, 255, 0.88) !important;
  padding: 0.58rem 0.92rem !important;
  border-radius: 999px;
  position: relative;
  transition: color 240ms ease, background-color 240ms ease, text-shadow 240ms ease;
}

#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>a::after,
#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>div>button::after {
  height: 2px !important;
  width: calc(100% - 1.72rem) !important;
  right: 0.86rem !important;
  left: auto !important;
  bottom: 0.22rem !important;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(230, 211, 163, 0) 0%,
      rgba(230, 211, 163, 0.95) 42%,
      rgba(201, 168, 76, 0.86) 65%,
      rgba(230, 211, 163, 0) 100%) !important;
  transform: scaleX(0);
  transform-origin: right center;
  opacity: 0.2;
  transition: transform 260ms ease, opacity 260ms ease;
}

#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>a:hover,
#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>div>button:hover {
  color: #ffffff !important;
  background: rgba(230, 211, 163, 0.08);
  text-shadow: 0 0 16px rgba(201, 168, 76, 0.22);
}

#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>a:hover::after,
#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>div>button:hover::after,
#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>.is-active-nav::after {
  transform: scaleX(1);
  opacity: 1;
}

#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>.is-active-nav {
  color: #ffffff !important;
  background: rgba(230, 211, 163, 0.11);
  text-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
}

#main-navbar.navbar-premium .hidden.md\:flex.items-center.justify-center>div>button[aria-expanded="true"] {
  color: #ffffff !important;
  background: rgba(230, 211, 163, 0.1);
}

/* Hamburger button refinement (mobile) */
#main-navbar.navbar-premium #navbar-toggle {
  color: #f8fbff;
  padding: 0.42rem;
  border-radius: 10px;
  border: 1px solid rgba(230, 211, 163, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 8px 18px -16px rgba(0, 0, 0, 0.85);
}

#main-navbar.navbar-premium #navbar-toggle:hover {
  color: #ffffff;
  border-color: rgba(230, 211, 163, 0.36);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.15);
}

/* Mega dropdown visual polish (logic untouched) */
#main-navbar.navbar-premium #services-mega-menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.965) 0%, rgba(246, 250, 255, 0.94) 100%);
  border-top: 1px solid rgba(230, 211, 163, 0.34) !important;
  border-bottom: 1px solid rgba(11, 30, 69, 0.1);
  border-radius: 0 0 20px 20px;
  box-shadow:
    0 32px 52px -34px rgba(0, 0, 0, 0.62),
    0 14px 28px -24px rgba(201, 168, 76, 0.34);
  backdrop-filter: blur(10px) saturate(126%);
  -webkit-backdrop-filter: blur(10px) saturate(126%);
}

#main-navbar.navbar-premium #services-mega-menu .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#main-navbar.navbar-premium #services-mega-menu h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: #0b1e45;
}

#main-navbar.navbar-premium #services-mega-menu .dropdown-container>button,
#main-navbar.navbar-premium #services-mega-menu .dropdown-container>a {
  border-radius: 10px;
  padding-inline: 0.35rem;
}

#main-navbar.navbar-premium #services-mega-menu .dropdown-content a {
  border-radius: 10px;
}

#main-navbar.navbar-premium #services-mega-menu .dropdown-content a:hover {
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.1) 0%, rgba(255, 255, 255, 0.84) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.22);
}

/* Mobile menu shell */
#main-navbar.navbar-premium #mobile-menu {
  margin-top: 0.28rem;
  border-top: 1px solid rgba(230, 211, 163, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(11, 30, 69, 0.88) 0%, rgba(8, 21, 47, 0.92) 100%);
  box-shadow: 0 18px 32px -24px rgba(0, 0, 0, 0.8);
}

#main-navbar.navbar-premium #mobile-menu>a,
#main-navbar.navbar-premium #mobile-menu button {
  border-radius: 10px;
}

#main-navbar.navbar-premium #mobile-menu>a:hover,
#main-navbar.navbar-premium #mobile-menu button:hover {
  background: rgba(230, 211, 163, 0.08);
}

#main-navbar.navbar-premium #mobile-menu .is-active-mobile-nav {
  background: rgba(201, 168, 76, 0.16) !important;
  color: #ffffff !important;
}

/* Mobile/Tablet safety */
@media (max-width: 767px) {
  #main-navbar.navbar-premium {
    width: 100%;
    max-width: 100vw;
  }

  #main-navbar.navbar-premium>.container {
    width: 100%;
    max-width: 100%;
    padding-inline: max(0.72rem, env(safe-area-inset-left)) max(0.72rem, env(safe-area-inset-right));
    padding-top: 0.46rem;
    padding-bottom: 0.46rem;
  }

  #main-navbar.navbar-premium>.container>div {
    min-height: 50px;
    gap: 0.45rem;
  }

  #main-navbar.navbar-premium .nav-logo-slot>.nav-logo-link {
    padding: 0.26rem 0.44rem;
    border-radius: 12px;
  }

  #main-navbar.navbar-premium .nav-logo-slot img {
    height: 2rem;
  }

  #main-navbar.navbar-premium .nav-lang-slot>.nav-lang-btn {
    min-height: 2.15rem;
    font-size: 0.74rem !important;
    padding: 0.35rem 0.72rem !important;
  }

  #main-navbar.navbar-premium #navbar-toggle {
    min-width: 2.35rem;
    min-height: 2.35rem;
    display: inline-grid;
    place-items: center;
    padding: 0.38rem;
  }

  /* Phone-only readability for mobile dropdown menu.
     Single source of truth. Compiled tailwind.css does not generate the
     `text-white/70|80|90` opacity utilities used in the markup, so all link
     colors are forced here with `!important` and pure white values. */
  #main-navbar.navbar-premium #mobile-menu {
    max-height: calc(100svh - 4.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, rgba(8, 21, 47, 0.96) 0%, rgba(7, 19, 42, 0.98) 100%);
  }

  #main-navbar.navbar-premium #mobile-menu a,
  #main-navbar.navbar-premium #mobile-menu button {
    min-height: 2.8rem;
    color: #ffffff !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 600;
    text-align: right;
  }

  #main-navbar.navbar-premium #mobile-menu div[x-show] a,
  #main-navbar.navbar-premium #mobile-menu div[x-show] button {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
  }

  #main-navbar.navbar-premium #mobile-menu div[x-show] div[x-show] a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
  }

  #main-navbar.navbar-premium #mobile-menu a:hover,
  #main-navbar.navbar-premium #mobile-menu a:focus-visible,
  #main-navbar.navbar-premium #mobile-menu button:hover,
  #main-navbar.navbar-premium #mobile-menu button:focus-visible {
    background: rgba(230, 211, 163, 0.16);
    color: #ffffff !important;
    outline: none;
  }
}

/* Hero mode: transparent navbar shell while hero is in view (home only) */
#navbar-placeholder.hero-nav-transparent {
  background: transparent !important;
  border-bottom-color: transparent;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#main-navbar.navbar-premium.hero-nav-transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#main-navbar.navbar-premium.hero-nav-transparent::before {
  opacity: 0;
}

#main-navbar.navbar-premium.hero-nav-transparent::after {
  opacity: 0.8;
}

/* Mobile scrolled navbar contrast guard.
   Scoped away from hero-nav-transparent so the first-screen glass state stays intact. */
@media (max-width: 767px) {
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) {
    color: #ffffff;
    border-bottom-color: rgba(230, 211, 163, 0.18) !important;
    box-shadow:
      0 18px 34px -24px rgba(0, 0, 0, 0.9),
      inset 0 -1px 0 rgba(255, 255, 255, 0.06),
      0 0 24px rgba(201, 168, 76, 0.12) !important;
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent)::before {
    opacity: 1;
    background:
      radial-gradient(80% 150% at 50% -90%, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0) 58%),
      linear-gradient(180deg, rgba(8, 21, 47, 0.985) 0%, rgba(7, 19, 42, 0.965) 100%);
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #navbar-toggle {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.055) 100%);
    border-color: rgba(230, 211, 163, 0.42);
    box-shadow: 0 0 18px rgba(201, 168, 76, 0.16);
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #navbar-toggle svg,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #navbar-toggle path {
    color: #ffffff !important;
    fill: currentColor !important;
    opacity: 1 !important;
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) .nav-lang-slot>.nav-lang-btn {
    color: #07142b !important;
    background: linear-gradient(180deg, #fff3c7 0%, #d9bd72 100%) !important;
    border-color: rgba(255, 243, 199, 0.78);
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(8, 21, 47, 0.99) 0%, rgba(5, 15, 34, 0.995) 100%);
    border-top-color: rgba(230, 211, 163, 0.22);
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu a,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu button,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu svg,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu path {
    color: #ffffff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu a:focus-visible,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu button:focus-visible,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu a:hover,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu button:hover {
    color: #ffffff !important;
    background: rgba(230, 211, 163, 0.14);
    outline: none;
  }
}

/* === DROPDOWN UNIFICATION ===
   Services mega dropdown must render identically on every desktop page
   (>=1024px) regardless of the `hero-nav-transparent` / `scrolled` navbar
   state. Historically the .scrolled:not(.hero-nav-transparent) combo flipped
   the dropdown to a dark navy theme on non-home pages, creating two visual
   variants. Those overrides have been removed so the single white/light theme
   defined above (lines ~6069-6106) is the sole source of truth.
   Mobile menu (<1024px) rules intentionally untouched. */
@media (min-width: 1024px) {

  /* Explicit white-theme lock for the mega panel on every desktop page.
     Duplicates the values of the original light block but with an extra class
     (.navbar-premium) + min-width guard so any future dark override introduced
     elsewhere doesn't regress the behaviour silently. */
  #main-navbar.navbar-premium #services-mega-menu,
  #main-navbar.navbar-premium.scrolled #services-mega-menu,
  #main-navbar.navbar-premium.hero-nav-transparent #services-mega-menu {
    color: #0b1e45;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.965) 0%, rgba(246, 250, 255, 0.94) 100%) !important;
    border-top: 1px solid rgba(230, 211, 163, 0.34) !important;
    border-bottom: 1px solid rgba(11, 30, 69, 0.1) !important;
    box-shadow:
      0 32px 52px -34px rgba(0, 0, 0, 0.62),
      0 14px 28px -24px rgba(201, 168, 76, 0.34) !important;
    backdrop-filter: blur(10px) saturate(126%);
    -webkit-backdrop-filter: blur(10px) saturate(126%);
  }
}


@media (max-width: 767px) {

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu [x-show] {
    color: #ffffff;
    opacity: 1 !important;
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu a,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu button,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu span {
    color: #ffffff !important;
    opacity: 1 !important;
    text-align: right;
  }

  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu svg,
  #main-navbar.navbar-premium.scrolled:not(.hero-nav-transparent) #mobile-menu path {
    color: #e6d3a3 !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   ABOUT PAGE PREMIUM REDESIGN
   Scoped to `.rh-about-*` so the homepage, navbar, footer, modals,
   and gallery filters remain isolated.
   ============================================================ */
.rh-about-page {
  margin: 0;
  background: #f7f3ea;
  color: #17243c;
}

.rh-about-page main {
  overflow: hidden;
}

.rh-about-kicker {
  margin: 0 0 0.65rem;
  color: #b89445;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.rh-about-hero {
  position: relative;
  min-height: auto;
  padding: 4.8rem 1.25rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 22%, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0) 24%),
    radial-gradient(circle at 84% 72%, rgba(43, 88, 150, 0.24) 0%, rgba(43, 88, 150, 0) 28%),
    linear-gradient(180deg, rgba(8, 20, 47, 0.95) 0%, rgba(9, 26, 59, 0.98) 58%, rgba(7, 17, 36, 1) 100%),
    linear-gradient(90deg, #08152f 0%, #0b1e45 100%);
  color: #f7f3ea;
}

.rh-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.52;
  background-image:
    linear-gradient(to right, rgba(212, 168, 83, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 168, 83, 0.09) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 180px 180px, 180px 180px, 36px 36px, 36px 36px;
  animation: rhGridPulse 8s ease-in-out infinite;
  will-change: opacity;
}

.rh-about-hero::after {
  content: "";
  position: absolute;
  inset: -20% -20%;
  z-index: -2;
  opacity: 0.76;
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 168, 76, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(43, 88, 150, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, transparent 58%, rgba(247, 243, 234, 0.055) 100%);
  background-size: 140% 140%;
  pointer-events: none;
  animation: rhAmbientDrift 20s ease-in-out infinite;
  will-change: background-position;
}

.rh-about-hero__grid {
  position: absolute;
  inset: 4.5rem 1.5rem 1.5rem;
  z-index: -1;
  border: 1px solid rgba(212, 168, 83, 0.14);
  pointer-events: none;
}

.rh-about-hero__grid::before,
.rh-about-hero__grid::after {
  content: "";
  position: absolute;
  background: rgba(212, 168, 83, 0.24);
}

.rh-about-hero__grid::before {
  top: 18%;
  right: 0;
  width: 100%;
  height: 1px;
}

.rh-about-hero__grid::after {
  top: 0;
  right: 36%;
  width: 1px;
  height: 100%;
}

.rh-about-hero__seal {
  position: absolute;
  left: 4rem;
  bottom: 3rem;
  width: 15rem;
  opacity: 0.055;
  pointer-events: none;
}

.rh-about-hero__seal img {
  width: 100%;
  height: auto;
}

.rh-about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.68fr);
  gap: 3.6rem;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.rh-about-hero__copy h1 {
  max-width: 16ch;
  margin: 0;
  color: #f7f3ea;
  font-size: 3.65rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.rh-about-hero__copy {
  position: relative;
}

.rh-about-hero__copy p:not(.rh-about-kicker) {
  max-width: 62ch;
  margin: 0.7rem 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: 1rem;
  line-height: 1.82;
}

.rh-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.rh-about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.78rem 1.45rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.rh-about-link:hover,
.rh-about-link:focus-visible {
  transform: translateY(-2px);
}

.rh-about-link:focus-visible {
  outline: 2px solid #e6d3a3;
  outline-offset: 3px;
}

.rh-about-link--gold {
  background: linear-gradient(135deg, #e6c978 0%, #c9a84c 100%);
  color: #08152f;
  box-shadow: 0 18px 38px -22px rgba(201, 168, 76, 0.9);
}

.rh-about-link--ghost {
  border: 1px solid rgba(230, 211, 163, 0.42);
  color: #ead9ad;
  background: rgba(255, 255, 255, 0.035);
}

.rh-about-link--ghost:hover,
.rh-about-link--ghost:focus-visible {
  background: rgba(230, 211, 163, 0.1);
  border-color: rgba(230, 211, 163, 0.72);
}

.rh-about-hero__portrait {
  position: relative;
  margin: 0;
  min-height: 30rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 168, 83, 0.32);
  background-color: #0b1e45;
  box-shadow:
    0 0 0 1px rgba(212, 168, 83, 0.08),
    0 34px 80px -46px rgba(0, 0, 0, 0.86),
    0 0 60px -20px rgba(212, 168, 83, 0.12);
}

.rh-about-hero__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 36%, rgba(7, 17, 36, 0.28) 64%, rgba(7, 17, 36, 0.88) 100%);
  pointer-events: none;
}

.rh-about-hero__portrait img {
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
  object-position: center 15%;
  filter: saturate(0.9) contrast(1.04);
}

.rh-about-hero__portrait figcaption {
  position: absolute;
  right: 2rem;
  left: 2rem;
  bottom: 1.6rem;
  z-index: 3;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 168, 83, 0.4);
}

.rh-about-hero__portrait strong {
  color: #e6c978;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1.1rem;
}

.rh-about-hero__portrait span {
  color: rgba(247, 243, 234, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 400;
}

.rh-about-origin {
  padding: 5rem 1.25rem;
  background: #f7f3ea;
}

.rh-about-origin__inner,
.rh-about-founder__inner,
.rh-about-credentials__inner,
.rh-about-cta__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.rh-about-origin__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.rh-about-section-head h2,
.rh-about-credentials h2,
.rh-about-principles h2 {
  margin: 0;
  color: #0b1e45;
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

.rh-about-origin__copy {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: start;
}

.rh-about-origin__copy p {
  margin: 0;
  color: #38455d;
  font-size: 1rem;
  line-height: 1.88;
}

.rh-about-founder {
  position: relative;
  padding: 5rem 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 21, 47, 0.98), rgba(7, 17, 36, 1)),
    #08152f;
  color: #f7f3ea;
}

.rh-about-founder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(to right, rgba(212, 168, 83, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 168, 83, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.rh-about-founder__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 4rem;
  align-items: stretch;
}

.rh-about-founder__media {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-content: stretch;
}

.rh-about-founder__content {
  display: flex;
  min-height: 100%;
}

.rh-about-founder__media-heading h2 {
  margin: 0;
  color: #f7f3ea;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.rh-about-founder__media-heading h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, #e6c978, #c9a84c);
  border-radius: 2px;
}

.rh-about-founder__image-frame {
  min-height: 27rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(230, 211, 163, 0.24);
  background-color: #0b1e45;
}

.rh-about-founder__image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 27rem;
  object-fit: cover;
  object-position: center 16%;
}

.rh-about-founder__media-heading h2,
.rh-about-principles h2,
.rh-about-section-head--dark h2 {
  color: #f7f3ea;
}

.rh-about-founder__lead {
  margin: 1rem 0 1.45rem;
  max-width: 68ch;
  color: rgba(247, 243, 234, 0.78);
  font-size: 1rem;
  line-height: 1.82;
}

.rh-about-authority {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.9rem;
  flex: 1;
}

.rh-about-authority article,
.rh-about-timeline__rail article,
.rh-about-principles__grid article {
  border-radius: 8px;
  border: 1px solid rgba(230, 211, 163, 0.18);
}

.rh-about-authority article {
  min-height: 11.8rem;
  padding: 1.05rem;
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rh-about-authority span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: #c9a84c;
  font-weight: 900;
}

.rh-about-authority h3,
.rh-about-principles__grid h3 {
  margin: 0 0 0.65rem;
  color: #f7f3ea;
  font-size: 1.12rem;
  font-weight: 900;
}

.rh-about-authority p,
.rh-about-principles__grid p {
  margin: 0;
  color: rgba(247, 243, 234, 0.68);
  line-height: 1.72;
}

.rh-about-timeline {
  padding: 5rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.96), rgba(239, 235, 225, 0.98)),
    #f3efe5;
}

.rh-about-section-head {
  max-width: 1180px;
  margin: 0 auto clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
}

.rh-about-section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, #e6c978, #c9a84c);
  border-radius: 2px;
}

.rh-about-section-head--dark h2::after {
  background: linear-gradient(90deg, #e6c978, #d4a853);
  opacity: 0.85;
}

.rh-about-section-head h2 {
  max-width: none;
}

.rh-about-nowrap {
  white-space: nowrap;
}

.rh-about-timeline__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.rh-about-timeline__rail::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(184, 148, 69, 0.38);
}

.rh-about-timeline__rail article {
  position: relative;
  min-height: 11.8rem;
  padding: 2.05rem 1.05rem 1.05rem;
  background: rgba(255, 252, 244, 0.72);
  border: 1px solid rgba(11, 30, 69, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 54px -44px rgba(11, 30, 69, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rh-about-timeline__rail article:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px -40px rgba(11, 30, 69, 0.65);
}

.rh-about-timeline__rail article::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 1.25rem;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: #c9a84c;
  box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.13);
}

.rh-about-timeline time {
  display: block;
  margin-bottom: 0.55rem;
  color: #8d7136;
  font-weight: 900;
}

.rh-about-timeline h3 {
  margin: 0 0 0.65rem;
  color: #0b1e45;
  font-size: 1.14rem;
  font-weight: 900;
}

.rh-about-timeline p {
  margin: 0;
  color: #586376;
  line-height: 1.72;
}

.rh-about-expertise {
  padding: 5rem 1.25rem;
  background: #f7f3ea;
}

.rh-about-expertise__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.rh-about-section-head--light {
  margin-inline: auto;
}

.rh-about-expertise__matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(11, 30, 69, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 252, 244, 0.62);
}

.rh-about-expertise__matrix span {
  display: flex;
  align-items: center;
  min-height: 5.9rem;
  padding: 1.05rem;
  color: #0b1e45;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.55;
  border-left: 1px solid rgba(11, 30, 69, 0.09);
  border-bottom: 1px solid rgba(11, 30, 69, 0.09);
}

.rh-about-expertise__matrix span:nth-child(4n) {
  border-left: none;
}

.rh-about-expertise__matrix span:nth-last-child(-n + 4) {
  border-bottom: none;
}

.rh-about-expertise__matrix span:nth-child(3n) {
  background: rgba(201, 168, 76, 0.08);
}

.rh-about-expertise__matrix span:hover {
  background: rgba(201, 168, 76, 0.14);
  transition: background 0.25s ease;
}

.rh-about-credentials {
  padding: 5rem 1.25rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45, #07142b);
  background-size: 54px 54px, 54px 54px, auto;
  color: #f7f3ea;
}

.rh-about-credentials__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.rh-about-credentials__body {
  display: grid;
  gap: 1.1rem;
}

.rh-about-credentials__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.rh-about-credentials__metrics div {
  min-height: 6.35rem;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(230, 211, 163, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.rh-about-credentials__metrics strong {
  color: #c9a84c;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.rh-about-credentials__metrics span {
  color: rgba(247, 243, 234, 0.74);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.rh-about-credentials__list {
  display: grid;
  gap: 0.8rem;
  max-width: 640px;
  margin: 0 auto;
}

.rh-about-credentials__list article {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(230, 211, 163, 0.18);
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.rh-about-credentials__list article:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(230, 211, 163, 0.32);
}

.rh-about-credentials__list strong {
  color: #c9a84c;
  font-size: 1.25rem;
  font-weight: 900;
}

.rh-about-credentials__list span {
  color: rgba(247, 243, 234, 0.78);
  line-height: 1.7;
}

.rh-about-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  padding-top: 1.2rem;
}

.rh-about-tools span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 211, 163, 0.24);
  color: #e6d3a3;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.rh-about-tools span:hover {
  background: rgba(230, 211, 163, 0.12);
  border-color: rgba(230, 211, 163, 0.4);
}

.rh-about-principles {
  position: relative;
  padding: 5rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(7, 17, 36, 0.98), rgba(8, 21, 47, 1)),
    #071124;
  color: #f7f3ea;
}

.rh-about-principles__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.rh-about-principles__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.rh-about-principles__grid article {
  flex: 0 1 auto;
  max-width: 280px;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(230, 211, 163, 0.1);
  border-radius: 10px;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.rh-about-principles__grid article:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(230, 211, 163, 0.22);
}

.rh-about-cta {
  padding: 3rem 1.25rem;
  background: #f7f3ea;
}

.rh-about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 168, 83, 0.25);
  background: linear-gradient(135deg, #fbf8ef, #f7f0da);
  box-shadow: 0 8px 32px -12px rgba(11, 30, 69, 0.1);
}

.rh-about-cta p {
  margin: 0;
  color: #0b1e45;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 1081px) {

  .rh-about-origin,
  .rh-about-founder,
  .rh-about-timeline,
  .rh-about-expertise,
  .rh-about-credentials,
  .rh-about-principles {
    min-height: calc(100vh - 7.35rem);
    min-height: calc(100svh - 7.35rem);
  }

  .rh-about-hero,
  .rh-about-origin,
  .rh-about-founder,
  .rh-about-expertise,
  .rh-about-credentials,
  .rh-about-principles {
    display: flex;
    align-items: center;
  }

  .rh-about-hero {
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100svh;
    align-items: stretch;
    box-sizing: border-box;
    padding: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.25rem;
  }

  .rh-about-origin,
  .rh-about-founder,
  .rh-about-timeline,
  .rh-about-expertise,
  .rh-about-credentials,
  .rh-about-principles {
    padding-block: 3.4rem;
  }

  .rh-about-credentials {
    box-sizing: border-box;
    padding-block: 1.55rem;
  }

  .rh-about-credentials .rh-about-section-head {
    width: 35.5%;
    max-width: none;
    margin: 0;
    padding: 1.9rem clamp(1.35rem, 2.15vw, 2.45rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-left: 1px solid rgba(230, 211, 163, 0.18);
    text-align: start;
  }

  .rh-about-credentials .rh-about-section-head .rh-about-kicker {
    margin-bottom: 0.5rem;
  }

  .rh-about-credentials .rh-about-section-head h2 {
    max-width: 12.5ch;
    font-size: 2.72rem;
    line-height: 1.12;
  }

  .rh-about-credentials .rh-about-section-head h2::after {
    margin: 0.7rem 0 0;
  }

  .rh-about-credentials__inner {
    display: flex;
    align-content: center;
    align-items: stretch;
    max-width: 1500px;
    min-height: min(32rem, calc(100svh - 10.45rem));
    overflow: hidden;
    border: 1px solid rgba(230, 211, 163, 0.16);
    border-radius: 8px;
    background:
      linear-gradient(rgba(230, 211, 163, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(230, 211, 163, 0.04) 1px, transparent 1px),
      linear-gradient(180deg, rgba(11, 30, 69, 0.72), rgba(7, 20, 43, 0.82));
    background-size: 72px 72px, 72px 72px, auto;
  }

  .rh-about-credentials__body {
    flex: 1;
    display: grid;
    align-content: center;
    gap: 0.85rem;
    padding: 1.9rem clamp(1.35rem, 2.15vw, 2.45rem);
  }

  .rh-about-credentials__metrics {
    margin-top: 1.4rem;
  }

  .rh-about-credentials__list {
    max-width: none;
    margin: 0;
    gap: 0.65rem;
  }

  .rh-about-credentials__list article {
    min-height: 5.15rem;
    padding: 0.78rem 1.1rem;
  }

  .rh-about-credentials__list span {
    line-height: 1.55;
  }

  .rh-about-tools {
    gap: 0.55rem;
    justify-content: flex-start;
    padding-top: 0.9rem;
  }

  .rh-about-tools span {
    padding: 0.46rem 0.78rem;
  }

  .rh-about-timeline {
    display: grid;
    align-content: center;
  }

  .rh-about-hero__inner,
  .rh-about-origin__inner,
  .rh-about-founder__inner,
  .rh-about-expertise__inner,
  .rh-about-credentials__inner,
  .rh-about-principles__inner {
    width: 100%;
  }

  .rh-about-hero__inner {
    grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
    align-items: stretch;
    gap: 3rem;
    max-width: 1800px;
    height: 100%;
    min-height: 0;
  }

  .rh-about-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding-block: 0.25rem;
  }

  .rh-about-hero__copy .rh-about-kicker {
    font-size: 1.18rem;
  }

  .rh-about-hero__copy h1 {
    max-width: 21ch;
    font-size: 3.38rem;
    line-height: 1.08;
  }

  .rh-about-hero__copy p:not(.rh-about-kicker) {
    max-width: 70ch;
    margin-top: 1rem;
    font-size: 1.08rem;
    line-height: 1.72;
  }

  .rh-about-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem;
    width: 100%;
    max-width: 38rem;
    margin-top: 1.25rem;
  }

  .rh-about-link {
    min-height: 2.72rem;
    padding: 0.65rem 1.25rem;
  }

  .rh-about-hero__actions .rh-about-link {
    min-height: 3.45rem;
    padding: 0.82rem 1.55rem;
    font-size: 1.1rem;
  }

  .rh-about-hero__portrait {
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }

  .rh-about-hero__portrait img {
    height: 100%;
    min-height: 0;
  }

  .rh-about-founder__image-frame {
    height: min(26rem, calc(100svh - 17rem));
    min-height: 0;
  }

  .rh-about-founder__image-frame img {
    height: 100%;
    min-height: 0;
  }

  .rh-about-founder__media-heading h2 {
    max-width: none;
    font-size: 2.05rem;
  }

  .rh-about-authority article {
    min-height: 9.8rem;
    padding: 0.95rem;
  }

  .rh-about-authority span {
    margin-bottom: 0.55rem;
  }

  .rh-about-authority h3 {
    margin-bottom: 0.45rem;
    font-size: 1.03rem;
  }

  .rh-about-authority p {
    font-size: 0.94rem;
    line-height: 1.62;
  }
}

@media (min-width: 1280px) {
  .rh-about-founder__inner {
    max-width: 1500px;
    grid-template-columns: minmax(320px, 0.66fr) minmax(0, 1.34fr);
    gap: 3.4rem;
  }

  .rh-about-founder__media-heading h2 {
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: 1.72rem;
  }
}

@media (max-width: 1080px) {

  .rh-about-hero__inner,
  .rh-about-founder__inner {
    grid-template-columns: 1fr;
  }

  .rh-about-hero__copy h1 {
    max-width: 18ch;
    font-size: 3.05rem;
  }

  .rh-about-hero__portrait,
  .rh-about-hero__portrait img,
  .rh-about-founder__image-frame,
  .rh-about-founder__image-frame img {
    min-height: 27rem;
  }

  .rh-about-timeline__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-about-expertise__matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-about-expertise__matrix span:nth-child(4n),
  .rh-about-expertise__matrix span:nth-last-child(-n + 4) {
    border-left: 1px solid rgba(11, 30, 69, 0.09);
    border-bottom: 1px solid rgba(11, 30, 69, 0.09);
  }

  .rh-about-expertise__matrix span:nth-child(2n) {
    border-left: none;
  }

  .rh-about-expertise__matrix span:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 680px) {
  .rh-about-hero {
    min-height: auto;
    padding: 6.8rem 1rem 3.5rem;
  }

  .rh-about-hero__grid {
    inset: 4.2rem 0.75rem 0.75rem;
  }

  .rh-about-hero__seal {
    display: none;
  }

  .rh-about-hero__inner,
  .rh-about-founder__inner {
    gap: 2rem;
  }

  .rh-about-hero__copy h1,
  .rh-about-section-head h2,
  .rh-about-founder__media-heading h2,
  .rh-about-credentials h2,
  .rh-about-principles h2 {
    font-size: 2.25rem;
    line-height: 1.28;
  }

  .rh-about-hero__copy p:not(.rh-about-kicker),
  .rh-about-founder__lead,
  .rh-about-origin__copy p {
    font-size: 1rem;
  }

  .rh-about-hero__actions,
  .rh-about-cta__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .rh-about-link {
    width: 100%;
  }

  .rh-about-hero__portrait,
  .rh-about-hero__portrait img,
  .rh-about-founder__image-frame,
  .rh-about-founder__image-frame img {
    min-height: 25rem;
  }

  .rh-about-origin,
  .rh-about-founder,
  .rh-about-timeline,
  .rh-about-expertise,
  .rh-about-credentials,
  .rh-about-principles {
    padding-block: 4.2rem;
  }

  .rh-about-authority,
  .rh-about-timeline__rail,
  .rh-about-expertise__matrix {
    grid-template-columns: 1fr;
  }

  .rh-about-principles__grid {
    flex-direction: column;
    align-items: center;
  }

  .rh-about-principles__grid article {
    max-width: 100%;
    width: 100%;
  }

  .rh-about-timeline__rail::before {
    right: 1.6rem;
    left: auto;
    top: 0;
    width: 1px;
    height: 100%;
  }

  .rh-about-timeline__rail article {
    min-height: auto;
  }

  .rh-about-expertise__matrix span,
  .rh-about-expertise__matrix span:nth-child(2n),
  .rh-about-expertise__matrix span:nth-last-child(-n + 2) {
    min-height: 5.4rem;
    border-left: none;
    border-bottom: 1px solid rgba(11, 30, 69, 0.09);
  }

  .rh-about-expertise__matrix span:last-child {
    border-bottom: none;
  }

  .rh-about-credentials__list article {
    grid-template-columns: 1fr;
  }
}

/* -- About Hero: Ambient Animations -- */
@keyframes rhGridPulse {

  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.62;
  }
}

@keyframes rhAmbientDrift {
  0% {
    background-position: 20% 30%;
  }

  33% {
    background-position: 60% 50%;
  }

  66% {
    background-position: 40% 70%;
  }

  100% {
    background-position: 20% 30%;
  }
}

/* ============================================================
   PARTNERS PAGE V3 - PREMIUM TRUST REGISTER
   ============================================================ */
.rh-partners-v3-body {
  margin: 0;
  background: #07142b;
  color: #f7f3ea;
}

.rh-partners-v3 {
  overflow: hidden;
  background: #07142b;
}

.rh-partners-v3__kicker {
  margin: 0 0 0.8rem;
  color: #c9a84c;
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-v3-desk {
  --rh-partners-pointer-x: 50%;
  --rh-partners-pointer-y: 50%;
  --rh-partners-pointer-opacity: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  isolation: isolate;
  overflow: hidden;
  padding: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.5rem;
  background:
    radial-gradient(circle at var(--rh-partners-pointer-x) var(--rh-partners-pointer-y), rgba(230, 211, 163, var(--rh-partners-pointer-opacity)) 0, rgba(230, 211, 163, 0) 8.5rem),
    radial-gradient(circle at var(--rh-partners-pointer-x) var(--rh-partners-pointer-y), rgba(71, 128, 196, calc(var(--rh-partners-pointer-opacity) * 0.35)) 0, rgba(71, 128, 196, 0) 16rem),
    linear-gradient(rgba(230, 211, 163, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.044) 1px, transparent 1px),
    linear-gradient(115deg, rgba(230, 211, 163, 0.1) 0 1px, transparent 1px 40%),
    linear-gradient(180deg, #0b1e45 0%, #07142b 72%, #071124 100%);
  background-size: auto, auto, 72px 72px, 72px 72px, 100% 100%, auto;
}

.rh-partners-v3-desk::before {
  content: "";
  position: absolute;
  inset: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.5rem;
  z-index: -1;
  border: 1px solid rgba(230, 211, 163, 0.12);
  pointer-events: none;
}

.rh-partners-v3-desk::after {
  content: "";
  position: absolute;
  inset-block: 7.35rem 1.5rem;
  inset-inline-start: 50%;
  z-index: -1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 211, 163, 0.5), transparent);
  animation: rhPartnersV3Scan 5.6s ease-in-out infinite;
  pointer-events: none;
}

.rh-partners-v3-centered {
  width: min(1500px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.rh-partners-v3-centered__content {
  position: relative;
  width: min(1120px, 100%);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 2.7rem;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 252, 244, 0.064), rgba(255, 252, 244, 0.026));
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: 0 34px 84px -60px rgba(0, 0, 0, 0.94);
  animation: rhPartnersV3PanelIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.rh-partners-v3-centered__content::before {
  content: "";
  position: absolute;
  inset-inline: 1.15rem;
  top: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.62), transparent);
  pointer-events: none;
}

.rh-partners-v3-centered__content::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--rh-partners-pointer-x) var(--rh-partners-pointer-y), rgba(230, 211, 163, 0.08), transparent 9rem),
    linear-gradient(135deg, transparent 0 45%, rgba(230, 211, 163, 0.035), transparent 56% 100%);
  opacity: var(--rh-partners-pointer-opacity);
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.rh-partners-v3-desk[data-pointer-active="true"] .rh-partners-v3-centered__content {
  border-color: rgba(230, 211, 163, 0.25);
  box-shadow: 0 38px 88px -62px rgba(0, 0, 0, 0.96), 0 0 34px -30px rgba(230, 211, 163, 0.55);
}

.rh-partners-v3-centered__content h1 {
  max-width: 21ch;
  margin: 0;
  color: #fff8e8;
  font-size: 4.45rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.rh-partners-v3-centered__content>p:not(.rh-partners-v3__kicker) {
  max-width: 72ch;
  margin: 0.9rem auto 0;
  color: rgba(247, 243, 234, 0.74);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.75;
}

.rh-partners-v3-proof--centered {
  width: min(720px, 100%);
  margin-inline: auto;
}

.rh-partners-v3-scroll {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0.78rem 1.9rem;
  border-radius: 8px;
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 900;
  box-shadow: 0 20px 46px -34px rgba(230, 211, 163, 0.9);
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.rh-partners-v3-scroll:hover,
.rh-partners-v3-scroll:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.05);
  outline: none;
  box-shadow: 0 26px 56px -34px rgba(230, 211, 163, 1);
}

.rh-partners-v3-desk__inner {
  width: min(1500px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 0.94fr) minmax(0, 1.06fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.rh-partners-v3-copy,
.rh-partners-v3-atlas,
.rh-partners-v3-brief {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 252, 244, 0.064), rgba(255, 252, 244, 0.026));
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: 0 34px 84px -60px rgba(0, 0, 0, 0.94);
  animation: rhPartnersV3PanelIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rh-partners-v3-copy::before,
.rh-partners-v3-atlas::before,
.rh-partners-v3-brief::before,
.rh-partners-v3-row::before {
  content: "";
  position: absolute;
  inset-inline: 1.15rem;
  top: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.62), transparent);
  pointer-events: none;
}

.rh-partners-v3-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 3rem);
}

.rh-partners-v3-copy h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff8e8;
  font-size: 4.3rem;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.rh-partners-v3-copy>p:not(.rh-partners-v3__kicker) {
  max-width: 68ch;
  margin: 1.15rem 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: 1.08rem;
  line-height: 1.88;
}

.rh-partners-v3-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.05rem;
}

.rh-partners-v3-proof span {
  min-height: 4.7rem;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.25rem;
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  color: rgba(247, 243, 234, 0.72);
  background: rgba(255, 252, 244, 0.044);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.rh-partners-v3-proof span:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 211, 163, 0.42);
  background: rgba(255, 252, 244, 0.07);
}

.rh-partners-v3-proof strong {
  color: #e2bf5d;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.rh-partners-v3-atlas {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1.15rem;
  padding: clamp(1.35rem, 2.3vw, 2rem);
  animation-delay: 0.1s;
}

.rh-partners-v3-brief {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1.15rem;
  padding: clamp(1.35rem, 2.3vw, 2rem);
  animation-delay: 0.1s;
}

.rh-partners-v3-atlas__head,
.rh-partners-v3-brief__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(230, 211, 163, 0.16);
}

.rh-partners-v3-atlas__head span,
.rh-partners-v3-brief__head span {
  color: #e6d3a3;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.rh-partners-v3-atlas__head strong,
.rh-partners-v3-brief__head strong {
  color: rgba(230, 211, 163, 0.72);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.rh-partners-v3-brief__statement {
  display: flex;
  align-items: center;
  min-height: 0;
  border-block: 1px solid rgba(230, 211, 163, 0.16);
}

.rh-partners-v3-brief__statement p {
  max-width: 12ch;
  margin: 0;
  color: #fff8e8;
  font-size: 3.15rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.rh-partners-v3-brief__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.rh-partners-v3-brief__steps article {
  min-height: 8.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background: rgba(7, 20, 43, 0.34);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.rh-partners-v3-brief__steps article:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 211, 163, 0.42);
  background: rgba(255, 252, 244, 0.06);
}

.rh-partners-v3-brief__steps span {
  color: #c9a84c;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.rh-partners-v3-brief__steps h2 {
  margin: 0.55rem 0 0.45rem;
  color: #fff8e8;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
}

.rh-partners-v3-brief__steps p {
  margin: 0;
  color: rgba(247, 243, 234, 0.66);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.65;
}

.rh-partners-v3-atlas__groups {
  min-height: 0;
  display: grid;
  grid-template-rows: 1.25fr 1fr 0.86fr;
  gap: 0.9rem;
}

.rh-partners-v3-band {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(9.5rem, 0.32fr) minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(230, 211, 163, 0.15);
  border-radius: 8px;
  background: rgba(7, 20, 43, 0.36);
}

.rh-partners-v3-band__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding-inline: 0.25rem;
}

.rh-partners-v3-band__label span {
  color: #c9a84c;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-v3-band__label strong {
  color: #fff8e8;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-v3-mini-logos {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.rh-partners-v3-mini-logos--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-partners-v3-mini-logos--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-partners-v3-mini-logos span {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 20, 43, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf0, #ece7db);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.rh-partners-v3-mini-logos span:hover {
  transform: translateY(-3px);
  filter: saturate(1.04);
  box-shadow: 0 18px 42px -30px rgba(230, 211, 163, 0.62);
}

.rh-partners-v3-mini-logos img {
  display: block;
  max-width: 78%;
  max-height: 4.2rem;
  object-fit: contain;
}

.rh-partners-v3-text-mark {
  color: #0b1e45;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.rh-partners-v3-register {
  position: relative;
  isolation: isolate;
  padding: 5.2rem 1.5rem;
  color: #0b1e45;
  background:
    linear-gradient(rgba(11, 30, 69, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.044) 1px, transparent 1px),
    #f7f3ea;
  background-size: 64px 64px, 64px 64px, auto;
}

.rh-partners-v3-register__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.rh-partners-v3-register__head {
  max-width: 900px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.rh-partners-v3-register__head h2 {
  margin: 0;
  color: #071f47;
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.rh-partners-v3-register__head h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #e6c978, #c9a84c);
}

.rh-partners-v3-register__head p:not(.rh-partners-v3__kicker) {
  max-width: 760px;
  margin: 1rem auto 0;
  color: #42506a;
  font-size: 1.08rem;
  line-height: 1.9;
}

.rh-partners-v3-ledger {
  display: grid;
  gap: 1rem;
}

.rh-partners-v3-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(11, 30, 69, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(rgba(11, 30, 69, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.028) 1px, transparent 1px),
    rgba(255, 252, 244, 0.78);
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: 0 28px 74px -62px rgba(11, 30, 69, 0.8);
}

.rh-partners-v3-row__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 10.2rem;
  padding: 1rem;
  border: 1px solid rgba(11, 30, 69, 0.09);
  border-radius: 8px;
  background: rgba(11, 30, 69, 0.045);
}

.rh-partners-v3-row__title span {
  color: #c49c39;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.rh-partners-v3-row__title h3 {
  margin: 0.85rem 0 0;
  color: #071f47;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.34;
}

.rh-partners-v3-row__logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.rh-partners-v3-row__logos--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-partners-v3-row__logos--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-partners-v3-row figure {
  min-height: 10.2rem;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(11, 30, 69, 0.09);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf0, #eee8dc);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.rh-partners-v3-row figure:hover,
.rh-partners-v3-row figure:focus-within {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.42);
  box-shadow: 0 24px 60px -48px rgba(11, 30, 69, 0.92);
}

.rh-partners-v3-row img {
  display: block;
  max-width: 92%;
  max-height: 4.9rem;
  object-fit: contain;
}

.rh-partners-v3-row figcaption {
  color: #22304b;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.rh-partners-v3-row__text-logo strong {
  display: flex;
  min-height: 4.9rem;
  align-items: center;
  justify-content: center;
  color: #071f47;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

@keyframes rhPartnersV3PanelIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rhPartnersV3Scan {

  0%,
  100% {
    opacity: 0.24;
    transform: translateY(-4%);
  }

  50% {
    opacity: 0.9;
    transform: translateY(4%);
  }
}

@media (prefers-reduced-motion: reduce) {

  .rh-partners-v3-desk::after,
  .rh-partners-v3-centered__content,
  .rh-partners-v3-copy,
  .rh-partners-v3-atlas,
  .rh-partners-v3-brief {
    animation: none;
  }

  .rh-partners-v3-proof span,
  .rh-partners-v3-brief__steps article,
  .rh-partners-v3-mini-logos span,
  .rh-partners-v3-row figure {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .rh-partners-v3-desk {
    min-height: auto;
    height: auto;
    padding: 7rem 1.1rem 3rem;
  }

  .rh-partners-v3-desk::before,
  .rh-partners-v3-desk::after {
    display: none;
  }

  .rh-partners-v3-desk__inner {
    height: auto;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .rh-partners-v3-centered {
    height: auto;
  }

  .rh-partners-v3-centered__content {
    min-height: auto;
  }

  .rh-partners-v3-centered__content h1 {
    font-size: 4.2rem;
  }

  .rh-partners-v3-copy,
  .rh-partners-v3-atlas,
  .rh-partners-v3-brief {
    height: auto;
    min-height: auto;
  }

  .rh-partners-v3-atlas__groups,
  .rh-partners-v3-brief {
    grid-template-rows: none;
  }

  .rh-partners-v3-brief__statement p {
    max-width: none;
    font-size: 2.7rem;
  }

  .rh-partners-v3-brief__steps {
    grid-template-columns: 1fr;
  }

  .rh-partners-v3-row {
    grid-template-columns: 1fr;
  }

  .rh-partners-v3-row__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-partners-v3-row__logos--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rh-partners-v3-desk {
    padding-inline: 0.9rem;
  }

  .rh-partners-v3-copy,
  .rh-partners-v3-atlas,
  .rh-partners-v3-brief {
    padding: 1.1rem;
  }

  .rh-partners-v3-copy h1,
  .rh-partners-v3-centered__content h1,
  .rh-partners-v3-register__head h2 {
    font-size: 2.6rem;
  }

  .rh-partners-v3-copy>p:not(.rh-partners-v3__kicker),
  .rh-partners-v3-centered__content>p:not(.rh-partners-v3__kicker),
  .rh-partners-v3-register__head p:not(.rh-partners-v3__kicker) {
    font-size: 1rem;
  }

  .rh-partners-v3-proof,
  .rh-partners-v3-brief__steps,
  .rh-partners-v3-band,
  .rh-partners-v3-mini-logos,
  .rh-partners-v3-row__logos,
  .rh-partners-v3-row__logos--three,
  .rh-partners-v3-row__logos--two {
    grid-template-columns: 1fr;
  }

  .rh-partners-v3-mini-logos span {
    min-height: 7.2rem;
  }

  .rh-partners-v3-register {
    padding: 3.5rem 0.9rem;
  }

  .rh-partners-v3-row {
    padding: 0.8rem;
  }

  .rh-partners-v3-row__title,
  .rh-partners-v3-row figure {
    min-height: 8.4rem;
  }
}

/* ============================================================
   PROJECT DETAILS PAGE - PREMIUM CASE STUDY
   ============================================================ */
.rh-project-detail-body {
  margin: 0;
  color: #f7f3ea;
  background: #07142b;
}

.rh-project-detail {
  overflow: hidden;
  background: #07142b;
}

.rh-project-detail__kicker {
  margin: 0 0 0.8rem;
  color: #c9a84c;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-project-detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.45rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.045) 1px, transparent 1px),
    linear-gradient(115deg, rgba(230, 211, 163, 0.1) 0 1px, transparent 1px 40%),
    linear-gradient(180deg, #0b1e45 0%, #07142b 72%, #071124 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%, auto;
}

.rh-project-detail-hero::before {
  content: "";
  position: absolute;
  inset: 7.35rem clamp(1.25rem, 2.4vw, 2.5rem) 1.45rem;
  z-index: -1;
  border: 1px solid rgba(230, 211, 163, 0.13);
  pointer-events: none;
}

.rh-project-detail-hero::after {
  content: "";
  position: absolute;
  inset-block: 7.35rem 1.45rem;
  inset-inline-start: 50%;
  z-index: -1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 211, 163, 0.45), transparent);
  animation: rhProjectDetailScan 5.8s ease-in-out infinite;
  pointer-events: none;
}

.rh-project-detail-hero__inner {
  width: min(1500px, 100%);
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1.75rem;
  align-items: stretch;
}

.rh-project-detail-hero__copy,
.rh-project-detail-hero__media,
.rh-project-detail-hero__facts {
  position: relative;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 252, 244, 0.07), rgba(255, 252, 244, 0.025));
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: 0 34px 84px -60px rgba(0, 0, 0, 0.94);
}

.rh-project-detail-hero__copy::before,
.rh-project-detail-hero__media::before {
  content: "";
  position: absolute;
  inset-inline: 1.15rem;
  top: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.62), transparent);
  pointer-events: none;
}

.rh-project-detail-hero__copy {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 4vw, 4.2rem);
  animation: rhProjectDetailPanelIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rh-project-detail-hero__copy h1 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.rh-project-detail-hero__copy h1 span {
  display: block;
}

.rh-project-detail-hero__title-name {
  white-space: nowrap;
}

.rh-project-detail-hero__copy p:not(.rh-project-detail__kicker) {
  max-width: 68ch;
  margin: 2rem 0 0;
  color: rgba(247, 243, 234, 0.76);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.9;
}

.rh-project-detail-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.65rem;
  align-items: center;
}

.rh-project-detail-btn {
  min-height: 3.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.65rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rh-project-detail-btn--gold {
  color: #07142b;
  background: linear-gradient(180deg, #f2d982, #d7ae45);
  box-shadow: 0 22px 48px -34px rgba(230, 211, 163, 0.98);
}

.rh-project-detail-btn--ghost {
  color: #f7f3ea;
  border: 1px solid rgba(230, 211, 163, 0.28);
  background: rgba(255, 252, 244, 0.045);
}

.rh-project-detail-btn:hover,
.rh-project-detail-btn:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.05);
  outline: none;
}

.rh-project-detail-btn--gold:hover,
.rh-project-detail-btn--gold:focus-visible {
  box-shadow: 0 28px 58px -34px rgba(230, 211, 163, 1);
}

.rh-project-detail-btn--ghost:hover,
.rh-project-detail-btn--ghost:focus-visible {
  border-color: rgba(230, 211, 163, 0.52);
  box-shadow: 0 26px 54px -44px rgba(230, 211, 163, 0.8);
}

.rh-project-detail-hero__media {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background-color: #0b1e45;
  animation: rhProjectDetailPanelIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.rh-project-detail-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.03);
}

.rh-project-detail-hero__media figcaption {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(230, 211, 163, 0.16);
  background: rgba(7, 20, 43, 0.72);
}

.rh-project-detail-hero__media figcaption span {
  color: #d7b95c;
  font-size: 0.94rem;
  font-weight: 900;
}

.rh-project-detail-hero__media figcaption strong {
  color: rgba(247, 243, 234, 0.84);
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.55;
}

.rh-project-detail-hero__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.rh-project-detail-hero__facts article {
  min-height: 6.3rem;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-inline-start: 1px solid rgba(230, 211, 163, 0.14);
}

.rh-project-detail-hero__facts article:last-child {
  border-inline-start: none;
}

.rh-project-detail-hero__facts span {
  color: rgba(247, 243, 234, 0.62);
  font-size: 0.92rem;
  font-weight: 900;
}

.rh-project-detail-hero__facts strong {
  color: #e2bf5d;
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.12;
}

.rh-project-detail-overview {
  position: relative;
  isolation: isolate;
  padding: 5.5rem 1.5rem 5.9rem;
  color: #10213f;
  background:
    linear-gradient(rgba(11, 30, 69, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.035) 1px, transparent 1px),
    #f7f3ea;
  background-size: 64px 64px, 64px 64px, auto;
}

.rh-project-detail-overview__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.rh-project-detail-overview__head {
  max-width: 900px;
  margin: 0 auto 2.7rem;
  text-align: center;
}

.rh-project-detail-overview__head h2,
.rh-project-detail-execution__head h2,
.rh-project-detail-result__copy h2 {
  margin: 0;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.rh-project-detail-overview__head h2 {
  color: #071f47;
}

.rh-project-detail-overview__head h2::after,
.rh-project-detail-execution__head h2::after,
.rh-project-detail-result__copy h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 0.95rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #e6c978, #c9a84c);
}

.rh-project-detail-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 1.2rem;
  align-items: stretch;
}

.rh-project-detail-overview__copy,
.rh-project-detail-overview__brief {
  border: 1px solid rgba(11, 30, 69, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.76);
  box-shadow: 0 28px 74px -62px rgba(11, 30, 69, 0.8);
}

.rh-project-detail-overview__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 4vw, 3.5rem);
}

.rh-project-detail-overview__copy p {
  margin: 0;
  color: #24314a;
  font-size: 1.18rem;
  line-height: 2.05;
}

.rh-project-detail-overview__copy p+p {
  margin-top: 1.25rem;
}

.rh-project-detail-overview__brief {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.rh-project-detail-overview__brief div {
  display: grid;
  gap: 0.5rem;
  align-content: center;
  min-height: 10.8rem;
  padding: 1.35rem;
  border-bottom: 1px solid rgba(11, 30, 69, 0.1);
}

.rh-project-detail-overview__brief div:last-child {
  border-bottom: none;
}

.rh-project-detail-overview__brief span {
  color: #b8902f;
  font-size: 1.2rem;
  font-weight: 900;
}

.rh-project-detail-overview__brief strong {
  color: #071f47;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.3;
}

.rh-project-detail-overview__brief p {
  margin: 0;
  color: rgba(16, 33, 63, 0.66);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
}

.rh-project-detail-execution {
  position: relative;
  isolation: isolate;
  padding: 5.7rem 1.5rem;
  color: #f7f3ea;
  background:
    linear-gradient(rgba(230, 211, 163, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.044) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45 0%, #07142b 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.rh-project-detail-execution__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.rh-project-detail-execution__head {
  max-width: 920px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.rh-project-detail-execution__head h2 {
  color: #fff8e8;
}

.rh-project-detail-execution__head p:not(.rh-project-detail__kicker) {
  max-width: 74ch;
  margin: 1.1rem auto 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 1.08rem;
  line-height: 1.95;
}

.rh-project-detail-execution__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rh-project-detail-execution__steps article {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.45rem;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    rgba(255, 252, 244, 0.045);
  background-size: 48px 48px, 48px 48px, auto;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.rh-project-detail-execution__steps article:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 211, 163, 0.46);
  background-color: rgba(255, 252, 244, 0.065);
}

.rh-project-detail-execution__steps span {
  color: #c9a84c;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1;
}

.rh-project-detail-execution__steps h3 {
  margin: 0.75rem 0 0.5rem;
  color: #fff8e8;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-project-detail-execution__steps p {
  margin: 0;
  color: rgba(247, 243, 234, 0.68);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.78;
}

.rh-project-detail-result {
  padding: 4.9rem 1.5rem;
  color: #10213f;
  background: #f7f3ea;
}

.rh-project-detail-result__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 1.2rem;
  align-items: stretch;
}

.rh-project-detail-result__copy,
.rh-project-detail-result__panel {
  border-radius: 8px;
  border: 1px solid rgba(11, 30, 69, 0.12);
  background:
    linear-gradient(rgba(11, 30, 69, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.028) 1px, transparent 1px),
    rgba(255, 252, 244, 0.78);
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: 0 28px 74px -62px rgba(11, 30, 69, 0.8);
}

.rh-project-detail-result__copy {
  padding: clamp(1.8rem, 4vw, 3.25rem);
}

.rh-project-detail-result__copy h2 {
  color: #071f47;
}

.rh-project-detail-result__copy h2::after {
  margin-inline: 0;
}

.rh-project-detail-result__copy p:not(.rh-project-detail__kicker) {
  max-width: 72ch;
  margin: 1rem 0 0;
  color: rgba(16, 33, 63, 0.68);
  font-size: 1.08rem;
  line-height: 1.95;
}

.rh-project-detail-result__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.6rem;
}

.rh-project-detail-result__panel span {
  color: #b8902f;
  font-size: 1rem;
  font-weight: 900;
}

.rh-project-detail-result__panel strong {
  color: #071f47;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.45;
}

.rh-project-detail-result__panel .rh-project-detail-btn {
  margin-top: 0.65rem;
  width: 100%;
}

@keyframes rhProjectDetailPanelIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rhProjectDetailScan {

  0%,
  100% {
    opacity: 0.24;
    transform: translateY(-4%);
  }

  50% {
    opacity: 0.88;
    transform: translateY(4%);
  }
}

.rh-project-detail-compare {
  position: relative;
  padding: 3rem 1.5rem;
  background: #f7f3ea;
  border-top: 1px solid rgba(11, 30, 69, 0.08);
  border-bottom: 1px solid rgba(11, 30, 69, 0.08);
}

.rh-project-detail-compare__inner {
  width: min(960px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.rh-project-detail-compare__head {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rh-project-detail-compare__head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  color: #071f47;
  font-weight: 700;
  line-height: 1.3;
}

.rh-project-detail-compare__head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #d7b95c;
  margin-top: 0.7rem;
}

.rh-project-detail-compare__head p:not(.rh-project-detail__kicker) {
  margin: 0;
  color: rgba(7, 31, 71, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 68ch;
}

.rh-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(80svh, 780px);
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  background: #07142b;
  box-shadow: 0 28px 60px -32px rgba(7, 20, 43, 0.55);
  border: 1px solid rgba(11, 30, 69, 0.12);
  cursor: ew-resize;
}

.rh-compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.rh-compare__before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.rh-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(247, 243, 234, 0.92);
  transform: translateX(-1px);
  cursor: ew-resize;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: 0 0 0 1px rgba(7, 20, 43, 0.25);
}

.rh-compare__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
}

.rh-compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f7f3ea;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -12px rgba(7, 20, 43, 0.6),
    0 0 0 4px rgba(215, 185, 92, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rh-compare__handle:hover .rh-compare__knob,
.rh-compare__handle:focus-visible .rh-compare__knob,
.rh-compare.is-dragging .rh-compare__knob {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 18px 38px -10px rgba(7, 20, 43, 0.72),
    0 0 0 6px rgba(215, 185, 92, 0.6);
}

.rh-compare__knob svg {
  width: 22px;
  height: 22px;
  color: #071f47;
}

.rh-compare__handle:focus {
  outline: none;
}

.rh-compare__label {
  position: absolute;
  top: 1rem;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.rh-compare__label--before {
  inset-inline-end: 1rem;
  background: rgba(7, 20, 43, 0.78);
  color: #f7f3ea;
}

.rh-compare__label--after {
  inset-inline-start: 1rem;
  background: rgba(215, 185, 92, 0.92);
  color: #071f47;
}

@media (prefers-reduced-motion: reduce) {
  .rh-compare__knob {
    transition: none;
  }
}

@media (max-width: 768px) {
  .rh-project-detail-compare {
    padding: 1.6rem 0.9rem 2rem;
  }

  .rh-project-detail-compare__inner {
    gap: 1rem;
  }

  .rh-project-detail-compare__head {
    gap: 0.3rem;
  }

  .rh-project-detail-compare__head h2 {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .rh-project-detail-compare__head h2::after {
    width: 44px;
    height: 2px;
    margin-top: 0.5rem;
  }

  .rh-project-detail-compare__head p:not(.rh-project-detail__kicker) {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .rh-compare {
    aspect-ratio: 5 / 4;
    max-height: 60svh;
  }

  .rh-compare__knob {
    width: 42px;
    height: 42px;
  }

  .rh-compare__knob svg {
    width: 18px;
    height: 18px;
  }

  .rh-compare__label {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    top: 0.6rem;
  }
}


@media (prefers-reduced-motion: reduce) {

  .rh-project-detail-hero::after,
  .rh-project-detail-hero__copy,
  .rh-project-detail-hero__media {
    animation: none;
  }

  .rh-project-detail-btn,
  .rh-project-detail-execution__steps article {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .rh-project-detail-hero {
    min-height: auto;
  }

  .rh-project-detail-hero::after {
    display: none;
  }

  .rh-project-detail-hero__inner,
  .rh-project-detail-overview__grid,
  .rh-project-detail-result__inner {
    grid-template-columns: 1fr;
  }

  .rh-project-detail-hero__media img {
    min-height: 27rem;
  }

  .rh-project-detail-overview__head h2,
  .rh-project-detail-execution__head h2,
  .rh-project-detail-result__copy h2 {
    font-size: 3rem;
  }

  .rh-project-detail-execution__steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rh-project-detail-hero {
    padding: 7rem 0.9rem 2.7rem;
  }

  .rh-project-detail-hero::before {
    inset: 7rem 0.9rem 2.7rem;
  }

  .rh-project-detail-hero__copy,
  .rh-project-detail-overview__copy,
  .rh-project-detail-result__copy {
    padding: 1.25rem;
  }

  .rh-project-detail-hero__copy p:not(.rh-project-detail__kicker),
  .rh-project-detail-overview__copy p,
  .rh-project-detail-execution__head p:not(.rh-project-detail__kicker),
  .rh-project-detail-result__copy p:not(.rh-project-detail__kicker) {
    font-size: 1rem;
  }

  .rh-project-detail-hero__actions {
    flex-direction: column;
  }

  .rh-project-detail-btn {
    width: 100%;
  }

  .rh-project-detail-hero__media img {
    min-height: 21rem;
  }

  .rh-project-detail-hero__facts {
    grid-template-columns: 1fr 1fr;
  }

  .rh-project-detail-hero__facts article {
    min-height: 5.8rem;
    border-bottom: 1px solid rgba(230, 211, 163, 0.12);
  }

  .rh-project-detail-hero__facts strong {
    font-size: 1.35rem;
  }

  .rh-project-detail-overview,
  .rh-project-detail-execution,
  .rh-project-detail-result {
    padding-inline: 0.9rem;
  }

  .rh-project-detail-overview__head h2,
  .rh-project-detail-execution__head h2,
  .rh-project-detail-result__copy h2 {
    font-size: 2.35rem;
  }

  .rh-project-detail-overview__brief div,
  .rh-project-detail-execution__steps article {
    min-height: auto;
  }
}

/* ============================================================
   SERVICES PAGE V4 - PREMIUM SERVICE DESK
   Scoped to the visible services page shell only. Modal markup is not touched.
   ============================================================ */
.rh-services-v4-body {
  margin: 0;
  background: #07142b;
  color: #f7f3ea;
}

.rh-services-v4-skip {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: #07142b;
  background: #d7b95c;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-services-v4-skip:focus-visible {
  transform: translateY(0);
  outline: 2px solid #f7f3ea;
  outline-offset: 3px;
}

.rh-services-v4 {
  overflow: hidden;
  background: #07142b;
}

.rh-services-v4__kicker {
  margin: 0 0 0.78rem;
  color: #c9a84c;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-services-v4-hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 900px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: 6.8rem clamp(1.25rem, 2.4vw, 2.5rem) 0.9rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.044) 1px, transparent 1px),
    linear-gradient(115deg, rgba(230, 211, 163, 0.09) 0 1px, transparent 1px 40%),
    linear-gradient(180deg, #0b1e45 0%, #07142b 74%, #071124 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%, auto;
}

.rh-services-v4-hero::before {
  content: "";
  position: absolute;
  inset: 6.8rem clamp(1.25rem, 2.4vw, 2.5rem) 0.9rem;
  z-index: -1;
  border: 1px solid rgba(230, 211, 163, 0.13);
  pointer-events: none;
}

.rh-services-v4-hero::after {
  content: "";
  position: absolute;
  inset-block: 6.8rem 0.9rem;
  inset-inline-start: 50%;
  z-index: -1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 211, 163, 0.42), transparent);
  animation: rhServicesV4Scan 5.8s ease-in-out infinite;
  pointer-events: none;
}

.rh-services-v4-hero__inner {
  width: min(1500px, 100%);
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.97fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: stretch;
}

.rh-services-v4-hero__copy,
.rh-services-v4-hero__panel,
.rh-services-v4-hero__stats {
  position: relative;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 252, 244, 0.066), rgba(255, 252, 244, 0.024));
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: 0 34px 84px -60px rgba(0, 0, 0, 0.94);
}

.rh-services-v4-hero__copy::before,
.rh-services-v4-hero__panel::before {
  content: "";
  position: absolute;
  inset-inline: 1.15rem;
  top: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.62), transparent);
  pointer-events: none;
}

.rh-services-v4-hero__copy {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.55rem, 3.3vw, 3.4rem);
}

.rh-services-v4-hero__copy h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff8e8;
  font-size: clamp(3.5rem, 5.2vw, 5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.rh-services-v4-hero__copy p:not(.rh-services-v4__kicker) {
  max-width: 68ch;
  margin: 1.2rem 0 0;
  color: rgba(247, 243, 234, 0.76);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.9;
}

.rh-services-v4-hero__actions,
.rh-services-v4-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.rh-services-v4-btn {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.65rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rh-services-v4-btn--gold {
  color: #07142b;
  background: #d7b95c;
  box-shadow: 0 22px 48px -34px rgba(230, 211, 163, 0.98);
}

.rh-services-v4-btn--ghost {
  color: #f7f3ea;
  border: 1px solid rgba(230, 211, 163, 0.28);
  background: rgba(255, 252, 244, 0.045);
}

.rh-services-v4-btn:hover,
.rh-services-v4-btn:focus-visible {
  transform: translateY(-3px) scale(1.02);
  outline: none;
}

.rh-services-v4-btn:focus-visible {
  outline: 2px solid #d7b95c;
  outline-offset: 3px;
}

.rh-services-v4-btn--gold:hover,
.rh-services-v4-btn--gold:focus-visible {
  box-shadow: 0 28px 58px -34px rgba(230, 211, 163, 1);
  background: #e2c86c;
}

.rh-services-v4-btn--ghost:hover,
.rh-services-v4-btn--ghost:focus-visible {
  border-color: rgba(230, 211, 163, 0.52);
  box-shadow: 0 26px 54px -44px rgba(230, 211, 163, 0.8);
}

.rh-services-v4-hero__panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: clamp(1.25rem, 2.2vw, 1.9rem);
  overflow: hidden;
}

.rh-services-v4-hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(230, 211, 163, 0.16);
}

.rh-services-v4-hero__panel-head span {
  color: #e6d3a3;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
}

.rh-services-v4-hero__panel-head strong {
  color: rgba(230, 211, 163, 0.68);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.rh-services-v4-hero__route {
  display: grid;
  gap: 0.8rem;
  min-height: 0;
}

.rh-services-v4-hero__route article {
  min-height: 6.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 8px;
  background: rgba(7, 20, 43, 0.34);
}

.rh-services-v4-hero__route span,
.rh-services-v4-card__head span,
.rh-services-v4-process__steps span {
  color: #c9a84c;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.rh-services-v4-hero__route h2 {
  margin: 0.55rem 0 0.35rem;
  color: #fff8e8;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.32;
}

.rh-services-v4-hero__route p {
  margin: 0;
  color: rgba(247, 243, 234, 0.66);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.62;
}

.rh-services-v4-hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.rh-services-v4-hero__stats article {
  min-height: 4.8rem;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.28rem;
  padding: 0.9rem;
  border-inline-start: 1px solid rgba(230, 211, 163, 0.14);
  text-align: center;
}

.rh-services-v4-hero__stats article:last-child {
  border-inline-start: none;
}

.rh-services-v4-hero__stats strong {
  color: #e2bf5d;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.rh-services-v4-hero__stats span {
  color: rgba(247, 243, 234, 0.68);
  font-size: 0.95rem;
  font-weight: 900;
}

.rh-services-v4-catalog {
  position: relative;
  isolation: isolate;
  padding: 5.4rem 1.5rem 6rem;
  color: #10213f;
  background:
    linear-gradient(rgba(11, 30, 69, 0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.035) 1px, transparent 1px),
    #f7f3ea;
  background-size: 64px 64px, 64px 64px, auto;
}

.rh-services-v4-catalog__inner,
.rh-services-v4-process__inner,
.rh-services-v4-cta__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.rh-services-v4-catalog__head {
  max-width: 920px;
  margin: 0 0 2.7rem auto;
  text-align: right;
}

.rh-services-v4-catalog__head h2,
.rh-services-v4-process__copy h2,
.rh-services-v4-cta__inner h2 {
  margin: 0;
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.rh-services-v4-catalog__head h2,
.rh-services-v4-process__copy h2 {
  color: #071f47;
}

.rh-services-v4-catalog__head h2::after,
.rh-services-v4-process__copy h2::after,
.rh-services-v4-cta__inner h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 0.95rem 0 0 auto;
  border-radius: 2px;
  background: #c9a84c;
}

.rh-services-v4-catalog__head p:not(.rh-services-v4__kicker),
.rh-services-v4-process__copy p:not(.rh-services-v4__kicker),
.rh-services-v4-cta__inner p:not(.rh-services-v4__kicker) {
  max-width: 74ch;
  margin: 1rem 0 0;
  color: rgba(16, 33, 63, 0.66);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.9;
}

.rh-services-v4-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-auto-rows: auto;
  gap: 1rem;
  align-items: stretch;
}

.rh-services-v4-card {
  position: relative;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid rgba(11, 30, 69, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(11, 30, 69, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.026) 1px, transparent 1px),
    rgba(255, 252, 244, 0.78);
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: 0 28px 74px -62px rgba(11, 30, 69, 0.86);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.rh-services-v4-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.34);
  box-shadow: 0 32px 80px -58px rgba(11, 30, 69, 0.9);
}

.rh-services-v4-card--wide {
  grid-row: span 2;
}

.rh-services-v4-card--dark {
  color: #f7f3ea;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #102855, #07142b);
  background-size: 48px 48px, 48px 48px, auto;
  border-color: rgba(230, 211, 163, 0.18);
}

.rh-services-v4-card__head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.rh-services-v4-card__head h3 {
  margin: 0;
  color: #071f47;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
}

.rh-services-v4-card--dark .rh-services-v4-card__head h3 {
  color: #fff8e8;
}

.rh-services-v4-card__head p {
  margin: 0;
  color: rgba(16, 33, 63, 0.62);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.72;
}

.rh-services-v4-card--dark .rh-services-v4-card__head p {
  color: rgba(247, 243, 234, 0.68);
}

.rh-services-v4-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.rh-services-v4-link-groups div,
.rh-services-v4-list {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.rh-services-v4-link-groups div {
  padding: 0.9rem;
  border: 1px solid rgba(11, 30, 69, 0.09);
  border-radius: 8px;
  background: rgba(11, 30, 69, 0.035);
}

.rh-services-v4-link-groups h4 {
  margin: 0 0 0.35rem;
  color: #071f47;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-services-v4-link-groups a,
.rh-services-v4-list a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.68rem 0.78rem;
  border: 1px solid rgba(11, 30, 69, 0.08);
  border-radius: 8px;
  color: #23314e;
  background: rgba(255, 252, 244, 0.6);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.rh-services-v4-link-groups a::after,
.rh-services-v4-list a::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #c9a84c;
  opacity: 0.72;
}

.rh-services-v4-list a {
  color: #23314e;
  background: rgba(255, 252, 244, 0.66);
}

.rh-services-v4-card--dark .rh-services-v4-list a {
  color: rgba(247, 243, 234, 0.88);
  border-color: rgba(230, 211, 163, 0.16);
  background: rgba(255, 252, 244, 0.05);
}

.rh-services-v4-link-groups a:hover,
.rh-services-v4-link-groups a:focus-visible,
.rh-services-v4-list a:hover,
.rh-services-v4-list a:focus-visible {
  transform: translateX(-3px);
  border-color: rgba(201, 168, 76, 0.4);
  color: #071f47;
  background: rgba(230, 211, 163, 0.16);
  outline: none;
}

.rh-services-v4-link-groups a:focus-visible,
.rh-services-v4-list a:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 3px;
}

.rh-services-v4-card--dark .rh-services-v4-list a:hover,
.rh-services-v4-card--dark .rh-services-v4-list a:focus-visible {
  color: #fff8e8;
  background: rgba(230, 211, 163, 0.11);
}

.rh-services-v4-process {
  padding: 5.4rem 1.5rem;
  color: #10213f;
  background: #f7f3ea;
}

.rh-services-v4-process__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 1.25rem;
  align-items: stretch;
}

.rh-services-v4-process__copy,
.rh-services-v4-process__steps {
  border: 1px solid rgba(11, 30, 69, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.78);
  box-shadow: 0 28px 74px -62px rgba(11, 30, 69, 0.86);
}

.rh-services-v4-process__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.rh-services-v4-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.rh-services-v4-process__steps article {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.2rem;
  border-inline-start: 1px solid rgba(11, 30, 69, 0.1);
}

.rh-services-v4-process__steps article:last-child {
  border-inline-start: none;
}

.rh-services-v4-process__steps strong {
  color: #071f47;
  font-size: 1.26rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-services-v4-process__steps p {
  margin: 0;
  color: rgba(16, 33, 63, 0.62);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.72;
}

.rh-services-v4-cta {
  padding: 5rem 1.5rem;
  color: #f7f3ea;
  background:
    linear-gradient(rgba(230, 211, 163, 0.046) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0b1e45, #07142b);
  background-size: 72px 72px, 72px 72px, auto;
}

.rh-services-v4-cta__inner {
  display: grid;
  justify-items: start;
  padding: 2.2rem;
  border: 1px solid rgba(230, 211, 163, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    rgba(255, 252, 244, 0.045);
  background-size: 48px 48px, 48px 48px, auto;
}

.rh-services-v4-cta__inner h2 {
  max-width: 15ch;
  color: #fff8e8;
}

.rh-services-v4-cta__inner p:not(.rh-services-v4__kicker) {
  color: rgba(247, 243, 234, 0.72);
}

@keyframes rhServicesV4Scan {

  0%,
  100% {
    opacity: 0.24;
    transform: translateY(-4%);
  }

  50% {
    opacity: 0.86;
    transform: translateY(4%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-services-v4-hero::after {
    animation: none;
  }

  .rh-services-v4-btn,
  .rh-services-v4-card,
  .rh-services-v4-link-groups a,
  .rh-services-v4-list a {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .rh-services-v4-hero {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .rh-services-v4-hero::after {
    display: none;
  }

  .rh-services-v4-hero__inner,
  .rh-services-v4-bento,
  .rh-services-v4-process__inner {
    grid-template-columns: 1fr;
  }

  .rh-services-v4-hero__copy h1 {
    max-width: 16ch;
    font-size: 4rem;
  }

  .rh-services-v4-card--wide {
    grid-row: auto;
  }

  .rh-services-v4-link-groups {
    grid-template-columns: 1fr;
  }

  .rh-services-v4-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rh-services-v4-hero__panel {
    display: none;
  }

  .rh-services-v4-hero__inner {
    grid-template-rows: auto auto;
  }
}

@media (max-width: 760px) {
  .rh-services-v4-hero {
    padding: 6.55rem 0.9rem 2rem;
  }

  .rh-services-v4-hero::before {
    inset: 6.55rem 0.9rem 2rem;
  }

  .rh-services-v4-hero__copy,
  .rh-services-v4-hero__panel,
  .rh-services-v4-process__copy,
  .rh-services-v4-cta__inner {
    padding: 1.15rem;
  }

  .rh-services-v4-hero__copy h1 {
    font-size: 2.65rem;
  }

  .rh-services-v4-hero__copy p:not(.rh-services-v4__kicker),
  .rh-services-v4-catalog__head p:not(.rh-services-v4__kicker),
  .rh-services-v4-process__copy p:not(.rh-services-v4__kicker),
  .rh-services-v4-cta__inner p:not(.rh-services-v4__kicker) {
    font-size: 1rem;
  }

  .rh-services-v4-hero__actions,
  .rh-services-v4-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .rh-services-v4-btn {
    width: 100%;
  }

  .rh-services-v4-process__steps {
    grid-template-columns: 1fr;
  }

  .rh-services-v4-hero__stats article,
  .rh-services-v4-process__steps article {
    min-height: auto;
    border-inline-start: none;
    border-bottom: 1px solid rgba(230, 211, 163, 0.12);
  }

  .rh-services-v4-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-services-v4-hero__stats article {
    min-height: 4.4rem;
    padding: 0.7rem 0.35rem;
    border-bottom: none;
    border-inline-start: 1px solid rgba(230, 211, 163, 0.12);
  }

  .rh-services-v4-hero__stats article:last-child {
    border-inline-start: none;
  }

  .rh-services-v4-hero__stats strong {
    font-size: 1.45rem;
  }

  .rh-services-v4-hero__stats span {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .rh-services-v4-hero__stats article:last-child,
  .rh-services-v4-process__steps article:last-child {
    border-bottom: none;
  }

  .rh-services-v4-catalog,
  .rh-services-v4-process,
  .rh-services-v4-cta {
    padding-inline: 0.9rem;
  }

  .rh-services-v4-catalog__head h2,
  .rh-services-v4-process__copy h2,
  .rh-services-v4-cta__inner h2 {
    font-size: 2.35rem;
  }

  .rh-services-v4-card {
    padding: 1rem;
  }

  .rh-services-v4-card__head h3 {
    font-size: 1.6rem;
  }
}

/* Partners Gallery Link Section */
.rh-partners-v3-gallery-link {
  padding: 5rem 1.5rem;
  background: #07142b;
  text-align: center;
}

.rh-partners-v3-gallery-link__inner {
  max-width: 800px;
  margin: 0 auto;
}

.rh-partners-v3-gallery-link h2 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.35;
}

.rh-partners-v3-gallery-link h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 1.1rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #c9a84c, #e6d3a3);
}

.rh-partners-v3-gallery-link p:not(.rh-partners-v3__kicker) {
  max-width: 620px;
  margin: 1rem auto 2rem;
  color: rgba(247, 243, 234, 0.7);
  font-size: 1.12rem;
  line-height: 1.85;
}

/* Partners Photo Stack Showcase */
.rh-partners-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.25rem) 1.5rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 84% 18%, rgba(201, 168, 76, 0.14), transparent 34rem),
    #07142b;
  background-size: 5.5rem 5.5rem, 5.5rem 5.5rem, auto, auto;
}

.rh-partners-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 20, 43, 0.18), rgba(7, 20, 43, 0.72));
  pointer-events: none;
}

.rh-partners-showcase__inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.rh-partners-showcase__header {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.2rem);
  text-align: center;
}

.rh-partners-showcase__header h2 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(2.05rem, 4.3vw, 4.25rem);
  font-weight: 1000;
  line-height: 1.08;
}

.rh-partners-showcase__header h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  margin: 1.05rem auto 0;
  border-radius: 999px;
  background: #d8b85d;
}

.rh-partners-showcase__header p:not(.rh-partners-v3__kicker) {
  max-width: 64ch;
  margin: 1.1rem auto 0;
  color: rgba(247, 243, 234, 0.7);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.85;
}

.rh-partners-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
  padding-bottom: 1rem;
  direction: rtl;
}

.rh-photo-stack-card {
  position: relative;
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(230, 211, 163, 0.14);
  border-radius: 10px;
  color: #fff8e8;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.075), rgba(255, 252, 244, 0.022)),
    rgba(13, 33, 70, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 252, 244, 0.08), 0 30px 68px -54px rgba(0, 0, 0, 0.92);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    background 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-photo-stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.08), transparent 38%);
  opacity: 0;
  transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.rh-photo-stack-card::after {
  content: "";
  position: absolute;
  inset-inline: 1.2rem;
  bottom: 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.28), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.rh-photo-stack-card:hover,
.rh-photo-stack-card.is-tapped,
.rh-photo-stack-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(230, 211, 163, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.095), rgba(255, 252, 244, 0.035)),
    rgba(13, 33, 70, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 252, 244, 0.12), 0 34px 78px -50px rgba(0, 0, 0, 0.98);
}

.rh-photo-stack-card:hover::before,
.rh-photo-stack-card.is-tapped::before,
.rh-photo-stack-card:focus-visible::before {
  opacity: 1;
}

.rh-photo-stack-card:focus-visible {
  outline: 2px solid #e2bf5d;
  outline-offset: 4px;
}

.rh-photo-stack-card__text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 21rem;
  margin-inline: auto;
  text-align: center;
}

.rh-photo-stack-card__category {
  display: block;
  margin-bottom: 0.45rem;
  color: #d8b85d;
  font-size: 0.82rem;
  font-weight: 1000;
}

.rh-photo-stack-card__title {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  font-weight: 1000;
  line-height: 1.18;
}

.rh-photo-stack-card__subtitle {
  margin: 0.45rem 0 0;
  color: rgba(247, 243, 234, 0.66);
  font-size: 1rem;
  font-weight: 800;
}

.rh-photo-stack-card__images {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  width: 16rem;
  height: 15rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.rh-photo-stack-card__img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10.5rem;
  height: 12rem;
  object-fit: cover;
  border: 3px solid rgba(230, 211, 163, 0.25);
  border-radius: 8px;
  background: #f7f3ea;
  box-shadow:
    0 8px 24px -8px rgba(0, 0, 0, 0.7),
    0 2px 6px rgba(0, 0, 0, 0.3);
  transform-origin: bottom center;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-photo-stack-card__img:nth-child(1) {
  z-index: 1;
  transform: translateX(-50%) rotate(-8deg) translateX(-1.6rem);
  box-shadow:
    0 8px 24px -8px rgba(0, 0, 0, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.25);
}

.rh-photo-stack-card__img:nth-child(2) {
  z-index: 2;
  transform: translateX(-50%) rotate(0deg) translateY(-0.35rem);
  box-shadow:
    0 12px 28px -8px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.rh-photo-stack-card__img:nth-child(3) {
  z-index: 3;
  transform: translateX(-50%) rotate(8deg) translateX(1.6rem);
  box-shadow:
    0 14px 32px -8px rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.rh-photo-stack-card:hover .rh-photo-stack-card__img:nth-child(1),
.rh-photo-stack-card.is-tapped .rh-photo-stack-card__img:nth-child(1),
.rh-photo-stack-card:focus-visible .rh-photo-stack-card__img:nth-child(1) {
  transform: translateX(-50%) rotate(-14deg) translate(-2.2rem, -1.8rem) scale(1.05);
  box-shadow:
    0 22px 44px -16px rgba(0, 0, 0, 0.85),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.rh-photo-stack-card:hover .rh-photo-stack-card__img:nth-child(2),
.rh-photo-stack-card.is-tapped .rh-photo-stack-card__img:nth-child(2),
.rh-photo-stack-card:focus-visible .rh-photo-stack-card__img:nth-child(2) {
  transform: translateX(-50%) rotate(0deg) translateY(-2.4rem) scale(1.06);
  box-shadow:
    0 24px 48px -16px rgba(0, 0, 0, 0.85),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.rh-photo-stack-card:hover .rh-photo-stack-card__img:nth-child(3),
.rh-photo-stack-card.is-tapped .rh-photo-stack-card__img:nth-child(3),
.rh-photo-stack-card:focus-visible .rh-photo-stack-card__img:nth-child(3) {
  transform: translateX(-50%) rotate(14deg) translate(2.2rem, -1.8rem) scale(1.05);
  box-shadow:
    0 22px 44px -16px rgba(0, 0, 0, 0.85),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Partner Detail Pages */
.rh-partner-detail-page {
  margin: 0;
  background: #07142b;
  color: #f7f3ea;
}

.rh-partner-detail {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  padding-top: 7.35rem;
  background:
    linear-gradient(rgba(230, 211, 163, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(201, 168, 76, 0.12), transparent 30rem),
    #07142b;
  background-size: 5.5rem 5.5rem, 5.5rem 5.5rem, auto, auto;
}

.rh-partner-detail__hero {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.4rem) 0 clamp(2.2rem, 5vw, 4rem);
  text-align: center;
}

.rh-partner-detail__back {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.65rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid rgba(230, 211, 163, 0.28);
  border-radius: 999px;
  color: #e6d3a3;
  background: rgba(255, 252, 244, 0.055);
  font-weight: 1000;
  text-decoration: none;
  transition:
    color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    background 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-partner-detail__back:hover,
.rh-partner-detail__back:focus-visible {
  color: #07142b;
  background: #e6d3a3;
  border-color: #e6d3a3;
  transform: translateY(-2px);
  outline: none;
}

.rh-partner-detail__kicker {
  margin: 0 0 0.8rem;
  color: #c9a84c;
  font-size: 1.08rem;
  font-weight: 1000;
}

.rh-partner-detail__hero h1 {
  max-width: 14ch;
  margin: 0 auto;
  color: #fff8e8;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  font-weight: 1000;
  line-height: 1.02;
}

.rh-partner-detail__hero p:not(.rh-partner-detail__kicker) {
  max-width: 58ch;
  margin: 1.1rem auto 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
  line-height: 1.9;
}

.rh-partner-detail__section {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.rh-partner-detail__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(230, 211, 163, 0.18);
  padding-bottom: 1rem;
}

.rh-partner-detail__section-head h2 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 1000;
}

.rh-partner-detail__section-head span {
  color: #d8b85d;
  font-weight: 1000;
}

.rh-partner-detail__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rh-partner-detail__logo-card {
  min-height: 11.5rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 10px;
  background: rgba(255, 252, 244, 0.935);
  color: #071f47;
  box-shadow: 0 26px 62px -52px rgba(0, 0, 0, 0.9);
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-partner-detail__logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -48px rgba(0, 0, 0, 0.98);
}

.rh-partner-detail__logo-card img {
  width: 8rem;
  height: 5.4rem;
  object-fit: contain;
}

.rh-partner-detail__logo-card span {
  color: #071f47;
  font-size: 1rem;
  font-weight: 1000;
  text-align: center;
}

.rh-partner-detail__text-logo {
  font-size: 1.55rem;
  font-weight: 1000;
  line-height: 1.25;
}

.rh-partner-detail__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rh-partner-detail__gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(230, 211, 163, 0.16);
  border-radius: 10px;
  background: rgba(255, 252, 244, 0.06);
  box-shadow: 0 28px 72px -54px rgba(0, 0, 0, 0.92);
}

.rh-partner-detail__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-partner-detail__gallery-item:hover img {
  transform: scale(1.065);
  filter: saturate(1.04) contrast(1.02);
}

@media (max-width: 980px) {

  .rh-partners-showcase__grid,
  .rh-partner-detail__logos,
  .rh-partner-detail__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-photo-stack-card {
    min-height: 20.5rem;
  }
}

@media (max-width: 680px) {

  .rh-partners-showcase,
  .rh-partner-detail__section,
  .rh-partner-detail__hero {
    width: auto;
  }

  .rh-partners-showcase {
    padding-inline: 0.9rem;
  }

  .rh-partners-showcase__grid,
  .rh-partner-detail__logos,
  .rh-partner-detail__gallery {
    grid-template-columns: 1fr;
  }

  .rh-photo-stack-card {
    min-height: 20rem;
  }

  .rh-photo-stack-card__images {
    width: 12rem;
    height: 12.4rem;
  }

  .rh-photo-stack-card__img {
    width: 8.7rem;
    height: 10rem;
  }

  .rh-partner-detail {
    padding-top: 6.4rem;
  }

  .rh-partner-detail__hero,
  .rh-partner-detail__section {
    width: min(100% - 1.8rem, 1180px);
  }

  .rh-partner-detail__section-head {
    display: block;
  }

  .rh-partner-detail__section-head span {
    display: block;
    margin-top: 0.55rem;
  }
}

/* ── Partner Detail: Logo hover (full color by default, lift on hover) ── */

/* ── Partner Detail: Featured project showcase cards ── */
.rh-partner-detail__projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.rh-partner-detail__project-card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(230, 211, 163, 0.14);
  background: rgba(255, 252, 244, 0.04);
  box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.85);
  transition:
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.rh-partner-detail__project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px -40px rgba(0, 0, 0, 0.95);
}

.rh-partner-detail__project-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.rh-partner-detail__project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-partner-detail__project-card:hover .rh-partner-detail__project-thumb img {
  transform: scale(1.08);
}

.rh-partner-detail__project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(7, 20, 43, 0.82), transparent 70%);
  opacity: 0;
  transition: opacity 350ms ease;
}

.rh-partner-detail__project-card:hover .rh-partner-detail__project-overlay {
  opacity: 1;
}

.rh-partner-detail__project-overlay h4 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.rh-partner-detail__project-overlay span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 600;
}

.rh-partner-detail__project-body {
  padding: 1rem 1.15rem 1.25rem;
}

.rh-partner-detail__project-body h4 {
  margin: 0 0 0.35rem;
  color: #fff8e8;
  font-size: 1.1rem;
  font-weight: 900;
}

.rh-partner-detail__project-body p {
  margin: 0;
  color: rgba(247, 243, 234, 0.6);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Partner Detail: CTA Button ── */
.rh-partner-detail__cta {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.rh-partner-detail__cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  border: 2px solid #c9a84c;
  border-radius: 10px;
  background: transparent;
  color: #e6d3a3;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 320ms ease,
    color 320ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-partner-detail__cta a:hover,
.rh-partner-detail__cta a:focus-visible {
  background: #c9a84c;
  color: #07142b;
  transform: translateY(-2px);
  outline: none;
}

.rh-partner-detail__cta a svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  transition: transform 320ms ease;
}

.rh-partner-detail__cta a:hover svg {
  transform: translateX(-4px);
}

@media (max-width: 980px) {
  .rh-partner-detail__projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rh-partner-detail__projects {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  .rh-photo-stack-card,
  .rh-photo-stack-card::before,
  .rh-photo-stack-card__img,
  .rh-partner-detail__back,
  .rh-partner-detail__logo-card,
  .rh-partner-detail__project-card,
  .rh-partner-detail__project-thumb img,
  .rh-partner-detail__project-overlay,
  .rh-partner-detail__gallery-item img {
    transition: none;
  }

  .rh-photo-stack-card:hover,
  .rh-photo-stack-card.is-tapped,
  .rh-photo-stack-card:focus-visible,
  .rh-partner-detail__back:hover,
  .rh-partner-detail__back:focus-visible,
  .rh-partner-detail__logo-card:hover,
  .rh-partner-detail__project-card:hover {
    transform: none;
  }
}

/* Services hero quiet-luxury refresh */
.rh-services-v4-hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: 6rem clamp(1.1rem, 2.4vw, 2.5rem) 0.9rem;
  color: #f7f3ea;
  background:
    linear-gradient(rgba(230, 211, 163, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 10%, rgba(201, 168, 76, 0.18), transparent 34rem),
    linear-gradient(180deg, #08152f 0%, #07142b 58%, #061126 100%);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.rh-services-v4-hero::before {
  content: "";
  position: absolute;
  inset: 6rem clamp(1.1rem, 2.4vw, 2.5rem) 0.9rem;
  z-index: -1;
  border: 1px solid rgba(230, 211, 163, 0.14);
  pointer-events: none;
}

.rh-services-v4-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 12%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 163, 0.44), transparent);
  animation: none;
  pointer-events: none;
}

.rh-services-v4-hero__inner {
  width: min(1500px, 100%);
  min-height: calc(100svh - 6.9rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.65rem, 3.2vh, 2.35rem);
  text-align: center;
}

.rh-services-v4-hero__copy {
  width: min(100%, 1120px);
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.rh-services-v4-hero__copy::before {
  display: none;
}

.rh-services-v4-hero__copy .rh-services-v4__kicker {
  margin: 0 0 1.1rem;
  color: #c9a84c;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.35;
}

.rh-services-v4-hero__copy h1 {
  max-width: min(100%, 1040px);
  margin: 0 auto;
  color: #fff8e8;
  font-size: clamp(3.55rem, 5.1vw, 4.85rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
}

.rh-services-v4-hero__copy h1 span {
  display: block;
  white-space: nowrap;
}

.rh-services-v4-hero__copy p:not(.rh-services-v4__kicker) {
  max-width: 790px;
  margin: 1.35rem auto 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.rh-services-v4-hero__actions {
  justify-content: center;
  margin-top: 1.55rem;
}

.rh-services-v4-hero__service-strip {
  width: min(100%, 1160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.08rem;
  margin-top: 1.25rem;
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(230, 211, 163, 0.18);
  color: rgba(247, 243, 234, 0.78);
  text-align: center;
}

.rh-services-v4-hero__service-label {
  color: rgba(230, 211, 163, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
}

.rh-services-v4-service-wave {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.86rem;
  margin-top: 0.38rem;
}

.rh-services-v4-service-chip {
  appearance: none;
  position: relative;
  min-height: 3.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.82rem;
  border: 1px solid rgba(230, 211, 163, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.11), rgba(255, 252, 244, 0.045));
  box-shadow: 0 16px 36px -28px rgba(230, 211, 163, 0.7);
  color: rgba(255, 248, 232, 0.88);
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
  animation: rhServicesChipWave 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: calc(var(--wave-index) * 120ms);
  will-change: transform;
}

.rh-services-v4-service-chip:hover,
.rh-services-v4-service-chip:focus-visible {
  border-color: rgba(230, 211, 163, 0.42);
  color: #fff8e8;
  background:
    linear-gradient(180deg, rgba(230, 211, 163, 0.18), rgba(255, 252, 244, 0.07));
  outline: none;
}

.rh-services-v4-service-chip:focus-visible {
  outline: 2px solid rgba(230, 211, 163, 0.86);
  outline-offset: 4px;
}

.rh-services-v4-service-chip::after {
  content: "↙";
  width: 1.1rem;
  height: 1.1rem;
  display: inline-grid;
  place-items: center;
  margin-inline-start: 0.1rem;
  color: rgba(230, 211, 163, 0.9);
  font-size: 0.9rem;
  line-height: 1;
}

@keyframes rhServicesChipWave {

  0%,
  100% {
    transform: translateY(0);
  }

  34% {
    transform: translateY(-5px);
  }

  58% {
    transform: translateY(2px);
  }
}

@media (max-width: 1180px) {
  .rh-services-v4-hero {
    height: auto;
    min-height: auto;
    padding-block: 6rem 1rem;
  }

  .rh-services-v4-hero::before {
    inset-block: 6rem 1rem;
  }

  .rh-services-v4-hero__inner {
    min-height: 560px;
    gap: 1.55rem;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .rh-services-v4-hero__copy h1 {
    max-width: 100%;
    font-size: 3.55rem;
  }
}

@media (max-width: 760px) {
  .rh-services-v4-hero {
    padding: 6.05rem 0.9rem 1rem;
  }

  .rh-services-v4-hero::before {
    inset: 6.05rem 0.9rem 1rem;
  }

  .rh-services-v4-hero__inner {
    min-height: 500px;
    gap: 1rem;
  }

  .rh-services-v4-hero__copy {
    padding: 0.35rem 0;
  }

  .rh-services-v4-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(1.82rem, 8.5vw, 2.08rem);
    line-height: 1.16;
  }

  .rh-services-v4-hero__copy p:not(.rh-services-v4__kicker) {
    font-size: 0.96rem;
    line-height: 1.86;
  }

  .rh-services-v4-hero__actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
    gap: 0.55rem;
  }

  .rh-services-v4-hero .rh-services-v4-btn {
    width: min(100%, 16rem);
    min-width: 0;
    padding-inline: 1rem;
  }

  .rh-services-v4-hero__service-strip {
    gap: 0.72rem;
    margin-top: 0.68rem;
    padding-top: 0.7rem;
  }

  .rh-services-v4-service-wave {
    gap: 0.34rem;
    margin-top: 0.22rem;
  }

  .rh-services-v4-service-chip {
    min-height: 2.42rem;
    padding: 0.46rem 0.78rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .rh-services-v4-hero {
    padding-block: 5.5rem 0.65rem;
  }

  .rh-services-v4-hero::before {
    inset-block: 5.5rem 0.65rem;
  }

  .rh-services-v4-hero__inner {
    min-height: calc(100svh - 6.15rem);
    gap: 1.05rem;
  }

  .rh-services-v4-hero__copy {
    padding-block: 0.35rem;
  }

  .rh-services-v4-hero__copy .rh-services-v4__kicker {
    margin-bottom: 0.78rem;
    font-size: 1rem;
  }

  .rh-services-v4-hero__copy h1 {
    font-size: clamp(2.95rem, 4.75vw, 3.85rem);
    line-height: 1.1;
  }

  .rh-services-v4-hero__copy p:not(.rh-services-v4__kicker) {
    max-width: 720px;
    margin-top: 0.88rem;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .rh-services-v4-hero__actions {
    margin-top: 1rem;
  }

  .rh-services-v4-hero__service-strip {
    gap: 0.74rem;
    margin-top: 0.78rem;
    padding-top: 0.65rem;
  }

  .rh-services-v4-service-wave {
    margin-top: 0.24rem;
  }

  .rh-services-v4-service-chip {
    min-height: 2.55rem;
    padding: 0.54rem 1.02rem;
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-services-v4-service-chip {
    animation: none;
  }
}

/* Services catalog stage router */
.rh-services-v4-catalog--stage {
  overflow: hidden;
  padding: clamp(4.6rem, 7vw, 6.4rem) clamp(1rem, 3vw, 2.5rem);
  color: #10213f;
  background:
    linear-gradient(rgba(11, 30, 69, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.18), transparent 34rem),
    linear-gradient(180deg, #f8f5ec, #f2ede1 58%, #f7f3ea);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.rh-services-v4-catalog--stage .rh-services-v4-catalog__inner {
  width: min(1360px, 100%);
}

.rh-services-v4-catalog--stage .rh-services-v4-catalog__head {
  max-width: 860px;
  margin: 0 auto clamp(2.4rem, 4vw, 3.6rem);
  text-align: center;
}

.rh-services-v4-catalog--stage .rh-services-v4-catalog__head h2 {
  max-width: none;
  margin-inline: auto;
  color: #071f47;
  font-size: clamp(2.35rem, 4.6vw, 5.1rem);
  line-height: 1.08;
  white-space: nowrap;
}

.rh-services-v4-catalog--stage .rh-services-v4-catalog__head h2::after {
  margin-inline: auto;
}

.rh-services-v4-catalog--stage .rh-services-v4-catalog__head p:not(.rh-services-v4__kicker) {
  max-width: 64ch;
  margin-inline: auto;
  color: rgba(16, 33, 63, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.9;
}

.rh-services-v4-stage-router {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.1rem);
}

.rh-services-v4-stage-router::before {
  display: none;
}

.rh-services-v4-stage-card {
  appearance: none;
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: clamp(1.1rem, 1.8vw, 1.45rem);
  border: 1px solid rgba(11, 30, 69, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(11, 30, 69, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.024) 1px, transparent 1px),
    rgba(255, 252, 244, 0.78);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 0 30px 78px -64px rgba(11, 30, 69, 0.84);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: right;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    background 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-services-v4-stage-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 76, 0.38);
  background:
    linear-gradient(rgba(11, 30, 69, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.028) 1px, transparent 1px),
    rgba(255, 252, 244, 0.94);
  box-shadow: 0 34px 84px -62px rgba(11, 30, 69, 0.9);
}

.rh-services-v4-stage-card.is-active {
  border-color: #0b1e45;
  background:
    linear-gradient(rgba(11, 30, 69, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 69, 0.022) 1px, transparent 1px),
    rgba(255, 252, 244, 0.97);
  box-shadow: 0 0 0 2px rgba(11, 30, 69, 0.52), 0 36px 90px -62px rgba(11, 30, 69, 0.92);
}

.rh-services-v4-stage-card__number {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #071f47;
  background: rgba(11, 30, 69, 0.08);
  font-size: 1.08rem;
  font-weight: 1000;
  line-height: 1;
}

.rh-services-v4-stage-card.is-active .rh-services-v4-stage-card__number {
  color: #07142b;
  background: #c9a84c;
}

.rh-services-v4-stage-card__head {
  display: grid;
  gap: 0.55rem;
}

.rh-services-v4-stage-card__head h3 {
  margin: 0;
  color: #071f47;
  font-size: clamp(1.45rem, 1.65vw, 1.9rem);
  font-weight: 1000;
  line-height: 1.22;
}

.rh-services-v4-stage-card__head p {
  min-height: 4.55rem;
  margin: 0;
  color: rgba(16, 33, 63, 0.64);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.72;
}

.rh-services-v4-stage-card__action {
  align-self: end;
  color: #a47c1e;
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1.35;
}

.rh-services-v4-stage-panels {
  margin-top: 1.15rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(11, 30, 69, 0.11);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.86);
  box-shadow: 0 30px 78px -64px rgba(11, 30, 69, 0.84);
}

.rh-services-v4-stage-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 2.4vw, 1.7rem);
  align-items: start;
}

.rh-services-v4-stage-panel__copy {
  display: grid;
  gap: 0.55rem;
}

.rh-services-v4-stage-panel__copy p {
  margin: 0;
  color: #a47c1e;
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.35;
}

.rh-services-v4-stage-panel__copy h3 {
  margin: 0;
  color: #071f47;
  font-size: clamp(1.8rem, 2.5vw, 2.85rem);
  font-weight: 1000;
  line-height: 1.18;
}

.rh-services-v4-stage-panel__copy span {
  color: rgba(16, 33, 63, 0.66);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.8;
}

.rh-services-v4-stage-card__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 0.58rem;
}

.rh-services-v4-stage-card__links a {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(11, 30, 69, 0.14);
  border-radius: 10px;
  color: #11284c;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.97) 0%, rgba(255, 246, 226, 0.94) 100%);
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  position: relative;
  box-shadow:
    0 14px 26px -22px rgba(11, 30, 69, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
    background 260ms cubic-bezier(0.16, 1, 0.3, 1),
    color 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-services-v4-stage-card__links a::after {
  content: "↗";
  width: 1.15rem;
  height: 1.15rem;
  display: inline-grid;
  place-items: center;
  position: absolute;
  inset-inline-start: 0.5rem;
  top: 0.48rem;
  border-radius: 999px;
  color: #8d6b19;
  background: rgba(201, 168, 76, 0.18);
  font-size: 0.7rem;
  line-height: 1;
}

.rh-services-v4-stage-card__links a:hover,
.rh-services-v4-stage-card__links a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.5);
  color: #071f47;
  background: linear-gradient(180deg, rgba(255, 252, 241, 0.99) 0%, rgba(240, 221, 176, 0.52) 100%);
  box-shadow:
    0 18px 30px -22px rgba(11, 30, 69, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  outline: none;
}

.rh-services-v4-stage-card__links a:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 3px;
}

.rh-services-v4-stage-panel--permit {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  align-items: stretch;
  min-height: clamp(9.2rem, 19vw, 12.4rem);
}

.rh-services-v4-stage-panel--permit .rh-services-v4-stage-card__links--permit {
  height: 100%;
  align-self: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
  gap: 0.7rem;
}

.rh-services-v4-stage-panel--permit .rh-services-v4-stage-card__links--permit a {
  min-height: 0;
  height: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  padding-inline: 1rem;
  line-height: 1.42;
}

.rh-services-v4-stage-panel--permit .rh-services-v4-stage-card__links--permit a::after {
  display: none;
}

.rh-services-v4-stage-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 1.25rem;
  border-radius: 8px;
  color: #f7f3ea;
  background:
    linear-gradient(rgba(230, 211, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 163, 0.03) 1px, transparent 1px),
    #071f47;
  background-size: 34px 34px, 34px 34px, auto;
}

.rh-services-v4-stage-fallback h3 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 1000;
  line-height: 1.25;
}

.rh-services-v4-stage-fallback p {
  margin: 0.25rem 0 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.7;
}

.rh-services-v4-stage-fallback a {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 8px;
  color: #07142b;
  background: #c9a84c;
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms ease;
}

.rh-services-v4-stage-fallback a:hover,
.rh-services-v4-stage-fallback a:focus-visible {
  transform: translateY(-2px);
  background: #e6d3a3;
  outline: none;
}

@media (max-width: 1180px) {
  .rh-services-v4-stage-router {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-services-v4-stage-panel {
    grid-template-columns: 1fr;
  }

  .rh-services-v4-stage-card__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rh-services-v4-catalog--stage {
    padding-block: 3.6rem 4rem;
  }

  .rh-services-v4-catalog--stage .rh-services-v4-catalog__head h2 {
    white-space: normal;
  }

  .rh-services-v4-stage-router {
    grid-template-columns: 1fr;
  }

  .rh-services-v4-stage-card {
    gap: 0.85rem;
    padding: 1rem;
  }

  .rh-services-v4-stage-card__head p {
    min-height: 0;
  }

  .rh-services-v4-stage-panels {
    margin-top: 0.9rem;
    padding: 0.9rem;
  }

  .rh-services-v4-stage-panel {
    gap: 0.9rem;
  }

  .rh-services-v4-stage-card__links {
    grid-template-columns: 1fr;
  }

  .rh-services-v4-stage-card__links a {
    min-height: 2.65rem;
    font-size: 0.9rem;
  }

  .rh-services-v4-stage-fallback {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .rh-services-v4-stage-fallback a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .rh-services-v4-stage-card,
  .rh-services-v4-stage-card__links a,
  .rh-services-v4-stage-fallback a {
    transition: none;
  }

  .rh-services-v4-stage-card:hover,
  .rh-services-v4-stage-card__links a:hover,
  .rh-services-v4-stage-fallback a:hover {
    transform: none;
  }
}

/* Keep service modal radio labels readable on white modal surfaces. */
.rh-services-v4-body [x-show*="FormOpen"] label:has(input[type="radio"]) {
  color: #111827;
}

.rh-services-v4-body [x-show*="FormOpen"] input[type="radio"] {
  accent-color: #111827;
  color: #111827;
  border-color: #111827;
}

.rh-services-v4-body [x-show*="FormOpen"] input[type="radio"]+span {
  color: #111827 !important;
  opacity: 1 !important;
}
