/* Zen Aura — Pendant offer block (acf/za-offer). ZA-MARKER: offer-styles */

.za-offer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--wp--preset--color--glow);
	padding-top: calc(var(--wp--preset--spacing--100) * 0.6);
	padding-bottom: calc(var(--wp--preset--spacing--100) * 0.6);
}

.za-offer::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 2%;
	left: -14%;
	width: min(50rem, 80vw);
	aspect-ratio: 900 / 760;
	background: var(--wp--custom--texture--wash-gold) center / contain no-repeat;
	opacity: 0.85;
}

.za-offer::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -16%;
	bottom: 14%;
	width: min(44rem, 70vw);
	aspect-ratio: 900 / 760;
	background: var(--wp--custom--texture--wash-lavender) center / contain no-repeat;
	opacity: 0.45;
}

.za-offer__grid {
	display: grid;
	gap: var(--wp--preset--spacing--80);
	align-items: center;
}

.za-offer__media {
	position: relative;
	justify-self: center;
	width: min(80%, 25rem);
}

.za-offer__blob {
	aspect-ratio: 4 / 5.2;
	border-radius: var(--wp--custom--radius--blob-a);
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--lift);
}

.za-offer__blob img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 78%;
}

@media (prefers-reduced-motion: no-preference) {
	.za-offer__blob {
		animation: za-breathe 16s var(--wp--custom--ease--breath) infinite alternate;
	}
}

@keyframes za-breathe {
	to { border-radius: var(--wp--custom--radius--blob-b); }
}

.za-seal {
	position: absolute;
	top: 6%;
	right: -1.5rem;
	width: clamp(7.5rem, 16vw, 9.5rem);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: var(--wp--custom--radius--round);
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--gold-pale);
	box-shadow: var(--wp--preset--shadow--lift);
}

.za-seal__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.za-seal__ring text {
	font-family: var(--wp--preset--font-family--body);
	font-size: 12.5px;
	font-weight: var(--wp--custom--weight--medium);
	letter-spacing: 0.14em;
	fill: currentColor;
}

:lang(si) .za-seal__ring text {
	letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: no-preference) {
	.za-seal__ring {
		animation: za-orbit var(--wp--custom--duration--seal) linear infinite;
	}
}

.za-seal__centre {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: var(--wp--preset--font-size--md);
	line-height: 1.05;
	text-align: center;
	color: var(--wp--preset--color--raised);
	max-width: 5.5em;
}

.za-offer__sprig {
	position: absolute;
	left: -2.5rem;
	bottom: -1.5rem;
	width: 6.5rem;
	opacity: 0.8;
}

.za-offer__content {
	display: grid;
	justify-items: start;
	gap: var(--wp--preset--spacing--50);
}

.za-offer .za-offer__flag {
	padding: 0.3rem 0.95rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--gold-pale);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: var(--wp--custom--weight--medium);
}

.za-offer .za-offer__content h2 {
	color: var(--wp--preset--color--brand);
	max-width: 15ch;
}

:lang(si) .za-offer .za-offer__content h2 {
	max-width: 18em;
}

.za-offer__copy {
	font-size: var(--wp--preset--font-size--md);
	line-height: var(--wp--custom--leading--snug);
	max-width: 44ch;
}

.za-offer .za-steps {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	margin-block: var(--wp--preset--spacing--40);
}

.za-step {
	position: relative;
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: var(--wp--preset--spacing--40);
	align-items: start;
}

.za-step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 1.5rem;
	top: 3.3rem;
	bottom: calc(var(--wp--preset--spacing--50) * -1 + 0.3rem);
	border-left: 1px dashed var(--wp--preset--color--accent-strong);
}

.za-step__num {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: var(--wp--custom--radius--round);
	border: 1px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--raised);
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: var(--wp--preset--font-size--lg);
	color: var(--wp--preset--color--brand);
}

.za-offer .za-step__title {
	font-size: var(--wp--preset--font-size--md);
	color: var(--wp--preset--color--brand);
	padding-top: 0.55rem;
}

.za-step p {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--soft);
}

@media (min-width: 56rem) {
	.za-offer__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		column-gap: var(--wp--preset--spacing--90);
	}
}

/* Pendant strip */
.za-pendants {
	margin-top: var(--wp--preset--spacing--90);
}

.za-offer .za-pendants__title {
	font-size: var(--wp--preset--font-size--lg);
	color: var(--wp--preset--color--brand);
	margin-bottom: var(--wp--preset--spacing--60);
}

.za-pendants__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(5.75rem, 1fr);
	gap: var(--wp--preset--spacing--40);
	overflow-x: auto;
	padding-bottom: var(--wp--preset--spacing--40);
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--gold-light) transparent;
}

.za-pendant {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	justify-items: center;
	scroll-snap-align: start;
}

.za-pendant__media {
	width: 100%;
	aspect-ratio: 3 / 5;
	border: 3px solid var(--wp--preset--color--raised);
	box-shadow: var(--wp--preset--shadow--soft);
}

.za-pendant:nth-child(odd) .za-pendant__media {
	translate: 0 0.75rem;
}

.za-pendant__name {
	margin-top: 0.85rem;
	font-size: var(--wp--preset--font-size--xs);
	text-align: center;
	color: var(--wp--preset--color--soft);
	line-height: 1.3;
}
