/*
Theme Name: Bridgia Hosting
Theme URI: https://hosting.bridgia.net
Author: Bridgia Africa
Description: Marketing site for Bridgia managed e-learning hosting. Block theme, core blocks only, no page builder.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPLv2 or later
Text Domain: bridgia-hosting
*/

/* ---------- Tokens (light / dark) ---------- */
:root {
	--bh-blue: #1A73E8;
	--bh-blue-deep: #0D57C2;
	--bh-yellow: #FFB300;
	--bh-green: #1DB954;
	--bh-bg: #F4F7FC;
	--bh-surface: #FFFFFF;
	--bh-ink: #0D1B2E;
	--bh-muted: #4B5D76;
	--bh-line: #D9E2EF;
	--bh-tint: #E7F0FD;
	--bh-link: #1460C9;
	--bh-band: #0D1B2E;
	--bh-band-ink: #F2F6FC;
	--bh-shadow: 0 1px 2px rgb(13 27 46 / 6%), 0 12px 32px -12px rgb(13 27 46 / 18%);
	--bh-ease: cubic-bezier(.2, .7, .2, 1);
	--bh-space: clamp(3.5rem, 7vw, 6rem);
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bh-bg: #07111F;
		--bh-surface: #0E1C31;
		--bh-ink: #E9EFF8;
		--bh-muted: #9DAEC6;
		--bh-line: #1D3050;
		--bh-tint: #10274A;
		--bh-link: #6EA8FF;
		--bh-band: #0E1C31;
		--bh-band-ink: #E9EFF8;
		--bh-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 40px -16px rgb(0 0 0 / 60%);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bh-bg: #07111F;
	--bh-surface: #0E1C31;
	--bh-ink: #E9EFF8;
	--bh-muted: #9DAEC6;
	--bh-line: #1D3050;
	--bh-tint: #10274A;
	--bh-link: #6EA8FF;
	--bh-band: #0E1C31;
	--bh-band-ink: #E9EFF8;
	--bh-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 40px -16px rgb(0 0 0 / 60%);
	color-scheme: dark;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bh-bg); color: var(--bh-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--bh-yellow); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bh-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--bh-ink); color: var(--bh-bg); padding: .6rem 1rem; border-radius: 8px; }
.bh-skip:focus { top: 1rem; }
p, li { max-width: 68ch; }
.has-text-align-center { margin-inline: auto; }

/* Sections sit flush; spacing lives inside them */
.bh-main .wp-block-post-content > .alignfull,
.bh-main > .alignfull { margin-block: 0; }
.bh-main .bh-section { padding-block: var(--bh-space); }
.bh-section > .wp-block-heading:first-child { margin-top: 0; }
.bh-section__head h2 { max-width: 22ch; text-wrap: balance; }
.bh-section__head > :first-child { margin-top: 0; }
/* Back-to-back sections on the same background share one gap */
.bh-compare-section + .bh-features, .bh-features + .bh-migration, .bh-migration + .bh-faq, .bh-faq + .bh-cta { padding-top: 0 !important; }
.bh-lead { font-size: var(--wp--preset--font-size--large); color: var(--bh-muted); line-height: 1.5; }

/* Buttons */
.wp-element-button, .wp-block-button__link { transition: background-color .2s, color .2s, transform .2s var(--bh-ease), box-shadow .2s; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px var(--bh-blue); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--bh-ink); border: 1.5px solid var(--bh-line);
	padding: calc(.8rem - 1.5px) calc(1.5rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--bh-ink); box-shadow: none; background: transparent; color: var(--bh-ink); }

/* ---------- Header ---------- */
.bh-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bh-bg) 82%, transparent);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s;
}
.bh-header.is-scrolled { border-bottom-color: var(--bh-line); }
.bh-header__inner { min-height: 4.25rem; gap: 1.5rem; }
.bh-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--bh-ink); }
.bh-logo img { height: 34px; width: auto; display: block; }
.bh-logo .bh-logo--dark { display: none; }
:root[data-theme="dark"] .bh-logo .bh-logo--light { display: none; }
:root[data-theme="dark"] .bh-logo .bh-logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .bh-logo .bh-logo--light { display: none; }
	:root:not([data-theme="light"]) .bh-logo .bh-logo--dark { display: block; }
}
.bh-logo__product { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .95rem; color: var(--bh-muted); padding-left: .6rem; border-left: 1px solid var(--bh-line); }
.bh-nav { font-size: .95rem; font-weight: 500; }
.bh-nav a { text-decoration: none; color: var(--bh-ink); }
.bh-nav a:hover { color: var(--bh-link); }
.bh-header .wp-block-button__link { padding: .55rem 1.1rem; font-size: .95rem; }
.bh-theme-toggle {
	inline-size: 2.4rem; block-size: 2.4rem; display: grid; place-items: center;
	border-radius: 50%; border: 1px solid var(--bh-line); background: var(--bh-surface); color: var(--bh-ink); cursor: pointer;
}
.bh-theme-toggle svg { width: 18px; height: 18px; }
.bh-theme-toggle .bh-icon-sun { display: none; }
:root[data-theme="dark"] .bh-theme-toggle .bh-icon-sun { display: block; }
:root[data-theme="dark"] .bh-theme-toggle .bh-icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .bh-theme-toggle .bh-icon-sun { display: block; }
	:root:not([data-theme="light"]) .bh-theme-toggle .bh-icon-moon { display: none; }
}
@media (max-width: 600px) { .bh-logo__product, .bh-header .wp-block-buttons { display: none; } }

/* ---------- Hero ---------- */
.bh-hero { padding-block: clamp(3rem, 7vw, 6rem) var(--bh-space); position: relative; overflow: clip; }
.bh-hero__grid { gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.bh-hero h1 { font-size: var(--wp--preset--font-size--xx-large); line-height: 1; letter-spacing: -0.035em; font-weight: 750; margin: 0 0 1.25rem; text-wrap: balance; }
.bh-hero .bh-lead { margin-bottom: 2rem; text-wrap: pretty; }
.bh-hero__proof { font-size: var(--wp--preset--font-size--small); color: var(--bh-muted); margin-top: 1.5rem; }

/* The queue: the hero visual */
.bh-queue { position: relative; border-radius: 28px 28px 10px 10px; background: var(--bh-surface); border: 1px solid var(--bh-line); box-shadow: var(--bh-shadow); padding: 1rem 1rem 1.1rem; }
.bh-queue__frame { position: relative; aspect-ratio: 5 / 4; border-radius: 18px 18px 6px 6px; overflow: hidden; background:
	radial-gradient(120% 90% at 85% 50%, color-mix(in srgb, var(--bh-blue) 12%, transparent), transparent 60%), var(--bh-tint); }
.bh-queue canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bh-queue__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.bh-queue__readout { display: grid; gap: .1rem; }
.bh-queue__label { font-size: .8125rem; color: var(--bh-muted); }
.bh-queue__value { font-family: var(--wp--preset--font-family--display); font-size: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; transition: color .4s; }
.bh-queue[data-mode="generic"] .bh-queue__value { color: #D14343; }
:root[data-theme="dark"] .bh-queue[data-mode="generic"] .bh-queue__value { color: #FF7A7A; }
.bh-queue__switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bh-tint); border: 1px solid var(--bh-line); }
.bh-queue__switch button {
	font: inherit; font-size: .875rem; font-weight: 600; border: 0; background: transparent; color: var(--bh-muted);
	padding: .45rem .95rem; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s;
}
.bh-queue__switch button[aria-pressed="true"] { background: var(--bh-surface); color: var(--bh-ink); box-shadow: 0 1px 3px rgb(13 27 46 / 15%); }
.bh-queue__caption { font-size: .8125rem; color: var(--bh-muted); margin: .75rem 0 0; max-width: none; }

/* Grids: collapse empty tracks so 3 stats or 4 plans fill the row */
.bh-stats__grid, .bh-plans, .bh-features__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important; }

/* ---------- Stat band ---------- */
.bh-stats { background: var(--bh-band); color: var(--bh-band-ink); padding-block: clamp(3rem, 6vw, 4.5rem); }
.bh-stats__grid { gap: 2rem; }
.bh-stat { position: relative; padding-top: 1.25rem; }
.bh-stat::before { content: ""; position: absolute; top: 0; left: 0; width: 3rem; height: 6px; border-radius: 6px 6px 2px 2px; background: var(--bh-blue); transform-origin: left; }
.bh-stat:nth-child(2)::before { background: var(--bh-yellow); }
.bh-stat:nth-child(3)::before { background: var(--bh-green); }
.bh-count { font-family: var(--wp--preset--font-family--display); font-size: clamp(3rem, 6vw, 4.75rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.bh-stat p:not(.bh-count) { color: color-mix(in srgb, var(--bh-band-ink) 72%, transparent); margin: .6rem 0 0; font-size: 1rem; }

/* ---------- Why not generic ---------- */
.bh-why__cols { gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem !important; }
.bh-why__col { border-radius: 22px 22px 8px 8px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.bh-why__col h3 { margin-top: 0; }
.bh-why__col--them { background: transparent; border: 1px dashed var(--bh-line); }
.bh-why__col--us { background: var(--bh-surface); border: 1px solid var(--bh-line); box-shadow: var(--bh-shadow); position: relative; }
.bh-why__col--us::before { content: ""; position: absolute; inset: 0 auto auto 1.75rem; height: 5px; width: 9rem; border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, var(--bh-blue) 0 33.3%, var(--bh-yellow) 33.3% 66.6%, var(--bh-green) 66.6%); }
.bh-why__col ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .9rem; }
.bh-why__col li { position: relative; padding-left: 1.75rem; }
.bh-why__col li::before { position: absolute; left: 0; top: .1em; width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.bh-why__col--them li { color: var(--bh-muted); }
.bh-why__col--them li::before { content: "×"; background: color-mix(in srgb, #D14343 14%, transparent); color: #C23A3A; }
.bh-why__col--us li::before { content: "✓"; background: color-mix(in srgb, var(--bh-green) 20%, transparent); color: #0F7A37; }
:root[data-theme="dark"] .bh-why__col--us li::before { color: var(--bh-green); }
:root[data-theme="dark"] .bh-why__col--them li::before { color: #FF8A8A; }
.bh-why__col li strong { color: var(--bh-ink); }

/* ---------- Pricing ---------- */
.bh-pricing { background: var(--bh-surface); border-block: 1px solid var(--bh-line); }
.bh-pricing__note { margin-top: 1rem; padding: .15rem 0 .15rem 1rem; border-left: 4px solid var(--bh-yellow); font-weight: 600; color: var(--bh-ink); }
.bh-plans { gap: 1.25rem !important; margin-top: 2.75rem; align-items: stretch; }
.bh-plan {
	position: relative; display: flex; flex-direction: column; gap: .5rem;
	background: var(--bh-bg); border: 1px solid var(--bh-line); border-radius: 26px 26px 8px 8px;
	padding: 1.9rem 1.5rem 1.5rem; transition: transform .35s var(--bh-ease), box-shadow .35s var(--bh-ease), border-color .35s;
}
.bh-plan::before { content: ""; position: absolute; top: -1px; left: 1.5rem; right: 1.5rem; height: 5px; border-radius: 0 0 5px 5px; background: var(--bh-blue); transition: left .35s var(--bh-ease), right .35s var(--bh-ease); }
.bh-plan:nth-child(2)::before { background: var(--bh-yellow); }
.bh-plan:nth-child(3)::before { background: var(--bh-green); }
.bh-plan:nth-child(4)::before { background: var(--bh-ink); }
.bh-plan:hover { transform: translateY(-4px); box-shadow: var(--bh-shadow); border-color: color-mix(in srgb, var(--bh-blue) 35%, var(--bh-line)); }
.bh-plan:hover::before { left: 0; right: 0; border-radius: 26px 26px 0 0; height: 6px; }
.bh-plan.is-featured { background: var(--bh-surface); border-color: var(--bh-blue); box-shadow: var(--bh-shadow); }
.bh-plan > * { margin: 0 !important; }
.bh-plan h3 { font-size: 1.5rem; }
.bh-plan__badge { position: absolute !important; top: 1.25rem; right: 1.25rem; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--bh-blue); color: #fff; }
.bh-plan__cap { color: var(--bh-muted); font-weight: 500; }
.bh-price { font-family: var(--wp--preset--font-family--display); font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; padding-block: .5rem .25rem; }
.bh-plan ul { list-style: none; padding: 1rem 0 0 !important; border-top: 1px solid var(--bh-line); display: grid; gap: .55rem; font-size: .9375rem; flex: 1; }
.bh-plan li { position: relative; padding-left: 1.5rem; }
.bh-plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--bh-green); border-bottom: 2px solid var(--bh-green); transform: rotate(-45deg); }
.bh-plan .wp-block-buttons { margin-top: 1.25rem !important; }
.bh-plan .wp-block-button, .bh-plan .wp-block-button__link { width: 100%; }
.bh-pricing__foot { margin-top: 2rem; color: var(--bh-muted); font-size: .9375rem; }

/* ---------- Comparison ---------- */
.bh-compare { margin-top: 2.5rem; overflow-x: auto; }
.bh-compare table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9875rem; min-width: 640px; }
.bh-compare th, .bh-compare td { border: 0; border-bottom: 1px solid var(--bh-line); padding: 1rem 1.1rem; text-align: left; vertical-align: top; }
.bh-compare thead th { font-family: var(--wp--preset--font-family--display); font-size: 1.0625rem; font-weight: 700; border-bottom: 2px solid var(--bh-line); }
.bh-compare tbody td:first-child { font-weight: 600; width: 26%; }
.bh-compare th:nth-child(2), .bh-compare td:nth-child(2) { background: var(--bh-surface); border-left: 1px solid var(--bh-line); border-right: 1px solid var(--bh-line); }
.bh-compare thead th:nth-child(2) { border-top: 4px solid var(--bh-blue); border-radius: 18px 18px 0 0; color: var(--bh-link); }
.bh-compare tbody tr:last-child td:nth-child(2) { border-radius: 0 0 8px 8px; }
.bh-compare td:nth-child(2), .bh-compare td:nth-child(3) { position: relative; padding-left: 2.6rem; }
.bh-compare td:nth-child(2)::before, .bh-compare td:nth-child(3)::before {
	position: absolute; left: 1rem; top: 1.05rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}
.bh-compare td:nth-child(2)::before { content: "✓"; background: var(--bh-green); color: #062B14; transition: transform .45s var(--bh-ease); }
.bh-compare td:nth-child(3)::before { content: "–"; background: var(--bh-line); color: var(--bh-muted); }
.bh-compare td:nth-child(3) { color: var(--bh-muted); }
.bh-compare tbody tr { transition: background-color .2s; }
.bh-compare tbody tr:hover td:first-child, .bh-compare tbody tr:hover td:nth-child(3) { background: var(--bh-tint); }
.bh-compare figcaption { font-size: .875rem; color: var(--bh-muted); margin-top: 1rem; text-align: left; }
/* Small screens: each row becomes a stacked block */
@media (max-width: 720px) {
	.bh-compare table { min-width: 0; }
	.bh-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.bh-compare tr { display: block; border: 1px solid var(--bh-line); border-radius: 18px 18px 6px 6px; margin-bottom: 1rem; overflow: hidden; background: var(--bh-bg); }
	.bh-compare td { display: block; border-left: 0 !important; border-right: 0 !important; }
	.bh-compare tbody td:first-child { width: auto; font-family: var(--wp--preset--font-family--display); font-size: 1.0625rem; }
	.bh-compare td[data-label]::after { content: attr(data-label); display: block; order: -1; font-size: .75rem; font-weight: 700; color: var(--bh-muted); position: absolute; top: .55rem; left: 2.6rem; }
	.bh-compare td:nth-child(2), .bh-compare td:nth-child(3) { padding-top: 1.75rem; }
	.bh-compare td:nth-child(2)::before, .bh-compare td:nth-child(3)::before { top: 1.75rem; }
	.bh-compare tbody tr:last-child td:nth-child(2) { border-radius: 0; }
}

/* ---------- Features ---------- */
.bh-features__grid { gap: 2.5rem 2rem !important; margin-top: 2.75rem; }
.bh-feature { position: relative; padding-left: 1.25rem; }
.bh-feature::before { content: ""; position: absolute; left: 0; top: .2rem; bottom: .2rem; width: 4px; border-radius: 4px; background: var(--bh-blue); transform-origin: top; transition: transform .45s var(--bh-ease); transform: scaleY(.35); }
.bh-feature:nth-child(3n+2)::before { background: var(--bh-yellow); }
.bh-feature:nth-child(3n+3)::before { background: var(--bh-green); }
.bh-feature:hover::before, .bh-feature:focus-within::before { transform: scaleY(1); }
.bh-feature h3 { margin: 0 0 .4rem; font-size: 1.1875rem; }
.bh-feature p { margin: 0; color: var(--bh-muted); font-size: .9875rem; }

/* ---------- Migration ---------- */
.bh-migration__panel { background: var(--bh-band); color: var(--bh-band-ink); border-radius: 36px 36px 12px 12px; padding: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.bh-migration__panel::after { content: ""; position: absolute; right: -2rem; top: -2rem; width: 14rem; height: 14rem; pointer-events: none;
	background: linear-gradient(90deg, var(--bh-blue) 0 30%, transparent 30% 35%, var(--bh-yellow) 35% 65%, transparent 65% 70%, var(--bh-green) 70%);
	border-radius: 60px 60px 0 0; opacity: .12; transform: rotate(8deg); }
.bh-migration__panel h2, .bh-migration__panel h3 { color: inherit; }
.bh-migration__panel .bh-lead { color: color-mix(in srgb, var(--bh-band-ink) 75%, transparent); }
.bh-steps { list-style: none; counter-reset: step; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; }
.bh-steps li { counter-increment: step; position: relative; padding-top: 2.75rem; max-width: none; color: color-mix(in srgb, var(--bh-band-ink) 80%, transparent); }
.bh-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; background: var(--bh-blue); color: #fff; }
.bh-steps li:not(:last-child)::after { content: ""; position: absolute; top: 1rem; left: 2.5rem; right: -1rem; height: 1px; background: color-mix(in srgb, var(--bh-band-ink) 25%, transparent); }
.bh-steps li strong { display: block; color: var(--bh-band-ink); font-size: 1.0625rem; margin-bottom: .25rem; }
.bh-migration__proof { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--bh-band-ink) 18%, transparent); font-size: .9875rem; color: color-mix(in srgb, var(--bh-band-ink) 78%, transparent); }
.bh-migration__panel .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--bh-band-ink); border-color: color-mix(in srgb, var(--bh-band-ink) 35%, transparent); }

/* ---------- FAQ ---------- */
.bh-faq .wp-block-details { border-bottom: 1px solid var(--bh-line); padding-block: 1.1rem; margin: 0; }
.bh-faq .wp-block-details:first-of-type { border-top: 1px solid var(--bh-line); }
.bh-faq summary { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.125rem; cursor: pointer; list-style: none; position: relative; padding-right: 2.5rem; }
.bh-faq summary::-webkit-details-marker { display: none; }
.bh-faq summary::after { content: ""; position: absolute; right: .35rem; top: .2em; width: 1.1rem; height: 1.1rem;
	background: linear-gradient(var(--bh-ink), var(--bh-ink)) center / 100% 2px no-repeat, linear-gradient(var(--bh-ink), var(--bh-ink)) center / 2px 100% no-repeat;
	transition: transform .3s var(--bh-ease); }
.bh-faq details[open] summary::after { transform: rotate(135deg); }
.bh-faq details > p { color: var(--bh-muted); margin: .75rem 0 0; }
.bh-faq details[open] > p { animation: bh-open .35s var(--bh-ease); }
@keyframes bh-open { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Final CTA ---------- */
.bh-cta { text-align: center; }
.bh-cta h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.03em; text-wrap: balance; margin-inline: auto; max-width: 18ch; }
.bh-cta .bh-lead { margin-inline: auto; }
.bh-cta .wp-block-buttons { justify-content: center; margin-top: 2rem; }
.bh-doorway { display: flex; justify-content: center; gap: 10px; margin-bottom: 2rem; }
.bh-doorway span { width: 28px; height: 46px; border-radius: 14px 14px 3px 3px; background: var(--bh-blue); transform-origin: bottom; }
.bh-doorway span:nth-child(2) { background: var(--bh-yellow); height: 56px; }
.bh-doorway span:nth-child(3) { background: var(--bh-green); }

/* ---------- Footer ---------- */
.bh-footer { border-top: 1px solid var(--bh-line); padding-block: 3.5rem 2rem; font-size: .9375rem; }
.bh-footer__grid { gap: 2rem 3rem; }
.bh-footer h2 { font-size: .9375rem; font-family: var(--wp--preset--font-family--body); font-weight: 700; letter-spacing: 0; margin: 0 0 .75rem; }
.bh-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.bh-footer a { color: var(--bh-muted); text-decoration: none; }
.bh-footer a:hover { color: var(--bh-ink); text-decoration: underline; }
.bh-footer__tagline { color: var(--bh-muted); margin-top: .75rem; }
.bh-footer__legal p { margin: 0; }
.bh-footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--bh-line); color: var(--bh-muted); font-size: .875rem; }

/* ---------- Scroll motion (only when JS + motion allowed) ---------- */
.bh-motion .bh-stat::before { transform: scaleX(0); transition: transform .9s var(--bh-ease) .15s; }
.bh-motion .bh-stat.is-in::before { transform: scaleX(1); }
.bh-motion .bh-plans > .bh-plan { opacity: 0; transform: translateY(24px); }
.bh-motion .bh-plans.is-in > .bh-plan { opacity: 1; transform: none; transition: opacity .6s var(--bh-ease), transform .6s var(--bh-ease), box-shadow .35s, border-color .35s; }
.bh-motion .bh-plans.is-in > .bh-plan:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s; }
.bh-motion .bh-plans.is-in > .bh-plan:nth-child(3) { transition-delay: .16s, .16s, 0s, 0s; }
.bh-motion .bh-plans.is-in > .bh-plan:nth-child(4) { transition-delay: .24s, .24s, 0s, 0s; }
.bh-motion .bh-plans.is-in > .bh-plan:hover { transition-delay: 0s; }
.bh-motion .bh-compare tbody tr { opacity: 0; transform: translateX(-8px); }
.bh-motion .bh-compare tbody tr.is-in { opacity: 1; transform: none; transition: opacity .5s var(--bh-ease), transform .5s var(--bh-ease); }
.bh-motion .bh-compare tbody tr td:nth-child(2)::before { transform: scale(0); }
.bh-motion .bh-compare tbody tr.is-in td:nth-child(2)::before { transform: scale(1); transition-delay: .2s; }
.bh-motion .bh-doorway span { transform: scaleY(0); }
.bh-motion .bh-doorway.is-in span { transform: scaleY(1); transition: transform .7s var(--bh-ease); }
.bh-motion .bh-doorway.is-in span:nth-child(2) { transition-delay: .1s; }
.bh-motion .bh-doorway.is-in span:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
