/*
 * Blitz 2 — specialist profile page.
 *
 * Owns (CONTRACT §3): profile cover, about, quick facts, portfolio grid,
 * services list, reviews column, sidebar. Colors / radii / shadows come
 * from the --bz-* tokens declared in base.css.
 */

/* ------------------------------------------------------------------ */
/* Page shell + breadcrumbs                                            */
/* ------------------------------------------------------------------ */

.bz-specialist {
	padding-bottom: 24px;
}

/* Breadcrumbs: shared .bz-crumbs component now lives in base.css
   (service + specialist + catalog templates all emit it). */

/* ------------------------------------------------------------------ */
/* Profile header card: teal cover stripe + head                       */
/* ------------------------------------------------------------------ */

.bz-profile {
	background: #fff;
	border: 1px solid var(--bz-border, #e3e6ea);
	border-radius: var(--bz-r-2xl, 18px);
	overflow: hidden;
}

.bz-profile__cover {
	position: relative;
	height: 120px;
	background: linear-gradient(120deg, var(--bz-teal, #0e615d), var(--bz-teal-dark, #0a4f4b));
	overflow: hidden;
}

.bz-profile__cover::before,
.bz-profile__cover::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.bz-profile__cover::before {
	width: 340px;
	height: 340px;
	top: -220px;
	right: -60px;
	background: radial-gradient(circle, rgba(206, 231, 229, 0.22), rgba(206, 231, 229, 0) 70%);
}

.bz-profile__cover::after {
	width: 300px;
	height: 300px;
	top: -160px;
	left: 18%;
	background: radial-gradient(circle, rgba(245, 135, 46, 0.16), rgba(245, 135, 46, 0) 70%);
}

.bz-profile__body {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 0 24px 24px;
}

.bz-profile__avwrap {
	flex: 0 0 auto;
	margin-top: -54px;
	background: #fff;
	border: 4px solid #fff;
	border-radius: 26px;
	box-shadow: var(--bz-sh-sidebar, 0 6px 24px rgba(16, 32, 60, 0.06));
}

.bz-profile__avwrap .bz-avatar {
	display: block;
}

.bz-profile__main {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 14px;
}

.bz-profile__namerow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.bz-profile__name {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.5px;
	line-height: 1.15;
	color: var(--bz-ink, #1a1d21);
}

.bz-profile__badge {
	display: inline-flex;
	align-items: center;
}

.bz-profile__role {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--bz-gray-500, #7a828c);
}

.bz-profile__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bz-slate, #414b57);
}

.bz-profile__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bz-profile__item .bz-icon {
	color: var(--bz-gray-350, #9aa1ab);
	flex: 0 0 auto;
}

.bz-profile__muted {
	color: var(--bz-gray-350, #9aa1ab);
}

/* Rating UI ships hidden; opt_show_ratings adds body.bz-show-ratings. */
.bz-profile__rating,
.bz-revhead__rating {
	display: none;
	align-items: center;
	gap: 6px;
}

body.bz-show-ratings .bz-profile__rating,
body.bz-show-ratings .bz-revhead__rating {
	display: inline-flex;
}

.bz-profile__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.bz-profile__tag {
	background: var(--bz-bg-2, #f2f4f7);
	color: var(--bz-slate, #414b57);
	font-size: 13px;
	font-weight: 600;
	border-radius: var(--bz-r-sm, 7px);
	padding: 6px 11px;
}

/* ------------------------------------------------------------------ */
/* Two-column body                                                     */
/* ------------------------------------------------------------------ */

.bz-specialist__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 22px;
	align-items: start;
	margin-top: 22px;
}

.bz-specialist__main {
	display: grid;
	gap: 22px;
	min-width: 0;
}

.bz-pcard {
	background: #fff;
	border: 1px solid var(--bz-border, #e3e6ea);
	border-radius: var(--bz-r-xl, 16px);
	padding: 24px;
}

.bz-pcard__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--bz-ink, #1a1d21);
}

.bz-pcard__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.bz-pcard__count {
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-gray-400, #8a929c);
}

.bz-pcard__sub {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--bz-gray-500, #7a828c);
}

/* ------------------------------------------------------------------ */
/* About + quick facts                                                 */
/* ------------------------------------------------------------------ */

.bz-about {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--bz-slate, #414b57);
}

.bz-about p {
	margin: 0 0 12px;
}

.bz-about p:last-child {
	margin-bottom: 0;
}

.bz-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 16px;
}

.bz-fact {
	background: var(--bz-bg-3, #f7f8fa);
	border-radius: var(--bz-r-md, 11px);
	padding: 13px 15px;
}

.bz-fact__k {
	font-size: 12px;
	font-weight: 600;
	color: var(--bz-gray-400, #8a929c);
}

.bz-fact__v {
	margin-top: 2px;
	font-size: 15px;
	font-weight: 800;
	color: var(--bz-teal, #0e615d);
}

/* ------------------------------------------------------------------ */
/* Portfolio grid (lightbox source)                                    */
/* .bz-gallery / .bz-tile moved to base.css — the fixed-price service  */
/* page renders the same blitz_portfolio_grid() markup (shared         */
/* component per CONTRACT §3). No page-specific tweaks needed here.    */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* Services of this specialist                                         */
/* ------------------------------------------------------------------ */

.bz-svclist {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.bz-svcrow {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	border: 1px solid var(--bz-border, #e3e6ea);
	border-radius: var(--bz-r-lg, 13px);
	padding: 16px 18px;
	transition: border-color 0.12s, background 0.12s;
}

.bz-svcrow:hover {
	border-color: var(--bz-border-dash, #c9cfd8);
	background: var(--bz-bg-hover, #fafbfc);
}

.bz-svcrow__body {
	flex: 1 1 180px;
	min-width: 180px;
}

.bz-svcrow__name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.bz-svcrow__link {
	color: var(--bz-ink, #1a1d21);
	text-decoration: none;
}

/* Stretched link: whole row navigates to the service. */
.bz-svcrow__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bz-svcrow__free {
	background: var(--bz-green, #15935a);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: var(--bz-r-xs, 6px);
	padding: 3px 7px;
}

.bz-svcrow__sub {
	margin-top: 3px;
	font-size: 13px;
	color: var(--bz-gray-500, #7a828c);
}

.bz-svcrow__right {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.bz-svcrow__price {
	font-size: 16px;
	font-weight: 800;
	color: var(--bz-teal, #0e615d);
	white-space: nowrap;
}

/* Booking button must stay clickable above the stretched link. */
.bz-svcrow__btn {
	position: relative;
	z-index: 1;
}

/* ------------------------------------------------------------------ */
/* Reviews column                                                      */
/* ------------------------------------------------------------------ */

.bz-revhead {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.bz-revhead__rating {
	font-size: 14px;
	font-weight: 700;
	color: var(--bz-slate, #414b57);
}

.bz-revlist {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

/* Review cards are sized for the home scroller — neutralize here. */
.bz-revlist > * {
	width: auto;
	max-width: none;
}

/* ------------------------------------------------------------------ */
/* Sticky sidebar                                                      */
/* ------------------------------------------------------------------ */

.bz-specialist__side {
	position: sticky;
	top: 90px;
}

.bz-sidecard {
	background: #fff;
	border: 1px solid var(--bz-border, #e3e6ea);
	border-radius: var(--bz-r-xl, 16px);
	padding: 20px;
	box-shadow: var(--bz-sh-sidebar, 0 6px 24px rgba(16, 32, 60, 0.06));
}

.bz-sidecard__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-gray-400, #8a929c);
}

.bz-sidecard__price {
	margin-top: 4px;
	font-size: 24px;
	font-weight: 800;
	color: var(--bz-teal, #0e615d);
	letter-spacing: -0.5px;
}

.bz-sidecard__freebar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	background: var(--bz-green-100, #e7f6ee);
	border-radius: var(--bz-r-md, 11px);
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-green-ink, #0e6b40);
}

.bz-sidecard__freebadge {
	flex: 0 0 auto;
	background: var(--bz-green, #15935a);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: var(--bz-r-xs, 6px);
	padding: 3px 7px;
}

.bz-sidecard__cta {
	display: block;
	width: 100%;
	margin-top: 14px;
	text-align: center;
}

.bz-sidecard__all {
	display: block;
	margin-top: 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: var(--bz-teal, #0e615d);
	text-decoration: none;
}

.bz-sidecard__all:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Similar specialists                                                 */
/* ------------------------------------------------------------------ */

.bz-specialist__similar {
	margin-top: 40px;
}

.bz-specialist__h2 {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--bz-ink, #1a1d21);
}

.bz-specialist__simgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

/* ------------------------------------------------------------------ */
/* Mobile sticky book bar                                              */
/* ------------------------------------------------------------------ */

.bz-bookbar {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Responsive: 1024 (tablet) / 720 (mobile) per CONTRACT §3            */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {

	.bz-specialist__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.bz-specialist__side {
		position: static;
	}

	.bz-specialist__simgrid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 720px) {

	.bz-profile__cover {
		height: 90px;
	}

	.bz-profile__body {
		flex-direction: column;
		gap: 12px;
		padding: 0 16px 18px;
	}

	.bz-profile__avwrap {
		margin-top: -44px;
	}

	.bz-profile__main {
		padding-top: 0;
	}

	.bz-profile__name {
		font-size: 22px;
	}

	.bz-profile__meta {
		gap: 10px 16px;
	}

	.bz-specialist__cols {
		gap: 16px;
		margin-top: 16px;
	}

	.bz-specialist__main {
		gap: 16px;
	}

	.bz-pcard {
		padding: 18px 16px;
	}

	/* Mobile gallery columns live in base.css with the shared component. */

	.bz-svcrow__right {
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
	}

	.bz-specialist__simgrid {
		grid-template-columns: 1fr;
	}

	/* Sidebar collapses into the sticky book bar on phones. */
	.bz-specialist__side {
		display: none;
	}

	.bz-bookbar {
		position: sticky;
		bottom: 0;
		z-index: 40;
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 22px -16px 0;
		padding: 12px 16px;
		background: #fff;
		border-top: 1px solid var(--bz-border, #e3e6ea);
		box-shadow: var(--bz-sh-bookbar, 0 -6px 20px rgba(16, 32, 60, 0.08));
	}

	.bz-bookbar__info {
		flex: 1;
		min-width: 0;
	}

	.bz-bookbar__label {
		font-size: 12px;
		color: var(--bz-gray-400, #8a929c);
	}

	.bz-bookbar__price {
		font-size: 16px;
		font-weight: 800;
		color: var(--bz-teal, #0e615d);
	}

	.bz-bookbar__cta {
		margin-left: auto;
		flex: 0 0 auto;
	}
}
