/* ============================================================
   BESTgroup Theme – main.css
   Distinctive, professional design with bold red accents.
   ============================================================ */

/* ─── Custom Properties ──────────────────────────────────── */
:root {
	/* Brand */
	--bg-red:           #B40C1E;   /* primary BESTgroup red */
	--bg-red-deep:      #8A0816;
	--bg-red-soft:      #D63A4A;
	--bg-red-tint:      #FBEBED;

	/* Neutrals */
	--bg-ink:           #14161A;   /* near-black, warmer than pure */
	--bg-ink-soft:      #2A2D33;
	--bg-graphite:      #4A4D54;
	--bg-stone:         #7A7E86;
	--bg-mist:          #E6E5E0;
	--bg-cream:         #FAF7F2;
	--bg-paper:         #FDFCF9;
	--bg-white:         #FFFFFF;

	/* Functional */
	--bg-success:       #1F7A3A;
	--bg-shadow-sm:     0 1px 3px rgba(20, 22, 26, 0.08);
	--bg-shadow-md:     0 8px 28px rgba(20, 22, 26, 0.10);
	--bg-shadow-lg:     0 24px 60px rgba(20, 22, 26, 0.14);

	/* Layout */
	--bg-container:     1240px;
	--bg-container-wide: 1440px;
	--bg-radius-sm:     6px;
	--bg-radius-md:     14px;
	--bg-radius-lg:     22px;
	--bg-radius-xl:     32px;

	/* Typography */
	--bg-font-display:  "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	--bg-font-body:     "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

	/* Motion */
	--bg-easing:        cubic-bezier(0.22, 1, 0.36, 1);
	--bg-trans-fast:    180ms var(--bg-easing);
	--bg-trans:         320ms var(--bg-easing);
	--bg-trans-slow:    600ms var(--bg-easing);
}

/* ─── Reset / Base ───────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg-paper);
	color: var(--bg-ink);
	font-family: var(--bg-font-body);
	font-size: 17px;
	line-height: 1.65;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
picture,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--bg-red);
	text-decoration: none;
	transition: color var(--bg-trans-fast);
}

a:hover,
a:focus-visible {
	color: var(--bg-red-deep);
}

button {
	font: inherit;
	cursor: pointer;
}

/* Skip link for keyboard users */
.bg-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	background: var(--bg-ink);
	color: var(--bg-white);
	padding: 12px 18px;
	z-index: 999;
	border-radius: 0 0 var(--bg-radius-sm) 0;
}
.bg-skip-link:focus {
	position: fixed;
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	color: var(--bg-white);
}

/* Visually hidden helper */
.bg-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.bg-h1, .bg-h2, .bg-h3 {
	font-family: var(--bg-font-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--bg-ink);
	margin: 0 0 0.6em 0;
	font-feature-settings: "ss01", "ss02";
}

h1, .bg-h1 {
	font-size: clamp(2.75rem, 6vw, 5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
}

h2, .bg-h2 {
	font-size: clamp(2.1rem, 4.4vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -0.025em;
}

h3, .bg-h3 {
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	font-weight: 600;
	letter-spacing: -0.015em;
}

p {
	margin: 0 0 1.1em 0;
}
p:last-child {
	margin-bottom: 0;
}

strong {
	font-weight: 600;
}

/* "BESTgroup" branding: BEST is italic, "group" is light – matches the logo.
   Use both :has() (modern browsers) AND a .bg-brand class (universal fallback). */
strong:has(> .bg-light),
strong.bg-brand {
	font-style: italic;
	font-weight: 800;
	letter-spacing: -0.005em;
}
strong:has(> .bg-light) .bg-light,
strong.bg-brand .bg-light {
	font-style: normal; /* "group" stays upright */
}

.bg-light {
	font-weight: 400;
	color: var(--bg-graphite);
}

/* Tagline, Eyebrow */
.bg-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--bg-font-body);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bg-red);
	margin-bottom: 1.4em;
}
.bg-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--bg-red);
}

/* Container */
.bg-container {
	width: 100%;
	max-width: var(--bg-container);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 48px);
}

.bg-container--wide {
	max-width: var(--bg-container-wide);
}

/* Section spacing */
.bg-section {
	padding-block: clamp(72px, 11vw, 140px);
	position: relative;
}

.bg-section--tight {
	padding-block: clamp(48px, 8vw, 90px);
}

.bg-section--cream {
	background: var(--bg-cream);
}

.bg-section--ink {
	background: var(--bg-ink);
	color: var(--bg-mist);
}
.bg-section--ink h1,
.bg-section--ink h2,
.bg-section--ink h3 {
	color: var(--bg-white);
}

/* Buttons */
.bg-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 32px;
	background: var(--bg-red);
	color: var(--bg-white);
	font-family: var(--bg-font-body);
	font-weight: 600;
	font-size: 0.96rem;
	letter-spacing: 0.01em;
	border-radius: 999px;
	border: 1.5px solid var(--bg-red);
	transition: all var(--bg-trans);
	text-decoration: none;
	box-shadow: var(--bg-shadow-sm);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.bg-btn::after {
	content: "→";
	font-size: 1.05em;
	transition: transform var(--bg-trans);
}

.bg-btn:hover,
.bg-btn:focus-visible {
	background: var(--bg-red-deep);
	border-color: var(--bg-red-deep);
	color: var(--bg-white);
	transform: translateY(-2px);
	box-shadow: var(--bg-shadow-md);
}
.bg-btn:hover::after,
.bg-btn:focus-visible::after {
	transform: translateX(4px);
}

.bg-btn--outline {
	background: transparent;
	color: var(--bg-red);
}
.bg-btn--outline:hover,
.bg-btn--outline:focus-visible {
	background: var(--bg-red);
	color: var(--bg-white);
}

.bg-btn--ghost {
	background: transparent;
	color: var(--bg-ink);
	border-color: var(--bg-ink);
}
.bg-btn--ghost:hover {
	background: var(--bg-ink);
	color: var(--bg-white);
	border-color: var(--bg-ink);
}

/* ─── Header ─────────────────────────────────────────────── */
.bg-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #FDFCF9;
	border-bottom: 1px solid rgba(20, 22, 26, 0.08);
	isolation: isolate;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	will-change: transform;
}

.bg-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 12px;
	min-width: 0;
}

.bg-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.bg-logo img {
	height: 64px;
	width: auto;
	display: block;
}

.bg-nav {
	display: flex;
	align-items: center;
	gap: 0;
	min-width: 0;
	overflow: hidden;
}

.bg-nav__list {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}

.bg-nav__link {
	display: inline-flex;
	padding: 8px 11px;
	color: var(--bg-ink);
	font-weight: 500;
	font-size: 0.84rem;
	border-radius: 999px;
	transition: all var(--bg-trans-fast);
	position: relative;
	white-space: nowrap;
}

.bg-nav__link:hover,
.bg-nav__link:focus-visible {
	color: var(--bg-red);
	background: var(--bg-red-tint);
}

.bg-header-right {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bg-lang-switcher {
	display: inline-flex;
	gap: 4px;
	background: var(--bg-mist);
	border-radius: 999px;
	padding: 3px;
}

.bg-lang-switcher__option {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all var(--bg-trans-fast);
	overflow: hidden;
	flex-shrink: 0;
	opacity: 0.55;
	filter: grayscale(0.4);
}

.bg-lang-switcher__option:hover {
	opacity: 0.85;
	filter: grayscale(0);
}

.bg-lang-switcher__option.is-active {
	opacity: 1;
	filter: grayscale(0);
	box-shadow: 0 0 0 2px var(--bg-ink), 0 4px 10px rgba(20, 22, 26, 0.15);
}

.bg-lang-switcher__flag {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(20, 22, 26, 0.10);
	background: #fff;
}

.bg-lang-switcher__flag svg {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 50%;
}

/* ─── Header pages dropdown menu ─────────────────────────── */
.bg-pages-menu {
	position: relative;
}

.bg-pages-menu__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: 1.5px solid rgba(20, 22, 26, 0.18);
	border-radius: 999px;
	padding: 8px 14px;
	color: var(--bg-ink);
	font-size: 0.84rem;
	font-weight: 600;
	font-family: var(--bg-font-body);
	letter-spacing: 0.005em;
	cursor: pointer;
	transition: all var(--bg-trans-fast);
	white-space: nowrap;
}

.bg-pages-menu__toggle:hover,
.bg-pages-menu__toggle:focus-visible,
.bg-pages-menu[data-open="true"] .bg-pages-menu__toggle {
	border-color: var(--bg-ink);
	background: var(--bg-ink);
	color: var(--bg-white);
}

.bg-pages-menu__toggle svg {
	transition: transform var(--bg-trans-fast);
}

.bg-pages-menu[data-open="true"] .bg-pages-menu__toggle svg {
	transform: rotate(180deg);
}

.bg-pages-menu__list {
	/* Layout (position, background, padding, etc.) is set via inline styles
	   on the element itself so it cannot be stripped by CSS optimizers.
	   This rule only handles the open/close animation. */
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity var(--bg-trans-fast), transform var(--bg-trans-fast);
}

.bg-pages-menu[data-open="true"] .bg-pages-menu__list {
	opacity: 1;
	transform: translateY(0);
}

.bg-pages-menu__list ul,
.bg-pages-menu__list ol,
.bg-pages-menu__items,
.bg-pages-menu__sub {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.bg-pages-menu__list li {
	margin: 0;
	list-style: none !important;
}

.bg-pages-menu__list a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--bg-ink);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--bg-trans-fast);
	line-height: 1.35;
}

.bg-pages-menu__list a:hover,
.bg-pages-menu__list a:focus-visible {
	background: var(--bg-cream);
	color: var(--bg-red);
}

/* Sub-menu items get a small left indent and lighter weight */
.bg-pages-menu__sub a {
	padding-left: 26px;
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--bg-ink-soft);
}
.bg-pages-menu__sub a::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 1px;
	background: var(--bg-stone);
	vertical-align: middle;
	margin-right: 6px;
	margin-left: -14px;
	opacity: 0.6;
}

/* Active page highlight (WordPress adds .current-menu-item / .current_page_item) */
.bg-pages-menu__list .current-menu-item > a,
.bg-pages-menu__list .current_page_item > a {
	background: var(--bg-red-tint);
	color: var(--bg-red);
	font-weight: 600;
}

/* Empty-state message shown only when no menu is assigned and no pages exist */
.bg-pages-menu__empty {
	display: block;
	padding: 12px 14px;
	font-size: 0.84rem;
	line-height: 1.4;
	color: var(--bg-graphite);
	font-style: italic;
}

@media (max-width: 1140px) {
	.bg-pages-menu__toggle span {
		display: none;
	}
	.bg-pages-menu__toggle {
		padding: 8px 10px;
	}
}

.bg-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	background: var(--bg-red);
	color: var(--bg-white);
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.005em;
	text-decoration: none;
	transition: all var(--bg-trans-fast);
	box-shadow: 0 4px 14px rgba(180, 12, 30, 0.28);
	white-space: nowrap;
	flex-shrink: 0;
}

.bg-header-cta svg {
	flex-shrink: 0;
	transition: transform var(--bg-trans-fast);
}

.bg-header-cta__text {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.15;
	white-space: nowrap;
}

.bg-header-cta__line1,
.bg-header-cta__line2 {
	display: block;
}

.bg-header-cta__line1 {
	font-weight: 700;
}

.bg-header-cta__line2 {
	font-weight: 500;
	opacity: 0.92;
	font-size: 0.78rem;
}

.bg-header-cta:hover,
.bg-header-cta:focus-visible {
	background: var(--bg-red-deep);
	color: var(--bg-white);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(138, 8, 22, 0.38);
}

.bg-header-cta:hover svg {
	transform: scale(1.08);
}

/* At narrower widths, show the icon only (label hidden) so the header can stay
 * tidy without ever overflowing. The button remains a tappable target. */
@media (max-width: 1180px) {
	.bg-header-cta__text {
		display: none;
	}
	.bg-header-cta {
		padding: 9px 11px;
		gap: 0;
	}
	.bg-header-cta svg {
		width: 18px;
		height: 18px;
	}
}

.bg-mobile-toggle {
	display: none;
	background: transparent;
	border: 1.5px solid var(--bg-ink);
	border-radius: 999px;
	padding: 9px 14px;
	color: var(--bg-ink);
	font-weight: 600;
	font-size: 0.85rem;
}

/* ─── Hero ───────────────────────────────────────────────── */
.bg-hero {
	position: relative;
	padding-top: clamp(60px, 10vw, 100px);
	padding-bottom: clamp(80px, 12vw, 160px);
	overflow: hidden;
	background: var(--bg-paper);
}

.bg-hero__container {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vw, 72px);
}

@media (min-width: 980px) {
	.bg-hero__container {
		grid-template-columns: 1.1fr 1fr;
		align-items: center;
	}
}

.bg-hero__title {
	font-size: clamp(2.6rem, 6.4vw, 5.5rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 0.4em;
	color: var(--bg-ink-soft);
}

.bg-hero__title span {
	display: block;
	margin-bottom: 0.04em;
	color: var(--bg-ink-soft);
}

.bg-hero__title span:last-child {
	margin-bottom: 0;
}

/* All three hero title lines now share the same dark-grey colour, weight,
   and upright style — no longer alternating italic/regular. */
.bg-hero__title .accent {
	color: var(--bg-ink-soft);
	font-style: normal;
	font-weight: 700;
}

.bg-hero__lead {
	font-size: clamp(1.0rem, 1.2vw, 1.1rem);
	color: var(--bg-ink-soft);
	max-width: 56ch;
	margin-bottom: 2em;
}

.bg-hero__bullets {
	list-style: none;
	margin: 0 0 2.4em 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.bg-hero__bullets li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-weight: 500;
	color: var(--bg-ink);
}

.bg-hero__bullets svg {
	flex-shrink: 0;
	margin-top: 4px;
}

/* ─── Hero right column: visual stage + book strip ─────── */
.bg-hero__right {
	max-width: 540px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
}

/* Visual stage (icon + arc + metrics, square) */
.bg-hero__visual {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
}

/* Subtle red glow behind the icon */
.bg-hero__visual::before {
	content: "";
	position: absolute;
	inset: 8% 8%;
	background:
		radial-gradient(circle at 35% 35%, rgba(180, 12, 30, 0.18), transparent 62%),
		radial-gradient(circle at 70% 70%, rgba(180, 12, 30, 0.10), transparent 55%);
	border-radius: 50%;
	z-index: 0;
}

/* The red ribbon arc – contained inside the visual area, behind the B icon */
.bg-hero__arc {
	position: absolute;
	top: -8%;
	left: -10%;
	width: 120%;
	height: auto;
	pointer-events: none;
	z-index: 1;
	opacity: 0.95;
	transform: rotate(-2deg);
}

@media (max-width: 980px) {
	.bg-hero__arc {
		top: -10%;
		width: 110%;
		opacity: 0.7;
	}
}

.bg-hero__visual-inner {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.bg-hero__visual-inner img {
	max-width: 58%;
	filter: drop-shadow(0 22px 40px rgba(180, 12, 30, 0.35));
}

/* KPI metrics – cards anchored to corners */
.bg-hero__metrics {
	position: absolute;
	background: var(--bg-white);
	border-radius: var(--bg-radius-md);
	padding: 16px 20px;
	box-shadow: var(--bg-shadow-md);
	display: flex;
	align-items: center;
	gap: 14px;
	z-index: 3;
	border: 1px solid rgba(20, 22, 26, 0.05);
}

.bg-hero__metrics .num {
	font-family: var(--bg-font-display);
	font-size: 2.1rem;
	font-weight: 800;
	color: var(--bg-red);
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.bg-hero__metrics .num small {
	font-size: 0.55em;
	font-weight: 700;
	margin-left: 2px;
}

.bg-hero__metrics .label {
	font-size: 0.82rem;
	color: var(--bg-graphite);
	max-width: 14ch;
	line-height: 1.3;
	font-weight: 500;
}

/* Top metric: on-time delivery improvement */
.bg-hero__metrics--top {
	top: 4%;
	right: -6%;
}

/* Bottom metric: inventory reduction */
.bg-hero__metrics--bottom {
	bottom: 6%;
	left: -8%;
}

@media (max-width: 980px) {
	.bg-hero__metrics--top {
		right: 0;
	}
	.bg-hero__metrics--bottom {
		left: 0;
	}
}

/* ─── Hero books strip (4 Springer covers under the icon) ── */
.bg-hero__books {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 18px 14px 14px;
	background: var(--bg-white);
	border-radius: var(--bg-radius-md);
	border: 1px solid rgba(20, 22, 26, 0.06);
	box-shadow: var(--bg-shadow-md);
	text-decoration: none;
	transition: all var(--bg-trans);
}

.bg-hero__books:hover,
.bg-hero__books:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--bg-shadow-lg);
	border-color: rgba(180, 12, 30, 0.25);
}

.bg-hero__books-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	width: 100%;
	align-items: end;
}

.bg-hero__books-row img {
	width: 100%;
	height: auto;
	border-radius: 3px;
	box-shadow: 0 4px 14px rgba(20, 22, 26, 0.18);
	transition: transform var(--bg-trans);
}

.bg-hero__books:hover .bg-hero__books-row img {
	transform: translateY(-2px);
}

.bg-hero__books-label {
	font-family: var(--bg-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bg-red);
	text-align: center;
}

@media (max-width: 600px) {
	.bg-hero__books {
		padding: 12px 10px 10px;
	}
	.bg-hero__books-row {
		gap: 8px;
	}
	.bg-hero__books-label {
		font-size: 0.66rem;
		letter-spacing: 0.14em;
	}
}

/* ─── Benefits ───────────────────────────────────────────── */
.bg-benefits {
	background:
		linear-gradient(180deg, var(--bg-paper) 0%, var(--bg-cream) 100%);
}

.bg-section__head {
	text-align: center;
	max-width: 760px;
	margin-inline: auto;
	margin-bottom: clamp(48px, 6vw, 80px);
}

.bg-section__head .bg-eyebrow {
	margin-inline: auto;
}

.bg-benefits__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(20px, 2.5vw, 32px);
}

.bg-benefit {
	background: var(--bg-white);
	border-radius: var(--bg-radius-md);
	padding: 36px 30px;
	border: 1px solid rgba(20, 22, 26, 0.05);
	transition: all var(--bg-trans);
	position: relative;
	overflow: hidden;
}

.bg-benefit::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1.5px solid transparent;
	background: linear-gradient(135deg, var(--bg-red), transparent 50%) border-box;
	-webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity var(--bg-trans);
	pointer-events: none;
}

.bg-benefit:hover {
	transform: translateY(-6px);
	box-shadow: var(--bg-shadow-md);
}
.bg-benefit:hover::before {
	opacity: 1;
}

.bg-benefit__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--bg-red-tint);
	color: var(--bg-red);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
	transition: all var(--bg-trans);
}

.bg-benefit:hover .bg-benefit__icon {
	background: var(--bg-red);
	color: var(--bg-white);
}

.bg-benefit__title {
	font-family: var(--bg-font-display);
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: -0.01em;
}

.bg-benefit__text {
	color: var(--bg-graphite);
	font-size: 0.96rem;
	line-height: 1.6;
}

/* ─── Challenges ─────────────────────────────────────────── */
.bg-challenges {
	background: #E8E5DE;          /* light warm grey – strong contrast with dark text */
	color: var(--bg-ink-soft);
	overflow: hidden;
	position: relative;
}

.bg-challenges::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(180, 12, 30, 0.10), transparent 65%);
	pointer-events: none;
	border-radius: 50%;
}

.bg-challenges .bg-eyebrow {
	color: var(--bg-red);
}
.bg-challenges .bg-eyebrow::before {
	background: var(--bg-red);
}

.bg-challenges h2 {
	color: var(--bg-ink);
}

.bg-challenges__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.bg-challenge {
	background: var(--bg-white);
	border: 1px solid rgba(20, 22, 26, 0.06);
	border-radius: var(--bg-radius-md);
	padding: 32px 28px;
	transition: all var(--bg-trans);
	position: relative;
	box-shadow: 0 2px 8px rgba(20, 22, 26, 0.04);
}

.bg-challenge:hover {
	border-color: var(--bg-red);
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(180, 12, 30, 0.14);
}

.bg-challenge__num {
	font-family: var(--bg-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bg-red);
	letter-spacing: 0.1em;
	margin-bottom: 16px;
	display: block;
}

.bg-challenge__title {
	color: var(--bg-ink);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: -0.01em;
}

.bg-challenge__text {
	color: var(--bg-graphite);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ─── Audiences ──────────────────────────────────────────── */
.bg-audiences__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.bg-audience {
	padding: 36px 30px;
	border-radius: var(--bg-radius-md);
	background: var(--bg-white);
	border: 1px solid rgba(20, 22, 26, 0.06);
	transition: all var(--bg-trans);
	position: relative;
}

.bg-audience:hover {
	transform: translateY(-4px);
	box-shadow: var(--bg-shadow-md);
}

.bg-audience::before {
	content: "";
	position: absolute;
	left: 30px;
	top: 0;
	width: 40px;
	height: 5px;
	background: var(--bg-red);
	border-radius: 0 0 4px 4px;
}

.bg-audience__title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-top: 18px;
	margin-bottom: 14px;
}

.bg-audience__text {
	color: var(--bg-graphite);
	font-size: 0.95rem;
}

/* ─── Improvements ───────────────────────────────────────── */
.bg-improvements {
	background: var(--bg-cream);
	overflow: hidden;
	position: relative;
}

.bg-improvements__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
	align-items: center;
}

@media (min-width: 980px) {
	.bg-improvements__layout {
		grid-template-columns: 1fr 1.4fr;
	}
}

.bg-improvements__visual {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--bg-radius-lg);
	background:
		linear-gradient(135deg, var(--bg-red) 0%, var(--bg-red-deep) 100%);
	overflow: hidden;
	box-shadow: var(--bg-shadow-lg);
}

.bg-improvements__visual::before,
.bg-improvements__visual::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.bg-improvements__visual::before {
	width: 60%;
	height: 60%;
	top: -10%;
	right: -10%;
}

.bg-improvements__visual::after {
	width: 80%;
	height: 80%;
	bottom: -30%;
	left: -20%;
}

.bg-improvements__caption {
	position: absolute;
	left: 32px;
	right: 32px;
	bottom: 32px;
	color: var(--bg-white);
	font-family: var(--bg-font-display);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	z-index: 2;
}

.bg-improvements__caption-eyebrow {
	display: block;
	font-family: var(--bg-font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 14px;
	opacity: 0.85;
}

.bg-improvement {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px;
	padding: 26px 0;
	border-bottom: 1px solid rgba(20, 22, 26, 0.1);
}
.bg-improvement:last-child {
	border-bottom: 0;
}

.bg-improvement__num {
	font-family: var(--bg-font-display);
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--bg-red);
	line-height: 1;
	min-width: 64px;
}

.bg-improvement__text {
	color: var(--bg-ink-soft);
	font-size: 1rem;
	line-height: 1.6;
}

/* ─── Services ───────────────────────────────────────────── */
.bg-services__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 28px;
}

.bg-service {
	background: var(--bg-white);
	border: 1px solid rgba(20, 22, 26, 0.06);
	border-radius: var(--bg-radius-md);
	padding: 36px 30px;
	transition: all var(--bg-trans);
	position: relative;
	overflow: hidden;
}

.bg-service::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 4px;
	background: var(--bg-red);
	transition: width var(--bg-trans);
}

.bg-service:hover {
	transform: translateY(-4px);
	box-shadow: var(--bg-shadow-md);
}
.bg-service:hover::before {
	width: 100%;
}

.bg-service__num {
	font-family: var(--bg-font-display);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bg-red);
	letter-spacing: 0.06em;
	margin-bottom: 20px;
	display: inline-block;
	padding: 4px 12px;
	background: var(--bg-red-tint);
	border-radius: 999px;
}

.bg-service__title {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 14px;
	letter-spacing: -0.015em;
}

.bg-service__text {
	color: var(--bg-graphite);
	font-size: 0.96rem;
	line-height: 1.65;
}

/* ─── About ──────────────────────────────────────────────── */
.bg-about {
	background:
		linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-paper) 100%);
	position: relative;
	overflow: hidden;
}

.bg-about__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
	align-items: start;
}

@media (min-width: 980px) {
	.bg-about__layout {
		grid-template-columns: 1.2fr 1fr;
	}
}

.bg-about__title {
	font-size: clamp(2rem, 4vw, 3.4rem);
	margin-bottom: 0.3em;
}

.bg-about__subtitle {
	font-family: var(--bg-font-body);
	font-size: 1.15rem;
	color: var(--bg-graphite);
	margin-bottom: 1.6em;
	font-weight: 500;
}

.bg-about__content p {
	color: var(--bg-ink-soft);
	font-size: 1.02rem;
	line-height: 1.7;
	margin-bottom: 1.4em;
}

.bg-about__visual {
	position: relative;
	height: 100%;
	min-height: 360px;
}

.bg-about__icon-bg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.92;
}

.bg-about__icon-bg img {
	max-width: 80%;
	max-height: 100%;
}

/* ─── Why BESTgroup ──────────────────────────────────────── */
.bg-why {
	background: var(--bg-white);
}

.bg-why__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-top: 40px;
}

@media (min-width: 760px) {
	.bg-why__layout {
		grid-template-columns: 1fr 1fr;
	}
}

.bg-why__col {
	border-radius: var(--bg-radius-lg);
	padding: 44px 36px;
	position: relative;
}

.bg-why__col--others {
	background: var(--bg-cream);
	border: 1px solid rgba(20, 22, 26, 0.06);
}

.bg-why__col--us {
	background: linear-gradient(135deg, var(--bg-red) 0%, var(--bg-red-deep) 100%);
	color: var(--bg-white);
	box-shadow: var(--bg-shadow-lg);
}

.bg-why__col h3 {
	margin-top: 0;
	margin-bottom: 30px;
	font-size: 1.6rem;
}

.bg-why__col--us h3 {
	color: var(--bg-white);
}

.bg-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bg-why__list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(20, 22, 26, 0.08);
	align-items: start;
	font-size: 0.98rem;
	line-height: 1.5;
}

.bg-why__col--us .bg-why__list li {
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

.bg-why__list li:last-child {
	border-bottom: 0;
}

.bg-why__icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* ─── Process ────────────────────────────────────────────── */
.bg-process {
	background: var(--bg-cream);
}

.bg-process__steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	margin-top: 50px;
	max-width: 920px;
	margin-inline: auto;
}

.bg-process__step {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 24px;
	background: var(--bg-white);
	border-radius: var(--bg-radius-md);
	padding: 28px 32px;
	border: 1px solid rgba(20, 22, 26, 0.06);
	position: relative;
	transition: all var(--bg-trans);
}

.bg-process__step:hover {
	transform: translateX(4px);
	box-shadow: var(--bg-shadow-md);
	border-color: var(--bg-red);
}

.bg-process__step--sub {
	margin-left: 50px;
}

.bg-process__num {
	font-family: var(--bg-font-display);
	font-size: 2rem;
	font-weight: 800;
	color: var(--bg-red);
	line-height: 1;
	letter-spacing: -0.02em;
}

.bg-process__step--sub .bg-process__num {
	font-size: 1.4rem;
}

.bg-process__title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 8px;
	letter-spacing: -0.01em;
}

.bg-process__text {
	color: var(--bg-graphite);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ─── Books Section ──────────────────────────────────────── */
.bg-books {
	background:
		linear-gradient(180deg, var(--bg-paper) 0%, var(--bg-cream) 100%);
	position: relative;
	overflow: hidden;
}

.bg-books__intro {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
	color: var(--bg-graphite);
	font-size: 1.05rem;
	margin-bottom: 50px;
}

.bg-books__group-label {
	text-align: center;
	font-family: var(--bg-font-body);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bg-graphite);
	margin: 50px 0 30px 0;
	display: flex;
	align-items: center;
	gap: 18px;
}
.bg-books__group-label::before,
.bg-books__group-label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(20, 22, 26, 0.12);
}

.bg-books__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 32px;
}

.bg-book {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 26px;
	background: var(--bg-white);
	border-radius: var(--bg-radius-md);
	padding: 28px;
	border: 1px solid rgba(20, 22, 26, 0.06);
	transition: all var(--bg-trans);
	align-items: start;
}

.bg-book:hover {
	transform: translateY(-4px);
	box-shadow: var(--bg-shadow-md);
}

.bg-book__cover {
	width: 130px;
	border-radius: 4px;
	box-shadow: var(--bg-shadow-md);
	overflow: hidden;
	flex-shrink: 0;
}

.bg-book__cover img {
	width: 100%;
	height: auto;
	display: block;
}

.bg-book__meta {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bg-red);
	padding: 4px 10px;
	background: var(--bg-red-tint);
	border-radius: 999px;
	margin-bottom: 12px;
}

.bg-book__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 6px;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.bg-book__subtitle {
	color: var(--bg-graphite);
	font-size: 0.92rem;
	font-weight: 500;
	margin-bottom: 12px;
}

.bg-book__text {
	color: var(--bg-graphite);
	font-size: 0.9rem;
	line-height: 1.55;
	margin-bottom: 14px;
}

.bg-book__author {
	font-size: 0.84rem;
	color: var(--bg-stone);
	margin-bottom: 4px;
}

.bg-book__year {
	font-family: var(--bg-font-display);
	font-weight: 700;
	color: var(--bg-ink);
	font-size: 1rem;
}

/* ─── SCM Topics (formerly SEO Texts) ────────────────────── */
.bg-topics {
	background: var(--bg-white);
}

.bg-topics__intro {
	max-width: 800px;
	margin: 0 auto 60px auto;
	text-align: center;
	color: var(--bg-graphite);
	font-size: 1.05rem;
}

.bg-topics__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 32px;
}

.bg-topic {
	padding: 32px 28px;
	border-radius: var(--bg-radius-md);
	background: var(--bg-cream);
	border-top: 3px solid var(--bg-red);
	transition: all var(--bg-trans);
}

.bg-topic:hover {
	transform: translateY(-3px);
	box-shadow: var(--bg-shadow-md);
}

.bg-topic__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 14px;
	letter-spacing: -0.01em;
}

.bg-topic__text {
	color: var(--bg-graphite);
	font-size: 0.96rem;
	line-height: 1.6;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.bg-faq {
	background: var(--bg-cream);
}

.bg-faq__list {
	max-width: 880px;
	margin-inline: auto;
	margin-top: 40px;
}

.bg-faq__item {
	border-bottom: 1px solid rgba(20, 22, 26, 0.1);
	background: transparent;
}

.bg-faq__item:first-child {
	border-top: 1px solid rgba(20, 22, 26, 0.1);
}

.bg-faq__question {
	width: 100%;
	background: transparent;
	border: 0;
	padding: 28px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-family: var(--bg-font-display);
	font-weight: 600;
	font-size: 1.2rem;
	color: var(--bg-ink);
	text-align: left;
	letter-spacing: -0.01em;
	transition: color var(--bg-trans-fast);
}

.bg-faq__question:hover {
	color: var(--bg-red);
}

.bg-faq__icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border-radius: 999px;
	background: var(--bg-red-tint);
	color: var(--bg-red);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--bg-trans);
	font-size: 1.4rem;
	line-height: 1;
}

.bg-faq__item[aria-expanded="true"] .bg-faq__icon,
.bg-faq__item.is-open .bg-faq__icon {
	background: var(--bg-red);
	color: var(--bg-white);
	transform: rotate(45deg);
}

.bg-faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 360ms var(--bg-easing);
}

.bg-faq__answer-inner {
	padding: 0 0 28px 0;
	color: var(--bg-graphite);
	font-size: 1rem;
	line-height: 1.65;
	max-width: 80ch;
}

/* ─── Contact ────────────────────────────────────────────── */
.bg-contact {
	background: var(--bg-ink);
	color: var(--bg-mist);
	position: relative;
	overflow: hidden;
}

.bg-contact::before {
	content: "";
	position: absolute;
	top: -25%;
	left: -10%;
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(180, 12, 30, 0.35), transparent 60%);
	border-radius: 50%;
	pointer-events: none;
}

.bg-contact .bg-eyebrow {
	color: var(--bg-red-soft);
}
.bg-contact .bg-eyebrow::before {
	background: var(--bg-red-soft);
}

.bg-contact h2 {
	color: var(--bg-white);
}

.bg-contact__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	position: relative;
	z-index: 2;
}

@media (min-width: 880px) {
	.bg-contact__layout {
		grid-template-columns: 1fr 1.1fr;
		align-items: start;
	}
}

.bg-contact__lead {
	font-size: 1.1rem;
	color: rgba(230, 229, 224, 0.85);
	margin-bottom: 36px;
	max-width: 42ch;
}

/* ─── Direct appointment booking block (in dark contact section) ── */
.bg-contact__appointment {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 26px 28px;
	margin-bottom: 30px;
	background: linear-gradient(135deg, rgba(180, 12, 30, 0.18) 0%, rgba(214, 58, 74, 0.10) 100%);
	border: 1px solid rgba(214, 58, 74, 0.32);
	border-radius: var(--bg-radius-md);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 8px 30px rgba(180, 12, 30, 0.18);
}

.bg-contact__appointment-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--bg-red);
	color: var(--bg-white);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(180, 12, 30, 0.42);
}

.bg-contact__appointment-body {
	flex: 1;
	min-width: 0;
}

.bg-contact__appointment-text {
	font-size: 0.98rem;
	line-height: 1.5;
	color: rgba(230, 229, 224, 0.92);
	margin: 0 0 14px 0;
}

.bg-contact__or-separator {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 30px;
	color: rgba(230, 229, 224, 0.5);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.bg-contact__or-separator::before,
.bg-contact__or-separator::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(230, 229, 224, 0.15);
}

.bg-contact__person {
	display: flex;
	gap: 18px;
	align-items: center;
	margin-bottom: 30px;
}

.bg-contact__person-avatar {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--bg-red-tint);
	flex-shrink: 0;
	border: 2px solid rgba(255, 255, 255, 0.15);
}

.bg-contact__person-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bg-contact__person-name {
	color: var(--bg-white);
	font-family: var(--bg-font-display);
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.bg-contact__person-role {
	color: rgba(230, 229, 224, 0.7);
	font-size: 0.9rem;
}

.bg-contact__details {
	display: grid;
	gap: 18px;
}

.bg-contact__detail {
	display: flex;
	gap: 16px;
	align-items: center;
}

.bg-contact__detail-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bg-red-soft);
	flex-shrink: 0;
}

.bg-contact__detail-label {
	font-size: 0.78rem;
	color: rgba(230, 229, 224, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 2px;
}

.bg-contact__detail-value {
	color: var(--bg-white);
	font-weight: 500;
	font-size: 1.05rem;
}

.bg-contact__detail-value a {
	color: var(--bg-white);
}
.bg-contact__detail-value a:hover {
	color: var(--bg-red-soft);
}

/* Form */
.bg-form {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--bg-radius-lg);
	padding: clamp(28px, 4vw, 44px);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.bg-form__row {
	display: grid;
	gap: 20px;
}

.bg-form__row--2 {
	grid-template-columns: 1fr;
}

@media (min-width: 540px) {
	.bg-form__row--2 {
		grid-template-columns: 1fr 1fr;
	}
}

.bg-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bg-form__label {
	font-size: 0.84rem;
	font-weight: 500;
	color: rgba(230, 229, 224, 0.85);
	letter-spacing: 0.02em;
}

.bg-form__label .bg-required {
	color: var(--bg-red-soft);
}

.bg-form__input,
.bg-form__textarea {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--bg-radius-sm);
	padding: 14px 16px;
	color: var(--bg-white);
	font: inherit;
	font-size: 1rem;
	font-family: var(--bg-font-body);
	transition: all var(--bg-trans-fast);
	width: 100%;
}

.bg-form__input::placeholder,
.bg-form__textarea::placeholder {
	color: rgba(230, 229, 224, 0.4);
}

.bg-form__input:focus,
.bg-form__textarea:focus {
	outline: none;
	border-color: var(--bg-red-soft);
	background: rgba(255, 255, 255, 0.08);
}

.bg-form__textarea {
	resize: vertical;
	min-height: 120px;
}

.bg-form__row--submit {
	margin-top: 18px;
}

.bg-form__feedback {
	margin-top: 14px;
	padding: 14px 18px;
	border-radius: var(--bg-radius-sm);
	font-size: 0.95rem;
	display: none;
}
.bg-form__feedback.is-success {
	display: block;
	background: rgba(31, 122, 58, 0.15);
	border: 1px solid rgba(31, 122, 58, 0.4);
	color: #98D6A8;
}
.bg-form__feedback.is-error {
	display: block;
	background: rgba(180, 12, 30, 0.15);
	border: 1px solid rgba(180, 12, 30, 0.4);
	color: #F5A8B0;
}

/* ─── Footer ─────────────────────────────────────────────── */
.bg-site-footer {
	background: var(--bg-ink-soft);
	color: rgba(230, 229, 224, 0.90);
	padding-block: 80px 30px;
	position: relative;
	font-size: 0.95rem;
	line-height: 1.6;
}

.bg-site-footer p {
	color: rgba(230, 229, 224, 0.90);
}

.bg-site-footer h4 {
	color: var(--bg-white);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-family: var(--bg-font-body);
	margin-bottom: 22px;
}

.bg-site-footer .bg-light {
	color: rgba(230, 229, 224, 0.78);
}

.bg-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	margin-bottom: 60px;
}

@media (min-width: 760px) {
	.bg-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

.bg-footer__about-logo img {
	height: 50px;
	margin-bottom: 20px;
	background: var(--bg-white);
	padding: 6px 10px;
	border-radius: 6px;
}

.bg-footer__contact-link {
	color: rgba(230, 229, 224, 0.90);
	transition: color var(--bg-trans-fast);
}
.bg-footer__contact-link:hover {
	color: var(--bg-white);
}

.bg-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bg-footer__list li {
	margin-bottom: 10px;
}
.bg-footer__list a {
	color: rgba(230, 229, 224, 0.90);
	font-size: 0.95rem;
	transition: color var(--bg-trans-fast);
}
.bg-footer__list a:hover {
	color: var(--bg-white);
}

.bg-footer__cta {
	color: #FBEBED !important;
	font-weight: 600;
	margin-top: 4px;
	display: inline-block;
}
.bg-footer__cta:hover {
	color: var(--bg-white) !important;
}

.bg-footer__legal-meta {
	font-size: 0.86rem;
	margin-top: 16px;
	color: rgba(230, 229, 224, 0.72);
	line-height: 1.6;
}

.bg-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	padding-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
	font-size: 0.86rem;
	color: rgba(230, 229, 224, 0.78);
}

.bg-footer__bottom strong,
.bg-footer__bottom .bg-brand {
	color: rgba(230, 229, 224, 0.95);
}

.bg-footer__lang {
	display: flex;
	gap: 6px;
}
.bg-footer__lang a {
	color: rgba(230, 229, 224, 0.78);
	padding: 4px 10px;
	border-radius: 999px;
	transition: all var(--bg-trans-fast);
}
.bg-footer__lang a:hover {
	color: var(--bg-white);
	background: rgba(255, 255, 255, 0.06);
}

/* ─── Mobile Navigation ──────────────────────────────────── */
@media (max-width: 980px) {
	.bg-mobile-toggle {
		display: inline-flex;
	}

	.bg-nav {
		position: fixed;
		inset: 0;
		background: var(--bg-paper);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 30px;
		padding: 40px;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all var(--bg-trans);
		z-index: 99;
	}

	.bg-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.bg-nav__list {
		flex-direction: column;
		gap: 0;
		text-align: center;
	}

	.bg-nav__link {
		font-size: 1.4rem;
		padding: 14px 28px;
	}
}

/* ─── Reveal animations on scroll ────────────────────────── */
.bg-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 700ms var(--bg-easing),
		transform 700ms var(--bg-easing);
	transition-delay: var(--reveal-delay, 0ms);
}

.bg-reveal.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.bg-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ─── Static-page typography (Impressum / Datenschutz / generic page) ── */
.bg-page-content h2 {
	font-family: var(--bg-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--bg-ink);
	margin-top: 2.4em;
	margin-bottom: 0.6em;
	line-height: 1.25;
}

.bg-page-content h2:first-child {
	margin-top: 0;
}

.bg-page-content h3 {
	font-family: var(--bg-font-body);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--bg-ink);
	margin-top: 1.8em;
	margin-bottom: 0.5em;
	letter-spacing: 0;
}

.bg-page-content p {
	margin-bottom: 1.1em;
}

.bg-page-content p + h2,
.bg-page-content p + h3 {
	margin-top: 2em;
}

.bg-page-content a {
	color: var(--bg-red);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
	transition: color var(--bg-trans-fast);
}
.bg-page-content a:hover {
	color: var(--bg-red-deep);
}

/* ─── Print ──────────────────────────────────────────────── */
@media print {
	.bg-site-header,
	.bg-site-footer,
	.bg-hero__arc,
	.bg-mobile-toggle,
	.bg-lang-switcher {
		display: none !important;
	}
	body {
		background: white;
		color: black;
	}
}

/* ─── Small utilities ────────────────────────────────────── */
.bg-text-center { text-align: center; }
.bg-mt-0 { margin-top: 0; }
.bg-mb-0 { margin-bottom: 0; }
.bg-mt-large { margin-top: clamp(40px, 6vw, 80px); }
.bg-mb-large { margin-bottom: clamp(40px, 6vw, 80px); }
