/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  MECO Group child theme
Author:       The Marketing Squad
Template:     generatepress
Version:      1.0.0
*/

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Base ---------- */
body {
	font-family: 'Figtree', sans-serif;
	color: #1e1e1e;
}

.meco-container {
	max-width: 1272px;
	margin: 0 auto;
	padding: 0 24px;
}

.meco-btn {
	display: inline-block;
	font-family: 'Figtree', sans-serif;
	font-weight: 700;
	font-size: 20px;
	text-decoration: none;
	padding: 14px 32px;
	background-color: #1f3f7a;
	color: #fff;
	text-align: center;
	white-space: nowrap;
}

.meco-btn--white {
	background-color: #fff;
	color: #1f3f7a;
}

/* ---------- Header ---------- */
.meco-topbar {
	background-color: #1e1e1e;
	height: 20px;
}

.meco-header {
	background-color: #fff;
	padding: 28px 0;
}

.meco-header__inner {
	display: flex;
	justify-content: center;
}

.meco-logo {
	display: block;
}

.meco-logo img {
	width: 155px;
	height: auto;
}

/* ---------- Hero ---------- */
.meco-hero {
	position: relative;
	overflow: hidden;
	background-color: #1e1e1e;
	padding: 90px 24px 100px;
	text-align: center;
}

.meco-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('https://meco-group.local/wp-content/uploads/2026/06/mecocraneinverted-1.png');
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
	opacity: 0.15;
}

.meco-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
}

.meco-hero h1 {
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: clamp(40px, 7vw, 96px);
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 28px;
}

.meco-hero p {
	font-family: 'Figtree', sans-serif;
	font-size: 24px;
	line-height: 41px;
	color: #fff;
}

/* ---------- Jobs / opportunities ---------- */
.meco-jobs {
	background-color: #fff;
	padding: 90px 24px;
}

.meco-jobs h2 {
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 5vw, 64px);
	color: #4d85f7;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 56px;
}

.meco-jobs-table-wrap {
	overflow-x: auto;
}

.meco-jobs-table {
	max-width: 1272px;
	margin: 0 auto;
	min-width: 640px;
}

.meco-jobs-row {
	display: grid;
	grid-template-columns: 2fr 1.3fr 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 22px 0;
	border-bottom: 1px solid #d9d9d9;
}

.meco-jobs-row--head {
	padding-bottom: 20px;
}

.meco-jobs-row--head span {
	font-family: 'Figtree', sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #1e1e1e;
}

.meco-jobs-row span {
	font-family: 'Figtree', sans-serif;
	font-size: 24px;
	color: #1e1e1e;
}

.meco-jobs-row .meco-btn {
	justify-self: end;
	font-size: 18px;
	padding: 10px 22px;
}

/* ---------- Jobs CTA (blue band) ---------- */
.meco-jobs-cta {
	background-color: #1f3f7a;
	padding: 64px 24px;
	text-align: center;
}

.meco-jobs-cta p {
	color: #fff;
	font-size: 24px;
	line-height: 41px;
}

.meco-jobs-cta__role {
	font-weight: 800;
	max-width: 931px;
	margin: 24px auto 40px;
}

/* ---------- Why work at MECO ---------- */
.meco-why {
	background-color: #fff;
	padding: 100px 24px;
}

.meco-why__inner {
	position: relative;
	max-width: 1272px;
	margin: 0 auto;
	background-color: #1f3f7a;
	padding-left: 715px;
}

.meco-why__image {
	position: absolute;
	left: 0;
	top: -90px;
	bottom: 0;
	width: 675px;
	max-width: 53%;
}

.meco-why__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right;
	display: block;
}

.meco-why__content {
	padding: 56px 56px 56px 0;
}

.meco-why__content h2 {
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 5vw, 64px);
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 28px;
}

.meco-why__content p {
	color: #fff;
	font-size: 24px;
	line-height: 41px;
	margin-bottom: 24px;
}

.meco-why__content p:last-child {
	margin-bottom: 0;
}

.meco-why__content strong {
	font-weight: 800;
}

/* ---------- Don't see your role (bottom CTA) ---------- */
.meco-cta {
	position: relative;
	overflow: hidden;
	background-color: #1e1e1e;
	padding: 100px 24px;
	text-align: center;
}

.meco-cta__truss {
	position: absolute;
	left: -40px;
	bottom: -20px;
	width: 420px;
	max-width: 40%;
	transform: scaleX(-1);
	opacity: 0.85;
	pointer-events: none;
}

.meco-cta__crane {
	position: absolute;
	right: -60px;
	bottom: 0;
	width: 620px;
	max-width: 55%;
	opacity: 0.25;
	pointer-events: none;
}

.meco-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
}

.meco-cta h2 {
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 5vw, 64px);
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 28px;
}

.meco-cta p {
	color: #fff;
	font-size: 24px;
	line-height: 41px;
	margin-bottom: 40px;
}

/* ---------- Footer ---------- */
.meco-footer {
	background-color: #fff;
	padding: 80px 24px 40px;
	text-align: center;
}

.meco-footer .meco-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.meco-footer__logo {
	width: 300px;
	max-width: 80%;
	margin-bottom: 32px;
}

.meco-footer p {
	font-family: 'Figtree', sans-serif;
	font-size: 20px;
	color: #1e1e1e;
}

.meco-footer a {
	color: #1e1e1e;
	text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.meco-why__inner {
		padding-left: 0;
	}

	.meco-why__image {
		position: static;
		width: 100%;
		max-width: none;
		height: 320px;
	}

	.meco-why__content {
		padding: 32px 24px;
	}

	.meco-jobs-row {
		grid-template-columns: 1.6fr 1.2fr 1fr auto;
		gap: 16px;
	}

	.meco-jobs-row span,
	.meco-jobs-row--head span {
		font-size: 18px;
	}
}
