/* =========================================================
   PROCESS
   ========================================================= */

.process {
	position: relative;
	overflow: hidden;

	padding: 115px 0 125px;

	background: linear-gradient(180deg, #f5f4ef 0%, #f2f5f2 48%, #f5f4ef 100%);
}

/* ---------------------------------------------------------
   BACKGROUND SHAPES
   --------------------------------------------------------- */

.process::before {
	content: '';

	position: absolute;

	top: -180px;
	left: 50%;

	width: 520px;
	height: 380px;

	background: rgba(79, 139, 130, 0.1);

	border-radius: 50%;

	filter: blur(80px);

	transform: translateX(-50%);

	pointer-events: none;
}

.process::after {
	content: '';

	position: absolute;

	right: -180px;
	bottom: -180px;

	width: 420px;
	height: 420px;

	background: rgba(79, 139, 130, 0.07);

	border-radius: 50%;

	filter: blur(85px);

	pointer-events: none;
}

/* ---------------------------------------------------------
   CONTENT ABOVE BACKGROUND
   --------------------------------------------------------- */

.process > .container {
	position: relative;
	z-index: 1;
}
/* ---------------------------------------------------------
   HEADING
   --------------------------------------------------------- */

.process .section-heading {
	align-items: center;

	max-width: 760px;

	margin-right: auto;
	margin-left: auto;

	text-align: center;
}

.process .section-heading h2 {
	max-width: 700px;
}

.process .section-heading__description {
	max-width: 620px;
}

/* ---------------------------------------------------------
   STEPS
   --------------------------------------------------------- */

.process__steps {
	position: relative;

	display: flex;
	align-items: flex-start;

	width: 100%;

	margin-top: 68px;
}

/* línea del timeline */

.process__steps::before {
	content: '';

	position: absolute;

	top: 34px;

	left: calc(16.666% + 34px);
	right: calc(16.666% + 34px);

	height: 1px;

	background: rgba(79, 139, 130, 0.22);

	z-index: 0;
}

/* ---------------------------------------------------------
   STEP
   --------------------------------------------------------- */

.process__step {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: center;

	flex: 1 1 0;

	min-width: 0;

	padding: 0 32px;

	text-align: center;

	z-index: 1;
}

/* ---------------------------------------------------------
   NUMBER
   --------------------------------------------------------- */

.process__number {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 68px;
	height: 68px;

	margin-bottom: 28px;

	border: 1px solid rgba(79, 139, 130, 0.28);
	border-radius: 50%;

	background: var(--color-surface);

	color: var(--color-primary);

	font-family: var(--font-display);
	font-size: 27px;
	font-weight: 400;
	line-height: 1;

	box-shadow: 0 0 0 10px var(--color-background);
}

/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.process__step h3 {
	max-width: 270px;

	color: var(--color-text);

	font-family: var(--font-display);
	font-size: 29px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.process__step p {
	max-width: 245px;

	margin-top: 11px;

	color: var(--color-text-light);

	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.7;
}

/* ---------------------------------------------------------
   HIDE OLD ACCENT
   --------------------------------------------------------- */

.process__step::before {
	display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
	.process {
		padding: 90px 0 100px;
	}

	.process__steps {
		margin-top: 55px;
	}

	.process__step {
		padding: 0 20px;
	}

	.process__step h3 {
		font-size: 25px;
	}

	.process__steps::before {
		left: calc(16.666% + 29px);
		right: calc(16.666% + 29px);

		top: 29px;
	}

	.process__number {
		width: 58px;
		height: 58px;

		font-size: 24px;

		box-shadow: 0 0 0 8px var(--color-background);
	}
}

@media (max-width: 700px) {
	.process {
		padding: 76px 0 86px;
	}

	.process .section-heading {
		align-items: flex-start;

		text-align: left;
	}

	.process__steps {
		flex-direction: column;

		margin-top: 38px;
	}

	/* línea vertical */

	.process__steps::before {
		top: 34px;
		bottom: 34px;

		left: 33px;
		right: auto;

		width: 1px;
		height: auto;
	}

	/* step */

	.process__step {
		display: grid;
		grid-template-columns: 68px 1fr;

		column-gap: 20px;

		align-items: start;

		width: 100%;

		padding: 0 0 42px;

		text-align: left;
	}

	/* number */

	.process__number {
		grid-row: 1 / span 2;

		width: 68px;
		height: 68px;

		margin: 0;

		box-shadow: 0 0 0 8px var(--color-background);
	}

	/* content */

	.process__step h3 {
		max-width: none;

		margin-top: 5px;

		font-size: 26px;
	}

	.process__step p {
		max-width: none;

		margin-top: 8px;
	}
}

@media (max-width: 480px) {
	.process__step {
		grid-template-columns: 58px 1fr;

		column-gap: 16px;
	}

	.process__number {
		width: 58px;
		height: 58px;

		font-size: 23px;
	}

	.process__steps::before {
		top: 29px;
		left: 29px;
		bottom: 29px;
	}

	.process__step h3 {
		font-size: 23px;
	}
}
