/* GeoXYZ — inner pages aligned with the reference site (pages-ref.css) */

.gxp-hero {
	position: relative;
	padding-block: clamp(64px, 7vw, 104px) clamp(56px, 6vw, 88px);
	background:
		radial-gradient(760px 420px at 82% 6%, rgba(11, 92, 255, 0.26), transparent 68%),
		radial-gradient(520px 320px at 6% 92%, rgba(255, 106, 0, 0.14), transparent 70%),
		linear-gradient(160deg, var(--gx-navy-900) 0%, #08172c 52%, var(--gx-navy-950) 100%);
	color: rgba(255, 255, 255, 0.74);
	overflow: clip;
}

.gxp-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.gxp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(36px, 4.4vw, 68px);
	align-items: center;
}

.gxp-hero__grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.gxp-hero__copy h1 {
	color: #fff;
	font-size: clamp(2.1rem, 3.5vw, 3.3rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin-bottom: 22px;
}

.gxp-hero__lead {
	font-size: 17px;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.68);
	max-width: 620px;
	margin: 0 0 30px;
}

.gxp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.gxp-hero__media {
	position: relative;
	border-radius: 24px;
	overflow: clip;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
	aspect-ratio: 4 / 3;
	background: #0d1b2f;
}

.gxp-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gxp-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(200deg, rgba(4, 8, 15, 0) 40%, rgba(4, 8, 15, 0.55));
	pointer-events: none;
}

.gxp-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gxp-stat__value {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.gxp-stat__label {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.52);
}

/* Category / path rail under the hero */

.gxp-rail {
	border-bottom: 1px solid var(--gx-line);
	background: #fff;
}

.gxp-rail__list {
	display: flex;
	gap: 5px;
	overflow-x: auto;
	padding-block: 16px;
	list-style: none;
	margin: 0;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	padding-inline-end: 16px;
	-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 16px), transparent 100%);
	mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 16px), transparent 100%);
}

.gxp-rail__list::-webkit-scrollbar {
	display: none;
}

.gxp-rail__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 10px;
	border: 1px solid var(--gx-line);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gx-ink);
	white-space: nowrap;
	background: #fff;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.gxp-rail__item:hover,
.gxp-rail__item.is-active {
	border-color: var(--gx-blue-600);
	background: rgba(11, 92, 255, 0.06);
	color: var(--gx-blue-700);
}

.gxp-rail__item .gx-icon {
	width: 15px;
	height: 15px;
	opacity: 0.7;
}

/* Generic sections */

.gxp-sec {
	padding-block: clamp(56px, 6vw, 92px);
}

.gxp-sec--tight {
	padding-block: clamp(36px, 4vw, 60px);
}

.gxp-sec--soft {
	background: var(--gx-soft);
}

.gxp-sec--dark {
	background:
		radial-gradient(820px 400px at 80% 0%, rgba(11, 92, 255, 0.2), transparent 70%),
		linear-gradient(180deg, var(--gx-navy-900), var(--gx-navy-950));
	color: rgba(255, 255, 255, 0.7);
}

.gxp-sec--dark h2,
.gxp-sec--dark h3 {
	color: #fff;
}

.gxp-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: end;
	margin-bottom: clamp(28px, 3.4vw, 46px);
}

.gxp-head__title {
	font-size: clamp(1.7rem, 2.5vw, 2.35rem);
	line-height: 1.14;
	max-width: 720px;
}

.gxp-head__text {
	color: var(--gx-muted);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
	max-width: 560px;
}

.gxp-sec--dark .gxp-head__text {
	color: rgba(255, 255, 255, 0.62);
}

/* Collection: one product family per block */

.gxp-collection {
	padding-block: clamp(40px, 4.6vw, 68px);
	border-top: 1px solid var(--gx-line);
}

.gxp-collection__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
	gap: clamp(20px, 3.4vw, 56px);
	align-items: start;
	margin-bottom: clamp(22px, 2.8vw, 36px);
}

.gxp-collection__title {
	font-size: clamp(1.45rem, 2vw, 1.95rem);
	display: flex;
	align-items: center;
	gap: 14px;
}

.gxp-collection__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(11, 92, 255, 0.08);
	color: var(--gx-blue-600);
	flex: none;
}

.gxp-collection__text {
	margin: 0;
	color: var(--gx-muted);
	font-size: 15.5px;
	line-height: 1.7;
}

.gxp-collection__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.gxp-collection__grid--single {
	grid-template-columns: minmax(0, 1fr);
}

/* Product card */

.gxp-pcard {
	display: grid;
	grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
	gap: 0;
	background: #fff;
	border: 1px solid var(--gx-line);
	border-radius: 18px;
	overflow: clip;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.gxp-pcard:hover {
	border-color: rgba(11, 92, 255, 0.4);
	box-shadow: var(--gx-shadow-m);
	transform: translateY(-3px);
}

.gxp-pcard__media {
	position: relative;
	background: linear-gradient(150deg, #eef3fb, #f8fafd);
	aspect-ratio: 1 / 1;
}

.gxp-pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gxp-pcard__body {
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
}

.gxp-pcard__eyebrow {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gx-orange-600);
	margin: 0;
}

.gxp-pcard__title {
	font-size: 18px;
	line-height: 1.3;
	margin: 0;
}

.gxp-pcard__text {
	font-size: 14px;
	line-height: 1.62;
	color: var(--gx-muted);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: clip;
}

.gxp-pcard__link {
	margin-top: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gx-blue-600);
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.gxp-pcard__link .gx-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.25s;
}

.gxp-pcard:hover .gxp-pcard__link .gx-icon {
	transform: translateX(4px);
}

/* Task selector cards (choose by application) */

.gxp-task-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.gxp-task {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px 24px 24px;
	background: #fff;
	border: 1px solid var(--gx-line);
	border-radius: 18px;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.gxp-task:hover {
	border-color: rgba(11, 92, 255, 0.42);
	box-shadow: var(--gx-shadow-m);
	transform: translateY(-3px);
}

.gxp-task__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(150deg, rgba(11, 92, 255, 0.12), rgba(255, 106, 0, 0.08));
	color: var(--gx-blue-700);
}

.gxp-task__icon .gx-icon {
	width: 22px;
	height: 22px;
}

.gxp-task__title {
	font-size: 16.5px;
	line-height: 1.3;
	margin: 0;
}

.gxp-task__text {
	font-size: 14px;
	line-height: 1.62;
	color: var(--gx-muted);
	margin: 0;
}

.gxp-task__more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--gx-blue-600);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Solution blocks: image + copy */

.gxp-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 60px);
	align-items: center;
	padding-block: clamp(36px, 4.4vw, 64px);
	border-top: 1px solid var(--gx-line);
}

.gxp-block--reverse .gxp-block__media {
	order: 2;
}

.gxp-block__media {
	border-radius: 20px;
	overflow: clip;
	aspect-ratio: 16 / 11;
	background: #eef3fb;
}

.gxp-block__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gxp-block__copy h2,
.gxp-block__copy h3 {
	font-size: clamp(1.5rem, 2.1vw, 2rem);
	margin-bottom: 14px;
}

.gxp-block__copy p {
	font-size: 16px;
	line-height: 1.72;
	color: var(--gx-muted);
	margin: 0 0 18px;
}

.gxp-points {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.gxp-points li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	color: var(--gx-ink);
}

.gxp-points .gx-icon {
	width: 17px;
	height: 17px;
	color: var(--gx-orange-600);
	margin-top: 4px;
}

/* FAQ / decision list */

.gxp-faq {
	background: #fff;
	border: 1px solid var(--gx-line);
	border-radius: 20px;
	overflow: clip;
}

.gxp-faq__item {
	padding: 26px clamp(22px, 3vw, 38px);
	border-bottom: 1px solid var(--gx-line);
}

.gxp-faq__item:last-child {
	border-bottom: 0;
}

.gxp-faq__q {
	display: flex;
	gap: 14px;
	align-items: baseline;
	font-size: 17px;
	font-weight: 700;
	color: var(--gx-ink);
	margin: 0 0 10px;
	line-height: 1.4;
}

.gxp-faq__num {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--gx-orange-600);
	flex: none;
}

.gxp-faq__a {
	font-size: 15px;
	line-height: 1.74;
	color: var(--gx-muted);
	margin: 0;
	padding-inline-start: 34px;
}

/* Stat band */

.gxp-statband {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.gxp-statband__item {
	padding: 26px 24px;
	border: 1px solid var(--gx-line);
	border-radius: 16px;
	background: #fff;
}

.gxp-sec--dark .gxp-statband__item {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.14);
}

.gxp-statband__value {
	display: block;
	font-size: clamp(1.7rem, 2.4vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--gx-ink);
	line-height: 1.1;
}

.gxp-sec--dark .gxp-statband__value {
	color: #fff;
}

.gxp-statband__label {
	display: block;
	margin-top: 8px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--gx-muted);
}

.gxp-sec--dark .gxp-statband__label {
	color: rgba(255, 255, 255, 0.6);
}

/* Timeline */

.gxp-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	position: relative;
	margin-top: 8px;
}

.gxp-timeline__item {
	position: relative;
	padding-top: 26px;
	border-top: 2px solid var(--gx-line-strong);
}

.gxp-timeline__item::before {
	content: "";
	position: absolute;
	top: -6px;
	inset-inline-start: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gx-orange-500);
	box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.14);
}

.gxp-timeline__year {
	font-size: 21px;
	font-weight: 800;
	color: var(--gx-ink);
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.gxp-timeline__text {
	font-size: 14px;
	line-height: 1.66;
	color: var(--gx-muted);
	margin: 0;
}

/* Gallery */

.gxp-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.gxp-gallery__item {
	border-radius: 16px;
	overflow: clip;
	aspect-ratio: 4 / 3;
	background: #eef3fb;
}

.gxp-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--gx-ease);
}

.gxp-gallery__item:hover img {
	transform: scale(1.04);
}

/* Dark CTA band */

.gxp-band {
	position: relative;
	padding-block: clamp(48px, 5.4vw, 76px);
	background:
		radial-gradient(720px 380px at 78% 10%, rgba(11, 92, 255, 0.3), transparent 66%),
		radial-gradient(420px 280px at 8% 96%, rgba(255, 106, 0, 0.16), transparent 70%),
		linear-gradient(150deg, var(--gx-navy-850), var(--gx-navy-950));
	color: rgba(255, 255, 255, 0.72);
	overflow: clip;
}

.gxp-band__grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 60px);
	flex-wrap: wrap;
}

.gxp-band__title {
	color: #fff;
	font-size: clamp(1.55rem, 2.3vw, 2.1rem);
	line-height: 1.2;
	max-width: 640px;
	margin-bottom: 10px;
}

.gxp-band__text {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.62);
	max-width: 560px;
}

.gxp-band__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Contact hero pair */

.gxp-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.gxp-panel {
	background: #fff;
	border: 1px solid var(--gx-line);
	border-radius: 20px;
	padding: clamp(24px, 3vw, 38px);
	box-shadow: var(--gx-shadow-s);
}

.gxp-panel__title {
	font-size: 19px;
	margin-bottom: 6px;
}

.gxp-panel__text {
	font-size: 14.5px;
	color: var(--gx-muted);
	margin-bottom: 20px;
}

.gxp-direct {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gxp-direct li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 15px;
	color: var(--gx-ink);
}

.gxp-direct__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: rgba(11, 92, 255, 0.08);
	color: var(--gx-blue-600);
	flex: none;
}

.gxp-direct__label {
	display: block;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gx-muted);
	margin-bottom: 2px;
}

/* Responsive */

@media (max-width: 1180px) {
	.gxp-hero__grid,
	.gxp-head,
	.gxp-collection__head {
		grid-template-columns: minmax(0, 1fr);
	}

	.gxp-hero__media {
		aspect-ratio: 16 / 9;
	}

	.gxp-task-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gxp-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.gxp-collection__grid,
	.gxp-block,
	.gxp-contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.gxp-block--reverse .gxp-block__media {
		order: 0;
	}

	.gxp-statband,
	.gxp-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gxp-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.gxp-pcard {
		grid-template-columns: minmax(0, 1fr);
	}

	.gxp-pcard__media {
		aspect-ratio: 16 / 10;
	}

	.gxp-band__grid,
	.gxp-band__actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.gxp-faq__a {
		padding-inline-start: 0;
	}
}

@media (max-width: 520px) {
	.gxp-task-grid,
	.gxp-statband,
	.gxp-gallery,
	.gxp-timeline {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* RTL tweaks */

[dir="rtl"] .gxp-pcard__link .gx-icon,
[dir="rtl"] .gxp-task__more .gx-icon {
	transform: scaleX(-1);
}

[dir="rtl"] .gxp-rail__list {
	-webkit-mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 16px), transparent 100%);
	mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 16px), transparent 100%);
}
