/* Modern homepage. All rules scoped under .rh */
.rh {
  --rh-teal: #04c1a7;
  --rh-teal-2: #02a58f;
  --rh-navy: #001935;
  --rh-navy-2: #0b2544;
  --rh-ink: #0f1f33;
  --rh-muted: #5d6f85;
  --rh-line: #e6ebf1;
  --rh-soft: #f5f8fb;
  font-family: var(--rc-font);
  color: var(--rh-ink);
}
.rh h1, .rh h2, .rh h5 { font-family: var(--rc-font); }

/* Buttons */
.rh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.rh-btn i { transition: transform .15s ease; }
.rh-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.rh-btn-primary {
  background: linear-gradient(135deg, var(--rh-teal), var(--rh-teal-2));
  color: #fff !important;
  box-shadow: 0 12px 28px -12px rgba(4, 193, 167, .7);
}
.rh-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(4, 193, 167, .8); }
.rh-btn-ghost {
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .18);
  color: #fff !important;
}
.rh-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.rh-btn-outline {
  border: 1.5px solid var(--rh-teal);
  color: var(--rh-teal-2) !important;
  background: transparent;
}
.rh-btn-outline:hover { background: var(--rh-teal); color: #fff !important; }

/* Hero */
.rh-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 60px;
  color: #fff;
  background:
    radial-gradient(900px 480px at 88% 20%, rgba(4, 193, 167, .18), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(24, 111, 201, .18), transparent 60%),
    linear-gradient(180deg, #00132a 0%, var(--rh-navy) 60%, #03203f 100%);
}
.rh-hero-glow {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}
.rh-hero .container { position: relative; z-index: 1; }

/* Full-bleed hero photo */
.rh-hero--image {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 48px;
  background: #001226;
}
.rh-hero--image .container { width: 100%; }
.rh-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: rh-hero-zoom 18s ease-out forwards;
}
@keyframes rh-hero-zoom { to { transform: scale(1); } }
.rh-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 18, 38, .92) 0%, rgba(0, 18, 38, .78) 32%, rgba(0, 18, 38, .25) 62%, rgba(0, 18, 38, 0) 80%),
    linear-gradient(180deg, rgba(0, 18, 38, .55) 0%, rgba(0, 18, 38, 0) 22%, rgba(0, 18, 38, 0) 70%, rgba(0, 18, 38, .85) 100%);
  pointer-events: none;
}
.rh-hero--image h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.rh-hero--image .rh-hero-sub { color: rgba(255, 255, 255, .82); }
.rh-hero--image .rh-trending { border-top-color: rgba(255, 255, 255, .14); }
.rh-hero--image .rh-trending-list a {
  background: rgba(0, 18, 38, .45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (prefers-reduced-motion: reduce) { .rh-hero-bg { animation: none; transform: none; } }
@media (max-width: 991.98px) {
  .rh-hero--image { min-height: 0; padding: 130px 0 48px; }
  .rh-hero-bg { background-position: 78% center; }
  .rh-hero-shade {
    background: linear-gradient(180deg, rgba(0, 18, 38, .7) 0%, rgba(0, 18, 38, .78) 45%, rgba(0, 18, 38, .92) 100%);
  }
}
.rh-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(4, 193, 167, .12);
  border: 1px solid rgba(4, 193, 167, .3);
  color: #7ff0de;
  font-size: 13px;
  font-weight: 500;
}
.rh-hero h1 {
  color: #fff;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.035em;
  margin: 22px 0 18px;
}
.rh-hero-sub {
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 32px;
}
.rh-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.rh-hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.rh-hero-trust li { color: rgba(255, 255, 255, .75); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.rh-hero-trust i { color: var(--rh-teal); }

.rh-hero-visual { position: relative; height: 460px; margin-left: 20px; }
.rh-hero-img {
  position: absolute;
  inset: 0 0 0 30px;
  border-radius: 28px;
  background-size: cover;
  background-position: 70% center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  border: 1px solid rgba(255, 255, 255, .1);
}
.rh-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(200deg, transparent 40%, rgba(0, 25, 53, .55));
}
.rh-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(11, 37, 68, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  animation: rh-float 6s ease-in-out infinite;
}
.rh-float strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.rh-float small { color: rgba(255, 255, 255, .6); font-size: 12px; }
.rh-float-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rh-teal), var(--rh-teal-2));
  color: #fff;
}
.rh-float-1 { left: 0; bottom: 60px; }
.rh-float-2 { right: -10px; top: 40px; animation-delay: -3s; }
@keyframes rh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .rh-float { animation: none; } }

.rh-trending {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.rh-trending-label { color: rgba(255, 255, 255, .6); font-size: 13px; font-weight: 600; white-space: nowrap; }
.rh-trending-label i { color: #ff8a5b; margin-right: 4px; }
.rh-trending-list { display: flex; flex-wrap: wrap; gap: 10px; }
.rh-trending-list a {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rh-trending-list a:hover { background: rgba(4, 193, 167, .15); border-color: rgba(4, 193, 167, .45); color: #fff; }

/* Sections */
.rh-section { padding: 96px 0; background: #fff; }
.rh-section + .rh-section { padding-top: 0; }
.rh-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.rh-head-split { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.rh-eyebrow {
  display: inline-block;
  color: var(--rh-teal-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.rh-head h2, .rh-h2 {
  color: var(--rh-ink);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0;
}
.rh-h2 { margin-bottom: 18px; }
.rh-lead { color: var(--rh-muted); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.rh-link { color: var(--rh-teal-2); font-weight: 600; white-space: nowrap; }
.rh-link:hover { color: var(--rh-teal); }
.rh-link i { margin-left: 6px; }

/* Steps */
.rh-step {
  position: relative;
  height: 100%;
  padding: 34px 30px;
  border-radius: 20px;
  background: var(--rh-soft);
  border: 1px solid var(--rh-line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.rh-step:hover { transform: translateY(-4px); background: #fff; border-color: rgba(4, 193, 167, .35); box-shadow: 0 24px 48px -24px rgba(0, 25, 53, .25); }
.rh-step-no { position: absolute; top: 26px; right: 28px; color: #d3dbe4; font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.rh-step-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rh-navy);
  color: var(--rh-teal);
  font-size: 22px;
  margin-bottom: 22px;
}
.rh-step h5 { color: var(--rh-ink); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.rh-step p { color: var(--rh-muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* About */
.rh-about { background: var(--rh-soft); padding-top: 96px !important; }
.rh-about-media {
  position: relative;
  border-radius: 28px;
  padding: 36px;
  background: linear-gradient(145deg, #fff, #eef3f8);
  border: 1px solid var(--rh-line);
  box-shadow: 0 30px 60px -30px rgba(0, 25, 53, .25);
}
.rh-about-media img { width: 100%; height: auto; display: block; }
.rh-checks { list-style: none; padding: 0; margin: 0 0 28px; }
.rh-checks li { display: flex; align-items: center; gap: 12px; color: var(--rh-ink); font-size: 15px; margin-bottom: 14px; }
.rh-checks i {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 193, 167, .14);
  color: var(--rh-teal-2);
  font-size: 12px;
}

/* Service + post cards */
.rh-services { padding-top: 96px !important; }
.rh-card, .rh-post {
  display: block;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rh-line);
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rh-card:hover, .rh-post:hover { transform: translateY(-6px); border-color: rgba(4, 193, 167, .35); box-shadow: 0 30px 60px -30px rgba(0, 25, 53, .35); }
.rh-card-img, .rh-post-img { position: relative; aspect-ratio: 16 / 10; background: var(--rh-soft); overflow: hidden; }
.rh-card-img img, .rh-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rh-card:hover img, .rh-post:hover img { transform: scale(1.05); }
.rh-card-badge {
  position: absolute; left: 20px; bottom: -22px;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rh-navy);
  color: var(--rh-teal);
  font-size: 18px;
  border: 3px solid #fff;
}
.rh-card-img { overflow: visible; }
.rh-card-img img { border-radius: 20px 20px 0 0; }
.rh-card-body { padding: 36px 24px 26px; }
.rh-post-body { padding: 22px 24px 26px; }
.rh-card-body h5, .rh-post-body h5 { color: var(--rh-ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.45; margin-bottom: 14px; }
.rh-card-link { color: var(--rh-teal-2); font-size: 14px; font-weight: 600; }
.rh-card-link i { margin-left: 6px; transition: transform .15s ease; }
.rh-card:hover .rh-card-link i, .rh-post:hover .rh-card-link i { transform: translateX(4px); }
.rh-post-date { display: inline-block; color: var(--rh-muted); font-size: 13px; margin-bottom: 10px; }
.rh-post-date i { margin-right: 6px; }

/* CTA */
.rh-cta-wrap { padding: 0 0 96px; background: #fff; }
.rh-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 56px 60px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(4, 193, 167, .35), transparent 60%),
    linear-gradient(135deg, var(--rh-navy), var(--rh-navy-2));
  box-shadow: 0 40px 80px -40px rgba(0, 25, 53, .6);
}
.rh-cta h2 { color: #fff; font-size: 32px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.rh-cta p { color: rgba(255, 255, 255, .7); font-size: 16px; margin: 0; }
.rh-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

@media (max-width: 1199.98px) {
  .rh-hero h1 { font-size: 46px; }
}
@media (max-width: 991.98px) {
  .rh-hero { padding: 120px 0 48px; }
  .rh-hero h1 { font-size: 40px; }
  .rh-section, .rh-about, .rh-services { padding: 72px 0 !important; }
  .rh-section + .rh-section:not(.rh-about):not(.rh-services) { padding-top: 0 !important; }
  .rh-head h2, .rh-h2 { font-size: 30px; }
  .rh-cta { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
}
@media (max-width: 575.98px) {
  .rh-hero h1 { font-size: 34px; }
  .rh-hero-sub { font-size: 15.5px; }
  .rh-hero-cta .rh-btn { width: 100%; justify-content: center; }
  .rh-trending { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .rh-head-split { flex-direction: column; align-items: flex-start; }
  .rh-cta h2 { font-size: 26px; }
  .rh-cta-actions, .rh-cta-actions .rh-btn { width: 100%; justify-content: center; }
}
