/* ==========================================================================
   Contact + Get Started pages: page-contact.php / page-get-started.php
   (.wf-contact, alongside .wf-industry.wf-service -- see inc/contact.php).

   Loaded AFTER assets/css/industry.css and assets/css/service.css, which own
   the shared section primitives these templates reuse (.wf-industry__section,
   .wf-home-head, .wf-svc-grid, .wf-svc-tile, .wf-svc-checklist, .wf-ind-faq).
   Only the contact-only blocks live here: the form grid, the embedded-form
   chrome (WPForms + HubSpot), the step-number badge, and the details grid.

   SPECIFICITY NOTE -- same as industry.css/service.css: Elementor's kit
   stylesheet ships element rules at 0-1-1 (.elementor-kit-6 a / button / img),
   which beat a bare single class, so the .wf-contact scope on every rule
   (plus the resets below) is load-bearing, not cosmetic.
   ========================================================================== */

/* ---------- Scope resets ---------- */
body .wf-contact a {
	color: inherit;
}

body .wf-contact img {
	border-radius: 0;
	max-width: 100%;
	height: auto;
}

.wf-contact [hidden] {
	display: none !important;
}

/* ---------- Form section ---------- */
.wf-contact__form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 56px);
	align-items: start;
}

@media (min-width: 900px) {
	.wf-contact__form-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	}
}

.wf-contact__form-copy {
	min-width: 0;
}

.wf-contact__form-intro {
	margin-top: 16px;
	font: 400 1.0625rem/1.7 var(--wf-font-body);
	color: var(--wf-text);
}

.wf-contact__form-intro > :first-child {
	margin-top: 0;
}

.wf-contact__form-intro p {
	margin: 0 0 1em;
}

.wf-contact__form-intro > :last-child {
	margin-bottom: 0;
}

.wf-contact__form-intro a {
	color: var(--wf-blue);
	text-decoration: underline;
}

.wf-contact__form-col {
	min-width: 0;
}

.wf-contact__embed {
	background: var(--wf-white);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-md);
	padding: 28px;
	box-shadow: var(--wf-shadow-sm);
}

.wf-contact__privacy {
	margin: 16px 4px 0;
	font: 400 .8125rem/1.5 var(--wf-font-body);
	color: var(--wf-text-mute);
}

.wf-contact__privacy a {
	color: var(--wf-blue);
	text-decoration: underline;
}

/* WPForms (Contact page) -- normalised to the site's own field/button style. */
.wf-contact .wpforms-form input[type="text"],
.wf-contact .wpforms-form input[type="email"],
.wf-contact .wpforms-form input[type="tel"],
.wf-contact .wpforms-form input[type="url"],
.wf-contact .wpforms-form input[type="number"],
.wf-contact .wpforms-form textarea,
.wf-contact .wpforms-form select {
	box-sizing: border-box;
	width: 100%;
	padding: 12px;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-sm);
	font: 400 1rem/1.4 var(--wf-font-body);
	color: var(--wf-text-dark);
	background: var(--wf-white);
}

.wf-contact .wpforms-form input:focus,
.wf-contact .wpforms-form textarea:focus,
.wf-contact .wpforms-form select:focus {
	outline: 2px solid var(--wf-cyan);
	outline-offset: 1px;
}

.wf-contact .wpforms-submit {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font: 600 1rem/1 var(--wf-font-body);
	text-transform: uppercase;
	letter-spacing: .02em;
	padding: 13px 21px;
	border: 0;
	border-radius: var(--wf-radius-sm);
	background: linear-gradient(90deg, var(--wf-blue) 0%, var(--wf-cyan) 100%);
	color: var(--wf-white);
	cursor: pointer;
	transition: background var(--wf-dur) var(--wf-ease), color var(--wf-dur) var(--wf-ease);
}

.wf-contact .wpforms-submit:hover,
.wf-contact .wpforms-submit:focus-visible {
	background: var(--wf-gold);
	color: var(--wf-navy);
}

/* HubSpot embed (Get Started page) -- reserve height so the form column does
   not visibly jump once js.hsforms.net finishes loading and swaps in the
   iframe. */
.wf-contact .hs-form-frame {
	min-height: 480px;
}

/* ---------- "Point Me in the Right Direction" / "What Happens Next" ---------- */
.wf-contact__step-num {
	display: block;
	margin-bottom: 16px;
	font: 800 1.5rem/1 var(--wf-font-display);
	color: var(--wf-blue);
}

/* ---------- Contact details grid ---------- */
.wf-contact__details-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(24px, 4vw, 40px);
	align-items: start;
}

@media (min-width: 900px) {
	.wf-contact__details-grid {
		grid-template-columns: 1.1fr 1fr;
	}
}

.wf-contact__map {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--wf-radius-md);
	background: var(--wf-bg-blue);
}

.wf-contact__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.wf-contact__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 600px) {
	.wf-contact__cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

.wf-contact__card {
	padding: 24px;
	background: var(--wf-white);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-md);
}

.wf-contact__card-icon {
	display: block;
	width: 24px;
	height: 24px;
	margin-bottom: 14px;
	color: var(--wf-blue);
}

.wf-contact__card-title {
	font-size: 1.0625rem;
	color: var(--wf-text-dark);
}

.wf-contact__card-text {
	margin: 10px 0 0;
	font: 400 .9375rem/1.6 var(--wf-font-body);
	color: var(--wf-text);
}

.wf-contact__card-text a {
	color: var(--wf-blue);
	text-decoration: underline;
}

.wf-contact__card-note {
	margin: 10px 0 0;
	font: 600 .9375rem/1.5 var(--wf-font-body);
	color: var(--wf-text-dark);
}

.wf-contact__card-sub {
	margin: 4px 0 0;
	font: 400 .875rem/1.5 var(--wf-font-body);
	color: var(--wf-text-mute);
}

.wf-contact__inline-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	color: var(--wf-blue);
	vertical-align: -2px;
}

.wf-contact__socials {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.wf-contact__socials a {
	font: 600 .875rem/1.4 var(--wf-font-body);
	color: var(--wf-blue);
	text-decoration: underline;
}

.wf-contact__socials a:hover {
	color: var(--wf-blue-hover);
}

/* ---------- FAQ intro ---------- */
.wf-contact__faq-intro {
	max-width: 860px;
	margin: -8px auto 32px;
	text-align: center;
	font: 400 1.0625rem/1.6 var(--wf-font-body);
	color: var(--wf-text);
	white-space: pre-line;
}
