/* ==========================================================================
   Components: Elementor buttons, media frames, heroes, stats band, cards,
   offers, reviews, FAQ, chips, contact card, aside, CTA band, form,
   before/after slider and the mobile action bar — all on theme tokens.
   ========================================================================== */

/* ---------- Elementor buttons ---------- */

.elementor-widget.sb-button .elementor-button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	border-radius: 999px;
	transition: background-color 0.18s var(--sb-ease), color 0.18s var(--sb-ease), border-color 0.18s var(--sb-ease), transform 0.18s var(--sb-ease);
}

.elementor-widget.sb-button--primary .elementor-button {
	background-color: var(--sb-btn-bg);
	color: var(--sb-btn-fg);
}

.elementor-widget.sb-button--primary .elementor-button:hover,
.elementor-widget.sb-button--primary .elementor-button:focus-visible {
	background-color: var(--sb-btn-hover);
	color: var(--sb-btn-fg);
	transform: translateY(-1px);
}

.elementor-widget.sb-button--outline .elementor-button {
	background: transparent;
	border-color: var(--sb-brand);
	color: var(--sb-brand);
}

.elementor-widget.sb-button--outline .elementor-button:hover,
.elementor-widget.sb-button--outline .elementor-button:focus-visible {
	background: var(--sb-surface-2);
	color: var(--sb-heading);
}

.elementor-widget.sb-button--light .elementor-button {
	background: transparent;
	border-color: rgb(255 255 255 / 70%);
	color: #fff;
}

.elementor-widget.sb-button--light .elementor-button:hover {
	background: #fff;
	color: #1f2430;
}

.sb-cta-band .elementor-widget.sb-button--primary .elementor-button {
	background-color: #e0ae6b;
	color: #141b28;
}

.sb-cta-band .elementor-widget.sb-button--primary .elementor-button:hover {
	background-color: #ebc28c;
}

.elementor-widget.sb-button--block,
.elementor-widget.sb-button--block .elementor-button {
	width: 100%;
}

@media (max-width: 480px) {
	.sb-buttons > .elementor-widget-button,
	.sb-buttons > .elementor-widget-button .elementor-button {
		width: 100%;
	}
}

/* ---------- Media frames ---------- */

.sb-media img {
	display: block;
	width: 100%;
	border-radius: var(--sb-radius-lg);
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.sb-media--hero,
.sb-media--tall,
.sb-media--portrait {
	position: relative;
}

/* Offset gold frame behind key photographs (decorative). */
.sb-media--hero::before,
.sb-media--tall::before,
.sb-media--portrait::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1px solid var(--sb-accent);
	border-radius: calc(var(--sb-radius-lg) + 4px);
	pointer-events: none;
}

.sb-media--tall::before {
	inset: 18px 18px -18px -18px;
}

.sb-media--hero img {
	position: relative;
	aspect-ratio: 5 / 4;
}

.sb-media--tall img {
	position: relative;
	aspect-ratio: 4 / 5;
}

.sb-media--portrait img {
	position: relative;
	aspect-ratio: 4 / 5;
	object-position: center 22%;
}

.sb-media--portrait {
	max-width: 460px;
	margin-inline: auto;
}

@media (max-width: 767px) {
	.sb-media img,
	.sb-media--tall img {
		aspect-ratio: 3 / 2;
	}

	.sb-media--portrait img {
		aspect-ratio: 4 / 5;
	}

	.sb-media--portrait {
		max-width: 320px;
	}

	.sb-media--hero::before,
	.sb-media--tall::before,
	.sb-media--portrait::before {
		inset: 10px -10px -10px 10px;
	}
}

/* ---------- Heroes ---------- */

.sb-hero h1.elementor-heading-title {
	max-width: 13ch;
	font-size: clamp(36px, 3.6vw + 12px, 66px);
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.sb-hero__media {
	position: relative;
}

.sb-hero__badge {
	position: absolute;
	left: -28px;
	bottom: 36px;
	z-index: 2;
	max-width: 290px;
	padding: 16px 20px;
	border: 1px solid var(--sb-border);
	border-radius: 16px;
	background: var(--sb-surface);
	box-shadow: var(--sb-shadow);
	color: var(--sb-text-2);
	font-size: 14px;
	line-height: 1.45;
}

.sb-hero__badge p {
	margin: 0;
}

.sb-hero__badge .sb-hero__badge-title {
	margin: 0 0 2px;
	color: var(--sb-heading);
	font-size: 16px;
	font-weight: 700;
}

@media (max-width: 1024px) {
	.sb-hero__badge {
		position: relative;
		left: auto;
		bottom: auto;
		max-width: none;
		margin-top: -32px;
		margin-inline: 16px;
	}
}

ul.sb-trust {
	list-style: none;
	margin: 12px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--sb-border);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	color: var(--sb-text-2);
	font-size: 14px;
	font-weight: 600;
}

ul.sb-trust li {
	position: relative;
	padding-left: 18px;
}

ul.sb-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sb-accent);
}

.sb-page-hero h1.elementor-heading-title {
	max-width: 20ch;
	font-size: clamp(34px, 2.6vw + 14px, 56px);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.sb-page-hero {
	border-bottom: 1px solid var(--sb-border);
}

/* Breadcrumbs */
nav.sb-breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	color: var(--sb-text-2);
	font-size: 14px;
}

nav.sb-breadcrumbs li + li::before {
	content: "/";
	margin-right: 4px;
	color: var(--sb-border-strong);
}

nav.sb-breadcrumbs a {
	color: var(--sb-text-2);
	text-decoration: none;
}

nav.sb-breadcrumbs a:hover {
	color: var(--sb-brand);
	text-decoration: underline;
}

/* ---------- Stats band ---------- */

.sb-stats-section {
	border-top: 1px solid var(--sb-border);
	border-bottom: 1px solid var(--sb-border);
}

.sb-card.sb-stat-card {
	border: 0;
	border-left: 1px solid var(--sb-border);
	border-radius: 0;
	background: transparent;
}

.sb-card.sb-stat-card:first-child {
	border-left: 0;
}

@media (max-width: 1024px) {
	.sb-stat-card:nth-child(3) {
		border-left: 0;
	}
}

.sb-stat__value .elementor-heading-title,
p.sb-stat__value {
	color: var(--sb-brand);
	font-size: clamp(36px, 2.4vw + 18px, 52px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.sb-stat__label p {
	margin: 6px 0 0;
	color: var(--sb-text-2);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
}

/* ---------- Cards ---------- */

.sb-card {
	border: 1px solid var(--sb-border);
	border-radius: var(--sb-radius-lg);
	background: var(--sb-surface);
}

.sb-card--link {
	position: relative;
	transition: border-color 0.2s var(--sb-ease), box-shadow 0.2s var(--sb-ease), transform 0.2s var(--sb-ease);
}

.sb-card--link:hover {
	border-color: var(--sb-accent);
	box-shadow: var(--sb-shadow-hover);
	transform: translateY(-3px);
}

.sb-card--link .sb-card__title a {
	color: var(--sb-heading);
	text-decoration: none;
}

.sb-card--link .sb-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.sb-card--link .sb-card__more {
	margin-top: auto;
}

/* Service image cards (Elementor image-box) */
.sb-service-card .elementor-image-box-wrapper {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sb-border);
	border-radius: var(--sb-radius-lg);
	background: var(--sb-surface);
	transition: box-shadow 0.2s var(--sb-ease), transform 0.2s var(--sb-ease), border-color 0.2s;
}

.sb-service-card .elementor-image-box-wrapper:hover {
	border-color: var(--sb-accent);
	box-shadow: var(--sb-shadow-hover);
	transform: translateY(-3px);
}

.sb-service-card .elementor-image-box-img {
	overflow: hidden;
}

.sb-service-card .elementor-image-box-img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.45s var(--sb-ease);
}

.sb-service-card .elementor-image-box-wrapper:hover img {
	transform: scale(1.03);
}

.sb-service-card .elementor-image-box-content {
	padding: 22px 26px 28px;
}

.sb-service-card .elementor-image-box-title {
	margin: 0 0 8px;
	font-size: 21px;
}

.sb-service-card .elementor-image-box-title a {
	color: var(--sb-heading);
	text-decoration: none;
}

.sb-service-card .elementor-image-box-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sb-service-card .elementor-image-box-description {
	margin: 0;
	color: var(--sb-text-2);
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- Offers ---------- */

.sb-offer {
	position: relative;
	overflow: hidden;
	border-color: var(--sb-border);
	box-shadow: var(--sb-shadow);
}

.sb-offer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--sb-accent);
}

.sb-offer__price .elementor-heading-title,
p.sb-offer__price {
	color: var(--sb-accent-text);
	font-size: clamp(44px, 3vw + 22px, 64px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

/* ---------- Reviews (quote typography; placeholders stay plainly placeholders) ---------- */

.sb-review {
	position: relative;
	height: 100%;
}

.sb-review::before {
	content: "“";
	position: absolute;
	top: 6px;
	right: 22px;
	color: var(--sb-border-strong);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 72px;
	line-height: 1;
}

.sb-review__text {
	font-size: 18px;
	line-height: 1.6;
}

.sb-review--placeholder {
	border-style: dashed;
}

.sb-review__name {
	font-weight: 700;
	color: var(--sb-heading);
}

/* ---------- FAQ (Elementor accordion) ---------- */

.sb-faq .elementor-accordion-item {
	border: 0;
	border-bottom: 1px solid var(--sb-border);
}

.sb-faq .elementor-accordion-item:first-child {
	border-top: 1px solid var(--sb-border);
}

.sb-faq .elementor-tab-title {
	position: relative;
	padding: 22px 52px 22px 0;
	border: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}

.sb-faq .elementor-tab-title a,
.sb-faq .elementor-tab-title .elementor-accordion-title {
	color: var(--sb-heading);
	text-decoration: none;
}

.sb-faq .elementor-tab-title::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border: 1px solid var(--sb-border);
	border-radius: 50%;
	background:
		linear-gradient(var(--sb-accent-text), var(--sb-accent-text)) center / 12px 2px no-repeat,
		linear-gradient(var(--sb-accent-text), var(--sb-accent-text)) center / 2px 12px no-repeat;
	transition: transform 0.2s var(--sb-ease), background-size 0.2s var(--sb-ease);
}

.sb-faq .elementor-tab-title.elementor-active::after {
	background-size: 12px 2px, 2px 0;
	transform: rotate(180deg);
}

.sb-faq .elementor-tab-content {
	padding: 0 52px 24px 0;
	border: 0;
	color: var(--sb-text-2);
	line-height: 1.7;
}

.sb-faq .elementor-accordion-icon {
	display: none;
}

/* ---------- Insurance chips ---------- */

ul.sb-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

ul.sb-chips li {
	padding: 10px 18px;
	border: 1px solid var(--sb-border);
	border-radius: 999px;
	background: var(--sb-surface);
	color: var(--sb-heading);
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Contact card, hours, address ---------- */

.sb-contact-card {
	display: grid;
	gap: 22px;
}

.sb-contact-card__block {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--sb-border);
}

.sb-contact-card__block:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.sb-contact-card p.sb-eyebrow {
	margin-bottom: 6px;
}

.sb-contact-card__phone {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
}

.sb-contact-card__phone a,
body a.sb-phone {
	color: var(--sb-heading);
	font-weight: 700;
	text-decoration: none;
}

.sb-contact-card__phone a:hover,
body a.sb-phone:hover {
	color: var(--sb-brand);
	text-decoration: underline;
}

address.sb-address {
	margin: 0 0 8px;
	font-style: normal;
	line-height: 1.6;
}

dl.sb-hours {
	margin: 0;
	display: grid;
	gap: 6px;
}

.sb-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.sb-hours dt {
	font-weight: 600;
}

.sb-hours dd {
	margin: 0;
	text-align: right;
}

.sb-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 1px solid var(--sb-border);
	border-radius: var(--sb-radius-lg);
	background: var(--sb-surface-2);
}

.sb-location .sb-map,
.sb-contact .sb-map,
.sb-location .sb-map .elementor-widget-container,
.sb-contact .sb-map .elementor-widget-container {
	height: 100%;
}

/* ---------- Aside (booking card) ---------- */

.sb-aside {
	gap: 16px;
	border-color: var(--sb-border);
	background: var(--sb-page);
}

.sb-aside-col {
	position: sticky;
	top: 120px;
}

.sb-aside .sb-aside__title .elementor-heading-title {
	font-size: 24px;
}

.sb-aside a.sb-aside__phone {
	display: block;
	padding: 4px 0 10px;
	border-bottom: 1px solid var(--sb-border);
	text-align: center;
}

@media (max-width: 1024px) {
	.sb-aside-col {
		position: static;
	}
}

/* ---------- CTA band (always deep, both themes) ---------- */

.sb-cta-band .elementor-heading-title {
	color: #fff;
}

.sb-cta-band p {
	color: #dfe3ec;
	font-size: 18px;
}

.sb-cta-band__actions .sb-buttons {
	justify-content: flex-end;
}

@media (max-width: 1024px) {
	.sb-cta-band__actions .sb-buttons {
		justify-content: flex-start;
	}
}

/* ---------- Team placeholders ---------- */

.sb-team__photo {
	aspect-ratio: 4 / 5;
	border-radius: var(--sb-radius);
	background: var(--sb-surface-2);
}

.sb-team__role {
	color: var(--sb-text-2);
}

/* ---------- Appointment form ---------- */

.sb-form-card {
	box-shadow: var(--sb-shadow);
}

.sb-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.sb-field--full {
	grid-column: 1 / -1;
}

@media (max-width: 600px) {
	.sb-form__grid {
		grid-template-columns: 1fr;
	}
}

.sb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
}

.sb-field label,
.sb-field legend {
	color: var(--sb-heading);
	font-size: 15px;
	font-weight: 600;
}

.sb-req {
	color: var(--sb-error);
}

.sb-form .sb-field input:not([type="radio"]),
.sb-form .sb-field select,
.sb-form .sb-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--sb-border-strong);
	border-radius: 10px;
	background: var(--sb-surface);
	color: var(--sb-text);
	font: inherit;
	font-size: 16px;
}

.sb-form .sb-field input:focus-visible,
.sb-form .sb-field select:focus-visible,
.sb-form .sb-field textarea:focus-visible {
	border-color: var(--sb-brand);
}

.sb-form .sb-field [aria-invalid="true"] {
	border-color: var(--sb-error);
}

.sb-field__error {
	margin: 0;
	color: var(--sb-error);
	font-size: 14px;
	font-weight: 600;
}

.sb-field__hint {
	margin: 0;
	color: var(--sb-text-2);
	font-size: 14px;
}

.sb-field--radios {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 0;
	border: 0;
}

.sb-field--radios legend {
	width: 100%;
	margin-bottom: 6px;
	padding: 0;
}

.sb-field--radios label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	font-weight: 500;
}

.sb-field--radios input {
	width: 20px;
	height: 20px;
	accent-color: var(--sb-brand);
}

.sb-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sb-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 24px;
}

.sb-form__note {
	flex: 1 1 240px;
	margin: 0;
	color: var(--sb-text-2);
	font-size: 14px;
}

.sb-form button.sb-btn,
.sb-form button.sb-btn:hover,
.sb-form button.sb-btn:focus {
	padding: 12px 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--sb-btn-bg);
	color: var(--sb-btn-fg);
	font-size: 16px;
	font-weight: 600;
}

.sb-form button.sb-btn:hover {
	background: var(--sb-btn-hover);
}

.sb-form button.sb-btn:disabled {
	opacity: 0.7;
	cursor: progress;
}

.sb-form-msg {
	margin-bottom: 20px;
	padding: 16px 20px;
	border-radius: var(--sb-radius);
}

.sb-form-msg p {
	margin: 0;
}

.sb-form-msg--ok {
	border: 1px solid var(--sb-ok);
	background: var(--sb-ok-bg);
}

.sb-form-msg__title {
	color: var(--sb-ok);
	font-size: 18px;
	font-weight: 700;
}

.sb-form-msg--error {
	border: 1px solid var(--sb-error);
	background: var(--sb-error-bg);
	color: var(--sb-error);
}

/* ---------- Before / after slider ---------- */

.sb-ba {
	margin: 0;
}

.sb-ba__stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--sb-radius-lg);
	background: var(--sb-surface-2);
	touch-action: pan-y;
}

.sb-ba__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-ba__img--before {
	clip-path: inset(0 calc(100% - var(--sb-ba-pos)) 0 0);
}

.sb-ba__ph {
	display: flex;
	align-items: center;
	color: var(--sb-text-2);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sb-ba__ph--after {
	justify-content: flex-end;
	padding-right: 12%;
	background: var(--sb-surface-2);
}

.sb-ba__ph--before {
	justify-content: flex-start;
	padding-left: 12%;
	background: var(--sb-page);
}

.sb-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--sb-ba-pos);
	width: 2px;
	margin-left: -1px;
	background: var(--sb-surface);
	pointer-events: none;
}

.sb-ba__handle::after {
	content: "‹ ›";
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sb-surface);
	box-shadow: var(--sb-shadow);
	color: var(--sb-brand);
	font-weight: 700;
	transform: translate(-50%, -50%);
}

.sb-ba__tag {
	position: absolute;
	top: 14px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgb(20 27 40 / 78%);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	pointer-events: none;
}

.sb-ba__tag--before {
	left: 14px;
}

.sb-ba__tag--after {
	right: 14px;
}

.sb-ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
}

.sb-ba__stage:focus-within .sb-ba__handle::after {
	box-shadow: var(--sb-focus);
}

.sb-ba__caption {
	margin-top: 12px;
	color: var(--sb-heading);
	font-weight: 700;
}

/* ---------- Mobile action bar ---------- */

.sb-mobilebar {
	display: none;
}

@media (max-width: 767px) {
	.sb-mobilebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--sb-border);
		background: var(--sb-surface);
		box-shadow: 0 -8px 24px rgb(20 27 40 / 10%);
	}

	.sb-mobilebar a.sb-mobilebar__item {
		flex: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 48px;
		border: 2px solid var(--sb-brand);
		border-radius: 999px;
		color: var(--sb-brand);
		font-weight: 700;
		text-decoration: none;
	}

	.sb-mobilebar a.sb-mobilebar__item--primary {
		border-color: var(--sb-btn-bg);
		background: var(--sb-btn-bg);
		color: var(--sb-btn-fg);
	}

	body.sb-site {
		padding-bottom: calc(68px + env(safe-area-inset-bottom));
	}
}

/* ---------- Demo/example content (tagged so it is never mistaken for real) ---------- */

.sb-example {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border: 1px solid var(--sb-border-strong);
	border-radius: 999px;
	color: var(--sb-text-2);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sb-footer .sb-example {
	border-color: rgb(255 255 255 / 30%);
	color: var(--sb-on-deep-2);
}

.sb-review__stars {
	margin-bottom: 8px;
	color: var(--sb-accent);
	font-size: 18px;
	letter-spacing: 2px;
}

.sb-team__photo {
	display: grid;
	place-items: center;
	color: var(--sb-brand);
	font-size: 44px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

/* Fill the slider frame (beats Elementor's generic img { height: auto }). */
.sb-ba .sb-ba__stage img.sb-ba__img {
	width: 100%;
	max-width: none;
	height: 100%;
}

/* Demo slider: one stock image with a treated "before" side, captioned as a demo. */
.sb-ba--example .sb-ba__img--before {
	filter: sepia(0.45) saturate(0.7) brightness(0.92);
}

.sb-ba__caption {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-style: normal;
}
