/* ==========================================================================
   AVRX contact.css
   Styles for page-contact.php only. Deliberately smaller than the other
   inner-page stylesheets: a compact header band instead of a full hero,
   plus one form section. Reuses the shared design system in main.css
   directly (variables, header, footer, buttons, .avrx-hero__eyebrow).
   ========================================================================== */

/* -------------------------------------------------------------------------
   0. Shared contact utilities
   ------------------------------------------------------------------------- */
.avrx-contact-container {
	width: min(90%, 1200px);
	margin-inline: auto;
}

.avrx-contact-heading {
	margin: 0 0 16px;
	font-weight: 300;
	font-size: clamp(38px, 4vw, 58px);
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--avrx-white);
}

.avrx-contact-intro {
	margin: 0;
	max-width: 480px;
	font-size: clamp(15px, 1.05vw, 18px);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}

/* -------------------------------------------------------------------------
   1. Header band
   ------------------------------------------------------------------------- */
.avrx-contact-header {
	background: var(--avrx-black);
	padding: clamp(140px, 16vh, 190px) 0 clamp(48px, 6vw, 72px);
}

/* -------------------------------------------------------------------------
   2. Form + direct details
   ------------------------------------------------------------------------- */
.avrx-contact-section {
	background: var(--avrx-black);
	padding-bottom: clamp(80px, 9vw, 140px);
}

.avrx-contact-layout {
	display: flex;
	align-items: flex-start;
	gap: clamp(48px, 6vw, 100px);
}

.avrx-contact-form-wrap {
	flex: 1 1 560px;
	max-width: 620px;
}

.avrx-contact-status {
	margin: 0 0 28px;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 14px;
	line-height: 1.5;
	color: var(--avrx-white);
}

.avrx-contact-status--error {
	border-color: rgba(255, 255, 255, 0.4);
}

.avrx-contact-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.avrx-contact-row {
	display: flex;
	gap: 22px;
}

.avrx-contact-row .avrx-contact-field {
	flex: 1 1 0;
}

.avrx-contact-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.avrx-contact-field label {
	font-size: 10px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.5);
}

.avrx-contact-field input,
.avrx-contact-field textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	padding: 8px 0 10px;
	font-size: 15px;
	font-weight: 400;
	color: var(--avrx-white);
	transition: border-color 240ms var(--avrx-ease);
}

.avrx-contact-field textarea {
	resize: vertical;
	min-height: 110px;
}

.avrx-contact-field input:focus,
.avrx-contact-field textarea:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.85);
}

.avrx-contact-field input::placeholder,
.avrx-contact-field textarea::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.avrx-contact-form .avrx-btn {
	align-self: flex-start;
	margin-top: 8px;
}

.avrx-contact-field--honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
   3. Direct details panel
   ------------------------------------------------------------------------- */
.avrx-contact-direct {
	flex: 0 0 auto;
	width: min(100%, 280px);
	padding-top: 2px;
}

.avrx-contact-direct__label {
	margin: 0 0 12px;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.5);
}

.avrx-contact-direct__label--links {
	margin-top: 44px;
}

.avrx-contact-direct__email {
	display: inline-block;
	font-size: 17px;
	font-weight: 400;
	color: var(--avrx-white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 4px;
	transition: border-color 240ms var(--avrx-ease);
}

.avrx-contact-direct__email:hover {
	border-color: rgba(255, 255, 255, 0.85);
}

.avrx-contact-direct__links {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.avrx-contact-direct__links a {
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.72);
	transition: color 240ms var(--avrx-ease);
}

.avrx-contact-direct__links a span {
	display: inline-block;
	margin-left: 2px;
	transition: transform 240ms var(--avrx-ease);
}

.avrx-contact-direct__links a:hover {
	color: var(--avrx-white);
}

.avrx-contact-direct__links a:hover span {
	transform: translateX(4px);
}

/* -------------------------------------------------------------------------
   4. Responsive: Tablet (768px-1199px)
   ------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.avrx-contact-layout {
		flex-direction: column;
		align-items: stretch;
	}

	.avrx-contact-form-wrap {
		max-width: 620px;
	}

	.avrx-contact-direct {
		width: 100%;
		display: flex;
		gap: clamp(48px, 8vw, 96px);
	}

	.avrx-contact-direct__label--links {
		margin-top: 0;
	}
}

/* -------------------------------------------------------------------------
   5. Responsive: Mobile (< 768px)
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.avrx-contact-container {
		width: min(100%, 1200px);
		padding-inline: 24px;
	}

	.avrx-contact-header {
		padding: 100px 0 40px;
	}

	.avrx-contact-row {
		flex-direction: column;
		gap: 22px;
	}

	.avrx-contact-direct {
		flex-direction: column;
		gap: 32px;
	}

	.avrx-contact-form .avrx-btn {
		width: 100%;
	}
}
