/* ==========================================================================
   Santharpana — site chrome, layout, hero/banner and motion
   Block-level styles live in blocks.css.
   ========================================================================== */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sp-header-total, 90px) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.sp-theme {
	background: var(--sp-cream);
	color: var(--sp-ink);
	font-family: var(--sp-font-body);
	font-size: var(--sp-base-size);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.sp-theme :is(h1, h2, h3, h4, h5, h6, .entry-title) {
	font-family: var(--sp-font-heading);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.005em;
	color: var(--sp-plum-deep);
}
body.sp-theme h1 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5rem); }
body.sp-theme h2 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.6rem); margin-bottom: 1.25rem; }
body.sp-theme h3 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); }
body.sp-theme h4 { font-size: 1.35rem; }
:where(body.sp-theme) a { color: var(--sp-plum); transition: color .3s; }
:where(body.sp-theme) a:hover { color: var(--sp-plum-deep); }
body.sp-theme ::selection { background: var(--sp-blush); color: var(--sp-plum-deep); }
body.sp-theme :focus-visible { outline: 2px solid var(--sp-plum); outline-offset: 3px; }
body.sp-theme p { margin-bottom: 1.25em; }

#page, .site { overflow-x: clip; }
.sp-wrap { width: 100%; max-width: var(--sp-wide); margin-inline: auto; padding-inline: var(--sp-gutter); }
.sp-icon { flex: none; }

/* ---------- Astra overrides for full-width pages ---------- */
body.sp-full-width #content > .ast-container,
body.sp-full-width .site-content > .ast-container { max-width: none; padding: 0; display: block; }
body.sp-full-width .site-content,
body.sp-full-width #primary,
body.sp-full-width .site-main,
body.sp-full-width .site-main > article,
body.sp-full-width .ast-article-single,
body.sp-full-width .entry-content { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body.sp-full-width #primary { width: 100%; }
body.sp-canvas .entry-content > *:not(.alignfull):not(.alignwide) {
	max-width: min(var(--sp-content), calc(100% - 2 * var(--sp-gutter)));
	margin-inline: auto;
}
body.sp-canvas .entry-content > .alignwide { max-width: min(var(--sp-wide), calc(100% - 2 * var(--sp-gutter))); margin-inline: auto; }
body.sp-canvas .entry-content > .alignfull { max-width: none; width: 100%; margin-inline: 0; }
body.sp-canvas .entry-content > :first-child:not(.alignfull) { margin-top: var(--sp-section-y); }
body.sp-canvas .entry-content > :last-child:not(.alignfull) { margin-bottom: var(--sp-section-y); }
body.sp-canvas .entry-content > .alignfull + .alignfull { margin-top: 0; }
body.sp-canvas .entry-content > .alignfull { margin-block: 0; }
body:is(.sp-top-hero, .sp-top-banner).sp-full-width .entry-header { display: none; }
body.ast-separate-container,
body.sp-theme .ast-separate-container { background-color: var(--sp-cream); }
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post { background: #fff; }
body.sp-top-banner:not(.sp-full-width) .site-content { padding-top: 0; }
body.sp-top-banner:not(.sp-full-width) #primary { margin-top: clamp(3rem, 6vw, 5rem); }

/* Solid-header pages need room for the fixed header. */
body.sp-header-solid #content { padding-top: var(--sp-header-total, 90px); }
/* Pages that start with their own Cover block: let it run under the header. */
body.sp-top-cover .entry-content > .wp-block-cover:first-child {
	padding-top: calc(var(--sp-header-total, 90px) + 3rem);
	min-height: 80svh;
}

/* ---------- Header ---------- */
.sp-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--sp-header-text);
	transition: background-color .5s var(--sp-ease), color .5s var(--sp-ease), box-shadow .5s var(--sp-ease), transform .6s var(--sp-ease-out);
}
.sp-header.is-sticky { position: fixed; }
.admin-bar .sp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sp-header.is-scrolled { top: 0; } }

body.sp-header-solid .sp-header,
.sp-header.is-scrolled {
	background: color-mix(in srgb, var(--sp-cream) 94%, transparent);
	color: var(--sp-ink);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--sp-plum) 10%, transparent), 0 18px 40px -30px rgba(42, 15, 34, .35);
}
.sp-header.is-hidden { transform: translateY(-100%); }

.sp-topbar {
	font-size: .76rem;
	letter-spacing: .04em;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	max-height: 60px;
	overflow: hidden;
	transition: max-height .5s var(--sp-ease), opacity .4s, border-color .4s;
}
.sp-topbar__inner { display: flex; align-items: center; gap: 2rem; min-height: 42px; }
.sp-topbar__item { display: flex; align-items: center; gap: .5rem; margin: 0 !important; line-height: 1.4; }
.sp-topbar__item .sp-icon { width: 14px; height: 14px; opacity: .75; }
.sp-topbar a { color: inherit !important; text-decoration: none; }
.sp-topbar a:hover { text-decoration: underline; text-underline-offset: .2em; }
.sp-topbar .sp-social { margin-left: auto; }
.sp-header.is-scrolled .sp-topbar,
body.sp-header-solid .sp-topbar { max-height: 0; opacity: 0; border-color: transparent; }
@media (max-width: 1023px) { .sp-topbar__address { display: none; } }
@media (max-width: 767px) { .sp-topbar { display: none; } }

.sp-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: 96px;
	transition: min-height .5s var(--sp-ease);
}
.sp-header.is-scrolled .sp-header__inner,
body.sp-header-solid .sp-header__inner { min-height: 76px; }

.sp-logo { display: block; flex: none; width: var(--sp-logo-w); line-height: 0; transition: width .5s var(--sp-ease); }
.sp-header.is-scrolled .sp-logo { width: calc(var(--sp-logo-w) * .78); }
.sp-logo__img { width: 100%; height: auto; display: block; }
.sp-logo__dark { display: none; }
body.sp-header-solid .sp-header .sp-logo__light,
.sp-header.is-scrolled .sp-logo__light { display: none; }
body.sp-header-solid .sp-header .sp-logo__dark,
.sp-header.is-scrolled .sp-logo__dark,
.sp-logo__img:only-child { display: block; }

/* Desktop menu */
.sp-nav { margin-left: auto; }
.sp-menu { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.sp-menu li { position: relative; margin: 0; }
.sp-nav .sp-menu > li > a {
	position: relative;
	display: inline-block;
	padding: 1.75rem 0;
	color: inherit;
	font-size: .74rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
}
.sp-nav .sp-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.35rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--sp-ease-out);
}
.sp-nav .sp-menu > li:hover > a::after,
.sp-nav .sp-menu > li > a:focus-visible::after,
.sp-nav .sp-menu > li:is(.current-menu-item, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 1439px) {
	.sp-menu { gap: clamp(1rem, 1.8vw, 1.75rem); }
	.sp-nav .sp-menu > li > a { letter-spacing: .14em; }
}
.sp-nav .menu-item-has-children > a { padding-right: 1rem !important; }
.sp-nav .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 5px;
	height: 5px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-75%) rotate(45deg);
}
.sp-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1.5rem;
	min-width: 290px;
	margin: 0;
	padding: 1rem 0;
	list-style: none;
	background: var(--sp-cream);
	color: var(--sp-ink);
	border-top: 2px solid var(--sp-plum);
	box-shadow: 0 30px 60px -30px rgba(42, 15, 34, .4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .4s var(--sp-ease-out), transform .5s var(--sp-ease-out), visibility .4s;
}
.sp-nav .sub-menu .sub-menu { top: -1rem; left: 100%; }
.sp-nav li:hover > .sub-menu,
.sp-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sp-nav .sub-menu a {
	display: block;
	padding: .55rem 1.5rem;
	color: var(--sp-ink);
	font-size: .92rem;
	line-height: 1.45;
	text-decoration: none;
	transition: color .3s, padding .4s var(--sp-ease-out), background-color .3s;
}
.sp-nav .sub-menu a:hover,
.sp-nav .sub-menu a:focus-visible { color: var(--sp-plum); padding-left: 1.85rem; background: var(--sp-sand); }

.sp-header__actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.sp-btn--header {
	background: transparent;
	border-color: currentColor;
	color: inherit;
	padding: .95rem 1.6rem .9rem;
	font-size: .68rem;
}
.sp-btn--header::before { background: var(--sp-blush); }
.sp-header .sp-btn--header:hover { color: var(--sp-plum-deep); border-color: var(--sp-blush); }
.sp-header.is-scrolled .sp-btn--header,
body.sp-header-solid .sp-btn--header { background: var(--sp-plum); border-color: var(--sp-plum); color: var(--sp-cream); }
.sp-header.is-scrolled .sp-btn--header::before,
body.sp-header-solid .sp-btn--header::before { background: var(--sp-plum-deep); }
.sp-header.is-scrolled .sp-btn--header:hover,
body.sp-header-solid .sp-btn--header:hover { color: var(--sp-cream); border-color: var(--sp-plum-deep); }

/* Burger */
.sp-burger {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.sp-burger:hover, .sp-burger:focus { background: none; color: inherit; }
.sp-burger__lines { display: grid; gap: 6px; width: 26px; }
.sp-burger__lines span { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--sp-ease-out), width .4s var(--sp-ease-out); }
.sp-burger__lines span:nth-child(2) { width: 70%; justify-self: end; }
.sp-burger:hover .sp-burger__lines span:nth-child(2) { width: 100%; }

@media (max-width: 1099px) {
	.sp-nav { display: none; }
	.sp-burger { display: inline-flex; }
	.sp-header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
	.sp-header__actions .sp-btn--header { display: none; }
}

/* Mobile panel */
.sp-mobile {
	position: fixed;
	inset: 0;
	z-index: 200;
	visibility: hidden;
	pointer-events: none;
}
.sp-mobile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 8, 16, .5);
	opacity: 0;
	transition: opacity .5s var(--sp-ease);
}
.sp-mobile__panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(440px, 100%);
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 1.25rem var(--sp-gutter) 2rem;
	overflow-y: auto;
	background: var(--sp-plum-deep);
	color: var(--sp-cream);
	isolation: isolate;
	transform: translateX(100%);
	transition: transform .7s var(--sp-ease-out);
}
.sp-mobile__panel::after {
	content: "";
	position: absolute;
	right: -70px;
	bottom: -20px;
	width: 320px;
	height: 180px;
	z-index: -1;
	background: url(../images/lotus-light.png) center / contain no-repeat;
	opacity: .06;
	pointer-events: none;
}
.sp-menu-open .sp-mobile { visibility: visible; pointer-events: auto; }
.sp-menu-open .sp-mobile::before { opacity: 1; }
.sp-menu-open .sp-mobile__panel { transform: none; }
.sp-menu-open body { overflow: hidden; }
.sp-mobile__head { display: flex; align-items: center; justify-content: space-between; }
.sp-mobile__head .sp-logo { width: 74px; }
.sp-mobile__head .sp-logo__dark { display: none; }
.sp-mobile__head .sp-logo__light { display: block; }
.sp-mobile__close { position: relative; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: none; color: inherit; cursor: pointer; padding: 0; }
.sp-mobile__close:hover, .sp-mobile__close:focus { background: rgba(255, 255, 255, .08); color: inherit; }
.sp-mobile__close span::before,
.sp-mobile__close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.sp-mobile__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sp-mobile__nav .sp-menu { display: block; }
.sp-mobile__nav .sp-menu > li {
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	opacity: 0;
	transform: translateX(30px);
	transition: opacity .6s var(--sp-ease-out), transform .7s var(--sp-ease-out);
}
.sp-menu-open .sp-mobile__nav .sp-menu > li { opacity: 1; transform: none; }
.sp-menu-open .sp-mobile__nav .sp-menu > li:nth-child(1) { transition-delay: .15s; }
.sp-menu-open .sp-mobile__nav .sp-menu > li:nth-child(2) { transition-delay: .2s; }
.sp-menu-open .sp-mobile__nav .sp-menu > li:nth-child(3) { transition-delay: .25s; }
.sp-menu-open .sp-mobile__nav .sp-menu > li:nth-child(4) { transition-delay: .3s; }
.sp-menu-open .sp-mobile__nav .sp-menu > li:nth-child(5) { transition-delay: .35s; }
.sp-menu-open .sp-mobile__nav .sp-menu > li:nth-child(n+6) { transition-delay: .4s; }
.sp-mobile__nav a {
	display: block;
	padding: .9rem 3rem .9rem 0;
	color: var(--sp-cream) !important;
	font-family: var(--sp-font-heading);
	font-size: 1.9rem;
	line-height: 1.2;
	text-decoration: none;
}
.sp-mobile__nav .sub-menu { list-style: none; margin: 0; padding: 0 0 .75rem 1rem; display: none; }
.sp-mobile__nav .is-open > .sub-menu { display: block; }
.sp-mobile__nav .sub-menu a { font-family: var(--sp-font-body); font-size: .95rem; padding: .45rem 0; opacity: .85; }
.sp-sub-toggle {
	position: absolute;
	right: 0;
	top: .9rem;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: none;
	color: inherit;
	padding: 0;
	cursor: pointer;
}
.sp-sub-toggle:hover, .sp-sub-toggle:focus { background: rgba(255, 255, 255, .08); color: inherit; }
.sp-sub-toggle::before,
.sp-sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--sp-ease-out); }
.sp-sub-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open > .sp-sub-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.sp-mobile__foot { margin-top: auto; display: grid; gap: .5rem; font-size: .9rem; }
.sp-mobile__foot p { margin: 0; opacity: .85; }
.sp-mobile__foot a:not(.sp-btn) { color: inherit; }
.sp-mobile__foot .sp-btn { margin-bottom: 1rem; }

/* Social icons */
.sp-social { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.sp-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	color: inherit !important;
	transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--sp-ease-out);
}
.sp-social a:hover { background: var(--sp-blush); border-color: var(--sp-blush); color: var(--sp-plum-deep) !important; transform: translateY(-2px); }
.sp-social .sp-icon { width: 16px; height: 16px; }
.sp-social--topbar a { width: 28px; height: 28px; border: 0; }
.sp-social--topbar .sp-icon { width: 14px; height: 14px; }

/* Light buttons used over images */
.sp-btn--light { background: var(--sp-blush); border-color: var(--sp-blush); color: var(--sp-plum-deep); }
.sp-btn--light::before { background: var(--sp-cream); }
.sp-btn--light:hover { color: var(--sp-plum-deep) !important; border-color: var(--sp-cream); }
.sp-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.sp-btn--ghost::before { background: var(--sp-cream); }
.sp-btn--ghost:hover { color: var(--sp-plum-deep) !important; border-color: var(--sp-cream); }
.sp-btn--solid { color: var(--sp-cream) !important; }

/* ---------- Hero ---------- */
.sp-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: var(--sp-hero-h, 100svh);
	/* Vertical spacing scales with screen height so the buttons stay above the fold on short laptop screens. */
	padding: calc(var(--sp-header-total, 140px) + clamp(1rem, 4vh, 2.5rem)) 0 clamp(4.5rem, 12vh, 7rem);
	overflow: hidden;
	background: var(--sp-plum-deep);
	color: #fff;
}
.sp-hero__media,
.sp-banner__media { position: absolute; inset: -6% 0; z-index: -3; will-change: transform; }
.sp-hero__media img,
.sp-banner__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-hero__overlay,
.sp-banner__overlay { position: absolute; inset: 0; z-index: -2; background: var(--sp-plum-deep); opacity: var(--sp-overlay, .5); }
.sp-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(20, 8, 16, .55) 0%, rgba(20, 8, 16, .15) 55%, transparent 80%),
		linear-gradient(0deg, rgba(20, 8, 16, .5) 0%, transparent 35%),
		linear-gradient(180deg, rgba(20, 8, 16, .45) 0%, transparent 25%);
}
.sp-hero--center::after { background: linear-gradient(0deg, rgba(20, 8, 16, .5) 0%, transparent 40%), linear-gradient(180deg, rgba(20, 8, 16, .45) 0%, transparent 25%); }
.sp-hero__content { position: relative; }
.sp-hero__content > * { max-width: 780px; }
.sp-hero--center .sp-hero__content { text-align: center; }
.sp-hero--center .sp-hero__content > * { margin-inline: auto; }
.sp-hero--center .sp-eyebrow { justify-content: center; }
.sp-hero--center .sp-eyebrow::after { content: ""; width: 2.75rem; height: 1px; background: currentColor; opacity: .55; }
.sp-hero--center .sp-hero__actions { justify-content: center; }
body.sp-theme .sp-hero__title {
	margin: 0 0 clamp(1rem, 2.6vh, 1.5rem);
	color: #fff;
	font-size: clamp(2.6rem, min(1.6rem + 5.4vw, 9.2vh + 1rem), 6.25rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.015em;
}
.sp-hero__title em { color: var(--sp-blush); }
.sp-hero__text { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); max-width: 36rem !important; color: rgba(255, 255, 255, .88); margin-bottom: 0; }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: clamp(1.75rem, 4.5vh, 2.75rem); }
.sp-hero .sp-eyebrow { margin-bottom: clamp(.75rem, 2.2vh, 1.1rem); }
.sp-hero__lotus {
	position: absolute;
	right: -3%;
	bottom: 6%;
	width: min(44vw, 620px);
	height: auto;
	opacity: .07;
	z-index: -1;
	pointer-events: none;
}
.sp-hero__badge {
	position: absolute;
	right: calc(var(--sp-gutter) + 76px);
	bottom: 2.5rem;
	margin: 0;
	padding: .7rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.4;
}
.sp-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75rem;
	transform: translateX(-50%);
	color: #fff !important;
	font-size: .62rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	text-decoration: none;
}
.sp-hero__scroll i { position: relative; display: block; width: 1px; height: 54px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.sp-hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: spScrollLine 2.4s var(--sp-ease) infinite; }
/* Short desktop/laptop screens: keep the scroll cue from sitting on the buttons. */
@media (min-width: 782px) and (max-height: 820px) {
	.sp-hero__scroll { display: none; }
	.sp-hero__badge { bottom: 1.5rem; }
}
@media (max-width: 781px) {
	.sp-hero { align-items: flex-end; padding-bottom: 6.5rem; }
	.sp-hero__badge { left: var(--sp-gutter); right: auto; bottom: 1.75rem; }
	.sp-hero__scroll { display: none; }
	.sp-hero__actions .sp-btn { flex: 1 1 100%; }
}

/* ---------- Inner page banner ---------- */
.sp-banner {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: max(var(--sp-banner-h, 62vh), 420px);
	padding: calc(var(--sp-header-total, 140px) + 2.5rem) 0 clamp(3rem, 6vw, 5rem);
	overflow: hidden;
	background: var(--sp-plum-deep);
	color: #fff;
	text-align: center;
}
.sp-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 8, 16, .55), transparent 55%), linear-gradient(180deg, rgba(20, 8, 16, .45), transparent 30%); }
.sp-banner__content > * { max-width: 860px; margin-inline: auto; }
.sp-banner .sp-eyebrow { justify-content: center; }
.sp-banner .sp-eyebrow::after { content: ""; width: 2.75rem; height: 1px; background: currentColor; opacity: .55; }
body.sp-theme .sp-banner__title { color: #fff; margin: 0 auto 1rem; font-weight: 400; font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.75rem); line-height: 1.05; }
.sp-banner__text { color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 640px !important; }
.sp-breadcrumbs { margin-top: 1.75rem; font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.sp-breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .75rem; list-style: none; margin: 0; padding: 0; }
.sp-breadcrumbs li { display: flex; align-items: center; gap: .75rem; margin: 0; color: rgba(255, 255, 255, .7); }
.sp-breadcrumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--sp-blush); }
.sp-breadcrumbs a { color: #fff !important; text-decoration: none; }
.sp-breadcrumbs a:hover { color: var(--sp-blush) !important; }

/* ---------- Footer booking band ---------- */
.sp-footer-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(4.5rem, 9vw, 7.5rem) 0;
	background: var(--sp-plum);
	color: var(--sp-cream);
	text-align: center;
}
.sp-footer-cta__lotus { position: absolute; left: 50%; top: 50%; width: min(80vw, 760px); height: auto; transform: translate(-50%, -50%); opacity: .06; pointer-events: none; }
.sp-footer-cta__inner { position: relative; max-width: 820px; }
body.sp-theme .sp-footer-cta__title { color: var(--sp-cream); font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); margin: 0 0 1rem; }
.sp-footer-cta__text { color: rgba(250, 246, 241, .82); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.sp-footer-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.sp-footer { background: var(--sp-plum-deep); color: rgba(250, 246, 241, .74); font-size: .94rem; }
.sp-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr;
	gap: clamp(2.5rem, 4vw, 4rem);
	padding-block: clamp(4rem, 7vw, 6rem);
}
.sp-footer__logo { display: inline-block; width: 120px; line-height: 0; margin-bottom: 1.5rem; }
.sp-footer__logo img { width: 100%; height: auto; }
.sp-footer__blurb { max-width: 22rem; line-height: 1.75; }
body.sp-theme .sp-footer__title {
	font-family: var(--sp-font-body);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--sp-blush);
	margin: .5rem 0 1.5rem;
}
.sp-footer__menu,
.sp-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.sp-footer a { color: rgba(250, 246, 241, .86); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--sp-ease-out), color .3s; }
.sp-footer a:hover { color: var(--sp-blush); background-size: 100% 1px; }
.sp-footer .sp-social a,
.sp-footer__logo { background: none; }
.sp-footer__address { font-style: normal; margin: 0 0 1.25rem; line-height: 1.75; }
.sp-footer__contact li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.5; }
.sp-footer__contact .sp-icon { width: 16px; height: 16px; color: var(--sp-blush); margin-top: .15rem; }
.sp-footer__brand .sp-social { margin-top: 1.75rem; }
.sp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.sp-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.sp-footer__copy { margin: 0 !important; }
.sp-footer__legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1023px) { .sp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sp-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.sp-wa-float {
	position: fixed;
	right: clamp(1rem, 2.5vw, 1.75rem);
	bottom: clamp(1rem, 2.5vw, 1.75rem);
	z-index: 90;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff !important;
	box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35);
	transition: transform .5s var(--sp-ease-out), opacity .5s;
}
.sp-wa-float .sp-icon { width: 28px; height: 28px; }
.sp-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: spPulse 2.8s var(--sp-ease) infinite; }
.sp-wa-float:hover { transform: scale(1.08); }
.sp-menu-open .sp-wa-float { opacity: 0; pointer-events: none; }

/* Screen-reader text (Astra provides it too; defined here for safety) */
.sp-theme .screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ==========================================================================
   Motion — only when html.sp-anim is set (JS on, animations enabled,
   visitor has not asked for reduced motion). Content is never hidden otherwise.
   ========================================================================== */
@keyframes spFadeUp { from { opacity: 0; transform: translate3d(0, 32px, 0); } to { opacity: 1; transform: none; } }
@keyframes spFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spKenBurns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes spFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes spLotusIn { from { opacity: 0; } to { opacity: .07; } }
@keyframes spScrollLine { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes spPulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes spMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.sp-anim .sp-hero__media img,
.sp-anim .sp-banner__media img { animation: spKenBurns 14s var(--sp-ease-out) both; }
.sp-anim .sp-hero__lotus { animation: spLotusIn 2s .6s both, spFloat 12s 2.6s ease-in-out infinite; }
.sp-anim .sp-hero__content > *,
.sp-anim .sp-banner__content > * { animation: spFadeUp 1.2s var(--sp-ease-out) both; }
.sp-anim .sp-hero__content > :nth-child(1),
.sp-anim .sp-banner__content > :nth-child(1) { animation-delay: .25s; }
.sp-anim .sp-hero__content > :nth-child(2),
.sp-anim .sp-banner__content > :nth-child(2) { animation-delay: .4s; }
.sp-anim .sp-hero__content > :nth-child(3),
.sp-anim .sp-banner__content > :nth-child(3) { animation-delay: .6s; }
.sp-anim .sp-hero__content > :nth-child(4),
.sp-anim .sp-banner__content > :nth-child(4) { animation-delay: .8s; }
.sp-anim .sp-hero__badge,
.sp-anim .sp-hero__scroll { animation: spFade 1.2s 1.2s both; }
.sp-anim .sp-header { animation: spFade 1s .1s both; }

/* Scroll reveals (classes added by main.js) */
.sp-anim .sp-r {
	opacity: 0;
	transform: translate3d(0, 34px, 0);
	transition: opacity 1.1s var(--sp-ease-out), transform 1.2s var(--sp-ease-out);
	transition-delay: var(--sp-d, 0s);
}
.sp-anim .sp-r.sp-r--left { transform: translate3d(-40px, 0, 0); }
.sp-anim .sp-r.sp-r--right { transform: translate3d(40px, 0, 0); }
@media (max-width: 781px) { .sp-anim .sp-r.sp-r--left, .sp-anim .sp-r.sp-r--right { transform: translate3d(0, 34px, 0); } }
.sp-anim .sp-r.is-in { opacity: 1; transform: none; }
/* Cards keep their own hover transform once revealed */
.sp-anim .sp-r.is-in.is-style-sp-card:hover { transform: translateY(-6px); }

/* The clip sits on the <img>, not the observed <figure>: browsers skip
   intersection callbacks for targets clipped to nothing. */
.sp-anim .sp-r-img img {
	clip-path: inset(0 0 100% 0);
	transform: scale(1.18);
	transition: clip-path 1.4s var(--sp-ease-out), transform 1.8s var(--sp-ease-out);
	transition-delay: var(--sp-d, 0s);
}
.sp-anim .sp-r-img.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.sp-anim .sp-treatment-card:hover .sp-r-img.is-in img,
.sp-anim .sp-gallery .sp-r-img.is-in:hover img { transform: scale(1.06); transition-delay: 0s; }

.sp-anim .sp-marquee__track { animation: spMarquee var(--sp-marquee-speed, 45s) linear infinite; }
.sp-marquee:hover .sp-marquee__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
	.sp-hero__scroll i::after, .sp-wa-float::before { animation: none; }
}
