/* ═══════════════════════════════════════════════════════════════════════════
   ActiveCampaign forms (2, 3, 5, 7) — shared stylesheet
   Form PHP files in /forms/ contain markup only; no inline <style>.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Form 2 (e.g. footer inline): teal background, white labels, inline fields ── */
#_form_2_ {
	font-size: 14px;
	font-weight: 200 !important;
	line-height: 14px;
	font-family: arial, helvetica, sans-serif;
	margin: 0;
	background-color: #27afb0;
	overflow: hidden;
}
#_form_2_._form-top { top: 0; }
#_form_2_._form-bottom { bottom: 0; }
#_form_2_._form-left { left: 0; }
#_form_2_._form-right { right: 0; }
#_form_2_ input[type="text"],
#_form_2_ input[type="date"],
#_form_2_ textarea {
	padding: 10px;
	height: auto;
	border: #ccc 1px solid;
	border-radius: 0;
	color: #000 !important;
	font-size: 13px;
	box-sizing: border-box;
}
#_form_2_ textarea { resize: none; }
#_form_2_ ._submit {
	-webkit-appearance: none;
	cursor: pointer;
	font-family: arial, sans-serif;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	background: #27a6a6 !important;
	border: 1px solid #fff !important;
	border-radius: 0 !important;
	color: #fff !important;
	padding: 18px 40px !important;
	margin: 10px 0 0;
}
#_form_2_ ._submit:hover {
	background-color: #444 !important;
	border: 1px solid #fff !important;
}
#_form_2_ ._error-inner {
	padding: 8px 12px;
	background-color: #f37c7b;
	font-size: 13px;
	font-family: arial, sans-serif;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 10px;
}
#_form_2_ ._form-label,
#_form_2_ ._form-label-req {
	text-align: left !important;
	font-weight: 700;
	margin-top: 15px;
	margin-bottom: 0;
	color: #fff;
	width: 100%;
}
#_form_2_ ._form-label-req::after {
	content: "*";
	color: #ff0000;
}
#_form_2_ ._field-wrapper { width: 100%; }
#_form_2_ ._button-wrapper {
	display: inline-block;
	width: 100%;
	text-align: center;
	height: 70px;
}
#_form_2_ ._form_element {
	width: 22%;
	display: inline-block;
	padding: 0 10px;
	vertical-align: bottom;
}
#_form_2_ .g-recaptcha {
	transform: scale(0.75);
	transform-origin: 0 0;
	position: relative;
	bottom: -15px;
}
@media (min-width: 768px) and (max-width: 991px) {
	#_form_2_ ._form_element {
		width: 100%;
		display: inline-block;
		padding: 0 10px;
	}
}
@media (max-width: 767px) {
	#_form_2_ ._form_element {
		width: 100%;
		display: inline-block;
		padding: 0 10px;
	}
}

/* ── Form 3 (areas-served): orange submit, rounded inputs ── */
#_form_3_ {
	vertical-align: top;
	font-size: 14px;
	font-weight: 200 !important;
	line-height: 14px;
	font-family: arial, helvetica, sans-serif;
	margin: 0;
}
#_form_3_._form-top { top: 0; }
#_form_3_._form-bottom { bottom: 0; }
#_form_3_._form-left { left: 0; }
#_form_3_._form-right { right: 0; }
#_form_3_ input[type="text"],
#_form_3_ input[type="date"],
#_form_3_ textarea {
	padding: 10px;
	height: auto;
	border: #ccc 1px solid;
	border-radius: 15px;
	color: #000 !important;
	font-size: 13px;
	box-sizing: border-box;
}
#_form_3_ textarea { resize: none; }
#_form_3_ ._submit {
	-webkit-appearance: none;
	cursor: pointer;
	font-family: arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	background: #fd6836 !important;
	border: 0 !important;
	border-radius: 15px !important;
	color: #fff !important;
	padding: 10px 30px !important;
	margin: 30px 0 0;
}
#_form_3_ ._error-inner {
	padding: 8px 12px;
	background-color: #f37c7b;
	font-size: 13px;
	font-family: arial, sans-serif;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 10px;
}
#_form_3_ ._form-label {
	font-weight: 500;
	margin-top: 15px;
	margin-bottom: 0;
}
#_form_3_ ._form-label::after {
	content: "*";
	color: #f37c7b;
}
#_form_3_ ._field-wrapper { width: 100%; }
#_form_3_ ._button-wrapper { text-align: center; }

/* ── Form 7: teal submit, light gray inputs ── */
#_form_7_ {
	vertical-align: top;
	font-size: 14px;
	font-weight: 200 !important;
	line-height: 14px;
	font-family: arial, helvetica, sans-serif;
	margin: 0;
}
#_form_7_._form-top { top: 0; }
#_form_7_._form-bottom { bottom: 0; }
#_form_7_._form-left { left: 0; }
#_form_7_._form-right { right: 0; }
#_form_7_ input[type="text"],
#_form_7_ input[type="date"],
#_form_7_ textarea {
	padding: 10px;
	background-color: #f8f8f8;
	height: auto;
	border: #ddd 1px solid;
	border-radius: 0;
	color: #000 !important;
	font-size: 13px;
	box-sizing: border-box;
	display: inline-block;
	width: 100%;
}
#_form_7_ textarea { resize: none; }
#_form_7_ ._submit {
	-webkit-appearance: none;
	cursor: pointer;
	font-family: arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	background: #27afb0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff !important;
	padding: 10px 30px !important;
	margin: 30px 0 0;
}
#_form_7_ ._error-inner {
	padding: 8px 12px;
	background-color: #f37c7b;
	font-size: 13px;
	font-family: arial, sans-serif;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 10px;
}
#_form_7_ ._form-label {
	display: inline-block;
	font-weight: 500;
	font-size: 16px;
	margin-top: 20px;
	margin-bottom: 10px;
	width: 100%;
	text-align: left;
}
#_form_7_ ._form-label::after {
	content: "*";
	color: #f37c7b;
}
#_form_7_ ._field-wrapper { width: 100%; }
#_form_7_ ._button-wrapper {
	text-align: center;
	margin-bottom: 20px;
}

/* ── Form 5 (contact): design-system styling, grid layout, red CTA, centered button ── */
#_form_5_,
._form_5 {
	font-family: var(--h-font, 'Aeonik', sans-serif) !important;
	font-size: 16px;
}
#_form_5_ ._form-content,
._form_5 ._form-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px 24px;
}
@media (min-width: 600px) {
	#_form_5_ ._form-content,
	._form_5 ._form-content {
		grid-template-columns: 1fr 1fr;
	}
}
#_form_5_ ._form_element,
._form_5 ._form_element {
	width: 100% !important;
}
#_form_5_ ._form_element:nth-child(n+5),
#_form_5_ ._button-wrapper,
._form_5 ._form_element:nth-child(n+5),
._form_5 ._button-wrapper {
	grid-column: 1 / -1;
}
#_form_5_ ._button-wrapper,
._form_5 ._button-wrapper {
	text-align: center !important;
	margin-top: 8px;
}
#_form_5_ ._form-label,
#_form_5_ ._form-label-req,
._form_5 ._form-label,
._form_5 ._form-label-req {
	font-family: var(--h-font, 'Aeonik', sans-serif) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: #1f1f1f !important;
	line-height: 1.4;
	margin: 0 0 6px 0 !important;
	display: block;
}
#_form_5_ ._form-label-req::after,
._form_5 ._form-label-req::after {
	color: #ff4a34 !important;
}
#_form_5_ input[type="text"],
#_form_5_ input[type="email"],
#_form_5_ input[type="tel"],
#_form_5_ textarea,
._form_5 input[type="text"],
._form_5 input[type="email"],
._form_5 input[type="tel"],
._form_5 textarea {
	font-family: var(--h-font, 'Aeonik', sans-serif) !important;
	font-size: 16px !important;
	font-weight: 400;
	color: #1f1f1f !important;
	background: #f3f4f6 !important;
	border: 1.5px solid #e0e2e6 !important;
	border-radius: 8px !important;
	height: 52px !important;
	width: 100% !important;
	padding: 14px 16px !important;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#_form_5_ input[type="text"]:focus,
#_form_5_ input[type="email"]:focus,
#_form_5_ input[type="tel"]:focus,
#_form_5_ textarea:focus,
._form_5 input[type="text"]:focus,
._form_5 input[type="email"]:focus,
._form_5 input[type="tel"]:focus,
._form_5 textarea:focus {
	border-color: #1b4d5c !important;
	box-shadow: 0 0 0 3px rgba(27, 77, 92, 0.1) !important;
	outline: none !important;
}
#_form_5_ textarea,
._form_5 textarea {
	height: auto !important;
	min-height: 140px;
	resize: vertical;
}
#_form_5_ ._submit,
._form_5 ._submit {
	font-family: var(--h-font, 'Aeonik', sans-serif) !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	background: #ff4a34 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 50px !important;
	padding: 14px 28px !important;
	margin: 8px 0 0 !important;
	height: auto !important;
	cursor: pointer;
	transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
#_form_5_ ._submit:hover,
._form_5 ._submit:hover {
	background: #e63228 !important;
	box-shadow: 0 4px 16px rgba(255, 74, 52, 0.3);
	transform: translateY(-1px);
	opacity: 1 !important;
}
#_form_5_ ._submit:active,
._form_5 ._submit:active {
	transform: translateY(0);
}
#_form_5_ ._submit::after,
._form_5 ._submit::after {
	content: ' \2192';
	margin-left: 8px;
}
/* Validation errors (form 5) — one per field, below input, never over label */
#_form_5_ ._form_element ._error ~ ._error,
._form_5 ._form_element ._error ~ ._error {
	display: none !important;
}
#_form_5_ ._error ._error-inner ~ ._error-inner,
._form_5 ._error ._error-inner ~ ._error-inner {
	display: none !important;
}
#_form_5_ ._error,
._form_5 ._error {
	position: static !important;
	display: block !important;
	margin-top: 6px !important;
	bottom: auto !important;
	top: auto !important;
	padding: 0 !important;
}
#_form_5_ ._error-inner,
._form_5 ._error-inner {
	display: flex !important;
	align-items: center !important;
	text-align: left !important;
	background-color: #fef2f2 !important;
	color: #1f1f1f !important;
	border: none !important;
	font-family: var(--h-font, 'Aeonik', sans-serif) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	border-radius: 6px !important;
	padding: 8px 12px !important;
	margin: 0 !important;
	box-shadow: none !important;
}
#_form_5_ ._error-inner::before,
._form_5 ._error-inner::before {
	content: '!';
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #dc2626;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	margin-right: 8px;
}
#_form_5_ ._error ._error-arrow,
._form_5 ._error ._error-arrow {
	display: none !important;
}
#_form_5_ input._has_error,
#_form_5_ textarea._has_error,
._form_5 input._has_error,
._form_5 textarea._has_error {
	border-color: #f87171 !important;
	background-color: #fff !important;
}
