/* =========================================================
   PARADOXX — main stylesheet
   ========================================================= */
:root {
	--px-bg: #03060c;
	--px-bg-2: #050a15;
	--px-text: #e9edf5;
	--px-muted: #95a1b6;
	--px-dim: #5f6b80;
	--px-line: rgba(120, 150, 210, 0.16);
	--px-line-strong: rgba(95, 145, 235, 0.32);
	--px-cyan: #3fc6ea;
	--px-orange: #ff7a1a;
	--px-card: linear-gradient(165deg, #050b19 0%, #081734 55%, #0b2a62 100%);
	--px-radius: 14px;
	--px-font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--px-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--px-wrap: 1140px;
	--px-gutter: clamp(20px, 4vw, 40px);
	--px-ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--px-bg);
	color: var(--px-text);
	font-family: var(--px-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: rgba(63, 198, 234, .35); }
:focus-visible { outline: 2px solid var(--px-cyan); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .px-skip {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.px-skip:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 10px; left: 10px;
	padding: 10px 16px; background: var(--px-text); color: var(--px-bg); border-radius: 8px;
}

/* Elementor text widgets inherit the theme */
.elementor-widget-text-editor { color: var(--px-muted); }
.elementor-widget-heading .elementor-heading-title { color: var(--px-text); font-family: var(--px-font); }

/* ---------- Shared bits ---------- */
.px-eyebrow, .px-mono {
	margin: 0 0 18px;
	font-family: var(--px-mono);
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--px-muted);
}
.px-eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.px-eyebrow--rule::after {
	content: ""; width: 80px; height: 1px;
	background: linear-gradient(90deg, var(--px-cyan), transparent);
}
.px-card {
	background: var(--px-card);
	border: 1px solid var(--px-line-strong);
	border-radius: var(--px-radius);
}
.px-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 18px; border-radius: 999px;
	font-size: 13px; font-weight: 500; text-decoration: none;
	transition: background .25s, color .25s, border-color .25s;
}
.px-btn--light { background: var(--px-text); color: var(--px-bg); }
.px-btn--light:hover { background: #fff; }
.px-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 500; text-decoration: none;
	color: var(--px-text);
}
.px-link span { transition: transform .3s var(--px-ease); }
.px-link:hover span { transform: translateX(4px); }
.px-svc .px-link { border-bottom: 1px solid rgba(233, 237, 245, .5); padding-bottom: 1px; }

/* ---------- Header ---------- */
.px-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(3, 6, 12, .72);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--px-line);
}
.admin-bar .px-header { top: 32px; }
.px-header__inner {
	max-width: var(--px-wrap); margin: 0 auto; padding: 14px var(--px-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.px-header__logo { text-decoration: none; color: var(--px-text); display: inline-flex; }
.px-header__logo img { max-height: 28px; width: auto; }
.px-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.px-menu a { font-size: 12.5px; color: var(--px-muted); text-decoration: none; transition: color .2s; }
.px-menu a:hover, .px-menu .current-menu-item a { color: var(--px-text); }
.px-header__toggle {
	display: none; background: none; border: 0; padding: 8px; cursor: pointer;
	flex-direction: column; gap: 5px;
}
.px-header__toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 1.5px; background: var(--px-text); transition: transform .3s; }
.px-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.px-header__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 782px) { .admin-bar .px-header { top: 46px; } }
@media (max-width: 720px) {
	.px-header__toggle { display: flex; }
	.px-header__nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: rgba(3, 6, 12, .96); border-bottom: 1px solid var(--px-line);
		display: none; padding: 12px var(--px-gutter) 24px;
	}
	.px-header__nav.is-open { display: block; }
	.px-header__nav .px-menu { flex-direction: column; gap: 4px; }
	.px-header__nav .px-menu a { display: block; padding: 10px 0; font-size: 16px; }
}

/* ---------- Glitch logo ---------- */
.px-glitch {
	position: relative; display: inline-block;
	font-family: var(--px-font); font-weight: 900; line-height: .9;
	letter-spacing: -.045em; text-transform: uppercase;
	color: #dcdcd6;
}
.px-glitch__svg { position: absolute; width: 0; height: 0; }
.px-glitch__text { display: inline-block; padding: .08em .12em; }
.px-glitch--sm { font-size: 17px; }
.px-glitch--xl { font-size: clamp(56px, 11vw, 150px); }
.px-glitch.is-jolt .px-glitch__text { animation: px-jolt .32s steps(3) 1; }
@keyframes px-jolt {
	0% { transform: translateX(0); }
	33% { transform: translateX(-3px) skewX(-4deg); }
	66% { transform: translateX(4px); }
	100% { transform: translateX(0); }
}
.px-glitch-link { text-decoration: none; }

/* ---------- Hero ---------- */
.px-hero { padding: clamp(28px, 4vw, 36px) 0 clamp(40px, 6vw, 64px); }
.px-hero__title {
	margin: 0 0 26px;
	font-size: clamp(40px, 6.4vw, 78px);
	font-weight: 600; line-height: 1; letter-spacing: -.035em;
	color: var(--px-text);
	min-height: 1em;
}
.px-hero__title.is-typing .px-hero__type::after,
.px-hero__title.is-typed .px-hero__type::after {
	content: ""; display: inline-block; width: .06em; height: .82em;
	margin-left: .06em; vertical-align: -.04em;
	background: var(--px-cyan);
}
.px-hero__title.is-typed .px-hero__type::after { animation: px-blink 1s steps(1) infinite; }
@keyframes px-blink { 50% { opacity: 0; } }

.px-hero__field {
	position: relative; height: 300px; overflow: hidden;
	border-radius: var(--px-radius);
	border: 1px solid var(--px-line-strong);
	background:
		radial-gradient(120% 90% at 50% 120%, rgba(30, 90, 200, .35), transparent 60%),
		linear-gradient(180deg, #071330 0%, #0a2257 100%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 30px 80px -40px rgba(30, 100, 255, .45);
}
.px-hero__field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.px-hero__foot {
	margin-top: 32px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.px-hero__text { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.5; color: var(--px-text); }
.px-hero__actions { display: flex; align-items: center; gap: 22px; }

/* ---------- Headings ---------- */
.px-heading__text { margin: 0; color: var(--px-text); }
.px-heading--title .px-heading__text { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.px-heading--statement .px-heading__text { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; letter-spacing: -.015em; line-height: 1.22; max-width: 22em; }
.px-heading--small .px-heading__text { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Fact cards ---------- */
.px-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.px-stat {
	min-height: 170px; padding: 20px 22px;
	display: flex; flex-direction: column; justify-content: space-between;
	transition: border-color .3s;
}
.px-stat:hover { border-color: rgba(95, 165, 255, .6); }
.px-stat .px-mono { margin: 0; }
.px-stat__value { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.px-stat__sub {
	display: inline-block; margin: 6px 0 0;
	font-family: var(--px-mono); font-size: 10.5px; letter-spacing: .08em;
	color: var(--px-cyan); text-decoration: none;
}

/* ---------- Services (sticky radar) ---------- */
.px-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.px-svc__item { min-height: 85vh; display: flex; align-items: center; }
.px-svc__inner { max-width: 340px; opacity: .35; transition: opacity .5s var(--px-ease); }
.px-svc__item.is-active .px-svc__inner { opacity: 1; }
.px-svc__title { margin: 0 0 14px; font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--px-text); }
.px-svc__desc { margin: 0 0 18px; font-size: 14px; color: var(--px-text); line-height: 1.5; }
.px-svc__example {
	margin: 0 0 22px; padding: 12px 14px;
	border: 1px solid var(--px-line-strong); border-radius: 10px;
	background: rgba(8, 18, 40, .55);
}
.px-svc__example span { display: block; margin-bottom: 4px; font-family: var(--px-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--px-cyan); }
.px-svc__example p { margin: 0; font-size: 12.5px; color: var(--px-muted); }

.px-svc__stage { position: sticky; top: calc(50vh - min(45vw, 500px) / 2 + 20px); }
.px-svc__panel {
	position: relative; aspect-ratio: 1 / 1; max-height: 500px; width: 100%;
	border-radius: var(--px-radius); overflow: hidden;
	border: 1px solid var(--px-line-strong);
	background: linear-gradient(170deg, #040a18 0%, #071635 45%, #0b2b66 100%);
}
.px-svc__panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.px-svc__label {
	position: absolute; top: 16px; left: 16px; z-index: 2;
	font-family: var(--px-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--px-muted);
}
.px-svc__bars { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 6px; z-index: 2; }
.px-svc__bars i { flex: 1; height: 2px; background: rgba(150, 175, 220, .22); transition: background .4s; }
.px-svc__bars i.is-active { background: var(--px-text); }

/* ---------- Process steps (horizontal) ---------- */
.px-steps { position: relative; }
.px-steps__sticky { overflow: hidden; padding: 4px 0; }
.px-steps__track {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 18px; will-change: transform;
}
.px-step {
	position: relative; flex: 0 0 clamp(290px, 42vw, 470px);
	min-height: 270px; padding: 22px 26px;
	display: flex; flex-direction: column;
	opacity: .55; transition: opacity .5s var(--px-ease), border-color .5s;
}
.px-step.is-active { opacity: 1; border-color: rgba(110, 165, 255, .55); }
.px-step__num { font-family: var(--px-mono); font-size: 11px; color: var(--px-cyan); }
.px-step__body { flex: 1; display: grid; grid-template-columns: 1.5fr 1fr; margin-top: 10px; }
.px-step__text { display: flex; flex-direction: column; justify-content: flex-end; padding-right: 20px; border-right: 1px solid var(--px-line); }
.px-step__title { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--px-text); }
.px-step__desc { margin: 0; font-size: 12.5px; color: var(--px-muted); line-height: 1.55; }
.px-step__art { display: flex; align-items: center; justify-content: center; }
.px-steps__progress { margin-top: 26px; height: 1px; background: rgba(150, 175, 220, .2); position: relative; }
.px-steps__progress i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--px-cyan); transform-origin: left; transform: scaleX(0); }

/* Animated step icons */
.px-ico { position: relative; display: block; width: 90px; height: 50px; border: 1.5px solid rgba(190, 205, 230, .55); border-radius: 9px; }
.px-ico i { position: absolute; display: block; }
.px-ico--dot i:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--px-cyan); left: 50%; top: 50%; margin: -3.5px 0 0 -3.5px; animation: px-pulse 1.8s ease-in-out infinite; }
.px-ico--scan i:first-child { left: -14px; right: -14px; height: 1.5px; background: var(--px-cyan); top: 50%; animation: px-scan 2.4s ease-in-out infinite; box-shadow: 0 0 8px var(--px-cyan); }
.px-ico--grid { border-color: transparent; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.px-ico--grid i { position: static; border: 1.5px solid rgba(190, 205, 230, .55); border-radius: 5px; animation: px-fill 3.2s ease-in-out infinite; }
.px-ico--grid i:nth-child(2) { animation-delay: .4s; }
.px-ico--grid i:nth-child(3) { animation-delay: .8s; }
.px-ico--grid i:nth-child(4) { animation-delay: 1.2s; }
.px-ico--orbit { width: 56px; height: 56px; border-radius: 50%; }
.px-ico--orbit i:first-child { width: 8px; height: 8px; border-radius: 50%; background: var(--px-orange); left: 50%; top: -4px; margin-left: -4px; transform-origin: 4px 32px; animation: px-orbit 3s linear infinite; }
.px-ico--orbit i:nth-child(2) { width: 6px; height: 6px; border-radius: 50%; background: var(--px-cyan); left: 50%; top: 50%; margin: -3px 0 0 -3px; }
.px-step:not(.is-active) .px-ico i { animation-play-state: paused; }
@keyframes px-pulse { 50% { transform: scale(1.8); opacity: .5; } }
@keyframes px-scan { 0%, 100% { transform: translateY(-16px); } 50% { transform: translateY(16px); } }
@keyframes px-fill { 0%, 100% { background: transparent; } 30%, 50% { background: rgba(63, 198, 234, .35); border-color: var(--px-cyan); } }
@keyframes px-orbit { to { transform: rotate(360deg); } }

/* ---------- Contact rows ---------- */
.px-rows { margin: 0; border-top: 1px solid var(--px-line); }
.px-rows__row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--px-line); }
.px-rows__row dt { margin: 0; font-size: 9.5px; }
.px-rows__value { margin: 0; font-size: 16px; color: var(--px-text); }
.px-rows__value a { text-decoration: none; }
.px-rows__value a:hover { color: var(--px-cyan); }

/* ---------- Elementor Pro form (add CSS class "px-form" to the Form widget) ---------- */
.px-form .elementor-field-label { font-size: 12px; font-weight: 600; color: var(--px-text); }
.px-form .elementor-field-label .px-optional { font-weight: 400; color: var(--px-muted); }
.px-form .elementor-field-textual {
	background: rgba(3, 8, 20, .6) !important;
	border: 1px solid var(--px-line-strong) !important;
	border-radius: 8px !important;
	color: var(--px-text) !important;
	font-family: var(--px-font); font-size: 14px;
	min-height: 40px;
	transition: border-color .2s;
}
.px-form .elementor-field-textual:focus { border-color: var(--px-cyan) !important; box-shadow: 0 0 0 3px rgba(63, 198, 234, .15); outline: 0; }
.px-form .elementor-button {
	background: transparent !important; color: var(--px-text) !important;
	border: 1px solid rgba(190, 205, 230, .45) !important; border-radius: 999px !important;
	padding: 11px 20px !important; font-size: 13px; font-weight: 500;
	transition: background .25s, border-color .25s;
}
.px-form .elementor-button:hover { background: rgba(233, 237, 245, .08) !important; border-color: var(--px-text) !important; }
.px-form .elementor-button-text::after { content: " →"; }
.px-form .elementor-message { font-size: 13px; color: var(--px-cyan); }
.px-form .elementor-message.elementor-message-danger { color: #ff8a80; }

/* Gradient card for any Elementor container: add CSS class "px-card" */
.e-con.px-card, .elementor-element.px-card { background: var(--px-card); }

/* ---------- Footer ---------- */
.px-footer { border-top: 1px solid var(--px-line); margin-top: clamp(60px, 8vw, 100px); }
.px-footer__inner { max-width: var(--px-wrap); margin: 0 auto; padding: clamp(50px, 7vw, 80px) var(--px-gutter) 28px; }
.px-footer__city { text-align: center; margin: 0 0 clamp(40px, 6vw, 70px); font-family: var(--px-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.px-footer__grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 40px; align-items: start; }
.px-footer__meta { display: flex; justify-content: space-between; margin-top: 22px; font-family: var(--px-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--px-muted); }
.px-footer__nav .px-menu { flex-direction: column; gap: 12px; }
.px-footer__info p { margin: 0 0 12px; line-height: 1.4; font-size: 12.5px; color: var(--px-muted); }
.px-footer__info a { text-decoration: none; }
.px-footer__info a:hover { color: var(--px-text); }
.px-footer__bottom { margin-top: clamp(50px, 7vw, 90px); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; color: var(--px-muted); }
.px-backtop { text-decoration: none; color: var(--px-text); }

/* ---------- Non-Elementor content ---------- */
.px-prose { max-width: 720px; margin: 0 auto; padding: 60px var(--px-gutter); }
.px-prose__title { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.05; }
.px-prose a { color: var(--px-cyan); }
.px-prose p, .px-prose li { color: var(--px-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.px-svc { grid-template-columns: 1fr; }
	.px-svc__stage { display: none; }
	.px-svc__item { min-height: 0 !important; padding: 34px 0; border-bottom: 1px solid var(--px-line); }
	.px-svc__inner { opacity: 1; max-width: none; }
	.px-footer__grid { grid-template-columns: 1fr 1fr; }
	.px-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.px-stats { grid-template-columns: 1fr; }
	.px-step { min-height: 240px; }
	.px-step__body { grid-template-columns: 1fr; }
	.px-step__text { border-right: 0; padding-right: 0; order: 2; }
	.px-step__art { justify-content: flex-start; padding: 16px 0 24px; }
	.px-rows__row { grid-template-columns: 1fr; gap: 4px; }
	.px-hero__foot { flex-direction: column; align-items: flex-start; }
}

/* Unpinned / mobile steps: native swipe */
.px-steps:not(.is-pinned) .px-steps__sticky { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.px-steps:not(.is-pinned) .px-steps__sticky::-webkit-scrollbar { display: none; }
.px-steps:not(.is-pinned) .px-step { scroll-snap-align: start; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Pinned horizontal scroll (desktop, set by JS) */
html, body { overflow-x: clip; }
.px-steps.is-pinned .px-steps__sticky {
	position: sticky; top: calc(50vh - 170px);
	width: 100vw; margin-left: calc(var(--px-start, 0px) * -1);
	padding-left: var(--px-start, 0px);
}
.admin-bar .px-steps.is-pinned .px-steps__sticky { top: calc(50vh - 154px); }
.px-steps.is-pinned .px-steps__progress { width: var(--px-w, 100%); }

/* Card container + form button sizing */
.e-con.px-card { border: 1px solid var(--px-line-strong); border-radius: var(--px-radius); }
.px-form .elementor-field-type-submit { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
.px-form .elementor-field-type-submit .elementor-button { width: auto !important; }
