/* ============================================================================
   ResiFort Inner Page Chrome — shared tokens + nav + mobile menu + footer
   Use on every inner page (Contact, Privacy, Terms, About, How It Works, etc.)
   Source of truth: homepage-current.html :root + nav/footer CSS
   ============================================================================ */

/* Skip navigation link (WCAG 2.4.1) */
.rf-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--rf-primary);
  color: #FFFFFF;
  font-family: var(--rf-font-body, sans-serif);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.rf-skip-link:focus {
  top: 0;
}

/* Landing target for the skip link. Zero-size and inert so it never affects
   layout; tabindex -1 in the markup is what lets focus actually land here. */
.rf-skip-target {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}
.rf-skip-target:focus {
  outline: none;
}

:root {
  --rf-primary: #0D6B6E;
  --rf-primary-dark: #094B4D;
  --rf-secondary: #C8963E;
  --rf-bg: #F8F6F1;
  --rf-bg-surface: #FFFFFF;
  --rf-text: #1A1A2E;
  --rf-text-secondary: #697080;
  --rf-text-on-dark: #FFFFFF;
  --rf-cta: #0D6B6E;
  --rf-cta-hover: #094B4D;
  --rf-gold: #C8963E;
  --rf-gold-hover: #B58532;
  --rf-gold-text: #094B4D;
  --rf-border: #D1D5DB;
  --rf-border-light: #E5E7EB;
  --rf-radius-sm: 4px;
  --rf-radius-md: 6px;
  --rf-radius-lg: 8px;
  --rf-radius-xl: 12px;
  --rf-radius-2xl: 20px;
  --rf-shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --rf-shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
  --rf-shadow-colored: 0 20px 25px -5px rgba(13,107,110,0.15);
  --rf-shadow-lift: 0 10px 15px -3px rgba(0,0,0,0.10);
  --rf-gradient-hero: linear-gradient(135deg, #021A1B 0%, #062D2F 50%, #0A4547 100%);
  --rf-gradient-text: linear-gradient(to right, #0D6B6E, #C8963E);
  --rf-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --rf-font-serif: 'Playfair Display', serif;
  --rf-container-max: 1400px;
  --rf-space-section: 80px;
}
@keyframes rf-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Scoped resets — the static master used global `*`/`body`/`a`/`img`/`button`
   resets; inside WordPress those would clash with Houzez, so they are scoped
   to the chrome containers only. (LR-29 chrome discipline.) */
.rf-nav, .rf-nav *, .rf-mobile-menu, .rf-mobile-menu *,
.rf-mobile-sticky, .rf-mobile-sticky *, .rf-footer, .rf-footer * {
  box-sizing: border-box;
}
.rf-nav a, .rf-mobile-menu a, .rf-mobile-sticky a, .rf-footer a { text-decoration: none; }
.rf-nav button, .rf-mobile-menu button { font-family: inherit; cursor: pointer; }
.rf-nav img, .rf-footer img { max-width: 100%; display: block; }

.rf-container { max-width: var(--rf-container-max); margin: 0 auto; padding: 0 24px; }

.rf-eyebrow {
  font-family: var(--rf-font-heading);
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rf-primary);
  margin-bottom: 20px;
}
.rf-gradient-italic {
  font-style: italic; font-family: var(--rf-font-heading); font-weight: 600;
  background: var(--rf-gradient-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  display: inline-block; padding: 0 0.15em 0.08em 0.03em;
}
.rf-link--soon { opacity: 0.55; pointer-events: none; cursor: not-allowed; }
.rf-link--soon::after {
  content: "Soon"; display: inline-block;
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 2px 5px; margin-left: 6px;
  border-radius: 3px; vertical-align: middle; line-height: 1;
  background: rgba(255, 255, 255, 0.15); color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Footer social icons are ICON-ONLY links. The default .rf-link--soon badge
   would stack four "SOON" pills across one short row, which reads as clutter
   rather than as a status. So the row gets ONE pill next to its "Follow"
   label, and the icons keep only the greyed, non-clickable state. */
.rf-footer-social .rf-link--soon::after { content: none; }
.rf-soon-pill {
  display: inline-block;
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 2px 5px; margin-left: 2px; margin-right: 4px;
  border-radius: 3px; vertical-align: middle; line-height: 1;
  background: rgba(255, 255, 255, 0.15); color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rf-nav__dropdown .rf-link--soon::after,
.rf-mobile-menu .rf-link--soon::after,
.rf-nav--scrolled .rf-link--soon::after {
  background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.10);
}

/* ====== NAV ====== */
.rf-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 82px; z-index: 2001;
  background: transparent;
  border-bottom: 1px solid transparent;
  line-height: normal;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  animation: rf-fade-in 0.8s ease forwards;
}
/* WP admin bar offset — logged-in only; the fixed nav must clear the admin bar
   so it isn't covered at the top. Real visitors have no admin bar (no .admin-bar
   on <body>), so this rule never applies to them. */
body.admin-bar .rf-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .rf-nav { top: 46px; }
}
.rf-nav__container {
  max-width: 1440px; margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; justify-content: space-between; align-items: center;
}
.rf-nav__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rf-nav__logo {
  font-family: var(--rf-font-heading); font-weight: 700; font-size: 24px;
  color: #FFFFFF; text-decoration: none; letter-spacing: -0.5px;
  transition: color 300ms ease;
}
.rf-nav__divider { width: 1px; height: 28px; background: rgba(255, 255, 255, 0.25); transition: background 300ms ease; }
.rf-nav__brokerage {
  font-family: var(--rf-font-body); font-size: 12px; font-weight: 400;
  color: rgba(255, 255, 255, 0.7); white-space: nowrap; transition: color 300ms ease;
}
.rf-nav__links {
  display: flex; align-items: center; gap: 28px; list-style: none;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 6px 28px;
  transition: background 300ms ease, border-color 300ms ease;
}
.rf-nav--scrolled .rf-nav__links {
  background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.rf-nav__item { position: relative; }
.rf-nav__link {
  font-family: var(--rf-font-body); font-size: 14px; font-weight: 600;
  line-height: normal;
  color: rgba(255, 255, 255, 0.85); text-decoration: none; letter-spacing: 0.02em;
  padding: 8px 0; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; gap: 4px; transition: color 200ms ease;
}
.rf-nav__link:hover { color: var(--rf-secondary); }
.rf-nav__chevron { width: 12px; height: 12px; transition: transform 200ms ease; }
.rf-nav__item:hover .rf-nav__chevron { transform: rotate(180deg); }
.rf-nav__dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%); background: #FFFFFF;
  border: 1px solid var(--rf-border-light); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 8px 0; min-width: 260px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}
.rf-nav__item:hover .rf-nav__dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.rf-nav__dropdown-item {
  display: block; padding: 10px 20px;
  font-family: var(--rf-font-body); font-size: 14px; font-weight: 500;
  color: var(--rf-text); text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}
.rf-nav__dropdown-item:hover { background: var(--rf-bg); color: var(--rf-primary); }
.rf-nav__actions { flex-shrink: 0; }
/* Gold "money button" — matches homepage master (the inner-page extract had a
   stale white->teal version). Gold fill + dark-teal text + gold halo + lift. */
.rf-nav__cta {
  background: var(--rf-gold); color: var(--rf-gold-text);
  height: 40px; padding: 0 20px;
  border-radius: var(--rf-radius-lg);
  font-family: var(--rf-font-body); font-weight: 700; font-size: 14px;
  line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  text-align: center; text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 6px 16px -6px rgba(200, 150, 62, 0.50);
  transition: background 200ms ease, color 200ms ease,
              transform 200ms ease, box-shadow 220ms ease;
}
.rf-nav__cta:hover {
  background: var(--rf-gold-hover); color: var(--rf-gold-text);
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px -6px rgba(200, 150, 62, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}
.rf-nav--scrolled {
  background: #FFFFFF; border-bottom-color: var(--rf-border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.rf-nav--scrolled .rf-nav__logo { color: var(--rf-text); }
.rf-nav--scrolled .rf-nav__divider { background: var(--rf-border); }
.rf-nav--scrolled .rf-nav__brokerage { color: var(--rf-text-secondary); }
.rf-nav--scrolled .rf-nav__link { color: var(--rf-text); }
.rf-nav--scrolled .rf-nav__link:hover { color: var(--rf-secondary); }
.rf-nav--scrolled .rf-nav__chevron { stroke: var(--rf-text); }
.rf-nav--scrolled .rf-nav__cta {
  background: var(--rf-gold); color: var(--rf-gold-text);
  box-shadow: 0 4px 12px -4px rgba(200, 150, 62, 0.38);
}
.rf-nav--scrolled .rf-nav__cta:hover {
  background: var(--rf-gold-hover); color: var(--rf-gold-text);
  box-shadow:
    0 10px 22px -6px rgba(200, 150, 62, 0.55),
    0 0 0 1px rgba(9, 75, 77, 0.08) inset;
}
.rf-nav--scrolled .rf-nav__hamburger span { background: var(--rf-text); }

.rf-nav__hamburger {
  display: none; background: transparent; border: none; cursor: pointer;
  width: 24px; height: 24px; position: relative; flex-shrink: 0; border-radius: 4px;
}
.rf-nav__hamburger:focus-visible { outline: 2px solid var(--rf-secondary); outline-offset: 4px; }
.rf-nav__hamburger span {
  display: block; width: 24px; height: 2px; background: #FFFFFF;
  position: absolute; left: 0; transform-origin: center;
  transition: top 250ms ease, transform 300ms ease, opacity 200ms ease, background 200ms ease;
}
.rf-nav__hamburger span:nth-child(1) { top: 4px; }
.rf-nav__hamburger span:nth-child(2) { top: 11px; }
.rf-nav__hamburger span:nth-child(3) { top: 18px; }
.rf-nav__hamburger[aria-expanded="true"] span { background: var(--rf-text); }
.rf-nav__hamburger[aria-expanded="true"] span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.rf-nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.rf-nav__hamburger[aria-expanded="true"] span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
@media (max-width: 1199px) {
  .rf-nav__links, .rf-nav__actions { display: none; }
  .rf-nav__hamburger { display: block; }
}
@media (max-width: 767px) {
  .rf-nav__divider { display: none; }
  .rf-nav__brand { flex-direction: column; align-items: flex-start; gap: 2px; }
  .rf-nav__brokerage { font-size: 11px; color: rgba(255, 255, 255, 0.85); }
}

/* ====== MOBILE MENU ====== */
.rf-mobile-menu {
  position: fixed; inset: 0;
  background: #FFFFFF; z-index: 2000;
  padding: 80px 24px 24px;
  display: flex; flex-direction: column;
  line-height: normal;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 300ms ease, visibility 300ms ease, transform 300ms ease;
}
.rf-mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.rf-mobile-menu__nav {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  margin: 0 -24px; padding: 0 24px;
}
.rf-mobile-menu__section { border-bottom: 1px solid var(--rf-border-light); }
.rf-mobile-menu__section-header {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 18px 0; background: none; border: none;
  font-family: var(--rf-font-heading); font-size: 18px; font-weight: 700;
  color: var(--rf-text); cursor: pointer; text-align: left; letter-spacing: -0.01em;
}
.rf-mobile-menu__section-header:focus-visible {
  outline: 2px solid var(--rf-primary); outline-offset: 4px; border-radius: 4px;
}
.rf-mobile-menu__section-icon { width: 22px; height: 22px; color: var(--rf-primary); flex-shrink: 0; stroke: currentColor; }
.rf-mobile-menu__section-chevron {
  margin-left: auto; width: 14px; height: 14px;
  color: var(--rf-text-secondary); transition: transform 200ms ease; stroke: currentColor;
}
.rf-mobile-menu__section[data-open="true"] .rf-mobile-menu__section-chevron { transform: rotate(180deg); }
.rf-mobile-menu__section-body { list-style: none; padding: 0 0 16px 34px; margin: 0; }
.rf-mobile-menu__section[data-open="false"] .rf-mobile-menu__section-body { display: none; }
.rf-mobile-menu__section-link {
  display: flex; align-items: center; padding: 10px 0;
  font-family: var(--rf-font-body); font-size: 15px; font-weight: 500;
  color: var(--rf-text-secondary); text-decoration: none; transition: color 150ms ease;
}
.rf-mobile-menu__section-link:hover, .rf-mobile-menu__section-link:focus-visible { color: var(--rf-primary); }
.rf-mobile-menu__cta-group {
  margin-top: auto; display: flex; flex-direction: column; gap: 10px;
}
.rf-mobile-menu__cta {
  background: var(--rf-cta); color: #FFFFFF;
  text-align: center; padding: 16px;
  min-height: 52px;
  border-radius: 8px;
  font-family: var(--rf-font-body); font-weight: 700; font-size: 16px;
  line-height: 1.15;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  transition: background 200ms ease, color 200ms ease,
              transform 200ms ease, box-shadow 220ms ease;
}
.rf-mobile-menu__cta:hover, .rf-mobile-menu__cta:focus-visible {
  background: var(--rf-cta-hover); color: #FFFFFF;
  transform: translateY(-1px);
}
.rf-mobile-menu__cta__arrow {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.rf-mobile-menu__cta:hover .rf-mobile-menu__cta__arrow,
.rf-mobile-menu__cta:focus-visible .rf-mobile-menu__cta__arrow {
  transform: translateX(4px);
}
/* Mobile menu secondary — Tier 3 text link on LIGHT (white) bg.
   Canonical Variation A per .claude/rules/cta-hierarchy.md:
   teal color, dashed underline default -> solid on hover, gap expand. */
.rf-mobile-menu__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 6px;
  padding: 8px 4px 6px;
  font-family: var(--rf-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--rf-primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--rf-primary);
  transition: color 150ms ease, gap 150ms ease,
              border-bottom-style 150ms ease, border-bottom-color 150ms ease;
}
.rf-mobile-menu__cta-secondary:hover,
.rf-mobile-menu__cta-secondary:focus-visible {
  color: var(--rf-primary-dark);
  gap: 10px;
  border-bottom: 1px solid var(--rf-primary-dark);
}
.rf-mobile-menu__cta-secondary:focus-visible {
  outline: 2px solid var(--rf-primary);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ====== MOBILE STICKY BAR ====== */
.rf-mobile-sticky {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none; gap: 8px; padding: 12px 16px;
  background: #FFFFFF; border-top: 1px solid var(--rf-border-light);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08); z-index: 999;
}
.rf-mobile-sticky__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 8px;
  min-height: 48px;
  border-radius: 8px;
  font-family: var(--rf-font-body); font-size: 15px; font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 200ms ease, color 200ms ease,
              transform 200ms ease, box-shadow 200ms ease,
              border-color 200ms ease;
}
/* Tier 1 gold money button, per homepage master + cta-hierarchy.md (mobile sticky primary = gold). Was drifted to teal from a stale chrome source (LR-55). */
.rf-mobile-sticky__btn--primary { background: var(--rf-gold); color: var(--rf-gold-text); box-shadow: 0 6px 16px -6px rgba(200, 150, 62, 0.45); }
.rf-mobile-sticky__btn--primary:hover,
.rf-mobile-sticky__btn--primary:focus-visible {
  background: var(--rf-gold-hover); color: var(--rf-gold-text);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(200, 150, 62, 0.58), 0 0 0 1px rgba(9, 75, 77, 0.10) inset;
}
.rf-mobile-sticky__btn--secondary { background: transparent; color: var(--rf-cta); border: 2px solid var(--rf-cta); }
.rf-mobile-sticky__btn--secondary:hover,
.rf-mobile-sticky__btn--secondary:focus-visible {
  background: var(--rf-cta); color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(13, 107, 110, 0.35);
}
@media (max-width: 1199px) { .rf-mobile-sticky { display: flex; } body { padding-bottom: 80px; } }

/* ====== FOOTER ====== */
.rf-footer {
  --rf-footer-top: #0B1426;
  --rf-footer-mid: #071021;
  --rf-footer-bottom: #040817;
  --rf-footer-rule: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, var(--rf-footer-top) 0%, var(--rf-footer-mid) 55%, var(--rf-footer-bottom) 100%);
  color: rgba(255, 255, 255, 0.75);
  line-height: normal;
  position: relative; overflow: hidden;
}
.rf-footer::before {
  content: ''; position: absolute; top: -20%; left: -10%;
  width: 45%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(13, 107, 110, 0.28) 0%, transparent 65%);
  pointer-events: none; filter: blur(60px);
}
.rf-footer::after {
  content: ''; position: absolute; bottom: -20%; right: -10%;
  width: 45%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(200, 150, 62, 0.14) 0%, transparent 65%);
  pointer-events: none; filter: blur(60px);
}
.rf-footer-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.rf-footer-inner { max-width: var(--rf-container-max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.rf-footer-upper { padding: 80px 0 64px 0; }
.rf-footer-brand-row {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  margin-bottom: 56px; padding-bottom: 48px;
  border-bottom: 1px solid var(--rf-footer-rule);
}
.rf-footer-brand { max-width: 480px; }
.rf-footer-logo {
  font-family: var(--rf-font-heading); font-size: 32px; font-weight: 800;
  color: #fff; text-decoration: none; display: inline-block;
  margin-bottom: 18px; letter-spacing: -0.5px;
}
.rf-footer-logo sup { font-size: 12px; vertical-align: super; margin-left: 2px; font-weight: 500; }
.rf-footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.72); margin-bottom: 24px; }
.rf-footer-contact-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px; backdrop-filter: blur(6px);
  padding: 10px 18px; color: #fff;
  font-size: 14px; font-weight: 600; line-height: normal;
  text-decoration: none; margin-right: 8px; margin-bottom: 8px;
  transition: all 0.2s ease;
}
.rf-footer-contact-pill:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.32); }
.rf-footer-contact-pill svg { width: 16px; height: 16px; }
.rf-footer-trust { display: flex; flex-direction: column; gap: 16px; }
.rf-footer-trust-label {
  font-family: var(--rf-font-heading); font-size: 11px; font-weight: 700;
  line-height: normal;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
.rf-footer-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rf-footer-trust-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 10px 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--rf-font-heading); font-size: 11px; font-weight: 600;
  line-height: normal;
  color: rgba(255, 255, 255, 0.65); text-align: center;
  letter-spacing: 0.02em; min-height: 58px; transition: all 0.2s ease;
}
.rf-footer-trust-item:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.rf-footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.rf-footer-col-header {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 9999px; backdrop-filter: blur(4px);
  padding: 7px 14px;
  font-family: var(--rf-font-heading); font-size: 11px; font-weight: 700;
  line-height: normal;
  color: #fff; text-transform: uppercase; letter-spacing: 0.10em;
  margin-bottom: 20px;
}
.rf-footer-col-header svg { width: 12px; height: 12px; opacity: 0.75; }
.rf-footer-col-links { list-style: none; margin: 0; padding: 0; } /* zero the Bootstrap/Houzez default ul indent the static master stripped via its global reset (LR-58) — keeps links flush-left under the pill header */
.rf-footer-col-links li { margin-bottom: 10px; }
.rf-footer-col-links a {
  color: rgba(255, 255, 255, 0.68); font-size: 14px;
  text-decoration: none; transition: color 0.2s ease; font-weight: 400;
}
.rf-footer-col-links a:hover { color: #fff; }
.rf-footer-social-row {
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--rf-footer-rule);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.rf-footer-social { display: flex; gap: 12px; align-items: center; }
.rf-footer-social-label {
  font-size: 12px; font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase; letter-spacing: 0.1em; margin-right: 4px;
}
.rf-footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.72); transition: all 0.2s ease;
}
.rf-footer-social a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.rf-footer-social a svg { width: 18px; height: 18px; }
.rf-footer-newsletter { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.rf-footer-newsletter__label {
  font-family: var(--rf-font-body); font-size: 12px; font-weight: 500;
  color: rgba(255, 255, 255, 0.7); letter-spacing: 0.01em; text-align: right;
}
.rf-footer-newsletter__row { display: flex; gap: 8px; align-items: center; }
.rf-footer-newsletter input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px; padding: 11px 16px; color: #fff;
  font-family: var(--rf-font-body); font-size: 13px; min-width: 220px;
}
.rf-footer-newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
/* Houzez themes all form submit buttons teal via `.btn-primary, ... button {
   background: var(--rf-primary) !important }`; !important is required to keep
   this newsletter CTA gold (Rafael's call — a deliberate gold exception). */
.rf-footer-newsletter button {
  background: var(--rf-gold) !important; color: var(--rf-gold-text) !important; border: none;
  padding: 11px 20px; border-radius: 8px;
  font-family: var(--rf-font-heading); font-weight: 700; font-size: 13px;
  cursor: pointer; transition: all 0.2s ease;
}
.rf-footer-newsletter button:hover,
.rf-footer-newsletter button:focus-visible {
  background: var(--rf-gold-hover) !important; color: var(--rf-gold-text) !important; transform: translateY(-1px);
}
.rf-footer-zone-divider { height: 1px; background: var(--rf-footer-rule); }
.rf-footer-lower { padding: 56px 0 40px 0; position: relative; z-index: 1; }
.rf-footer-trust-note {
  text-align: center; font-size: 12px; font-weight: 500;
  color: rgba(255, 255, 255, 0.7); letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0 16px;
  margin: 0 0 24px 0; line-height: 1.4;
}
.rf-footer-compliance-row {
  display: grid; grid-template-columns: auto 1fr; gap: 32px;
  align-items: start; padding-bottom: 32px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}
.rf-fh-emblem { width: 80px; height: 80px; flex-shrink: 0; opacity: 0.78; transition: opacity 0.2s ease; }
.rf-fh-emblem:hover { opacity: 1; }
.rf-footer-entity { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.68); }
.rf-footer-entity strong { color: rgba(255, 255, 255, 0.88); font-weight: 600; }
.rf-footer-entity p { margin-bottom: 10px; }
.rf-footer-entity .rf-disclaimer-strong {
  display: block; padding: 10px 14px;
  background: rgba(200, 150, 62, 0.09);
  border-left: 3px solid rgba(200, 150, 62, 0.55);
  border-radius: 4px; margin: 12px 0;
  color: rgba(255, 255, 255, 0.86); font-weight: 500;
}
.rf-footer-accordion { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.rf-legal-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px; overflow: hidden; transition: all 0.2s ease;
}
.rf-legal-details[open] { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.15); }
.rf-legal-details summary {
  padding: 14px 18px; cursor: pointer;
  font-family: var(--rf-font-heading); font-size: 12px; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase; letter-spacing: 0.06em;
  list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.rf-legal-details summary::-webkit-details-marker { display: none; }
.rf-legal-details summary::after {
  content: '+'; font-size: 18px; font-weight: 400;
  color: rgba(255, 255, 255, 0.55); transition: transform 0.2s ease;
}
.rf-legal-details[open] summary::after { content: '−'; }
.rf-legal-details .rf-legal-body {
  padding: 0 18px 16px 18px;
  font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.62);
}
.rf-legal-details .rf-legal-body p { margin-bottom: 8px; }
.rf-legal-details .rf-legal-body p:last-child { margin-bottom: 0; }
.rf-legal-details .rf-legal-body a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }
.rf-footer-attributions {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.10);
  font-size: 11px; line-height: 1.65;
  color: rgba(255, 255, 255, 0.48);
}
.rf-footer-attributions strong { color: rgba(255, 255, 255, 0.7); font-weight: 600; }
.rf-footer-attributions p { margin-bottom: 6px; }
.rf-footer-bottom {
  padding: 24px 0; border-top: 1px solid var(--rf-footer-rule);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(255, 255, 255, 0.48);
}
.rf-footer-bottom-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rf-footer-bottom-right { display: flex; gap: 20px; flex-wrap: wrap; }
.rf-footer-bottom-right a {
  color: rgba(255, 255, 255, 0.48); text-decoration: none; transition: color 0.2s ease;
}
.rf-footer-bottom-right a:hover { color: #fff; }
@media (max-width: 1024px) {
  .rf-footer-brand-row { grid-template-columns: 1fr; }
  .rf-footer-nav { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rf-footer-accordion { grid-template-columns: 1fr; }
}

/* ============================================================================
   WordPress chrome additions (NOT in the static master)
   - Swappable logos (ACF options): nav wordmark, footer wordmark, partner
     logos, Equal Housing Opportunity emblem. Each falls back to the static
     master's text/SVG when no image is uploaded.
   - WP-managed footer columns: wp_nav_menu() output styling + the per-<li>
     "coming soon" state (admin adds the `rf-link--soon` CSS class to a menu
     item, which lands on the <li>, not the <a>).
   ============================================================================ */

/* --- Nav logo image (two-state: light over transparent nav, dark when scrolled) --- */
.rf-nav__logo-img { height: 30px; width: auto; display: block; }
/* Qualified with .rf-nav__logo so it outranks the generic .rf-nav img reset
   (line 70, specificity 0,0,1,1) which otherwise forces the dark logo visible. */
.rf-nav__logo .rf-nav__logo-img--dark { display: none; }
.rf-nav--scrolled .rf-nav__logo-img--light { display: none; }
.rf-nav--scrolled .rf-nav__logo-img--dark { display: block; }
/* When only one logo image is provided it carries the --light class and is
   re-shown on scroll so the brand never disappears. */
.rf-nav--scrolled .rf-nav__logo-img--light.rf-nav__logo-img--solo { display: block; }

/* --- Nav brokerage co-brand wordmark (West USA Realty), added 2026-08-26 ---
   Two treatments ship in the markup; exactly one shows per breakpoint.
   Wide screens get the wordmark image (light over the dark top-of-page bar,
   dark once .rf-nav--scrolled paints it white). Below 768px the brand row
   stacks to a column, so a second image crowds it -- the full "Brokered by
   West USA Realty, Inc." text runs there instead.
   The sibling combinator is deliberate: if the image files ever go missing
   rf_nav_brokerage() prints no .rf-nav__brokerage-mark, the hide rule stops
   matching, and the nav self-heals back to the V1 text treatment.
   Both image rules are qualified to specificity 0,0,2,0 so they outrank the
   generic .rf-nav img reset on line 82 (0,0,1,1) -- same trap the nav logo hit. */
.rf-nav__brokerage-mark { display: none; }
.rf-nav__brokerage-img { height: 23px; width: auto; display: block; }
.rf-nav__brokerage-mark .rf-nav__brokerage-img--dark { display: none; }
.rf-nav--scrolled .rf-nav__brokerage-img--light { display: none; }
.rf-nav--scrolled .rf-nav__brokerage-img--dark { display: block; }
@media (min-width: 768px) {
  .rf-nav__brokerage-mark { display: block; }
  .rf-nav__brokerage-mark ~ .rf-nav__brokerage { display: none; }
}

/* --- Footer logo image (footer is always dark; single image) --- */
.rf-footer-logo-img { height: 40px; width: auto; display: block; margin-bottom: 18px; }

/* --- Footer partner logos (image slots replace the text placeholders) --- */
.rf-footer-trust-item img {
  max-width: 100%; max-height: 52px; width: auto; height: auto;
  object-fit: contain; opacity: 0.9; transition: opacity 0.2s ease;
}
.rf-footer-trust-item:hover img { opacity: 1; }
/* Footer logo strip — per-logo sizing (B1 refined). Repeater order:
   1 West USA, 2 Security Title, 3 CallTheUnderwriter, 4 2017, 5 2021, 6 2025. */
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(-n+3) { min-height: 72px; }
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(n+4) { min-height: 104px; }
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(1) img { max-height: 40px; max-width: 78%; }
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(2) img { max-height: 62px; }
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(3) img { max-height: 46px; max-width: 82%; }
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(4) img { max-height: 62px; border-radius: 50%; }
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(5) img { max-height: 92px; }
.rf-footer-trust-grid .rf-footer-trust-item:nth-child(6) img { max-height: 92px; }

/* --- Equal Housing Opportunity emblem (uploaded image replaces inline SVG) --- */
img.rf-fh-emblem { object-fit: contain; }

/* --- WP-managed footer columns: per-<li> coming-soon state --- */
.rf-footer-col-links li.rf-link--soon { opacity: 1; pointer-events: auto; }
.rf-footer-col-links li.rf-link--soon > a {
  opacity: 0.55; pointer-events: none; cursor: not-allowed;
}
.rf-footer-col-links li.rf-link--soon > a::after {
  content: "Soon"; display: inline-block;
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 2px 5px; margin-left: 6px;
  border-radius: 3px; vertical-align: middle; line-height: 1;
  background: rgba(255, 255, 255, 0.10); color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
/* WP injects .current-menu-item etc.; keep footer link weight consistent. */
.rf-footer-col-links li.menu-item { margin-bottom: 10px; }

/* --- Footer leaf font sizes ---
   The master sets sizes on the wrapper and lets <p>/<span>/<a> INHERIT. Houzez
   ships element-level p/span/a font-size rules that override inheritance and
   inflate this text inside WordPress. Re-assert the intended sizes explicitly
   (class+element specificity beats Houzez's bare element rules). */
.rf-footer-entity p { font-size: 12.5px; line-height: 1.7; }
.rf-footer-entity .rf-disclaimer-strong { font-size: 12.5px; }
.rf-footer-entity a { font-size: inherit; }
.rf-footer-accordion .rf-legal-body p { font-size: 12px; line-height: 1.7; }
.rf-footer-accordion .rf-legal-body a { font-size: inherit; }
.rf-footer-attributions p { font-size: 11px; line-height: 1.65; }
.rf-footer-bottom-left span { font-size: 12px; }
.rf-footer-bottom-right a { font-size: 12px; }
