/**
 * Главная — front-page.php (классы .hm-*). Подключается только на главной.
 * Шкала шрифтов общая с остальными новыми страницами: заголовки — Unbounded капсом,
 * текст — Inter 15–18px; скругления 14–32px; один акцентный цвет (--c-accent).
 */

.hm {
	--hm-line: #E6E8EC;
	--hm-muted: #6B7280;
	--hm-soft: #F5F6F8;
	--hm-ease: cubic-bezier(.22, 1, .36, 1);
	color: var(--c-text);
}
.hm p, .hm h1, .hm h2, .hm h3, .hm ul, .hm ol, .hm dl, .hm dd { margin: 0; }

/* ---------- Кнопки ---------- */
.hm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 56px;
	padding: 0 26px;
	border-radius: 14px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease, transform .35s var(--hm-ease);
}
.hm-btn svg { transition: transform .35s var(--hm-ease); }
.hm-btn:hover svg { transform: translateX(3px); }
.hm-btn--primary { background: var(--c-accent); color: #fff !important; }
.hm-btn--primary:hover { background: var(--c-primary-dark); }
.hm-btn--glass { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1px solid rgba(255, 255, 255, .18); }
.hm-btn--glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }

/* ---------- 1. Первый экран: светлый, иллюстрация на прозрачном фоне ---------- */
.hm-hero { padding: 24px 0 0; }
.hm-hero__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 40px;
	min-height: 540px;
	isolation: isolate;
}
.hm-hero__text { position: relative; z-index: 2; padding: 32px 0; }
.hm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	margin-bottom: 28px;
	border-radius: 999px;
	background: var(--c-primary-light);
	color: var(--c-primary-deep);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.hm .hm-hero__title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(30px, 4.3vw, 62px);
	line-height: 1;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: var(--c-text);
	margin-bottom: 24px;
	overflow-wrap: normal;
	hyphens: none;
}
.hm-hero__line { display: block; }
.hm-hero__accent { color: var(--c-accent); }
.hm .hm-hero__lead { max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--hm-muted); margin-bottom: 36px; }
.hm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-hero .hm-btn--glass { background: #fff; color: var(--c-text) !important; border: 1px solid #D5DAE1; }
.hm-hero .hm-btn--glass:hover { background: #fff; border-color: var(--c-text); }
.hm-hero__art { position: relative; display: flex; align-items: center; justify-content: center; }
/* мягкое фирменное свечение за иллюстрацией */
.hm-hero__art::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 52%;
	width: 88%;
	aspect-ratio: 1.25;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(76, 155, 255, .20), rgba(76, 155, 255, .07) 55%, rgba(76, 155, 255, 0));
	z-index: -1;
}
.hm .hm-hero__img { display: block; width: 100%; max-width: 680px; height: auto; margin: 0; border-radius: 0; }

/* Появление первого экрана */
.hm-hero__eyebrow, .hm-hero__title, .hm-hero__lead, .hm-hero__actions { animation: hm-up .9s var(--hm-ease) both; }
.hm-hero__title { animation-delay: .06s; }
.hm-hero__lead { animation-delay: .14s; }
.hm-hero__actions { animation-delay: .22s; }
.hm-hero__art { animation: hm-fade 1.2s ease .1s both; }
@keyframes hm-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hm-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 2. Цифры ---------- */
.hm-stats { padding: 40px 0 0; }
.hm-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.hm-stats__list > div { padding: 4px 28px; border-left: 1px solid var(--hm-line); }
.hm-stats__list > div:first-child { padding-left: 0; border-left: 0; }
.hm-stats__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--c-primary-light); color: var(--c-primary-deep); }
.hm-stats__list dt { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.03em; color: var(--c-text); }
.hm-stats__list dd { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--hm-muted); }

/* ---------- Секции и заголовки ---------- */
.hm-sec { padding: 104px 0 0; }
.hm-sec--tight { padding-top: 72px; }
.hm-sec--last { padding-bottom: 112px; }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.hm .hm-head__title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	color: var(--c-text);
}
.hm-head__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding-bottom: 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-text) !important;
	text-decoration: none !important;
	transition: color .2s ease;
}
.hm-head__link svg { transition: transform .35s var(--hm-ease); }
.hm-head__link:hover { color: var(--c-primary-dark) !important; }
.hm-head__link:hover svg { transform: translate(2px, -2px); }

/* ---------- 3. Разделы: плитки «бенто» с веером обложек ---------- */
.hm-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, 272px);
	grid-template-areas:
		"plugins plugins daw daw"
		"plugins plugins subs kits";
	gap: 16px;
}
.hm-cat--plugins { grid-area: plugins; }
.hm-cat--daw { grid-area: daw; }
.hm-cat--subs { grid-area: subs; }
.hm-cat--kits { grid-area: kits; }

.hm-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 28px;
	border-radius: 28px;
	background: var(--cat-tone, var(--hm-soft));
	color: var(--c-text) !important;
	text-decoration: none !important;
	overflow: hidden;
	isolation: isolate;
}
.hm-cat__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; max-width: 58%; }
.hm-cat--plugins .hm-cat__text { max-width: 70%; }
.hm-cat__name { font-family: var(--font-heading); font-weight: 800; font-size: 24px; line-height: 1.08; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 10px; }
.hm-cat--plugins .hm-cat__name { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 14px; }
.hm-cat__desc { font-size: 14.5px; line-height: 1.5; color: rgba(21, 23, 28, .66); }
.hm-cat--plugins .hm-cat__desc { font-size: 16px; }
.hm-cat__count { display: inline-flex; align-items: center; height: 28px; margin-top: 16px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .72); font-size: 13px; font-weight: 600; color: var(--c-text); }

/* Готовые картинки разделов: свободная композиция, при наведении слегка разъезжается */
.hm-cat--plugins { --cat-tone: #E3EAE4; }
.hm-cat--daw { --cat-tone: #EBF1E1; }
.hm-cat--subs { --cat-tone: #FAEEE1; }
.hm-cat--kits { --cat-tone: #E4EBF3; }
.hm-cat__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hm-cat__i {
	position: absolute;
	left: var(--l);
	top: var(--t);
	z-index: var(--z, 1);
	width: var(--w);
	height: auto;
	max-width: none;
	margin: 0;
	transform: rotate(var(--r, 0deg));
	filter: var(--f, ) var(--sh, drop-shadow(0 12px 18px rgba(15, 23, 42, .18)));
	transition: transform .7s var(--hm-ease);
}
.hm-cat:hover .hm-cat__i { transform: translate(var(--hx, 0), var(--hy, -6px)) rotate(calc(var(--r, 0deg) * 1.25)); }

.hm-cat__icon { position: absolute; right: 28px; bottom: 28px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .72); }
.hm-cat__go {
	position: absolute;
	z-index: 3;
	left: 28px;
	bottom: 28px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--c-text);
	transition: background-color .25s ease, color .25s ease, transform .5s var(--hm-ease);
}
.hm-cat:hover .hm-cat__go { background: var(--c-text); color: #fff; transform: translateX(3px); }
.hm-cat:focus-visible { outline: 2px solid var(--c-text); outline-offset: 3px; }

/* ---------- 4. Популярное (карточки из catalog.css) ---------- */
.hm .hm-grid { gap: 36px 20px; }

/* ---------- 5. Промо: фон — сильно размытая и затемнённая картинка самого товара ---------- */
.hm-promo {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
	padding: 48px 48px 48px 56px;
	border-radius: 28px;
	background: var(--promo-tone, #2A2622);
	color: #fff !important;
	text-decoration: none !important;
	overflow: hidden;
	isolation: isolate;
}
.hm-promo::before {
	content: "";
	position: absolute;
	inset: -35%;
	z-index: -2;
	/* лёгкая фактура из самой картинки поверх её среднего затемнённого цвета (--promo-tone) */
	background: var(--promo-bg) center / cover no-repeat;
	filter: blur(100px) saturate(1.2) brightness(.6);
	opacity: .35;
}
.hm-promo::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0) 70%);
}
.hm-promo__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.hm-promo__badge { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hm-promo__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -0.04em; }
.hm-promo__desc { max-width: 460px; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.hm-promo__price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; }
.hm-promo__now { font-family: var(--font-heading); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.hm-promo__old { font-size: 16px; color: rgba(255, 255, 255, .5); text-decoration: line-through; }
.hm-promo__off { padding: 5px 10px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.hm-promo__btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; margin-top: 10px; padding: 0 22px; border-radius: 14px; background: #fff; color: var(--c-text); font-size: 15px; font-weight: 600; }
.hm-promo__btn svg { transition: transform .35s var(--hm-ease); }
.hm-promo:hover .hm-promo__btn svg { transform: translateX(3px); }
.hm-promo__media { display: block; min-width: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #1A1B1F; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hm .hm-promo__img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; border-radius: 0; transition: transform 1s var(--hm-ease); }
.hm-promo:hover .hm-promo__img { transform: scale(1.03); }

/* ---------- 6. Как это работает ---------- */
.hm-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.hm-steps li { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 28px 28px 30px; border-radius: 24px; background: var(--hm-soft); }
.hm-steps__num { margin-bottom: 18px; font-family: var(--font-heading); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--c-accent); }
.hm-steps__title { font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; color: var(--c-text); }
.hm-steps__text { font-size: 15.5px; line-height: 1.55; color: var(--hm-muted); }

/* ---------- 7. Почему SoundRoom ---------- */
.hm-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding-top: 56px; border-top: 1px solid var(--hm-line); }
.hm .hm-about__title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(22px, 2.3vw, 32px);
	line-height: 1.12;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--c-text);
	margin-bottom: 24px;
}
.hm-about__title span { color: var(--c-accent); }
.hm-about__intro p { font-size: 16.5px; line-height: 1.7; color: #4B5563; }
.hm-about__intro p + p { margin-top: 14px; }
.hm-about__list { list-style: none; padding: 0; display: grid; gap: 28px; }
.hm-about__list li { display: flex; gap: 18px; margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--hm-muted); }
.hm-about__list strong { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 600; color: var(--c-text); }
.hm-about__icon { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary-light); color: var(--c-primary-deep); }

/* ---------- 8. Доверие ---------- */
.hm-trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.hm-trust__card {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 36px 40px;
	border-radius: 28px;
	background: var(--hm-soft);
	color: var(--c-text) !important;
	text-decoration: none !important;
	transition: transform .5s var(--hm-ease);
}
.hm-trust__card:hover { transform: translateY(-3px); }
.hm-trust__card--dark { background: linear-gradient(135deg, #EEF5FF 0%, #E3EEFF 100%); }
.hm-trust__big { flex: 0 0 auto; font-family: var(--font-heading); font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.05em; color: var(--c-text); }
.hm-trust__tg { flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-accent); color: #fff; box-shadow: 0 14px 28px -14px rgba(26, 95, 204, .7); }
.hm-trust__body { display: flex; flex-direction: column; gap: 6px; }
.hm-trust__title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
.hm-trust__text { font-size: 15px; line-height: 1.5; color: var(--hm-muted); }
.hm-trust__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--c-primary-dark); }
.hm-trust__link svg { transition: transform .35s var(--hm-ease); }
.hm-trust__card:hover .hm-trust__link svg { transform: translate(2px, -2px); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
	.hm-hero__text { padding-left: 48px; }
	.hm-about { gap: 48px; }
}
@media (max-width: 900px) {
	.hm-hero { padding-top: 12px; }
	.hm-hero__card { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; }
	.hm-hero__art { order: -1; }
	.hm .hm-hero__img { width: 100%; }
	.hm .hm-hero__title { font-size: clamp(22px, 7vw, 34px); letter-spacing: -0.035em; }
	.hm-hero__text { padding: 0; }
	.hm-hero__eyebrow { margin-bottom: 18px; }
	.hm .hm-hero__lead { font-size: 16px; margin-bottom: 28px; }
	.hm-hero__actions { flex-direction: column; }
	.hm-btn { width: 100%; height: 54px; }

	.hm-stats { padding-top: 32px; }
	.hm-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
	.hm-stats__list > div { padding: 0 0 0 18px; }
	.hm-stats__list > div:nth-child(odd) { padding-left: 0; border-left: 0; }
	.hm-stats__icon { width: 38px; height: 38px; margin-bottom: 10px; border-radius: 10px; }

	.hm-sec { padding-top: 72px; }
	.hm-sec--tight { padding-top: 56px; }
	.hm-sec--last { padding-bottom: 72px; }
	.hm-head { flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; }
	.hm .hm-head__title { font-size: clamp(22px, 6.4vw, 28px); }
	.hm-head__link { font-size: 14px; }

	.hm-promo { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 20px 26px; border-radius: 22px; }
	.hm-promo__media { order: -1; border-radius: 14px; }
	.hm-promo__text { gap: 10px; padding: 0 4px; }
	.hm-promo__desc { font-size: 15px; }
	.hm-promo__now { font-size: 26px; }
	.hm-promo__btn { width: 100%; justify-content: center; }

	.hm-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.hm-steps li { padding: 24px; border-radius: 20px; }
	.hm-steps__num { font-size: 36px; margin-bottom: 10px; }
	.hm-steps__title { font-size: 19px; }

	.hm-about { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px; }
	.hm-trust { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.hm-trust__card { padding: 26px 24px; gap: 20px; border-radius: 22px; }
	.hm-trust__big { font-size: 56px; }
	.hm-trust__tg { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
	.hm-hero__eyebrow, .hm-hero__title, .hm-hero__lead, .hm-hero__actions, .hm-hero__art { animation: none; }
	.hm-cat__i, .hm-cat__go, .hm-promo__img, .hm-trust__card { transition: none; }
}

/* Клетка «Весь каталог» — устроена как карточка товара (картинка 4:3 + подпись) */
.hm .hm-more__media {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px;
	background: linear-gradient(145deg, #EEF5FF 0%, #DDEBFF 100%);
	color: var(--c-primary-deep);
}
.hm-more__count { font-family: var(--font-heading); font-weight: 800; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.04em; }
.hm-more__go { align-self: flex-end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--c-primary-deep); transition: transform .35s var(--hm-ease), background-color .2s ease, color .2s ease; }
.hm-more .sr-card__link:hover .hm-more__go { background: var(--c-accent); color: #fff; transform: translateX(3px); }
.hm-more__sub { font-size: 14px; font-weight: 500; color: var(--hm-muted); }
@media (max-width: 900px) {
	.hm .hm-more__media { padding: 14px; }
	.hm-more__count { font-size: 28px; }
	.hm-more__go { width: 34px; height: 34px; border-radius: 10px; }
	.hm-more__sub { font-size: 12.5px; }
}

/* Цифры: иконка слева от числа, подпись под числом */
.hm-stats__list > div { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.hm .hm-stats__icon { grid-row: 1 / span 2; margin: 0; }
.hm-stats__list dd { margin-top: 2px; }

/* Цифры на телефоне: иконка над числом, число не переносится */
@media (max-width: 900px) {
	.hm-stats__list > div { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 0; }
	.hm .hm-stats__icon { grid-row: auto; margin-bottom: 10px; }
	.hm-stats__list dt { white-space: nowrap; font-size: clamp(22px, 6.6vw, 28px); }
}

/* Узкие маленькие плитки (ноутбук ~1000–1180px и меньше): без описания и стрелки, картинки по «телефонным» координатам */
@media (max-width: 1180px) {
	.hm-cat--subs .hm-cat__desc,
	.hm-cat--kits .hm-cat__desc,
	.hm-cat--subs .hm-cat__go,
	.hm-cat--kits .hm-cat__go { display: none; }
	.hm-cat--subs .hm-cat__text,
	.hm-cat--kits .hm-cat__text { max-width: 100%; }
	.hm-cat--subs .hm-cat__i,
	.hm-cat--kits .hm-cat__i { left: var(--ml, var(--l)); top: var(--mt, var(--t)); width: var(--mw, var(--w)); }
}

/* Разделы на планшете и телефоне: «Плагины» и «DAW» во всю ширину, «Подписки» и «Пресеты» рядом */
@media (max-width: 900px) {
	.hm-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 320px 220px 230px;
		grid-template-areas:
			"plugins plugins"
			"daw daw"
			"subs kits";
		gap: 10px;
	}
	.hm-cat { padding: 20px; border-radius: 22px; }
	.hm-cat__name { font-size: 19px; margin-bottom: 6px; }
	.hm-cat--plugins .hm-cat__name { font-size: 30px; margin-bottom: 10px; }
	.hm-cat__desc, .hm-cat--plugins .hm-cat__desc { font-size: 13.5px; }
	.hm-cat__count { height: 26px; margin-top: 12px; padding: 0 10px; font-size: 12.5px; }
	.hm-cat__go { display: none; }
	.hm-cat__i { left: var(--ml, var(--l)); top: var(--mt, var(--t)); width: var(--mw, var(--w)); }
	.hm-cat--subs .hm-cat__text,
	.hm-cat--kits .hm-cat__text { max-width: 100%; }
	.hm-cat--subs .hm-cat__desc,
	.hm-cat--kits .hm-cat__desc,
	.hm-cat--subs .hm-cat__go,
	.hm-cat--kits .hm-cat__go { display: none; }
	.hm-cat--subs .hm-cat__name,
	.hm-cat--kits .hm-cat__name { font-size: 17px; }
}
@media (max-width: 380px) {
	.hm-cat--subs .hm-cat__name,
	.hm-cat--kits .hm-cat__name { font-size: 16px; }
}

/* Папки в «Пресетах»: мягкое синее свечение за папками и вокруг них */
.hm-cat--kits::before {
	content: "";
	position: absolute;
	left: 10%;
	right: -10%;
	bottom: -30%;
	height: 75%;
	z-index: 0;
	background: radial-gradient(closest-side, rgba(76, 155, 255, .42), rgba(76, 155, 255, 0));
	pointer-events: none;
	transition: opacity .6s var(--hm-ease), transform .7s var(--hm-ease);
}
.hm-cat--kits:hover::before { transform: scale(1.08); }
.hm-cat--kits .hm-cat__i { filter: drop-shadow(0 10px 24px rgba(44, 128, 222, .45)) drop-shadow(0 0 1px rgba(255, 255, 255, .6)); }

/* Плитка нажимается целиком — стрелки не нужны, картинки занимают низ */
.hm-cat__go { display: none !important; }

/* ---------- Синие акценты SoundRoom ---------- */
.hm-head__link svg { color: var(--c-accent); }
.hm-plus { color: var(--c-accent); }
.hm .sr-card__badge { background: var(--c-accent) !important; color: #fff !important; }

/* ---------- 9. Популярные бренды (логотипы) ---------- */
.hm-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hm-brands li { margin: 0; }
.hm-brands li::before { content: none !important; }
.hm-brand { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 22px 12px 16px; border: 1px solid var(--hm-line); border-radius: 20px; background: #fff; color: var(--c-text) !important; text-decoration: none !important; transition: border-color .25s ease, transform .5s var(--hm-ease), box-shadow .5s var(--hm-ease); }
.hm-brand:hover { border-color: #CBD2DB; transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(15, 23, 42, .45); }
.hm-brand__logo { display: grid; place-items: center; width: 100%; height: 64px; margin-bottom: 10px; }
.hm-brand__logo img { display: block; width: auto; height: auto; max-width: 78%; max-height: 56px; margin: 0; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease, transform .5s var(--hm-ease); }
.hm-brand:hover .hm-brand__logo img { filter: none; opacity: 1; transform: scale(1.05); }
.hm-brand__name { font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; }
.hm-brand__count { font-size: 12.5px; color: var(--hm-muted); }

@media (max-width: 1180px) {
	.hm-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.hm-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.hm-brand { padding: 16px 8px 12px; border-radius: 16px; }
	.hm-brand__logo { height: 48px; margin-bottom: 6px; }
	.hm-brand__logo img { max-height: 42px; filter: none; opacity: 1; }
	.hm-brand__name { font-size: 12.5px; }
	.hm-brand__count { font-size: 11.5px; }
}
