/* =========================================================
   PROCESS / WORKFLOW SECTION
========================================================= */

.process {
	position: relative;
	overflow: hidden;

	background: var(--color-background, #f8f7f4);

	padding: 9rem 0 7rem;
}


/* =========================================================
   DESKTOP CONTAINER
========================================================= */

.process__container {
	position: relative;

	display: grid;

	grid-template-columns:
		minmax(390px, 0.88fr)
		minmax(650px, 1.12fr);

	column-gap: 2rem;

	align-items: start;
}


/* =========================================================
   INTRO
========================================================= */

.process__intro {
	position: relative;
	z-index: 5;

	grid-column: 1;
	grid-row: 1;

	width: min(470px, 100%);

	padding-top: 2rem;
}


.process__eyebrow {
	display: inline-flex;
	align-items: center;

	gap: 0.65rem;

	margin-bottom: 1.5rem;

	font-size: 0.72rem;
	font-weight: 700;

	letter-spacing: 0.08em;

	text-transform: uppercase;

	color: var(--color-primary, #14532d);
}


.process__eyebrow-dot {
	width: 7px;
	height: 7px;

	flex-shrink: 0;

	border-radius: 50%;

	background: var(--color-primary, #14532d);
}


.process__heading {
	max-width: 500px;

	margin: 0;

	font-family: var(
		--font-primary,
		"Sora",
		sans-serif
	);

	font-size: clamp(2rem, 3vw, 3rem);

	font-weight: var(--fw-bold);

	line-height: 1.08;

	letter-spacing: -0.055em;

	color: var(--color-text, #18181b);
}


.process__description {
	max-width: 430px;

	margin: 1.8rem 0 0;

	font-family: var(
		--font-secondary,
		"Space Grotesk",
		sans-serif
	);

	font-size: 1.05rem;

	line-height: 1.75;

	color: var(--color-text-light, #52525b);
}


/* =========================================================
   BUTTON
========================================================= */

.process__button {
	display: inline-flex;

	align-items: center;
	justify-content: space-between;

	gap: 2rem;

	min-width: 175px;

	margin-top: 2rem;

	padding: 0.85rem 1.1rem 0.85rem 1.25rem;

	border: 1px solid var(--color-primary, #14532d);

	border-radius: var(--radius-full, 999px);

	background: transparent;

	color: var(--color-text, #18181b);

	font-size: 0.75rem;

	font-weight: 600;

	text-decoration: none;

	transition:
		background 0.35s ease,
		color 0.35s ease,
		transform 0.35s ease;
}


.process__button-arrow {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	width: 28px;
	height: 28px;

	border-radius: 50%;

	font-size: 1rem;

	transition: transform 0.35s ease;
}


.process__button:hover {
	background: var(--color-primary, #14532d);

	color: var(--color-white, #fff);

	transform: translateY(-2px);
}


.process__button:hover .process__button-arrow {
	transform: translate(2px, -2px);
}


/* =========================================================
   DESKTOP TIMELINE
========================================================= */

.process__timeline {
	position: relative;

	grid-column: 2;
	grid-row: 1;

	width: 100%;
	height: 640px;

	margin: 0;

	overflow: visible;
}


/*
   Important:
   Do NOT use right: 12px / right: 6rem here.

   The timeline, SVG and step positions now share
   the same coordinate system.
*/


/* =========================================================
   ORBIT / DECORATIVE CIRCLES
========================================================= */

.process__orbit {
	position: absolute;

	border: 1px solid rgba(20, 83, 45, 0.08);

	border-radius: 50%;

	pointer-events: none;
}


.process__orbit--1 {
	width: 300px;
	height: 300px;

	top: 45px;
	right: 70px;
}


.process__orbit--2 {
	width: 390px;
	height: 390px;

	top: 0;
	right: 25px;
}


.process__orbit--3 {
	width: 480px;
	height: 480px;

	top: -45px;
	right: -20px;
}


.process__orbit--4 {
	width: 570px;
	height: 570px;

	top: -90px;
	right: -65px;
}


/* =========================================================
   CURVED PROCESS LINE
========================================================= */

.process__path {
	position: absolute;

	top: 0;
	left: 0;

	display: block;

	width: 100%;
	height: 640px;

	z-index: 1;

	overflow: visible;

	pointer-events: none;
}


.process__path path {
	fill: none;

	stroke: rgba(20, 83, 45, 0.38);

	stroke-width: 1;

	vector-effect: non-scaling-stroke;
}


.process__path circle {
	fill: var(--color-primary, #14532d);
}


/* =========================================================
   PROCESS STEPS WRAPPER
========================================================= */

.process__steps {
	position: relative;

	width: 100%;
	height: 100%;

	z-index: 2;
}


/* =========================================================
   INDIVIDUAL PROCESS STEP
========================================================= */

.process-step {
	position: absolute;

	z-index: 3;

	width: 110px;
	height: 145px;

	outline: none;
}


/*
   Positions are deliberately based on the SVG timeline.

   This keeps:
   - icon
   - number
   - path
   - decorative dots

   visually connected.
*/


/* =========================================================
   STEP 01
========================================================= */

.process-step--1 {
	left: 6.5%;
	top: 300px;
}


/* =========================================================
   STEP 02
========================================================= */

.process-step--2 {
	left: 27.5%;
	top: 290px;
}


/* =========================================================
   STEP 03
========================================================= */

.process-step--3 {
	left: 48.5%;
	top: 210px;
}


/* =========================================================
   STEP 04
========================================================= */

.process-step--4 {
	left: 67.5%;
	top: 100px;
}


/* =========================================================
   STEP 05
========================================================= */

.process-step--5 {
	left: calc(100% - 110px);
	top: 20px;
}


/* =========================================================
   STEP NUMBER
========================================================= */

.process-step__number {
	position: absolute;

	top: -30px;
	right: 4px;

	font-family: var(
		--font-primary,
		"Sora",
		sans-serif
	);

	font-size: 0.72rem;

	font-weight: 600;

	color: var(--color-primary, #14532d);
}


/* =========================================================
   STEP ICON
========================================================= */

.process-step__icon {
	position: relative;

	z-index: 4;

	display: flex;

	align-items: center;
	justify-content: center;

	width: 92px;
	height: 92px;

	border: 1px solid rgba(20, 83, 45, 0.12);

	border-radius: 28px;

	background: rgba(255, 255, 255, 0.82);

	box-shadow:
		0 12px 35px rgba(24, 24, 27, 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);

	backdrop-filter: blur(12px);

	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.4s ease,
		background 0.4s ease,
		box-shadow 0.4s ease;
}


/* =========================================================
   ACF ICON IMAGE
========================================================= */

.process-step__icon-image {
	display: block;

	width: 34px;
	height: 34px;

	object-fit: contain;

	transition:
		transform 0.4s ease,
		filter 0.4s ease;
}


/* =========================================================
   HOVER ICON
========================================================= */

.process-step:hover .process-step__icon,
.process-step:focus .process-step__icon,
.process-step:focus-within .process-step__icon {
	transform: translateY(-7px) scale(1.04);

	border-color: rgba(20, 83, 45, 0.45);

	background: rgba(239, 248, 238, 0.95);

	box-shadow:
		0 18px 45px rgba(20, 83, 45, 0.12),
		0 0 0 10px rgba(20, 83, 45, 0.035);
}


.process-step:hover .process-step__icon-image,
.process-step:focus .process-step__icon-image {
	transform: scale(1.08);
}


/* =========================================================
   HOVER INFORMATION CARD
========================================================= */

.process-step__card {
	position: absolute;

	z-index: 10;

	top: 115px;
	left: -45px;

	width: 265px;

	padding: 1.6rem;

	border: 1px solid rgba(24, 24, 27, 0.06);

	border-radius: 18px;

	background: rgba(255, 255, 255, 0.97);

	box-shadow:
		0 18px 45px rgba(24, 24, 27, 0.1);

	opacity: 0;
	visibility: hidden;

	transform: translateY(12px);

	pointer-events: none;

	transition:
		opacity 0.35s ease,
		visibility 0.35s ease,
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   DEFAULT FIRST STEP
========================================================= */

.process-step--1 .process-step__card {
	opacity: 1;

	visibility: visible;

	transform: translateY(0);

	pointer-events: auto;
}


/* =========================================================
   HIDE FIRST CARD WHEN ANOTHER STEP IS HOVERED
========================================================= */

.process__steps:has(.process-step:hover)
	.process-step--1
	.process-step__card,

.process__steps:has(.process-step:focus)
	.process-step--1
	.process-step__card {
	opacity: 0;

	visibility: hidden;

	transform: translateY(12px);

	pointer-events: none;
}


/* =========================================================
   SHOW HOVERED CARD
========================================================= */

.process-step:hover .process-step__card,
.process-step:focus .process-step__card,
.process-step:focus-within .process-step__card {
	opacity: 1;

	visibility: visible;

	transform: translateY(0);

	pointer-events: auto;
}


/* =========================================================
   CARD ARROW
========================================================= */

.process-step__card::before {
	content: "";

	position: absolute;

	top: -7px;
	left: 48px;

	width: 14px;
	height: 14px;

	border-top: 1px solid rgba(24, 24, 27, 0.06);

	border-left: 1px solid rgba(24, 24, 27, 0.06);

	background: var(--color-white, #fff);

	transform: rotate(45deg);
}


/* =========================================================
   CARD TITLE
========================================================= */

.process-step__title {
	margin: 0;

	font-family: var(
		--font-primary,
		"Sora",
		sans-serif
	);

	font-size: 1.05rem;

	font-weight: 700;

	line-height: 1.3;

	color: var(--color-text, #18181b);
}


/* =========================================================
   GREEN DIVIDER
========================================================= */

.process-step__line {
	display: block;

	width: 24px;
	height: 1px;

	margin: 0.75rem 0;

	background: var(--color-primary, #14532d);
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.process-step__description {
	margin: 0;

	font-size: 0.84rem;

	line-height: 1.7;

	color: var(--color-text-light, #52525b);
}


/* =========================================================
   TABLET / MOBILE PROCESS LIST
========================================================= */

.process__mobile-list {
	display: none;
}


/* =========================================================
   BENEFITS
========================================================= */

.process__benefits {
	position: relative;

	z-index: 5;

	grid-column: 1 / -1;
	grid-row: 2;

	display: grid;

	grid-template-columns: repeat(4, 1fr);

	width: 100%;

	margin-top: 1.5rem;

	padding: 1.8rem 1.4rem;

	border: 1px solid rgba(24, 24, 27, 0.04);

	border-radius: 18px;

	background: rgba(255, 255, 255, 0.42);
}


.process-benefit {
	display: flex;

	align-items: flex-start;

	gap: 1rem;

	padding: 0 1.5rem;
}


.process-benefit + .process-benefit {
	border-left: 1px solid rgba(24, 24, 27, 0.08);
}


/* =========================================================
   BENEFIT ICON
========================================================= */

.process-benefit__icon {
	display: flex;

	align-items: center;
	justify-content: center;

	flex: 0 0 38px;

	width: 38px;
	height: 38px;

	border-radius: 50%;

	background: rgba(255, 255, 255, 0.8);
}


.process-benefit__icon-image {
	display: block;

	width: 20px;
	height: 20px;

	object-fit: contain;
}


/* =========================================================
   BENEFIT CONTENT
========================================================= */

.process-benefit__content h3 {
	margin: 0 0 0.35rem;

	font-family: var(
		--font-primary,
		"Sora",
		sans-serif
	);

	font-size: 0.78rem;

	font-weight: 700;

	line-height: 1.3;

	color: var(--color-text, #18181b);
}


.process-benefit__content p {
	margin: 0;

	font-size: 0.72rem;

	line-height: 1.55;

	color: #71717a;
}


/* =========================================================
   LARGE DESKTOP
   1366px+
========================================================= */

@media (min-width: 1366px) {

	.process__timeline {
		height: 640px;
	}

	.process-step--1 {
		left: 6.5%;
	}

	.process-step--2 {
		left: 27.5%;
	}

	.process-step--3 {
		left: 48.5%;
	}

	.process-step--4 {
		left: 67.5%;
	}

	.process-step--5 {
		left: calc(100% - 110px);
	}
}


/* =========================================================
   MEDIUM DESKTOP
   1101px - 1365px
========================================================= */

@media (min-width: 1101px) and (max-width: 1365px) {

	.process {
		padding-top: 7.5rem;
	}


	.process__container {
		grid-template-columns:
			minmax(360px, 0.9fr)
			minmax(590px, 1.1fr);

		column-gap: 1.25rem;
	}


	.process__intro {
		width: min(430px, 100%);

		padding-top: 2rem;
	}


	.process__heading {
		font-size: clamp(
			2.7rem,
			4vw,
			4rem
		);
	}


	.process__description {
		max-width: 410px;

		font-size: 1rem;
	}


	.process__timeline {
		height: 600px;
	}


	.process__path {
		height: 600px;
	}


	/* Slightly smaller orbit system */

	.process__orbit--1 {
		width: 280px;
		height: 280px;

		top: 45px;
		right: 55px;
	}


	.process__orbit--2 {
		width: 365px;
		height: 365px;

		top: 2px;
		right: 15px;
	}


	.process__orbit--3 {
		width: 450px;
		height: 450px;

		top: -42px;
		right: -25px;
	}


	.process__orbit--4 {
		width: 535px;
		height: 535px;

		top: -87px;
		right: -70px;
	}


	/* Scale step positions together */

	.process-step {
		transform: scale(0.94);
		transform-origin: top left;
	}


	.process-step--1 {
		left: 5%;
		top: 285px;
	}


	.process-step--2 {
		left: 26%;
		top: 275px;
	}


	.process-step--3 {
		left: 47%;
		top: 200px;
	}


	.process-step--4 {
		left: 66%;
		top: 95px;
	}


	.process-step--5 {
		left: calc(100% - 104px);
		top: 18px;
	}


	.process__benefits {
		margin-top: 1rem;
	}
}


/* =========================================================
   TABLET
   1100px AND BELOW
========================================================= */

@media (max-width: 1100px) {

	.process {
		padding: 7rem 0 5rem;
	}


	/* =====================================================
	   RESET DESKTOP GRID
	===================================================== */

	.process__container {
		display: block;
	}


	/* =====================================================
	   INTRO
	===================================================== */

	.process__intro {
		width: 100%;
		max-width: 650px;

		margin: 0 auto;

		padding-top: 0;

		text-align: center;
	}


	.process__eyebrow {
		margin-bottom: 1.25rem;
	}


	.process__heading {
		max-width: 650px;

		margin-right: auto;
		margin-left: auto;

		font-size: clamp(
			2.5rem,
			5vw,
			3.7rem
		);
	}


	.process__description {
		max-width: 600px;

		margin-right: auto;
		margin-left: auto;
	}


	.process__button {
		margin-top: 1.5rem;
	}


	/* =====================================================
	   HIDE DESKTOP TIMELINE
	===================================================== */

	.process__timeline {
		display: none;
	}


	/* =====================================================
	   SHOW VERTICAL TIMELINE
	===================================================== */

	.process__mobile-list {
		position: relative;

		display: flex;

		flex-direction: column;

		width: min(720px, 100%);

		margin: 5rem auto 0;
	}


	/* =====================================================
	   VERTICAL LINE
	===================================================== */

	.process__mobile-list::before {
		content: "";

		position: absolute;

		top: 24px;
		bottom: 24px;

		left: 28px;

		width: 1px;

		background: rgba(20, 83, 45, 0.22);
	}


	/* =====================================================
	   MOBILE STEP
	===================================================== */

	.process-mobile-step {
		position: relative;

		display: grid;

		grid-template-columns: 76px 1fr;

		gap: 1.5rem;

		padding: 0 0 3.5rem;
	}


	.process-mobile-step:last-child {
		padding-bottom: 0;
	}


	/* =====================================================
	   MARKER
	===================================================== */

	.process-mobile-step__marker {
		position: relative;

		z-index: 2;

		display: flex;

		flex-direction: column;

		align-items: center;
	}


	/* =====================================================
	   NUMBER
	===================================================== */

	.process-mobile-step__number {
		position: absolute;

		top: -2px;
		left: -1px;

		font-family: var(
			--font-primary,
			"Sora",
			sans-serif
		);

		font-size: 0.68rem;

		font-weight: 700;

		color: var(--color-primary, #14532d);
	}


	/* =====================================================
	   ICON
	===================================================== */

	.process-mobile-step__icon {
		display: flex;

		align-items: center;
		justify-content: center;

		width: 56px;
		height: 56px;

		margin-top: 25px;

		border: 1px solid rgba(20, 83, 45, 0.12);

		border-radius: 50%;

		background: var(--color-white, #fff);

		box-shadow:
			0 8px 24px rgba(24, 24, 27, 0.06);
	}


	.process-mobile-step__icon-image {
		display: block;

		width: 23px;
		height: 23px;

		object-fit: contain;
	}


	/* =====================================================
	   CONTENT
	===================================================== */

	.process-mobile-step__content {
		padding-top: 25px;
	}


	.process-mobile-step__content h3 {
		margin: 0 0 0.55rem;

		font-family: var(
			--font-primary,
			"Sora",
			sans-serif
		);

		font-size: 1rem;

		font-weight: 700;

		color: var(--color-text, #18181b);
	}


	.process-mobile-step__content p {
		max-width: 520px;

		margin: 0;

		font-size: 0.88rem;

		line-height: 1.7;

		color: var(--color-text-light, #52525b);
	}


	/* =====================================================
	   BENEFITS
	===================================================== */

	.process__benefits {
		grid-template-columns: repeat(4, 1fr);

		margin-top: 4rem;

		padding: 1.5rem 1rem;
	}


	.process-benefit {
		gap: 0.75rem;

		padding: 0 0.75rem;
	}


	.process-benefit__icon {
		flex-basis: 34px;

		width: 34px;
		height: 34px;
	}


	.process-benefit__icon-image {
		width: 18px;
		height: 18px;
	}


	.process-benefit__content h3 {
		font-size: 0.7rem;
	}


	.process-benefit__content p {
		font-size: 0.65rem;
	}
}


/* =========================================================
   TABLET SPECIFIC
   768px - 1100px
========================================================= */

@media (min-width: 768px) and (max-width: 1100px) {

	.process__intro {
		max-width: 650px;
	}


	.process__heading {
		max-width: 620px;

		font-size: clamp(
			2.4rem,
			4.5vw,
			3.4rem
		);
	}


	.process__description {
		max-width: 590px;

		font-size: 0.95rem;
	}


	.process__mobile-list {
		width: min(700px, 100%);

		margin-top: 4.5rem;
	}


	.process-mobile-step {
		grid-template-columns: 76px 1fr;

		gap: 1.35rem;

		padding-bottom: 3.2rem;
	}


	.process-mobile-step__content {
		padding-top: 25px;
	}


	.process-mobile-step__content h3 {
		font-size: 1rem;
	}


	.process-mobile-step__content p {
		font-size: 0.82rem;
	}


	.process__benefits {
		margin-top: 3.5rem;
	}
}


/* =========================================================
   MOBILE
   767px AND BELOW
========================================================= */

@media (max-width: 767px) {

	.process {
		padding: 5.5rem 0 4rem;
	}


	/* =====================================================
	   INTRO
	===================================================== */

	.process__intro {
		text-align: left;
	}


	.process__eyebrow {
		margin-bottom: 1.2rem;
	}


	.process__heading {
		max-width: 100%;

		font-size: clamp(
			2.25rem,
			10vw,
			3.2rem
		);

		line-height: 1.08;
	}


	.process__description {
		max-width: 100%;

		margin-top: 1.25rem;

		font-size: 0.95rem;

		line-height: 1.7;
	}


	.process__button {
		margin-top: 1.5rem;
	}


	/* =====================================================
	   MOBILE TIMELINE
	===================================================== */

	.process__mobile-list {
		width: 100%;

		margin-top: 4rem;
	}


	.process-mobile-step {
		grid-template-columns: 60px 1fr;

		gap: 1rem;

		padding-bottom: 2.8rem;
	}


	/* =====================================================
	   VERTICAL LINE
	===================================================== */

	.process__mobile-list::before {
		left: 23px;
	}


	/* =====================================================
	   ICON
	===================================================== */

	.process-mobile-step__icon {
		width: 48px;
		height: 48px;

		margin-top: 25px;
	}


	.process-mobile-step__icon-image {
		width: 21px;
		height: 21px;
	}


	/* =====================================================
	   NUMBER
	===================================================== */

	.process-mobile-step__number {
		left: 0;

		font-size: 0.62rem;
	}


	/* =====================================================
	   CONTENT
	===================================================== */

	.process-mobile-step__content {
		padding-top: 25px;
	}


	.process-mobile-step__content h3 {
		font-size: 0.95rem;
	}


	.process-mobile-step__content p {
		font-size: 0.8rem;

		line-height: 1.65;
	}


	/* =====================================================
	   BENEFITS
	===================================================== */

	.process__benefits {
		grid-template-columns: 1fr;

		gap: 0;

		margin-top: 3.5rem;

		padding: 0.75rem 1rem;
	}


	.process-benefit {
		padding: 1rem 0;
	}


	.process-benefit + .process-benefit {
		border-top: 1px solid rgba(24, 24, 27, 0.07);

		border-left: 0;
	}


	.process-benefit__icon {
		flex-basis: 36px;

		width: 36px;
		height: 36px;
	}


	.process-benefit__icon-image {
		width: 19px;
		height: 19px;
	}


	.process-benefit__content h3 {
		font-size: 0.75rem;
	}


	.process-benefit__content p {
		font-size: 0.7rem;
	}
}


/* =========================================================
   SMALL MOBILE
   480px AND BELOW
========================================================= */

@media (max-width: 480px) {

	.process {
		padding-top: 5rem;
	}


	.process__heading {
		font-size: clamp(
			2.15rem,
			10.5vw,
			2.8rem
		);
	}


	.process__description {
		font-size: 0.9rem;
	}


	.process__button {
		min-width: 165px;

		padding-left: 1.1rem;
	}


	.process__mobile-list {
		margin-top: 3.5rem;
	}


	.process-mobile-step {
		grid-template-columns: 56px 1fr;

		gap: 0.85rem;

		padding-bottom: 2.5rem;
	}


	.process__mobile-list::before {
		left: 21px;
	}


	.process-mobile-step__icon {
		width: 44px;
		height: 44px;
	}


	.process-mobile-step__icon-image {
		width: 19px;
		height: 19px;
	}


	.process-mobile-step__content {
		padding-top: 23px;
	}


	.process-mobile-step__content h3 {
		font-size: 0.9rem;
	}


	.process-mobile-step__content p {
		font-size: 0.76rem;

		line-height: 1.65;
	}


	.process__benefits {
		margin-top: 3rem;

		padding: 0.5rem 0.85rem;
	}
}


/* =========================================================
   EXTRA SMALL MOBILE
   375px AND BELOW
========================================================= */

@media (max-width: 375px) {

	.process {
		padding: 4.5rem 0 3.5rem;
	}


	.process__heading {
		font-size: 2.15rem;

		letter-spacing: -0.045em;
	}


	.process__description {
		font-size: 0.86rem;
	}


	.process-mobile-step {
		grid-template-columns: 52px 1fr;

		gap: 0.75rem;

		padding-bottom: 2.35rem;
	}


	.process__mobile-list::before {
		left: 19px;
	}


	.process-mobile-step__icon {
		width: 42px;
		height: 42px;
	}


	.process-mobile-step__icon-image {
		width: 18px;
		height: 18px;
	}


	.process-mobile-step__number {
		font-size: 0.58rem;
	}


	.process-mobile-step__content {
		padding-top: 22px;
	}


	.process-mobile-step__content h3 {
		font-size: 0.88rem;
	}


	.process-mobile-step__content p {
		font-size: 0.73rem;
	}


	.process__benefits {
		margin-top: 2.75rem;
	}


	.process-benefit {
		gap: 0.7rem;
	}


	.process-benefit__content h3 {
		font-size: 0.72rem;
	}


	.process-benefit__content p {
		font-size: 0.67rem;
	}
}