/* ==========================================================================
   ARV Oil & Gas — Contact Page
   Same design system as About (spec-sheet labels, corner-bracket framing,
   scroll reveal) with this page's own accent: navy + royal blue, matching
   the approved mock, plus a control-panel "status light" motif on the
   contact details.
   ========================================================================== */

.arv-contact {
	--arv-navy: #0b1e33;
	--arv-navy-soft: #142c47;
	--arv-steel: #1d3a57;
	--arv-fog: #f5f7f9;
	--arv-white: #ffffff;
	--arv-ash: #6b7680;
	--arv-line: rgba(11, 30, 51, 0.12);
	--arv-line-light: rgba(255, 255, 255, 0.18);

	/* Page accent — royal blue, matches the approved mock */
	--arv-blue: #2a4bff;
	--arv-blue-dim: #1e3ad1;
	--arv-blue-soft: rgba(42, 75, 255, 0.1);

	--arv-font-display: "Space Grotesk", "Segoe UI", sans-serif;
	--arv-font-body: "Inter", "Segoe UI", sans-serif;
	--arv-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

	color: var(--arv-navy);
	background: var(--arv-white);
	font-family: var(--arv-font-body);
	overflow-x: clip;
}

.arv-contact * {
	box-sizing: border-box;
}

.arv-contact img {
	max-width: 100%;
	display: block;
}

.arv-container {
	width: min(1180px, 100% - 3rem);
	margin-inline: auto;
}

.arv-section {
	padding-block: clamp(4rem, 7vw, 6.5rem);
}

.arv-eyebrow {
	display: inline-block;
	font-family: var(--arv-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--arv-blue);
	background: var(--arv-blue-soft);
	border: 1px solid rgba(42, 75, 255, 0.28);
	padding: 0.35em 0.75em;
	border-radius: 2px;
	margin-bottom: 1.1rem;
}

.arv-eyebrow--light {
	color: #7d94ff;
	background: rgba(125, 148, 255, 0.12);
	border-color: rgba(125, 148, 255, 0.32);
}

.arv-h1 {
	font-family: var(--arv-font-display);
	font-weight: 600;
	font-size: clamp(2.1rem, 4vw, 3rem);
	line-height: 1.1;
	margin: 0 0 0.9rem;
	color: var(--arv-navy);
	max-width: 16ch;
}

.arv-h2 {
	font-family: var(--arv-font-display);
	font-weight: 600;
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	line-height: 1.25;
	margin: 0;
	max-width: 28ch;
}

.arv-h2--light {
	color: var(--arv-white);
}

.arv-lead {
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--arv-ash);
	margin: 0 0 2.25rem;
	max-width: 40ch;
}

/* ==========================================================================
   Get a Quote
   ========================================================================== */

.arv-quote {
	padding-top: clamp(3rem, 6vw, 5rem);
}

.arv-quote__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

.arv-quote__media {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.arv-quote__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.arv-quote__corner {
	position: absolute;
	width: 24px;
	height: 24px;
	border: 2px solid rgba(255, 255, 255, 0.65);
	z-index: 2;
}

.arv-quote__corner--tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.arv-quote__corner--br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

@media (min-width: 960px) {
	.arv-quote__grid {
		grid-template-columns: 1fr 0.85fr;
		gap: 4.5rem;
	}
}

/* ==========================================================================
   Forms
   ========================================================================== */

.arv-form {
	max-width: 640px;
}

.arv-form--wide {
	max-width: 100%;
}

.arv-form__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.arv-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
	.arv-form__row {
		grid-template-columns: 1fr 1fr;
	}

	.arv-form__row--four {
		grid-template-columns: repeat(4, 1fr);
	}
}

.arv-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.arv-field label {
	font-family: var(--arv-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--arv-steel);
}

.arv-field label span {
	color: var(--arv-blue);
}

.arv-field input,
.arv-select select {
	width: 100%;
	font-family: var(--arv-font-body);
	font-size: 0.95rem;
	color: var(--arv-navy);
	background: var(--arv-white);
	border: 1px solid var(--arv-line);
	border-bottom: 2px solid var(--arv-line);
	border-radius: 3px;
	padding: 0.75em 0.9em;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.arv-field input::placeholder {
	color: #a7b0b8;
}

.arv-field input:hover,
.arv-select select:hover {
	border-color: rgba(42, 75, 255, 0.35);
}

.arv-field input:focus-visible,
.arv-select select:focus-visible {
	outline: none;
	border-color: var(--arv-blue);
	border-bottom-color: var(--arv-blue);
	box-shadow: 0 0 0 3px var(--arv-blue-soft);
}

.arv-field input:user-invalid {
	border-bottom-color: #c94b3f;
}

.arv-select {
	position: relative;
}

.arv-select::after {
	content: "";
	position: absolute;
	right: 0.95em;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--arv-ash);
	border-bottom: 2px solid var(--arv-ash);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.arv-select select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2.25em;
	color: var(--arv-navy);
}

.arv-select select:invalid {
	color: #a7b0b8;
}

/* ==========================================================================
   Button
   ========================================================================== */

.arv-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	font-family: var(--arv-font-body);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	color: var(--arv-white);
	background: var(--arv-navy);
	border: none;
	border-radius: 999px;
	padding: 0.95em 2.1em;
	cursor: pointer;
	margin-top: 0.5rem;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.arv-btn:hover {
	background: var(--arv-navy-soft);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px -8px rgba(11, 30, 51, 0.45);
}

.arv-btn:active {
	transform: translateY(0);
}

.arv-btn__spinner {
	display: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: var(--arv-white);
}

.arv-btn.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.arv-btn.is-loading .arv-btn__spinner {
	display: inline-block;
	animation: arv-spin 0.7s linear infinite;
}

@keyframes arv-spin {
	to { transform: rotate(360deg); }
}

/* ==========================================================================
   Form status banner
   ========================================================================== */

.arv-form-banner {
	font-size: 0.9rem;
	padding: 0.9em 1.1em;
	border-radius: 4px;
	margin-bottom: 1.5rem;
	max-width: 640px;
}

.arv-form-banner--success {
	color: #1a6b3c;
	background: rgba(34, 168, 92, 0.1);
	border: 1px solid rgba(34, 168, 92, 0.3);
}

.arv-form-banner--error {
	color: #a5342a;
	background: rgba(201, 75, 63, 0.08);
	border: 1px solid rgba(201, 75, 63, 0.3);
}

/* ==========================================================================
   Info band — dark navy, control-panel status lights
   ========================================================================== */

.arv-info-band {
	background: var(--arv-navy);
	padding-block: clamp(3.5rem, 6vw, 5rem);
	color: var(--arv-white);
	margin-block: clamp(3rem, 6vw, 5rem);
}

.arv-info-band__head {
	text-align: center;
	max-width: 46ch;
	margin-inline: auto;
	margin-bottom: 3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.arv-info-band__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.25rem;
	text-align: center;
}

.arv-info-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
}

.arv-info-item__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(125, 148, 255, 0.35);
	box-shadow: 0 0 0 0 rgba(125, 148, 255, 0.4);
	transition: background 0.4s ease, box-shadow 0.4s ease;
}

.arv-info-item.is-visible .arv-info-item__dot {
	background: #7d94ff;
	box-shadow: 0 0 0 5px rgba(125, 148, 255, 0.16);
	animation: arv-pulse 2.4s ease-in-out 0.6s infinite;
}

@keyframes arv-pulse {
	0%, 100% { box-shadow: 0 0 0 5px rgba(125, 148, 255, 0.16); }
	50% { box-shadow: 0 0 0 9px rgba(125, 148, 255, 0.06); }
}

.arv-info-item__label {
	font-family: var(--arv-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7d94ff;
}

.arv-info-item__value {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	max-width: 24ch;
}

.arv-info-item__value--link {
	text-decoration: none;
	transition: color 0.2s ease;
}

.arv-info-item__value--link:hover {
	color: #7d94ff;
}

@media (min-width: 780px) {
	.arv-info-band__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}
}

/* ==========================================================================
   Subcontractor section
   ========================================================================== */

.arv-subcontractor {
	padding-top: 0;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.arv-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--arv-delay, 0ms);
}

.arv-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.arv-contact a:focus-visible,
.arv-contact button:focus-visible {
	outline: 2px solid var(--arv-blue);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.arv-contact * {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.arv-reveal {
		opacity: 1;
		transform: none;
	}
}