:root {
  --rb-navy: #12396b;
  --rb-navy-deep: #0d1930;
  --rb-teal: #09a7a9;
  --rb-teal-dark: #007f8d;
  --rb-teal-light: #dcf8f7;
  --rb-text: #17395f;
  --rb-muted: #5e7288;
  --rb-white: #ffffff;
  --rb-border: rgba(18, 57, 107, 0.14);
  --rb-radius: 22px;
  --rb-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --rb-font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8fcff; }

/* No shadows anywhere in the whole design */
.rb-home *, .rb-home *::before, .rb-home *::after { box-shadow: none !important; filter: none !important; }

.rb-home {
  width: 100%;
  overflow-x: hidden;
  color: var(--rb-text);
  font-family: var(--rb-font-body);
  background:
    linear-gradient(rgba(255,255,255,0.16), rgba(255,255,255,0.16)),
    url("assets/rahetbelak-home/rb-bg.webp");
  background-size: cover;
  background-position: top center;
  background-repeat: repeat-y;
}

.rb-container { width: min(100% - 48px, 1320px); margin-inline: auto; }

/* The header is intentionally white so the white logo artwork blends in cleanly. */
.rb-header {
  position: relative;
  z-index: 20;
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid rgba(18, 57, 107, 0.08);
}
.rb-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.rb-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.rb-logo img { display: block; width: 300px; height: 150px; object-fit: contain; max-width: 100%; transition: width 0.2s ease, height 0.2s ease; }

.rb-nav { display: flex; align-items: center; justify-content: center; gap: 32px; font-size: 15px; font-weight: 800; }
.rb-nav a { color: #112747; text-decoration: none; position: relative; transition: color 0.2s ease; }
.rb-nav a::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 0; height: 3px; border-radius: 999px; background: var(--rb-teal); transition: width 0.2s ease; }
.rb-nav a:hover, .rb-nav a.is-active { color: var(--rb-teal-dark); }
.rb-nav a:hover::after, .rb-nav a.is-active::after { width: 100%; }

.rb-mobile-toggle { display: none; width: 44px; height: 40px; border: 1px solid var(--rb-border); border-radius: 14px; background: #fff; cursor: pointer; padding: 9px; }
.rb-mobile-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--rb-navy); border-radius: 99px; }

.rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border-radius: 999px; padding: 13px 24px; font: 800 15px/1 var(--rb-font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease; }
.rb-btn-primary { color: #fff; background: linear-gradient(135deg, var(--rb-teal), var(--rb-teal-dark)); }
.rb-btn-primary:hover { background: linear-gradient(135deg, var(--rb-teal-dark), var(--rb-teal-dark)); }
.rb-btn-secondary { color: var(--rb-navy); background: #fff; border-color: var(--rb-border); }
.rb-btn-secondary:hover { background: var(--rb-teal-light); }
.rb-btn-light { color: var(--rb-navy); background: #fff; }
.rb-btn-light:hover { background: var(--rb-teal-light); }

.rb-hero { padding: 26px 0 24px; }
.rb-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 34px; }
.rb-eyebrow { margin: 0 0 11px; color: var(--rb-teal-dark); font-size: 13px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.rb-hero h1, .rb-section-heading h2, .rb-services-intro h2, .rb-about-content h2, .rb-cta-card h2 { margin: 0; color: var(--rb-navy); font-family: var(--rb-font-heading); line-height: 1.04; letter-spacing: -0.035em; }
.rb-hero h1 { max-width: 650px; font-size: clamp(48px, 6vw, 86px); }
.rb-hero h1 span { display: block; color: var(--rb-teal); }
.rb-hero-text { max-width: 560px; margin: 22px 0; color: #183a63; font-size: 19px; line-height: 1.66; }
.rb-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rb-hero-image { display: flex; justify-content: center; }
.rb-hero-image img { display: block; width: 100%; max-height: 560px; object-fit: contain; }

.rb-section { padding: 22px 0; }
.rb-section-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.rb-heading-center { justify-content: center; text-align: center; }
.rb-section-heading h2 { font-size: clamp(28px, 2.55vw, 38px); }
.rb-section-heading span { display: block; width: 58px; height: 3px; border-radius: 999px; background: var(--rb-teal); }

.rb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rb-step-card { min-height: 108px; padding: 18px; border: 1px solid var(--rb-border); border-radius: 18px; background: rgba(255,255,255,0.86); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; text-align: center; }
.rb-step-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--rb-teal), var(--rb-teal-dark)); }
.rb-step-icon svg { width: 24px; height: 24px; fill: currentColor; }
.rb-step-card h3 { margin: 0; color: var(--rb-navy); font-size: 15px; font-weight: 800; }

.rb-services-grid { display: grid; grid-template-columns: 310px 1fr; align-items: center; gap: 34px; }
.rb-services-intro h2 { font-size: clamp(32px, 3.2vw, 46px); }
.rb-about-content h2 { font-size: clamp(30px, 3.1vw, 44px); }
.rb-services-intro p, .rb-about-content p { color: #274766; font-size: 15px; line-height: 1.7; margin: 16px 0 22px; }
.rb-service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rb-service-card { position: relative; display: block; height: 146px; overflow: hidden; border-radius: 18px; background: #fff; text-decoration: none; isolation: isolate; border: 1px solid rgba(18,57,107,0.08); }
.rb-service-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.rb-service-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(4, 30, 58, 0.68), rgba(4, 30, 58, 0.02) 66%); }
.rb-service-card:hover img { transform: scale(1.035); }
.rb-service-overlay { position: absolute; left: 16px; right: 14px; bottom: 13px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #fff; font-weight: 600; font-size: 15px; }
.rb-service-overlay b { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--rb-navy); font-size: 16px; font-weight: 700; }

.rb-experts { padding-top: 18px; }
.rb-expert-carousel { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 2px 0 10px; scrollbar-width: thin; }
.rb-expert-card { flex: 0 0 292px; overflow: hidden; border: 1px solid var(--rb-border); border-radius: 18px; background: #fff; scroll-snap-align: start; }
.rb-expert-photo { display: block; width: 100%; height: 280px; object-fit: cover; object-position: top; }
.rb-expert-body { padding: 16px; }
.rb-expert-body h3 { margin: 0 0 8px; color: var(--rb-navy); font-family: var(--rb-font-heading); font-size: 22px; line-height: 1.08; }
.rb-expert-role { display: inline-flex; margin: 0 0 12px; padding: 7px 10px; border-radius: 999px; background: var(--rb-teal-light); color: var(--rb-teal-dark); font-size: 12px; font-weight: 800; }
.rb-expert-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: var(--rb-text); font-size: 13px; font-weight: 800; }
.rb-card-btn { width: 100%; min-height: 40px; padding: 11px 16px; font-size: 13px; }

.rb-about-grid { display: grid; grid-template-columns: 0.35fr 0.65fr; align-items: center; gap: 30px; }
.rb-check-list { list-style: none; padding: 0; margin: 0; }
.rb-check-list li { position: relative; margin: 12px 0; padding-left: 32px; color: var(--rb-text); font-size: 15px; font-weight: 700; }
.rb-check-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid var(--rb-teal); border-radius: 50%; color: var(--rb-teal); font-size: 12px; font-weight: 900; }
.rb-about-collage { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; grid-template-rows: 138px 188px; gap: 14px; }
.rb-about-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 19px; border: 1px solid rgba(18,57,107,0.08); }
.rb-about-img-large { grid-column: 2; grid-row: 1 / 3; }
.rb-quote-card { position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%); width: 230px; min-height: 132px; padding: 22px; display: grid; place-items: center; border-radius: 22px; background: rgba(255,255,255,0.93); border: 1px solid rgba(18,57,107,0.08); text-align: center; }
.rb-quote-card strong { color: var(--rb-teal); font-family: var(--rb-font-heading); font-size: 46px; line-height: 0.5; }
.rb-quote-card p { margin: 0; color: var(--rb-navy); font-family: var(--rb-font-heading); font-size: 18px; font-weight: 700; line-height: 1.32; }

.rb-cta-section { padding: 22px 0 34px; }
.rb-cta-card { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; border-radius: 26px; padding: 30px 54px; color: #fff; background: linear-gradient(90deg, rgba(0,130,150,0.88), rgba(6,166,166,0.52), rgba(255,255,255,0.06)), url("assets/rahetbelak-home/trauma-therapy.webp"); background-size: cover; background-position: center; }
.rb-cta-card h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); }
.rb-cta-card p { margin: 8px 0 0; font-size: 17px; line-height: 1.4; }

.rb-footer { padding: 34px 0 20px; background: rgba(255,255,255,0.76); border-top: 1px solid var(--rb-border); color: #405a78; }
.rb-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 44px; }
.rb-footer-brand img { display: block; width: 170px; max-width: 100%; height: auto; margin-bottom: 14px; background: transparent; border-radius: 0; padding: 0; }
.rb-footer h3 { margin: 0 0 14px; color: var(--rb-navy); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 800; }
.rb-footer p, .rb-footer a { color: #405a78; font-size: 14px; line-height: 1.65; }
.rb-footer a { display: block; margin: 5px 0; text-decoration: none; }
.rb-footer a:hover { color: var(--rb-teal-dark); }
.rb-footer-bottom { margin-top: 28px; padding-top: 0; border-top: 0; text-align: center; }
.rb-footer-bottom p { margin: 0; color: #6a7d91; font-size: 13px; }
.rb-mobile-scroll-dots { display: none; }
.rb-mobile-scroll-dots button { appearance: none; border: 0; padding: 0; margin: 0; border-radius: 50%; background: #c3f9ed; opacity: 0.32; cursor: pointer; }
.rb-mobile-scroll-dots button.is-active { opacity: 0.95; }
.rb-mobile-sticky-cta { display: none; }

@media (max-width: 1180px) {
  .rb-header-inner { gap: 18px; }
  .rb-nav { gap: 20px; }
  .rb-steps { grid-template-columns: repeat(2, 1fr); }
  .rb-hero-grid, .rb-services-grid, .rb-about-grid { grid-template-columns: 1fr; }
  .rb-hero-content, .rb-services-intro, .rb-about-content { text-align: center; max-width: 760px; margin-inline: auto; }
  .rb-hero h1, .rb-hero-text { margin-left: auto; margin-right: auto; }
  .rb-actions { justify-content: center; }
}

@media (max-width: 900px) {
  .rb-mobile-toggle { display: block; order: 3; }
  .rb-header-cta { display: none; }
  .rb-nav { position: absolute; left: 24px; right: 24px; top: calc(100% + 6px); display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--rb-border); border-radius: 18px; background: #fff; padding: 10px; }
  .rb-nav.is-open { display: flex; }
  .rb-nav a { padding: 13px 15px; border-radius: 13px; }
  .rb-nav a::after { display: none; }
  .rb-nav a:hover, .rb-nav a.is-active { background: var(--rb-teal-light); }
  .rb-service-cards, .rb-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  body { padding-bottom: 74px; }
  .rb-home { background-size: 980px auto; background-position: top center; }
  .rb-container { width: min(100% - 26px, 1320px); }
  .rb-header { position: sticky; top: 0; z-index: 40; padding: 9px 0; background: #fff; border-bottom: 1px solid rgba(18,57,107,0.08); }
  .rb-header-inner { min-height: 54px; }
  .rb-logo img { width: 180px; height: 90px; }
  .rb-mobile-toggle { width: 42px; height: 42px; border-radius: 14px; background: #fff; }
  .rb-nav { left: 13px; right: 13px; top: calc(100% + 8px); border-radius: 20px; }
  .rb-hero { padding: 14px 0 10px; }
  .rb-hero-grid { display: block; position: relative; min-height: 540px; padding-top: 300px; }
  .rb-hero-image { position: absolute; inset: 0 0 auto 0; height: 360px; z-index: 0; border-radius: 28px; overflow: hidden; border: 1px solid rgba(18,57,107,0.08); }
  .rb-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.50) 65%, rgba(255,255,255,0.92)); pointer-events: none; }
  .rb-hero-image img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 57% center; }
  .rb-hero-content { position: relative; z-index: 2; max-width: none; margin: 0 8px; padding: 22px 18px 20px; border: 1px solid rgba(18,57,107,0.08); border-radius: 26px; background: rgba(255,255,255,0.9); text-align: left; }
  .rb-eyebrow { font-size: 10px; letter-spacing: 0.08em; margin-bottom: 8px; }
  .rb-hero h1 { font-size: clamp(37px, 11vw, 50px); line-height: 0.98; margin: 0; }
  .rb-hero-text { font-size: 14px; line-height: 1.54; margin: 13px 0 17px; }
  .rb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .rb-actions .rb-btn { width: 100%; min-height: 44px; padding: 12px 10px; font-size: 13px; }
  .rb-section { padding: 15px 0; }
  .rb-section-heading { margin-bottom: 12px; }
  .rb-section-heading h2 { font-size: 24px; }
  .rb-section-heading span { width: 30px; }
  .rb-mobile-scroll-dots { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 auto 4px; }
  .rb-mobile-scroll-dots button { width: 7px; height: 7px; }
  .rb-steps { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 13px 10px; margin-left: -13px; margin-right: -13px; scrollbar-width: none; }
  .rb-steps::-webkit-scrollbar, .rb-service-cards::-webkit-scrollbar, .rb-expert-carousel::-webkit-scrollbar { display: none; }
  .rb-step-card { flex: 0 0 170px; min-height: 88px; padding: 14px 12px; scroll-snap-align: start; border-radius: 18px; gap: 9px; }
  .rb-step-icon { width: 38px; height: 38px; border-radius: 12px; }
  .rb-step-icon svg { width: 20px; height: 20px; }
  .rb-step-card h3 { font-size: 12px; line-height: 1.25; }
  .rb-services-grid { display: block; }
  .rb-services-intro { text-align: left; margin: 0; padding: 0 2px; }
  .rb-services-intro h2 { font-size: 30px; max-width: 330px; }
  .rb-services-intro p { display: none; }
  .rb-services-intro .rb-btn { width: auto; margin-top: 12px; padding: 11px 17px; min-height: 42px; font-size: 13px; }
  .rb-service-cards { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 17px 13px 10px; margin-left: -13px; margin-right: -13px; scrollbar-width: none; }
  .rb-service-card { flex: 0 0 236px; height: 142px; scroll-snap-align: start; border-radius: 20px; }
  .rb-service-overlay { left: 13px; right: 13px; bottom: 12px; font-size: 13px; font-weight: 600; }
  .rb-service-overlay b { width: 31px; height: 31px; flex-basis: 31px; }
  .rb-experts { padding-top: 8px; }
  .rb-expert-carousel { gap: 12px; padding: 6px 13px 12px; margin-left: -13px; margin-right: -13px; scrollbar-width: none; }
  .rb-expert-card { flex: 0 0 236px; border-radius: 20px; }
  .rb-expert-photo { height: 220px; }
  .rb-expert-body { padding: 14px; }
  .rb-expert-body h3 { font-size: 19px; }
  .rb-expert-role { font-size: 11px; padding: 6px 9px; margin-bottom: 10px; }
  .rb-expert-meta { font-size: 11px; margin-bottom: 10px; }
  .rb-card-btn { min-height: 39px; padding: 10px 13px; font-size: 12px; }
  .rb-about-grid { display: block; }
  .rb-about-content { text-align: left; max-width: none; padding: 20px 16px; border-radius: 26px; background: rgba(255,255,255,0.82); border: 1px solid rgba(18,57,107,0.08); }
  .rb-about-content h2 { font-size: 29px; }
  .rb-about-content p { font-size: 13px; line-height: 1.58; margin: 12px 0 14px; }
  .rb-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rb-check-list li { margin: 0; padding: 9px 9px 9px 32px; border-radius: 15px; background: rgba(223,248,247,0.58); font-size: 11px; line-height: 1.25; }
  .rb-check-list li::before { left: 9px; top: 9px; width: 16px; height: 16px; font-size: 10px; border-width: 1.5px; }
  .rb-about-collage { display: block; position: relative; margin-top: 12px; }
  .rb-about-img-small { display: none !important; }
  .rb-about-img-large { display: block; height: 190px; border-radius: 26px; }
  .rb-quote-card { position: absolute; left: 14px; right: 14px; bottom: 12px; width: auto; min-height: auto; padding: 14px 16px; border-radius: 19px; transform: none; display: block; text-align: left; }
  .rb-quote-card strong { display: none; }
  .rb-quote-card p { font-size: 16px; }
  .rb-cta-section { padding: 16px 0 18px; }
  .rb-cta-card { min-height: auto; padding: 22px 18px; border-radius: 25px; flex-direction: column; align-items: flex-start; text-align: left; }
  .rb-cta-card h2 { font-size: 29px; }
  .rb-cta-card p { font-size: 13px; margin: 7px 0 14px; }
  .rb-cta-card .rb-btn { width: 100%; }
  .rb-footer { padding: 26px 0 22px; background: rgba(255,255,255,0.82); }
  .rb-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .rb-footer-brand { grid-column: 1 / -1; }
  .rb-footer-brand img { width: 142px; }
  .rb-footer-col:nth-of-type(3) { grid-column: 1 / -1; }
  .rb-footer a, .rb-footer p { font-size: 12px; }
  .rb-footer-bottom { padding-bottom: 8px; text-align: center; }
  .rb-mobile-sticky-cta { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 80; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 900; background: linear-gradient(135deg, var(--rb-teal), var(--rb-teal-dark)); }
}

@media (max-width: 380px) {
  .rb-hero-grid { min-height: 515px; padding-top: 280px; }
  .rb-hero-image { height: 335px; }
  .rb-hero-content { padding: 19px 15px; }
  .rb-hero h1 { font-size: 36px; }
  .rb-actions { grid-template-columns: 1fr; }
  .rb-service-card, .rb-expert-card { flex-basis: 222px; }
  .rb-check-list { grid-template-columns: 1fr; }
}

/* Fix 5 — sticky homepage header (desktop) with scroll-aware logo size */
.rb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: padding 0.2s ease;
}
.rb-header.is-scrolled { padding: 6px 0; }
.rb-header.is-scrolled .rb-logo img { width: 140px; height: 70px; }

/* Mobile auth links inside the hamburger nav */
.rb-mobile-auth-link {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--rb-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--rb-navy);
  text-decoration: none;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
