/**
 * Contact page (3b).
 */

.chb-contact {
	padding: 88px 48px 72px;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}
.chb-contact__title {
	font-family: var( --font-heading );
	font-weight: 800;
	font-size: 40px;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
.chb-contact__intro {
	font-size: 16.5px;
	color: var( --muted );
	margin-bottom: 36px;
}

.chb-contact__notice {
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	margin-bottom: 20px;
	text-align: left;
}
.chb-contact__notice--success {
	background: color-mix( in srgb, #4CAF50 12%, var( --surface ) );
	border: 1px solid color-mix( in srgb, #4CAF50 30%, transparent );
}
.chb-contact__notice--error {
	background: color-mix( in srgb, #E5484D 12%, var( --surface ) );
	border: 1px solid color-mix( in srgb, #E5484D 30%, transparent );
}

.chb-contact__form {
	background: var( --surface );
	border: 1px solid var( --border );
	border-radius: var( --radius-large );
	padding: 28px;
	box-shadow: var( --shadow );
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: left;
}
.chb-contact__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.chb-contact__form input[type="text"],
.chb-contact__form input[type="email"],
.chb-contact__form textarea {
	border: 1px solid var( --border );
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 13.5px;
	font-family: var( --font-body );
	background: transparent;
	color: var( --ink );
	width: 100%;
}
.chb-contact__form textarea {
	height: 100px;
	resize: vertical;
}
.chb-contact__form ::placeholder {
	color: var( --muted );
}
.chb-contact__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}
.chb-contact__submit {
	background: var( --accent );
	color: var( --accent-ink );
	border: none;
	border-radius: 10px;
	padding: 13px;
	text-align: center;
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 14px;
	margin-top: 4px;
	cursor: pointer;
}
.chb-contact__submit:hover {
	opacity: 0.85;
}

/* If Chad removes chadhall/contact-form and inserts a core/shortcode
   block instead (e.g. [sureforms id='...']), it gets the same card
   treatment as the native form so either option looks native. */
.chb-contact .wp-block-shortcode {
	display: block;
	background: var( --surface );
	border: 1px solid var( --border );
	border-radius: var( --radius-large );
	padding: 28px;
	box-shadow: var( --shadow );
	text-align: left;
}

.chb-contact__footer {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 28px;
	margin-top: 32px;
}
.chb-contact__label {
	font-family: var( --font-heading );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --muted );
	margin-bottom: 6px;
}
.chb-contact__email {
	font-size: 15px;
	font-weight: 600;
}
.chb-contact__email:hover {
	color: var( --accent );
}
.chb-contact__social {
	display: flex;
	gap: 10px;
	justify-content: center;
}
.chb-contact__social-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var( --surface );
	border: 1px solid var( --border );
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

/* ---- Tablet ---- */
@media ( max-width: 900px ) {
	.chb-contact {
		padding: 64px 32px 56px;
	}
}

/* ---- Mobile ---- */
@media ( max-width: 600px ) {
	.chb-contact {
		padding: 48px 20px 48px;
	}
	.chb-contact__title {
		font-size: 30px;
	}
	.chb-contact__intro {
		font-size: 15.5px;
		margin-bottom: 28px;
	}
	.chb-contact__form {
		padding: 20px;
	}
	.chb-contact__row {
		grid-template-columns: 1fr;
	}
}
