/* ===========================================================================
   ThriveableBiz - Contact page (page-contact.php)

   Rebuilt from the design source (ThriveableBiz_Contact.html): teal hero,
   warm-paper contact section (intro + Fluent Forms), white FAQ accordion, teal
   closing CTA. Everything is scoped under .tbz-contact so the generic class
   names cannot collide with the global chrome or Kadence. Brand tokens are
   redeclared on the wrapper to keep this file self-contained.

   The right column is the real Fluent Forms form (ID 3); the .ff-* rules below
   restyle its native markup to match the design's .form-card / .field look.
   =========================================================================== */

.tbz-contact {
	--teal: #019494;
	--teal-dark: #017A7A;
	--teal-soft: #CFE3DF;
	--orange: #FF5100;
	--orange-dark: #E64800;
	--ink: #2B2A28;
	--ink-2: #5A5A56;
	--ink-mute: rgba(43, 42, 40, 0.55);
	--paper-warm: #F2EBDC;
	--offwhite: #FAFAF8;
	--white: #FFFFFF;
	--light-teal: #E8F5F5;
	--rule: #E2E2DE;
	--rule-soft: #EBEBE6;
	--rule-card: #E0E0DA;
}

/* Full-bleed reset: neutralise the Kadence content container for this page. */
.tbz-contact-page #inner-wrap.wrap {
	max-width: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.tbz-contact-page .content-container.site-container,
.tbz-contact-page .content-area.primary {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.tbz-contact * {
	box-sizing: border-box;
}

/* ──────── Shared bits ──────── */
.tbz-contact .label {
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 22px;
	display: inline-block;
}

.tbz-contact .label-on-teal {
	color: rgba(255, 255, 255, 0.7);
}

.tbz-contact .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-size: 16px;
	font-weight: 700;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	letter-spacing: 0.01em;
	padding: 16px 28px;
}

.tbz-contact .btn-lg {
	font-size: 17px;
	padding: 19px 34px;
}

.tbz-contact .btn-primary {
	background: var(--orange);
	color: var(--white);
	box-shadow: 0 10px 26px -12px rgba(255, 81, 0, 0.7);
}

.tbz-contact .btn-primary:hover {
	background: var(--orange-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -12px rgba(255, 81, 0, 0.75);
}

.tbz-contact .btn-arrow::after {
	content: ' \2192';
	transition: transform 0.2s ease;
	display: inline-block;
	margin-left: 4px;
}

.tbz-contact .btn-arrow:hover::after {
	transform: translateX(4px);
}

/* ──────── HERO ──────── */
.tbz-contact .contact-hero {
	background: var(--teal);
	color: var(--white);
	padding: 96px 0 100px;
	position: relative;
	overflow: hidden;
}

.tbz-contact .contact-hero::before,
.tbz-contact .contact-hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	z-index: 0;
}

.tbz-contact .contact-hero::before {
	right: -140px;
	top: -160px;
	width: 360px;
	height: 360px;
	background: rgba(255, 255, 255, 0.06);
}

.tbz-contact .contact-hero::after {
	left: -110px;
	bottom: -150px;
	width: 300px;
	height: 300px;
	background: rgba(255, 81, 0, 0.12);
}

.tbz-contact .contact-hero .inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 56px;
	position: relative;
	z-index: 1;
}

.tbz-contact .contact-hero h1 {
	font-family: 'Fraunces', serif;
	font-size: 66px;
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 500;
	color: var(--white);
	margin: 18px 0 0;
	font-variation-settings: 'opsz' 144;
}

.tbz-contact .contact-hero .subhead {
	font-size: 20px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	max-width: 520px;
	margin: 22px 0 0;
}

/* ──────── CONTACT FORM ──────── */
.tbz-contact .contact-section {
	background: var(--paper-warm);
	padding: 88px 0;
}

.tbz-contact .contact-grid {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 56px;
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 64px;
	align-items: start;
}

.tbz-contact .contact-intro h2 {
	font-family: 'Fraunces', serif;
	font-size: 34px;
	letter-spacing: -0.02em;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 20px;
	font-variation-settings: 'opsz' 96;
}

.tbz-contact .contact-intro p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-2);
	max-width: 420px;
}

.tbz-contact .contact-intro .reply-block {
	margin-top: 32px;
	padding-top: 26px;
	border-top: 1px solid var(--rule-card);
}

.tbz-contact .contact-intro .reply-block .email-to {
	font-family: 'Fraunces', serif;
	font-size: 21px;
	font-weight: 500;
	color: var(--ink);
	letter-spacing: -0.01em;
	display: block;
	margin-bottom: 8px;
	text-decoration: none;
}

.tbz-contact .contact-intro .reply-block .email-to:hover {
	color: var(--teal);
}

.tbz-contact .contact-intro .reply-block p {
	font-size: 15px;
	color: var(--ink-2);
	margin: 0;
	max-width: none;
}

/* Form card */
.tbz-contact .form-card {
	background: var(--white);
	border: 1px solid var(--rule-card);
	border-radius: 16px;
	padding: 40px 40px 44px;
	box-shadow: 0 24px 60px -36px rgba(43, 42, 40, 0.4);
}

.tbz-contact .form-note {
	margin-top: 18px;
	text-align: center;
	font-size: 13px;
	color: var(--ink-mute);
}

/* ── Fluent Forms markup, restyled to match the design's .field look ── */
.tbz-contact .form-card .fluentform .ff-el-group {
	margin: 0 0 22px;
}

.tbz-contact .form-card .fluentform .ff-el-group:last-of-type {
	margin-bottom: 0;
}

.tbz-contact .form-card .ff-el-input--label label {
	display: block;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 9px;
}

/* Fluent Forms renders the required asterisk itself (.asterisk-right label:after);
   only recolour it to the brand orange, do not re-add content. */
.tbz-contact .form-card .ff-el-is-required.asterisk-right label:after {
	color: var(--orange);
}

.tbz-contact .form-card .ff-el-form-control {
	width: 100%;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--offwhite);
	border: 1.5px solid var(--rule-card);
	border-radius: 8px;
	padding: 13px 15px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	-webkit-appearance: none;
	appearance: none;
}

.tbz-contact .form-card textarea.ff-el-form-control {
	resize: vertical;
	min-height: 132px;
}

.tbz-contact .form-card .ff-el-form-control:focus {
	outline: none;
	border-color: var(--teal);
	background: var(--white);
	box-shadow: 0 0 0 3px rgba(1, 148, 148, 0.14);
}

.tbz-contact .form-card .ff-el-form-control::placeholder {
	color: var(--ink-mute);
}

/* Custom dropdown chevron on the select (FF strips the design's .select-wrap) */
.tbz-contact .form-card select.ff-el-form-control {
	background-image:
		linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
		linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
	background-position:
		calc(100% - 20px) calc(50% - 2px),
		calc(100% - 15px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 40px;
}

/* Submit button → design's full-width orange primary */
.tbz-contact .form-card .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 8px;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	border: none;
	border-radius: 6px;
	padding: 16px 28px;
	cursor: pointer;
	background: var(--orange);
	color: var(--white);
	box-shadow: 0 10px 26px -12px rgba(255, 81, 0, 0.7);
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tbz-contact .form-card .ff-btn-submit:hover {
	background: var(--orange-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -12px rgba(255, 81, 0, 0.75);
}

/* Inline validation + success / error messages */
.tbz-contact .form-card .ff-el-is-error .ff-el-form-control {
	border-color: var(--orange);
}

.tbz-contact .form-card .error.text-danger,
.tbz-contact .form-card .ff-el-is-error .text-danger {
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-size: 13px;
	color: var(--orange-dark);
	margin-top: 6px;
}

.tbz-contact .form-card .ff-message-success {
	background: var(--light-teal);
	border: 1px solid var(--teal-soft);
	border-radius: 10px;
	padding: 18px 20px;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--teal-dark);
}

/* ──────── FAQ ──────── */
.tbz-contact .faq-section {
	background: var(--white);
	padding: 88px 0;
}

.tbz-contact .faq-section .head {
	max-width: 820px;
	margin: 0 auto 8px;
	padding: 0 56px;
}

.tbz-contact .faq-section h2 {
	font-family: 'Fraunces', serif;
	font-size: 38px;
	letter-spacing: -0.022em;
	font-weight: 500;
	color: var(--ink);
	max-width: 520px;
	margin: 0;
	font-variation-settings: 'opsz' 120;
}

.tbz-contact .faq-section .head p {
	font-size: 17px;
	color: var(--ink-2);
	margin: 16px 0 0;
	max-width: 540px;
}

.tbz-contact .faq-list {
	max-width: 820px;
	margin: 34px auto 0;
	padding: 0 56px;
}

.tbz-contact details.qa {
	border-bottom: 1px solid var(--rule-soft);
}

.tbz-contact details.qa:first-child {
	border-top: 1px solid var(--rule-soft);
}

.tbz-contact details.qa summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 26px 4px 26px 0;
	font-family: 'Fraunces', serif;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--ink);
	transition: color 0.18s ease;
}

.tbz-contact details.qa summary::-webkit-details-marker {
	display: none;
}

.tbz-contact details.qa summary:hover {
	color: var(--teal);
}

.tbz-contact .qa-icon {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	margin-top: 3px;
	border-radius: 50%;
	border: 2px solid var(--rule-card);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.tbz-contact .qa-icon::before,
.tbz-contact .qa-icon::after {
	content: '';
	position: absolute;
	background: var(--ink-2);
	border-radius: 2px;
	transition: all 0.25s ease;
}

.tbz-contact .qa-icon::before {
	width: 11px;
	height: 2px;
}

.tbz-contact .qa-icon::after {
	width: 2px;
	height: 11px;
}

.tbz-contact details.qa[open] .qa-icon {
	border-color: var(--teal);
	background: var(--teal);
}

.tbz-contact details.qa[open] .qa-icon::before {
	background: var(--white);
}

.tbz-contact details.qa[open] .qa-icon::after {
	transform: scaleY(0);
	background: var(--white);
}

.tbz-contact .qa-q {
	flex: 1;
}

.tbz-contact .qa-a {
	padding: 0 4px 28px 44px;
	overflow: hidden;
}

.tbz-contact .qa-a p {
	font-family: 'Atkinson Hyperlegible', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-2);
	max-width: 680px;
	margin: 0;
}

.tbz-contact .qa-a p strong {
	color: var(--ink);
	font-weight: 700;
}

.tbz-contact .qa-a a {
	color: var(--teal);
	font-weight: 700;
	text-underline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
	.tbz-contact details.qa[open] .qa-a {
		animation: tbzQaReveal 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	}

	@keyframes tbzQaReveal {
		from {
			opacity: 0;
			transform: translateY(-6px);
		}

		to {
			opacity: 1;
			transform: none;
		}
	}
}

/* ──────── CLOSING / FINAL CTA ──────── */
.tbz-contact .final-cta {
	background: var(--teal);
	color: var(--white);
	padding: 96px 0;
	position: relative;
	overflow: hidden;
}

.tbz-contact .final-cta::before,
.tbz-contact .final-cta::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	z-index: 0;
}

.tbz-contact .final-cta::before {
	right: -120px;
	top: -120px;
	width: 320px;
	height: 320px;
	background: rgba(255, 255, 255, 0.06);
}

.tbz-contact .final-cta::after {
	left: -100px;
	bottom: -120px;
	width: 280px;
	height: 280px;
	background: rgba(255, 81, 0, 0.12);
}

.tbz-contact .final-cta .inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 32px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.tbz-contact .final-cta h2 {
	font-family: 'Fraunces', serif;
	color: var(--white);
	font-size: 46px;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -0.025em;
	margin: 0 0 22px;
	font-variation-settings: 'opsz' 144;
}

.tbz-contact .final-cta .body-large {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.86);
	margin: 0 auto;
	max-width: 600px;
}

.tbz-contact .final-cta .ctas {
	margin-top: 36px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: center;
}

/* ──────── MOBILE ──────── */
@media (max-width: 880px) {
	.tbz-contact .contact-hero {
		padding: 64px 0 68px;
	}

	.tbz-contact .contact-hero .inner {
		padding: 0 22px;
	}

	.tbz-contact .contact-hero h1 {
		font-size: 44px;
	}

	.tbz-contact .contact-hero .subhead {
		font-size: 18px;
	}

	.tbz-contact .contact-section {
		padding: 56px 0;
	}

	.tbz-contact .contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 0 22px;
	}

	.tbz-contact .contact-intro h2 {
		font-size: 28px;
	}

	.tbz-contact .form-card {
		padding: 30px 24px 34px;
	}

	.tbz-contact .faq-section {
		padding: 56px 0;
	}

	.tbz-contact .faq-section .head,
	.tbz-contact .faq-list {
		padding-left: 22px;
		padding-right: 22px;
	}

	.tbz-contact .faq-section h2 {
		font-size: 30px;
	}

	.tbz-contact details.qa summary {
		font-size: 18px;
		gap: 14px;
	}

	.tbz-contact .qa-a {
		padding-left: 40px;
	}

	.tbz-contact .final-cta {
		padding: 64px 0;
	}

	.tbz-contact .final-cta h2 {
		font-size: 32px;
	}
}

@media (max-width: 480px) {
	.tbz-contact .contact-hero h1 {
		font-size: 36px;
	}

	.tbz-contact .faq-section h2 {
		font-size: 26px;
	}

	.tbz-contact details.qa summary {
		font-size: 17px;
	}

	.tbz-contact .final-cta h2 {
		font-size: 27px;
	}
}
