/**
 * Variant CSS: offer--single-centered-spotlight
 * Layer 2 — Path B universal offer variant (authored 2026-06-10).
 *
 * Concept: ONE flagship service presented as a calm, centred SPOTLIGHT. A large
 * round accent MARK (an ordinal "01" inside a filled accent disc) sits ABOVE the
 * title; below it the title, description and an optional price block, then one
 * primary CTA. No card, frame or panel — just composition and breathing room
 * around a single proposition. Centred throughout.
 * Built for Element Count: 1 (the rebuild keeps exactly one service).
 *
 * Differentiator vs sibling EC=1 offer variants:
 *   - single-price-card: a narrow, ELEVATED price card on a light surface.
 *   - bordered-feature-panel: a framed centred panel with corner ticks.
 *   - signature-spotlight-poster: a DARK poster with a ghost numeral behind type.
 *   - solo-feature-statement: a single light card with an icon + text-link.
 *   THIS one: chrome-less, centred, anchored by a round accent MEDALLION mark.
 *
 * Colour intent: the round mark paints a solid --accent disc, so the ordinal glyph
 * inside it uses --on-accent (never a bg token as foreground — KI-020). All other
 * text lives on the section --background and uses --text-primary / --text-secondary.
 * Centred direct children of the alignfull constrained section get margin-inline
 * auto so they never drift left (A8/A9).
 *
 * area-1-* tokens: title, desc, price. Section: kicker, deck (headline), cta.
 */

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

/* == Intro (kicker + headline + deck) == */
body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__intro {
	margin: 0 auto var(--space-xl) auto;
}

body.aibt-universal .universal-offer--single-centered-spotlight .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 auto var(--space-sm) auto;
}

body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__headline {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--text-primary);
	margin: 0 auto;
	max-width: 22ch;
}

body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__deck {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--leading-relaxed);
	color: var(--text-secondary);
	margin: var(--space-sm) auto 0 auto;
	max-width: 52ch;
}

/* == Spotlight column (the single offer) == */
body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__spotlight {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Round accent mark — a filled accent disc carrying the ordinal, softly ringed. */
body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(4rem, 9vw, 5.5rem);
	height: clamp(4rem, 9vw, 5.5rem);
	margin: 0 auto var(--space-lg) auto;
	border-radius: var(--radius-pill);
	background: var(--accent);
	box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent);
}

body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__mark-ordinal {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1;
	letter-spacing: -0.02em;
	/* On a solid accent disc — use --on-accent, never a bg token (KI-020). */
	color: var(--on-accent, #ffffff);
}

body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--text-primary);
	margin: 0 auto var(--space-md) auto;
	max-width: 18ch;
	text-wrap: balance;
}

body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__desc {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--text-secondary);
	margin: 0 auto var(--space-lg) auto;
	max-width: 52ch;
}

/* == Price block == */
body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__price-block {
	margin: 0 auto var(--space-lg) auto;
}

body.aibt-universal .universal-offer--single-centered-spotlight .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(--text-secondary);
	margin: 0 auto 0.2rem auto;
}

body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__price {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.4vw, 3rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--text-primary);
	margin: 0 auto;
	/* Keep "wycena indywidualna" from breaking mid-word. */
	overflow-wrap: normal;
	word-break: keep-all;
}

/* == CTA — solid accent button == */
body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__cta-wrap {
	justify-content: center;
}

body.aibt-universal .universal-offer--single-centered-spotlight .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, var(--on-accent, #ffffff));
	background: var(--cta-bg-primary, var(--accent));
	padding: 0.95rem 2.1rem;
	border: 1px solid transparent;
	border-radius: var(--decor-radius, var(--radius-md));
	transition:
		background-color var(--duration-fast, 0.2s) var(--ease-default, ease),
		transform var(--duration-fast, 0.2s) var(--ease-default, ease);
}

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

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

/* == Responsive == */
/* Tablet (641-959): ease the title band so it never crowds the mark. */
@media (min-width: 641px) and (max-width: 959px) {
	body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__title {
		font-size: clamp(2rem, 4.6vw, 2.6rem);
	}
}

/* Mobile (≤640): drop uppercase tracking (reads as gaps at narrow widths — A5),
   shrink the mark a touch, give the CTA a full-width tap target. */
@media (max-width: 640px) {
	body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__kicker,
	body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__price-label {
		letter-spacing: 0;
	}
	body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__mark {
		width: 3.75rem;
		height: 3.75rem;
	}
	body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__cta-wrap,
	body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__cta {
		width: 100%;
	}
	body.aibt-universal .universal-offer--single-centered-spotlight .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-centered-spotlight .universal-offer__cta .wp-block-button__link {
		transition: none;
	}
	body.aibt-universal .universal-offer--single-centered-spotlight .universal-offer__cta .wp-block-button__link:hover {
		transform: none;
	}
}
