/* Services page mobile — Figma Services @ 750px (node 1916:915), breakpoint ≤767px. PC untouched. */
@media (max-width: 767px) {
	body.nexoura-services {
		--nx-s: min(1, 100vw / 750);
		--nx-gutter: 15px;
		--nx-gutter-footer: 15px;
		--nx-gutter-hero: 15px;
		width: 100% !important;
		max-width: 100vw !important;
		min-width: 0;
		margin: 0 !important;
		padding: 130px 15px 0;
		zoom: 1 !important;
		transform: none !important;
		overflow-x: clip;
	}

	html:has(body.nexoura-services) {
		width: 100%;
		overflow-x: clip;
	}

	body.nexoura-services #page,
	body.nexoura-services .nexoura-services-page {
		width: 100%;
		max-width: none;
		margin: 0 0 24px;
		padding: 0;
		overflow-x: clip;
	}

	body.nexoura-services .nexoura-services-page__safe {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	/* ─── Hero ─── */
	body.nexoura-services .nexoura-svc-hero {
		padding: 0 0 64px;
	}

	body.nexoura-services .nexoura-svc-hero__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 47px;
	}

	body.nexoura-services .nexoura-svc-hero__title {
		flex: none;
		width: 100%;
		font-size: 36px;
		line-height: 41px;
		letter-spacing: -1.8px;
	}

	body.nexoura-services .nexoura-svc-hero__lead {
		flex: none;
		width: 100%;
		max-width: 444px;
		font-size: 12px;
		line-height: 18px;
		font-style: italic;
	}

	/* ─── Chapters ─── */
	body.nexoura-services .nexoura-svc-chapters {
		padding: 0;
	}

	body.nexoura-services .nexoura-svc-chapter {
		border-bottom: 1px solid var(--nx-black);
		margin-bottom: 0;
	}

	body.nexoura-services .nexoura-svc-chapter.nexoura-svc-chapter--ready {
		padding-bottom: 24px;
	}

	body.nexoura-services .nexoura-svc-chapter:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	body.nexoura-services .nexoura-svc-chapter__inner {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 0;
	}

	body.nexoura-services .nexoura-svc-chapter__meta {
		order: 1;
		height: 40px;
		font-size: 10px;
		line-height: 40px;
	}

	body.nexoura-services .nexoura-svc-chapter__footer {
		display: contents;
	}

	body.nexoura-services .nexoura-svc-chapter__title {
		order: 2;
		margin: 0 0 24px;
		padding-top: 0;
		font-size: 31px;
		line-height: 31px;
		letter-spacing: -1.8px;
	}

	body.nexoura-services .nexoura-svc-chapter__phones {
		order: 3;
		position: relative;
		top: auto;
		left: auto;
		align-self: flex-start;
		width: 100%;
		max-width: none;
		height: min(365px, calc((100vw - 30px) * 0.95));
		margin: 0 0 24px;
		overflow: visible;
		pointer-events: none;
	}

	body.nexoura-services .nexoura-svc-phones {
		width: 345px;
		max-width: calc(100vw - 30px);
		height: 100%;
		margin: 0;
	}

	body.nexoura-services .nexoura-svc-phones__device {
		width: 230px;
		height: 345px;
	}

	body.nexoura-services .nexoura-svc-phones__device[data-deck-rank="1"] {
		transform: translate3d(48px, 23px, 0) scale(0.8675, 0.8667);
	}

	body.nexoura-services .nexoura-svc-phones__device[data-deck-rank="2"] {
		transform: translate3d(96px, 46px, 0) scale(0.7325, 0.7333);
	}

	body.nexoura-services .nexoura-svc-phones__device[data-deck-rank="3"] {
		transform: translate3d(96px, 50px, 0) scale(0.665, 0.665);
	}

	body.nexoura-services .nexoura-svc-phones--advance [data-deck-rank="0"] {
		transform: translate3d(-62px, 8px, 0) scale(0.64, 0.64);
	}

	body.nexoura-services .nexoura-svc-phones--advance [data-deck-rank="1"] {
		transform: translate3d(0, 0, 0) scale(1);
	}

	body.nexoura-services .nexoura-svc-phones--advance [data-deck-rank="2"] {
		transform: translate3d(48px, 23px, 0) scale(0.8675, 0.8667);
	}

	body.nexoura-services .nexoura-svc-phones--advance [data-deck-rank="3"] {
		transform: translate3d(96px, 46px, 0) scale(0.7325, 0.7333);
	}

	body.nexoura-services .nexoura-svc-scope {
		order: 4;
		align-items: flex-end;
		width: 100%;
		min-width: 0;
		margin-bottom: 24px;
	}

	body.nexoura-services .nexoura-svc-scope__item {
		justify-content: flex-end;
	}

	body.nexoura-services .nexoura-svc-scope__btn {
		justify-content: flex-end;
		text-align: right;
		font-size: 12px;
		line-height: 12px;
		letter-spacing: 0.5px;
	}

	body.nexoura-services .nexoura-svc-scope__row {
		justify-content: flex-end;
		gap: 10px;
	}

	body.nexoura-services .nexoura-svc-scope__label {
		text-align: right;
		white-space: normal;
	}

	body.nexoura-services .nexoura-svc-scope__rule {
		transform-origin: right center;
	}

	body.nexoura-services .nexoura-svc-scope__item--active .nexoura-svc-scope__rule {
		transform-origin: right center;
	}

	body.nexoura-services .nexoura-svc-scope__item + .nexoura-svc-scope__item {
		margin-top: 20px;
	}

	body.nexoura-services .nexoura-svc-chapter__body {
		order: 5;
		min-height: 0;
	}

	body.nexoura-services .nexoura-svc-chapter__copy {
		width: 100%;
		max-width: none;
		padding: 0;
	}

	body.nexoura-services .nexoura-svc-chapter__headline {
		margin: 0 0 15px;
		font-size: 17px;
		line-height: 20px;
	}

	body.nexoura-services .nexoura-svc-chapter__text {
		font-size: 12px;
		line-height: 18px;
		font-weight: 300;
	}

	body.nexoura-services .nexoura-svc-chapter:last-child .nexoura-svc-chapter__inner {
		height: auto;
		min-height: 0;
	}

	body.nexoura-services .nexoura-svc-chapter:last-child .nexoura-svc-chapter__footer {
		border-bottom: none;
		margin-bottom: 0;
	}

	/* ─── Modern Stacks — full-bleed bar ─── */
	body.nexoura-services > .nexoura-svc-stacks,
	body.nexoura-services > .nexoura-footer.nexoura-full-bleed {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box;
	}

	body.nexoura-services > .nexoura-svc-stacks {
		padding: 50px 0;
	}

	body.nexoura-services .nexoura-svc-stacks__inner {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0 15px;
		box-sizing: border-box;
	}

	body.nexoura-services .nexoura-svc-stacks__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		margin-bottom: 24px;
	}

	body.nexoura-services .nexoura-svc-stacks__title {
		flex: none;
		width: 100%;
		font-size: 46px;
		line-height: 46px;
		letter-spacing: -2.4px;
	}

	body.nexoura-services .nexoura-svc-stacks__lead {
		flex: none;
		width: 100%;
		font-size: 12px;
		line-height: 19.5px;
		font-weight: 300;
	}

	body.nexoura-services .nexoura-svc-stacks__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px;
	}

	body.nexoura-services .nexoura-svc-stack-card {
		padding: 24px;
	}

	body.nexoura-services .nexoura-svc-stack-card:hover,
	body.nexoura-services .nexoura-svc-stack-card:focus-within {
		transform: none;
	}

	body.nexoura-services .nexoura-svc-stack-card__icon-wrap {
		width: 16px;
		height: 16px;
		margin-bottom: 16px;
	}

	body.nexoura-services .nexoura-svc-stack-card__icon {
		width: 16px;
		height: 16px;
	}

	body.nexoura-services .nexoura-svc-stack-card__title {
		margin: 0 0 8px;
		font-size: 10px;
		line-height: 14px;
		letter-spacing: 1px;
	}

	body.nexoura-services .nexoura-svc-stack-card__desc {
		font-size: 8px;
		line-height: 12px;
	}

	/* ─── Footer — match home / work mobile ─── */
	body.nexoura-services .nexoura-footer {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding: 40px 0;
		background: #080808;
		isolation: isolate;
		overflow: hidden;
	}

	body.nexoura-services .nexoura-footer__texture {
		inset: 0;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: auto;
		height: auto;
		opacity: 0.13;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		transform: rotate(90deg) scale(1.35);
		transform-origin: center center;
	}

	body.nexoura-services .nexoura-footer__inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 25px;
		width: 100%;
		max-width: 900px;
		padding: 0 15px;
		box-sizing: border-box;
	}

	body.nexoura-services .nexoura-footer__top {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		margin-bottom: 0;
	}

	body.nexoura-services .nexoura-footer__top > .nexoura-footer__col:not(.nexoura-footer__col--office) {
		display: none;
	}

	body.nexoura-services .nexoura-footer__brand {
		position: relative;
		flex: none;
		width: 132.36px;
		min-height: 87.73px;
	}

	body.nexoura-services .nexoura-footer__mark {
		width: 56px;
		height: 57px;
	}

	body.nexoura-services .nexoura-footer__wordmark {
		top: 72px;
		width: 132.36px;
		height: 16px;
	}

	body.nexoura-services .nexoura-footer__col--office {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		flex: none;
		width: 100%;
		gap: 16px;
	}

	body.nexoura-services .nexoura-footer__heading {
		margin: 0;
		font-family: "Space Grotesk", var(--nx-font-display);
		font-size: 11px;
		line-height: 17px;
	}

	body.nexoura-services .nexoura-footer__address {
		margin: 0;
		font-size: 11px;
		line-height: 17px;
	}

	body.nexoura-services .nexoura-footer__social {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		margin-top: 0;
		gap: 8px;
	}

	body.nexoura-services .nexoura-footer__social a {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		height: 20px;
		padding: 5px 10px;
		font-size: 10px;
		line-height: 10px;
		letter-spacing: 0.5px;
	}

	body.nexoura-services .nexoura-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
		padding-top: 24px;
		border-top: none;
	}

	body.nexoura-services .nexoura-footer__legal {
		display: flex;
		gap: 16px;
	}

	body.nexoura-services .nexoura-footer__copy,
	body.nexoura-services .nexoura-footer__legal a {
		font-size: 10px;
		line-height: 10px;
		letter-spacing: 0.5px;
	}

	body.nexoura-services .nexoura-footer__legal a {
		letter-spacing: 0.6px;
	}
}
