/**
 * Nexline Industrial — Porto / Bright Industry inspired layout.
 * Mobile-first, responsive to wide screens.
 */

:root {
	--nex-primary: #e04622;
	--nex-secondary: #eeab26;
	--nex-dark: #2e353e;
	--nex-text: #1d2127;
	--nex-muted: #6b7280;
	--nex-border: #dbdbdb;
	--nex-bg-soft: #eaeff3;
	--nex-white: #ffffff;
	--nex-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--nex-container: min(1140px, 100% - 2rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--nex-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--nex-text);
	background: var(--nex-white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--nex-primary);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.container {
	width: var(--nex-container);
	margin-inline: auto;
	padding-inline: 1rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Header — corporate overlay logo */
.page-wrapper {
	overflow-x: hidden;
}

.header-wrapper {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--nex-white);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header {
	padding-top: 0.75rem;
}

.header-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.header-left {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	flex: 1 1 100%;
}

.overlay-logo img,
.overlay-logo .custom-logo {
	width: 72px;
	max-width: 95px;
	border-radius: 4px;
}

.overlay-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	background: var(--nex-primary);
	color: var(--nex-white);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	border-radius: 4px;
	box-shadow: 0 4px 14px rgba(224, 70, 34, 0.35);
}

.text-logo {
	text-decoration: none;
	color: inherit;
}

.logo-wordmark {
	font-size: 1.35rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nex-text);
}

.logo-wordmark:hover {
	color: var(--nex-primary);
}

.logo-block {
	flex: 1;
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.2;
}

.standard-logo {
	max-width: 180px;
	width: auto;
	height: auto;
}

.site-tagline {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	color: var(--nex-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1 1 100%;
	justify-content: flex-end;
}

.main-nav {
	display: none;
}

.main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.15rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.main-menu a {
	color: var(--nex-text);
	text-decoration: none;
	padding: 0.35rem 0;
}

.main-menu a:hover,
.main-menu .current-menu-item > a {
	color: var(--nex-primary);
}

.main-menu .menu-item:last-child a,
.main-menu .menu-cta a,
.main-menu a.btn-shop {
	background: var(--nex-primary);
	color: var(--nex-white) !important;
	padding: 0.55rem 1rem;
	border-radius: 5px;
	text-decoration: none;
	margin-top: 0.25rem;
	display: inline-block;
}

.main-menu .menu-item:last-child a:hover {
	background: #c93c1c;
	text-decoration: none;
}

.share-links {
	display: none;
	font-size: 0;
}

.share-links a {
	display: inline-block;
	width: 28px;
	height: 28px;
	margin-left: 6px;
	background: var(--nex-dark);
	border-radius: 50%;
	text-indent: -9999px;
	position: relative;
}

.share-links a::after {
	content: "";
	position: absolute;
	inset: 6px;
	background: var(--nex-white);
	opacity: 0.9;
	border-radius: 2px;
}

.mobile-toggle {
	border: 0;
	background: transparent;
	padding: 0.5rem;
	cursor: pointer;
}

.toggle-bar,
.toggle-bar::before,
.toggle-bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--nex-text);
	position: relative;
}

.toggle-bar::before,
.toggle-bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.toggle-bar::before {
	top: -7px;
}

.toggle-bar::after {
	top: 7px;
}

.nav-panel {
	background: var(--nex-white);
	border-top: 1px solid var(--nex-border);
	padding: 0.75rem 0 1rem;
}

.nav-panel[hidden] {
	display: none !important;
}

.mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-menu a {
	display: block;
	padding: 0.65rem 0;
	border-bottom: 1px solid #f0f0f0;
	color: var(--nex-text);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
}

/* Hero slider */
.hero-revslider {
	position: relative;
	background: var(--nex-dark);
	color: var(--nex-white);
	overflow: hidden;
}

.hero-slides {
	position: relative;
	min-height: 320px;
}

.hero-slide {
	display: none;
	position: relative;
}

.hero-slide.is-active {
	display: block;
}

.hero-slide img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	opacity: 0.85;
}

.hero-slide-caption {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.5rem;
	background: linear-gradient(90deg, rgba(8, 8, 8, 0.75) 0%, rgba(8, 8, 8, 0.15) 70%);
}

.hero-kicker {
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	margin: 0 0 0.5rem;
	color: var(--nex-secondary);
}

.hero-slide-caption h2 {
	margin: 0 0 0.5rem;
	font-size: 1.65rem;
	font-weight: 300;
	line-height: 1.2;
	text-transform: uppercase;
}

.hero-sub {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	max-width: 28rem;
}

.hero-cta,
.text-link {
	font-weight: 600;
	color: var(--nex-secondary);
	text-transform: uppercase;
	font-size: 0.85rem;
}

.hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 2;
}

.hero-arrow::after {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.25);
	transform: rotate(-45deg);
	margin: 0 auto;
	transition: background 0.2s;
}

.hero-arrow:hover::after {
	background: rgba(0, 0, 0, 0.55);
}

.hero-prev {
	left: 0.5rem;
}

.hero-next {
	right: 0.5rem;
}

.hero-prev::before,
.hero-next::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-top: 0;
	border-right: 0;
	z-index: 1;
}

.hero-prev::before {
	transform: translate(-40%, -50%) rotate(45deg);
}

.hero-next::before {
	transform: translate(-60%, -50%) rotate(-135deg);
}

/* Sections */
.section-title {
	font-size: 1.75rem;
	font-weight: 300;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	color: var(--nex-text);
}

.section-header.center,
.center {
	text-align: center;
}

.section-lead {
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.section-about {
	padding: 2.5rem 0;
	position: relative;
	overflow: hidden;
	background: var(--nex-bg-soft);
}

.section-custom-construction .container {
	position: relative;
}

.section-custom-construction .container::after {
	content: "";
	background: var(--nex-primary);
	height: 120px;
	width: 120px;
	position: absolute;
	bottom: -80px;
	right: -20px;
	transform: rotate(50deg);
	z-index: 0;
	opacity: 0.35;
}

.about-grid {
	display: grid;
	gap: 1.5rem;
	position: relative;
	z-index: 1;
}

.about-visual img {
	border-radius: 2px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.section-services {
	padding: 2.5rem 0 3rem;
}

.services-grid {
	display: grid;
	gap: 1.5rem;
}

.service-card {
	background: var(--nex-white);
	border: 1px solid #eee;
}

.service-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.service-body {
	padding: 1rem 1.1rem 1.25rem;
}

.service-body h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.service-body h3 a {
	color: var(--nex-text);
}

.service-body p {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
	color: var(--nex-muted);
}

.section-projects {
	padding: 2.5rem 0 3rem;
	background: #f8f9fa;
	position: relative;
	overflow: hidden;
}

.section-custom-construction-2::after {
	content: "";
	background: var(--nex-primary);
	height: 140px;
	width: 140px;
	position: absolute;
	bottom: -90px;
	left: 10px;
	transform: rotate(50deg);
	opacity: 0.2;
}

.projects-stat {
	font-weight: 600;
	color: var(--nex-primary);
}

.projects-rail-wrap {
	margin: 1.5rem 0;
}

.projects-rail {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.project-thumb {
	flex: 0 0 72%;
	max-width: 280px;
	scroll-snap-align: start;
	position: relative;
	color: var(--nex-white);
}

.project-thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 2px;
}

.project-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.5rem 0.65rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
	font-size: 0.85rem;
	font-weight: 600;
}

.projects-footnote {
	max-width: 36rem;
	margin-inline: auto;
	color: var(--nex-muted);
	font-size: 0.95rem;
}

.btn-outline {
	display: inline-block;
	border: 2px solid var(--nex-primary);
	color: var(--nex-primary);
	padding: 0.55rem 1.25rem;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 600;
	border-radius: 2px;
}

.btn-outline:hover {
	background: var(--nex-primary);
	color: var(--nex-white);
	text-decoration: none;
}

.section-blog {
	padding: 2.5rem 0 3.5rem;
}

.blog-grid {
	display: grid;
	gap: 1.5rem;
}

.blog-card {
	border: 1px solid #eee;
}

.blog-thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.blog-body {
	padding: 1rem;
}

.blog-title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.blog-title a {
	color: var(--nex-text);
}

.blog-meta {
	font-size: 0.8rem;
	color: var(--nex-muted);
	margin: 0 0 0.5rem;
}

/* Inner pages */
.page-top {
	padding: 1.75rem 0 1rem;
	background: var(--nex-bg-soft);
	border-bottom: 1px solid var(--nex-border);
}

.page-top .page-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 300;
	text-transform: uppercase;
}

.page-sub-title {
	margin: 0.35rem 0 0;
	color: var(--nex-muted);
	font-size: 0.9rem;
}

.content-area {
	padding: 2rem 0 3rem;
}

.page-content .entry-content {
	max-width: 46rem;
}

.post-card {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--nex-border);
}

/* Footer */
.site-footer {
	position: relative;
	background: var(--nex-dark);
	color: #e5e7eb;
	padding-top: 2rem;
	overflow: hidden;
	min-height: 280px;
}

.site-footer::after {
	content: "";
	background: #000;
	position: absolute;
	bottom: -180px;
	right: -120px;
	width: 320px;
	height: 320px;
	transform: rotate(50deg);
	opacity: 0.35;
	pointer-events: none;
}

.footer-widgets {
	display: grid;
	gap: 1.75rem;
	position: relative;
	z-index: 1;
}

.site-footer .widget-title {
	font-size: 1.35rem;
	font-weight: 200;
	margin: 0 0 1rem;
	color: var(--nex-white);
}

.list-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.list-footer-nav li {
	margin-bottom: 0.65rem;
}

.list-footer-nav a {
	color: #e5e7eb;
	font-size: 0.875rem;
	text-decoration: none;
}

.list-footer-nav a:hover {
	color: var(--nex-secondary);
}

.newsletter-row {
	display: flex;
	max-width: 100%;
}

.newsletter-row input {
	flex: 1;
	padding: 0.75rem;
	border: 1px solid #ccc;
	border-radius: 0;
	font: inherit;
	min-width: 0;
}

.newsletter-row button {
	border: 1px solid #ccc;
	border-left: 0;
	background: rgba(255, 255, 255, 0.08);
	color: var(--nex-white);
	padding: 0 1rem;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 600;
}

.newsletter-feedback {
	font-size: 0.85rem;
	margin-top: 0.5rem;
}

.footer-bottom {
	position: relative;
	z-index: 1;
	margin-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bottom-inner {
	padding: 1rem 0 1.5rem;
}

.footer-link-strip-list {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	align-items: center;
	justify-content: flex-start;
}

.footer-link-strip-list a {
	color: #cbd5e1;
	font-size: 0.8125rem;
	text-decoration: none;
	white-space: nowrap;
}

.footer-link-strip-list a:hover {
	color: var(--nex-secondary);
}

.copyright {
	margin: 0;
	font-size: 0.8rem;
	color: #94a3b8;
}

/* Tablet+ */
@media (min-width: 768px) {
	.hero-slide img {
		height: 420px;
	}

	.hero-slides {
		min-height: 420px;
	}

	.hero-slide-caption h2 {
		font-size: 2.2rem;
	}

	.about-grid {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-thumb {
		flex-basis: 40%;
	}
}

/* Desktop */
@media (min-width: 992px) {
	.site-header {
		padding-top: 1.25rem;
	}

	.header-left {
		flex: 1 1 auto;
		max-width: 55%;
	}

	.header-right {
		flex: 1 1 auto;
		flex-wrap: wrap;
	}

	.main-nav {
		display: block;
		order: 1;
		width: 100%;
	}

	.share-links {
		display: flex;
		order: 2;
		font-size: inherit;
	}

	.mobile-toggle {
		display: none;
	}

	.nav-panel {
		display: none !important;
	}

	.hero-slide img {
		height: 520px;
	}

	.hero-slides {
		min-height: 520px;
	}

	.services-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.footer-widgets {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-link-strip-list {
		justify-content: center;
	}

	.content-area.with-sidebar {
		display: grid;
		grid-template-columns: 1fr 280px;
		gap: 2rem;
	}
}

@media (min-width: 1170px) {
	.hero-slide-caption {
		padding-left: 8%;
	}

	.hero-slide-caption h2 {
		font-size: 2.6rem;
	}
}
