.epoksera-process {
	position: relative;
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.epoksera-process::after {
	content: "";
	position: absolute;
	inset: auto -10% -40% -10%;
	height: 60%;
	background: radial-gradient(ellipse at center, rgba(212, 137, 74, 0.15), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.epoksera-process__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

/* Header */
.epoksera-process__header {
	margin: 0 auto 64px;
	max-width: 760px;
}

.epoksera-process__eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #d4894a;
	margin-bottom: 18px;
	position: relative;
	display: inline-block;
}

.epoksera-process__eyebrow::after {
	content: "";
	display: inline-block;
	width: 36px;
	height: 1px;
	background: currentColor;
	margin-left: 14px;
	vertical-align: middle;
	opacity: 0.6;
}

.epoksera-process__headline {
	font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}

.epoksera-process__sub {
	font-size: 1.05rem;
	line-height: 1.55;
	margin: 0;
	max-width: 640px;
}

.epoksera-process-header[style*="text-align: center"] .epoksera-process__sub,
.epoksera-process__header[style*="text-align: center"] .epoksera-process__sub {
	margin-left: auto;
	margin-right: auto;
}

/* Grid */
.epoksera-process__grid {
	--epoksera-connector: rgba(212, 137, 74, 0.35);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	position: relative;
	align-items: stretch;
}

/* Connector line behind cards */
.epoksera-process__grid.has-connector::before {
	content: "";
	position: absolute;
	left: 6%;
	right: 6%;
	top: 80px;
	height: 2px;
	background-image: linear-gradient(to right, var(--epoksera-connector) 50%, transparent 50%);
	background-size: 14px 2px;
	background-repeat: repeat-x;
	z-index: 0;
	pointer-events: none;
}

/* Step card */
.epoksera-step {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(6px);
	overflow: hidden;
	transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
	z-index: 1;
}

.epoksera-step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: transparent;
	transition: background 0.35s ease;
}

.epoksera-step:hover {
	transform: translateY(-8px);
	border-color: #d4894a;
	background: linear-gradient(180deg, rgba(212, 137, 74, 0.18), rgba(212, 137, 74, 0.04));
	box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 137, 74, 0.25);
}

.epoksera-step:hover::before {
	background: #d4894a;
}

.epoksera-step:hover .epoksera-step__num {
	color: #d4894a;
}

.epoksera-step:hover .epoksera-step__bignum {
	color: rgba(212, 137, 74, 0.32);
}

.epoksera-step:hover .epoksera-step__icon {
	background: rgba(212, 137, 74, 0.24);
	transform: scale(1.08) rotate(-4deg);
}

.epoksera-step.is-featured {
	border-color: #d4894a;
	background: linear-gradient(180deg, rgba(212, 137, 74, 0.12), rgba(212, 137, 74, 0.02));
}

.epoksera-step.is-featured::before {
	background: #d4894a;
}

/* When any card is hovered, dim the static featured card so only the hovered one looks active */
.epoksera-process__grid:has(.epoksera-step:hover) .epoksera-step.is-featured:not(:hover) {
	border-color: rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	transform: none;
	box-shadow: none;
}

.epoksera-process__grid:has(.epoksera-step:hover) .epoksera-step.is-featured:not(:hover)::before {
	background: transparent;
}

.epoksera-process__grid:has(.epoksera-step:hover) .epoksera-step.is-featured:not(:hover) .epoksera-step__num {
	color: rgba(255, 255, 255, 0.5);
}

.epoksera-process__grid:has(.epoksera-step:hover) .epoksera-step.is-featured:not(:hover) .epoksera-step__icon {
	background: rgba(212, 137, 74, 0.12);
	transform: none;
}

.epoksera-process__grid:has(.epoksera-step:hover) .epoksera-step.is-featured:not(:hover) .epoksera-step__bignum {
	color: rgba(212, 137, 74, 0.18);
}

.epoksera-step__bignum {
	position: absolute;
	top: -18px;
	right: -10px;
	font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
	font-size: clamp(5rem, 9vw, 8rem);
	font-weight: 600;
	line-height: 1;
	color: rgba(212, 137, 74, 0.18);
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

.epoksera-step__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
	position: relative;
	z-index: 1;
}

.epoksera-step__icon {
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(212, 137, 74, 0.12);
	transition: transform 0.35s ease;
}

.epoksera-step:hover .epoksera-step__icon {
	transform: scale(1.06) rotate(-4deg);
}

.epoksera-step__icon i,
.epoksera-step__icon svg {
	font-size: 26px;
	width: 26px;
	height: 26px;
	color: #d4894a;
	fill: #d4894a;
}

.epoksera-step__num {
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
}

.epoksera-step.is-featured .epoksera-step__num {
	color: #d4894a;
}

.epoksera-step__title {
	font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 10px;
	color: #fff;
	position: relative;
	z-index: 1;
}

.epoksera-step__desc {
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
	margin: 0;
	position: relative;
	z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
	.epoksera-process__grid.has-connector::before {
		display: none;
	}
}

@media (max-width: 640px) {
	.epoksera-process__header {
		margin-bottom: 40px;
	}
	.epoksera-process__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.epoksera-step {
		padding: 28px 22px;
	}
	.epoksera-step__bignum {
		font-size: 6rem;
		top: -10px;
		right: -6px;
	}
}
