/**
 * Variant CSS: offer--single-split-panel
 * Layer 2 — Path B universal offer variant (authored 2026-06-10).
 *
 * Concept: ONE flagship service in a two-column split — the text column (left)
 * carries a kicker, oversized title, a generous description, a price block and one
 * primary CTA; the media column (right) is a calm TINTED ACCENT PANEL (no photo)
 * holding an oversized line-icon glyph and a short three-item meta list. All the
 * "media" is colour + type, so the variant never needs an image.
 * Built for Element Count: 1 (the rebuild keeps exactly one service).
 *
 * Differentiator vs sibling EC=1 offer variants:
 *   - feature-list-photo-split: a checklist beside a real PHOTO.
 *   - signature-spotlight-poster: a DARK, centred poster with a ghost numeral.
 *   - solo-feature-statement: a single LIGHT centred editorial card.
 *   THIS one: a LIGHT asymmetric split, text vs a solid accent colour panel.
 *
 * Colour intent: the aside panel paints its own --accent surface, so EVERY text
 * node on it uses --on-accent (per CLAUDE.md anti-pattern rule — never --bg-main
 * as foreground). The text column lives on the section --background and uses --ink
 * family. The accent panel is NOT a self-dark band (it is the accent hue, kept out
 * of the ABAB dark-detection), so no light-alternation exclusion is needed.
 *
 * area-1-* tokens: title, desc, price, meta_1..3 (panel list). Section: kicker, cta.
 */

/* == Section shell == */
body.aibt-universal .universal-offer--single-split-panel {
	padding-block: calc(clamp(var(--space-xl), 8vw, var(--space-3xl)) * var(--density, 1));
}

/* Split: roomy gutter, centred vertical alignment so the panel and the text
   block balance optically even when their heights differ. */
body.aibt-universal .universal-offer--single-split-panel .universal-offer__split {
	gap: clamp(var(--space-lg), 5vw, var(--space-2xl)) !important;
	align-items: center;
}

/* == Text column == */
body.aibt-universal .universal-offer--single-split-panel .universal-offer__kicker {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-widest);
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 var(--space-md) 0;
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0 0 var(--space-md) 0;
	max-width: 18ch;
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__title em {
	font-style: italic;
	color: var(--italic-color, var(--accent));
	font-weight: var(--italic-weight, 600);
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__desc {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--ink-soft, var(--ink));
	margin: 0 0 var(--space-lg) 0;
	max-width: 50ch;
}

/* == Foot: price + CTA == */
body.aibt-universal .universal-offer--single-split-panel .universal-offer__foot {
	gap: clamp(var(--space-md), 4vw, var(--space-xl)) !important;
	row-gap: var(--space-md) !important;
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__price-label {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--ink-soft, var(--ink));
	margin: 0 0 0.15rem 0;
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__price {
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.2vw, 2.4rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0;
}

/* Primary CTA — solid accent button. */
body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta .wp-block-button__link {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	color: var(--cta-text-primary, #ffffff);
	background: var(--cta-bg-primary, var(--accent));
	padding: 0.95rem 2.1rem;
	border: 1px solid transparent;
	border-radius: var(--decor-radius);
	transition:
		background-color var(--duration-fast) var(--ease-default),
		transform var(--duration-fast) var(--ease-default);
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta .wp-block-button__link:hover {
	background: var(--accent-hover, var(--accent));
	transform: translateY(-2px);
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* == Accent panel (right column) == */
/* Solid accent surface — all text inside uses --on-accent for guaranteed contrast. */
body.aibt-universal .universal-offer--single-split-panel .universal-offer__panel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--accent);
	border-radius: var(--decor-radius);
	padding: clamp(var(--space-lg), 4vw, var(--space-2xl));
	min-height: 18rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-lg);
}

/* Oversized line glyph — sits large at the top of the panel, gently faded. */
body.aibt-universal .universal-offer--single-split-panel .universal-offer__glyph {
	display: inline-flex;
	color: var(--on-accent, #ffffff);
	opacity: 0.92;
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__glyph svg {
	width: clamp(3rem, 7vw, 4.5rem);
	height: clamp(3rem, 7vw, 4.5rem);
}

/* Meta list — three short proof points, hairline-separated, on the accent panel. */
body.aibt-universal .universal-offer--single-split-panel .universal-offer__meta {
	display: flex;
	flex-direction: column;
	gap: 0;
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__meta-item {
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 500;
	line-height: 1.4;
	color: var(--on-accent, #ffffff);
	margin: 0;
	padding-block: var(--space-sm);
	border-top: 1px solid color-mix(in srgb, var(--on-accent, #ffffff) 28%, transparent);
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__meta-item:first-child {
	border-top: 0;
	padding-top: 0;
}

body.aibt-universal .universal-offer--single-split-panel .universal-offer__meta-item:last-child {
	padding-bottom: 0;
}

/* == Responsive == */
/* Desktop (≥960): widen the title slightly; the columns already split via WP. */
@media (min-width: 960px) {
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__title {
		font-size: clamp(2.6rem, 3.6vw, 3.6rem);
	}
}

/* Tablet (641-959): keep the two columns but tighten the gutter and panel padding. */
@media (min-width: 641px) and (max-width: 959px) {
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__split {
		gap: var(--space-lg) !important;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__panel {
		padding: clamp(var(--space-md), 4vw, var(--space-lg));
		min-height: 0;
	}
}

/* Mobile (≤640): stack to one column (panel below the text), drop uppercase
   tracking (reads as gaps at narrow widths — A5), full-width CTA tap target. */
@media (max-width: 640px) {
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__split {
		flex-direction: column !important;
		gap: var(--space-lg) !important;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__text,
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__panel {
		width: 100% !important;
		flex-basis: 100% !important;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__panel {
		min-height: 0;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__kicker,
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__price-label {
		letter-spacing: 0;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__foot {
		flex-direction: column !important;
		align-items: stretch !important;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta-wrap,
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta {
		width: 100%;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta .wp-block-button__link {
		display: block;
		text-align: center;
	}
}

/* == Motion respect == */
@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta .wp-block-button__link {
		transition: none;
	}
	body.aibt-universal .universal-offer--single-split-panel .universal-offer__cta .wp-block-button__link:hover {
		transform: none;
	}
}
