/* NEXA About Us page — matches the site's industrial design: Sora type,
   paper/ink palette, terracotta accent, hairline borders. Content column is
   capped at the same 1440px container the homepage uses, full-bleed paper. */

.nexa-about {
	--nx-ink: #0d1315;
	--nx-paper: #f0f3f1;
	--nx-panel: #dfe6e4;
	--nx-muted: #5d6869;
	--nx-accent: #a8613e;
	--nx-line: rgba(13, 19, 21, 0.16);
	box-sizing: border-box;
	width: 100%;
	padding-inline: 32px;
	background: var(--nx-paper);
	color: var(--nx-ink);
}

.nexa-about,
.nexa-about * {
	box-sizing: border-box;
}

.nexa-about > * {
	max-width: 1440px;
	margin-inline: auto;
}

/* ---- Shared page shell ---- */
.nexa-about__inner {
	padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 120px);
}

.nexa-section-index {
	margin: 0 0 18px;
	color: var(--nx-muted);
	font: 700 11px/1.2 "Sora", sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nexa-about h1,
.nexa-about h2,
.nexa-about h3 {
	margin: 0;
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.nexa-about__title {
	margin: 0 0 18px;
	font-size: clamp(32px, 5vw, 52px);
}

.nexa-about__lede {
	max-width: 620px;
	margin: 0;
	color: var(--nx-muted);
	font-size: clamp(16px, 2vw, 19px);
	font-weight: 300;
	line-height: 1.6;
}

/* ---- Section head (used inside each module) ---- */
.nexa-about__section-head {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.nexa-about__section-title {
	font-size: clamp(26px, 3.6vw, 38px);
}

.nexa-about__section-text {
	max-width: 640px;
	margin: 12px 0 0;
	color: var(--nx-muted);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
}

/* ---- Modules spacing ---- */
.nexa-about__module {
	padding-top: clamp(52px, 7vw, 84px);
}

/* ---- Company Overview + What We Do (text / feature columns) ---- */
.nexa-about__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(20px, 2.5vw, 28px);
	margin-top: clamp(28px, 4vw, 44px);
}

.nexa-about__col {
	margin-block: 0;
	padding: 26px 26px 28px;
	border: 1px solid var(--nx-line);
	border-radius: 10px;
	background: #ffffff;
}

.nexa-about__col h3 {
	margin: 0 0 10px;
	font-size: 19px;
}

.nexa-about__col p {
	margin: 0;
	color: var(--nx-muted);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
}

/* ---- Applications reuse cards ---- */
.nexa-about__apps-link {
	margin: 28px 0 0;
}

.nexa-about__apps-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--nx-accent);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.nexa-about__apps-link a:hover {
	text-decoration: underline;
}

.nexa-about__apps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(20px, 2.5vw, 28px);
	margin-top: clamp(28px, 4vw, 44px);
}

.nexa-about__app {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	margin-block: 0;
	border: 1px solid var(--nx-line);
	border-radius: 10px;
	background: #ffffff;
	overflow: hidden;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nexa-about__app:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(13, 19, 21, 0.12);
	border-color: rgba(13, 19, 21, 0.28);
}

.nexa-about__app .wp-block-image {
	margin: 0;
}

.nexa-about__app img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--nx-panel);
	margin: 0;
}

.nexa-about__app-title {
	padding: 18px 22px 0;
	color: var(--nx-ink);
	font-size: 18px;
	font-weight: 500;
}

.nexa-about__app-title a {
	color: var(--nx-ink);
	text-decoration: none;
	transition: color 180ms ease;
}

.nexa-about__app-title a:hover {
	text-decoration: underline;
}

.nexa-about__app-text {
	margin: 0;
	padding: 8px 22px 22px;
	color: var(--nx-muted);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.55;
}

/* ---- CTA ---- */
.nexa-about__cta {
	margin-top: clamp(40px, 5vw, 60px);
	padding: clamp(36px, 5vw, 56px);
	border: 1px solid var(--nx-line);
	border-radius: 12px;
	background: #ffffff;
	text-align: center;
}

.nexa-about__cta-title {
	font-size: clamp(24px, 3.4vw, 34px);
}

.nexa-about__cta-text {
	max-width: 560px;
	margin: 14px auto 0;
	color: var(--nx-muted);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
}

.nexa-about__cta .wp-block-buttons {
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 26px;
}

.nexa-about__cta-btn .wp-block-button__link {
	padding: 16px 36px;
	border-radius: 6px;
	background: var(--nx-accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 180ms ease;
}

.nexa-about__cta-btn .wp-block-button__link:hover {
	background: #8d5230;
}

.nexa-about__cta-link .wp-block-button__link {
	padding: 15px 34px;
	border-radius: 6px;
	border: 1px solid var(--nx-ink);
	background: transparent;
	color: var(--nx-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.nexa-about__cta-link .wp-block-button__link:hover {
	background: var(--nx-ink);
	color: #ffffff;
}

@media (max-width: 820px) {
	.nexa-about {
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexa-about__app {
		transition: none;
	}
	.nexa-about__app:hover {
		transform: none;
		box-shadow: none;
	}
	.nexa-about__cta .wp-block-button__link {
		transition: none;
	}
}
