/* =========================================================================
   Boyle Built — Consultation CTA Strip

   Four genuine visual variants sharing one content structure:

     --light-wood       warm tan panel (confirmed by the Planning
                        Checklist Figma frame, Phase I3 — a horizontal
                        row at desktop: icon+text left, actions right,
                        dark text), same layout family as --dark-timber
     --dark-timber      plain block on var(--color-dark-green-1) — the same
                        dark-section token Trust Bar/Projects already use —
                        horizontal row at desktop (confirmed by the Buying
                        Guide Figma frame, Phase I2), light text
     --scenic-image     full-bleed photo + overlay (same structural pattern
                        as the homepage CTA Banner, cta-banner.css),
                        LEFT-aligned, no icon, light text — confirmed by
                        the Plans Figma frame (Phase I6, node 122:10), the
                        first real evidence for this variant
     --project-feature  split composition: content column + a real in-flow
                        image column (not an overlay), left aligned, on
                        var(--color-bg) — still unproven/placeholder
     --bordered          plain var(--color-bg) panel with a hairline top/
                        bottom border (var(--color-border-light)) — same
                        icon+text-left/actions-right row family as
                        --light-wood/--dark-timber, but its own colour
                        treatment; confirmed by the About page's final
                        CTA band (Phase I8, node 218:174), which is
                        visibly lighter than --light-wood's warm tan

   Outer spacing uses the shared --space-section-v/-h tokens (base.css)
   rather than new fixed numbers, matching internal-hero.css.
   ========================================================================= */

.consultation-strip {
	position: relative;
	display: flex;
	overflow: hidden;
	width: 100%;
}

.consultation-strip__media {
	position: absolute;
	inset: 0;
}

.consultation-strip__media-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.consultation-strip__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(13, 20, 15, 0.65);
}

.consultation-strip__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: var(--space-section-v) var(--space-section-h);
	gap: 24px;
}

.consultation-strip__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.consultation-strip__icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
	flex-shrink: 0;
}

.consultation-strip__eyebrow {
	margin: 0;
	color: var(--color-gold);
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 11px;
	text-transform: uppercase;
}

.consultation-strip__heading {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
}

.consultation-strip__text {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.6;
	max-width: 560px;
}

.consultation-strip__features {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.consultation-strip__feature {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
}

.consultation-strip__feature-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.consultation-strip__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.consultation-strip__actions .btn {
	width: 100%;
}

.consultation-strip__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
}

.consultation-strip__phone a {
	color: var(--color-gold);
	text-decoration: none;
}

.consultation-strip__phone a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.consultation-strip__image-wrapper {
	width: 100%;
}

.consultation-strip__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-card);
}

/* -------------------------------------------------------------------------
   Variant backgrounds/text colour
   ------------------------------------------------------------------------- */

/* Sampled from the Planning Checklist Figma frame — a warm tan,
   distinctly different from the plain --color-bg cream used elsewhere. */
.consultation-strip--light-wood {
	background-color: #e6d9c9;
}

.consultation-strip--project-feature {
	background-color: var(--color-bg);
}

/* Confirmed by the Figma frame: a shorter, compact divider band
   (py-48px) rather than the shared --space-section-v used by every
   other variant. */
.consultation-strip--bordered .consultation-strip__inner {
	padding-top: 32px;
	padding-bottom: 32px;
}

.consultation-strip--bordered {
	background-color: var(--color-bg);
	border-top: 1px solid var(--color-border-light);
	border-bottom: 1px solid var(--color-border-light);
}

.consultation-strip--light-wood .consultation-strip__heading,
.consultation-strip--project-feature .consultation-strip__heading,
.consultation-strip--bordered .consultation-strip__heading {
	color: var(--color-ink);
}

.consultation-strip--light-wood .consultation-strip__text,
.consultation-strip--project-feature .consultation-strip__text,
.consultation-strip--bordered .consultation-strip__text,
.consultation-strip--light-wood .consultation-strip__feature,
.consultation-strip--project-feature .consultation-strip__feature,
.consultation-strip--bordered .consultation-strip__feature {
	color: var(--color-body-muted);
}

.consultation-strip--light-wood .consultation-strip__phone,
.consultation-strip--project-feature .consultation-strip__phone,
.consultation-strip--bordered .consultation-strip__phone {
	color: var(--color-ink);
}

/* 'bordered' (Phase I8) sizes its icon larger (48px) than the shared
   40px default — confirmed by the About page CTA's circle-x icon. */
.consultation-strip--bordered .consultation-strip__icon {
	width: 48px;
	height: 48px;
}

/* 'bordered' is a compact single-line CTA band, not a big cinematic CTA —
   the Figma frame shows its heading at 28px even at 1440px wide, well
   below the other variants' 40px desktop size. Scaled down conservatively
   for the smaller breakpoints (no tablet/mobile frame was available). */
.consultation-strip--bordered .consultation-strip__heading {
	font-size: 20px;
}

.consultation-strip--dark-timber {
	background-color: var(--color-dark-green-1);
}

.consultation-strip--dark-timber .consultation-strip__heading,
.consultation-strip--scenic-image .consultation-strip__heading,
.consultation-strip--dark-timber .consultation-strip__phone,
.consultation-strip--scenic-image .consultation-strip__phone {
	color: var(--color-text-light);
}

.consultation-strip--dark-timber .consultation-strip__text,
.consultation-strip--scenic-image .consultation-strip__text,
.consultation-strip--dark-timber .consultation-strip__feature,
.consultation-strip--scenic-image .consultation-strip__feature {
	color: var(--color-text-muted-lt1);
}

/* -------------------------------------------------------------------------
   Alignment: centred (light-wood / dark-timber / scenic-image) vs.
   left-aligned split composition (project-feature)
   ------------------------------------------------------------------------- */

.consultation-strip--light-wood .consultation-strip__inner,
.consultation-strip--dark-timber .consultation-strip__inner,
.consultation-strip--bordered .consultation-strip__inner {
	align-items: center;
}

.consultation-strip--light-wood .consultation-strip__content,
.consultation-strip--dark-timber .consultation-strip__content,
.consultation-strip--bordered .consultation-strip__content {
	align-items: center;
	text-align: center;
}

.consultation-strip--light-wood .consultation-strip__actions,
.consultation-strip--dark-timber .consultation-strip__actions,
.consultation-strip--bordered .consultation-strip__actions {
	align-items: center;
}

/* 'scenic-image' (Plans CTA, Phase I6) and 'project-feature' both stay
   left-aligned at every width — confirmed for 'scenic-image' by the Plans
   Figma frame: content stacks at the left edge over the photo, no
   centring, no icon. */
.consultation-strip--scenic-image .consultation-strip__inner {
	align-items: flex-start;
}

.consultation-strip--scenic-image .consultation-strip__content,
.consultation-strip--project-feature .consultation-strip__content {
	align-items: flex-start;
	text-align: left;
}

.consultation-strip--scenic-image .consultation-strip__actions {
	align-items: flex-start;
}

.consultation-strip--project-feature .consultation-strip__image-wrapper {
	order: -1;
}

/* -------------------------------------------------------------------------
   Tablet (601–1024px)
   ------------------------------------------------------------------------- */

@media (min-width: 601px) {
	.consultation-strip__heading {
		font-size: 34px;
	}

	.consultation-strip--bordered .consultation-strip__heading {
		font-size: 24px;
	}

	.consultation-strip__inner {
		gap: 40px;
	}

	.consultation-strip__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.consultation-strip__actions .btn {
		width: auto;
	}
}

/* -------------------------------------------------------------------------
   Desktop (1025px+)
   ------------------------------------------------------------------------- */

@media (min-width: 1025px) {
	.consultation-strip__heading {
		font-size: 40px;
	}

	.consultation-strip--bordered .consultation-strip__heading {
		font-size: 28px;
	}

	.consultation-strip--bordered .consultation-strip__inner {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.consultation-strip--scenic-image .consultation-strip__content {
		max-width: 560px;
	}

	/* 'dark-timber' (Buying Guide) and 'light-wood' (Planning Checklist)
	   both have real Figma evidence for this exact treatment: a
	   horizontal row — icon + text on the left, actions on the right —
	   rather than the centred-stack treatment the other, still-unproven
	   variants keep. */
	.consultation-strip--dark-timber .consultation-strip__inner,
	.consultation-strip--light-wood .consultation-strip__inner,
	.consultation-strip--bordered .consultation-strip__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 32px;
	}

	.consultation-strip--dark-timber .consultation-strip__content,
	.consultation-strip--light-wood .consultation-strip__content,
	.consultation-strip--bordered .consultation-strip__content {
		align-items: flex-start;
		text-align: left;
		flex: 1;
	}

	.consultation-strip--dark-timber .consultation-strip__actions,
	.consultation-strip--light-wood .consultation-strip__actions,
	.consultation-strip--bordered .consultation-strip__actions {
		flex-direction: row;
		flex-shrink: 0;
	}

	.consultation-strip--project-feature .consultation-strip__inner {
		flex-direction: row;
		align-items: center;
		gap: 64px;
	}

	.consultation-strip--project-feature .consultation-strip__content,
	.consultation-strip--project-feature .consultation-strip__image-wrapper {
		flex: 1;
	}

	.consultation-strip--project-feature .consultation-strip__image-wrapper {
		order: 0;
		height: 100%;
		align-self: stretch;
	}
}
