/* Orion Work Process — matches the real "Our Work Process" section from
   index-4.html exactly, using this project's real breakpoints:
   sm=640, md=769, lg=992, xl=1199, 1xl=1380, 2xl=1752. */

.orion-process {
	width: 100%;
	position: relative;
	overflow: hidden;
	background-color: #EFEFEF;
	padding: 40px 0;
	margin-bottom: 32px;
}
@media (min-width: 640px)  { .orion-process { padding: 50px 0; } }
@media (min-width: 769px)  { .orion-process { margin-bottom: 50px; } }
@media (min-width: 992px)  { .orion-process { padding: 70px 0; margin-bottom: 60px; } }
@media (min-width: 1380px) { .orion-process { padding: 80px 0; margin-bottom: 80px; } }
@media (min-width: 1752px) { .orion-process { padding: 90px 0; margin-bottom: 100px; } }

.orion-process__container {
	width: 100%;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
}
@media (min-width: 640px)  { .orion-process__container { max-width: 640px; gap: 40px; } }
@media (min-width: 769px)  { .orion-process__container { max-width: 769px; } }
@media (min-width: 992px)  { .orion-process__container { max-width: 992px; flex-direction: row; } }
@media (min-width: 1199px) { .orion-process__container { max-width: 1199px; gap: 80px; } }
@media (min-width: 1380px) { .orion-process__container { max-width: 1380px; gap: 100px; } }
@media (min-width: 1752px) { .orion-process__container { max-width: 1752px; gap: 120px; } }

/* ── Left media stack ───────────────────────────────────── */
.orion-process__media {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
}
/* align-items:flex-start — without it, flex's default "stretch" cross-axis
   behavior forces .orion-process__img-wrap--main to stretch to match
   .orion-process__content's (taller, text-driven) height instead of sizing
   to its own aspect-ratio. */
@media (min-width: 992px) { .orion-process__media { flex-direction: row; width: 50%; align-items: flex-start; } }

.orion-process__img-wrap {
	border: 4px solid #fff;
	overflow: hidden;
	position: relative;
}
@media (min-width: 640px) { .orion-process__img-wrap { border-width: 7px; } }
.orion-process__img-wrap .orion-process__img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
	max-width: none;
}

.orion-process__img-wrap--main {
	width: 100%;
	margin: 0 auto;
	aspect-ratio: 1 / 0.93;
}
@media (min-width: 640px)  { .orion-process__img-wrap--main { width: 53%; aspect-ratio: 1 / 1.15; } }
@media (min-width: 992px)  { .orion-process__img-wrap--main { width: 335px; } }
@media (min-width: 1199px) { .orion-process__img-wrap--main { width: 385px; } }
@media (min-width: 1380px) { .orion-process__img-wrap--main { width: 430px; aspect-ratio: 1 / 1.09; } }
@media (min-width: 1752px) { .orion-process__img-wrap--main { width: 494px; } }

.orion-process__img-wrap--small {
	width: 80%;
	margin: -18% auto 0;
	aspect-ratio: 1 / 0.68;
	z-index: 3;
	position: relative;
}
@media (min-width: 640px) {
	.orion-process__img-wrap--small {
		width: 230px;
		aspect-ratio: 1 / 1.15;
		/* HTML keeps -mt-[20%] at sm; sm:-mr-[270px] pulls overlap beside the main image. */
		margin: -20% 0 0 50px;
		margin-right: -270px;
	}
}
@media (min-width: 992px) {
	.orion-process__img-wrap--small {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 260px;
		margin: 0 0 0 50px;
	}
}
@media (min-width: 1199px) { .orion-process__img-wrap--small { width: 300px; } }
@media (min-width: 1752px) { .orion-process__img-wrap--small { width: 327px; } }

/* ── Rotating circle badge ──────────────────────────────── */
.orion-process__badge {
	position: relative;
	width: 100px;
	height: 100px;
	border-radius: 9999px;
	background-color: var(--orion-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: -60px 0 0 auto;
	z-index: 3;
}
/* HTML: badge sits in a zero-height wrapper with sm:absolute
   sm:-top-[210px] sm:right-[90px] (md:-top-[185px] md:right-[125px]). */
@media (min-width: 640px) {
	.orion-process__badge {
		position: absolute;
		width: 125px;
		height: 125px;
		top: -210px;
		right: 90px;
		margin: 0;
	}
}
@media (min-width: 769px) {
	.orion-process__badge {
		top: -185px;
		right: 125px;
	}
}
@media (min-width: 992px)  {
	.orion-process__badge {
		bottom: 0;
		right: 20px;
		top: 60%;
		margin: 0;
		width: 145px;
		height: 145px;
	}
}
@media (min-width: 1199px) { .orion-process__badge { width: 145px; height: 145px; } }
@media (min-width: 1380px) {
	.orion-process__badge { width: 175px; height: 175px; top: 64%; }
}
@media (min-width: 1752px) {
	.orion-process__badge { width: 200px; height: 200px; right: 60px; }
}

.orion-process__badge-spin {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: orion-process-spin 12s linear infinite;
}
.orion-process__badge-spin text {
	font-family: "El Messiri", serif;
	text-transform: uppercase;
	font-weight: 300;
	font-size: 16.4px;
	letter-spacing: 1px;
}
@keyframes orion-process-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.orion-process__badge-arrow {
	position: relative;
	z-index: 2;
	width: 60px;
	height: 60px;
	border-radius: 9999px;
	background-color: #fff;
	border: 8px solid #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--orion-primary);
}
@media (min-width: 640px)  { .orion-process__badge-arrow { width: 75px; height: 75px; } }
@media (min-width: 1199px) { .orion-process__badge-arrow { width: 90px; height: 90px; } }
@media (min-width: 1380px) { .orion-process__badge-arrow { width: 100px; height: 100px; } }
@media (min-width: 1752px) { .orion-process__badge-arrow { width: 110px; height: 110px; } }
.orion-process__badge-arrow svg { width: 60%; height: 60%; }

/* ── Right content ──────────────────────────────────────── */
.orion-process__content { width: 100%; position: relative; }
@media (min-width: 992px) { .orion-process__content { width: 50%; } }

html body h2.orion-process__title,
h2.orion-process__title {
	margin: 0 0 8px;
	color: #000;
	font-family: var(--orion-font-heading, "El Messiri", serif) !important;
	font-weight: 500 !important;
	font-size: 26px !important;
	line-height: 36px !important;
	text-transform: none !important;
}
@media (min-width: 640px) {
	html body h2.orion-process__title,
	h2.orion-process__title { font-size: 30px !important; line-height: 40px !important; }
}
@media (min-width: 769px) {
	html body h2.orion-process__title,
	h2.orion-process__title { font-size: 35px !important; line-height: 40px !important; }
}
@media (min-width: 1199px) {
	html body h2.orion-process__title,
	h2.orion-process__title { font-size: 40px !important; line-height: 50px !important; }
}
@media (min-width: 1380px) {
	html body h2.orion-process__title,
	h2.orion-process__title { margin-bottom: 16px; font-size: 46px !important; line-height: 55px !important; }
}
@media (min-width: 1752px) {
	html body h2.orion-process__title,
	h2.orion-process__title { font-size: 60px !important; line-height: 70px !important; }
}

/* HTML text-gray-400 (#464343) + p leading schedule */
.orion-process__intro {
	color: #464343;
	margin: 0 0 28px;
	font-family: Lexend, sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 23px;
}
@media (min-width: 992px)  { .orion-process__intro { font-size: 15px; line-height: 25px; } }
@media (min-width: 1199px) { .orion-process__intro { margin-bottom: 36px; line-height: 26px; } }
@media (min-width: 1380px) { .orion-process__intro { margin-bottom: 44px; line-height: 28px; } }
@media (min-width: 1752px) { .orion-process__intro { font-size: 18px; line-height: 32px; } }

.orion-process__steps { list-style: none; margin: 0 0 28px; padding: 0; }
@media (min-width: 1199px) { .orion-process__steps { margin-bottom: 44px; } }
@media (min-width: 1380px) { .orion-process__steps { margin-bottom: 60px; } }

.orion-step { display: flex; align-items: flex-start; gap: 16px; position: relative; }

/* Icon + connecting line stack — a real sibling <div> for the line (not a
   ::after pseudo-element), matching the reference's own markup: an
   icon-column flex container holding the circle then a stretchy line div. */
.orion-step__icon-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
/* Only steps that have a connecting line below them stretch to fill the
   <li>'s full height (so the line can grow to meet the next icon); the
   last step has no line and keeps its icon-col sized to the icon itself
   — otherwise it centers within the taller text column and leaves a
   visible gap above the icon. */
.orion-step__icon-col--stretch { align-self: stretch; }

.orion-step__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	padding: 13px;
	border-radius: 9999px;
	border: 1px solid var(--orion-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	background: #EFEFEF;
	position: relative;
	z-index: 1;
}
@media (min-width: 640px)  { .orion-step__icon { width: 60px; height: 60px; padding: 14px; } }
@media (min-width: 769px)  { .orion-step__icon { width: 65px; height: 65px; padding: 15px; } }
@media (min-width: 992px)  { .orion-step__icon { width: 60px; height: 60px; padding: 14px; } }
@media (min-width: 1199px) { .orion-step__icon { width: 70px; height: 70px; padding: 18px; } }
@media (min-width: 1752px) { .orion-step__icon { width: 80px; height: 80px; padding: 20px; } }

/* Compound selector needed to beat Elementor's global
   ".elementor img{height:auto;max-width:100%}" reset (0,1,1 specificity). */
.orion-step__icon .orion-step__icon-img { width: 100%; height: 100% !important; max-width: 100%; object-fit: contain; }

.orion-step__line {
	width: 1px;
	flex: 1 1 auto;
	/* HTML: min-h-12 (48) / md:min-h-16 (64) */
	min-height: 48px;
	background-color: var(--orion-primary);
}
@media (min-width: 769px) { .orion-step__line { min-height: 64px; } }

.orion-step__text { padding-bottom: 0; }
/* Spacing between steps comes from the icon+line column stretch in the
   reference — not from padding on the text column. */
/* Theme-wide `h1,h2,h3,h4,h5,h6 { line-height: 1.2 }` base (style.css) makes
   this heading noticeably tighter than the reference's own <h4>, which uses
   line-height 28px up to md, 32px/36px/42px at xl/1xl/2xl — override here
   rather than touching the shared heading reset used site-wide. */
html body h4.orion-step__title,
h4.orion-step__title {
	margin: 0 0 4px;
	color: #000;
	font-family: var(--orion-font-heading, "El Messiri", serif) !important;
	font-weight: 500 !important;
	font-size: 20px !important;
	line-height: 28px !important;
	text-transform: none !important;
}
@media (min-width: 769px)  {
	html body h4.orion-step__title,
	h4.orion-step__title { font-size: 22px !important; line-height: 28px !important; }
}
@media (min-width: 1199px) {
	html body h4.orion-step__title,
	h4.orion-step__title { font-size: 24px !important; line-height: 32px !important; }
}
@media (min-width: 1380px) {
	html body h4.orion-step__title,
	h4.orion-step__title { line-height: 36px !important; }
}
@media (min-width: 1752px) {
	html body h4.orion-step__title,
	h4.orion-step__title { font-size: 30px !important; line-height: 42px !important; }
}
p.orion-step__desc {
	margin: 0;
	color: #464343;
	font-family: Lexend, sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 23px;
}
@media (min-width: 992px)  { p.orion-step__desc { font-size: 15px; line-height: 25px; } }
@media (min-width: 1199px) { p.orion-step__desc { line-height: 26px; } }
@media (min-width: 1380px) { p.orion-step__desc { line-height: 28px; } }
@media (min-width: 1752px) { p.orion-step__desc { font-size: 18px; line-height: 32px; } }

.orion-process__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
@media (min-width: 640px) { .orion-process__actions { flex-wrap: nowrap; gap: 16px; } }

/* .btn-green-bg is a layered Tailwind utility class (text-black, display
   handled by the shared .btn class), but the theme's own unlayered .btn
   { display: inline-block } in style.css loads after this file and ties on
   specificity, so it wins by source order — pin both display and color on
   this two-class selector so they're no longer a tie. */
.orion-process__phone.btn-green-bg { color: #000; display: inline-flex; }
.orion-process__phone {
	background-color: transparent;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 300;
}
@media (min-width: 640px) { .orion-process__phone { gap: 12px; } }
.orion-process__phone svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--orion-primary); stroke: var(--orion-primary); }
@media (min-width: 640px)  { .orion-process__phone svg { width: 22px; height: 22px; } }
@media (min-width: 1199px) { .orion-process__phone svg { width: 24px; height: 24px; } }
