/**
 * Consultation — page-specific styles.
 *
 * Loaded only on pages using the Consultation template
 * (page-templates/template-consultation.php) via ba_enqueue_consultation_assets().
 *
 * All other sections reuse global primitives:
 *   - Hero: .ba-section--thub-hero + .ba-thub-hero (from Treatments Hub)
 *   - Section 2: .ba-why (home)
 *   - Section 3: .ba-section--journey + .ba-steps (home / single-treatment)
 *   - Section 5: .ba-results (home)
 *   - Section 6: .ba-section--faq + .ba-faq (home)
 *   - Section 7: .ba-banner (global)
 */

/* ---------------------------------------------------------------------------
 * Section 1 — HERO
 * Grid / typography / media live in the unified hero primitive in global.css
 * §5. .ba-section--thub-hero panel comes from global.css canonical block.
 * -------------------------------------------------------------------------*/

/* ---------------------------------------------------------------------------
 * Section 2 — Top-align the "Why" right column (global default is center).
 * Also make .ba-icon a transparent inline wrapper for our custom inline SVGs.
 * -------------------------------------------------------------------------*/
.ba-why__body { justify-content: flex-start; }

/* Eyebrows above titles — .ba-eyebrow primitive (global.css §22c) already
 * provides margin-bottom: var(--ba-space-eyebrow). No per-page overrides. */

/* ---------------------------------------------------------------------------
 * Section 2 — Why start with a consultation: feature row with title + text.
 * Extends the global .ba-feature primitive (icon + body), which on Home only
 * has a single text child. Here the body wraps a title above the text.
 * -------------------------------------------------------------------------*/
.ba-feature__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}
.ba-feature__title {
	font-family: var(--ba-font-body);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.3;
	color: var(--ba-text-primary);
	margin: 0;
}
.ba-why .ba-feature__text { margin: 0; }

/* ---------------------------------------------------------------------------
 * Section 4 — 50/50 SPLIT: Prepared + Next steps
 * -------------------------------------------------------------------------*/
.ba-cons-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.ba-cons-split__card {
	padding: var(--ba-space-8);
	border-radius: var(--ba-radius-card);
}
.ba-cons-split__card--prep {
	background: rgba(252, 248, 243, 0.78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.ba-cons-split__card--next {
	background: linear-gradient(180deg, rgba(252, 248, 243, 0.9) 0%, rgba(237, 225, 213, 0.62) 100%);
}

.ba-cons-split__title {
	font-family: var(--ba-font-heading);
	font-weight: 400;
	font-size: 38px;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ba-text-primary);
	margin: 0 0 12px;
	max-width: 14ch;
}
.ba-cons-split__card--next .ba-cons-split__title { max-width: none; }
.ba-cons-split__text {
	font-family: var(--ba-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ba-text-secondary);
	margin: 0 0 32px;
}

/* ---- LEFT card: Prepared icon list ---- */
.ba-cons-prep__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--ba-space-9);
}
.ba-cons-prep__item {
	display: flex;
	align-items: center;
	gap: 14px;
}
.ba-cons-prep__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #EFE6DD;
	color: #453124;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ba-cons-prep__icon svg {
	width: 16px;
	height: 16px;
	display: block;
}
.ba-cons-prep__text {
	font-family: var(--ba-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	color: #453124;
}

/* ---- RIGHT card: 2x2 mini cards ---- */
.ba-cons-next__grid {
	margin-top: var(--ba-space-10);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.ba-cons-next__card {
	background: rgba(252, 248, 243, 0.86);
	border-radius: var(--ba-radius-card-sm);
	padding: 18px;
}
.ba-cons-next__heading {
	font-family: var(--ba-font-body);
	font-weight: 400;
	font-size: 13px;
	line-height: 1.3;
	color: #6F6258;
	margin: 0 0 var(--ba-space-6);
}
.ba-cons-next__text {
	font-family: var(--ba-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.45;
	color: #453124;
}

/* Offset the "sub" on next-card above the grid (no top margin-collapse with
 * the title since we reset .ba-cons-split__text top margin per card). */
/* Next-card text spacing handled by base .ba-cons-split__text margins. */

/* ---------------------------------------------------------------------------
 * Section 5 — Results: subtitle directly under the H2, inside .ba-sec-head.
 * -------------------------------------------------------------------------*/
.ba-cons-results__subtitle {
	font-family: var(--ba-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ba-text-secondary);
	margin: 12px 0 0;
	max-width: 640px;
}

/* ---------------------------------------------------------------------------
 * Section 3 — Consultation journey: 5 steps in one row (override home's 4).
 * -------------------------------------------------------------------------*/
@media ( min-width: 1100px ) {
	.ba-cons-journey__steps {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* ---------------------------------------------------------------------------
 * RESPONSIVE
 * -------------------------------------------------------------------------*/
@media ( max-width: 1100px ) {
	/* Hero responsive lives in global.css §5. */

	.ba-cons-split { grid-template-columns: 1fr; }
	.ba-cons-split__card { padding: var(--ba-space-7); }
	.ba-cons-split__title { font-size: 32px; margin-bottom: 10px; }
	.ba-cons-prep__list { gap: 28px; }
	.ba-cons-next__grid { margin-top: var(--ba-space-7); gap: 12px; }
}

@media ( max-width: 720px ) {
	/* Hero responsive lives in global.css §5. */

	/* Why section: text above image on mobile */
	#why .ba-why__body { order: 1; }
	#why .ba-why__media { order: 2; }

	.ba-cons-split__card { padding: var(--ba-space-6); border-radius: var(--ba-radius-lg); }
	.ba-cons-split__title { font-size: 28px; margin-bottom: 8px; }
    .ba-cons-split__text { margin-bottom: 24px; }
	.ba-cons-prep__list { gap: var(--ba-space-6); }
	.ba-cons-next__grid { grid-template-columns: 1fr; margin-top: 28px; }
	.ba-cons-next__heading { margin-bottom: 18px; }
}

/* Why media video — shift right on desktop only */
@media ( min-width: 1101px ) {
	#why .ba-why__media video { object-position: 65% center; }
}
