/*
 * Miranda Bookkeeping Solutions - design system (from the Claude Design handoff).
 * Pages are plain WordPress blocks; the look comes from the classes below ("mb-*").
 */
:root {
	--mb-maroon: #7b1d2b;
	--mb-maroon-hover: #64141f;
	--mb-footer: #6a1626;
	--mb-bg: #faf5ee;
	--mb-alt: #f4e9dc;
	--mb-card: #f7eee3;
	--mb-surface: #fffdf9;
	--mb-icon: #efdccb;
	--mb-icon2: #f1e2d3;
	--mb-border: #e8d6c4;
	--mb-border2: #e5d2c0;
	--mb-border3: #eadbcb;
	--mb-strong: #d9bba6;
	--mb-text: #3b2b2b;
	--mb-body: #4a3633;
	--mb-muted: #5c4743;
	--mb-italic: #7a5f58;
	--mb-num: #c9a091;
	--mb-ftext: #f1dcd6;
	--mb-ctatext: #f6e7e2;
	--mb-pad-x: clamp(20px, 5vw, 40px);
	--mb-pad-y: clamp(72px, 9vw, 112px);
	--mb-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
	margin: 0;
	background: var(--mb-bg);
	color: var(--mb-text);
	font-family: var(--mb-font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
body * { box-sizing: border-box; }
.wp-site-blocks :where(p, h1, h2, h3, h4, ul, figure) { margin-block: 0; }
.wp-site-blocks a { color: var(--mb-maroon); text-decoration: none; }

/* ------------------------------------------------------------------ icons (Material Symbols) */
[class*="mb-i-"]::before,
[class*="mb-ia-"]::after,
body .mb-acc__head::after{
	font-family: "Material Symbols Outlined";
	font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	font-feature-settings: "liga";
	-webkit-font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
}
body .mb-i-menu_book::before, body .mb-ia-menu_book::after{ content: "menu_book"; }
body .mb-i-monitoring::before{ content: "monitoring"; }
body .mb-i-assignment_turned_in::before{ content: "assignment_turned_in"; }
body .mb-i-cleaning_services::before{ content: "cleaning_services"; }
body .mb-i-groups::before{ content: "groups"; }
body .mb-i-receipt_long::before{ content: "receipt_long"; }
body .mb-i-laptop_mac::before{ content: "laptop_mac"; }
body .mb-i-verified::before, body .mb-ia-verified::after{ content: "verified"; }
body .mb-ia-location_on::after, body .mb-i-location_on::before{ content: "location_on"; }
body .mb-ia-event_available::after{ content: "event_available"; }
body .mb-ia-event_repeat::after{ content: "event_repeat"; }
body .mb-i-sell::before{ content: "sell"; }
body .mb-i-call::before{ content: "call"; }
body .mb-i-mail::before{ content: "mail"; }

/* ------------------------------------------------------------------ layout */
body .mb-container{
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding-left: var(--mb-pad-x);
	padding-right: var(--mb-pad-x);
}
body .mb-section{ padding: var(--mb-pad-y) 0; }
body .mb-section--pre-cta{ padding-bottom: clamp(150px, 16vw, 190px); }
body .mb-bg-cream{ background: var(--mb-bg); }
body .mb-bg-alt{ background: var(--mb-alt); }
body .mb-bordered{ border-top: 1px solid var(--mb-border); border-bottom: 1px solid var(--mb-border); }
body .mb-grid-bg{
	background-color: var(--mb-alt);
	background-image: linear-gradient(rgba(123, 29, 43, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 29, 43, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
}
body .mb-bg-maroon{
	background-color: var(--mb-maroon);
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 48px 48px;
}

body .mb-split{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(40px, 6vw, 72px);
	align-items: center;
}
body .mb-split--start{ align-items: start; }
body .mb-split--400{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 80px); }
body .mb-split--440{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: end; }
body .mb-split--intro{ gap: clamp(24px, 5vw, 64px); }

/* ------------------------------------------------------------------ typography */
body .mb-h1, body .mb-h2, body .mb-h3{ font-family: var(--mb-font); font-weight: 700; color: var(--mb-maroon); text-wrap: balance; }
body .mb-h1{ font-size: clamp(40px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 24px; }
body .mb-h1--about{ font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; margin: 0; }
body .mb-h1--services{ font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; margin: 0; max-width: 640px; flex: 1 1 480px; }
body .mb-h2{ font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }
body .mb-h3{ font-size: 19px; line-height: 1.3; letter-spacing: 0; }
body .mb-u{ text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 9px; }
body .mb-h1 .mb-u{ text-decoration-thickness: 5px; text-underline-offset: 10px; }
body .mb-h1--about .mb-u{ text-decoration-thickness: 6px; text-underline-offset: 12px; }
body .mb-lead{ font-size: 18px; line-height: 1.6; max-width: 480px; color: var(--mb-body); margin-bottom: 32px; }
body .mb-copy{ display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.7; color: var(--mb-body); }
body .mb-copy > p{ margin: 0; }
body .mb-copy .mb-strong{ font-weight: 600; color: var(--mb-text); }
body .mb-copy-border{ border-left: 1px solid var(--mb-border2); padding-left: clamp(0px, 3vw, 32px); }

/* ------------------------------------------------------------------ buttons */
body .mb-btns{ display: flex; flex-wrap: wrap; gap: 12px; }
body .mb-btn .wp-block-button__link{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mb-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	padding: 14px 24px;
	border-radius: 6px;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
body .mb-btn--primary .wp-block-button__link{ background: var(--mb-maroon); color: #fff; box-shadow: 0 8px 20px rgba(123, 29, 43, 0.25); padding: 15px 26px; }
body .mb-btn--primary .wp-block-button__link:hover{ background: var(--mb-maroon-hover); color: #fff; }
body .mb-btn--secondary .wp-block-button__link{ background: var(--mb-surface); color: var(--mb-maroon); border-color: var(--mb-border2); padding: 15px 26px; }
body .mb-btn--secondary .wp-block-button__link:hover{ border-color: var(--mb-maroon); color: var(--mb-maroon); }
body .mb-btn--light .wp-block-button__link{ background: var(--mb-surface); color: var(--mb-maroon); }
body .mb-btn--light .wp-block-button__link:hover{ background: var(--mb-alt); color: var(--mb-maroon); }
body .mb-btn--phone .wp-block-button__link::before{ content: "call"; font-family: "Material Symbols Outlined"; font-variation-settings: "FILL" 1; font-size: 18px; font-weight: normal; line-height: 1; }
body .mb-btn--sm .wp-block-button__link{ font-size: 13px; padding: 10px 14px; box-shadow: none; width: 100%; justify-content: center; }

/* ------------------------------------------------------------------ cards */
body .mb-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; padding-top: clamp(48px, 6vw, 72px); }
body .mb-card{
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--mb-card);
	border: 1px solid var(--mb-border);
	border-radius: 12px;
	padding: 32px 28px;
	transition: all 0.25s;
}
body .mb-card::before{ font-size: 24px; color: var(--mb-maroon); background: var(--mb-icon); border-radius: 10px; padding: 12px; align-self: flex-start; }
body .mb-card .mb-h3{ font-size: 22px; margin: 18px 0 0; }
body .mb-card p{ font-size: 15px; line-height: 1.6; color: var(--mb-muted); }
body .mb-card:hover, body .mb-help__grid > .mb-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px rgba(74, 20, 28, 0.1); border-color: var(--mb-strong); }

body .mb-help{ display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); }
body .mb-help__intro{ flex: 1 1 300px; max-width: 400px; }
body .mb-help__intro > p{ font-size: 16px; line-height: 1.7; color: var(--mb-body); margin-bottom: 28px; }
body .mb-help__grid{ flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
body .mb-help__grid > .mb-card{ background: var(--mb-surface); border-color: var(--mb-border3); padding: 26px 24px; gap: 0; }
body .mb-help__grid > .mb-card::before{ font-size: 20px; background: var(--mb-icon2); border-radius: 8px; padding: 9px; margin-bottom: 18px; }
body .mb-help__grid > .mb-card .mb-h3{ font-size: 19px; margin: 0 0 8px; }
body .mb-help__grid > .mb-card p{ font-size: 14.5px; }
body .mb-help__grid > .mb-card:last-child{ grid-column: 1 / -1; }

/* ------------------------------------------------------------------ photos + floating cards */
body .mb-photo{ position: relative; width: 100%; }
body .mb-photo--hero{ max-width: 470px; justify-self: center; }
body .mb-photo--rosie{ max-width: 440px; justify-self: center; }
/* sticky only on wide screens with a mouse (photo beside the text); never on touch devices, even in "desktop site" mode */
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) { body .mb-photo--sticky{ position: sticky; top: 110px; } }
body .mb-arch, body .mb-frame{ margin: 0; overflow: hidden; }
body .mb-arch img, body .mb-frame img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
body .mb-arch--hero{ aspect-ratio: 0.88; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #9a2b3b 0%, #7b1d2b 100%); }
body .mb-arch--rosie{ aspect-ratio: 0.82; border-radius: 999px 999px 14px 14px; background: #ead8c5; }
body .mb-frame{ border-radius: 14px; background: #ead8c5; }
body .mb-frame--start{ aspect-ratio: 0.95; }
body .mb-frame--portrait{ aspect-ratio: 0.9; background: #94394a; }
body .mb-frame--approach{ aspect-ratio: 1.1; }
body .mb-frame--wide{ aspect-ratio: 2.25; min-height: 240px; box-shadow: 0 24px 60px rgba(74, 20, 28, 0.18); }

body .mb-float{
	position: absolute;
	background: var(--mb-surface);
	border-radius: 10px;
	padding: 14px 18px;
	box-shadow: 0 14px 34px rgba(74, 20, 28, 0.18);
	z-index: 2;
}
body .mb-float__label{ display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; color: var(--mb-maroon); line-height: 1.3; }
body .mb-float__label::after{ font-size: 16px; }
body .mb-float__value{ font-size: 15px; font-weight: 700; color: var(--mb-text); line-height: 1.25; margin-top: 4px; }
body .mb-float--cert{ left: -28px; bottom: 70px; max-width: 230px; display: flex; gap: 12px; align-items: center; }
body .mb-float--cert::before{ font-size: 22px; color: var(--mb-maroon); background: var(--mb-icon2); border-radius: 8px; padding: 8px; }
body .mb-float--cert .mb-float__label::after{ content: none; }
body .mb-float--cert .mb-float__value{ margin-top: 0; }
body .mb-float--based{ right: -18px; top: 90px; max-width: 200px; }
body .mb-float--founder{ left: 20px; right: 20px; bottom: 20px; padding: 16px 20px; }
body .mb-float--founder .mb-float__value{ font-size: 16px; margin: 0; }
body .mb-float--founder .mb-float__value span{ font-weight: 500; color: var(--mb-maroon); font-size: 13px; }
body .mb-float--founder .mb-float__sub{ font-size: 13px; color: var(--mb-muted); margin-top: 4px; line-height: 1.5; }
body .mb-float--step{ right: 20px; bottom: 24px; width: min(260px, 80%); padding: 18px; }
body .mb-float--step .mb-float__value{ font-size: 16px; margin: 6px 0 14px; }
body .mb-float--step .mb-float__label::after{ font-size: 18px; }
body .mb-float--intuit{ left: 20px; bottom: 24px; max-width: 240px; padding: 16px 18px; box-shadow: 0 14px 34px rgba(30, 6, 10, 0.35); }
body .mb-float--intuit .mb-float__value, body .mb-float--year .mb-float__value{ font-size: 16px; margin-top: 6px; line-height: 1.3; }
body .mb-float--intuit .mb-float__label::after, body .mb-float--year .mb-float__label::after{ font-size: 18px; }
body .mb-float--year{ right: 20px; bottom: 24px; max-width: 230px; padding: 16px 18px; }

/* ------------------------------------------------------------------ timeline (steps / approach) */
body .mb-steps{ display: flex; flex-direction: column; }
body .mb-step{ display: flex; gap: 20px; }
body .mb-step__rail{ display: flex; flex-direction: column; align-items: center; }
body .mb-step__n{
	width: 38px; height: 38px; flex: none;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--mb-strong);
	background: var(--mb-surface);
	border-radius: 8px;
	font-weight: 700; color: var(--mb-maroon);
}
body .mb-step__rail::after{ content: ""; flex: 1; width: 1px; background: var(--mb-strong); }
body .mb-step:last-child .mb-step__rail::after{ content: none; }
body .mb-step__text{ padding: 6px 0 30px; }
body .mb-step__text .mb-h3{ margin: 0 0 6px; }
body .mb-step__text p{ font-size: 15px; line-height: 1.6; color: var(--mb-muted); max-width: 400px; }
body .mb-steps--check .mb-step__n{ background: var(--mb-card); font-size: 0; }
body .mb-steps--check .mb-step__n::before{ content: "check"; font-family: "Material Symbols Outlined"; font-size: 18px; font-variation-settings: "FILL" 1; color: var(--mb-maroon); font-weight: normal; }
body .mb-steps--check .mb-step__text .mb-h3{ font-size: 20px; }
body .mb-steps--check .mb-step__text p{ max-width: 420px; }
body .mb-h2--steps{ margin-bottom: 36px; }

/* ------------------------------------------------------------------ about story */
body .mb-about-hero{ background: linear-gradient(180deg, transparent 0, transparent calc(100% - 200px), var(--mb-maroon) calc(100% - 200px)), var(--mb-alt); }
body .mb-about-hero > .mb-grid-bg{ background-color: transparent; }
body .mb-about-hero .mb-container{ padding-top: clamp(56px, 8vw, 96px); }
body .mb-about-top{ display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(36px, 5vw, 56px); }
body .mb-founder{ max-width: 340px; }
body .mb-founder__row{ display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
body .mb-founder__av{ width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--mb-maroon); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
body .mb-founder__name{ font-size: 15px; font-weight: 700; color: var(--mb-text); line-height: 1.3; }
body .mb-founder__role{ font-size: 13px; color: var(--mb-maroon); }
body .mb-founder > p{ font-size: 16px; line-height: 1.6; color: var(--mb-body); }
body .mb-about-hero .mb-container{ padding-bottom: 0; }
body .mb-story{ padding: clamp(64px, 9vw, 110px) 0; }
body .mb-story .mb-h2{ color: #fff; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
body .mb-story .mb-copy{ color: var(--mb-ctatext); font-size: 16px; line-height: 1.75; }
body .mb-story .mb-copy .mb-lead-p{ font-size: 18px; color: #fff; }
body .mb-story .mb-copy .mb-strong{ color: #fff; border-left: 3px solid #e8c9b5; padding-left: 16px; }
body .mb-story .mb-btns{ margin-top: 32px; }

/* ------------------------------------------------------------------ services accordion */
body .mb-services-hero .mb-container{ display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
body .mb-services-hero p{ flex: 0 1 380px; font-size: 16px; line-height: 1.7; color: var(--mb-body); }
body .mb-acc__legend{ display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9a6a60; }
body .mb-acc{ border-bottom: 1px solid var(--mb-strong); }
body .mb-acc__item{ border-top: 1px solid var(--mb-strong); transition: background 0.25s; }
body .mb-acc__item.is-open{ background: var(--mb-card); }
body .mb-acc__head{ position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 28px 92px 28px 16px; cursor: pointer; }
body .mb-acc__head:hover{ background: var(--mb-alt); }
body .mb-acc__num{ flex: 0 0 auto; width: 52px; font-size: 30px; font-weight: 700; color: var(--mb-num); letter-spacing: -0.02em; line-height: 1.2; }
body .mb-acc__main{ flex: 1 1 320px; display: grid; grid-template-columns: auto 1fr; column-gap: 28px; row-gap: 4px; align-items: center; }
body .mb-acc__main::before{ grid-row: 1 / span 2; font-size: 22px; color: #fff; background: var(--mb-maroon); border-radius: 10px; padding: 11px; }
body .mb-acc__title{ font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; color: var(--mb-maroon); line-height: 1.25; }
body .mb-acc__desc{ font-size: 15px; line-height: 1.55; color: var(--mb-muted); grid-column: 2; }
body .mb-acc__price{ flex: 0 1 220px; font-size: 15px; font-weight: 600; color: var(--mb-text); text-align: right; margin-left: auto; }
body .mb-acc__head::after{
	content: "add";
	position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--mb-maroon); border-radius: 50%;
	font-size: 22px; color: var(--mb-maroon);
}
body .mb-acc__item.is-open .mb-acc__head::after{ content: "remove"; background: var(--mb-maroon); color: #fff; }
body .mb-acc__body{ padding: 4px 16px 40px clamp(16px, 14vw, 168px); }
body .mb-acc__body > .mb-acc__inner{ max-width: 780px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.7; color: var(--mb-body); border-top: 1px dashed var(--mb-strong); padding-top: 24px; }
body .mb-acc__inner p{ margin: 0; }
body .mb-acc__inner .mb-note{ font-style: italic; color: var(--mb-italic); }
body .mb-acc__box{ display: flex; flex-direction: column; gap: 12px; background: var(--mb-card); border: 1px solid var(--mb-border); border-radius: 10px; padding: 18px 20px; }
body .mb-acc__box strong{ color: var(--mb-text); }
body .mb-acc__box em{ color: var(--mb-italic); }
html.mb-js body .mb-acc__item:not(.is-open) .mb-acc__body{ display: none; }

body .mb-note-band{ display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 56px); align-items: center; border: 1px solid var(--mb-border2); border-radius: 14px; padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 52px); background-size: 40px 40px; }
body .mb-note-band__title{ display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
body .mb-note-band__title::before{ font-size: 26px; color: #fff; background: var(--mb-maroon); border-radius: 10px; padding: 12px; }
body .mb-note-band .mb-h2{ margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
body .mb-note-band > p{ flex: 1 1 380px; font-size: 17px; line-height: 1.7; color: var(--mb-body); }

/* ------------------------------------------------------------------ CTA overlapping the footer */
body .mb-cta-wrap{ margin-top: -80px; position: relative; z-index: 10; }
body .mb-cta{
	display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
	background-color: var(--mb-maroon);
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	border-radius: 14px;
	padding: clamp(32px, 5vw, 52px) clamp(24px, 5vw, 56px);
	box-shadow: 0 20px 50px rgba(74, 20, 28, 0.25);
}
body .mb-cta__text{ flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
body .mb-cta__text h2{ font-family: var(--mb-font); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 700; color: #fff; margin: 0; text-wrap: balance; }
body .mb-cta__text p{ font-size: 16px; line-height: 1.6; color: var(--mb-ctatext); }

/* ------------------------------------------------------------------ header */
/* the template-part wrapper is the sticky element (a sticky child can't leave its parent) */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part { top: 32px; }
body .mb-header{ background: rgba(250, 245, 238, 0.94); border-bottom: 1px solid var(--mb-border3); }
body .mb-header__inner{ max-width: 1180px; margin: 0 auto; padding: 10px var(--mb-pad-x); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body .mb-logo{ margin: 0; }
body .mb-logo img{ display: block; height: 60px; width: auto; }
body .mb-header__right{ display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); flex-wrap: wrap; justify-content: flex-end; }
body .mb-nav{ font-family: var(--mb-font); font-size: 15px; font-weight: 600; }
body .mb-nav .wp-block-navigation__container{ gap: clamp(16px, 2.6vw, 32px); }
body .mb-nav .wp-block-navigation-item__content{ color: var(--mb-text); padding: 6px 0; border-bottom: 2px solid transparent; }
body .mb-nav .wp-block-navigation-item__content:hover,
body .mb-nav .wp-block-navigation-item__content.is-active{ color: var(--mb-maroon); }
body .mb-nav .wp-block-navigation-item__content.is-active{ border-bottom-color: var(--mb-maroon); }
body .mb-header .mb-btn .wp-block-button__link{ font-size: 14px; padding: 12px 20px; box-shadow: 0 6px 16px rgba(123, 29, 43, 0.25); }

/* ------------------------------------------------------------------ footer */
body .mb-footer{ background: var(--mb-footer); margin-top: -90px; padding: 150px 0 0; color: var(--mb-ftext); font-size: 15px; line-height: 1.5; }
body .mb-footer a{ color: var(--mb-ftext); }
body .mb-footer a:hover{ color: #fff; }
body .mb-footer__top{ display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
body .mb-footer__brand{ flex: 1 1 260px; max-width: 320px; }
body .mb-footer__brand img{ height: 84px; width: auto; display: block; background: var(--mb-bg); padding: 10px 16px; border-radius: 12px; box-sizing: content-box; }
body .mb-footer__brand p{ font-size: 15px; line-height: 1.6; margin: 18px 0 20px; }
body .mb-footer .wp-block-social-links{ gap: 10px; }
body .mb-footer .wp-block-social-links .wp-social-link{ background-color: var(--mb-surface) !important; color: var(--mb-maroon) !important; border-radius: 6px; width: 34px; height: 34px; }
body .mb-footer .wp-block-social-links .wp-social-link a{ color: var(--mb-maroon) !important; padding: 0; width: 34px; height: 34px; justify-content: center; align-items: center; }
body .mb-footer .wp-block-social-links .wp-social-link svg{ width: 17px; height: 17px; fill: var(--mb-maroon) !important; color: var(--mb-maroon) !important; }
body .mb-footer__cols{ flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 32px clamp(48px, 8vw, 120px); }
body .mb-footer__col{ flex: 0 0 auto; display: flex; flex-direction: column; gap: 12px; }
body .mb-footer__col .mb-footer__h{ font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 4px; }
body .mb-footer__col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
body .mb-footer__col a{ white-space: nowrap; line-height: 1.4; }
body .mb-footer__contact{ max-width: 1180px; margin: 48px auto 0; padding: 24px var(--mb-pad-x); border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; gap: 16px 40px; font-size: 15px; }
body .mb-footer__contact p{ display: flex; align-items: center; gap: 10px; margin: 0; word-break: break-all; }
body .mb-footer__contact p::before{ font-size: 18px; color: #fff; }
body .mb-footer__legal{ max-width: 1180px; margin: 0 auto; padding: 22px var(--mb-pad-x); border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; }
body .mb-footer__legal p{ margin: 0; }
body .mb-footer__legal a{ color: #fff; font-weight: 600; margin-left: 24px; }
body .mb-footer__legal a:first-child{ margin-left: 0; }

/* ------------------------------------------------------------------ consultation page */
body .mb-form-card{ max-width: 820px; margin: 0 auto; background: var(--mb-surface); border: 1px solid var(--mb-border); border-radius: 14px; padding: clamp(24px, 5vw, 48px); box-shadow: 0 10px 30px rgba(74, 20, 28, 0.07); }
body .mb-form-card .mb-h2{ font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 28px; }
body .mb-form-card .guten-form-input{ margin-bottom: 20px; }
body .mb-form-card .input-label{ color: var(--mb-text); font-weight: 600; font-size: 15px; font-family: var(--mb-font); }
body .mb-form-card .required-badge{ color: var(--mb-maroon); margin-left: 4px; font-weight: 700; }
body .mb-form-card input[type="text"], body .mb-form-card input[type="email"], body .mb-form-card input[type="tel"], body .mb-form-card select, body .mb-form-card textarea{
	width: 100%; background: var(--mb-bg); border: 1px solid var(--mb-border2); border-radius: 6px; color: var(--mb-text);
	font-family: var(--mb-font); font-size: 16px; padding: 14px;
}
body .mb-form-card input:focus, body .mb-form-card select:focus, body .mb-form-card textarea:focus{ outline: 2px solid var(--mb-maroon); outline-offset: 1px; border-color: var(--mb-maroon); }
body .mb-form-card .gutenverse-inner-input label{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; font-family: var(--mb-font); font-size: 16px; }
body .mb-form-card input[type="checkbox"]{ accent-color: var(--mb-maroon); width: 18px; height: 18px; }
body .mb-form-card .gutenverse-input-submit, body .mb-form-card .guten-button{ background: var(--mb-maroon); border: 0; border-radius: 6px; color: #fff; font-family: var(--mb-font); font-weight: 600; font-size: 16px; padding: 16px 28px; cursor: pointer; width: 100%; box-shadow: 0 8px 20px rgba(123, 29, 43, 0.25); }
body .mb-form-card .gutenverse-input-submit:hover{ background: var(--mb-maroon-hover); }
body .mb-contact-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 36px; }
body .mb-contact-card{ display: flex; flex-direction: column; gap: 6px; background: var(--mb-surface); border: 1px solid var(--mb-border3); border-radius: 12px; padding: 26px 24px; }
body .mb-contact-card::before{ font-size: 20px; color: var(--mb-maroon); background: var(--mb-icon2); border-radius: 8px; padding: 9px; align-self: flex-start; margin-bottom: 10px; }
body .mb-contact-card .mb-h3{ margin: 0; font-size: 19px; }
body .mb-contact-card p{ word-break: break-word; color: var(--mb-muted); font-size: 15px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 781px) {
	body .mb-btns{ flex-direction: column; align-items: stretch; }
	body .mb-btns .wp-block-button, body .mb-btns .wp-block-button__link{ width: 100%; text-align: center; justify-content: center; }
	body .mb-header .mb-btns{ flex-direction: row; }
	body .mb-header .mb-btns .wp-block-button, body .mb-header .mb-btns .wp-block-button__link{ width: auto; }
	body .mb-float--cert{ left: 8px; bottom: 40px; }
	body .mb-float--based{ right: 8px; }
	body .mb-acc__price{ flex-basis: 100%; text-align: left; margin-left: 80px; }
	body .mb-acc__head{ padding-right: 16px; }
	body .mb-acc__head::after{ position: static; transform: none; margin-left: auto; }
	body .mb-acc__body{ padding-left: 16px; }
	body .mb-footer__cols{ justify-content: flex-start; }
	body .mb-footer__legal a{ margin-left: 0; margin-right: 20px; }
}

/* ------------------------------------------------------------------ small helpers */
body .mb-h2--flush{ margin: 0; }
body .mb-h2--help{ margin-bottom: 20px; }
body .mb-hero .mb-container{ padding-top: clamp(48px, 7vw, 80px); padding-bottom: 0; }
body .mb-hero__text{ padding-bottom: clamp(40px, 6vw, 80px); }
body .mb-bt{ border-top: 1px solid var(--mb-border); }
body .mb-section--nobottom{ padding-bottom: 0; }
body .mb-section--approach{ padding-top: clamp(72px, 10vw, 120px); }
body .mb-copy + .mb-btns, body .mb-copy + .mb-btns{ margin-top: 32px; }
body .mb-copy-p{ font-size: 16px; line-height: 1.7; color: var(--mb-body); }
body .mb-btns--sm{ gap: 0; }

body .mb-services-hero__text{ flex: 0 1 380px; display: flex; flex-direction: column; gap: 14px; }
body .mb-services-hero .mb-services-hero__text p{ flex: none; }

/* ------------------------------------------------------------------ consultation hero (design handoff, section 4) */
html { scroll-behavior: smooth; }
body .mb-consult-anchor{ scroll-margin-top: 90px; }
body .mb-btn .wp-block-button__link{ white-space: nowrap; }
body .mb-consult-hero{ border-bottom: 1px solid var(--mb-border); }
body .mb-consult-hero .mb-container{ padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(56px, 7vw, 80px); }
body .mb-split--consult{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
body .mb-badge{ display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--mb-surface); border: 1px solid var(--mb-border2); color: var(--mb-maroon); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; margin-bottom: 24px; line-height: 1.3; }
body .mb-badge::before{ font-size: 16px; }
body .mb-h1--consult{ font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 28px; }
body .mb-h1--consult .mb-u{ text-decoration-thickness: 6px; text-underline-offset: 12px; }
body .mb-consult-lead{ font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; font-weight: 600; color: var(--mb-text); max-width: 460px; }
body .mb-consult-card{ display: flex; flex-direction: column; gap: 24px; background: var(--mb-surface); border: 1px solid var(--mb-border); border-radius: 14px; padding: clamp(28px, 3.5vw, 40px); box-shadow: 0 20px 50px rgba(74, 20, 28, 0.1); }
body .mb-consult-item{ display: flex; gap: 18px; align-items: flex-start; }
body .mb-consult-item::before{ flex: none; font-size: 22px; color: var(--mb-maroon); background: var(--mb-icon); border-radius: 10px; padding: 11px; }
body .mb-consult-item--2{ border-top: 1px solid var(--mb-border3); padding-top: 24px; }
body .mb-consult-item--2::before{ color: #fff; background: var(--mb-maroon); }
body .mb-consult-item p{ font-size: 16px; line-height: 1.7; color: var(--mb-body); }
body .mb-btn--arrow .wp-block-button__link::after{ content: "arrow_downward"; font-family: "Material Symbols Outlined"; font-variation-settings: "FILL" 1; font-size: 18px; font-weight: normal; line-height: 1; }
.mb-i-event_available::before{ content: "event_available"; }
.mb-i-forum::before{ content: "forum"; }
.mb-i-edit_note::before{ content: "edit_note"; }

/* pages without the overlapping CTA card (404, consultation page...): footer doesn't need the extra top space */
body:not(:has(.mb-cta-wrap)) .mb-footer{ margin-top: 0; padding-top: 72px; }

/* responsive safety: framed photos never push the page wider than the screen */
body .mb-frame, body .mb-arch{ width: 100%; max-width: 100%; }
body .mb-frame--wide{ min-height: 0; }
@media (max-width: 781px) { body .mb-frame--wide{ aspect-ratio: 1.6; } }

/* services accordion on phones: number | icon + title | toggle, price below the title */
@media (max-width: 781px) {
	body .mb-acc__head{ display: grid; grid-template-columns: auto 1fr auto; gap: 8px 14px; align-items: start; padding: 22px 12px; }
	body .mb-acc__num{ width: auto; font-size: 24px; grid-column: 1; grid-row: 1; line-height: 1.3; }
	body .mb-acc__main{ grid-column: 2; grid-row: 1; column-gap: 14px; flex: none; }
	body .mb-acc__main::before{ font-size: 20px; padding: 9px; }
	body .mb-acc__head::after{ grid-column: 3; grid-row: 1; position: static; transform: none; margin: 0; width: 40px; height: 40px; font-size: 20px; }
	body .mb-acc__price{ grid-column: 2 / 4; grid-row: 2; text-align: left; margin: 0; flex: none; }
	body .mb-acc__body{ padding: 4px 12px 32px 12px; }
}

@media (max-width: 781px) { body .mb-acc__main::before{ align-self: start; } }

/* consultation form: checkbox labels wrap neatly, required star stays next to the label */
body .guten-form-input-checkbox .gutenverse-inner-input label{ display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; line-height: 1.4; }
body .guten-form-input-checkbox input[type="checkbox"]{ flex: none; margin-top: 2px; }
body .guten-form-input .label-wrapper{ display: block; }
body .guten-form-input .label-wrapper label.input-label{ display: inline; }

/* header on phones (< 600px, where the WordPress menu turns into a hamburger): logo | phone icon + hamburger */
body .wp-block-navigation__responsive-container.is-menu-open{ background: var(--mb-bg); color: var(--mb-text); padding: 24px var(--mb-pad-x); }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{ gap: 22px; align-items: flex-start; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{ font-size: 22px; font-weight: 600; }
body .wp-block-navigation__responsive-container-close{ color: var(--mb-maroon); }
@media (max-width: 599px) {
	body .mb-header__inner{ flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; }
	body .mb-logo img{ height: 46px; }
	body .mb-header__right{ flex-wrap: nowrap; gap: 10px; margin-left: auto; }
	body .mb-header .mb-btns{ order: 1; }
	body .mb-nav{ order: 2; }
	body .mb-header .mb-btn .wp-block-button__link{ font-size: 0; gap: 0; padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 8px; box-shadow: 0 6px 16px rgba(123, 29, 43, 0.25); }
	body .mb-header .mb-btn--phone .wp-block-button__link::before{ font-size: 22px; }
	body .mb-nav .wp-block-navigation__responsive-container-open{ display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--mb-border2); border-radius: 8px; background: var(--mb-surface); color: var(--mb-maroon); }
}

/* mobile menu = dropdown panel under the header (not full screen) */
body .wp-block-navigation__responsive-container.is-menu-open{
	position: fixed; inset: auto; top: 64px; right: 16px; left: auto; bottom: auto;
	width: min(300px, calc(100vw - 32px)); height: auto; max-height: calc(100vh - 90px); overflow: auto;
	background-color: #fffdf9 !important; color: #3b2b2b !important; padding: 0 !important;
	border: 1px solid #e5d2c0; border-radius: 12px; box-shadow: 0 18px 40px rgba(74, 20, 28, 0.18);
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{ padding: 10px 20px !important; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{ gap: 0; width: 100%; align-items: stretch; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{ width: 100%; border-bottom: 1px solid #eadbcb; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child{ border-bottom: 0; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{ display: block; width: 100%; font-size: 18px; font-weight: 600; padding: 14px 0; color: #3b2b2b; border-bottom: 0; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.is-active{ color: #7b1d2b; }
/* the hamburger toggles the panel, so the built-in close button is visually hidden (still available to keyboards) */
body .wp-block-navigation__responsive-container-close{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }

/* dropdown: shrink to the links, text aligned to the right (under the hamburger) */
body .wp-block-navigation__responsive-container.is-menu-open{ width: -moz-fit-content; width: fit-content; min-width: 170px; max-width: calc(100vw - 32px); }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{ padding: 6px 20px !important; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{ align-items: flex-end; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{ text-align: right; justify-content: flex-end; }

/* menu hover effects */
body .mb-nav .wp-block-navigation-item__content{ position: relative; border-bottom: 0; transition: color 0.2s ease; }
body .mb-nav .wp-block-navigation-item__content::after{ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mb-maroon); transform: scaleX(0); transform-origin: left center; transition: transform 0.25s ease; }
body .mb-nav .wp-block-navigation-item__content:hover::after,
body .mb-nav .wp-block-navigation-item__content:focus-visible::after,
body .mb-nav .wp-block-navigation-item__content.is-active::after{ transform: scaleX(1); }
body .mb-nav .wp-block-navigation-item__content:hover{ color: var(--mb-maroon); }
/* dropdown on phones: soft highlight instead of the underline */
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{ border-radius: 6px; padding-left: 12px; padding-right: 12px; margin-right: -12px; transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after{ content: none; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible{ background: var(--mb-alt); color: var(--mb-maroon); padding-right: 16px; }

/* consultation page: the three contact cards share the same height */
body .guten-sGBh9n > .guten-column-wrapper{ align-items: stretch; }
body .guten-sGBh9n .guten-wrap-helper > .guten-inner-wrap,
body .guten-sGBh9n .guten-icon-box,
body .guten-sGBh9n .guten-icon-box > a,
body .guten-sGBh9n .guten-icon-box-wrapper{ height: 100%; }

body .guten-form-input .input-helper{ display: block; font-size: 13px; line-height: 1.4; color: #7a5f58; margin-top: 6px; }
body .guten-form-input .validation-error{ color: #7b1d2b; font-size: 13px; }

/* ------------------------------------------------------------------ legal pages (Privacy Policy / Terms of Use) */
body .mb-legal-hero .mb-container{ padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
body .mb-h1--legal{ font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 16px; }
body .mb-legal-meta{ font-size: 16px; color: var(--mb-italic); }
body .mb-legal{ max-width: 820px; }
body .mb-legal-sec{ margin-bottom: 36px; }
body .mb-legal-h{ font-family: var(--mb-font); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; font-weight: 700; color: var(--mb-maroon); margin: 0 0 10px; }
body .mb-legal-sec p{ font-size: 16px; line-height: 1.75; color: var(--mb-body); margin: 0 0 12px; }
body .mb-legal-sec p:last-child{ margin-bottom: 0; }
body .mb-legal-sec a{ text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

body .mb-arch--consult{ max-width: 470px; margin-left: auto; margin-right: auto; }
