/* ==========================================================================
   AVRX marine.css
   Styles for page-marine.php only. Reuses the shared design system defined
   in main.css (variables, header, footer, buttons, .avrx-hero__statement)
   rather than duplicating it.
   ========================================================================== */

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

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

.avrx-marine-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-marine-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-marine-body:last-child {
	margin-bottom: 0;
}

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

/* -------------------------------------------------------------------------
   1. Hero
   ------------------------------------------------------------------------- */
.avrx-marine-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-marine-hero__overlay-h {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.38) 38%,
		rgba(0, 0, 0, 0.08) 68%,
		rgba(0, 0, 0, 0.15) 100%
	);
	z-index: 1;
}

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

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

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

.avrx-marine-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-marine-hero__heading-line {
	display: block;
}

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

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

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

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

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

/* -------------------------------------------------------------------------
   2. Hero benefit strip
   ------------------------------------------------------------------------- */
.avrx-marine-benefits {
	position: relative;
	z-index: 5;
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(24px, 3vw, 40px);
	padding: 0 clamp(24px, 5.5vw, 110px) clamp(40px, 6vh, 64px);
}

.avrx-marine-benefit {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.avrx-marine-benefit__icon {
	display: flex;
	width: 26px;
	height: 26px;
	color: rgba(255, 255, 255, 0.65);
}

.avrx-marine-benefit__icon svg {
	width: 100%;
	height: 100%;
}

.avrx-marine-benefit__title {
	font-size: 10px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.92);
}

.avrx-marine-benefit__copy {
	min-height: calc(1.4em * 2);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.62);
}

/* -------------------------------------------------------------------------
   3. The AVRX Difference
   ------------------------------------------------------------------------- */
.avrx-marine-difference {
	background: var(--avrx-black);
}

.avrx-marine-difference__inner {
	display: flex;
	align-items: flex-start;
	gap: clamp(48px, 6vw, 100px);
}

.avrx-marine-difference__text {
	flex: 0 0 auto;
	width: min(100%, 340px);
}

.avrx-marine-modules {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.4vw, 32px);
}

.avrx-marine-module {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.avrx-marine-module__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	background-size: cover;
	background-position: center;
	background-color: #111;
	margin-bottom: 20px;
}

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

.avrx-marine-module__copy {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.68);
}

/* -------------------------------------------------------------------------
   4. Customer journey (light section)
   ------------------------------------------------------------------------- */
.avrx-marine-journey {
	background: #f2f1ed;
	color: #111;
}

.avrx-marine-journey .avrx-marine-heading {
	color: #111;
}

.avrx-marine-journey .avrx-marine-body {
	color: rgba(0, 0, 0, 0.65);
}

.avrx-marine-journey__intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(32px, 5vw, 72px);
	margin-bottom: clamp(40px, 5vw, 64px);
}

.avrx-marine-journey__intro .avrx-marine-heading {
	flex: 1 1 380px;
	margin: 0;
	max-width: 480px;
}

.avrx-marine-journey__intro-side {
	flex: 1 1 340px;
	max-width: 420px;
}

.avrx-marine-journey__intro-side .avrx-marine-body {
	max-width: none;
}

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

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

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

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

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

.avrx-marine-step__title {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
	margin-bottom: 6px;
}

.avrx-marine-step__lead {
	font-size: 13px;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.75);
	margin-bottom: 8px;
}

.avrx-marine-step__copy {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.58);
	margin-bottom: 20px;
}

.avrx-marine-step__image {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	margin-top: auto;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #f2f1ed;
}

/* -------------------------------------------------------------------------
   5. Built around your world
   ------------------------------------------------------------------------- */
.avrx-marine-world {
	background: var(--avrx-black);
}

.avrx-marine-world__intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: clamp(48px, 6vw, 80px);
}

.avrx-marine-world__text {
	max-width: 620px;
}

.avrx-marine-world__cta {
	flex: 0 0 auto;
}

.avrx-marine-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2vw, 28px);
	padding: 0 clamp(24px, 5.5vw, 110px);
}

.avrx-marine-category {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #111;
}

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

.avrx-marine-category:hover .avrx-marine-category__image {
	transform: scale(1.025);
}

.avrx-marine-category__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.avrx-marine-category__label {
	position: absolute;
	left: 24px;
	bottom: 56px;
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--avrx-white);
}

.avrx-marine-category__copy {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.75);
}

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

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

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

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

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

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

/* -------------------------------------------------------------------------
   7. Final CTA
   ------------------------------------------------------------------------- */
.avrx-marine-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-marine-final-cta__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.avrx-marine-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-marine-final-cta__text {
	max-width: 520px;
}

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

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

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

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

	.avrx-marine-difference__inner {
		flex-direction: column;
	}

	.avrx-marine-difference__text {
		width: 100%;
		max-width: 620px;
	}

	.avrx-marine-journey__intro {
		flex-direction: column;
		align-items: flex-start;
	}

	.avrx-marine-journey__intro .avrx-marine-heading {
		max-width: 620px;
		margin-bottom: 24px;
	}

	.avrx-marine-journey__intro-side {
		max-width: 620px;
	}

	.avrx-marine-journey__steps {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 48px;
	}

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

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

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

	.avrx-marine-hero__row {
		padding: 24px 24px 0;
	}

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

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

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

	.avrx-marine-benefits {
		grid-template-columns: 1fr;
		row-gap: 24px;
		padding: 40px 24px;
	}

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

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

	.avrx-marine-modules {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.avrx-marine-journey__steps {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}

	.avrx-marine-world__intro {
		align-items: flex-start;
	}

	.avrx-marine-categories {
		grid-template-columns: 1fr;
		padding: 0 24px;
	}

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

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

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