.box-modern {
	--bm-accent: #f59e0b;
	--bm-text: #111827;
	--bm-muted: #6b7280;
	--bm-border: #e5e7eb;
	--bm-border-active: #f59e0b;
	--bm-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
	--bm-shadow-hover: 0 8px 24px rgba(245, 158, 11, 0.15);
	--bm-list-hover-bg: #fffdf8;
	--bm-step-hover-bg: #fffbf5;
	--bm-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	width: 100%;
	color: var(--bm-text);
}

.box-modern--light {
	background: transparent;
}

.box-modern__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
	gap: 24px;
	align-items: stretch;
}

.box-modern__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.box-modern__list-entry {
	display: contents;
}

.box-modern__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	width: 100%;
	height: auto;
	padding: 16px 18px;
	border: 1px solid var(--bm-border);
	border-radius: 12px;
	background: #ffffff;
	color: var(--bm-text);
	font: inherit;
	text-align: left;
	white-space: normal;
	cursor: pointer;
	box-shadow: var(--bm-shadow);
	transform: translateX(0);
	transition:
		border-color var(--bm-transition),
		background-color var(--bm-transition),
		box-shadow var(--bm-transition),
		transform var(--bm-transition);
}

.box-modern__item:not(.is-active):hover {
	border-color: color-mix(in srgb, var(--bm-accent) 45%, var(--bm-border));
	background: var(--bm-list-hover-bg);
	box-shadow: var(--bm-shadow-hover);
	transform: translateX(4px);
}

/* Override aggressive theme button hover/focus defaults. */
.box-modern button.box-modern__item:hover,
.box-modern button.box-modern__item:focus,
.box-modern button.box-modern__item:focus-visible {
	color: var(--bm-text) !important;
	background-color: var(--bm-list-hover-bg) !important;
	text-decoration: none !important;
}

.box-modern button.box-modern__item.is-active:hover,
.box-modern button.box-modern__item.is-active:focus,
.box-modern button.box-modern__item.is-active:focus-visible {
	background-color: #fffbf5 !important;
}

.box-modern__item.is-active {
	border-color: var(--bm-accent);
	background: #fffbf5;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--bm-accent) 25%, transparent), var(--bm-shadow-hover);
}

.box-modern__item.is-switching {
	animation: bm-item-pulse 0.35s ease;
}

.box-modern__item:focus-visible {
	outline: 2px solid var(--bm-accent);
	outline-offset: 2px;
}

.box-modern__item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border: 1px solid var(--bm-border);
	border-radius: 10px;
	background: #f9fafb;
	color: var(--bm-muted);
	font-size: 16px;
	transition:
		background-color var(--bm-transition),
		border-color var(--bm-transition),
		color var(--bm-transition),
		transform var(--bm-transition);
}

.box-modern__item-icon svg,
.box-modern__item-icon i {
	display: block;
	width: 1em;
	height: 1em;
}

.box-modern__item.is-active .box-modern__item-icon,
.box-modern__item:hover .box-modern__item-icon {
	border-color: color-mix(in srgb, var(--bm-accent) 35%, var(--bm-border));
	background: color-mix(in srgb, var(--bm-accent) 12%, #ffffff);
	color: var(--bm-accent);
	transform: scale(1.04);
}

.box-modern__item-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.box-modern__item-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.box-modern__item-title {
	min-width: 0;
	flex: 1 1 auto;
	font-size: clamp(0.82rem, 1.1vw, 0.92rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.box-modern__item-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f3f4f6;
	color: var(--bm-muted);
	font-size: 0.62rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.box-modern__item.is-active .box-modern__item-badge {
	background: color-mix(in srgb, var(--bm-accent) 14%, #ffffff);
	color: color-mix(in srgb, var(--bm-accent) 75%, #111827);
}

.box-modern__item-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--bm-muted);
	font-size: 0.82rem;
	line-height: 1.45;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.box-modern__item-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #9ca3af;
	transition:
		color var(--bm-transition),
		transform var(--bm-transition);
}

.box-modern__item.is-active .box-modern__item-chevron,
.box-modern__item:hover .box-modern__item-chevron {
	color: var(--bm-accent);
	transform: translateX(2px);
}

.box-modern__mobile-panel {
	display: none;
}

.box-modern__panel {
	position: relative;
	min-height: 100%;
	border: 1px solid var(--bm-border);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: var(--bm-shadow);
	overflow: hidden;
}

.box-modern__panel-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 420px;
}

.box-modern__panel-content.is-active {
	animation: bm-panel-enter 0.45s ease;
}

.box-modern--anim-fade .box-modern__panel-content {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.32s ease, visibility 0.32s ease;
}

.box-modern--anim-fade .box-modern__panel-content.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.box-modern--anim-slide .box-modern__panel-content {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	pointer-events: none;
	transition:
		opacity 0.35s ease,
		transform 0.35s ease,
		visibility 0.35s ease;
}

.box-modern--anim-slide .box-modern__panel-content.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	pointer-events: auto;
}

.box-modern--anim-zoom .box-modern__panel-content {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.box-modern--anim-zoom .box-modern__panel-content.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.box-modern--anim-zoom .box-modern__panel-content.is-entering .box-modern__panel-inner {
	animation: bm-zoom-in 0.5s ease;
}

.box-modern__panel-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	flex: 1 1 auto;
	padding: 28px 28px 20px;
}

.box-modern__panel-main {
	min-width: 0;
}

.box-modern__detail-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
}

.box-modern__detail-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: var(--bm-accent);
	color: #111827;
	font-size: 22px;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--bm-accent) 35%, transparent);
}

.box-modern__detail-icon svg,
.box-modern__detail-icon i {
	display: block;
	width: 1em;
	height: 1em;
}

.box-modern__detail-heading {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.box-modern__detail-label {
	color: var(--bm-accent);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.box-modern__detail-title {
	margin: 0;
	color: var(--bm-text);
	font-size: clamp(1.1rem, 1.8vw, 1.45rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.box-modern__detail-description {
	margin: 0 0 22px;
	color: var(--bm-muted);
	font-size: 0.92rem;
	line-height: 1.65;
}

.box-modern__features-heading {
	margin: 0 0 12px;
	color: #9ca3af;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.box-modern__features-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.box-modern__feature-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.box-modern__feature-bullet {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin-top: 0.45em;
	border-radius: 2px;
	background: var(--bm-accent);
}

.box-modern__feature-text {
	color: var(--bm-text);
	font-size: 0.88rem;
	line-height: 1.5;
}

.box-modern__illustration {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: min(180px, 28vw);
	opacity: 0.9;
}

.box-modern__illustration img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: contain;
	animation: bm-float 4s ease-in-out infinite;
}

.box-modern__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: auto;
	padding: 18px 28px 24px;
	border-top: 1px solid var(--bm-border);
}

.box-modern__footer-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.box-modern__footer-label {
	color: #9ca3af;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.box-modern__footer-subtext {
	color: var(--bm-text);
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.4;
}

.box-modern__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-shrink: 0;
	padding: 14px 22px;
	border: none;
	border-radius: 10px;
	background: var(--bm-accent);
	color: #111827;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--bm-accent) 30%, transparent);
	transition:
		transform var(--bm-transition),
		box-shadow var(--bm-transition),
		filter var(--bm-transition);
}

.box-modern__button:hover {
	filter: brightness(1.05);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--bm-accent) 38%, transparent);
	transform: translateY(-1px);
	color: #111827;
}

.box-modern__button-arrow {
	transition: transform var(--bm-transition);
}

.box-modern__button:hover .box-modern__button-arrow {
	transform: translateX(3px);
}

.box-modern--entrance:not(.is-visible) .box-modern__item,
.box-modern--entrance:not(.is-visible) .box-modern__panel {
	opacity: 0;
}

.box-modern--entrance.is-visible .box-modern__item {
	animation: bm-list-enter 0.55s ease backwards;
}

.box-modern--entrance.is-visible .box-modern__list-entry:nth-child(1) .box-modern__item { animation-delay: 0.04s; }
.box-modern--entrance.is-visible .box-modern__list-entry:nth-child(2) .box-modern__item { animation-delay: 0.1s; }
.box-modern--entrance.is-visible .box-modern__list-entry:nth-child(3) .box-modern__item { animation-delay: 0.16s; }
.box-modern--entrance.is-visible .box-modern__list-entry:nth-child(4) .box-modern__item { animation-delay: 0.22s; }
.box-modern--entrance.is-visible .box-modern__list-entry:nth-child(5) .box-modern__item { animation-delay: 0.28s; }
.box-modern--entrance.is-visible .box-modern__list-entry:nth-child(6) .box-modern__item { animation-delay: 0.34s; }
.box-modern--entrance.is-visible .box-modern__list-entry:nth-child(n+7) .box-modern__item { animation-delay: 0.4s; }

.box-modern--entrance.is-visible .box-modern__panel {
	animation: bm-panel-side-enter 0.65s ease 0.12s backwards;
}

@keyframes bm-list-enter {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes bm-panel-side-enter {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes bm-panel-enter {
	from {
		opacity: 0.6;
	}
	to {
		opacity: 1;
	}
}

@keyframes bm-item-pulse {
	0% { transform: scale(1); }
	45% { transform: scale(1.012); }
	100% { transform: scale(1); }
}

@keyframes bm-zoom-in {
	from {
		opacity: 0.7;
		transform: scale(0.97);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes bm-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

@media (max-width: 1024px) {
	.box-modern__layout {
		gap: 20px;
	}

	.box-modern__panel-inner {
		grid-template-columns: 1fr;
	}

	.box-modern__illustration {
		width: 100%;
		max-width: 200px;
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	.box-modern__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.box-modern__list-entry {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.box-modern__item {
		align-items: flex-start;
		padding: 14px 14px;
	}

	.box-modern__item-icon,
	.box-modern__item-chevron {
		margin-top: 2px;
	}

	.box-modern__item-title {
		font-size: 0.8rem;
	}

	.box-modern__item-excerpt {
		-webkit-line-clamp: unset;
		display: block;
		overflow: visible;
	}

	.box-modern__panel {
		display: none;
	}

	.box-modern__mobile-panel {
		display: block;
	}

	.box-modern__mobile-panel .box-modern__panel-content {
		min-height: auto;
		border: 1px solid var(--bm-border);
		border-radius: 12px;
		background: #ffffff;
		box-shadow: var(--bm-shadow);
	}

	.box-modern__mobile-panel .box-modern__panel-content:not(.is-active) {
		display: none;
	}

	.box-modern__mobile-panel .box-modern__panel-content.is-active {
		display: flex;
	}

	.box-modern__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.box-modern__button {
		width: 100%;
		white-space: normal;
	}

	.box-modern__item:not(.is-active):hover {
		transform: translateX(2px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.box-modern__item,
	.box-modern__item-icon,
	.box-modern__item-chevron,
	.box-modern__button,
	.box-modern__button-arrow,
	.box-modern__panel-content,
	.box-modern__illustration img {
		transition: none;
		animation: none !important;
	}

	.box-modern__item:not(.is-active):hover,
	.box-modern__button:hover {
		transform: none;
	}

	.box-modern--entrance:not(.is-visible) .box-modern__item,
	.box-modern--entrance:not(.is-visible) .box-modern__panel {
		opacity: 1;
	}
}

/* ==========================================================================
   Preset 2 – Process Steps (light mode)
   ========================================================================== */

.box-modern--preset-2 .box-modern__steps-layout {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.box-modern--preset-2 .box-modern__steps-nav {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}

.box-modern--preset-2 .box-modern__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-height: 108px;
	padding: 16px 10px 14px;
	border: 1px solid var(--bm-border);
	border-radius: 10px;
	background: #ffffff;
	color: var(--bm-muted);
	font: inherit;
	text-align: center;
	cursor: pointer;
	box-shadow: var(--bm-shadow);
	transition:
		border-color var(--bm-transition),
		background-color var(--bm-transition),
		color var(--bm-transition),
		box-shadow var(--bm-transition),
		transform var(--bm-transition);
}

.box-modern--preset-2 .box-modern__step:hover:not(.is-active) {
	border-color: color-mix(in srgb, var(--bm-accent) 35%, var(--bm-border));
	background: var(--bm-step-hover-bg);
	color: var(--bm-text);
	transform: translateY(-2px);
}

.box-modern--preset-2 button.box-modern__step:hover,
.box-modern--preset-2 button.box-modern__step:focus,
.box-modern--preset-2 button.box-modern__step:focus-visible {
	color: var(--bm-text) !important;
	background-color: var(--bm-step-hover-bg) !important;
	text-decoration: none !important;
}

.box-modern--preset-2 button.box-modern__step.is-active:hover,
.box-modern--preset-2 button.box-modern__step.is-active:focus,
.box-modern--preset-2 button.box-modern__step.is-active:focus-visible {
	background-color: #fffbf5 !important;
}

.box-modern--preset-2 .box-modern__step.is-active {
	border-color: var(--bm-accent);
	background: #fffbf5;
	color: var(--bm-text);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--bm-accent) 20%, transparent), var(--bm-shadow-hover);
}

.box-modern--preset-2 .box-modern__step.is-completed {
	color: var(--bm-text);
}

.box-modern--preset-2 .box-modern__step:focus-visible {
	outline: 2px solid var(--bm-accent);
	outline-offset: 2px;
}

.box-modern--preset-2 .box-modern__step.is-switching {
	animation: bm-item-pulse 0.35s ease;
}

.box-modern--preset-2 .box-modern__step-indicator {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
}

.box-modern--preset-2 .box-modern__step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #9ca3af;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	transition:
		background-color var(--bm-transition),
		color var(--bm-transition),
		transform var(--bm-transition);
}

.box-modern--preset-2 .box-modern__step.is-active .box-modern__step-number {
	background: var(--bm-accent);
	color: #111827;
	transform: scale(1.05);
}

.box-modern--preset-2 .box-modern__step-check {
	position: absolute;
	inset: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--bm-accent) 14%, #ffffff);
	color: var(--bm-accent);
	opacity: 0;
	transform: scale(0.7);
	transition:
		opacity var(--bm-transition),
		transform var(--bm-transition);
}

.box-modern--preset-2 .box-modern__step.is-completed .box-modern__step-check {
	opacity: 1;
	transform: scale(1);
}

.box-modern--preset-2 .box-modern__step.is-completed .box-modern__step-number {
	opacity: 0;
	transform: scale(0.7);
}

.box-modern--preset-2 .box-modern__step-label {
	font-size: clamp(0.62rem, 0.9vw, 0.72rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.box-modern--preset-2 .box-modern__steps-panel {
	position: relative;
	min-height: 360px;
	border: 1px solid var(--bm-border);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: var(--bm-shadow);
	overflow: hidden;
}

.box-modern--preset-2 .box-modern__step-panel {
	display: flex;
	flex-direction: column;
	min-height: 360px;
}

.box-modern--preset-2 .box-modern__step-panel.is-active {
	animation: bm-panel-enter 0.45s ease;
}

.box-modern--preset-2.box-modern--anim-fade .box-modern__step-panel {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.32s ease, visibility 0.32s ease;
}

.box-modern--preset-2.box-modern--anim-fade .box-modern__step-panel.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.box-modern--preset-2.box-modern--anim-slide .box-modern__step-panel {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	pointer-events: none;
	transition:
		opacity 0.35s ease,
		transform 0.35s ease,
		visibility 0.35s ease;
}

.box-modern--preset-2.box-modern--anim-slide .box-modern__step-panel.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.box-modern--preset-2.box-modern--anim-zoom .box-modern__step-panel {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.box-modern--preset-2.box-modern--anim-zoom .box-modern__step-panel.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.box-modern--preset-2.box-modern--anim-zoom .box-modern__step-panel.is-entering .box-modern__step-panel-grid {
	animation: bm-zoom-in 0.5s ease;
}

.box-modern--preset-2 .box-modern__step-panel-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 28px;
	padding: 28px;
	flex: 1 1 auto;
}

.box-modern--preset-2 .box-modern__step-panel-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
}

.box-modern--preset-2 .box-modern__step-panel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: var(--bm-accent);
	color: #111827;
	font-size: 20px;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--bm-accent) 30%, transparent);
}

.box-modern--preset-2 .box-modern__step-panel-icon svg,
.box-modern--preset-2 .box-modern__step-panel-icon i {
	display: block;
	width: 1em;
	height: 1em;
}

.box-modern--preset-2 .box-modern__step-panel-heading {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.box-modern--preset-2 .box-modern__step-phase-label {
	color: var(--bm-accent);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.box-modern--preset-2 .box-modern__step-panel-title {
	margin: 0;
	color: var(--bm-text);
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.box-modern--preset-2 .box-modern__step-panel-description {
	margin: 0 0 18px;
	color: var(--bm-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.box-modern--preset-2 .box-modern__step-panel-note {
	margin: 0;
	color: #9ca3af;
	font-size: 0.82rem;
	font-style: italic;
	line-height: 1.55;
}

.box-modern--preset-2 .box-modern__deliverables-box {
	padding: 22px;
	border: 1px solid #edf0f3;
	border-radius: 10px;
	background: #f8fafc;
}

.box-modern--preset-2 .box-modern__deliverables-heading {
	margin: 0 0 14px;
	color: #38bdf8;
	font-size: 0.66rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.box-modern--preset-2 .box-modern__deliverables-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.box-modern--preset-2 .box-modern__deliverable-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.box-modern--preset-2 .box-modern__deliverable-check {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 0.1em;
	color: var(--bm-accent);
}

.box-modern--preset-2 .box-modern__deliverable-text {
	color: var(--bm-text);
	font-size: 0.84rem;
	line-height: 1.5;
}

.box-modern--preset-2.box-modern--entrance:not(.is-visible) .box-modern__step,
.box-modern--preset-2.box-modern--entrance:not(.is-visible) .box-modern__steps-panel {
	opacity: 0;
}

.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step {
	animation: bm-list-enter 0.5s ease backwards;
}

.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step:nth-child(1) { animation-delay: 0.04s; }
.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step:nth-child(2) { animation-delay: 0.1s; }
.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step:nth-child(3) { animation-delay: 0.16s; }
.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step:nth-child(4) { animation-delay: 0.22s; }
.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step:nth-child(5) { animation-delay: 0.28s; }
.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step:nth-child(6) { animation-delay: 0.34s; }
.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__step:nth-child(n+7) { animation-delay: 0.4s; }

.box-modern--preset-2.box-modern--entrance.is-visible .box-modern__steps-panel {
	animation: bm-panel-side-enter 0.6s ease 0.12s backwards;
}

@media (max-width: 1100px) {
	.box-modern--preset-2 .box-modern__steps-nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.box-modern--preset-2 .box-modern__steps-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.box-modern--preset-2 .box-modern__step {
		min-height: 96px;
		padding: 12px 8px;
	}

	.box-modern--preset-2 .box-modern__step-panel-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px;
	}

	.box-modern--preset-2 .box-modern__steps-panel,
	.box-modern--preset-2 .box-modern__step-panel {
		min-height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.box-modern--preset-2 .box-modern__step,
	.box-modern--preset-2 .box-modern__step-number,
	.box-modern--preset-2 .box-modern__step-check,
	.box-modern--preset-2 .box-modern__step-panel {
		transition: none;
		animation: none !important;
	}

	.box-modern--preset-2 .box-modern__step:hover:not(.is-active) {
		transform: none;
	}

	.box-modern--preset-2.box-modern--entrance:not(.is-visible) .box-modern__step,
	.box-modern--preset-2.box-modern--entrance:not(.is-visible) .box-modern__steps-panel {
		opacity: 1;
	}
}

/* ==========================================================================
   Preset 3 - Product Collection Tabs
   ========================================================================== */

.box-modern--preset-3 {
	--bm-p3-label: #ef4444;
	--bm-p3-muted: #6b7280;
	--bm-p3-text: #111827;
	--bm-p3-tab-color: #374151;
	--bm-p3-tab-border: #e5e7eb;
	--bm-p3-tab-active-color: #e11d48;
	--bm-p3-tab-active-bg: #fff1f2;
	--bm-p3-tab-active-border: #fb7185;
	--bm-p3-accent: #f97316;
	--bm-p3-feature-bg: #fff7ed;
	--bm-p3-feature-color: #374151;
	--bm-p3-button-bg: #e11d48;
	--bm-p3-button-color: #ffffff;
	--bm-p3-button-hover-bg: #be123c;
	max-width: 1240px;
	margin: 0 auto;
}

.box-modern--preset-3 .box-modern__collection-head {
	text-align: center;
	margin-bottom: 28px;
}

.box-modern--preset-3 .box-modern__collection-label {
	display: inline-block;
	color: var(--bm-p3-label);
	font-size: 0.95rem;
	font-weight: 500;
	margin-bottom: 8px;
}

.box-modern--preset-3 .box-modern__collection-title {
	margin: 0;
	color: var(--bm-p3-text);
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.box-modern--preset-3 .box-modern__collection-subtitle {
	max-width: 720px;
	margin: 12px auto 0;
	color: var(--bm-p3-muted);
	font-size: 1.15rem;
	line-height: 1.55;
}

.box-modern--preset-3 .box-modern__collection-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 28px;
}

.box-modern--preset-3 .box-modern__collection-tab {
	padding: 11px 22px;
	border: 1px solid var(--bm-p3-tab-border);
	border-radius: 999px;
	background: #ffffff;
	color: var(--bm-p3-tab-color);
	font: inherit;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: all 0.25s ease;
}

.box-modern--preset-3 .box-modern__collection-tab:hover {
	border-color: var(--bm-p3-tab-active-border);
	background: var(--bm-p3-tab-active-bg);
	color: var(--bm-p3-tab-active-color);
}

.box-modern--preset-3 .box-modern__collection-tab.is-active {
	border-color: var(--bm-p3-tab-active-border);
	color: var(--bm-p3-tab-active-color);
	background: var(--bm-p3-tab-active-bg);
}

.box-modern--preset-3 button.box-modern__collection-tab:hover,
.box-modern--preset-3 button.box-modern__collection-tab:focus,
.box-modern--preset-3 button.box-modern__collection-tab:focus-visible {
	color: var(--bm-p3-tab-active-color) !important;
	background-color: var(--bm-p3-tab-active-bg) !important;
	border-color: var(--bm-p3-tab-active-border) !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.box-modern--preset-3 button.box-modern__collection-tab.is-active:hover,
.box-modern--preset-3 button.box-modern__collection-tab.is-active:focus,
.box-modern--preset-3 button.box-modern__collection-tab.is-active:focus-visible {
	color: var(--bm-p3-tab-active-color) !important;
	background-color: var(--bm-p3-tab-active-bg) !important;
	border-color: var(--bm-p3-tab-active-border) !important;
}

.box-modern--preset-3 .box-modern__collection-tab:focus-visible {
	outline: 2px solid var(--bm-p3-tab-active-border);
	outline-offset: 2px;
}

.box-modern--preset-3 .box-modern__collection-panel-wrap {
	position: relative;
}

.box-modern--preset-3 .box-modern__collection-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	background: #ffffff;
	overflow: hidden;
	min-height: 560px;
}

.box-modern--preset-3 .box-modern__collection-panel:not(.is-active) {
	display: none;
}

.box-modern--preset-3 .box-modern__collection-media {
	background: #e5e7eb;
}

.box-modern--preset-3 .box-modern__collection-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.box-modern--preset-3 .box-modern__collection-content {
	padding: 46px 38px 32px;
	display: flex;
	flex-direction: column;
}

.box-modern--preset-3 .box-modern__collection-accent {
	width: 34px;
	height: 4px;
	border-radius: 999px;
	background: var(--bm-p3-accent, var(--bm-accent, #f97316));
	margin-bottom: 18px;
}

.box-modern--preset-3 .box-modern__collection-product-title {
	margin: 0;
	color: var(--bm-p3-text);
	font-size: clamp(2rem, 2.9vw, 3rem);
	line-height: 1.03;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.box-modern--preset-3 .box-modern__collection-eyebrow {
	margin: 8px 0 0;
	color: var(--bm-p3-accent, var(--bm-accent, #f97316));
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.88rem;
}

.box-modern--preset-3 .box-modern__collection-description {
	margin: 16px 0 0;
	color: var(--bm-p3-muted);
	font-size: 1.12rem;
	line-height: 1.72;
}

.box-modern--preset-3 .box-modern__collection-features {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.box-modern--preset-3 .box-modern__collection-feature {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--bm-p3-feature-bg);
	color: var(--bm-p3-feature-color);
	font-size: 0.94rem;
	font-weight: 600;
}

.box-modern--preset-3 .box-modern__collection-feature span[aria-hidden="true"] {
	color: var(--bm-p3-accent, var(--bm-accent, #f59e0b));
	font-size: 0.8rem;
}

.box-modern--preset-3 .box-modern__collection-application {
	margin-top: 16px;
	padding: 14px 14px 14px 16px;
	border-left: 3px solid var(--bm-p3-accent, var(--bm-accent, #f97316));
	border-radius: 12px;
	background: #f3f4f6;
}

.box-modern--preset-3 .box-modern__collection-application-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bm-p3-text);
	margin-bottom: 6px;
}

.box-modern--preset-3 .box-modern__collection-application p {
	margin: 0;
	color: var(--bm-p3-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.box-modern--preset-3 .box-modern__collection-button {
	margin-top: 18px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 16px 20px;
	border-radius: 10px;
	background: var(--bm-p3-button-bg);
	color: var(--bm-p3-button-color);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

.box-modern--preset-3 .box-modern__collection-button:hover {
	background: var(--bm-p3-button-hover-bg);
	color: var(--bm-p3-button-color);
}

@media (max-width: 1024px) {
	.box-modern--preset-3 .box-modern__collection-panel {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.box-modern--preset-3 .box-modern__collection-media {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 767px) {
	.box-modern--preset-3 {
		padding: 0 2px;
	}

	.box-modern--preset-3 .box-modern__collection-head {
		margin-bottom: 20px;
	}

	.box-modern--preset-3 .box-modern__collection-title {
		font-size: 1.75rem;
		line-height: 1.15;
	}

	.box-modern--preset-3 .box-modern__collection-subtitle {
		margin-top: 10px;
		font-size: 0.95rem;
		line-height: 1.5;
	}

	/* Clean 2x2 tab grid instead of uneven flex wrap */
	.box-modern--preset-3 .box-modern__collection-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 20px;
	}

	.box-modern--preset-3 .box-modern__collection-tab {
		width: 100%;
		min-height: 44px;
		padding: 10px 12px;
		border-radius: 12px;
		font-size: 0.82rem;
		font-weight: 600;
		line-height: 1.25;
		text-align: center;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.box-modern--preset-3 .box-modern__collection-panel {
		border-radius: 18px;
	}

	.box-modern--preset-3 .box-modern__collection-media {
		aspect-ratio: 4 / 3;
	}

	.box-modern--preset-3 .box-modern__collection-content {
		padding: 20px 16px 18px;
	}

	.box-modern--preset-3 .box-modern__collection-product-title {
		font-size: 1.55rem;
		line-height: 1.15;
	}

	.box-modern--preset-3 .box-modern__collection-eyebrow {
		font-size: 0.78rem;
	}

	.box-modern--preset-3 .box-modern__collection-description {
		margin-top: 12px;
		font-size: 0.98rem;
		line-height: 1.6;
	}

	.box-modern--preset-3 .box-modern__collection-features {
		grid-template-columns: 1fr;
		margin-top: 14px;
		gap: 8px;
	}

	.box-modern--preset-3 .box-modern__collection-feature {
		padding: 10px 12px;
		font-size: 0.88rem;
	}

	.box-modern--preset-3 .box-modern__collection-application {
		margin-top: 14px;
		padding: 12px 12px 12px 14px;
	}

	.box-modern--preset-3 .box-modern__collection-button {
		margin-top: 16px;
		padding: 14px 16px;
		font-size: 0.95rem;
	}
}

@media (max-width: 380px) {
	.box-modern--preset-3 .box-modern__collection-tabs {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.box-modern--preset-3 .box-modern__collection-tab {
		min-height: 42px;
		padding: 11px 14px;
		font-size: 0.88rem;
	}
}

/* ==========================================================================
   Preset 4 - Before / After Slider
   ========================================================================== */

.box-modern--preset-4 {
	--bm-p4-label: #ef4444;
	--bm-p4-muted: #6b7280;
	--bm-p4-text: #111827;
	--ba-position: 50%;
	max-width: 1100px;
	margin: 0 auto;
}

.box-modern--preset-4 .box-modern__ba-head {
	text-align: center;
	margin-bottom: 28px;
}

.box-modern--preset-4 .box-modern__ba-label {
	display: inline-block;
	color: var(--bm-p4-label);
	font-size: 0.95rem;
	font-weight: 500;
	margin-bottom: 8px;
}

.box-modern--preset-4 .box-modern__ba-title {
	margin: 0;
	color: var(--bm-p4-text);
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.box-modern--preset-4 .box-modern__ba-subtitle {
	max-width: 640px;
	margin: 12px auto 0;
	color: var(--bm-p4-muted);
	font-size: 1.1rem;
	line-height: 1.55;
}

.box-modern--preset-4 .box-modern__ba-stage {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	aspect-ratio: 16 / 10;
	background: #111827;
	user-select: none;
	touch-action: none;
	cursor: ew-resize;
}

.box-modern--preset-4 .box-modern__ba-after,
.box-modern--preset-4 .box-modern__ba-before {
	position: absolute;
	inset: 0;
}

.box-modern--preset-4 .box-modern__ba-after img,
.box-modern--preset-4 .box-modern__ba-before img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	user-select: none;
}

.box-modern--preset-4 .box-modern__ba-before {
	z-index: 2;
	clip-path: inset(0 calc(100% - var(--ba-position)) 0 0);
}

.box-modern--preset-4 .box-modern__ba-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--ba-position);
	z-index: 4;
	width: 2px;
	background: #ffffff;
	transform: translateX(-50%);
	pointer-events: none;
}

.box-modern--preset-4 .box-modern__ba-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	color: #111827;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	transform: translate(-50%, -50%);
}

.box-modern--preset-4 .box-modern__ba-tag {
	position: absolute;
	bottom: 16px;
	z-index: 5;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: #111827;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	pointer-events: none;
}

.box-modern--preset-4 .box-modern__ba-tag--before {
	left: 16px;
}

.box-modern--preset-4 .box-modern__ba-tag--after {
	right: 16px;
}

.box-modern--preset-4 .box-modern__ba-range {
	position: absolute;
	inset: 0;
	z-index: 6;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
}

.box-modern--preset-4 .box-modern__ba-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 48px;
	height: 100%;
	background: transparent;
	cursor: ew-resize;
}

.box-modern--preset-4 .box-modern__ba-range::-moz-range-thumb {
	width: 48px;
	height: 48px;
	border: none;
	background: transparent;
	cursor: ew-resize;
}

@media (max-width: 767px) {
	.box-modern--preset-4 .box-modern__ba-head {
		margin-bottom: 18px;
	}

	.box-modern--preset-4 .box-modern__ba-title {
		font-size: 1.75rem;
		line-height: 1.15;
	}

	.box-modern--preset-4 .box-modern__ba-subtitle {
		font-size: 0.95rem;
	}

	.box-modern--preset-4 .box-modern__ba-stage {
		border-radius: 16px;
		aspect-ratio: 4 / 3;
	}

	.box-modern--preset-4 .box-modern__ba-handle {
		width: 44px;
		height: 44px;
	}

	.box-modern--preset-4 .box-modern__ba-tag {
		bottom: 12px;
		padding: 7px 12px;
		font-size: 0.75rem;
	}

	.box-modern--preset-4 .box-modern__ba-tag--before {
		left: 12px;
	}

	.box-modern--preset-4 .box-modern__ba-tag--after {
		right: 12px;
	}
}