/**
 * Blitz 2 — base.css
 *
 * Shared visual foundation. OWNS (per CONTRACT §3 — no other stylesheet may
 * restyle these): design tokens, reset, base typography, buttons, chips/tags/
 * badges, form controls, .bz-container, section headers (.bz-shead), rating
 * stars, avatars, all four shared cards (service / specialist / category /
 * review), the lightbox overlay, .bz-scroll scrollbars, keyframes and generic
 * responsive helpers.
 *
 * Token values come verbatim from DESIGN-SPEC §1. Breakpoints: 1024 / 720.
 */

/* ------------------------------------------------------------------ *
 * 1. DESIGN TOKENS
 * ------------------------------------------------------------------ */

:root {
	/* Brand */
	--bz-teal: #0e615d;
	--bz-teal-dark: #0a4f4b;
	--bz-teal-ink: #0a3f3c;
	--bz-teal-ink2: #22615d;
	--bz-teal-100: #cee7e5;
	--bz-teal-200: #9fcbc7;
	--bz-teal-50: #F4F8F7;
	--bz-teal-50-bd: #E0EBE9;
	--bz-orange: #F5872E;
	--bz-orange-200: #FFC58A;
	--bz-orange-100: #FDEEE2;
	--bz-orange-700: #C9620C;
	--bz-green: #15935A;
	--bz-green-100: #E7F6EE;
	--bz-green-ink: #0E6B40;
	--bz-green-dot: #39C07A;
	--bz-star: #FFB23E;

	/* Ink / gray scale */
	--bz-ink: #1A1D21;
	--bz-ink-2: #2A2F36;
	--bz-slate: #414B57;
	--bz-gray-600: #5A6470;
	--bz-gray-500: #7A828C;
	--bz-gray-400: #8A929C;
	--bz-gray-350: #9aa1ab;
	--bz-gray-ico: #6B7280;

	/* Borders / surfaces */
	--bz-border: #E3E6EA;
	--bz-border-2: #E7E9ED;
	--bz-border-input: #D7DBE0;
	--bz-border-dash: #C9CFD8;
	--bz-bg: #EEF0F3;
	--bz-bg-2: #F2F4F7;
	--bz-bg-3: #F7F8FA;
	--bz-bg-hover: #FAFBFC;
	--bz-bg-hover2: #FCFCFD;
	--bz-bg-mega-hover: #F5F6F8;
	--bz-empty-ico-bg: #EEF1F5;

	/* On-teal text */
	--bz-on-teal-nav: #DDE4EF;
	--bz-on-teal-body: #C4D0E4;
	--bz-on-teal-badge: #CFE0FF;
	--bz-on-teal-foot: #A9B6CC;
	--bz-on-teal-foot2: #8597B3;
	--bz-on-teal-crumb: #A9C7C4;
	--bz-on-teal-dot: #5A6B86;
	--bz-lb-text: #E7EDF7;
	--bz-lb-meta: #C4CCDA;

	/* Notes */
	--bz-warn-bg: #FFF6E9;
	--bz-warn-bd: #F3E2C4;
	--bz-warn-ink: #8A6510;

	/* Category tints */
	--bz-cat-hr-fg: #5B45C9;
	--bz-cat-hr-bg: #EDEBFB;
	--bz-cat-legal-fg: #3A557E;
	--bz-cat-legal-bg: #EAF0F6;
	--bz-cat-re-fg: #C9620C;
	--bz-cat-re-bg: #FDEEE2;
	--bz-avatar-pink: #C03372;
	--bz-partner-bg: #FBEFD8;
	--bz-partner-fg: #A56A0E;
	--bz-scrollbar: #cfd4da;

	/* Alpha / scrims (legacy navy remapped to teal per CONTRACT §10.1.7) */
	--bz-teal-a85: rgba(14, 97, 93, .85);
	--bz-scrim-lb: rgba(8, 14, 28, .86);
	--bz-scrim-modal: rgba(12, 22, 42, .55);

	/* Radii */
	--bz-r-xs: 6px;
	--bz-r-sm: 7px;
	--bz-r-btn: 10px;
	--bz-r-md: 12px;
	--bz-r-lg: 14px;
	--bz-r-xl: 16px;
	--bz-r-2xl: 18px;
	--bz-r-panel: 22px;
	--bz-r-pill: 100px;

	/* Shadows */
	--bz-sh-card-hover: 0 12px 30px rgba(16, 32, 60, .12);
	--bz-sh-card-hover-sm: 0 10px 28px rgba(16, 32, 60, .1);
	--bz-sh-card-hover-xs: 0 10px 26px rgba(16, 32, 60, .1);
	--bz-sh-search: 0 18px 40px rgba(8, 20, 45, .28);
	--bz-sh-mega: 0 18px 50px rgba(16, 32, 60, .18);
	--bz-sh-sidebar: 0 6px 24px rgba(16, 32, 60, .06);
	--bz-sh-bookbar: 0 -6px 20px rgba(16, 32, 60, .08);
	--bz-sh-modal: 0 30px 80px rgba(0, 0, 0, .35);

	/* Layout */
	--bz-container: 1200px;
	--bz-container-pad: 24px;

	/* Type */
	--bz-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ------------------------------------------------------------------ *
 * 2. RESET
 * ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
	margin: 0;
}

ul[class],
ol[class] {
	margin: 0;
	padding: 0;
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 2px solid var(--bz-orange);
	outline-offset: 2px;
}

.bz-icon {
	flex: none;
	display: inline-block;
	vertical-align: -0.125em;
}

/* ------------------------------------------------------------------ *
 * 3. BASE TYPOGRAPHY
 * ------------------------------------------------------------------ */

body.blitz {
	font-family: var(--bz-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--bz-ink);
	background: var(--bz-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.blitz h1,
body.blitz h2,
body.blitz h3,
body.blitz h4,
body.blitz h5,
body.blitz h6 {
	font-weight: 800;
	line-height: 1.2;
}

b,
strong {
	font-weight: 700;
}

::selection {
	background: var(--bz-orange);
	color: #fff;
}

/* ------------------------------------------------------------------ *
 * 4. CONTAINER
 * ------------------------------------------------------------------ */

.bz-container {
	max-width: var(--bz-container);
	margin: 0 auto;
	padding: 0 var(--bz-container-pad);
}

/* ------------------------------------------------------------------ *
 * 5. SCROLLBARS
 * ------------------------------------------------------------------ */

.bz-scroll {
	scrollbar-width: thin;
	scrollbar-color: var(--bz-scrollbar) transparent;
}

.bz-scroll::-webkit-scrollbar {
	height: 8px;
	width: 8px;
}

.bz-scroll::-webkit-scrollbar-thumb {
	background: var(--bz-scrollbar);
	border-radius: 8px;
}

.bz-scroll::-webkit-scrollbar-track {
	background: transparent;
}

/* Horizontal card scroller helper */
.bz-scroll--x {
	display: flex;
	overflow-x: auto;
	padding-bottom: 6px;
}

/* ------------------------------------------------------------------ *
 * 6. KEYFRAMES (DESIGN-SPEC §1.6)
 * ------------------------------------------------------------------ */

@keyframes bzfade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

@keyframes bzpop {
	from { opacity: 0; transform: scale(.96); }
	to   { opacity: 1; transform: none; }
}

@keyframes bzfloat {
	0%   { transform: translate(0, 0) scale(1); }
	50%  { transform: translate(22px, -26px) scale(1.08); }
	100% { transform: translate(0, 0) scale(1); }
}

@keyframes bzfloat2 {
	0%   { transform: translate(0, 0) scale(1); }
	50%  { transform: translate(-28px, 20px) scale(1.12); }
	100% { transform: translate(0, 0) scale(1); }
}

@keyframes bzword {
	0%   { transform: translateY(10px); }
	100% { transform: translateY(0); }
}

/* ------------------------------------------------------------------ *
 * 7. BUTTONS
 * ------------------------------------------------------------------ */

.bz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: var(--bz-r-btn);
	padding: 11px 18px;
	font-family: var(--bz-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.bz-btn--primary {
	background: var(--bz-orange);
	color: #fff;
}

.bz-btn--primary:hover {
	background: #e2761f;
	color: #fff;
}

.bz-btn--teal {
	background: var(--bz-teal);
	color: #fff;
}

.bz-btn--teal:hover {
	background: var(--bz-teal-dark);
	color: #fff;
}

.bz-btn--ghost {
	background: #fff;
	border-color: var(--bz-border-input);
	color: var(--bz-teal);
}

.bz-btn--ghost:hover {
	background: var(--bz-teal-50);
	border-color: var(--bz-teal-200);
}

.bz-btn--lg {
	padding: 15px 28px;
	font-size: 16px;
	border-radius: 11px;
}

.bz-btn--sm {
	padding: 8px 14px;
	font-size: 12px;
	border-radius: 8px;
}

.bz-btn--block {
	display: flex;
	width: 100%;
}

/* ------------------------------------------------------------------ *
 * 8. CHIPS / TAGS / PILLS / BADGES
 * ------------------------------------------------------------------ */

/* Neutral meta chip (icon + text) */
.bz-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bz-bg-2);
	color: var(--bz-slate);
	border-radius: 9px;
	padding: 7px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

.bz-chip .bz-icon {
	color: var(--bz-teal);
}

/* Teal-tinted chip (provider / kind chips) */
.bz-chip--teal {
	background: var(--bz-teal-100);
	color: var(--bz-teal);
	font-weight: 700;
}

/* Small kind chip on cards (also usable standalone, without .bz-chip) */
.bz-chip--kind {
	display: inline-flex;
	align-items: center;
	background: var(--bz-teal-100);
	color: var(--bz-teal);
	border-radius: var(--bz-r-sm);
	padding: 4px 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2px;
}

/* Small tag (specialist skills) */
.bz-tag {
	display: inline-flex;
	align-items: center;
	background: var(--bz-bg-2);
	color: var(--bz-slate);
	border-radius: var(--bz-r-xs);
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

/* Filter / tab pill (shared visual system, DESIGN-SPEC §4.4).
   .bz-tab is the tab-row variant of the same pill (front-page how-it-works
   tabs + [data-spec-filter] type tabs); .bz-tabs is its flex row wrapper. */
.bz-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bz-pill,
.bz-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--bz-border-input);
	border-radius: var(--bz-r-pill);
	background: #fff;
	color: var(--bz-slate);
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}

.bz-pill:hover,
.bz-tab:hover {
	border-color: var(--bz-teal-200);
}

.bz-pill.is-active,
.bz-pill--active,
.bz-tab.is-active {
	background: var(--bz-teal);
	border-color: var(--bz-teal);
	color: #fff;
}

/* Badges */
.bz-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border-radius: var(--bz-r-sm);
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .2px;
	white-space: nowrap;
}

.bz-badge .bz-icon {
	flex: none;
}

/* The green "Бесплатно" system */
.bz-badge--free {
	background: var(--bz-green);
	color: #fff;
}

.bz-badge--nalog {
	background: var(--bz-teal-100);
	color: var(--bz-teal);
}

.bz-badge--indep {
	background: var(--bz-partner-bg);
	color: var(--bz-partner-fg);
}

.bz-badge--white {
	background: #fff;
	color: var(--bz-teal);
	font-weight: 800;
	font-size: 12px;
	padding: 5px 10px;
}

.bz-badge--edit {
	background: var(--bz-orange-100);
	color: var(--bz-orange-700);
}

.bz-badge--lg {
	font-size: 12px;
	padding: 5px 10px;
}

/* Green tint pill panel (sidebars: "первый визит бесплатно") */
.bz-freebar {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--bz-green-100);
	border-radius: 11px;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-green-ink);
	line-height: 1.4;
}

/* Company logo badge (blitz_company_badge output) */
.bz-complogo {
	display: inline-flex;
	align-items: center;
}

.bz-complogo img {
	display: block;
	max-height: 20px;
	width: auto;
}

.bz-complogo--lg img {
	max-height: 28px;
}

/* ------------------------------------------------------------------ *
 * 9. FORM CONTROLS (booking-form styles, DESIGN-SPEC §3.6.2)
 * ------------------------------------------------------------------ */

.bz-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--bz-slate);
	margin-bottom: 8px;
}

.bz-input,
.bz-textarea {
	width: 100%;
	border: 1px solid var(--bz-border-input);
	border-radius: var(--bz-r-btn);
	background: #fff;
	color: var(--bz-ink);
	padding: 13px 14px;
	font-family: var(--bz-font);
	font-size: 15px;
	line-height: 1.4;
}

.bz-input::placeholder,
.bz-textarea::placeholder {
	color: var(--bz-gray-400);
}

.bz-textarea {
	min-height: 84px;
	resize: vertical;
}

.bz-input:focus,
.bz-textarea:focus,
.bz-selectwrap select:focus {
	border-color: var(--bz-teal);
	box-shadow: 0 0 0 3px rgba(14, 97, 93, .12);
	outline: none;
}

/* Bordered select wrapper (sort control style) */
.bz-selectwrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--bz-border-input);
	border-radius: var(--bz-r-btn);
	background: #fff;
	padding: 0 12px;
}

.bz-selectwrap .bz-icon {
	color: var(--bz-gray-400);
}

.bz-selectwrap select {
	border: 0;
	background: transparent;
	font-family: var(--bz-font);
	font-size: 13px;
	font-weight: 700;
	color: var(--bz-slate);
	padding: 10px 0;
	max-width: 200px;
}

/* ------------------------------------------------------------------ *
 * 10. SECTION HEADERS (.bz-shead)
 * ------------------------------------------------------------------ */

.bz-shead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

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

.bz-shead__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bz-teal-100);
	color: var(--bz-teal);
	border-radius: var(--bz-r-sm);
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2px;
	margin-bottom: 10px;
}

.bz-shead__title {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.6px;
	line-height: 1.15;
	color: var(--bz-ink);
}

.bz-shead__sub {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--bz-gray-600);
	max-width: 620px;
}

.bz-shead__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--bz-teal);
	white-space: nowrap;
	padding-bottom: 4px;
}

.bz-shead__link .bz-icon {
	transition: transform .12s ease;
}

.bz-shead__link:hover .bz-icon {
	transform: translateX(3px);
}

/* Generic teal arrow link (same look as .bz-shead__link; front-page
   "Все категории" and other standalone links emit .bz-link). */
.bz-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--bz-teal);
	white-space: nowrap;
}

.bz-link .bz-icon {
	transition: transform .12s ease;
}

.bz-link:hover .bz-icon {
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ *
 * 10b. BREADCRUMBS (shared: service / specialist / catalog templates.
 * Light-on-white default; catalog.css overrides the on-teal hero variant.)
 * ------------------------------------------------------------------ */

.bz-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 18px 0;
	font-size: 13px;
	color: var(--bz-gray-400);
}

.bz-crumbs a {
	color: inherit;
	text-decoration: none;
}

.bz-crumbs a:hover {
	color: var(--bz-teal);
}

.bz-crumbs__sep {
	color: inherit; /* gray on light pages, on-teal tint inside .bz-cathero */
}

.bz-crumbs__current {
	color: var(--bz-slate);
	font-weight: 600;
}

/* ------------------------------------------------------------------ *
 * 11. STAR RATINGS (hidden pre-launch, CONTRACT §10.1.5)
 * ------------------------------------------------------------------ */

.bz-stars {
	display: none;
	color: var(--bz-star);
	font-size: 15px;
	letter-spacing: 1px;
	line-height: 1;
}

body.bz-show-ratings .bz-stars {
	display: inline-block;
}

/* Exception: per-review stars are integral to the review card design
   (prototype renders them visibly; they read real rev_rating values). */
.bz-review .bz-stars {
	display: inline-block;
}

/* Aggregate rating row (stars + value + count) */
.bz-rating {
	display: none;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-gray-600);
}

body.bz-show-ratings .bz-rating {
	display: inline-flex;
}

.bz-rating__val {
	font-weight: 700;
	color: var(--bz-slate);
}

.bz-rating__count {
	color: var(--bz-gray-350);
	font-weight: 500;
}

/* ------------------------------------------------------------------ *
 * 12. AVATARS
 * ------------------------------------------------------------------ */

.bz-avatar {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--bz-av-size, 54px);
	height: var(--bz-av-size, 54px);
	border-radius: 50%;
	background: var(--bz-teal);
	color: #fff;
}

.bz-avatar__img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
	display: block;
}

.bz-avatar__initials {
	font-weight: 700;
	font-size: calc(var(--bz-av-size, 54px) * .33);
	line-height: 1;
	letter-spacing: .5px;
	text-transform: uppercase;
	user-select: none;
}

.bz-avatar__dot {
	position: absolute;
	right: 1px;
	bottom: 1px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--bz-green-dot);
	border: 2.5px solid #fff;
}

/* Squircle variant (profile 108/r22, provider 60/r16 — pages may bump radius) */
.bz-avatar--sq {
	border-radius: 16px;
}

/* ------------------------------------------------------------------ *
 * 13. CARD: SERVICE (.bz-svc-card)
 * ------------------------------------------------------------------ */

.bz-svc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-xl);
	overflow: hidden;
	transition: transform .12s ease, box-shadow .12s ease;
}

.bz-svc-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--bz-sh-card-hover);
}

.bz-svc-card__cover {
	height: 150px;
	background-color: var(--bz-teal-50);
	background-size: cover;
	background-position: center;
}

.bz-svc-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	flex: 1;
}

.bz-svc-card__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.bz-svc-card__cat {
	font-size: 12px;
	font-weight: 600;
	color: var(--bz-gray-400);
}

.bz-svc-card__title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.2px;
	color: var(--bz-ink);
}

/* Stretched link — whole card is clickable, no nested anchors */
.bz-svc-card__link {
	color: inherit;
}

.bz-svc-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bz-svc-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	font-size: 13px;
	color: var(--bz-gray-500);
}

.bz-svc-card__spec {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.bz-svc-card__dot {
	color: var(--bz-gray-350);
}

.bz-svc-card__sum {
	font-size: 13px;
	line-height: 1.45;
	color: var(--bz-gray-500);
}

.bz-svc-card__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid var(--bz-bg);
	padding-top: 12px;
}

.bz-svc-card__foot:only-child,
.bz-svc-card__foot:first-child {
	border-top: 0;
	padding-top: 0;
}

.bz-svc-card__price {
	margin-left: auto;
	font-size: 15px;
	font-weight: 800;
	color: var(--bz-teal);
	white-space: nowrap;
}

.bz-svc-card__price small {
	font-size: 12px;
	font-weight: 600;
	color: var(--bz-gray-500);
}

.bz-svc-card__price--free {
	color: var(--bz-green);
}

/* Compact "related" variant (DESIGN-SPEC §3.4.3.e) */
.bz-svc-card--related {
	border-radius: var(--bz-r-lg);
}

.bz-svc-card--related:hover {
	box-shadow: var(--bz-sh-card-hover-xs);
}

.bz-svc-card--related .bz-svc-card__body {
	gap: 6px;
}

.bz-svc-card--related .bz-svc-card__title {
	font-size: 15px;
}

.bz-svc-card--related .bz-svc-card__foot {
	border-top: 0;
	padding-top: 4px;
}

/* ------------------------------------------------------------------ *
 * 14. CARD: SPECIALIST (.bz-spec-card)
 * ------------------------------------------------------------------ */

.bz-spec-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-xl);
	padding: 18px;
	transition: transform .12s ease, box-shadow .12s ease;
}

.bz-spec-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--bz-sh-card-hover);
}

.bz-spec-card__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.bz-spec-card__id {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.bz-spec-card__name {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--bz-ink);
}

.bz-spec-card__head:hover .bz-spec-card__name {
	color: var(--bz-teal);
}

.bz-spec-card__role {
	font-size: 13px;
	line-height: 1.35;
	color: var(--bz-gray-500);
}

.bz-spec-card__badge {
	margin-top: 2px;
}

.bz-spec-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bz-spec-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	border-top: 1px solid var(--bz-bg);
	border-bottom: 1px solid var(--bz-bg);
	padding: 12px 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-gray-600);
}

/* Generic meta item (icon + text) */
.bz-mi {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bz-mi .bz-icon {
	color: var(--bz-gray-350);
}

.bz-spec-card__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.bz-spec-card__price {
	font-size: 13px;
	color: var(--bz-gray-500);
}

.bz-spec-card__price b {
	font-size: 15px;
	font-weight: 800;
	color: var(--bz-ink);
}

.bz-spec-card__actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.bz-spec-card__actions .bz-btn {
	padding: 10px 16px;
	font-size: 13px;
	border-radius: 9px;
}

/* ------------------------------------------------------------------ *
 * 15. CARD: CATEGORY (.bz-cat-card)
 * ------------------------------------------------------------------ */

.bz-cat-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-lg);
	padding: 18px;
	transition: transform .12s ease, box-shadow .12s ease;
}

.bz-cat-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--bz-sh-card-hover-sm);
}

.bz-cat-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.bz-cat-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: var(--bz-r-md);
	background: var(--bz-teal-100);
	color: var(--bz-teal);
	overflow: hidden;
}

.bz-cat-card__icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.bz-cat-card__arrow {
	display: inline-flex;
	color: var(--bz-gray-350);
	transition: color .12s ease, transform .12s ease;
}

.bz-cat-card:hover .bz-cat-card__arrow {
	color: var(--bz-teal);
	transform: translateX(3px);
}

.bz-cat-card__title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.2px;
	color: var(--bz-ink);
}

.bz-cat-card__sub {
	font-size: 13px;
	line-height: 1.4;
	color: var(--bz-gray-500);
}

/* ------------------------------------------------------------------ *
 * 16. CARD: REVIEW (.bz-review) + scroller row
 * ------------------------------------------------------------------ */

.bz-review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-xl);
	padding: 20px;
}

.bz-review__text {
	font-size: 15px;
	line-height: 1.55;
	color: var(--bz-ink-2);
	flex: 1;
}

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

.bz-review__name {
	font-size: 14px;
	font-weight: 700;
	color: var(--bz-ink);
}

.bz-review__sub {
	font-size: 12px;
	color: var(--bz-gray-400);
	margin-top: 1px;
}

/* Horizontal review row (home trust section) */
.bz-reviews {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.bz-reviews .bz-review {
	flex: none;
	width: 360px;
}

/* ------------------------------------------------------------------ *
 * 17. LIGHTBOX (DESIGN-SPEC §3.6.1; play circle teal per §10.1.7)
 * ------------------------------------------------------------------ */

.bz-lightbox {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: var(--bz-scrim-lb);
	animation: bzfade .15s ease;
}

.bz-lightbox__top {
	position: absolute;
	top: 18px;
	left: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
}

.bz-lightbox__album {
	font-size: 14px;
	font-weight: 600;
	color: var(--bz-lb-meta);
}

.bz-lightbox__close {
	color: #fff;
	font-size: 30px;
	line-height: 1;
	padding: 2px 8px;
}

.bz-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .12s ease;
	z-index: 1;
}

.bz-lightbox__nav:hover {
	background: rgba(255, 255, 255, .22);
}

.bz-lightbox__nav--prev {
	left: 18px;
}

.bz-lightbox__nav--next {
	right: 18px;
}

.bz-lightbox__stage {
	position: relative;
	width: 100%;
	max-width: 860px;
	height: 62vh;
	max-height: 62vh;
	border-radius: var(--bz-r-lg);
	overflow: hidden;
	background-color: #20242b;
	background-size: cover;
	background-position: center;
	animation: bzpop .18s ease;
}

.bz-lightbox__stage img,
.bz-lightbox__stage video,
.bz-lightbox__stage iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	display: block;
}

/* Video item: teal play circle (legacy navy remapped, CONTRACT §10.1.7) */
.bz-lightbox__stage--video::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: var(--bz-teal-a85);
}

.bz-lightbox__stage--video::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-38%, -50%);
	border-style: solid;
	border-width: 16px 0 16px 26px;
	border-color: transparent transparent transparent #fff;
}

.bz-lightbox__caption {
	margin-top: 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--bz-lb-text);
	text-align: center;
	max-width: 860px;
}

/* ------------------------------------------------------------------ *
 * 17b. PORTFOLIO GALLERY + TILES (shared component: specialist profile
 * AND fixed-price service pages render blitz_portfolio_grid() markup —
 * .bz-gallery / .bz-tile — so the styles live here, not in a page file.
 * DESIGN-SPEC §3.3.b; play circle teal per CONTRACT §10.1.7.)
 * ------------------------------------------------------------------ */

.bz-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 130px;
	gap: 10px;
	margin-top: 16px;
}

.bz-tile {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--bz-r-md);
	overflow: hidden;
	cursor: pointer;
	background-color: var(--bz-bg-2);
	background-size: cover;
	background-position: center;
}

.bz-tile--tall {
	grid-row: span 2;
}

.bz-tile:focus-visible {
	outline: 2px solid var(--bz-teal);
	outline-offset: 2px;
}

.bz-tile__flag {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
	background: var(--bz-teal);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: var(--bz-r-xs);
	padding: 3px 7px;
}

.bz-tile__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 46px;
	height: 46px;
	margin: -23px 0 0 -23px;
	border-radius: 50%;
	background: var(--bz-teal-a85);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bz-tile__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px 10px 8px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .45));
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-align: left;
}

/* ------------------------------------------------------------------ *
 * 18. GENERIC HELPERS
 * ------------------------------------------------------------------ */

/* Plain white panel */
.bz-card {
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-xl);
	padding: 24px;
}

/* Grids */
.bz-grid {
	display: grid;
	gap: 16px;
}

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

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

.bz-grid--4 {
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

/* Scroll lock (applied to body while an overlay is open) */
.bz-noscroll {
	overflow: hidden !important;
}

/* Visibility */
.bz-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.bz-mobile-only {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * 19. RESPONSIVE — TABLET (≤1024)
 * ------------------------------------------------------------------ */

@media (max-width: 1024px) {

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

	/* Portfolio grid keeps 3 cols on tablet even though the wrapper also
	   carries a .bz-grid--* cols class (declared after the rule above so
	   it wins at equal specificity). */
	.bz-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ------------------------------------------------------------------ *
 * 20. RESPONSIVE — MOBILE (≤720)
 * ------------------------------------------------------------------ */

@media (max-width: 720px) {

	.bz-container {
		padding: 0 16px;
	}

	.bz-shead__title {
		font-size: 24px;
	}

	.bz-shead__sub {
		font-size: 15px;
	}

	.bz-grid--2,
	.bz-grid--3 {
		grid-template-columns: 1fr;
	}

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

	.bz-reviews .bz-review {
		width: 280px;
	}

	.bz-btn--lg {
		padding: 14px 22px;
	}

	.bz-spec-card__actions {
		flex: 1 1 100%;
	}

	.bz-spec-card__actions .bz-btn {
		flex: 1;
	}

	.bz-svc-card__cover {
		height: 140px;
	}

	.bz-lightbox {
		padding: 16px;
	}

	.bz-lightbox__nav {
		width: 42px;
		height: 42px;
	}

	.bz-lightbox__nav--prev {
		left: 8px;
	}

	.bz-lightbox__nav--next {
		right: 8px;
	}

	.bz-desktop-only {
		display: none !important;
	}

	.bz-mobile-only {
		display: block !important;
	}

	.bz-crumbs {
		padding: 14px 0;
	}

	/* Portfolio grid: 2 cols / 110px rows on mobile (after .bz-grid--*
	   so it wins at equal specificity on the shared wrapper). */
	.bz-gallery {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 110px;
	}
}

/* ------------------------------------------------------------------ *
 * 21. REDUCED MOTION (decorative animations off; !important so the
 * guard also wins over chrome.css / page files loaded after base)
 * ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	.bz-mega,
	.bz-lightbox,
	.bz-lightbox__stage,
	.bz-hero__blob,
	.bz-hero__word,
	.bz-airesult,
	.bz-aisk__line {
		animation: none !important;
	}
}

/* «+ N других» counter chip on specialist cards — links to the profile services. */
.bz-tag--more {
	color: var(--bz-teal, #0e615d);
	font-weight: 700;
	text-decoration: none;
}

.bz-tag--more:hover {
	text-decoration: underline;
}
