/*
Theme Name:   Rendell Belen
Theme URI:    https://rendellbelen.com
Description:  Rendell Belen, PHirst Park Homes International Sales Agent.
Author:       Rendell Belen
Author URI:   https://rendellbelen.com
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  rendellbelen-child
Tags:         real-estate, personal-brand, phirst-park-homes
*/

/* ============================================================
   DESIGN TOKENS — change values here to restyle the whole site
   ============================================================ */
:root {
  /* Brand colours */
  --rb-green:        #1F3D2B;
  --rb-green-mid:    #2a5239;
  --rb-green-faint:  #f0f5f1;
  --rb-green-faint2: #e4ede6;
  --rb-gold:         #C8A96A;
  --rb-gold-mid:     #dfc28e;
  --rb-gold-pale:    #f5edda;
  --rb-charcoal:     #1e1e1e;
  --rb-body:         #4a4a4a;
  --rb-muted:        #848484;
  --rb-rule:         #e2ddd6;
  --rb-bg:           #FAFAF8;
  --rb-bg-alt:       #F4F1EB;
  --rb-white:        #ffffff;

  /* Typography */
  --rb-serif: 'Cormorant Garamond', Georgia, serif;
  --rb-sans:  'DM Sans', system-ui, sans-serif;

  /* Spacing scale */
  --rb-section-pad: 7rem 3rem;
  --rb-section-pad-sm: 5rem 1.5rem;
  --rb-max-width: 1240px;

  /* Transitions */
  --rb-transition: 0.22s ease;
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--rb-sans);
  background: var(--rb-bg);
  color: var(--rb-charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* Constrain GeneratePress container */
.grid-container {
  max-width: var(--rb-max-width) !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.rb-display {
  font-family: var(--rb-serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--rb-green);
}

.rb-display-xl { font-size: clamp(40px, 5vw, 72px); }
.rb-display-lg { font-size: clamp(32px, 4vw, 56px); }
.rb-display-md { font-size: clamp(26px, 3vw, 44px); }
.rb-display-sm { font-size: clamp(20px, 2.5vw, 30px); }

.rb-serif-italic {
  font-family: var(--rb-serif);
  font-style: italic;
  font-weight: 400;
}

.rb-body-lg {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--rb-body);
}

.rb-body-md {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--rb-body);
}

.rb-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rb-gold);
}

/* ============================================================
   EYEBROW — reusable section label above headings
   Usage: <div class="rb-eyebrow"><span>Section Name</span></div>
   ============================================================ */
.rb-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.rb-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--rb-gold);
  flex-shrink: 0;
}

.rb-eyebrow span {
  font-size: 10px;
  font-weight: 500;
  color: var(--rb-gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS — reusable across all pages
   ============================================================ */

/* Primary — solid green */
.rb-btn,
.rb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rb-green);
  color: var(--rb-bg) !important;
  font-family: var(--rb-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background var(--rb-transition), transform var(--rb-transition);
  line-height: 1;
}

.rb-btn:hover,
.rb-btn-primary:hover {
  background: var(--rb-green-mid);
  transform: translateY(-1px);
}

/* Ghost — outlined green */
.rb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--rb-green) !important;
  font-family: var(--rb-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 24px;
  border: 1px solid rgba(31,61,43,0.3);
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--rb-transition);
  line-height: 1;
}

.rb-btn-ghost:hover {
  border-color: var(--rb-green);
  background: var(--rb-green-faint);
}

/* Text link with underline */
.rb-link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--rb-green) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-bottom: 1px solid var(--rb-gold);
  padding-bottom: 3px;
  transition: color var(--rb-transition);
}

.rb-link-underline:hover { color: var(--rb-gold) !important; }

.rb-link-underline svg,
.rb-btn svg,
.rb-btn-primary svg,
.rb-btn-ghost svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform var(--rb-transition);
}

.rb-link-underline:hover svg,
.rb-btn:hover svg,
.rb-btn-primary:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   SECTIONS — layout wrappers
   ============================================================ */
.rb-section {
  padding: var(--rb-section-pad);
}

.rb-section-alt {
  padding: var(--rb-section-pad);
  background: var(--rb-bg-alt);
}

.rb-section-green {
  padding: var(--rb-section-pad);
  background: var(--rb-green);
}

.rb-section-green-faint {
  padding: var(--rb-section-pad);
  background: var(--rb-green-faint);
  border-top: 1px solid var(--rb-green-faint2);
}

.rb-container {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   RULE / DIVIDER
   ============================================================ */
.rb-rule {
  border: none;
  border-top: 1px solid var(--rb-rule);
  margin: 3rem 0;
}

.rb-rule-gold {
  border: none;
  border-top: 1px solid var(--rb-gold);
  margin: 2rem 0;
  opacity: 0.4;
}

/* Gold top border on sections */
.rb-border-gold-top {
  border-top: 3px solid var(--rb-gold);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header,
.site-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rb-rule) !important;
  height: 68px;
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled,
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(31,61,43,0.08);
}

.header-inner,
#site-header .inside-header {
  max-width: var(--rb-max-width) !important;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
}

/* Logo */
.rb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.rb-logo-mono {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--rb-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rb-logo-mono span {
  font-family: var(--rb-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--rb-green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.rb-logo-mono .rb-b {
  border-bottom: 2px solid var(--rb-gold);
  padding-bottom: 1px;
}

.rb-logo-text { display: flex; flex-direction: column; line-height: 1; }

.rb-logo-name {
  font-family: var(--rb-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--rb-green);
  letter-spacing: 0.02em;
}

.rb-logo-tagline {
  font-size: 9px;
  font-weight: 500;
  color: var(--rb-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Nav links */
.main-navigation ul,
#site-navigation ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}

.main-navigation ul li a,
#site-navigation ul li a {
  font-size: 13px;
  font-weight: 400;
  color: var(--rb-body) !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition: color var(--rb-transition);
  padding: 0;
  background: none;
}

.main-navigation ul li a:hover,
#site-navigation ul li a:hover {
  color: var(--rb-green) !important;
}

/* Header CTAs */
.rb-header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Offset page content for fixed header */
body {
  padding-top: 68px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.rb-hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--rb-bg);
  position: relative;
  overflow: hidden;
}

.rb-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 3rem;
  position: relative;
}

.rb-hero-left::before {
  content: '';
  position: absolute;
  top: 0; left: 3rem; right: 0;
  height: 1px;
  background: var(--rb-rule);
}

.rb-hero-right {
  position: relative;
  background: var(--rb-bg-alt);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 520px;
}

.rb-hero-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(31,61,43,0.06), transparent);
  z-index: 1;
}

.rb-hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle, var(--rb-green) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Photo placeholder / actual photo */
.rb-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.rb-hero-photo-placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 3rem;
  gap: 14px;
  min-height: 100%;
}

.rb-photo-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(31,61,43,0.2);
  background: rgba(31,61,43,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rb-photo-hint {
  font-size: 11px;
  color: rgba(31,61,43,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Floating credential card */
.rb-cred-card {
  position: absolute;
  bottom: 3rem;
  left: -2.5rem;
  background: var(--rb-white);
  border: 1px solid var(--rb-rule);
  border-left: 3px solid var(--rb-gold);
  padding: 1.25rem 1.5rem;
  z-index: 10;
  box-shadow: 0 8px 40px rgba(31,61,43,0.1);
  min-width: 210px;
}

.rb-cred-card-num {
  font-family: var(--rb-serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--rb-green);
  line-height: 1;
  display: block;
}

.rb-cred-card-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--rb-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

.rb-hero-side-tag {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 9px;
  font-weight: 500;
  color: rgba(31,61,43,0.25);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
}

.rb-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
}

.rb-hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--rb-gold);
}

.rb-hero-label span {
  font-size: 10px;
  font-weight: 500;
  color: var(--rb-gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rb-hero-h1 {
  font-family: var(--rb-serif);
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 600;
  color: var(--rb-green);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

/* Gold underline on key word */
.rb-hero-h1 .rb-underline-gold {
  position: relative;
  display: inline-block;
}

.rb-hero-h1 .rb-underline-gold::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 2px;
  background: var(--rb-gold);
}

.rb-hero-sub {
  font-family: var(--rb-serif);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  font-style: italic;
  color: var(--rb-muted);
  line-height: 1.4;
  margin-bottom: 2.25rem;
}

.rb-hero-body {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--rb-body);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.rb-hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.rb-cred-strip {
  background: var(--rb-green);
  border-top: 3px solid var(--rb-gold);
}

.rb-cred-strip-inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rb-cred-stat {
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(247,247,245,0.1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rb-cred-stat:last-child { border-right: none; }

.rb-cred-num {
  font-family: var(--rb-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--rb-bg);
  line-height: 1;
}

.rb-cred-label {
  font-size: 10px;
  font-weight: 400;
  color: rgba(247,247,245,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   WHY RENDELL — sticky left / list right
   ============================================================ */
.rb-why-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 6rem;
  align-items: start;
}

.rb-why-sticky {
  position: sticky;
  top: 88px;
}

.rb-why-cards { display: flex; flex-direction: column; gap: 0; }

.rb-why-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rb-rule);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.rb-why-card:first-child { border-top: 1px solid var(--rb-rule); }

.rb-why-card-num {
  font-family: var(--rb-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--rb-gold);
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.rb-why-card-content h3 {
  font-family: var(--rb-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--rb-green);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.rb-why-card-content p {
  font-size: 14px;
  font-weight: 300;
  color: var(--rb-body);
  line-height: 1.7;
}

/* ============================================================
   PROPERTY CARDS — grid layout
   ============================================================ */
.rb-properties-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Decorative corner mark */
.rb-corner-mark {
  position: absolute;
  width: 80px; height: 80px;
  pointer-events: none;
}

.rb-corner-mark-tr { top: 3rem; right: 3rem; border-top: 1px solid var(--rb-gold); border-right: 1px solid var(--rb-gold); opacity: 0.4; }
.rb-corner-mark-bl { bottom: 3rem; left: 3rem;  border-bottom: 1px solid var(--rb-gold); border-left: 1px solid var(--rb-gold); opacity: 0.4; }
.rb-corner-mark-br { bottom: 3rem; right: 3rem; border-bottom: 1px solid var(--rb-gold); border-right: 1px solid var(--rb-gold); opacity: 0.4; }

.rb-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--rb-rule);
}

.rb-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--rb-rule);
}

.rb-card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--rb-rule);
}

/* Base property card */
.rb-prop-card {
  background: var(--rb-white);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  position: relative;
  transition: background var(--rb-transition);
}

.rb-prop-card:hover { background: var(--rb-green-faint); }

.rb-prop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rb-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.rb-prop-card:hover::before { transform: scaleX(1); }

.rb-prop-img {
  width: 100%;
  aspect-ratio: 5/4;
  background: var(--rb-green-faint2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rb-rule);
}

/* When real image is used */
.rb-prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.rb-prop-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.rb-prop-img-placeholder svg {
  width: 26px; height: 26px;
  color: rgba(31,61,43,0.2);
}

.rb-prop-img-hint {
  font-size: 9px;
  color: rgba(31,61,43,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Province/location badge */
.rb-province-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--rb-green);
  color: var(--rb-gold);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

/* "New" badge */
.rb-badge-new {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--rb-gold);
  color: var(--rb-green);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.rb-prop-body {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rb-prop-name {
  font-family: var(--rb-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--rb-green);
  line-height: 1.2;
}

.rb-prop-loc {
  font-size: 11px;
  font-weight: 400;
  color: var(--rb-muted);
  letter-spacing: 0.04em;
}

.rb-prop-pitch {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--rb-body);
  line-height: 1.6;
  margin-top: 6px;
  flex: 1;
}

.rb-prop-footer {
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rb-rule);
  margin-top: auto;
}

.rb-prop-cta {
  font-size: 10px;
  font-weight: 500;
  color: var(--rb-green) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.rb-prop-cta svg { width: 12px; height: 12px; transition: transform var(--rb-transition); }
.rb-prop-card:hover .rb-prop-cta svg { transform: translateX(3px); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.rb-process-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rb-rule);
}

.rb-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.rb-process-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 1px;
  background: linear-gradient(to right, var(--rb-gold), rgba(200,169,106,0.2));
}

.rb-step { padding-right: 2rem; position: relative; z-index: 1; }

.rb-step-node {
  width: 44px; height: 44px;
  border: 1px solid var(--rb-gold);
  background: var(--rb-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.rb-step-node span {
  font-family: var(--rb-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--rb-gold);
}

.rb-step-title {
  font-family: var(--rb-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--rb-green);
  margin-bottom: 0.6rem;
}

.rb-step-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--rb-body);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.rb-testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--rb-green-faint2);
}

.rb-testimonial-card {
  background: var(--rb-bg);
  padding: 2.25rem 2rem;
}

.rb-t-mark {
  font-family: var(--rb-serif);
  font-size: 52px;
  font-weight: 600;
  color: var(--rb-gold);
  line-height: 0.7;
  margin-bottom: 1.25rem;
  display: block;
  opacity: 0.5;
}

.rb-t-text {
  font-family: var(--rb-serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: var(--rb-charcoal);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.rb-t-author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--rb-green);
  display: block;
}

.rb-t-author-detail {
  font-size: 11px;
  font-weight: 300;
  color: var(--rb-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
  display: block;
}

/* ============================================================
   FINAL CTA BLOCK — reusable across pages
   ============================================================ */
.rb-cta-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.rb-cta-block .rb-display { margin: 1.25rem 0 1rem; }

.rb-cta-block p {
  font-size: 15px;
  font-weight: 300;
  color: var(--rb-body);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.rb-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT FORM 7 — styled to match design system
   ============================================================ */
.wpcf7-form label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--rb-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--rb-rule);
  background: var(--rb-white);
  padding: 11px 14px;
  font-family: var(--rb-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--rb-charcoal);
  outline: none;
  transition: border-color var(--rb-transition);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--rb-green);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #c0bdb8;
}

.wpcf7-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23848484' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.wpcf7-form textarea { resize: vertical; min-height: 100px; }

.wpcf7-form .rb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.wpcf7-form .rb-form-field { display: flex; flex-direction: column; }
.wpcf7-form .rb-form-field.rb-full { grid-column: 1 / -1; }

/* Submit button */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  width: 100%;
  background: var(--rb-green) !important;
  color: var(--rb-bg) !important;
  font-family: var(--rb-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 15px !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  transition: background var(--rb-transition) !important;
  margin-top: 4px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--rb-green-mid) !important;
}

/* Validation messages */
.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}

.wpcf7 .wpcf7-response-output {
  font-size: 13px;
  padding: 12px 16px;
  border-left: 3px solid var(--rb-gold);
  margin-top: 1rem;
  background: var(--rb-green-faint);
  border-right: none;
  border-top: none;
  border-bottom: none;
}

/* ============================================================
   BUYER GUIDE / BLOG — article styles
   ============================================================ */
.rb-article-header {
  padding: 5rem 3rem 3rem;
  background: var(--rb-bg-alt);
  border-bottom: 1px solid var(--rb-rule);
}

.rb-article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 3rem 5rem;
}

.rb-article-body h2 {
  font-family: var(--rb-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--rb-green);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

.rb-article-body h3 {
  font-family: var(--rb-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--rb-green);
  margin: 2rem 0 0.75rem;
}

.rb-article-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--rb-body);
  margin-bottom: 1.25rem;
}

.rb-article-body ul,
.rb-article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.rb-article-body li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--rb-body);
  margin-bottom: 0.5rem;
}

/* Inline CTA callout within articles */
.rb-article-cta-block {
  background: var(--rb-green-faint);
  border-left: 3px solid var(--rb-gold);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rb-article-cta-block p {
  font-family: var(--rb-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--rb-green);
  margin: 0;
  line-height: 1.3;
}

/* ============================================================
   PAGE HERO — reusable inner-page hero (non-homepage)
   ============================================================ */
.rb-page-hero {
  padding: 5rem 3rem;
  background: var(--rb-bg-alt);
  border-bottom: 3px solid var(--rb-gold);
  position: relative;
  overflow: hidden;
}

.rb-page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(circle, var(--rb-green) 1px, transparent 1px);
  background-size: 28px 28px;
}

.rb-page-hero-inner { max-width: var(--rb-max-width); margin: 0 auto; position: relative; z-index: 2; }

/* ============================================================
   ABOUT PAGE — two-col story layout
   ============================================================ */
.rb-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.rb-credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--rb-rule);
}

.rb-credential-card {
  background: var(--rb-white);
  padding: 2rem;
  border-top: 2px solid transparent;
  transition: border-color var(--rb-transition), background var(--rb-transition);
}

.rb-credential-card:hover {
  border-top-color: var(--rb-gold);
  background: var(--rb-green-faint);
}

.rb-credential-card h3 {
  font-family: var(--rb-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--rb-green);
  margin-bottom: 0.5rem;
}

.rb-credential-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--rb-body);
  line-height: 1.6;
}

/* ============================================================
   FLOATING MESSENGER BUTTON
   ============================================================ */
.rb-messenger-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
}

.rb-messenger-bubble {
  width: 50px; height: 50px;
  background: var(--rb-green);
  border: 2px solid var(--rb-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(31,61,43,0.2);
  cursor: pointer;
  transition: all var(--rb-transition);
  text-decoration: none !important;
}

.rb-messenger-bubble:hover {
  background: var(--rb-green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(31,61,43,0.3);
}

.rb-messenger-bubble svg { width: 20px; height: 20px; color: var(--rb-gold); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer,
.site-footer {
  background: var(--rb-green) !important;
  padding: 2.5rem 3rem !important;
  border-top: 3px solid var(--rb-gold) !important;
}

.rb-footer-inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.rb-footer-logo .rb-logo-name { font-size: 16px; color: var(--rb-bg); }
.rb-footer-logo .rb-logo-tagline { color: var(--rb-gold); }
.rb-footer-logo .rb-logo-mono { border-color: rgba(200,169,106,0.5); }
.rb-footer-logo .rb-logo-mono span { color: var(--rb-bg); }

.rb-footer-copy { font-size: 11px; color: rgba(247,247,245,0.35); letter-spacing: 0.04em; }

.rb-footer-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

.rb-footer-links a {
  font-size: 11px;
  color: rgba(247,247,245,0.4) !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: color var(--rb-transition);
}

.rb-footer-links a:hover { color: var(--rb-gold) !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes rb-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rb-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.rb-anim-1 { animation: rb-fadeUp 0.6s ease 0.1s both; }
.rb-anim-2 { animation: rb-fadeUp 0.7s ease 0.2s both; }
.rb-anim-3 { animation: rb-fadeUp 0.7s ease 0.35s both; }
.rb-anim-4 { animation: rb-fadeUp 0.7s ease 0.5s both; }
.rb-anim-float { animation: rb-fadeIn 1s ease 1.5s both; }

/* ============================================================
   UTILITIES
   ============================================================ */
.rb-text-green   { color: var(--rb-green)   !important; }
.rb-text-gold    { color: var(--rb-gold)    !important; }
.rb-text-muted   { color: var(--rb-muted)   !important; }
.rb-text-white   { color: var(--rb-bg)      !important; }
.rb-text-center  { text-align: center; }
.rb-text-italic  { font-style: italic; }

.rb-bg-green     { background: var(--rb-green); }
.rb-bg-alt       { background: var(--rb-bg-alt); }
.rb-bg-faint     { background: var(--rb-green-faint); }
.rb-bg-white     { background: var(--rb-white); }

.rb-mt-sm { margin-top: 1rem; }
.rb-mt-md { margin-top: 2rem; }
.rb-mt-lg { margin-top: 3rem; }
.rb-mb-sm { margin-bottom: 1rem; }
.rb-mb-md { margin-bottom: 2rem; }
.rb-mb-lg { margin-bottom: 3rem; }

.rb-relative { position: relative; }
.rb-overflow-hidden { overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --rb-section-pad: 5rem 2rem; }

  .rb-hero { grid-template-columns: 1fr; }
  .rb-hero-right { display: none; }
  .rb-hero-left { padding: 5rem 2rem 4rem; }

  .rb-why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .rb-why-sticky { position: static; }

  .rb-card-grid   { grid-template-columns: 1fr 1fr; }
  .rb-card-grid-3 { grid-template-columns: 1fr 1fr; }

  .rb-process-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .rb-process-steps::before { display: none; }
  .rb-process-top { grid-template-columns: 1fr; gap: 2rem; }

  .rb-testimonial-cards { grid-template-columns: 1fr; }
  .rb-cred-strip-inner  { grid-template-columns: 1fr 1fr; }

  .rb-about-grid        { grid-template-columns: 1fr; gap: 3rem; }
  .rb-credentials-grid  { grid-template-columns: 1fr; }

  .grid-container { padding-left: 2rem !important; padding-right: 2rem !important; }
}

@media (max-width: 640px) {
  :root { --rb-section-pad: 4rem 1.25rem; }

  #site-header .inside-header,
  .header-inner { padding: 0 1.25rem; }

  .rb-card-grid   { grid-template-columns: 1fr; }
  .rb-card-grid-3 { grid-template-columns: 1fr; }
  .rb-card-grid-2 { grid-template-columns: 1fr; }

  .rb-process-steps { grid-template-columns: 1fr; }

  .rb-corner-mark { display: none; }

  .rb-about-grid { grid-template-columns: 1fr; }

  .wpcf7-form .rb-form-grid { grid-template-columns: 1fr; }

  .rb-footer-inner { flex-direction: column; align-items: flex-start; }

  .rb-article-body { padding: 2rem 1.25rem 4rem; }
  .rb-article-cta-block { flex-direction: column; align-items: flex-start; }

  .grid-container { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}
