/**
 * Bensela Health global design system.
 *
 * Component classes should use the `bh-` prefix to avoid conflicts with
 * Astra, Elementor, and third-party plugins.
 */

:root {
	--bh-primary: #123f4a;
	--bh-primary-dark: #0b2e37;
	--bh-secondary: #2f7f77;
	--bh-accent: #c79252;
	--bh-surface: #ffffff;
	--bh-surface-soft: #f3f8f7;
	--bh-background: #fbfcfc;
	--bh-text: #17252c;
	--bh-muted: #5f6f75;
	--bh-border: #dce7e5;
	--bh-success: #2d7652;
	--bh-warning: #9a681b;
	--bh-danger: #a23b3b;

	--bh-font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
	--bh-font-body: "Inter", "Segoe UI", Arial, sans-serif;

	--bh-radius-sm: 8px;
	--bh-radius-md: 16px;
	--bh-radius-lg: 24px;

	--bh-shadow-sm: 0 6px 20px rgba(18, 63, 74, 0.08);
	--bh-shadow-md: 0 18px 50px rgba(18, 63, 74, 0.12);

	--bh-container: 1240px;
	--bh-gutter: clamp(18px, 3vw, 32px);
	--bh-section-space: clamp(64px, 8vw, 112px);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bh-background);
	color: var(--bh-text);
	font-family: var(--bh-font-body);
	font-size: 17px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--bh-primary-dark);
	font-family: var(--bh-font-heading);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.18;
}

a {
	text-underline-offset: 0.18em;
}

img {
	height: auto;
	max-width: 100%;
}

:focus-visible {
	outline: 3px solid var(--bh-accent);
	outline-offset: 3px;
}

.bh-container {
	margin-inline: auto;
	max-width: var(--bh-container);
	padding-inline: var(--bh-gutter);
	width: 100%;
}

.bh-section {
	padding-block: var(--bh-section-space);
}

.bh-card {
	background: var(--bh-surface);
	border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-md);
	box-shadow: var(--bh-shadow-sm);
}

.bh-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--bh-font-heading);
	font-weight: 700;
	gap: 0.55rem;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.35rem;
	text-decoration: none;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

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

.bh-button--primary {
	background: var(--bh-primary);
	color: #ffffff;
}

.bh-button--primary:hover,
.bh-button--primary:focus-visible {
	background: var(--bh-primary-dark);
	color: #ffffff;
}

.bh-eyebrow {
	color: var(--bh-secondary);
	font-family: var(--bh-font-heading);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bh-reading-width {
	max-width: 760px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
