/* ==========================================================================
   Axiora – Services Section (Framer Neiden Inspired)
   Pure 3-Column Architecture:
   - Full-width layout with strictly 30px end padding on left and right.
   - Pinned/fixed left column in viewport.
   - Right side services scrolling one-by-one in the up direction.
   - Distinctive ( • ) junction circle node dividers and 2x3 tag pill grid.
   ========================================================================== */

.framer-services-section {
	position: relative;
	z-index: 5;
	background-color: #f4f4f4;
	color: #000000;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	font-family: var(--font-body);
	scroll-snap-type: y proximity;
}

/* --- Full-Width Boxed Layout with 30px Left & Right End Padding --- */
.framer-boxed-layout {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 30px !important;
	padding-right: 30px !important;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 2fr; /* 1 col left (33.333%), 2 cols right (66.666%) */
	position: relative;
}

/* ==========================================================================
   LEFT COLUMN: Fixed / Sticky in Viewport
   ========================================================================== */

.framer-heading-wrapper {
	position: sticky;
	top: var(--header-h, 56px);
	height: calc(100vh - var(--header-h, 56px));
	height: calc(100svh - var(--header-h, 56px));
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(28px, 4vw, 48px);
	padding-right: clamp(24px, 3.5vw, 56px);
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	z-index: 10;
	overflow: hidden;
}

/* Top Block */
.framer-heading-top {
	display: flex;
	flex-direction: column;
}

/* Tag Badge with 5 Red Chevrons / Geometrics */
.framer-tag-badge {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
}

.framer-geo-icons {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.framer-geo-icons svg {
	display: block;
	height: 14px;
	width: auto;
}

.framer-tag-text {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--font-ui);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #000000;
	white-space: nowrap;
}

.framer-tag-text .bracket {
	color: rgba(0, 0, 0, 0.35);
	font-weight: 400;
}

.framer-tag-text .dash {
	color: rgba(0, 0, 0, 0.35);
}

.framer-tag-text .label {
	color: #000000;
}

/* Big Display Title */
.framer-main-title {
	font-family: var(--font-heading);
	font-size: clamp(2.75rem, 4.8vw, 5.25rem);
	font-weight: 700;
	line-height: 0.94;
	letter-spacing: -0.045em;
	color: #000000;
	margin: 0.5rem 0 1.4rem;
	text-transform: none;
}

/* Subtitle Description Lead */
.framer-main-desc p {
	font-size: clamp(0.95rem, 1.05vw, 1.1rem);
	line-height: 1.55;
	color: rgba(0, 0, 0, 0.65);
	margin: 0;
	max-width: 380px;
}

/* Bottom Pinned Block */
.framer-heading-bottom {
	margin-top: auto;
	padding-top: 2rem;
	position: relative;
	z-index: 2;
}

.framer-scope-tag {
	font-family: var(--font-ui);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #000000;
	margin: 0 0 0.35rem;
}

.framer-scope-sub {
	font-size: 0.92rem;
	color: rgba(0, 0, 0, 0.55);
	margin: 0 0 1.25rem;
}

/* Discuss Project Button (Framer Neiden Exact Style: Sharp Black Rectangle with + icon) */
.framer-button-wrap {
	display: block;
	width: 100%;
	max-width: 380px;
}

.framer-discuss-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 52px;
	padding: 0 24px;
	background: #000000;
	color: #ffffff !important;
	border-radius: 0px !important; /* Sharp rectangular corners matching reference */
	text-decoration: none;
	font-family: var(--font-ui);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	transition: background-color 0.25s ease, opacity 0.25s ease;
	box-sizing: border-box;
}

.framer-discuss-btn .btn-text {
	color: #ffffff;
	font-weight: 700;
}

.framer-discuss-btn .btn-plus {
	color: #ffffff;
	font-size: 1.35rem;
	font-weight: 300;
	line-height: 1;
	display: inline-block;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.framer-discuss-btn:hover {
	background: var(--color-primary);
	color: #ffffff !important;
}

.framer-discuss-btn:hover .btn-plus {
	transform: rotate(90deg);
}

/* Frosted Bottom Shadow Fade (Framer Neiden effect) */
.framer-sticky-fade {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 48px;
	background: linear-gradient(to top, #f4f4f4 0%, rgba(244, 244, 244, 0) 100%);
	pointer-events: none;
	z-index: 1;
}

/* ==========================================================================
   RIGHT COLUMN: Services Wrapper
   ========================================================================== */

.framer-services-wrapper {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

/* Facts Bar in Top Row */
.framer-facts-bar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 3.5rem);
	padding-top: clamp(28px, 4vw, 56px);
	padding-bottom: 24px;
	padding-left: clamp(24px, 3.5vw, 56px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.framer-facts-item {
	margin: 0;
	font-family: var(--font-ui);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.framer-facts-val {
	color: #000000;
	font-weight: 700;
}

/* --- Services List (Scrolls One by One in Up Direction) --- */
.framer-services-list {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.framer-service-item {
	position: relative;
	scroll-margin-top: calc(var(--header-h, 56px));
	scroll-snap-align: start;
	box-sizing: border-box;
	padding-left: clamp(24px, 3.5vw, 56px);
	padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.framer-service-item:first-child .framer-junction-line {
	display: none;
}

/* Junction Divider Line with Centered ( • ) Circle Node */
.framer-junction-line {
	position: relative;
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.1);
	margin-bottom: clamp(32px, 4vw, 56px);
}

.framer-junction-circle {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 26px;
	height: 26px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 50%;
	background: #f4f4f4;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
}

.framer-junction-dot {
	width: 6px;
	height: 6px;
	background: #000000;
	border-radius: 50%;
	display: block;
}

/* --- Service Card Contents --- */
.framer-service-card {
	width: 100%;
	box-sizing: border-box;
}

/* 1. Header: Number, Arabic Label & Big Service Name */
.framer-card-header {
	margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.framer-card-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
	font-family: var(--font-ui);
}

.framer-card-num {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #000000;
}

.framer-card-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 3.2vw, 3.6rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #000000;
	margin: 0;
	text-transform: none;
}

.framer-card-title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}
.framer-card-title-link:hover {
	color: var(--color-primary);
}

/* 2. Dual Media Row: Aligned across Col 2 and Col 3 */
.framer-card-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
	width: 100%;
}

.framer-media-col--left {
	padding-right: clamp(16px, 2vw, 28px);
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.framer-media-col--right {
	padding-left: clamp(16px, 2vw, 28px);
	box-sizing: border-box;
}

.framer-media-box {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
}

.framer-media-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.framer-media-box:hover img {
	transform: scale(1.035);
}

/* Signature Framer Corner Cutout Detail */
.framer-corner-cutout {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	z-index: 2;
	pointer-events: none;
}

.framer-corner-cutout svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* 3. Bottom Row: Description (Col 2) & Tag Pills (Col 3) */
.framer-card-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: start;
	width: 100%;
}

.framer-details-desc {
	padding-right: clamp(16px, 2vw, 28px);
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.framer-desc-text {
	font-size: clamp(0.92rem, 1vw, 1.02rem);
	line-height: 1.65;
	color: rgba(0, 0, 0, 0.72);
	margin: 0 0 1.25rem;
}

.framer-scope-badge {
	display: inline-block;
	font-family: var(--font-ui);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #000000;
	margin: 0;
	padding-bottom: 2px;
	border-bottom: 1.5px solid #000000;
}

.framer-details-tags {
	padding-left: clamp(16px, 2vw, 28px);
	box-sizing: border-box;
}

/* Tag Pills Grid: 2 rows of 3 columns */
.framer-tag-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.framer-tag-pill {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	padding: 9px 12px;
	font-family: var(--font-ui);
	font-size: 0.76rem;
	font-weight: 500;
	color: #000000;
	transition: all 0.2s ease;
	cursor: default;
	user-select: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.framer-tag-pill:hover {
	background: #000000;
	color: #ffffff;
	border-color: #000000;
	transform: translateY(-1px);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
	.framer-boxed-layout {
		grid-template-columns: 1fr;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.framer-heading-wrapper {
		position: static;
		height: auto;
		min-height: auto;
		padding-right: 0;
		padding-bottom: 2.5rem;
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	.framer-heading-bottom {
		margin-top: 2rem;
		padding-top: 0;
	}

	.framer-sticky-fade {
		display: none;
	}

	.framer-facts-bar {
		padding-left: 0;
		justify-content: space-between;
	}

	.framer-service-item {
		padding-left: 0;
	}
}

@media (max-width: 768px) {
	.framer-card-media {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.framer-media-col--left {
		border-right: none;
		padding-right: 0;
	}

	.framer-media-col--right {
		padding-left: 0;
	}

	.framer-card-details {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.framer-details-desc {
		border-right: none;
		padding-right: 0;
	}

	.framer-details-tags {
		padding-left: 0;
	}

	.framer-tag-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.framer-tag-grid {
		grid-template-columns: 1fr;
	}

	.framer-main-title {
		font-size: 2.5rem;
	}
}
