:root {
    --rbmg-red: #9a3b32;
    --rbmg-red-dark: #7e2d27;
    --rbmg-green: #19352d;
    --rbmg-green-soft: #22453a;
    --rbmg-cream: #f5efe5;
    --rbmg-tan: #e6dac8;
    --rbmg-surface: #fffdf8;
    --rbmg-text: #1d221f;
    --rbmg-muted: #59635d;
    --rbmg-border: rgba(25, 53, 45, 0.12);
    --rbmg-shadow: 0 20px 50px rgba(25, 53, 45, 0.1);
    --rbmg-radius: 24px;
}

.rbmg-clone {
    color: var(--rbmg-text);
    background:
        radial-gradient(circle at top right, rgba(154, 59, 50, 0.08), transparent 28%),
        linear-gradient(180deg, #fffaf2 0%, #fcf8f1 100%);
    font-family: Georgia, "Times New Roman", serif;
}

.rbmg-clone * {
    box-sizing: border-box;
}

.rbmg-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.rbmg-section {
    padding: 84px 0;
}

.rbmg-kicker {
    color: var(--rbmg-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.rbmg-section-heading {
    margin-bottom: 36px;
    max-width: 740px;
}

.rbmg-section-heading--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rbmg-section h1,
.rbmg-section h2,
.rbmg-section h3 {
    color: var(--rbmg-green);
    line-height: 1.06;
    margin: 0 0 16px;
}

.rbmg-section h1 {
    font-size: clamp(2.6rem, 5vw, 4.75rem);
}

.rbmg-section h2 {
    font-size: clamp(2rem, 3vw, 3.25rem);
}

.rbmg-section h3 {
    font-size: 1.4rem;
}

.rbmg-section p,
.rbmg-section li,
.rbmg-section span,
.rbmg-section label,
.rbmg-section input,
.rbmg-section select,
.rbmg-section button {
    font-family: Arial, Helvetica, sans-serif;
}

.rbmg-section p {
    color: var(--rbmg-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.rbmg-subhead {
    font-size: 1.08rem;
    max-width: 700px;
}

.rbmg-button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 52px;
    min-width: 172px;
    padding: 12px 24px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.rbmg-button:hover {
    transform: translateY(-2px);
}

.rbmg-button--primary {
    background: var(--rbmg-red);
    color: #fff;
}

.rbmg-button--primary:hover {
    background: var(--rbmg-red-dark);
    color: #fff;
}

.rbmg-button--ghost {
    border: 1px solid var(--rbmg-border);
    color: var(--rbmg-green);
    background: rgba(255, 255, 255, 0.76);
}

.rbmg-hero {
    padding-top: 60px;
}

.rbmg-hero__grid,
.rbmg-about__grid,
.rbmg-lead-form__grid {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: 1.2fr 0.8fr;
}

.rbmg-stat-strip,
.rbmg-mini-stats,
.rbmg-chip-grid,
.rbmg-partner-strip,
.rbmg-team-grid {
    display: grid;
    gap: 16px;
}

.rbmg-stat-strip {
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 32px;
}

.rbmg-stat,
.rbmg-mini-stats > div {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--rbmg-border);
    border-radius: 20px;
    box-shadow: var(--rbmg-shadow);
    padding: 20px;
}

.rbmg-stat strong,
.rbmg-mini-stats strong,
.rbmg-case-card__metrics strong {
    color: var(--rbmg-green);
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    margin-bottom: 6px;
}

.rbmg-stat span,
.rbmg-mini-stats span,
.rbmg-case-card__metrics span {
    color: var(--rbmg-muted);
    display: block;
    font-size: 0.92rem;
    line-height: 1.4;
}

.rbmg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rbmg-hero__media,
.rbmg-story-band {
    display: grid;
    gap: 18px;
}

.rbmg-hero-card,
.rbmg-story-band__media,
.rbmg-case-card__image,
.rbmg-team-card {
    background:
        linear-gradient(135deg, rgba(154, 59, 50, 0.22), rgba(25, 53, 45, 0.12)),
        linear-gradient(180deg, #f3ebdf, #e3d4bf);
    border: 1px solid rgba(25, 53, 45, 0.1);
    border-radius: var(--rbmg-radius);
    box-shadow: var(--rbmg-shadow);
    min-height: 220px;
    padding: 28px;
    position: relative;
}

.rbmg-hero-card--main {
    min-height: 420px;
}

.rbmg-hero-card--partner {
    min-height: 160px;
}

.rbmg-badge {
    background: rgba(25, 53, 45, 0.88);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding: 8px 12px;
}

.rbmg-industries {
    padding-top: 24px;
}

.rbmg-mini-stats {
    grid-template-columns: repeat(5, 1fr);
}

.rbmg-card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.rbmg-card,
.rbmg-case-card,
.rbmg-process-card,
.rbmg-form-card,
.rbmg-longform__nav,
.rbmg-longform__copy article {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--rbmg-border);
    border-radius: var(--rbmg-radius);
    box-shadow: var(--rbmg-shadow);
    padding: 28px;
}

.rbmg-card a,
.rbmg-case-card a,
.rbmg-process-cta a {
    color: var(--rbmg-red);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-decoration: none;
}

.rbmg-card--soft {
    background: linear-gradient(180deg, rgba(245, 239, 229, 0.8), rgba(255, 255, 255, 0.95));
}

.rbmg-story-band {
    align-items: center;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
}

.rbmg-story-band__copy {
    padding: 8px 8px 8px 4px;
}

.rbmg-lead-form {
    background: var(--rbmg-green);
}

.rbmg-lead-form h2,
.rbmg-lead-form p,
.rbmg-lead-form .rbmg-kicker {
    color: #fff;
}

.rbmg-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.rbmg-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    padding: 12px 16px;
    text-align: center;
}

.rbmg-demo-form {
    display: grid;
    gap: 16px;
}

.rbmg-demo-form label {
    color: var(--rbmg-green);
    display: grid;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 8px;
}

.rbmg-demo-form input,
.rbmg-demo-form select {
    border: 1px solid rgba(25, 53, 45, 0.14);
    border-radius: 14px;
    font-size: 1rem;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

.rbmg-consent {
    align-items: start;
    display: grid !important;
    gap: 10px;
    grid-template-columns: 20px 1fr;
}

.rbmg-consent input {
    margin-top: 4px;
}

.rbmg-card-grid--cases {
    grid-template-columns: repeat(2, 1fr);
}

.rbmg-case-card {
    overflow: hidden;
    padding: 0;
}

.rbmg-case-card__image {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--rbmg-radius);
    border-top-right-radius: var(--rbmg-radius);
    border-width: 0 0 1px;
    box-shadow: none;
    min-height: 240px;
}

.rbmg-case-card__body {
    padding: 28px;
}

.rbmg-case-card__subtitle {
    color: var(--rbmg-red);
    font-weight: 700;
    margin-bottom: 18px !important;
}

.rbmg-case-card__metrics {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
}

.rbmg-case-card ul {
    color: var(--rbmg-muted);
    margin: 0;
    padding-left: 18px;
}

.rbmg-process {
    background: linear-gradient(180deg, rgba(245, 239, 229, 0.72), rgba(255, 255, 255, 0.96));
}

.rbmg-process-grid {
    counter-reset: steps;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.rbmg-process-card {
    position: relative;
}

.rbmg-process-card__number {
    align-items: center;
    background: var(--rbmg-red);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    margin-bottom: 18px;
    width: 34px;
}

.rbmg-process-cta {
    margin-top: 24px !important;
    text-align: center;
}

.rbmg-longform__grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 0.85fr 1.15fr;
}

.rbmg-longform__nav {
    align-content: start;
    display: grid;
    gap: 14px;
}

.rbmg-longform__nav span {
    border-bottom: 1px solid var(--rbmg-border);
    color: var(--rbmg-green);
    font-weight: 700;
    padding-bottom: 14px;
}

.rbmg-longform__nav span:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.rbmg-longform__copy {
    display: grid;
    gap: 18px;
}

.rbmg-team-grid {
    grid-template-columns: repeat(3, 1fr);
}

.rbmg-team-card {
    align-items: end;
    color: var(--rbmg-green);
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    min-height: 150px;
}

.rbmg-partner-strip {
    grid-template-columns: repeat(5, 1fr);
}

.rbmg-partner-strip span {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(25, 53, 45, 0.22);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    min-height: 86px;
    padding: 14px;
    text-align: center;
}

@media (max-width: 1080px) {
    .rbmg-mini-stats,
    .rbmg-process-grid,
    .rbmg-partner-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .rbmg-card-grid,
    .rbmg-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .rbmg-hero__grid,
    .rbmg-about__grid,
    .rbmg-lead-form__grid,
    .rbmg-story-band,
    .rbmg-longform__grid {
        grid-template-columns: 1fr;
    }

    .rbmg-stat-strip,
    .rbmg-card-grid--cases,
    .rbmg-chip-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .rbmg-section {
        padding: 64px 0;
    }

    .rbmg-shell {
        width: min(100% - 24px, 1180px);
    }

    .rbmg-mini-stats,
    .rbmg-card-grid,
    .rbmg-process-grid,
    .rbmg-team-grid,
    .rbmg-partner-strip {
        grid-template-columns: 1fr;
    }

    .rbmg-hero-card--main {
        min-height: 300px;
    }
}
