/*
 * Blitz 2 — home page (front-page.php) scoped styles.
 * Tokens (--bz-*), keyframes (bzfloat, bzfloat2, bzword) and shared components
 * (buttons, chips, tabs, cards, bz-shead, bz-container, bz-scroll) live in
 * base.css — this file only styles page-scoped wrappers per CONTRACT §3.
 * Desktop values from DESIGN-SPEC §3.2; responsive at 1024/720 per CONTRACT.
 */

/* ---------------------------------------------------------------- sections */

.bz-section {
	padding-top: 72px;
}

.bz-section--first {
	padding-top: 56px;
}

/* -------------------------------------------------------------------- hero */

.bz-hero {
	position: relative;
	overflow: hidden;
	background: var(--bz-teal);
	color: #fff;
}

.bz-hero .bz-container {
	position: relative;
	z-index: 1;
}

.bz-hero__blob {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.bz-hero__blob--1 {
	width: 340px;
	height: 340px;
	top: -90px;
	right: -60px;
	background: radial-gradient(circle, rgba(206, 231, 229, 0.22), rgba(206, 231, 229, 0) 70%);
	animation: bzfloat 14s ease-in-out infinite;
}

.bz-hero__blob--2 {
	width: 260px;
	height: 260px;
	bottom: -120px;
	right: 180px;
	background: radial-gradient(circle, rgba(245, 135, 46, 0.16), rgba(245, 135, 46, 0) 70%);
	animation: bzfloat2 18s ease-in-out infinite;
}

.bz-hero__blob--3 {
	width: 140px;
	height: 140px;
	top: 60px;
	right: 38%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 70%);
	animation: bzfloat 11s ease-in-out infinite;
}

.bz-hero__wrap {
	display: flex;
	align-items: center;
	gap: 40px;
}

.bz-hero__inner {
	flex: 1 1 auto;
	min-width: 0;
	padding: 68px 0 76px;
	max-width: 760px;
}

/* Hero illustration — sits to the right of the search area, deliberately modest. */
.bz-hero__art {
	flex: 0 0 330px;
	max-width: 330px;
	animation: bzfade .5s ease;
}

.bz-hero__art img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.bz-hero__art {
		display: none;
	}
}

.bz-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--bz-r-pill);
	padding: 6px 13px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-on-teal-badge);
	margin-bottom: 20px;
}

.bz-hero__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--bz-green-dot);
	flex: none;
}

.bz-hero__title {
	margin: 0 0 16px;
	font-size: 52px;
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -1.2px;
	color: #fff;
}

.bz-hero__words {
	display: inline-block;
}

.bz-hero__word {
	display: inline-block;
	color: var(--bz-orange-200);
	transform-origin: bottom left;
	animation: bzword 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bz-hero__lead {
	margin: 0 0 28px;
	font-size: 19px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--bz-on-teal-body);
}

/* Hero search bar */

.bz-search {
	display: flex;
	gap: 8px;
	background: #fff;
	border-radius: var(--bz-r-lg);
	padding: 8px;
	box-shadow: var(--bz-sh-search);
}

.bz-search__field {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 12px;
	color: var(--bz-gray-400);
}

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

.bz-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--bz-ink);
	padding: 13px 0;
}

.bz-search__input::placeholder {
	color: var(--bz-gray-400);
}

.bz-search__btn {
	flex: none;
	border-radius: var(--bz-r-btn);
	padding: 14px 26px;
	font-size: 16px;
	font-weight: 700;
}

/* Hero chips (on-teal variant — distinct from base .bz-chip) */

.bz-hero__chips {
	display: flex;
	gap: 9px;
	margin-top: 18px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.bz-hero__chip {
	flex: none;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--bz-r-pill);
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-lb-text);
	text-decoration: none;
	transition: background 0.12s;
}

.bz-hero__chip:hover {
	background: rgba(255, 255, 255, 0.16);
}

.bz-hero__trust {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 26px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bz-on-teal-body);
}

.bz-hero__sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--bz-on-teal-dot);
	flex: none;
}

/* ------------------------------------------------- free consultations panel */

.bz-consult {
	background: var(--bz-teal-100);
	border-radius: var(--bz-r-panel);
	padding: 32px;
}

.bz-consult__badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.bz-consult__pop {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #fff;
	color: var(--bz-teal);
	border-radius: var(--bz-r-sm);
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.2px;
}

.bz-consult__title {
	color: var(--bz-teal-ink);
}

.bz-consult__lead {
	margin: 6px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--bz-teal-ink2);
	max-width: 620px;
}

.bz-consult__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 22px;
}

.bz-consult-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-xl);
	padding: 24px;
}

.bz-consult-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.bz-consult-card__time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-gray-ico);
}

.bz-consult-card__title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.3px;
	line-height: 1.25;
}

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

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

.bz-consult-card__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}

.bz-consult-card__row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--bz-slate);
}

.bz-consult-card__row .bz-icon {
	flex: none;
	margin-top: 1px;
	color: var(--bz-green);
}

.bz-consult-card__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	border-top: 1px solid var(--bz-bg);
	padding-top: 14px;
}

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

.bz-consult-card__name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--bz-ink);
}

.bz-consult-card__cat {
	font-size: 12px;
	color: var(--bz-gray-400);
	margin-top: 2px;
}

.bz-consult-card__cta {
	flex: none;
}

/* ------------------------------------------------------- category spotlight */

.bz-spot__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;
	margin-bottom: 10px;
}

.bz-spot__sub {
	margin-bottom: 22px;
}

.bz-spot__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.bz-broad {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-2xl);
	padding: 24px;
}

/* Pin the «Выберите раздел» list to the card bottom so both spotlight
   cards align regardless of blurb length. */
.bz-broad__label {
	margin-top: auto;
}

.bz-broad__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.bz-broad__icon {
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: var(--bz-r-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bz-teal-100);
	color: var(--bz-teal);
}

.bz-broad__title {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--bz-ink);
}

.bz-broad__sub {
	font-size: 13px;
	color: var(--bz-gray-500);
	margin-top: 2px;
}

.bz-broad__blurb {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bz-gray-600);
}

.bz-broad__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--bz-gray-400);
	text-transform: uppercase;
	letter-spacing: 0.4px;
	margin-bottom: 9px;
}

.bz-broad__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Audience arrow rows («Частным лицам» / «Бизнесу» / «Мигрантам») inside the
   spotlight cards — DESIGN-SPEC §3.2.3 sub-row look, link to the filtered
   catalog (?cat={ID}&aud={key}). */

.bz-subrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--bz-teal-50);
	border: 1px solid var(--bz-teal-50-bd);
	border-radius: var(--bz-r-md);
	padding: 13px 15px;
	text-decoration: none;
	transition: background 0.12s, border-color 0.12s;
}

.bz-subrow:hover {
	background: var(--bz-teal-100);
	border-color: var(--bz-teal-200);
}

.bz-subrow__l {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--bz-teal);
}

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

.bz-subrow > .bz-icon {
	flex: none;
	color: var(--bz-teal);
}

/* --------------------------------------------------- all categories (grid) */

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

/* ------------------------------------------------------------ how it works */

.bz-how__title {
	margin-bottom: 14px;
}

.bz-how__tabs {
	margin-bottom: 20px;
}

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

.bz-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-xl);
	padding: 24px;
}

.bz-step__num {
	position: absolute;
	top: 12px;
	right: 20px;
	font-size: 46px;
	font-weight: 800;
	line-height: 1;
	color: var(--bz-bg);
	pointer-events: none;
}

.bz-step__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--bz-r-lg);
	background: var(--bz-teal);
	color: #fff;
	margin-bottom: 14px;
}

.bz-step__t {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.2px;
	color: var(--bz-ink);
}

.bz-step__d {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bz-gray-600);
}

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

.bz-spec-tabs {
	margin-bottom: 18px;
}

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

/* ---------------------------------------------------------------- CTA band */

.bz-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 24px;
	background: linear-gradient(100deg, var(--bz-teal), var(--bz-teal-dark));
	border-radius: 20px;
	padding: 44px;
	color: #fff;
}

.bz-cta__blob {
	position: absolute;
	top: -40px;
	right: -40px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(245, 135, 46, 0.16);
	pointer-events: none;
}

.bz-cta__body {
	flex: 1;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.bz-cta__badge {
	display: inline-flex;
	align-items: center;
	background: rgba(245, 135, 46, 0.2);
	color: var(--bz-orange-200);
	border-radius: var(--bz-r-sm);
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 12px;
}

.bz-cta__title {
	margin: 0 0 10px;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.6px;
	color: #fff;
}

.bz-cta__sub {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--bz-on-teal-body);
	max-width: 520px;
}

.bz-cta__btn {
	flex: none;
	position: relative;
	z-index: 1;
	border-radius: var(--bz-r-md);
	padding: 16px 28px;
	font-size: 16px;
	font-weight: 700;
}

/* -------------------------------------------------------- stats + reviews */

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

.bz-stat {
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-lg);
	padding: 22px;
	text-align: center;
}

.bz-stat__v {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1;
	color: var(--bz-teal);
}

.bz-stat__l {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bz-gray-600);
}

/* Review scroller (.bz-reviews) + card widths are owned by base.css §16. */

/* --------------------------------------------------------------------- FAQ */

.bz-faq-wrap {
	max-width: 820px;
}

.bz-faq__heading {
	margin-bottom: 20px;
}

.bz-faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bz-faq__item {
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-r-lg);
	overflow: hidden;
}

.bz-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 18px 20px;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--bz-ink);
}

.bz-faq__q .bz-icon {
	flex: none;
	color: var(--bz-gray-400);
	transition: transform 0.2s;
}

.bz-faq__item.is-open .bz-faq__q .bz-icon {
	transform: rotate(180deg);
}

.bz-faq__a {
	display: none;
	margin: 0;
	padding: 0 20px 20px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--bz-gray-600);
}

.bz-faq__item.is-open .bz-faq__a {
	display: block;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1024px) {

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

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

@media (max-width: 720px) {

	.bz-section {
		padding-top: 42px;
	}

	.bz-section--first {
		padding-top: 34px;
	}

	/* Hero */
	.bz-hero__inner {
		padding: 34px 0 40px;
	}

	.bz-hero__title {
		font-size: 30px;
		letter-spacing: -0.8px;
	}

	.bz-hero__lead {
		font-size: 16px;
	}

	.bz-search {
		flex-direction: column;
	}

	.bz-search__field {
		padding-left: 8px;
	}

	.bz-search__input {
		padding: 11px 0;
	}

	.bz-search__btn {
		width: 100%;
	}

	/* Free consultations */
	.bz-consult {
		padding: 22px 16px;
	}

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

	.bz-consult-card__foot {
		flex-wrap: wrap;
	}

	.bz-consult-card__cta {
		flex: 1 1 100%;
		width: 100%;
		text-align: center;
	}

	/* Spotlight */
	.bz-spot__grid {
		grid-template-columns: 1fr;
	}

	/* Categories stay 2×2 on mobile per spec */
	.bz-grid--cats {
		grid-template-columns: repeat(2, 1fr);
	}

	/* How it works */
	.bz-how__grid {
		grid-template-columns: 1fr;
	}

	/* Specialists */
	.bz-spec-grid {
		grid-template-columns: 1fr;
	}

	/* CTA band */
	.bz-cta {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 28px 22px;
	}

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

	.bz-cta__sub {
		max-width: none;
	}

	.bz-cta__btn {
		width: 100%;
		text-align: center;
	}

	/* Stats (mobile review-card width lives in base.css §20) */
	.bz-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

	.bz-hero__blob,
	.bz-hero__word {
		animation: none;
	}
}
