/*
 * BRM Funnel styles. Everything is scoped under .brmf so the rest of the
 * site's theme is never affected. Brand: #E75D42, Viga headings, Roboto body.
 */

body.brmf-body { margin: 0; background: #fff; }

.brmf {
	--brmf-brand: #E75D42;
	--brmf-brand-dark: #c9472e;
	--brmf-ink: #1f2328;
	--brmf-muted: #5b6168;
	--brmf-soft: #fdf1ee;
	--brmf-line: #e7e3e1;
	--brmf-dark: #1d2126;
	--brmf-radius: 14px;
	font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--brmf-ink);
}
.brmf *, .brmf *::before, .brmf *::after { box-sizing: border-box; }
.brmf img { max-width: 100%; height: auto; display: block; }
.brmf a { color: inherit; }
.brmf p { margin: 0 0 1em; }

.brmf-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.brmf-center { text-align: center; }

.brmf-h1, .brmf-h2, .brmf-h3 { font-family: Viga, Roboto, sans-serif; font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: inherit; }
.brmf-h1 { font-size: clamp(30px, 5vw, 50px); }
.brmf-h2 { font-size: clamp(26px, 3.6vw, 36px); text-align: center; }
.brmf-h3 { font-size: 20px; }
.brmf .brmf-intro { text-align: center; color: var(--brmf-muted); max-width: 640px; margin: 0 auto 1.5em; }
.brmf .brmf-note { text-align: center; font-weight: 700; color: var(--brmf-brand-dark); margin-top: 1.5em; }

/* Buttons */
.brmf-btn {
	display: inline-block; border: 0; cursor: pointer; text-decoration: none;
	background: var(--brmf-brand); color: #fff !important;
	font: 700 17px/1.2 Roboto, sans-serif; padding: 16px 28px; border-radius: 999px;
	box-shadow: 0 4px 14px rgba(231, 93, 66, .35);
	transition: background .15s, transform .15s;
}
.brmf-btn:hover, .brmf-btn:focus-visible { background: var(--brmf-brand-dark); transform: translateY(-1px); }
.brmf-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.brmf-btn-lg { font-size: 19px; padding: 18px 34px; }
.brmf-btn-sm { font-size: 15px; padding: 11px 18px; box-shadow: none; }
.brmf-btn-block { width: 100%; }
.brmf-btn-ghost { background: #fff; color: var(--brmf-ink) !important; border: 2px solid var(--brmf-line); box-shadow: none; }
.brmf-section .brmf-center .brmf-btn { margin-top: 1.5em; }
.brmf-textlink { color: var(--brmf-brand-dark); font-weight: 700; }

/* Header */
.brmf-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--brmf-line); }
.admin-bar .brmf-header { top: 32px; }
.brmf-header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brmf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Viga, sans-serif; font-size: 20px; margin-right: auto; }
.brmf-logo img { width: 40px; height: 40px; border-radius: 8px; }
.brmf-nav { display: flex; align-items: center; gap: 22px; font-weight: 500; }
.brmf-nav a { text-decoration: none; }
.brmf-nav a:hover { color: var(--brmf-brand); }
.brmf-nav-group { position: relative; }
.brmf-nav-label { cursor: default; }
.brmf-nav-label::after { content: " \25BE"; font-size: .8em; }
.brmf-nav-menu {
	display: none; position: absolute; top: 100%; left: -16px; min-width: 240px; padding: 10px 0;
	background: #fff; border: 1px solid var(--brmf-line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.brmf-nav-menu a { display: block; padding: 8px 18px; }
.brmf-nav-menu a[aria-current] { color: var(--brmf-brand); font-weight: 700; }
.brmf-nav-group:hover .brmf-nav-menu, .brmf-nav-group:focus-within .brmf-nav-menu { display: block; }
.brmf-nav-phone { font-weight: 700; color: var(--brmf-brand-dark) !important; }
.brmf-menu-toggle { display: none; background: none; border: 2px solid var(--brmf-line); border-radius: 8px; padding: 8px 12px; font: 600 15px Roboto, sans-serif; cursor: pointer; }

/* Hero */
.brmf-hero {
	position: relative; color: #fff; padding: 110px 0 96px;
	background: linear-gradient(90deg, rgba(20,22,26,.86) 0%, rgba(20,22,26,.6) 55%, rgba(20,22,26,.25) 100%), var(--brmf-hero-img) center / cover no-repeat;
}
/* Background video: clip at the back, shade over it, words on top. */
.brmf-hero.has-video { overflow: hidden; }
.brmf-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.brmf-hero.has-video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,22,26,.86) 0%, rgba(20,22,26,.6) 55%, rgba(20,22,26,.25) 100%); }
.brmf-hero.has-video .brmf-hero-inner { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .brmf-hero-video { display: none; } }
.brmf-hero-inner { max-width: 1120px; }
.brmf-hero-inner > * { max-width: 640px; }
.brmf-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 14px; color: #ffb4a4; }
.brmf-hero-text { font-size: 20px; opacity: .95; margin-bottom: 1.6em; }
.brmf-hero-note { font-size: 14px; opacity: .8; margin-top: 14px; }

/* Proof bar */
.brmf-proof { background: var(--brmf-dark); color: #fff; font-size: 15px; }
.brmf-proof-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding-top: 14px; padding-bottom: 14px; }
.brmf-proof-item { text-decoration: none; opacity: .92; }
.brmf-stars { color: #f5b301; letter-spacing: 2px; margin-right: 6px; }

/* Sections */
.brmf-section { padding: 80px 0; }
.brmf-section:nth-of-type(even) { background: #faf8f7; }
.brmf-features-kids { background: var(--brmf-soft) !important; }

/* Program cards */
.brmf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-top: 12px; }
.brmf-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--brmf-line);
	border-radius: var(--brmf-radius); overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.brmf-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.1); }
.brmf-card-img { display: block; aspect-ratio: 16 / 10; background: #ddd center / cover no-repeat; }
.brmf-card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.brmf-card-age { color: var(--brmf-brand-dark); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.brmf-card-title { font-family: Viga, sans-serif; font-size: 22px; }
.brmf-card-text { color: var(--brmf-muted); flex: 1; }
.brmf-card-link { font-weight: 700; color: var(--brmf-brand-dark); margin-top: 6px; }

/* Feature grids */
.brmf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 12px; }
.brmf-feature { background: #fff; border: 1px solid var(--brmf-line); border-radius: var(--brmf-radius); padding: 24px; }
.brmf-feature p { color: var(--brmf-muted); margin: 0; }
.brmf-features-benefits .brmf-feature { border-top: 4px solid var(--brmf-brand); }

/* Upsell by invitation (Leadership Track) */
.brmf-upsell-section { background: var(--brmf-soft) !important; border-top: 4px solid var(--brmf-brand); }
.brmf-upsell-eyebrow { text-align: center; color: var(--brmf-brand-dark); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5em; }
.brmf-steps { list-style: none; counter-reset: brmf-step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; }
.brmf-steps li { counter-increment: brmf-step; background: #fff; border-radius: 10px; padding: 16px 18px 16px 58px; position: relative; border: 1px solid var(--brmf-line); }
.brmf-steps li::before { content: counter(brmf-step); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%; background: var(--brmf-brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.brmf-steps strong { display: block; }
.brmf-steps span { color: var(--brmf-muted); font-size: 15px; }

/* Comparison */
.brmf-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 12px; }
.brmf-compare-col { border-radius: var(--brmf-radius); padding: 26px 28px; }
.brmf-compare-col ul { list-style: none; margin: 0; padding: 0; }
.brmf-compare-col li { padding: 10px 0 10px 34px; position: relative; border-top: 1px solid rgba(0,0,0,.07); }
.brmf-compare-col li::before { position: absolute; left: 0; top: 9px; font-weight: 700; font-size: 18px; }
.brmf-compare-them { background: #f1f1f1; color: #555; }
.brmf-compare-them li::before { content: "\2715"; color: #999; }
.brmf-compare-us { background: #fff; border: 2px solid var(--brmf-brand); }
.brmf-compare-us li::before { content: "\2713"; color: var(--brmf-brand); }

/* Reviews */
.brmf-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin: 12px 0 24px; }
.brmf-review { margin: 0; background: #fff; border: 1px solid var(--brmf-line); border-radius: var(--brmf-radius); padding: 24px; }
.brmf-review blockquote { margin: 10px 0 14px; font-size: 18px; }
.brmf-review figcaption { color: var(--brmf-muted); font-size: 15px; }

/* Coaches */
.brmf-coaches { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 12px; }
.brmf-coach { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--brmf-line); border-radius: var(--brmf-radius); padding: 20px; }
.brmf-coach img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; flex: none; }
.brmf-coach-role { color: var(--brmf-brand-dark); font-weight: 700; font-size: 15px; margin-bottom: .4em; }

/* FAQ */
.brmf-faq { max-width: 760px; margin: 12px auto 0; }
.brmf-faq-item { background: #fff; border: 1px solid var(--brmf-line); border-radius: 10px; margin-bottom: 12px; padding: 0 22px; }
.brmf-faq-item summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.brmf-faq-item summary::-webkit-details-marker { display: none; }
.brmf-faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--brmf-brand); }
.brmf-faq-item[open] summary::after { content: "\2212"; }
.brmf-faq-item p { color: var(--brmf-muted); padding-bottom: 18px; margin: 0; }

/* Closing ask with inline form */
.brmf-cta-section { background: var(--brmf-dark) !important; color: #fff; }
.brmf-cta-section .brmf-intro { color: rgba(255,255,255,.8); }
.brmf-cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.brmf-cta-copy .brmf-h2, .brmf-cta-copy .brmf-intro { text-align: left; margin-left: 0; }

/* Form */
.brmf-form, .brmf-thanks { background: #fff; color: var(--brmf-ink); border-radius: var(--brmf-radius); padding: 28px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.brmf-form-lead { font-weight: 500; margin-bottom: 18px; }
.brmf-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.brmf-input {
	display: block; width: 100%; font: 18px Roboto, sans-serif; padding: 14px 16px; margin-bottom: 18px;
	border: 2px solid var(--brmf-line); border-radius: 10px; background: #fff; color: var(--brmf-ink);
}
.brmf-input:focus { outline: none; border-color: var(--brmf-brand); box-shadow: 0 0 0 3px rgba(231,93,66,.2); }
.brmf-input[aria-invalid="true"] { border-color: #c62828; }
.brmf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brmf-form-error { color: #c62828; font-weight: 700; margin: 12px 0 0; }
.brmf-fine { font-size: 13px; color: var(--brmf-muted); margin: 14px 0 0; text-align: center; }
.brmf-form.is-sending .brmf-btn { opacity: .6; pointer-events: none; }
.brmf-thanks { text-align: center; border-top: 5px solid var(--brmf-brand); }

/* Chips (e.g. party equipment) */
.brmf-chips { list-style: none; margin: 12px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; }
.brmf-chips li { background: #fff; border: 2px solid var(--brmf-line); border-radius: 999px; padding: 10px 18px; font-weight: 500; }

/* School-out dates table */
.brmf-dates-wrap { max-width: 820px; margin: 12px auto 0; overflow-x: auto; }
.brmf-dates { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--brmf-line); border-radius: var(--brmf-radius); overflow: hidden; font-size: 16px; }
.brmf-dates th, .brmf-dates td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--brmf-line); }
.brmf-dates th { background: var(--brmf-soft); font-weight: 700; }
.brmf-dates tr:last-child td { border-bottom: 0; }
.brmf-dates td:first-child { white-space: nowrap; font-weight: 600; }

/* Booking page (step 2) */
.brmf-session-when small { display: block; font-weight: 400; color: var(--brmf-muted); font-size: 14px; }
.brmf-booking-section { background: #faf8f7 !important; }
.brmf-booking-section .brmf-h2 { margin-top: 0; }
.brmf-book { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--brmf-line); border-radius: var(--brmf-radius); padding: 28px; box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.brmf-book-step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.brmf-book-step legend { padding: 0; margin-bottom: 14px; }
.brmf-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.brmf-group-pill { position: relative; cursor: pointer; }
.brmf-group-pill input, .brmf-session input { position: absolute; opacity: 0; pointer-events: none; }
.brmf-group-pill span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 2px solid var(--brmf-line); border-radius: 12px; height: 100%; transition: border-color .15s, background .15s; }
.brmf-group-pill small { color: var(--brmf-muted); font-size: 14px; }
.brmf-group-pill input:checked + span, .brmf-session:has(input:checked) { border-color: var(--brmf-brand); background: var(--brmf-soft); }
.brmf-group-pill input:focus-visible + span, .brmf-session:has(input:focus-visible) { outline: 3px solid rgba(231,93,66,.35); outline-offset: 2px; }
.brmf-sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.brmf-session { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--brmf-line); border-radius: 12px; cursor: pointer; }
.brmf-session[hidden] { display: none; }
.brmf-session-when { font-weight: 700; }
.brmf-session-left { font-size: 14px; color: var(--brmf-brand-dark); font-weight: 600; white-space: nowrap; }
.brmf-session.is-full { opacity: .5; cursor: not-allowed; }
.brmf-session.is-full .brmf-session-left { color: var(--brmf-muted); }
.brmf-pick-group, .brmf-no-times, .brmf-note-plain { color: var(--brmf-muted); margin: 0; }
.brmf-gymdesk-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.brmf-demo-note { font-size: 14px; background: #fff7df; border: 1px solid #f1d98b; border-radius: 8px; padding: 8px 12px; }
.brmf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.brmf-field-wide { grid-column: 1 / -1; }
.brmf-book textarea.brmf-input { resize: vertical; }
.brmf-book.is-sending .brmf-btn { opacity: .6; pointer-events: none; }
.brmf-book-thanks { max-width: 760px; margin: 0 auto; }

/* Step 3: finish your booking */
.brmf-progress { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 0 auto 24px; padding: 0; flex-wrap: wrap; }
.brmf-progress li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--brmf-muted); }
.brmf-progress li + li::before { content: ""; width: 28px; height: 2px; background: var(--brmf-line); }
.brmf-progress .is-done { color: #2f7d2f; }
.brmf-progress .is-done::after { content: "\2713"; }
.brmf-progress .is-current { color: var(--brmf-brand-dark); }
.brmf-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.brmf-summary, .brmf-pay { background: #fff; border: 1px solid var(--brmf-line); border-radius: var(--brmf-radius); padding: 26px; box-shadow: 0 18px 40px rgba(0,0,0,.06); }
.brmf-pay { border-top: 5px solid var(--brmf-brand); }
.brmf-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 20px; }
.brmf-summary dt { font-weight: 700; color: var(--brmf-muted); }
.brmf-summary dd { margin: 0; }
.brmf-checklist { margin: 0; padding-left: 20px; color: var(--brmf-muted); }
.brmf-checklist li { margin-bottom: 6px; }
.brmf-pay-frame { width: 100%; min-height: 460px; border: 0; border-radius: 10px; }
.brmf-checkout .brmf-pay-placeholder p { margin: 0 0 8px; }

/* Modal */
.brmf-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.brmf-modal[hidden] { display: none; }
.brmf-modal-backdrop { position: absolute; inset: 0; background: rgba(15,17,20,.65); }
.brmf-modal-box { position: relative; width: 100%; max-width: 460px; max-height: 94vh; overflow: auto; background: #fff; border-radius: 18px; padding: 30px 26px 24px; }
.brmf-modal-box .brmf-h2 { font-size: 26px; padding-right: 24px; }
.brmf-modal-box .brmf-form, .brmf-modal-box .brmf-thanks { box-shadow: none; padding: 0; }
.brmf-modal-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 32px; line-height: 1; cursor: pointer; color: var(--brmf-muted); }
body.brmf-modal-open { overflow: hidden; }

/* Footer */
.brmf-footer { background: #121417; color: rgba(255,255,255,.8); padding: 56px 0 24px; font-size: 15px; }
.brmf-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.brmf-footer a { color: #fff; }
.brmf-footer-name { font-family: Viga, sans-serif; font-size: 22px; color: #fff; }
.brmf-footer-links { display: flex; flex-direction: column; gap: 6px; }
.brmf-footer-links a { text-decoration: none; opacity: .8; }
.brmf-copy { margin-top: 36px; font-size: 13px; opacity: .6; }

/* Mobile sticky bar */
.brmf-sticky { display: none; }

/* Articles */
/* Articles list and article pages */
.brmf-page-head { background: var(--brmf-dark); color: #fff; padding: 72px 0 56px; }
.brmf-page-head .brmf-h1 { margin: 0 0 .3em; }
.brmf-page-head .brmf-hero-text { max-width: 640px; margin: 0; }
.brmf-page-head .brmf-eyebrow a { color: inherit; text-decoration: none; }
.brmf-articles-section { background: #faf8f7 !important; }
.brmf-topics { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 28px; }
.brmf-topics a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--brmf-line); color: var(--brmf-ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.brmf-topics a:hover { border-color: var(--brmf-brand); }
.brmf-topics a[aria-current] { background: var(--brmf-brand); border-color: var(--brmf-brand); color: #fff; }
.brmf-article-card .brmf-card-title { font-size: 20px; line-height: 1.25; }
.brmf-pagination ul { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 32px 0 0; }
.brmf-pagination a, .brmf-pagination span { display: block; min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 8px; background: #fff; border: 1px solid var(--brmf-line); color: var(--brmf-ink); text-decoration: none; font-weight: 700; }
.brmf-pagination .current { background: var(--brmf-brand); border-color: var(--brmf-brand); color: #fff; }
.brmf-article-head { background: linear-gradient(rgba(20,22,26,.78), rgba(20,22,26,.78)), var(--brmf-hero-img) center / cover no-repeat; padding: 96px 0 72px; }
.brmf-article-wrap { max-width: 760px; }
.brmf-article-meta { opacity: .8; margin: 0; }
.brmf-prose { padding-top: 40px; padding-bottom: 24px; font-size: 18px; line-height: 1.7; }
.brmf-prose h2 { font-family: Viga, sans-serif; font-weight: 400; font-size: 26px; margin: 1.6em 0 .5em; }
.brmf-prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.brmf-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.brmf-prose ul, .brmf-prose ol { padding-left: 1.3em; }
.brmf-prose li { margin-bottom: .4em; }
.brmf-prose a { color: var(--brmf-brand-dark); }
.brmf-prose .brmf-article-cta { font-size: 16px; line-height: 1.5; }

.brmf-article-cta { margin: 48px 0 16px; }
.brmf-article-cta-box { background: var(--brmf-dark); color: #fff; border-radius: var(--brmf-radius); padding: 32px 28px; }
.brmf-article-cta-box .brmf-intro { color: rgba(255,255,255,.8); }
.brmf-article-cta-box .brmf-form { max-width: 460px; margin: 0 auto; }

@media (max-width: 900px) {
	.brmf-menu-toggle { display: block; }
	.brmf-header-btn { display: none; }
	.brmf-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-bottom: 1px solid var(--brmf-line); padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08);
	}
	.brmf-nav.is-open { display: flex; }
	.brmf-nav > a, .brmf-nav-label { display: block; padding: 12px 0; border-bottom: 1px solid var(--brmf-line); }
	.brmf-nav-label::after { content: ""; }
	.brmf-nav-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
	.brmf-nav-menu a { padding: 8px 0; }
	.brmf-cta-inner, .brmf-compare, .brmf-footer-inner, .brmf-fields { grid-template-columns: 1fr; }
	.brmf-book { padding: 20px 16px; }
	.brmf-cta-copy .brmf-h2, .brmf-cta-copy .brmf-intro { text-align: center; }
	.brmf-section { padding: 60px 0; }
	.brmf-hero { padding: 72px 0 64px; background: linear-gradient(rgba(20,22,26,.72), rgba(20,22,26,.72)), var(--brmf-hero-img) center / cover no-repeat; }
	.brmf-hero.has-video::before { background: rgba(20,22,26,.72); }
	.brmf-checkout { grid-template-columns: 1fr; }
	.brmf-sticky {
		display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--brmf-line);
	}
	.brmf-sticky .brmf-btn { flex: 1; text-align: center; padding: 14px 12px; }
	.brmf-sticky .brmf-btn-ghost { flex: 0 0 30%; }
	.brmf-footer { padding-bottom: 96px; }
	.brmf-coach { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 782px) { .admin-bar .brmf-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) { .brmf * { transition: none !important; } }

/* Payment step placeholder (until Hero OS takes payments) */
.brmf .brmf-pay-placeholder { margin: 16px 0 0; padding: 12px 16px; border: 2px dashed var(--brmf-line); border-radius: 10px; color: var(--brmf-muted); font-size: 15px; }

/* GymDesk booking widget, shown in the booking step until Hero OS sends times. */
.brmf-gd-frame { margin-top: 12px; }
.brmf-gd-iframe { display: block; width: 100%; min-height: 520px; border: 0; border-radius: 12px; background: #1f2a33; }

/* Themify Builder pages: the theme keeps its header and footer; each section
   sits in a full-width Builder row with no extra spacing of its own. */
body.brmf-themify .module_row[class*="brmf"], body.brmf-themify .module_row:has(.module-text[class*="brmf-tb-"]) { padding: 0 !important; margin: 0 !important; }
body.brmf-themify .module-text[class*="brmf-tb-"] { margin: 0 !important; padding: 0 !important; }
body.brmf-themify .module-text[class*="brmf-tb-"] .module_column, body.brmf-themify .module_column:has(> .module-text[class*="brmf-tb-"]) { padding: 0 !important; }
body.brmf-themify .module_row:has(.module-text[class*="brmf-tb-"]) > .row_inner { max-width: none !important; width: 100% !important; }
.brmf a.brmf-btn { text-decoration: none; display: inline-block; }

/* Hero photo as an <img> (Builder pages), so it can be swapped in the editor. */
.brmf-hero.has-img { position: relative; overflow: hidden; background: #14161a; }
.brmf-hero-img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; z-index: 0; margin: 0 !important; }
.brmf-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,22,26,.86) 0%, rgba(20,22,26,.6) 55%, rgba(20,22,26,.25) 100%); }
.brmf-hero.has-img .brmf-hero-inner { position: relative; z-index: 2; }
@media (max-width: 900px) { .brmf-hero.has-img::before { background: rgba(20,22,26,.72); } }
/* If the theme still boxes the page in, the funnel sections break out to full width. */
body.brmf-themify { overflow-x: clip; }
body.brmf-themify .themify_builder_content:has(.module-text[class*="brmf-tb-"]) { width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; }

/* Themify Ultra resets: it uppercases headings and buttons and gives every text
   box a fixed 17em width. Keep the funnel's own look inside .brmf. */
.brmf h1, .brmf h2, .brmf h3, .brmf h4, .brmf .brmf-btn, .brmf button, .brmf summary { text-transform: none; letter-spacing: normal; }
.brmf input.brmf-input, .brmf select.brmf-input, .brmf textarea.brmf-input { width: 100%; max-width: none; }

/* Invite a friend (You're booked page). */
.brmf-invite { margin-top: 24px; }
.brmf-invite .brmf-h3 { margin-top: 0; }
.brmf-invite-or { text-align: center; color: var(--brmf-muted); margin: 18px 0 6px; }
.brmf-invite .brmf-form { margin-top: 0; padding: 0; background: none; border: 0; box-shadow: none; }
