/*
 * ARC Brokerage Services (Gutenberg) — page-scoped CSS
 * Loaded on the canonical `brokerage-services` page via wp_enqueue_style guarded by is_page()
 * (cut over from the `brokerage-services-alt` staging slug in ARC-EDIT-026; filename retained pending cleanup).
 * Ported from /home/ARCWP/arc-brokerage-services-prototype-server.html with:
 *   - :root tokens moved onto .page-brokerage-services (body class scope)
 *   - Every selector prefixed with .page-brokerage-services
 *   - .chrome-placeholder rule dropped (prototype-only artifact)
 *   - Cascade-override block appended at end (mirrors ARC-EDIT-005 / about-us-gb.css)
 */

/* ---------- Tokens (ARC Design System v0.2) ---------- */
.page-brokerage-services {
  --brand-blue: #263D8A;
  --brand-blue-dark: #1B2A66;
  --brand-blue-ink: #0F1A44;
  --brand-yellow: #F2DB0D;
  --brand-yellow-hover: #E6CF00;
  --text: #0B1220;
  --text-muted: #52607A;
  --text-subtle: #8591A8;
  --on-blue: #FFFFFF;
  --on-blue-muted: rgba(255, 255, 255, 0.78);
  --on-blue-subtle: rgba(255, 255, 255, 0.5);
  --surface: #FFFFFF;
  --surface-tint: #F6F8FC;
  --surface-warm: #FBFAF5;
  --divider: #E4E8F1;
  --divider-strong: #C9D0DE;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-display-italic: 'DM Serif Text', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --section-pad: clamp(64px, 10vw, 120px);
  --section-pad-tight: clamp(56px, 8vw, 96px);
  --container-max: 1240px;
  --container-gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 32px;
  --shadow-card: 0 1px 2px rgba(15, 26, 68, 0.04), 0 8px 24px rgba(15, 26, 68, 0.06);
  --shadow-card-hover: 0 4px 8px rgba(15, 26, 68, 0.06), 0 16px 40px rgba(15, 26, 68, 0.10);
  --shadow-elev: 0 20px 60px rgba(15, 26, 68, 0.15);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 150ms; --dur: 220ms; --dur-slow: 400ms;
}

/* ---------- Reset (scoped) ---------- */
.page-brokerage-services *,
.page-brokerage-services *::before,
.page-brokerage-services *::after { box-sizing: border-box; }
.page-brokerage-services {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.page-brokerage-services img { max-width: 100%; height: auto; display: block; }
.page-brokerage-services a { color: inherit; }
.page-brokerage-services button { font: inherit; cursor: pointer; }
.page-brokerage-services :focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Container ---------- */
.page-brokerage-services .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

/* ---------- Eyebrow ---------- */
.page-brokerage-services .eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0;
}
.page-brokerage-services .eyebrow--on-blue { color: var(--brand-yellow); }
.page-brokerage-services .eyebrow-line { display: inline-flex; align-items: center; gap: 14px; }
.page-brokerage-services .eyebrow-line::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: currentColor; opacity: 0.5;
}

/* ---------- Display headings ---------- */
.page-brokerage-services .h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0;
}
.page-brokerage-services .h-display em {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-blue);
  position: relative;
}
.page-brokerage-services .h-display.on-blue em { color: var(--brand-yellow); }
.page-brokerage-services .h2-accent-underline em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 3px;
  background: var(--brand-yellow);
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.page-brokerage-services .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.page-brokerage-services .btn--primary { background: var(--brand-yellow); color: var(--brand-blue-ink); border-color: var(--brand-yellow); }
.page-brokerage-services .btn--primary:hover { background: var(--brand-yellow-hover); border-color: var(--brand-yellow-hover); }
.page-brokerage-services .btn--ghost-on-blue { background: transparent; color: var(--on-blue); border-color: rgba(255,255,255,0.4); }
.page-brokerage-services .btn--ghost-on-blue:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.page-brokerage-services .btn--ghost { background: transparent; color: var(--brand-blue); border-color: var(--divider-strong); }
.page-brokerage-services .btn--ghost:hover { border-color: var(--brand-blue); background: var(--surface-tint); }

/* ---------- HERO ---------- */
.page-brokerage-services .hero {
  background: var(--brand-blue);
  color: var(--on-blue);
  padding: clamp(80px, 11vw, 132px) 0 clamp(64px, 9vw, 112px);
  position: relative;
  overflow: hidden;
}
.page-brokerage-services .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
  filter: contrast(1.1);
}
.page-brokerage-services .hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;
}
.page-brokerage-services .hero::after {
  content: "";
  position: absolute;
  top: -180px; right: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(242,219,13,0.16), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.page-brokerage-services .hero__inner { position: relative; z-index: 2; }
.page-brokerage-services .hero__h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  max-width: 18ch;
  margin: var(--space-10) 0 clamp(28px, 3vw, 44px);
}
.page-brokerage-services .hero__sub-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(40px, 6vw, 72px);
  align-items: end;
}
.page-brokerage-services .hero__sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--on-blue-muted);
  max-width: 56ch;
  margin: 0;
}
.page-brokerage-services .hero__phone {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--on-blue);
  align-self: end;
}
.page-brokerage-services .hero__phone-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-blue-subtle);
  margin-bottom: 6px;
}
.page-brokerage-services .hero__phone-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  color: var(--brand-yellow);
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--ease);
  align-self: flex-start;
}
.page-brokerage-services .hero__phone:hover .hero__phone-num { border-bottom-color: var(--brand-yellow); }

.page-brokerage-services .hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.page-brokerage-services .hero__stat { display: flex; flex-direction: column; gap: 4px; }
.page-brokerage-services .hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  color: var(--brand-yellow);
}
.page-brokerage-services .hero__stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-blue-muted);
}

/* ---------- PICKER ---------- */
.page-brokerage-services .picker {
  padding: var(--section-pad-tight) 0;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--divider);
}
.page-brokerage-services .picker__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(40px, 5vw, 64px);
  align-items: end;
}
.page-brokerage-services .picker__h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  max-width: 16ch;
  margin: var(--space-3) 0 0;
}
.page-brokerage-services .picker__support {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 52ch;
}
.page-brokerage-services .picker__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.page-brokerage-services .picker-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6) var(--space-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  min-height: 260px;
}
.page-brokerage-services .picker-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--divider-strong);
}
.page-brokerage-services .picker-card__num {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: 40px;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: var(--space-5);
}
.page-brokerage-services .picker-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 var(--space-3);
  line-height: 1.2;
}
.page-brokerage-services .picker-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 var(--space-6);
  flex-grow: 1;
}
.page-brokerage-services .picker-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.page-brokerage-services .picker-card__arrow svg { transition: transform var(--dur) var(--ease); }
.page-brokerage-services .picker-card:hover .picker-card__arrow svg { transform: translateX(4px); }

/* ---------- SERVICE SECTIONS ---------- */
.page-brokerage-services .service { padding: var(--section-pad) 0; background: var(--surface); }
.page-brokerage-services .service--alt { background: var(--surface-tint); }
.page-brokerage-services .service__grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.page-brokerage-services .service__rail {
  position: sticky;
  top: 40px;
  align-self: start;
}
.page-brokerage-services .service__rail-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 var(--space-5);
  line-height: 1.4;
  max-width: 16ch; /* ARC-EDIT-009: was 14ch — REPRESENTATION orphaned trailing N at 0.14em letter-spacing */
}
.page-brokerage-services .service__numeral {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(120px, 14vw, 200px);
  color: var(--brand-blue);
  line-height: 0.85;
  margin: 0;
  letter-spacing: -0.02em;
  display: block;
}
.page-brokerage-services .service__rail::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--brand-yellow);
  margin-top: var(--space-6);
}
.page-brokerage-services .service__body { max-width: 720px; }
.page-brokerage-services .service__h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  margin: 0 0 var(--space-8);
  max-width: 18ch;
}
.page-brokerage-services .service__lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 var(--space-10);
  max-width: 56ch;
  font-weight: 500;
}
.page-brokerage-services .service__media { margin: 0 0 var(--space-12); }
.page-brokerage-services .service__media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  background: var(--surface-tint);
}
.page-brokerage-services .service__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-brokerage-services .service__media-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-3);
  font-style: italic;
  line-height: 1.55;
  max-width: 56ch;
}
.page-brokerage-services .service__capabilities-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--divider);
}
.page-brokerage-services .service__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 var(--space-12);
}
.page-brokerage-services .service__list li {
  padding: var(--space-5) 0 var(--space-5) 28px;
  border-bottom: 1px solid var(--divider);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  position: relative;
}
.page-brokerage-services .service__list li::before {
  content: "→";
  color: var(--brand-yellow);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  position: absolute;
  left: 0;
  top: var(--space-5);
}
.page-brokerage-services .service__list a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: var(--divider-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease);
}
.page-brokerage-services .service__list a:hover { text-decoration-color: var(--brand-yellow); }
.page-brokerage-services .service__cta { margin-top: var(--space-8); }

/* ---------- HOW WE LIST (timeline) ---------- */
.page-brokerage-services .timeline {
  padding: var(--section-pad) 0;
  background: var(--brand-blue-ink);
  color: var(--on-blue);
  position: relative;
  overflow: hidden;
}
.page-brokerage-services .timeline::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.6;
}
.page-brokerage-services .timeline__inner { position: relative; z-index: 1; }
.page-brokerage-services .timeline__head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(56px, 7vw, 88px);
  align-items: end;
}
.page-brokerage-services .timeline__h2 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 16ch;
  color: var(--on-blue);
}
.page-brokerage-services .timeline__support {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-blue-muted);
  margin: 0;
  max-width: 50ch;
}
.page-brokerage-services .timeline__track { position: relative; padding-top: 40px; }
.page-brokerage-services .timeline__track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,219,13,0.5) 8%, rgba(242,219,13,0.5) 92%, transparent);
}
.page-brokerage-services .timeline__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  position: relative;
}
.page-brokerage-services .timeline-step { position: relative; padding-top: 24px; }
.page-brokerage-services .timeline-step__node {
  position: absolute;
  top: -22px;
  left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-blue-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 0 0 6px var(--brand-blue-ink);
}
.page-brokerage-services .timeline-step__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--on-blue);
  margin: 0 0 var(--space-3);
  line-height: 1.2;
}
.page-brokerage-services .timeline-step__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--on-blue-muted);
  margin: 0;
  max-width: 36ch;
}

/* ---------- PROPERTY TYPES ---------- */
.page-brokerage-services .types { padding: var(--section-pad) 0; background: var(--surface); }
.page-brokerage-services .types__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(48px, 6vw, 72px);
  align-items: end;
}
.page-brokerage-services .types__h2 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 16ch;
  margin: var(--space-4) 0 0;
}
.page-brokerage-services .types__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 50ch;
}
.page-brokerage-services .types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.page-brokerage-services .type-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
}
.page-brokerage-services .type-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--divider-strong);
}
.page-brokerage-services .type-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-tint);
  position: relative;
}
.page-brokerage-services .type-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.page-brokerage-services .type-card:hover .type-card__media img { transform: scale(1.04); }
.page-brokerage-services .type-card__num-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.94);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.page-brokerage-services .type-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-6) var(--space-5);
}
.page-brokerage-services .type-card__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  margin: 0;
  line-height: 1.15;
  font-weight: 400;
}
.page-brokerage-services .type-card__arrow {
  color: var(--brand-blue);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.page-brokerage-services .type-card:hover .type-card__arrow { transform: translateX(4px); }

/* ---------- TESTIMONIAL ---------- */
.page-brokerage-services .proof {
  padding: var(--section-pad) 0;
  background: var(--brand-blue);
  color: var(--on-blue);
  position: relative;
  overflow: hidden;
}
.page-brokerage-services .proof::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(242,219,13,0.10), transparent 60%);
  pointer-events: none;
}
.page-brokerage-services .proof__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding-left: clamp(110px, 12vw, 180px);
  padding-top: clamp(8px, 1vw, 16px);
}
.page-brokerage-services .proof__inner::before {
  content: "\201C";
  position: absolute;
  left: -20px;
  top: -30px;
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(160px, 18vw, 280px);
  color: var(--brand-yellow);
  line-height: 0.8;
  z-index: 0;
  pointer-events: none;
}
.page-brokerage-services .proof-quote { margin: 0; }
.page-brokerage-services .proof-quote__text {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.25;
  margin: 0 0 var(--space-12);
  color: var(--on-blue);
  letter-spacing: -0.005em;
  max-width: clamp(20ch, 60vw, 40ch);
}
.page-brokerage-services .proof-attr {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 520px;
}
.page-brokerage-services .proof-attr__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.page-brokerage-services .proof-attr__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-brokerage-services .proof-attr__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--on-blue);
}
.page-brokerage-services .proof-attr__line {
  font-size: 14px;
  color: var(--on-blue-muted);
}
/* ARC-EDIT-025: hand-built single-client testimonial — five-star row.
   Sits above the decorative quote-mark glyph (.proof__inner::before). */
.page-brokerage-services .proof-stars {
  position: relative;
  z-index: 1;
  color: var(--brand-yellow);
  font-size: 22px;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: var(--space-5);
}

/* ---------- FAQ ---------- */
.page-brokerage-services .faq { padding: var(--section-pad) 0; background: var(--surface); }
.page-brokerage-services .faq__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.page-brokerage-services .faq__h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: var(--space-4) 0 var(--space-5);
  max-width: 22ch;
}
.page-brokerage-services .faq__support {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  max-width: 56ch;
}
.page-brokerage-services .faq__list { border-top: 1px solid var(--divider); max-width: 920px; }
.page-brokerage-services .faq-item { border-bottom: 1px solid var(--divider); }
.page-brokerage-services .faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  cursor: pointer;
  padding: var(--space-8) 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}
.page-brokerage-services .faq-item summary::-webkit-details-marker { display: none; }
.page-brokerage-services .faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'><path d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23263D8A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.page-brokerage-services .faq-item:hover summary::after { background-color: var(--divider); }
.page-brokerage-services .faq-item[open] summary::after { transform: rotate(180deg); }
.page-brokerage-services .faq-item__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  padding: 0 0 var(--space-8);
  max-width: 70ch;
}
.page-brokerage-services .faq-item__body a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FINAL CTA ---------- */
.page-brokerage-services .final-cta {
  background: var(--brand-blue);
  color: var(--on-blue);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.page-brokerage-services .final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  pointer-events: none;
}
.page-brokerage-services .final-cta::after {
  content: "";
  position: absolute;
  top: -200px; right: -160px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(242,219,13,0.12), transparent 60%);
  pointer-events: none;
}
.page-brokerage-services .final-cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
}
.page-brokerage-services .final-cta__h2 {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--on-blue);
  margin: var(--space-5) 0 var(--space-8);
  max-width: 22ch;
}
.page-brokerage-services .final-cta__sub {
  font-size: 17px;
  color: var(--on-blue-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-12);
  max-width: 52ch;
}
.page-brokerage-services .final-cta__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  color: var(--brand-yellow);
  text-decoration: none;
  letter-spacing: -0.012em;
  border-bottom: 3px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.page-brokerage-services .final-cta__phone:hover { border-bottom-color: var(--brand-yellow); }
.page-brokerage-services .final-cta__right { padding-bottom: var(--space-3); }
.page-brokerage-services .final-cta__right-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-blue-subtle);
  margin-bottom: var(--space-6);
}
.page-brokerage-services .final-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
  max-width: 340px;
}
.page-brokerage-services .final-cta__buttons .btn { justify-content: space-between; padding: 16px 22px; }

/* ---------- RESPONSIVE — tablet (≤960px) ---------- */
@media (max-width: 960px) {
  .page-brokerage-services .hero__sub-row { grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }

  .page-brokerage-services .picker__head { grid-template-columns: 1fr; gap: var(--space-5); align-items: start; }
  .page-brokerage-services .picker__grid { grid-template-columns: repeat(2, 1fr); }
  .page-brokerage-services .picker-card { min-height: auto; }

  .page-brokerage-services .service__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .page-brokerage-services .service__rail {
    position: static;
    display: flex;
    flex-direction: column;
  }
  .page-brokerage-services .service__rail-title { order: -1; margin-bottom: var(--space-3); }
  .page-brokerage-services .service__numeral {
    font-size: clamp(96px, 14vw, 140px);
    line-height: 0.85;
  }
  .page-brokerage-services .service__rail::after { width: 60px; margin-top: var(--space-5); }
  .page-brokerage-services .service__list { grid-template-columns: 1fr; gap: 0; }

  .page-brokerage-services .timeline__head { grid-template-columns: 1fr; gap: var(--space-5); align-items: start; }
  .page-brokerage-services .timeline__steps { grid-template-columns: 1fr; gap: var(--space-12); }
  .page-brokerage-services .timeline__track { padding-top: 0; }
  .page-brokerage-services .timeline__track::before { display: none; }
  .page-brokerage-services .timeline-step { padding-top: 0; padding-left: 60px; min-height: 80px; }
  .page-brokerage-services .timeline-step__node { top: 0; left: 0; box-shadow: none; }

  .page-brokerage-services .types__head { grid-template-columns: 1fr; gap: var(--space-5); align-items: start; }
  .page-brokerage-services .types__grid { grid-template-columns: repeat(2, 1fr); }

  .page-brokerage-services .proof__inner { padding-left: clamp(16px, 4vw, 32px); padding-top: clamp(56px, 14vw, 80px); }
  .page-brokerage-services .proof__inner::before { font-size: clamp(100px, 16vw, 130px); top: -12px; left: -4px; }

  .page-brokerage-services .final-cta__grid { grid-template-columns: 1fr; gap: var(--space-12); align-items: start; }
  .page-brokerage-services .final-cta__buttons { max-width: 100%; flex-direction: row; flex-wrap: wrap; }
}

/* ---------- RESPONSIVE — mobile (≤600px) ---------- */
@media (max-width: 600px) {
  .page-brokerage-services .hero__h1 { font-size: clamp(36px, 9vw, 48px); }

  .page-brokerage-services .picker__grid { grid-template-columns: 1fr; }

  .page-brokerage-services .types__grid { grid-template-columns: 1fr; }

  .page-brokerage-services .final-cta__buttons { flex-direction: column; }
  .page-brokerage-services .final-cta__phone { font-size: 44px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-brokerage-services *,
  .page-brokerage-services *::before,
  .page-brokerage-services *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .page-brokerage-services .type-card:hover .type-card__arrow,
  .page-brokerage-services .type-card:hover .type-card__media img,
  .page-brokerage-services .type-card:hover,
  .page-brokerage-services .picker-card:hover .picker-card__arrow svg,
  .page-brokerage-services .picker-card:hover { transform: none; }
  .page-brokerage-services .faq-item[open] summary::after { transform: none; }
}

/* ==========================================================================
   Cascade-override block — wins against parent-theme rules regardless of
   enqueue order. Required because RealHomes Ultra parent stylesheets
   (parent-default-css, parent-custom-css, child-default-css,
   child-custom-css) all load AFTER this file's enqueue, and several of
   their rules target the same elements we style here. !important is used
   surgically — only on the specific properties that lose the cascade.
   Ported from ARC-EDIT-005 / about-us-gb.css.
   ========================================================================== */

/* A. Wrapper neutralization — zero out padding/margin on every host wrapper
   from <body> down to the section elements, so our full-bleed sections start
   flush under the global header with no parent-theme container constraints. */
.page-brokerage-services .rh-page-container,
.page-brokerage-services .rh-page-container.container-fluid,
.page-brokerage-services .container-fluid,
.page-brokerage-services .rh-page-head-bottom,
.page-brokerage-services .main-content,
.page-brokerage-services .rh-main,
.page-brokerage-services .entry-content-wrapper,
.page-brokerage-services .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
}

.page-brokerage-services .rh-page-head,
.page-brokerage-services .entry-thumbnail-wrapper {
    display: none !important;
}

/* Footer-gap fix (ARC-EDIT-026): parent Ultra main.min.css applies
   .hentry{margin-bottom:40px} (30px mobile) to article#post-9934.hentry, which
   is NOT covered by the neutralization chain above (it stops at .entry-content).
   That margin renders a white band between the blue .final-cta band and the
   Elementor footer. Removal-only, page-scoped. ARC-EDIT-023 sub-gotcha. */
.page-brokerage-services article.hentry {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.page-brokerage-services .entry-content > *:last-child {
    margin-bottom: 0 !important;
}

/* B. Display typography — force DM Serif Display to win on every display-typed
   element, defeating any parent-theme h1/h2/h3/h4 font-family rules.
   Scoped to page content (.section, .hero, .picker, .service, .timeline, .types, .faq, .final-cta)
   to exclude footer elements (Elementor templates). */
.page-brokerage-services .section h1,
.page-brokerage-services .section h2,
.page-brokerage-services .section h3,
.page-brokerage-services .section h4,
.page-brokerage-services .hero h1,
.page-brokerage-services .hero h2,
.page-brokerage-services .hero h3,
.page-brokerage-services .hero h4,
.page-brokerage-services .hero__phone-num,
.page-brokerage-services .hero__stat-num,
.page-brokerage-services .picker-card__name,
.page-brokerage-services .timeline-step__title,
.page-brokerage-services .type-card__name,
.page-brokerage-services .proof-quote__text,
.page-brokerage-services .final-cta__phone,
.page-brokerage-services .faq-item summary {
    font-family: 'DM Serif Display', 'DM Serif Text', Georgia, 'Times New Roman', serif !important;
}

/* C. Italic accent words — preserve DM Serif Text italic on <em> inside headings.
   Scoped to page content (.section, .hero, etc.) to exclude footer elements. */
.page-brokerage-services .section h1 em,
.page-brokerage-services .section h2 em,
.page-brokerage-services .section h3 em,
.page-brokerage-services .section h4 em,
.page-brokerage-services .hero h1 em,
.page-brokerage-services .hero h2 em,
.page-brokerage-services .hero h3 em,
.page-brokerage-services .hero h4 em {
    font-family: 'DM Serif Text', Georgia, serif !important;
}

/* D. Line-height — restore tight display line-height on all heading levels.
   Scoped to page content (.section, .hero, etc.) to exclude footer elements. */
.page-brokerage-services .section h1,
.page-brokerage-services .section h2,
.page-brokerage-services .section h3,
.page-brokerage-services .section h4,
.page-brokerage-services .hero h1,
.page-brokerage-services .hero h2,
.page-brokerage-services .hero h3,
.page-brokerage-services .hero h4 {
    line-height: 1.08 !important;
}

.page-brokerage-services .hero__h1,
.page-brokerage-services .service__h2,
.page-brokerage-services .timeline__h2,
.page-brokerage-services .types__h2,
.page-brokerage-services .picker__h2,
.page-brokerage-services .faq__h2,
.page-brokerage-services .final-cta__h2 {
    line-height: 1.08 !important;
}

/* E. Secondary display elements — italic display-text classes that should
   render in DM Serif Text italic (numerals, decorative accents). */
.page-brokerage-services .picker-card__num,
.page-brokerage-services .service__numeral,
.page-brokerage-services .timeline-step__node,
.page-brokerage-services .proof__inner::before {
    font-family: 'DM Serif Text', Georgia, serif !important;
}

/* F. Body typography — explicitly assert Plus Jakarta Sans on body-typed
   elements as a defensive measure, in case parent-theme rules also override.
   Scoped to page content (.section, .hero, .picker, etc.) to exclude footer elements. */
.page-brokerage-services .section p,
.page-brokerage-services .hero p,
.page-brokerage-services .picker p,
.page-brokerage-services .service p,
.page-brokerage-services .timeline p,
.page-brokerage-services .types p,
.page-brokerage-services .proof p,
.page-brokerage-services .faq p,
.page-brokerage-services .final-cta p,
.page-brokerage-services .eyebrow,
.page-brokerage-services .btn,
.page-brokerage-services .hero__sub,
.page-brokerage-services .hero__phone-label,
.page-brokerage-services .hero__stat-label,
.page-brokerage-services .picker__support,
.page-brokerage-services .picker-card__desc,
.page-brokerage-services .picker-card__arrow,
.page-brokerage-services .service__rail-title,
.page-brokerage-services .service__lede,
.page-brokerage-services .service__media-caption,
.page-brokerage-services .service__capabilities-label,
.page-brokerage-services .service__list,
.page-brokerage-services .service__list li,
.page-brokerage-services .timeline__support,
.page-brokerage-services .timeline-step__desc,
.page-brokerage-services .types__sub,
.page-brokerage-services .type-card__num-tag,
.page-brokerage-services .proof-attr__name,
.page-brokerage-services .proof-attr__line,
.page-brokerage-services .faq__support,
.page-brokerage-services .faq-item__body,
.page-brokerage-services .final-cta__sub,
.page-brokerage-services .final-cta__right-label {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* G. Hero H1 white color — parent-theme heading rules override the on-blue
   color set on the .h-display.on-blue rule above; force white on the H1
   while leaving the italic accent (em → --brand-yellow) intact. Added
   ARC-EDIT-007. */
body.page-brokerage-services .h-display.on-blue {
    color: var(--on-blue) !important;
}

/* H. Container constraint — wrapper neutralization (subsection A) flattens
   .container-fluid and other parent-theme wrappers, but parent rules also
   collapse our own inner .container divs to edge-to-edge on this page.
   Re-establish max-width and horizontal gutters here. Page-scoped via
   body.page-brokerage-services so no other live page is affected.
   Added ARC-EDIT-007. */
body.page-brokerage-services .container {
    max-width: var(--container-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--container-gutter) !important;
    padding-right: var(--container-gutter) !important;
}

/* ARC-EDIT-008 — Testimonial fixes */

/* I. Suppress parent-theme injected smart-quote pseudo-elements on
   <blockquote> and inner <p>. The big yellow decorative opening quote
   (subsection E above, .proof__inner::before) is a different selector and
   continues to render as designed. */
body.page-brokerage-services .proof-quote::before,
body.page-brokerage-services .proof-quote::after,
body.page-brokerage-services .proof-quote p::before,
body.page-brokerage-services .proof-quote p::after,
body.page-brokerage-services blockquote::before,
body.page-brokerage-services blockquote::after,
body.page-brokerage-services blockquote p::before,
body.page-brokerage-services blockquote p::after {
    content: none !important;
    display: none !important;
}

/* J. Force quote text to render upright DM Serif Display (parent-theme
   blockquote styles italicize it by default). */
body.page-brokerage-services .proof-quote__text {
    font-family: var(--font-display) !important;
    font-style: normal !important;
    font-weight: 400 !important;
}
