/* NEXA Contact 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 used across the site, full-bleed paper. */

.nexa-contact {
	--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-contact,
.nexa-contact * {
	box-sizing: border-box;
}

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

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

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

.nexa-contact__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-contact__title {
	margin: 0 0 18px;
	font-size: clamp(32px, 5vw, 52px);
}

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

/* ---- Section shell ---- */
.nexa-contact__section {
	padding-top: clamp(52px, 7vw, 84px);
}

.nexa-contact__section-title {
	font-size: clamp(26px, 3.4vw, 36px);
}

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

/* ---- Two-column: contact details + form ---- */
.nexa-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 40px);
	align-items: start;
	margin-top: clamp(28px, 4vw, 44px);
}

.nexa-contact__aside,
.nexa-contact__panel {
	margin-block: 0;
	border: 1px solid var(--nx-line);
	border-radius: 10px;
	background: #ffffff;
}

.nexa-contact__aside {
	padding: 28px 28px 30px;
}

.nexa-contact__aside-title {
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 18px;
}

.nexa-contact__detail {
	margin: 0 0 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--nx-line);
}
.nexa-contact__detail:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

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

.nexa-contact__detail p {
	margin: 0;
	color: var(--nx-ink);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
}

.nexa-contact__detail-note {
	margin: 18px 0 0;
	color: var(--nx-muted);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.55;
}

/* ---- Status message ---- */
.nexa-contact__status {
	margin: 0 0 26px;
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
}
.nexa-contact__status--ok {
	border: 1px solid rgba(46, 125, 74, 0.4);
	background: rgba(46, 125, 74, 0.08);
	color: #2e5c3b;
}
.nexa-contact__status--warn {
	border: 1px solid rgba(168, 97, 62, 0.4);
	background: rgba(168, 97, 62, 0.08);
	color: #8d5230;
}

/* ---- Form ---- */
.nexa-contact__form {
	display: grid;
	gap: 18px;
	padding: clamp(24px, 3vw, 34px);
}
.nexa-contact__form > * {
	margin: 0;
}

.nexa-contact__field {
	display: grid;
	gap: 8px;
}

.nexa-contact__label {
	color: var(--nx-ink);
	font-size: 14px;
	font-weight: 500;
}
.nexa-contact__req {
	color: var(--nx-accent);
}
.nexa-contact__opt {
	color: var(--nx-muted);
	font-weight: 300;
	font-size: 12px;
}

.nexa-contact__input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--nx-line);
	border-radius: 6px;
	background: var(--nx-paper);
	color: var(--nx-ink);
	font: 300 15px/1.5 "Sora", sans-serif;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}
.nexa-contact__input:focus {
	outline: none;
	border-color: var(--nx-accent);
	box-shadow: 0 0 0 3px rgba(168, 97, 62, 0.14);
}
.nexa-contact__select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--nx-ink) 50%),
		linear-gradient(135deg, var(--nx-ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}
.nexa-contact__textarea {
	min-height: 140px;
	resize: vertical;
}

.nexa-contact__note {
	color: var(--nx-muted);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.5;
}

.nexa-contact__submit {
	justify-self: start;
	padding: 16px 36px;
	border: 0;
	border-radius: 6px;
	background: var(--nx-accent);
	color: #ffffff;
	cursor: pointer;
	font: 600 14px/1.2 "Sora", sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background-color 180ms ease;
}
.nexa-contact__submit:hover {
	background: #8d5230;
}

.nexa-contact__small {
	color: var(--nx-muted);
	font-size: 12px;
	font-weight: 300;
}

@media (max-width: 900px) {
	.nexa-contact__grid {
		grid-template-columns: 1fr;
	}
}

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

@media (prefers-reduced-motion: reduce) {
	.nexa-contact__input,
	.nexa-contact__submit {
		transition: none;
	}
}
