/* =============================================================
   PIARNYA — Why Us Section
   Зависит от: variables.css, base.css
   ============================================================= */

/* ── СЕКЦИЯ ─────────────────────────────────────────────────── */
.why-us {
	background: var(--color-bg);
}

/* ── ДВУХКОЛОНОЧНЫЙ СПЛИТ ───────────────────────────────────── */
.why-us__inner {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: var(--sp-20);
	align-items: start;
}

/* ── ЛЕВАЯ КОЛОНКА — ЯКОРНЫЙ СТАТ ──────────────────────────── */
.why-us__anchor {
	position: sticky;
	top: calc(var(--header-total-h) + var(--sp-12));
}

.why-us__anchor-stat {
	display: flex;
	flex-direction: column;
	gap: var(--sp-4);
	padding: var(--sp-12) var(--sp-10);
	border-radius: var(--radius-xl);
	background: var(--color-surface);
	border: 1.5px solid var(--color-border);
	text-align: center;
}

.why-us__anchor-num {
	font-family: var(--font-display);
	font-size: clamp(72px, 10vw, 120px);
	font-weight: 700;
	line-height: 1;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	display: block;
}

.why-us__anchor-plus {
	font-size: .55em;
	vertical-align: super;
}

.why-us__anchor-label {
	font-size: var(--text-lg);
	font-weight: 600;
	color: var(--color-text-muted);
	line-height: var(--leading-snug);
}

/* ── ПРАВАЯ КОЛОНКА ─────────────────────────────────────────── */
.why-us__header {
	margin-bottom: var(--sp-12);
}

.why-us__header .section-label {
	font-size: var(--text-xl);
	text-transform: none;
	letter-spacing: 0;
}

.why-us__title {
	font-size: clamp(44px, 6vw, 72px);
	color: var(--color-text);
	margin-block: var(--sp-4);
	line-height: var(--leading-tight);
}

.why-us__title-accent {
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}

.why-us__subtitle {
	font-size: var(--text-lg);
	color: var(--color-text-muted);
	line-height: var(--leading-normal);
	max-width: 48ch;
}

/* ── СПИСОК ─────────────────────────────────────────────────── */
.why-us__list {
	list-style: none;
}

.why-us__item {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: var(--sp-6);
	padding-block: var(--sp-8);
	border-top: 1px solid var(--color-border);
	transition: border-color var(--dur-base) var(--ease);
}

.why-us__item:last-child {
	border-bottom: 1px solid var(--color-border);
}

.why-us__item:hover {
	border-color: var(--color-border-2);
}

/* Номер */
.why-us__num {
	font-family: var(--font-display);
	font-size: var(--text-sm);
	font-weight: 700;
	padding-top: 3px; /* выравнивание по первой строке заголовка */
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	letter-spacing: .05em;
	transition: opacity var(--dur-base) var(--ease);
}

/* Тело */
.why-us__item-body {
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
}

.why-us__item-title {
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-text);
	line-height: var(--leading-snug);
	transition: color var(--dur-base) var(--ease);
}

.why-us__item:hover .why-us__item-title {
	color: var(--color-primary);
}

.why-us__item-desc {
	font-size: var(--text-base);
	color: var(--color-text-muted);
	line-height: var(--leading-normal);
	max-width: 58ch;
}

/* ── АДАПТИВ ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.why-us__inner {
		grid-template-columns: 1fr;
		gap: var(--sp-12);
	}

	.why-us__anchor {
		position: static;
	}

	.why-us__anchor-stat {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: var(--sp-6);
		padding: var(--sp-8) var(--sp-10);
		text-align: left;
	}

	.why-us__anchor-num {
		font-size: clamp(56px, 12vw, 80px);
	}
}

@media (max-width: 640px) {
	.why-us__item {
		grid-template-columns: 40px 1fr;
		gap: var(--sp-4);
		padding-block: var(--sp-6);
	}

	.why-us__item-title {
		font-size: var(--text-lg);
	}

	.why-us__anchor-stat {
		flex-direction: column;
		text-align: center;
		padding: var(--sp-8);
		gap: var(--sp-3);
	}
}
