/**
 * Contact page — Instant override (theme assets/css not reliably writable).
 * Soft phone hierarchy + tight spacing. Cache: bump ver in contact-form.php.
 */

/* Kill default page chrome. */
body.page-slug-contact .tca-page-main,
.page-id-37 .tca-page-main {
	padding: 0.85rem 1.25rem 1.85rem !important;
	gap: 0 !important;
}

body.page-slug-contact .tca-section.tca-contact,
.page-id-37 .tca-section.tca-contact,
.tca-section.tca-contact {
	padding: 0 !important;
	margin: 0 !important;
}

.tca-contact-block {
	max-width: 720px;
	margin: 0 auto;
}

.tca-contact-inner {
	max-width: 720px;
	margin: 0 auto;
	padding: 0;
}

/* Intro → phone → form heading hierarchy */
.tca-contact-intro,
.tca-contact .tca-lede.tca-contact-intro {
	margin: 0 0 0.85rem !important;
	color: #3d4f42;
	font-size: 1.02rem;
	font-weight: 400;
	line-height: 1.5;
	max-width: none;
}

/* Phone box: quieter than .tca-check-box (no thick gold bar / shouty fill). */
.tca-contact-phone,
.tca-contact .tca-contact-phone {
	margin: 0 0 1.1rem !important;
	padding: 0.7rem 1rem !important;
	text-align: center;
	background: #f3efe6;
	border: 1px solid #e4dccb;
	border-left: 3px solid #c9b896;
	border-radius: 10px;
	box-shadow: none;
}

.tca-contact-phone__label {
	margin: 0 0 0.2rem !important;
	font-weight: 500 !important;
	color: #5a6b5e;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tca-contact-phone__number {
	margin: 0 !important;
	line-height: 1.2;
}

.tca-contact-phone__number a {
	display: inline-block;
	font-size: clamp(1.15rem, 2.4vw, 1.4rem) !important;
	font-weight: 600 !important;
	line-height: 1.25;
	color: #0f7a3a;
	text-decoration: none;
	min-height: 44px;
	padding: 0.35rem 0.15rem;
	letter-spacing: -0.01em;
}

.tca-contact-phone__number a:hover,
.tca-contact-phone__number a:focus {
	color: #053a1c;
	text-decoration: underline;
	outline: 3px solid #0f7a3a;
	outline-offset: 3px;
}

/* Form heading + hint tight to fields */
.tca-contact .tca-contact-form-heading,
.tca-contact-block .tca-contact-form-heading {
	margin: 0 0 0.25rem !important;
	color: #053a1c;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em;
}

.tca-contact .tca-hint,
.tca-contact .tca-contact-form-hint,
.tca-contact-block .tca-hint,
.tca-contact-block .tca-contact-form-hint {
	margin: 0 0 0.55rem !important;
	line-height: 1.4;
	color: #4a5c4e;
	font-size: 0.95rem;
}

.tca-page-main .tca-contact-form-wrap,
.tca-contact-block .tca-contact-form-wrap {
	max-width: 720px;
	margin: 0 auto 0.75rem !important;
	padding: 0 !important;
}

.tca-contact-form {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}

/* Honeypot: remove from layout entirely */
.tca-contact-form .tca-hp,
.tca-contact-form .tca-field.tca-hp {
	position: absolute !important;
	left: -10000px !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.tca-contact-form .tca-field {
	margin-top: 0 !important;
	margin-bottom: 0.7rem !important;
}

.tca-contact-form .tca-field:first-of-type,
.tca-contact-form .tca-field:not(.tca-hp):first-of-type {
	margin-top: 0 !important;
}

.tca-contact-form textarea {
	min-height: 110px;
	resize: vertical;
}

.tca-contact-form .tca-btn,
.tca-contact-form p .tca-btn {
	margin-top: 0.15rem !important;
	margin-bottom: 0 !important;
}

/* Kill stray wpautop wrappers around the form / button. */
.tca-contact-form-wrap > p:empty,
.tca-contact-form > p:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
}

.tca-contact-form > p {
	margin: 0.35rem 0 0 !important;
}
