/* ==========================================================================
   AVRX technology.css
   Styles for page-technology.php only. Mirrors the structural pattern of
   marine.css / industrial.css / projects.css (same container widths,
   typography scale, spacing, grid proportions and transitions) so
   Technology reads as a sibling of the other three inner pages, while
   keeping each inner page's CSS independently scoped. Reuses the shared
   design system in main.css directly (variables, header, footer, buttons,
   .avrx-hero__statement).
   ========================================================================== */

/* -------------------------------------------------------------------------
   0. Shared technology utilities
   ------------------------------------------------------------------------- */
.avrx-technology-container {
	width: min(90%, 1500px);
	margin-inline: auto;
}

.avrx-technology-section {
	padding-block: clamp(80px, 8vw, 150px);
}

.avrx-technology-heading {
	margin: 0 0 24px;
	font-weight: 300;
	font-size: clamp(38px, 4vw, 66px);
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--avrx-white);
}

.avrx-technology-body {
	margin: 0 0 18px;
	max-width: 480px;
	font-size: clamp(15px, 1.05vw, 18px);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}

.avrx-technology-body:last-child {
	margin-bottom: 0;
}

.avrx-technology-label {
	font-size: 10px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

.avrx-technology-note {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	max-width: 480px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.5);
}

.avrx-technology-journey .avrx-technology-note,
.avrx-technology-ai .avrx-technology-note {
	border-top-color: rgba(0, 0, 0, 0.14);
	color: rgba(0, 0, 0, 0.5);
}

/* -------------------------------------------------------------------------
   1. Hero
   ------------------------------------------------------------------------- */
.avrx-technology-hero {
	position: relative;
	min-height: 88svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--avrx-black);
	overflow: hidden;
	padding-top: clamp(88px, 7vw, 104px);
}

.avrx-technology-hero__overlay-h {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.8) 0%,
		rgba(0, 0, 0, 0.48) 38%,
		rgba(0, 0, 0, 0.12) 70%,
		rgba(0, 0, 0, 0.18) 100%
	);
	z-index: 1;
}

.avrx-technology-hero__overlay-v {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, transparent 42%);
	z-index: 2;
}

.avrx-technology-hero__row {
	position: relative;
	z-index: 5;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(72px, 10vh, 120px) clamp(24px, 5.5vw, 110px);
}

.avrx-technology-hero__content {
	max-width: 700px;
}

.avrx-technology-hero__heading {
	margin: 0;
	font-weight: 300;
	font-size: clamp(46px, 4.4vw, 72px);
	line-height: 0.92;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #aab0b6;
}

.avrx-technology-hero__heading-line {
	display: block;
}

.avrx-technology-hero__heading-accent {
	color: #f1f1ef;
}

.avrx-technology-hero__sub {
	margin-top: clamp(22px, 2.8vw, 32px);
	max-width: 480px;
}

.avrx-technology-hero__sub p {
	margin: 0 0 10px;
	font-size: clamp(15px, 1.05vw, 18px);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.avrx-technology-hero__sub p:last-child {
	margin-bottom: 0;
}

.avrx-technology-hero__ctas {
	margin-top: clamp(32px, 4vw, 44px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.avrx-technology-hero__statement {
	margin-top: 6px;
}

/* -------------------------------------------------------------------------
   2. Three technology pillars (large editorial modules, not SaaS cards)
   ------------------------------------------------------------------------- */
.avrx-technology-pillars {
	background: var(--avrx-black);
}

.avrx-technology-pillar {
	display: flex;
	align-items: center;
	gap: clamp(48px, 6vw, 100px);
}

.avrx-technology-pillar + .avrx-technology-pillar {
	margin-top: clamp(80px, 9vw, 140px);
}

.avrx-technology-pillar--reverse {
	flex-direction: row-reverse;
}

.avrx-technology-pillar__media {
	flex: 0 0 auto;
	width: min(100%, 560px);
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-color: #111;
}

.avrx-technology-pillar__text {
	flex: 1 1 380px;
	max-width: 560px;
}

.avrx-technology-pillar__lead {
	margin: 0 0 22px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.82);
}

.avrx-technology-pillar__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.avrx-technology-pillar__tag {
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.68);
}

/* -------------------------------------------------------------------------
   3. The AVRX System (dark, branded five-stage process)
   ------------------------------------------------------------------------- */
.avrx-technology-system {
	background: var(--avrx-black);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avrx-technology-system__intro {
	max-width: 640px;
	margin-bottom: clamp(48px, 6vw, 80px);
}

.avrx-technology-system__intro .avrx-technology-body {
	max-width: 560px;
}

.avrx-technology-system__steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: clamp(20px, 1.8vw, 28px);
}

.avrx-technology-system-step {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.avrx-technology-system-step__number-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.avrx-technology-system-step__number {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	color: rgba(255, 255, 255, 0.4);
}

.avrx-technology-system-step__rule {
	display: block;
	width: 28px;
	height: 1px;
	background: rgba(255, 255, 255, 0.3);
}

.avrx-technology-system-step__title {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--avrx-white);
	margin-bottom: 8px;
}

.avrx-technology-system-step__copy {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.58);
}

/* -------------------------------------------------------------------------
   4. Image-led feature section (reused for large-scale additive and
   craftsmanship sections; a --warm modifier shifts the overlay tone).
   ------------------------------------------------------------------------- */
.avrx-technology-feature {
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: #0b0b0b;
	padding-block: clamp(90px, 10vw, 160px);
	overflow: hidden;
}

.avrx-technology-feature__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.2) 100%);
}

.avrx-technology-feature--warm .avrx-technology-feature__overlay {
	background: linear-gradient(90deg, rgba(18, 12, 8, 0.84) 0%, rgba(18, 12, 8, 0.46) 52%, rgba(18, 12, 8, 0.22) 100%);
}

.avrx-technology-feature__inner {
	position: relative;
	z-index: 2;
}

.avrx-technology-feature__text {
	max-width: 560px;
}

.avrx-technology-feature__list {
	margin: 22px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.avrx-technology-feature__list li {
	position: relative;
	padding-left: 20px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.avrx-technology-feature__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 8px;
	height: 1px;
	background: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------------------
   5. AI & Engineering (contrasting light section)
   ------------------------------------------------------------------------- */
.avrx-technology-ai {
	background: #f2f1ed;
	color: #111;
}

.avrx-technology-ai .avrx-technology-heading {
	color: #111;
}

.avrx-technology-ai .avrx-technology-body {
	color: rgba(0, 0, 0, 0.65);
}

.avrx-technology-ai__intro {
	max-width: 640px;
	margin-bottom: clamp(48px, 6vw, 80px);
}

.avrx-technology-ai__modules {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 48px);
}

.avrx-technology-ai-module {
	padding-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.avrx-technology-ai-module__number {
	display: block;
	margin-bottom: 14px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	color: rgba(0, 0, 0, 0.4);
}

.avrx-technology-ai-module__title {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
}

.avrx-technology-ai-module__copy {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------------------
   6. Craftsmanship section: reuses .avrx-technology-feature--warm above.
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   7. One technology, three worlds
   ------------------------------------------------------------------------- */
.avrx-technology-worlds {
	background: var(--avrx-black);
}

.avrx-technology-worlds__intro {
	max-width: 640px;
	margin-bottom: clamp(48px, 6vw, 80px);
}

.avrx-technology-worlds__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 2.4vw, 40px);
}

.avrx-technology-world {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.avrx-technology-world__image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #111;
	margin-bottom: 24px;
}

.avrx-technology-world__image span {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1);
	transition: transform 800ms var(--avrx-ease);
}

.avrx-technology-world:hover .avrx-technology-world__image span {
	transform: scale(1.025);
}

.avrx-technology-world__title {
	font-size: 10px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--avrx-white);
	margin-bottom: 12px;
}

.avrx-technology-world__copy {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
	margin-bottom: 20px;
}

.avrx-technology-world__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--avrx-white);
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	transition: border-color 300ms var(--avrx-ease);
}

.avrx-technology-world__link-arrow {
	transition: transform 300ms var(--avrx-ease);
}

.avrx-technology-world:hover .avrx-technology-world__link {
	border-color: rgba(255, 255, 255, 0.9);
}

.avrx-technology-world:hover .avrx-technology-world__link-arrow {
	transform: translateX(6px);
}

/* -------------------------------------------------------------------------
   8. Brand statement
   ------------------------------------------------------------------------- */
.avrx-technology-brand {
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: #0b0b0b;
	padding-block: clamp(90px, 10vw, 160px);
	overflow: hidden;
}

.avrx-technology-brand__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.62);
}

.avrx-technology-brand__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
}

.avrx-technology-brand__text {
	max-width: 640px;
}

.avrx-technology-brand__text .avrx-technology-heading {
	margin-bottom: 28px;
}

.avrx-technology-brand__statement {
	flex: 0 0 auto;
	margin-top: 8px;
}

/* -------------------------------------------------------------------------
   9. Final CTA
   ------------------------------------------------------------------------- */
.avrx-technology-final-cta {
	position: relative;
	min-height: clamp(300px, 32vw, 420px);
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: #0b0b0b;
	overflow: hidden;
}

.avrx-technology-final-cta__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.avrx-technology-final-cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 32px;
	padding-block: 56px;
}

.avrx-technology-final-cta__text {
	max-width: 520px;
}

.avrx-technology-final-cta__text .avrx-technology-heading {
	margin-bottom: 18px;
}

.avrx-technology-final-cta__ctas {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* -------------------------------------------------------------------------
   10. Responsive: Tablet (768px-1199px)
   ------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.avrx-technology-hero__statement {
		display: none;
	}

	.avrx-technology-pillar,
	.avrx-technology-pillar--reverse {
		flex-direction: column;
		align-items: flex-start;
	}

	.avrx-technology-pillar__media {
		width: 100%;
	}

	.avrx-technology-pillar__text {
		max-width: 620px;
	}

	.avrx-technology-system__steps {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 40px;
	}

	.avrx-technology-ai__modules {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 32px;
	}

	.avrx-technology-worlds__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 980px) {
	.avrx-technology-hero__row {
		align-items: flex-end;
		padding-bottom: 24px;
	}
}

/* -------------------------------------------------------------------------
   11. Responsive: Mobile (< 768px)
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.avrx-technology-hero {
		min-height: 85svh;
	}

	.avrx-technology-hero__row {
		padding: 24px 24px 32px;
	}

	.avrx-technology-hero__heading {
		font-size: clamp(40px, 12vw, 52px);
	}

	.avrx-technology-hero__ctas {
		flex-direction: column;
		align-items: stretch;
	}

	.avrx-technology-hero__ctas .avrx-btn {
		width: 100%;
	}

	.avrx-technology-section {
		padding-block: clamp(56px, 14vw, 90px);
	}

	.avrx-technology-container {
		width: min(100%, 1500px);
		padding-inline: 24px;
	}

	.avrx-technology-pillar + .avrx-technology-pillar {
		margin-top: 56px;
	}

	.avrx-technology-system__steps {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}

	.avrx-technology-ai__modules {
		grid-template-columns: 1fr;
		row-gap: 28px;
	}

	.avrx-technology-worlds__grid {
		grid-template-columns: 1fr;
	}

	.avrx-technology-brand__inner,
	.avrx-technology-final-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.avrx-technology-final-cta__ctas {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.avrx-technology-final-cta__ctas .avrx-btn {
		width: 100%;
	}
}
