/* =========================================================
   ARC SATISFIED CLIENTS — v0.3 design system
   Page-scoped wrapper class: body.page-satisfied-clients
   First page built with NATIVE Gutenberg blocks for content
   (core/group, core/columns, core/heading, core/paragraph,
   core/buttons, core/button, core/image), with core/html only
   for the NX Level testimonial embed and the 14 logo wall cells.
   Built ARC-EDIT-012 on 2026-05-12.
   ========================================================= */

/* ============ DESIGN TOKENS ============ */
body.page-satisfied-clients {
    /* Brand */
    --brand-blue: #263D8A;
    --brand-blue-dark: #1B2A66;
    --brand-blue-ink: #0F1A44;
    --brand-yellow: #F2DB0D;
    --brand-yellow-hover: #E6CF00;

    /* Neutrals */
    --text: #0B1220;
    --text-muted: #52607A;
    --text-subtle: #8591A8;
    --on-blue: #FFFFFF;
    --on-blue-muted: rgba(255, 255, 255, 0.78);
    --surface: #FFFFFF;
    --surface-tint: #F6F8FC;
    --surface-warm: #FBFAF5;
    --divider: #E4E8F1;
    --divider-strong: #C9D0DE;

    /* Type */
    --font-display: "DM Serif Display", Georgia, serif;
    --font-display-italic: "DM Serif Text", Georgia, serif;
    --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

    /* Spacing scale */
    --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;
    --space-32: 128px;

    /* Radius / shadow / motion */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-card: 0 1px 2px rgba(15,26,68,.04), 0 8px 24px rgba(15,26,68,.06);
    --shadow-card-hover: 0 4px 8px rgba(15,26,68,.06), 0 16px 40px rgba(15,26,68,.10);
    --shadow-elev: 0 20px 60px rgba(15,26,68,.15);
    --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
    --dur-fast: 150ms;
    --dur: 220ms;
    --dur-slow: 400ms;

    /* Layout */
    --container: 1200px;
    --gutter: clamp(20px, 4vw, 48px);
    --section-pad: clamp(64px, 10vw, 120px);

    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.page-satisfied-clients *,
body.page-satisfied-clients *::before,
body.page-satisfied-clients *::after { box-sizing: border-box; }

body.page-satisfied-clients img,
body.page-satisfied-clients svg { display: block; max-width: 100%; }

/* ============ GUTENBERG WRAPPER NEUTRALIZATION ============
 * Gutenberg's default .wp-block-columns uses flex; we use grid for
 * editorial layouts. .wp-block-group and .wp-block-image add default
 * margins/widths that fight our rhythm. Neutralize the wrappers; the
 * className on each block carries our intended styling. */
body.page-satisfied-clients .wp-block-group { margin: 0; }
body.page-satisfied-clients .wp-block-columns {
    display: block;
    margin: 0;
    gap: 0;
}
body.page-satisfied-clients .wp-block-column {
    flex: none;
    margin: 0;
}
body.page-satisfied-clients .wp-block-image {
    margin: 0;
}
body.page-satisfied-clients .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
}
body.page-satisfied-clients .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

/* ============ CONTAINER ============ */
body.page-satisfied-clients .container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* ============ EYEBROW ============ */
body.page-satisfied-clients .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font: 600 12px/1 var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
}
body.page-satisfied-clients .eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}
body.page-satisfied-clients .eyebrow.on-dark { color: var(--brand-yellow); }

/* ============ HEADINGS ============ */
body.page-satisfied-clients h1,
body.page-satisfied-clients h2,
body.page-satisfied-clients h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
    margin: 0;
    color: var(--text);
}
body.page-satisfied-clients h1 em,
body.page-satisfied-clients h2 em,
body.page-satisfied-clients h3 em {
    font-family: var(--font-display-italic);
    font-style: italic;
    color: var(--brand-blue);
}

/* H2 italic-accent yellow underline */
body.page-satisfied-clients .h2-accent-underline em { position: relative; }
body.page-satisfied-clients .h2-accent-underline em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.05em;
    height: 2px;
    background: var(--brand-yellow);
    opacity: 0.85;
}

/* ============ BODY TEXT ============ */
body.page-satisfied-clients p { margin: 0; line-height: 1.6; color: var(--text); }
body.page-satisfied-clients .text-muted { color: var(--text-muted); }
body.page-satisfied-clients .text-subtle { color: var(--text-subtle); }

/* ============ BUTTONS (Gutenberg core/button wrapper structure) ============
 * In Gutenberg, className on core/button lands on the OUTER .wp-block-button
 * div. The visual button is the inner anchor.wp-block-button__link. We target
 * the anchor for visual styling, with the BEM variant class on the wrapper.
 *
 *   <div class="wp-block-button btn btn--primary with-arrow">
 *     <a class="wp-block-button__link wp-element-button" href="...">text</a>
 *   </div>
 */
body.page-satisfied-clients .wp-block-button.btn > .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font: 600 15px/1 var(--font-body);
    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),
                transform var(--dur) var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
body.page-satisfied-clients .wp-block-button.btn > .wp-block-button__link:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 3px;
}

/* Primary — yellow background, blue ink. */
body.page-satisfied-clients .wp-block-button.btn--primary > .wp-block-button__link {
    background: var(--brand-yellow);
    color: var(--brand-blue-ink);
    border-color: var(--brand-yellow);
}
body.page-satisfied-clients .wp-block-button.btn--primary > .wp-block-button__link:hover {
    background: var(--brand-yellow-hover);
    border-color: var(--brand-yellow-hover);
    color: var(--brand-blue-ink);
}

/* Ghost on blue — transparent with white border + ink, fills on hover. */
body.page-satisfied-clients .wp-block-button.btn--ghost-on-blue > .wp-block-button__link {
    background: transparent;
    color: var(--on-blue);
    border-color: rgba(255,255,255,0.4);
}
body.page-satisfied-clients .wp-block-button.btn--ghost-on-blue > .wp-block-button__link:hover {
    background: var(--on-blue);
    color: var(--brand-blue-ink);
    border-color: var(--on-blue);
}

/* Defensive: ghost on light — used if a future button lands on a light surface. */
body.page-satisfied-clients .wp-block-button.btn--ghost > .wp-block-button__link {
    background: transparent;
    color: var(--brand-blue);
    border-color: var(--divider-strong);
}
body.page-satisfied-clients .wp-block-button.btn--ghost > .wp-block-button__link:hover {
    background: var(--brand-blue);
    color: var(--on-blue);
    border-color: var(--brand-blue);
}

/* with-arrow modifier — render the arrow via ::after on the anchor.
 * Gutenberg's core/button can't include arbitrary inline SVG in the
 * button text, so a CSS-injected arrow is the cleanest path. */
body.page-satisfied-clients .wp-block-button.with-arrow > .wp-block-button__link::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8H13M9 4L13 8L9 12' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8H13M9 4L13 8L9 12' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: transform var(--dur) var(--ease);
}
body.page-satisfied-clients .wp-block-button.with-arrow > .wp-block-button__link:hover::after {
    transform: translateX(4px);
}

/* =========================================================
   HERO — full-bleed brand-blue
   ========================================================= */
body.page-satisfied-clients .arc-hero {
    position: relative;
    background: var(--brand-blue);
    color: var(--on-blue);
    padding: clamp(90px, 12vw, 140px) 0 clamp(160px, 16vw, 220px);
    overflow: hidden;
    isolation: isolate;
}
/* architectural grid texture */
body.page-satisfied-clients .arc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
}
/* yellow glow upper-right */
body.page-satisfied-clients .arc-hero::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242,219,13,0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}
body.page-satisfied-clients .arc-hero .container { position: relative; z-index: 2; }

/* hero-grid — overrides Gutenberg's columns flex with grid */
body.page-satisfied-clients .hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

body.page-satisfied-clients .hero-eyebrow {
    color: var(--brand-yellow);
    margin-bottom: 28px;
}
body.page-satisfied-clients .hero-eyebrow::before { background: var(--brand-yellow); opacity: 0.7; }

body.page-satisfied-clients .arc-hero h1 {
    font-size: clamp(40px, 5.6vw, 68px);
    color: var(--on-blue);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
body.page-satisfied-clients .arc-hero h1 em { color: var(--brand-yellow); }

body.page-satisfied-clients .hero-sub {
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--on-blue-muted);
    max-width: 520px;
    margin-bottom: 36px;
}
body.page-satisfied-clients .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Hero media — editorial framed photo */
body.page-satisfied-clients .hero-media {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
}
body.page-satisfied-clients .hero-media-frame {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #1B2A66 0%, #263D8A 50%, #2D4AA3 100%);
    box-shadow: var(--shadow-elev);
}
/* hero-media image — direct child of .hero-media-frame (core/html block, ARC-EDIT-023) */
body.page-satisfied-clients .hero-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 18% center;
    display: block;
}

body.page-satisfied-clients .hero-media-badge {
    position: absolute;
    bottom: 0;
    left: 22px;
    transform: translateY(50%);
    background: var(--brand-yellow);
    color: var(--brand-blue-ink);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-display-italic);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.1;
    z-index: 3;
    box-shadow: var(--shadow-card);
    white-space: nowrap;
    margin: 0;
}

/* =========================================================
   STAT STRIP — overlapping white card
   ========================================================= */
body.page-satisfied-clients .stat-strip-wrap {
    position: relative;
    z-index: 3;
    margin-top: -100px;
    padding: 0 var(--gutter);
}
body.page-satisfied-clients .stat-strip-wrap > .container { padding: 0; }
body.page-satisfied-clients .stat-strip {
    max-width: var(--container);
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elev);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 36px 24px;
}
body.page-satisfied-clients .stat {
    text-align: center;
    padding: 8px 16px;
    position: relative;
}
body.page-satisfied-clients .stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--divider);
}
body.page-satisfied-clients .stat-num {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1;
    color: var(--brand-blue);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
body.page-satisfied-clients .stat-num em {
    font-family: var(--font-display-italic);
    font-style: italic;
    color: var(--brand-blue);
}
body.page-satisfied-clients .stat-label {
    font: 500 13px/1.4 var(--font-body);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

/* Stars stat — yellow rating treatment */
body.page-satisfied-clients .stat.is-stars .stat-num {
    color: var(--brand-yellow);
    letter-spacing: 0.02em;
}

/* =========================================================
   LEDE — section head, industry breadth
   ========================================================= */
body.page-satisfied-clients .lede {
    padding: clamp(80px, 10vw, 120px) 0 clamp(40px, 6vw, 64px);
}
body.page-satisfied-clients .section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: end;
}
body.page-satisfied-clients .section-head-left .eyebrow { margin-bottom: 24px; }
body.page-satisfied-clients .section-head h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    letter-spacing: -0.01em;
    max-width: 560px;
}
body.page-satisfied-clients .section-head-right p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
}

/* =========================================================
   LOGO WALL — grouped by industry
   ========================================================= */
body.page-satisfied-clients .logos {
    padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 10vw, 120px);
}
body.page-satisfied-clients .industry-row + .industry-row {
    margin-top: clamp(48px, 6vw, 72px);
}
body.page-satisfied-clients .industry-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font: 700 12px/1 var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}
body.page-satisfied-clients .industry-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--divider);
}

body.page-satisfied-clients .logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--divider);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    overflow: hidden;
}
/* Per-row column-count modifiers — sized for content */
body.page-satisfied-clients .logo-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
body.page-satisfied-clients .logo-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
body.page-satisfied-clients .logo-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Logo cell — anchor wrapping logo + label + hover arrow.
 * Cells are core/html blocks (Section 6 of the deployment package). */
body.page-satisfied-clients .logo-cell {
    background: var(--surface);
    padding: 28px 20px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: background var(--dur) var(--ease);
}
body.page-satisfied-clients .logo-cell:hover {
    background: var(--surface-tint);
}
body.page-satisfied-clients .logo-cell:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: -2px;
    z-index: 1;
}

/* External-link arrow — appears in upper-right on hover */
body.page-satisfied-clients .logo-cell-arrow {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 14px;
    height: 14px;
    color: var(--text-subtle);
    opacity: 0;
    transform: translate(-2px, 2px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    pointer-events: none;
}
body.page-satisfied-clients .logo-cell:hover .logo-cell-arrow,
body.page-satisfied-clients .logo-cell:focus-visible .logo-cell-arrow {
    opacity: 0.7;
    transform: translate(0, 0);
}

/* Logo mark — normalizes wildly different aspect ratios */
body.page-satisfied-clients .logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 160px;
}
body.page-satisfied-clients .logo-mark img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

body.page-satisfied-clients .logo-cell-name {
    font: 500 12px/1.35 var(--font-body);
    color: var(--text-subtle);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* =========================================================
   TESTIMONIALS — NX Level embed
   ========================================================= */
body.page-satisfied-clients .testimonials {
    padding: clamp(64px, 10vw, 120px) 0;
    background: var(--surface-tint);
}
body.page-satisfied-clients .testimonials .section-head {
    margin-bottom: clamp(48px, 6vw, 72px);
}
/* NX Level widget container — min-height prevents layout shift while bootstrapping */
body.page-satisfied-clients .testimonial-embed {
    min-height: 320px;
    position: relative;
}
body.page-satisfied-clients .testimonial-embed emr-simple-slider {
    display: block;
    width: 100%;
}

/* =========================================================
   BRIDGE — Done Deals teaser
   ========================================================= */
body.page-satisfied-clients .bridge {
    padding: clamp(64px, 10vw, 120px) 0;
    background: var(--surface);
}
body.page-satisfied-clients .bridge-card {
    background: var(--brand-blue);
    color: var(--on-blue);
    border-radius: var(--radius-lg);
    padding: clamp(48px, 6vw, 80px);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    position: relative;
    overflow: hidden;
}
body.page-satisfied-clients .bridge-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(242,219,13,0.12) 0%, transparent 60%);
    pointer-events: none;
}
body.page-satisfied-clients .bridge-card > .wp-block-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    position: relative;
    z-index: 2;
}
body.page-satisfied-clients .bridge-content { position: relative; z-index: 2; }
body.page-satisfied-clients .bridge-content .eyebrow {
    color: var(--brand-yellow);
    margin-bottom: 20px;
}
body.page-satisfied-clients .bridge-content .eyebrow::before { background: var(--brand-yellow); opacity: 0.7; }
body.page-satisfied-clients .bridge-content h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--on-blue);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
body.page-satisfied-clients .bridge-content h2 em { color: var(--brand-yellow); }
body.page-satisfied-clients .bridge-content p {
    color: var(--on-blue-muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 520px;
}
body.page-satisfied-clients .bridge-cta {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* =========================================================
   FINAL CTA — full-bleed brand-blue centered
   ========================================================= */
body.page-satisfied-clients .cta {
    position: relative;
    background: var(--brand-blue);
    color: var(--on-blue);
    padding: clamp(80px, 10vw, 120px) 0;
    overflow: hidden;
    isolation: isolate;
}
body.page-satisfied-clients .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
}
body.page-satisfied-clients .cta::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(242,219,13,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}
body.page-satisfied-clients .cta .container {
    position: relative;
    z-index: 2;
}
body.page-satisfied-clients .cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
body.page-satisfied-clients .cta-inner .eyebrow {
    justify-content: center;
    display: inline-flex;
    margin-bottom: 24px;
}
body.page-satisfied-clients .cta-inner .eyebrow.on-dark::before { background: var(--brand-yellow); opacity: 0.7; }
body.page-satisfied-clients .cta h2 {
    font-size: clamp(36px, 4.8vw, 56px);
    color: var(--on-blue);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
body.page-satisfied-clients .cta h2 em { color: var(--brand-yellow); }
body.page-satisfied-clients .cta-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--on-blue-muted);
    margin-bottom: 48px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
body.page-satisfied-clients .phone-block {
    margin-bottom: 40px;
}
body.page-satisfied-clients .phone-label {
    font: 500 12px/1 var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-blue-muted);
    margin-bottom: 16px;
}
body.page-satisfied-clients .phone-link {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--on-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.01em;
    transition: color var(--dur) var(--ease);
}
body.page-satisfied-clients .phone-link:hover { color: var(--brand-yellow); }
body.page-satisfied-clients .phone-link svg { width: 28px; height: 28px; opacity: 0.85; }
body.page-satisfied-clients .cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    body.page-satisfied-clients .hero-grid { grid-template-columns: 1fr; }
    body.page-satisfied-clients .hero-media { max-width: 380px; margin: 0 auto; aspect-ratio: 16/10; }
    body.page-satisfied-clients .stat-strip { grid-template-columns: repeat(2, 1fr); padding: 24px 12px; }
    body.page-satisfied-clients .stat { padding: 16px 12px; }
    body.page-satisfied-clients .stat:nth-child(2)::before { display: none; }
    body.page-satisfied-clients .stat:nth-child(3) { border-top: 1px solid var(--divider); }
    body.page-satisfied-clients .stat:nth-child(4) { border-top: 1px solid var(--divider); }
    body.page-satisfied-clients .section-head { grid-template-columns: 1fr; gap: 24px; }
    body.page-satisfied-clients .logo-grid,
    body.page-satisfied-clients .logo-grid.cols-2,
    body.page-satisfied-clients .logo-grid.cols-3,
    body.page-satisfied-clients .logo-grid.cols-5 {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }
    body.page-satisfied-clients .bridge-card,
    body.page-satisfied-clients .bridge-card > .wp-block-columns {
        grid-template-columns: 1fr;
        text-align: left;
    }
    body.page-satisfied-clients .bridge-cta { justify-content: flex-start; margin-top: 28px; }
}
@media (max-width: 600px) {
    body.page-satisfied-clients .arc-hero { padding: clamp(64px, 12vw, 100px) 0 clamp(140px, 16vw, 180px); }
    body.page-satisfied-clients .stat-strip-wrap { margin-top: -80px; }
    body.page-satisfied-clients .stat-strip { grid-template-columns: 1fr; }
    body.page-satisfied-clients .stat + .stat::before { display: none; }
    body.page-satisfied-clients .stat + .stat { border-top: 1px solid var(--divider); }
    body.page-satisfied-clients .logo-grid,
    body.page-satisfied-clients .logo-grid.cols-2,
    body.page-satisfied-clients .logo-grid.cols-3,
    body.page-satisfied-clients .logo-grid.cols-5 {
        grid-template-columns: 1fr;
        max-width: none;
    }
    body.page-satisfied-clients .logo-cell { min-height: 280px; padding: 28px 20px; gap: 18px; }
    body.page-satisfied-clients .logo-mark { height: 200px; }
    body.page-satisfied-clients .hero-ctas .wp-block-button,
    body.page-satisfied-clients .cta-buttons .wp-block-button { width: 100%; }
    body.page-satisfied-clients .hero-ctas .wp-block-button > .wp-block-button__link,
    body.page-satisfied-clients .cta-buttons .wp-block-button > .wp-block-button__link {
        width: 100%;
        justify-content: center;
    }
    body.page-satisfied-clients .hero-media-badge {
        padding: 14px 18px;
        font-size: 18px;
        left: 16px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.page-satisfied-clients *,
    body.page-satisfied-clients *::before,
    body.page-satisfied-clients *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   CASCADE-OVERRIDE BLOCK — wins against parent-theme rules
   that load AFTER the child-theme stylesheets due to
   inspiry_enqueue_child_styles being hooked at PHP_INT_MAX
   alongside our own enqueue. Use !important surgically.
   See CLAUDE.md "child-theme conditional enqueues print
   BEFORE parent-theme stylesheets" gotcha for the rationale.
   Subsections A–J match the canonical About Us-gb / Brokerage
   pattern. (Plus K for Gutenberg button cascade.)
   ========================================================= */

/* --- A. Neutralize RealHomes wrapper padding/margin --- */
body.page-satisfied-clients .rh-page-container,
body.page-satisfied-clients .rh-page-container.container-fluid { padding: 0 !important; }
body.page-satisfied-clients .rh-page-head { display: none !important; }
body.page-satisfied-clients .entry-thumbnail-wrapper { display: none !important; }
body.page-satisfied-clients .main-content,
body.page-satisfied-clients .rh-main,
body.page-satisfied-clients .entry-content-wrapper,
body.page-satisfied-clients .entry-content { padding: 0 !important; margin: 0 !important; }

/* --- B. Force display font-family ---
   Scoped to page content (.arc-hero, .stat-strip, .services, .bridge, .cta, .footer-cta, .proof)
   to exclude footer elements (Elementor templates). */
body.page-satisfied-clients .arc-hero h1,
body.page-satisfied-clients .arc-hero h2,
body.page-satisfied-clients .arc-hero h3,
body.page-satisfied-clients .stat-strip h1,
body.page-satisfied-clients .stat-strip h2,
body.page-satisfied-clients .stat-strip h3,
body.page-satisfied-clients .services h1,
body.page-satisfied-clients .services h2,
body.page-satisfied-clients .services h3,
body.page-satisfied-clients .bridge h1,
body.page-satisfied-clients .bridge h2,
body.page-satisfied-clients .bridge h3,
body.page-satisfied-clients .cta h1,
body.page-satisfied-clients .cta h2,
body.page-satisfied-clients .cta h3,
body.page-satisfied-clients .footer-cta h1,
body.page-satisfied-clients .footer-cta h2,
body.page-satisfied-clients .footer-cta h3,
body.page-satisfied-clients .proof h1,
body.page-satisfied-clients .proof h2,
body.page-satisfied-clients .proof h3,
body.page-satisfied-clients .stat-num,
body.page-satisfied-clients .phone-link,
body.page-satisfied-clients .hero-media-badge { font-family: var(--font-display) !important; }

/* --- C. Force italic accent <em> color (brand-blue on light, brand-yellow on blue) ---
   Scoped to page content (.arc-hero, .stat-strip, .services, .bridge, .cta, etc.)
   to exclude footer elements. */
body.page-satisfied-clients .arc-hero h1 em,
body.page-satisfied-clients .arc-hero h2 em,
body.page-satisfied-clients .arc-hero h3 em,
body.page-satisfied-clients .stat-strip h1 em,
body.page-satisfied-clients .stat-strip h2 em,
body.page-satisfied-clients .stat-strip h3 em,
body.page-satisfied-clients .services h1 em,
body.page-satisfied-clients .services h2 em,
body.page-satisfied-clients .services h3 em,
body.page-satisfied-clients .bridge h1 em,
body.page-satisfied-clients .bridge h2 em,
body.page-satisfied-clients .bridge h3 em,
body.page-satisfied-clients .cta h1 em,
body.page-satisfied-clients .cta h2 em,
body.page-satisfied-clients .cta h3 em,
body.page-satisfied-clients .footer-cta h1 em,
body.page-satisfied-clients .footer-cta h2 em,
body.page-satisfied-clients .footer-cta h3 em,
body.page-satisfied-clients .proof h1 em,
body.page-satisfied-clients .proof h2 em,
body.page-satisfied-clients .proof h3 em,
body.page-satisfied-clients .stat-num em {
    font-family: var(--font-display-italic) !important;
    font-style: italic !important;
    color: var(--brand-blue) !important;
}
body.page-satisfied-clients .arc-hero h1 em,
body.page-satisfied-clients .bridge-content h2 em,
body.page-satisfied-clients .cta h2 em {
    color: var(--brand-yellow) !important;
}

/* --- D. Force line-height on display headings ---
   Scoped to page content (.arc-hero, .stat-strip, .services, etc.) to exclude footer elements. */
body.page-satisfied-clients .arc-hero h1,
body.page-satisfied-clients .arc-hero h2,
body.page-satisfied-clients .arc-hero h3,
body.page-satisfied-clients .stat-strip h1,
body.page-satisfied-clients .stat-strip h2,
body.page-satisfied-clients .stat-strip h3,
body.page-satisfied-clients .services h1,
body.page-satisfied-clients .services h2,
body.page-satisfied-clients .services h3,
body.page-satisfied-clients .bridge h1,
body.page-satisfied-clients .bridge h2,
body.page-satisfied-clients .bridge h3,
body.page-satisfied-clients .cta h1,
body.page-satisfied-clients .cta h2,
body.page-satisfied-clients .cta h3,
body.page-satisfied-clients .footer-cta h1,
body.page-satisfied-clients .footer-cta h2,
body.page-satisfied-clients .footer-cta h3,
body.page-satisfied-clients .proof h1,
body.page-satisfied-clients .proof h2,
body.page-satisfied-clients .proof h3 { line-height: 1.08 !important; }

/* --- E. Body font-family ---
   Scoped to page content (.arc-hero, .stat-strip, .services, .bridge, .cta, .proof, etc.)
   to exclude footer elements (Elementor templates). */
body.page-satisfied-clients .arc-hero p,
body.page-satisfied-clients .stat-strip p,
body.page-satisfied-clients .services p,
body.page-satisfied-clients .bridge p,
body.page-satisfied-clients .cta p,
body.page-satisfied-clients .footer-cta p,
body.page-satisfied-clients .proof p,
body.page-satisfied-clients .eyebrow,
body.page-satisfied-clients .stat-label,
body.page-satisfied-clients .industry-label,
body.page-satisfied-clients .logo-cell-name,
body.page-satisfied-clients .phone-label { font-family: var(--font-body) !important; }

/* --- F. (reserved page-specific) --- */

/* --- G. Force white H1 color on the hero (on blue surface) --- */
body.page-satisfied-clients .arc-hero h1 { color: var(--on-blue) !important; }
body.page-satisfied-clients .bridge-content h2,
body.page-satisfied-clients .cta h2 { color: var(--on-blue) !important; }

/* --- H. Re-establish container max-width / margin / padding --- */
body.page-satisfied-clients .container {
    max-width: var(--container) !important;
    margin: 0 auto !important;
    padding-left: var(--gutter) !important;
    padding-right: var(--gutter) !important;
}

/* --- I. Neutralize parent-theme injected smart quotes on blockquotes
 *       (preventive — NX Level widget may inject blockquote markup) --- */
body.page-satisfied-clients blockquote::before,
body.page-satisfied-clients blockquote::after,
body.page-satisfied-clients blockquote p::before,
body.page-satisfied-clients blockquote p::after {
    content: none !important;
    display: none !important;
}

/* --- J. Preserve <em> rendering inside core/heading (KSES defensive) --- */
body.page-satisfied-clients h1 em,
body.page-satisfied-clients h2 em {
    font-style: italic !important;
    display: inline !important;
}

/* --- K. Gutenberg core/button anchor color lock against parent-theme a:hover.
 *       The arc-redesign-globals.css color-lock rules target .btn--X directly,
 *       but on this page the class lands on the wrapper. Lock colors on the
 *       inner anchor explicitly. --- */
body.page-satisfied-clients .wp-block-button.btn--primary > .wp-block-button__link,
body.page-satisfied-clients .wp-block-button.btn--primary > .wp-block-button__link:hover,
body.page-satisfied-clients .wp-block-button.btn--primary > .wp-block-button__link:focus,
body.page-satisfied-clients .wp-block-button.btn--primary > .wp-block-button__link:active {
    color: var(--brand-blue-ink) !important;
}
body.page-satisfied-clients .wp-block-button.btn--ghost-on-blue > .wp-block-button__link {
    color: var(--on-blue) !important;
}
body.page-satisfied-clients .wp-block-button.btn--ghost-on-blue > .wp-block-button__link:hover {
    color: var(--brand-blue-ink) !important;
}
body.page-satisfied-clients .wp-block-button.btn--ghost > .wp-block-button__link {
    color: var(--brand-blue) !important;
}
body.page-satisfied-clients .wp-block-button.btn--ghost > .wp-block-button__link:hover {
    color: var(--on-blue) !important;
}

/* --- L. Gutenberg wrapper-aware grids (ARC-EDIT-013) ---
 * core/group injects .wp-block-group__inner-container between the block element
 * and its children. display:grid on .stat-strip / .logo-grid promotes only that
 * inner-container to a grid item — the intended .stat / .logo-cell items become
 * grandchildren and stack vertically inside the flow-layout inner-container.
 * Re-establish the grid on the inner-container so it becomes the actual layout
 * context for the children. Outer .stat-strip / .logo-grid keeps its visual
 * properties (background, padding, border-radius, box-shadow, overflow); the
 * inner-container only carries grid + gap. Adjacent-sibling (.stat + .stat) and
 * descendant (.stat.is-stars .stat-num) selectors still match unchanged.
 * Additive only — original .stat-strip / .logo-grid grid rules are left in
 * place; they become harmless on the single inner-container child. */
body.page-satisfied-clients .stat-strip > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column: 1 / -1;  /* span all columns of the outer .stat-strip grid */
}
body.page-satisfied-clients .logo-grid > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    grid-column: 1 / -1;  /* span all columns of the outer .logo-grid grid */
}
body.page-satisfied-clients .logo-grid.cols-2 > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, 1fr);
}
body.page-satisfied-clients .logo-grid.cols-3 > .wp-block-group__inner-container {
    grid-template-columns: repeat(3, 1fr);
}
body.page-satisfied-clients .logo-grid.cols-5 > .wp-block-group__inner-container {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 960px) {
    body.page-satisfied-clients .stat-strip > .wp-block-group__inner-container {
        grid-template-columns: repeat(2, 1fr);
    }
    body.page-satisfied-clients .logo-grid > .wp-block-group__inner-container,
    body.page-satisfied-clients .logo-grid.cols-2 > .wp-block-group__inner-container,
    body.page-satisfied-clients .logo-grid.cols-3 > .wp-block-group__inner-container,
    body.page-satisfied-clients .logo-grid.cols-5 > .wp-block-group__inner-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    body.page-satisfied-clients .stat-strip > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }
    body.page-satisfied-clients .logo-grid > .wp-block-group__inner-container,
    body.page-satisfied-clients .logo-grid.cols-2 > .wp-block-group__inner-container,
    body.page-satisfied-clients .logo-grid.cols-3 > .wp-block-group__inner-container,
    body.page-satisfied-clients .logo-grid.cols-5 > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }
}

/* --- M. Bridge section grid (ARC-EDIT-016) — third instance of the Gutenberg
 *      core/group wrapper-injection pattern (cf. Subsection L for stat-strip /
 *      logo-grid in ARC-EDIT-013). The .bridge-card outer grid (~line 621) and
 *      the .bridge-card > .wp-block-columns rule (~line 643) are both left
 *      as-is for prototype-source-of-truth readability — same treatment as
 *      Subsection L's outer rules. Two additive rules below restore the
 *      intended desktop two-column layout:
 *      (i)  grid-column: 1 / -1 on the inner-container injected inside
 *           .bridge-card so it spans the full outer grid width (otherwise
 *           it's auto-placed into column 1 of the 1.4fr/1fr grid and
 *           constrains everything below it to ~58% of bridge-card width).
 *      (ii) Working duplicate of the columns grid rule, using a descendant
 *           selector (.bridge-card .wp-block-columns) that reaches through
 *           the inner-container. The original line-643 rule's direct-child
 *           combinator doesn't match the actual DOM. Uniqueness verified:
 *           exactly one .wp-block-columns inside .bridge-card.
 *      Mobile media query collapses the inner columns grid to single-column
 *      at ≤960px. The existing 960px rule for .bridge-cta (justify-content:
 *      flex-start; margin-top: 28px) from ARC-EDIT-014 is untouched. */
body.page-satisfied-clients .bridge-card > .wp-block-group__inner-container {
    grid-column: 1 / -1;
}
body.page-satisfied-clients .bridge-card .wp-block-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    position: relative;
    z-index: 2;
}
@media (max-width: 960px) {
    body.page-satisfied-clients .bridge-card .wp-block-columns {
        grid-template-columns: 1fr;
    }
}

/* --- N. Flush final-CTA -> Elementor footer (ARC-EDIT-023) ---
 * Subsection A already zeroes padding/margin on .rh-page-container (padding),
 * .main-content, .rh-main, .entry-content-wrapper, .entry-content — yet a white
 * band persisted between the blue .cta section and the gradient Elementor footer
 * (4943) AFTER a cache-bust confirmed fresh CSS. The remaining contributors are
 * the elements subsection A does NOT cover: the <article.hentry> (no override at
 * all) and the .rh-page-container BOTTOM MARGIN (A only zeroed its padding). A
 * bottom margin on the last in-flow block (.cta) can also collapse up through the
 * zeroed-padding wrapper chain and surface below .rh-page-container. Zero all
 * three paths, page-scoped + removal-only, so no other page is affected. */
body.page-satisfied-clients article.hentry,
body.page-satisfied-clients .rh-page-container {
    margin-bottom: 0 !important;
}
body.page-satisfied-clients article.hentry {
    padding-bottom: 0 !important;
}
body.page-satisfied-clients .entry-content > *:last-child {
    margin-bottom: 0 !important;
}
