/*
Theme Name: NEXA
Description: Custom theme for NEXA Trading CC, Windhoek.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: nexa
*/

/* ---------- Fonts (hosted on our own server) ---------- */
@font-face {
	font-family: "Barlow Condensed";
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow Condensed";
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
	font-family: "Public Sans";
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/public-sans-400-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
	--ink: #0a1a3f;
	--blue: #03399c;
	--orange: #ff5500;
	--orange-deep: #c94300;
	--asphalt: #14161a;
	--concrete: #f3f1ec;
	--line: #d8d4ca;
	--text: #1b2233;
	--muted: #565e70;
	--white: #fff;

	--font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(56px, 8vw, 104px);
	--gap: clamp(20px, 2.5vw, 32px);
	--wrap: 1200px;
	--radius: 2px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-x: hidden;
}

img,
svg,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

a {
	color: var(--blue);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--orange-deep);
}

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--ink);
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0.005em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.6rem, 7vw, 4.6rem);
	text-transform: uppercase;
}

h2 {
	font-size: clamp(2rem, 4.4vw, 3rem);
	text-transform: uppercase;
}

h3 {
	font-size: clamp(1.45rem, 2.4vw, 1.75rem);
	font-weight: 600;
	line-height: 1.12;
}

h4 {
	font-size: 1.25rem;
	font-weight: 600;
}

p,
ul,
ol {
	margin: 0 0 1.1em;
}

ul,
ol {
	padding-left: 1.2em;
}

li {
	margin-bottom: 0.4em;
}

.nx-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 18px;
	background: var(--orange);
	color: var(--ink);
	font-weight: 700;
}

.nx-skip:focus {
	left: 0;
}

.nx-icon {
	flex: none;
}

/* ---------- Layout ---------- */
.nx-wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.nx-wrap.is-narrow {
	max-width: calc(780px + var(--gutter) * 2);
}

.nx-section {
	padding-block: var(--section);
}

.nx-section.is-tight {
	padding-block: calc(var(--section) * 0.6);
}

.nx-section.is-concrete {
	background: var(--concrete);
}

.nx-section.is-dark {
	background: var(--ink);
	color: #dfe5f3;
}

.nx-section.is-asphalt {
	background: var(--asphalt);
	color: #d9dbe0;
}

.nx-section.is-dark :is(h1, h2, h3, h4),
.nx-section.is-asphalt :is(h1, h2, h3, h4) {
	color: var(--white);
}

.nx-section.is-dark a:not(.wp-block-button__link, .nx-btn),
.nx-section.is-asphalt a:not(.wp-block-button__link, .nx-btn) {
	color: var(--white);
}

/* Blocks added straight into a page (outside a section) still line up with the grid. */
.nx-content > :not(.nx-section, .nx-hero) {
	max-width: 780px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.nx-content > :not(.nx-section, .nx-hero):first-child {
	margin-top: var(--section);
}

.nx-content > :not(.nx-section, .nx-hero):last-child {
	margin-bottom: var(--section);
}

.nx-grid {
	display: grid;
	gap: var(--gap);
	grid-template-columns: 1fr;
}

.nx-split {
	display: grid;
	gap: var(--gap) clamp(32px, 6vw, 88px);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.nx-grid.cols-2,
	.nx-grid.cols-3,
	.nx-grid.cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.nx-grid.cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.nx-grid.cols-4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.nx-split {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
	}

	.nx-split.is-even {
		grid-template-columns: 1fr 1fr;
	}
}

.nx-section-head {
	max-width: 760px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

/* ---------- Small type styles ---------- */
.nx-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	color: var(--blue);
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Short road-marking dash before each eyebrow label. */
.nx-eyebrow::before {
	content: "";
	flex: none;
	width: 28px;
	height: 4px;
	background: var(--orange);
}

.is-dark .nx-eyebrow,
.is-asphalt .nx-eyebrow,
.nx-hero .nx-eyebrow,
.nx-pagehead .nx-eyebrow {
	color: #b9c6e6;
}

.nx-lede {
	max-width: 62ch;
	font-size: clamp(1.12rem, 1.6vw, 1.3rem);
	line-height: 1.55;
}

.nx-more {
	margin: 0;
	font-weight: 700;
}

.nx-more a {
	text-decoration: none;
}

.nx-more a::after {
	content: "  \2192";
	white-space: pre;
}

/* ---------- Buttons ---------- */
.nx-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 28px;
	border: 2px solid var(--orange);
	border-radius: var(--radius);
	background: var(--orange);
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.nx-btn:hover,
.wp-block-button__link:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.is-dark .wp-block-button__link:hover,
.is-asphalt .wp-block-button__link:hover,
.nx-hero .wp-block-button__link:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--ink);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: currentColor;
	background: transparent;
	color: var(--ink);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.is-dark .wp-block-button.is-style-outline .wp-block-button__link,
.is-asphalt .wp-block-button.is-style-outline .wp-block-button__link,
.nx-hero .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--white);
}

.is-dark .wp-block-button.is-style-outline .wp-block-button__link:hover,
.is-asphalt .wp-block-button.is-style-outline .wp-block-button__link:hover,
.nx-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--ink);
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 28px 0 0;
}

/* ---------- Top bar and header ---------- */
.nx-topbar {
	background: var(--ink);
	color: #cfd8ee;
	font-size: 0.875rem;
}

.nx-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 28px;
	min-height: 40px;
}

.nx-topbar-item {
	display: none;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.nx-topbar-item.is-phone {
	display: inline-flex;
	color: var(--white);
	font-weight: 700;
}

.nx-topbar-item .nx-icon {
	width: 16px;
	height: 16px;
}

a.nx-topbar-item:hover {
	color: var(--orange);
}

.nx-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.nx-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
}

.nx-logo img {
	width: auto;
	height: 52px;
}

.nx-burger {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 14px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: none;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.nx-burger-bars,
.nx-burger-bars::before,
.nx-burger-bars::after {
	display: block;
	width: 22px;
	height: 3px;
	background: currentColor;
	transition: transform 0.2s;
}

.nx-burger-bars {
	position: relative;
}

.nx-burger-bars::before,
.nx-burger-bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nx-burger-bars::before {
	top: -7px;
}

.nx-burger-bars::after {
	top: 7px;
}

.nx-burger[aria-expanded="true"] .nx-burger-bars {
	background: transparent;
}

.nx-burger[aria-expanded="true"] .nx-burger-bars::before {
	transform: translateY(7px) rotate(45deg);
}

.nx-burger[aria-expanded="true"] .nx-burger-bars::after {
	transform: translateY(-7px) rotate(-45deg);
}

.nx-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - 116px);
	overflow-y: auto;
	padding: 8px var(--gutter) 28px;
	border-bottom: 4px solid var(--orange);
	background: var(--white);
	box-shadow: 0 18px 30px rgba(10, 26, 63, 0.12);
}

.nx-nav.is-open {
	display: block;
}

.nx-menu,
.nx-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-menu li {
	margin: 0;
}

.nx-menu a {
	display: flex;
	align-items: center;
	min-height: 52px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.nx-menu .sub-menu a {
	min-height: 46px;
	padding-left: 18px;
	color: var(--muted);
	font-size: 1.12rem;
}

.nx-menu a:hover,
.nx-menu .current-menu-item > a,
.nx-menu .current-menu-ancestor > a {
	color: var(--blue);
}

.nx-nav-cta {
	width: 100%;
	margin-top: 22px;
}

@media (min-width: 700px) {
	.nx-topbar-inner {
		justify-content: flex-end;
	}

	.nx-topbar-item {
		display: inline-flex;
	}

	.nx-topbar-item:first-child {
		margin-right: auto;
	}
}

@media (min-width: 1000px) {
	.nx-header-inner {
		min-height: 92px;
	}

	.nx-logo img {
		height: 62px;
	}

	.nx-burger {
		display: none;
	}

	.nx-nav {
		display: flex;
		position: static;
		align-items: center;
		gap: 28px;
		max-height: none;
		overflow: visible;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.nx-menu {
		display: flex;
		gap: 26px;
	}

	.nx-menu > li {
		position: relative;
	}

	.nx-menu a {
		min-height: 92px;
		border-bottom: 0;
		font-size: 1.15rem;
	}

	.nx-menu > li > a {
		box-shadow: inset 0 -4px 0 transparent;
	}

	.nx-menu > li > a:hover,
	.nx-menu > .current-menu-item > a,
	.nx-menu > .current-menu-ancestor > a {
		box-shadow: inset 0 -4px 0 var(--orange);
		color: var(--ink);
	}

	.nx-menu .menu-item-has-children > a::after {
		content: "";
		width: 7px;
		height: 7px;
		margin: -4px 0 0 9px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
	}

	.nx-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: -20px;
		min-width: 290px;
		padding: 8px 0;
		border-top: 4px solid var(--orange);
		background: var(--white);
		box-shadow: 0 18px 30px rgba(10, 26, 63, 0.14);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.12s, visibility 0.12s;
	}

	.nx-menu li:hover > .sub-menu,
	.nx-menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
	}

	.nx-menu .sub-menu a {
		min-height: 46px;
		padding: 0 20px;
		color: var(--ink);
		font-size: 1.1rem;
	}

	.nx-menu .sub-menu a:hover {
		background: var(--concrete);
		color: var(--blue);
	}

	.nx-nav-cta {
		width: auto;
		min-height: 48px;
		margin: 0;
		padding-inline: 22px;
		font-size: 1.1rem;
	}
}

/* ---------- Home hero ---------- */
.nx-hero {
	position: relative;
	padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
	background: var(--ink);
	color: #dfe5f3;
}

/* The road from the logo: a strip of tar with a broken centre line. */
.nx-hero::after,
.nx-pagehead::after,
.nx-cta::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 18px;
	background:
		repeating-linear-gradient(90deg, var(--white) 0 34px, transparent 34px 68px) center / 100% 3px no-repeat,
		var(--asphalt);
}

.nx-hero h1 {
	margin-bottom: 0.35em;
	color: var(--white);
}

.nx-hero h1 em {
	color: var(--orange);
	font-style: normal;
}

.nx-hero-inner {
	display: grid;
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}

@media (min-width: 1000px) {
	.nx-hero-inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

/* Service board: reads like a rank or depot notice board. */
.nx-board {
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-top: 6px solid var(--orange);
	background: rgba(255, 255, 255, 0.04);
}

.nx-board > p {
	margin: 0;
	padding: 16px 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	color: #b9c6e6;
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nx-board ul {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: board;
}

.nx-board li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	counter-increment: board;
}

.nx-board li:last-child {
	border-bottom: 0;
}

.nx-board li a {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 15px 22px;
	color: var(--white);
	font-family: var(--font-head);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-decoration: none;
}

.nx-board li a::before {
	content: counter(board, decimal-leading-zero);
	color: var(--orange);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.nx-board li a:hover {
	background: var(--white);
	color: var(--ink);
}

/* ---------- Inner page header ---------- */
.nx-pagehead {
	position: relative;
	padding-block: clamp(28px, 4vw, 44px) clamp(52px, 6vw, 80px);
	background: var(--ink);
	color: #dfe5f3;
}

.nx-pagehead h1 {
	margin-bottom: 0.25em;
	color: var(--white);
	font-size: clamp(2.4rem, 6vw, 4rem);
}

.nx-pagehead .nx-lede {
	margin-bottom: 0;
}

.nx-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0 0 clamp(20px, 3vw, 36px);
	padding: 0;
	list-style: none;
	color: #b9c6e6;
	font-size: 0.9rem;
}

.nx-crumbs li {
	margin: 0;
}

.nx-crumbs li + li::before {
	content: "/";
	margin-right: 10px;
	color: var(--orange);
}

.nx-crumbs a {
	color: var(--white);
}

/* ---------- Cards ---------- */
.nx-card {
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 2.6vw, 32px);
	border: 1px solid var(--line);
	border-top: 4px solid var(--ink);
	background: var(--white);
}

.nx-card > :last-child {
	margin-bottom: 0;
}

.nx-card .nx-more {
	margin-top: auto;
	padding-top: 10px;
}

.nx-card-num {
	margin-bottom: 14px;
	color: var(--orange-deep);
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1;
}

.is-dark .nx-card,
.is-asphalt .nx-card {
	border-color: rgba(255, 255, 255, 0.2);
	border-top-color: var(--orange);
	background: transparent;
}

.is-dark .nx-card-num,
.is-asphalt .nx-card-num {
	color: var(--orange);
}

/* Plain point: a heading and a line or two under a rule. Used for reasons and values. */
.nx-point {
	padding-top: 18px;
	border-top: 3px solid var(--ink);
}

.nx-point > :last-child {
	margin-bottom: 0;
}

.is-dark .nx-point,
.is-asphalt .nx-point {
	border-top-color: var(--orange);
}

/* ---------- Lists ---------- */
.nx-checks {
	padding: 0;
	list-style: none;
}

.nx-checks li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 34px;
	border-bottom: 1px solid var(--line);
}

.nx-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.45em;
	width: 20px;
	height: 4px;
	background: var(--orange);
}

.is-dark .nx-checks li,
.is-asphalt .nx-checks li {
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

.nx-facts {
	padding: 0;
	border-top: 3px solid var(--ink);
	list-style: none;
}

.nx-facts li {
	display: grid;
	gap: 2px 20px;
	margin: 0;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
}

.nx-facts strong {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (min-width: 560px) {
	.nx-facts li {
		grid-template-columns: 190px 1fr;
	}
}

.nx-steps {
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.nx-steps li {
	position: relative;
	margin: 0;
	padding: 4px 0 22px 62px;
	counter-increment: step;
}

.nx-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: var(--ink);
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.35rem;
	font-weight: 700;
}

.nx-notice {
	padding: clamp(20px, 2.6vw, 30px);
	border-left: 6px solid var(--orange);
	background: var(--concrete);
}

.nx-notice > :last-child {
	margin-bottom: 0;
}

.nx-quote {
	margin: 0;
	padding-left: clamp(20px, 3vw, 36px);
	border-left: 6px solid var(--orange);
	font-family: var(--font-head);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 600;
	line-height: 1.18;
}

.nx-legal h2 {
	margin-top: 1.7em;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.nx-legal h2:first-child {
	margin-top: 0;
}

/* ---------- Photos ---------- */
.nx-photo {
	margin: 0;
}

.nx-photo img {
	width: 100%;
	aspect-ratio: 1920 / 1046;
	object-fit: cover;
}

@media (min-width: 1000px) {
	.nx-fleetband {
		align-items: center;
	}
}

/* ---------- Call-to-action band ---------- */
.nx-cta {
	position: relative;
	padding-top: calc(var(--section) + 18px);
}

.nx-cta::before {
	top: 0;
	bottom: auto;
}

.nx-cta h2 {
	max-width: 18ch;
}

.nx-cta-phone {
	margin: 0;
	font-family: var(--font-head);
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 700;
	line-height: 1.1;
}

.nx-cta-phone a {
	color: var(--orange) !important;
	text-decoration: none;
}

/* ---------- Contact details and map ---------- */
.nx-contact-list {
	margin: 0;
	padding: 0;
	border-top: 3px solid var(--ink);
	list-style: none;
}

.nx-contact-list li {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.nx-contact-list .nx-icon {
	width: 24px;
	height: 24px;
	margin-top: 3px;
	color: var(--orange-deep);
}

.nx-contact-list strong {
	display: block;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nx-contact-list a {
	font-weight: 700;
}

.nx-map iframe {
	display: block;
	width: 100%;
	height: clamp(300px, 45vw, 460px);
	border: 1px solid var(--line);
}

.nx-map p {
	margin: 12px 0 0;
	font-weight: 700;
}

/* ---------- Forms ---------- */
.nx-form-wrap {
	scroll-margin-top: 24px;
}

.nx-form {
	display: grid;
	gap: 18px 20px;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.nx-form {
		grid-template-columns: 1fr 1fr;
	}

	.nx-field.is-wide {
		grid-column: 1 / -1;
	}
}

.nx-field {
	margin: 0;
}

.nx-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 700;
}

.nx-optional {
	color: var(--muted);
	font-weight: 400;
}

.nx-field input,
.nx-field select,
.nx-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #8f95a3;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}

.nx-field textarea {
	min-height: 150px;
	resize: vertical;
}

.nx-field input:focus,
.nx-field select:focus,
.nx-field textarea:focus {
	border-color: var(--blue);
	outline: 3px solid rgba(3, 57, 156, 0.25);
	outline-offset: 0;
}

.nx-form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nx-form-note {
	color: var(--muted);
	font-size: 0.92rem;
}

.nx-form-msg {
	margin-bottom: 24px;
	padding: 16px 20px;
	border-left: 6px solid;
}

.nx-form-msg.is-ok {
	border-color: #1f7a3d;
	background: #e9f5ec;
}

.nx-form-msg.is-error {
	border-color: #b3261e;
	background: #fbeceb;
}

/* ---------- Footer ---------- */
.nx-footer {
	background: var(--asphalt);
	color: #c5c8cf;
	font-size: 0.98rem;
}

.nx-footer a {
	color: var(--white);
	text-decoration: none;
}

.nx-footer a:hover {
	color: var(--orange);
	text-decoration: underline;
}

.nx-footer-grid {
	display: grid;
	gap: 40px var(--gap);
	padding-block: clamp(48px, 6vw, 80px);
}

@media (min-width: 640px) {
	.nx-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1000px) {
	.nx-footer-grid {
		grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
	}
}

.nx-footer-logo {
	display: inline-block;
	margin-bottom: 18px;
	padding: 10px 14px;
	background: var(--white);
}

.nx-footer-logo img {
	width: auto;
	height: 58px;
}

.nx-footer-title {
	margin-bottom: 16px;
	color: var(--white);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.nx-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-footer li {
	margin: 0;
}

.nx-footer nav li a {
	display: inline-block;
	padding: 7px 0;
}

.nx-footer-contact li {
	display: flex;
	gap: 12px;
	padding: 7px 0;
}

.nx-footer-contact .nx-icon {
	margin-top: 3px;
	color: var(--orange);
}

.nx-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 14px !important;
}

.nx-footer-base {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.88rem;
}

.nx-footer-base-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	padding-block: 18px 86px;
}

.nx-footer-base p {
	margin: 0;
}

.nx-footer-base a {
	margin-left: 0;
	margin-right: 18px;
}

/* ---------- WhatsApp button ---------- */
.nx-wa {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 30;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 18px;
	border: 2px solid var(--white);
	border-radius: 26px;
	background: #128c4b;
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.nx-wa:hover {
	background: #0c6a38;
	color: var(--white);
}

.nx-wa .nx-icon {
	width: 24px;
	height: 24px;
}

@media (min-width: 1000px) {
	.nx-footer-base-inner {
		padding-bottom: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}

@media print {
	.nx-topbar,
	.nx-burger,
	.nx-nav,
	.nx-wa,
	.nx-footer {
		display: none !important;
	}
}
