@font-face {
  font-family: "Proxima Nova";
  src: url("/static/main/fonts/ProximaNova-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("/static/main/fonts/ProximaNova-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0f1117;
  --surface: #171b24;
  --text: #f4f5f7;
  --muted: #a2a8b3;
  --page-side-space: 100px;
  --page-width: calc(100% - (var(--page-side-space) * 2));
  --shadow: 0 28px 80px rgba(50, 18, 68, 0.16);
  --panel-shadow: 0 18px 44px rgba(35, 20, 53, 0.12);
  --panel-shadow-strong: 0 24px 56px rgba(35, 20, 53, 0.18);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --dark-panel: #2f2a36;
  --dark-panel-hover: #4c1f69;
  --accent-soft: #b996d3;
  --font-main: "Proxima Nova", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background: #0f1117;
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: clip;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.site-header__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  width: min(1240px, var(--page-width));
  margin: 0 auto;
}

.site-header__logo {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}

.site-header__logo img {
  display: block;
  width: 58px;
  height: auto;
}

.site-header__nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__item {
  position: relative;
}

.site-header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: none;
}

.site-header__link:visited {
  color: rgba(255, 255, 255, 0.88);
}

.site-header__link:hover,
.site-header__link.is-active,
.site-header__link.active {
  color: #fff;
}

.site-header__link.is-active::after,
.site-header__link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 100%;
  max-width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #7f5aa6;
  transform: translateX(-50%);
}

.site-header__dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  display: grid;
  min-width: 240px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(23, 27, 36, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.site-header__item--catalog:hover .site-header__dropdown,
.site-header__item--catalog:focus-within .site-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-header__dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.site-header__dropdown-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Footer */
.footer {
  padding: 0 0 32px;
}

.footer-box {
  width: var(--page-width);
  margin: 0 auto;
  padding: 0 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(180px, 1fr));
  gap: 32px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #171b24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-logo {
  display: flex;
  width: 72px;
  height: 72px;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-text {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.footer-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 16px 8px 0;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

/* Catalog list */
.catalog-page {
  min-height: auto;
  padding: 122px 0 32px;
}

.catalog-box {
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 8px 0 0;
}

.catalog-head {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 28px;
  text-align: center;
}

.catalog-note {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-title {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.catalog-text {
  margin: 16px auto 0;
  max-width: 520px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #d9d3df;
  box-shadow: var(--panel-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--panel-shadow-strong);
}

.catalog-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(76, 22, 108, 0.08) 0%, rgba(23, 10, 32, 0.16) 100%);
  transition: transform 0.45s ease;
}

.catalog-card:hover .catalog-image {
  transform: scale(1.05);
}

.catalog-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.catalog-preview-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
}

.catalog-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 26px 28px 28px;
  min-height: 170px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.84) 62%);
}

.catalog-name {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.02;
}

.catalog-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

/* Product page */
.product-page {
  min-height: auto;
  padding: 122px 0 20px;
}

.product-box {
  width: calc(100% - 40px);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 420px);
  gap: 20px;
  align-items: start;
}

.product-view {
  min-height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--panel-shadow);
}

.product-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 720px;
}

.product-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.product-layer.is-hidden {
  opacity: 0;
}

.product-layer[data-order="1"] { z-index: 1; }
.product-layer[data-order="2"] { z-index: 2; }
.product-layer[data-order="3"] { z-index: 3; }
.product-layer[data-order="4"] { z-index: 4; }
.product-layer[data-order="5"] { z-index: 5; }
.product-layer[data-order="6"] { z-index: 6; }

.product-side {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 6px 0 0;
}

.product-title {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-text {
  margin: 0;
  max-width: 380px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.product-actions {
  display: grid;
  gap: 12px;
  width: min(260px, 100%);
  padding-top: 8px;
}

.option-list {
  display: grid;
  gap: 14px;
}

.option-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--panel-shadow);
}

.option-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.option-label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.06;
}

.option-current {
  align-self: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--muted);
}

.option-arrow {
  align-self: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.option-card.is-open .option-arrow {
  transform: rotate(45deg);
}

.option-body {
  display: grid;
  gap: 8px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, margin-top 0.25s ease;
}

.option-card.is-open .option-body {
  max-height: 420px;
  margin-top: 12px;
}

.option-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(93, 47, 120, 0.08);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.option-item[hidden] {
  display: none;
}

.option-item.is-selected {
  background: rgba(93, 47, 120, 0.16);
}

.option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

/* Product specs */
.spec-page {
  min-height: auto;
  padding: 8px 0 24px;
}

.spec-box {
  width: calc(100% - 40px);
  margin: 0 auto;
}

.spec-head {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 24px;
  text-align: center;
}

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

.spec-item {
  display: grid;
  gap: 10px;
  min-height: 116px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--panel-shadow);
}

.spec-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

@keyframes logo-float {
  0%,
  100% {
    filter: drop-shadow(0 12px 22px rgba(62, 18, 79, 0.16));
  }
  50% {
    filter: drop-shadow(0 18px 30px rgba(62, 18, 79, 0.24));
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-list {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-view {
    min-height: 520px;
  }

  .product-stage {
    min-height: 520px;
  }

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

}

@media (max-width: 760px) {
  .footer {
    padding-bottom: 24px;
  }

  .footer-grid {
    gap: 24px;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .footer-logo {
    width: 64px;
    height: 64px;
  }
}

/* Home page */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid #1e2430;
  border-radius: 999px;
  background: #1e2430;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(24, 30, 40, 0.12);
}

.btn-light {
  border-color: rgba(30, 36, 48, 0.12);
  background: #fff;
  color: #1e2430;
}

.btn-light:hover {
  border-color: rgba(30, 36, 48, 0.22);
  background: #fff;
}

.b1,
.b2,
.b3,
.b4 {
  padding: 22px 0;
}

.b1__box,
.b2__box,
.b3__box,
.b4__box {
  width: min(1380px, var(--page-width));
  margin: 0 auto;
}

.b1__title,
.b2__title,
.b3__title,
.b4__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.b1__note,
.b2__note,
.b3__note,
.b4__note {
  margin-bottom: 18px;
  color: #6c7380;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.b1__top {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 124px 0 0;
}

.b1__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 26px;
}

.b1__title {
  text-wrap: balance;
}

.b1__text {
  margin: 24px 0 0;
  max-width: 390px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.b1__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.b1__view {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.b1__card {
  position: relative;
  min-height: 184px;
  border: 1px solid rgba(20, 28, 40, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 50px rgba(27, 34, 48, 0.08);
  overflow: hidden;
}

.b1__card--image {
  min-height: 660px;
}

.b1__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b1__image-text {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.b1__image-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
}

.b1__image-note,
.b2__text,
.b3__lead-text,
.b4__project-text,
.b4__fact-text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.b1__image-note {
  margin-top: 10px;
}

.b1__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.b1__card:not(.b1__card--image) {
  padding: 26px;
}

.b1__label {
  color: #6c7380;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.b1__value {
  margin-top: 16px;
  color: #16202d;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
}

.b1__small {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.b2__head,
.b3__head,
.b4__head {
  padding-bottom: 28px;
  text-align: center;
}

.b2__title,
.b3__title,
.b4__title {
  max-width: 820px;
  margin: 0 auto;
}

.b2__text {
  max-width: 760px;
  margin: 18px auto 0;
}

.b2__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.b2__card {
  overflow: hidden;
  border: 1px solid rgba(20, 28, 40, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px rgba(27, 34, 48, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.b2__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(27, 34, 48, 0.12);
}

.b2__image {
  min-height: 250px;
  background-position: center;
  background-size: cover;
}

.b2__image--park {
  background-image: url("/static/main/img/b2/Конево.jpg");
}

.b2__image--yard {
  background-image: url("/static/main/img/b2/Пермь.jpg");
}

.b2__image--school {
  background-image: url("/static/main/img/b2/Углич. Парк детства.jpg");
}

.b2__image--resort {
  background-image: url("/static/main/img/b2/Санкт-Петербург. VK FEST.jpeg");
}

.b2__image--city {
  background-image: url("/static/main/img/b2/Курортный проспект, 74. Сочи.jpeg");
}

.b2__image--private {
  background-image: url("/static/main/img/hero-geo.webp");
}

.b2__body {
  padding: 22px 22px 24px;
}

.b2__name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.08;
}

.b2__desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.b3__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.b3__lead {
  padding: 30px;
  border: 1px solid rgba(20, 28, 40, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(27, 34, 48, 0.08);
}

.b3__lead-note {
  color: #16202d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
}

.b3__lead-text {
  margin-top: 18px;
}

.b3__facts {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.b3__facts li {
  position: relative;
  padding-left: 24px;
  color: #1b2430;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.b3__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1e2430;
}

.b3__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.b3__step {
  padding: 26px;
  border: 1px solid rgba(20, 28, 40, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px rgba(27, 34, 48, 0.08);
}

.b3__num {
  color: #6c7380;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.b3__name {
  margin: 18px 0 0;
  color: #16202d;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.08;
}

.b3__desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.b4__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.b4__project {
  overflow: hidden;
  border: 1px solid rgba(20, 28, 40, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(27, 34, 48, 0.08);
}

.b4__project.is-hidden {
  display: none;
}

.b4__project-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.84;
  object-fit: cover;
}

.b4__project-body {
  padding: 22px;
}

.b4__project-note {
  color: #6c7380;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.b4__project-title {
  margin: 12px 0 0;
  color: #16202d;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.12;
}

.b4__project-text {
  margin-top: 12px;
}

.b4__actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.b4__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.b4__fact {
  padding: 24px;
  border: 1px solid rgba(20, 28, 40, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(27, 34, 48, 0.08);
}

.b4__fact-title {
  margin: 0;
  color: #16202d;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.b4__fact-text {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .b1__top,
  .b1__view,
  .b3__layout {
    grid-template-columns: 1fr;
  }

  .b2__list,
  .b4__list,
  .b4__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .b3__steps,
  .b4__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .b1__box,
  .b2__box,
  .b3__box,
  .b4__box {
    width: min(100%, calc(100% - 40px));
  }

  .b1,
  .b2,
  .b3,
  .b4 {
    padding: 16px 0;
  }

  .b1__top {
    padding-top: 108px;
  }

  .b1__actions,
  .b1__grid,
  .b2__list,
  .b3__steps,
  .b4__list,
  .b4__facts {
    grid-template-columns: 1fr;
  }

  .b1__card--image {
    min-height: 460px;
  }

  .b1__actions .btn {
    width: 100%;
  }

  .b2__image {
    min-height: 210px;
  }
}

/* Home page restore */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #202028;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-light:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
}

.b1__actions .btn-light,
.b3__more-btn {
  border-color: rgba(32, 32, 40, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #202028;
}

.b1__actions .btn-light:hover,
.b3__more-btn:hover {
  border-color: rgba(32, 32, 40, 0.22);
  background: #fff;
}

.b1,
.b2,
.b3,
.b4 {
  padding: 16px 0;
}

.b1__box,
.b2__box,
.b3__box,
.b4__box {
  width: var(--page-width);
  margin: 0 auto;
}

.b1__title,
.b2__title,
.b3__title,
.b4__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.b1__grid {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(0, 0.94fr);
  gap: 32px;
  align-items: start;
  padding: 122px 20px 8px;
}

.b1__main {
  display: flex;
  flex-direction: column;
  max-width: 440px;
  padding: 10px 10px 0 4px;
}

.b1__title {
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.05;
  text-wrap: balance;
}

.b1__text {
  margin: 20px 0 0;
  max-width: 360px;
  color: var(--muted);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  line-height: 1.28;
}

.b1__actions {
  display: grid;
  gap: 14px;
  width: min(260px, 100%);
  margin-top: 34px;
}

.b1__cards {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.b1__card {
  position: relative;
  flex: 1 1 0;
  height: 500px;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #351253;
  transition: flex 0.4s ease, transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  box-shadow: none;
  border: 0;
}

.b1__card.is-side {
  min-width: 112px;
}

.b1__card.is-main {
  flex: 1.42 1 0;
}

.b1__cards.is-open .b1__card {
  opacity: 0.5;
  filter: saturate(0.75);
}

.b1__cards.is-open .b1__card.is-active {
  opacity: 1;
  filter: none;
}

.b1__cards.is-open .b1__card.is-left.is-active {
  flex: 2.1 1 0;
  transform: translateX(-18px);
}

.b1__cards.is-open .b1__card.is-right.is-active {
  flex: 2.1 1 0;
  transform: translateX(18px);
}

.b1__cards.is-open .b1__card.is-main.is-active {
  flex: 2.4 1 0;
  transform: translateY(-2px);
}

.b1__cards.is-open .b1__card:not(.is-active) {
  flex: 0.58 1 0;
}

.b1__image {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  object-fit: initial;
  transition: transform 0.45s ease;
}

.b1__image--geo {
  background:
    linear-gradient(180deg, rgba(76, 22, 108, 0.16) 0%, rgba(23, 10, 32, 0.24) 100%),
    url("/static/main/img/hero-geo.webp") no-repeat center / cover;
}

.b1__image--main {
  background:
    linear-gradient(180deg, rgba(76, 22, 108, 0.18) 0%, rgba(23, 10, 32, 0.3) 100%),
    url("/static/main/img/hero-trampoline.jpeg") no-repeat center / cover;
}

.b1__card.is-main:hover .b1__image--main {
  transform: scale(1.04);
}

.b1__image--furniture {
  background:
    linear-gradient(180deg, rgba(76, 22, 108, 0.16) 0%, rgba(23, 10, 32, 0.24) 100%),
    url("/static/main/img/hero-furniture.jpg") no-repeat center / cover;
}

.b1__logo {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--panel-shadow);
}

.b1__logo-img {
  width: 56%;
  height: 56%;
  object-fit: contain;
}

.b1__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 170px;
  padding: 26px 28px 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.84) 62%);
}

.b1__content {
  display: grid;
  gap: 10px;
}

.b1__name {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.b1__info {
  margin: 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.b3__head,
.b4__head {
  padding-bottom: 24px;
  text-align: center;
}

.b3__title,
.b4__title {
  max-width: 760px;
  margin: 0 auto;
}

.b2 {
  padding: 22px 0;
}

.b2__box {
  width: var(--page-width);
  margin: 0 auto;
}

.b2__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.b2__video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #05070b;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  overflow: hidden;
}

@media (min-width: 500px) {
  .b2__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .b2__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.b3__inner {
  padding: 8px 0 0;
}

.hero-section {
  align-items: center;
  display: flex;
  min-height: 100%;
  justify-content: center;
  padding: 32px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  width: 100%;
}

.card {
  list-style: none;
  position: relative;
  text-decoration: none;
}

.card::before {
  content: "";
  display: block;
  padding-bottom: 140%;
  width: 100%;
}

.card__background {
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  bottom: 0;
  filter: brightness(0.75) saturate(1.2) contrast(0.85);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transform: scale(1) translateZ(0);
  transition: filter 200ms linear, transform 200ms linear;
}

.card:hover .card__background {
  transform: scale(1.05) translateZ(0);
}

.card-grid:hover > .card:not(:hover) .card__background {
  filter: brightness(0.5) saturate(0.5) contrast(1.2) blur(20px);
}

.card__content {
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
  position: absolute;
}

.card__heading {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-main);
  font-size: 1.55rem;
  font-weight: 700;
  max-width: 190px;
  margin: 0;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.15;
}

.b4__list {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 15px 0;
  width: 100%;
  overflow: hidden;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.b4__list::-webkit-scrollbar {
  display: none;
}

.b4__card {
  position: relative;
  display: grid;
  align-content: end;
  flex: 1 1 0;
  width: auto;
  min-height: 420px;
  height: 400px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-panel);
  box-shadow: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: flex-basis 0.4s ease-in-out, width 0.4s ease-in-out, transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.b4__card.is-active {
  flex: 1.8 1 0;
  width: auto;
  box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
}

.b4__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.b4__card:hover {
  transform: translateY(-2px);
}

.b4__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.b4__card:hover .b4__image {
  transform: scale(1.05);
}

.b4__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 0 24px 24px;
  overflow: hidden;
  transform: translateY(calc(100% - 86px));
  transition: transform 0.4s ease-in-out;
}

.b4__card.is-active .b4__body {
  transform: none;
}

.b4__card:not(.is-active) .b4__body {
  pointer-events: none;
}

.b4__name {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
}

.b4__text {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.b4__text p {
  margin: 0;
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.4s ease-in-out 0.2s;
}

.b4__card.is-active .b4__text p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .b1__grid {
    grid-template-columns: 1fr;
    padding-top: 88px;
  }

  .b1__main {
    max-width: 620px;
  }

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

  .b1__card,
  .b1__card.is-side,
  .b1__card.is-main,
  .b1__cards.is-open .b1__card,
  .b1__cards.is-open .b1__card.is-active,
  .b1__cards.is-open .b1__card.is-left.is-active,
  .b1__cards.is-open .b1__card.is-right.is-active,
  .b1__cards.is-open .b1__card.is-main.is-active,
  .b1__cards.is-open .b1__card:not(.is-active) {
    flex: auto;
    min-width: 0;
    min-height: 360px;
    height: 360px;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .b1__logo {
    width: 72px;
    height: 72px;
  }

  .b1__body {
    min-height: 150px;
    padding: 20px;
  }

  .b1__name {
    font-size: 24px;
  }

  .b1__info {
    font-size: 14px;
    line-height: 1.4;
  }

  .b2__hero {
    grid-auto-rows: minmax(160px, auto);
  }

  .b4__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 12px 0 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .b4__card {
    width: 100%;
    min-height: 320px;
    height: 320px;
    margin: 0;
    flex: auto;
  }

  .b4__card.is-active {
    flex: auto;
    width: 100%;
  }

  .b4__body {
    transform: none;
  }

  .b4__text p {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .b1__cards {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --page-side-space: 20px;
  }

  .site-header__box,
  .footer-box {
    width: min(100%, calc(100% - 40px));
  }

  .site-header__box {
    min-height: auto;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
  }

  .site-header__logo {
    position: static;
    transform: none;
  }

  .site-header__logo img {
    width: 44px;
  }

  .site-header__nav {
    width: auto;
    min-width: 0;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header__nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .nav-links {
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .site-header__link {
    padding: 14px 0;
    font-size: 10px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .site-header__link.is-active::after,
  .site-header__link.active::after {
    bottom: 6px;
  }

  .b1__box,
  .b2__box,
  .b3__box,
  .b4__box {
    width: min(100%, calc(100% - 40px));
  }

  .b1__grid {
    gap: 24px;
    padding: 104px 0 0;
  }

  .b1__main {
    max-width: none;
    padding: 0;
  }

  .b1__cards {
    grid-template-columns: 1fr;
    display: grid;
  }

  .b1__card {
    min-width: 0;
    min-height: 360px;
    height: 360px;
  }

  .b1__card.is-side,
  .b1__card.is-main,
  .b1__cards.is-open .b1__card,
  .b1__cards.is-open .b1__card.is-active,
  .b1__cards.is-open .b1__card.is-left.is-active,
  .b1__cards.is-open .b1__card.is-right.is-active,
  .b1__cards.is-open .b1__card.is-main.is-active,
  .b1__cards.is-open .b1__card:not(.is-active) {
    flex: auto;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .b1__logo {
    width: 64px;
    height: 64px;
  }

  .b1__body {
    min-height: 140px;
    padding: 18px 18px 20px;
  }

  .b1__name {
    font-size: 24px;
  }

  .b1__info {
    font-size: 14px;
    line-height: 1.45;
  }

  .b2 {
    padding: 18px 0;
  }

  .b2__hero {
    gap: 1px;
  }

  .b2__card {
    padding: 14px;
    gap: 12px;
  }

  .b2__name {
    font-size: 22px;
    line-height: 1.12;
  }

  .b2__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .b2__button {
    width: 100%;
  }

  .hero-section {
    padding: 20px 0 8px;
  }

  .card-grid {
    gap: 14px;
  }

  .card::before {
    padding-bottom: 128%;
  }

  .card__content {
    padding: 16px;
  }

  .card__heading {
    max-width: 120px;
    font-size: 1.05rem;
    line-height: 1.18;
  }
}

@media (max-width: 767px) {
  .b4__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 0 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .b4__head {
    padding-bottom: 20px;
  }

  .b4__card {
    width: 100%;
    height: 240px;
    min-height: 240px;
    margin: 0;
    flex: auto;
  }

  .b4__card.is-active {
    flex: auto;
    width: 100%;
    box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
  }

  .b4__body {
    padding: 0 14px 14px;
    transform: none;
  }

  .b4__name {
    font-size: 19px;
    line-height: 24px;
  }

  .b4__text p {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 540px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Catalog media */
.catalog-media {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  padding-top: 92px;
  background: #0f131d;
  color: #fff;
}

.catalog-media__sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  height: calc(100vh - 92px);
  background: #0a0d14;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.catalog-media__filter {
  display: grid;
  gap: 22px;
  padding: 28px 22px;
}

.catalog-media__filter-group {
  display: grid;
  gap: 12px;
}

.catalog-media__filter-title {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-media__filter-list {
  display: grid;
  gap: 8px;
}

.catalog-media__filter-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.catalog-media__filter-item[open] {
  border-color: rgba(124, 77, 255, 0.38);
  background: rgba(124, 77, 255, 0.08);
}

.catalog-media__filter-link {
  display: block;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.catalog-media__filter-link::-webkit-details-marker {
  display: none;
}

.catalog-media__filter-link:hover {
  color: #fff;
}

.catalog-media__sublist {
  display: grid;
  gap: 6px;
  padding: 0 12px 12px;
}

.catalog-media__subitem {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.catalog-media__subitem:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(2px);
}

.catalog-media__subitem.is-muted {
  color: rgba(255, 255, 255, 0.42);
}

.catalog-media__subshape {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.catalog-media__subshape--circle {
  border-radius: 50%;
}

.catalog-media__subshape--square {
  border-radius: 4px;
}

.catalog-media__subshape--rectangle {
  width: 22px;
  height: 14px;
  border-radius: 4px;
}

.catalog-media__subshape--hexagon {
  width: 20px;
  height: 16px;
  border: 0;
  background: transparent;
}

.catalog-media__subshape--hexagon::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
}

.catalog-media__subshape--honeycomb {
  width: 20px;
  height: 18px;
  border: 0;
}

.catalog-media__subshape--honeycomb::before,
.catalog-media__subshape--honeycomb::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 9px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
}

.catalog-media__subshape--honeycomb::before {
  left: 0;
  top: 0;
}

.catalog-media__subshape--honeycomb::after {
  right: 0;
  bottom: 0;
}

.catalog-media__subcontent {
  display: grid;
  gap: 4px;
}

.catalog-media__subtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.catalog-media__subname {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.catalog-media__subcount {
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.catalog-media__subnote {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.4;
}

.catalog-media__page {
  min-width: 0;
}

.catalog-media__content {
  padding: 28px 34px 42px;
}

.catalog-media__hero {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  margin-bottom: 30px;
  border-radius: 28px;
  background: #171d29;
}

.catalog-media__slides {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.catalog-media__slide {
  position: relative;
  min-height: inherit;
}

.catalog-media__slide-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.catalog-media__slide-box {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 48px 52px;
}

.catalog-media__note {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-media__hero-title {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.catalog-media__hero-type {
  margin: 14px 0 18px;
  color: #d4c7ff;
  font-size: 20px;
  font-weight: 600;
}

.catalog-media__hero-text {
  max-width: 560px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.catalog-media__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.catalog-media__tags li {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
}

.catalog-media__hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: #6a37ff;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.catalog-media__hero-button:hover {
  background: #7c4dff;
  transform: translateY(-1px);
}

.catalog-row + .catalog-row {
  margin-top: 24px;
}

.catalog-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.catalog-row__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.catalog-row__link {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.catalog-row__link:hover {
  color: #fff;
}

.catalog-row__wrap {
  position: relative;
  overflow: hidden;
}

.catalog-row__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 54px 10px 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.catalog-row__track::-webkit-scrollbar {
  display: none;
}

.catalog-row__arrow {
  position: absolute;
  top: 50%;
  right: 0;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.catalog-row__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.catalog-tile {
  flex: 0 0 270px;
}

.catalog-tile__link {
  display: block;
  position: relative;
  min-height: 324px;
  padding: 0;
  color: #fff;
  text-decoration: none;
}

.catalog-tile__image {
  display: block;
  width: 270px;
  height: 200px;
  border-radius: 26px;
  object-fit: cover;
  background: #1a2130;
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}

.catalog-tile__title,
.catalog-tile__text,
.catalog-tile__button {
  position: absolute;
  left: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.catalog-tile__title {
  top: 18px;
  right: 24px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.catalog-tile__text {
  top: 72px;
  right: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.catalog-tile__button {
  bottom: 138px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: #6a37ff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-tile__link:hover .catalog-tile__image {
  transform: scale(1.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  opacity: 0.28;
}

.catalog-tile__link:hover .catalog-tile__title,
.catalog-tile__link:hover .catalog-tile__text,
.catalog-tile__link:hover .catalog-tile__button {
  opacity: 1;
}

@media (max-width: 980px) {
  .catalog-media {
    grid-template-columns: 1fr;
    padding-top: 88px;
  }

  .catalog-media__sidebar {
    display: block;
    position: static;
    height: auto;
  }

  .catalog-media__content {
    padding: 20px 20px 34px;
  }

  .catalog-media__slide-box {
    padding: 34px 28px;
  }
}

@media (max-width: 760px) {
  .catalog-media__hero {
    min-height: 520px;
  }

  .catalog-media__hero-title {
    font-size: clamp(34px, 10vw, 52px);
  }

  .catalog-row__title {
    font-size: 24px;
  }

  .catalog-tile {
    flex-basis: 232px;
  }

  .catalog-tile__image {
    width: 232px;
    height: 180px;
  }
}

/* Production quick pass */
:root {
  --bg: #0f1117;
  --surface: #171b24;
  --surface-2: #202632;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f5f7;
  --muted: #a8b0bd;
  --accent: #e8c15f;
  --page-side-space: 100px;
  --page-width: calc(100% - (var(--page-side-space) * 2));
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

body {
  background: var(--bg);
  color: var(--text);
}

.site-header__box,
.b1__box,
.b2__box,
.b3__box,
.b4__box,
.footer-box,
.catalog-media__box,
.catalog-box,
.product-box,
.spec-box {
  width: var(--page-width);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.b2,
.b3,
.b4 {
  padding: 64px 0;
}

.b2__head,
.b3__head,
.b4__head {
  margin-bottom: 28px;
  padding: 0;
  text-align: center;
}

.b2__title,
.b3__title,
.b4__title,
.catalog-title {
  margin: 0;
  color: var(--text);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
}

.b2__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.b2__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #05070b;
  object-fit: cover;
}

.b3__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.b3__work {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.b3__work.is-hidden {
  display: none;
}

.b3__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.b3__body {
  padding: 18px;
}

.b3__name {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.b3__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.b3__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.b4__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
}

.b4__card,
.b4__card.is-active {
  width: auto;
  height: auto;
  min-height: 360px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: none;
  cursor: default;
  flex: none;
}

.b4__card::after {
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.05) 0%, rgba(7, 10, 15, 0.88) 100%);
}

.b4__card:hover .b4__image {
  transform: none;
}

.b4__body,
.b4__card.is-active .b4__body,
.b4__card:not(.is-active) .b4__body {
  transform: none;
}

.b4__text p,
.b4__card.is-active .b4__text p {
  opacity: 1;
  transform: none;
}

.catalog-media {
  display: block;
  min-height: auto;
  padding: 56px 0 80px;
}

.catalog-media__box {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
}

.catalog-media__sidebar {
  position: static;
  width: auto;
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
}

.catalog-media__filter-title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.catalog-media__filter-list {
  display: grid;
  gap: 8px;
  padding: 0;
}

.catalog-media__filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.catalog-media__filter-link.is-active,
.catalog-media__filter-link:hover {
  border-color: rgba(232, 193, 95, 0.65);
  background: var(--surface-2);
  color: var(--text);
}

.catalog-media__content {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.catalog-media__head {
  margin-bottom: 28px;
}

.catalog-note {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-text {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-empty {
  margin: 0;
  color: var(--muted);
}

.catalog-tile {
  width: auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.catalog-tile__link {
  display: grid;
  gap: 12px;
  height: 100%;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
}

.catalog-tile__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: #fff;
  object-fit: contain;
}

.catalog-tile__title {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.catalog-tile__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.catalog-tile__button {
  align-self: end;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.catalog-tile__link:hover .catalog-tile__image,
.catalog-tile__link:hover .catalog-tile__title,
.catalog-tile__link:hover .catalog-tile__text,
.catalog-tile__link:hover .catalog-tile__button {
  transform: none;
  opacity: 1;
}

@media (max-width: 1200px) {
  :root {
    --page-side-space: 50px;
  }

  .b2__list,
  .b3__grid,
  .b4__list,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --page-side-space: 18px;
  }

  .site-header__box {
    justify-content: flex-start;
    min-height: auto;
    padding: 14px 0;
  }

  .site-header__logo {
    position: static;
    transform: none;
  }

  .site-header .nav-links {
    gap: 14px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-left: 18px;
  }

  .b1__grid {
    grid-template-columns: 1fr;
  }

  .b2,
  .b3,
  .b4 {
    padding: 42px 0;
  }

  .b2__title,
  .b3__title,
  .b4__title,
  .catalog-title {
    font-size: 30px;
  }

  .b2__list,
  .b3__grid,
  .b4__list,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-media__box {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-media {
    padding-top: 34px;
  }
}

/* Catalog like skmalina62.ru */
.catalog-body {
  background: #fff;
  color: #242221;
}

.catalog-body .site-header {
  border-bottom: 1px solid rgba(36, 34, 33, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.catalog-body .site-header__link,
.catalog-body .site-header__dropdown-link {
  color: #242221;
}

.catalog-body .site-header__link:hover,
.catalog-body .site-header__link.is-active {
  color: #990236;
}

.catalog-body .footer {
  margin-top: 80px;
}

#pro-page {
  padding-top: 96px;
}

.catalog-container {
  width: min(1480px, calc(100% - 30px));
  margin: 0 auto;
}

.bredcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
  color: #3b3b3b;
  font-size: 14px;
  font-weight: 400;
}

.bredcrumb a {
  color: rgba(59, 59, 59, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bredcrumb a:hover {
  color: #3b3b3b;
}

.bredcrumb-separator {
  margin: 0 8px;
}

.pro-page-header {
  display: flex;
  justify-content: space-between;
  padding: 70px 0 34px;
}

.pro-page-title {
  width: 100%;
}

.pro-page-title .title {
  margin: 0;
  color: #242221;
  font-size: 72px;
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.pro-nav {
  display: flex;
}

.pro-type-filter {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.pro-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid #990236;
  border-radius: 14px;
  background: #fff;
  color: #990236;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.pro-nav-item:hover {
  border-color: #242221;
  color: #242221;
}

.pro-nav-item.is-active {
  border-color: #990236;
  background: #990236;
  color: #fff;
}

.catalog-current {
  max-width: 760px;
  margin: 0 0 38px;
}

.catalog-current h2 {
  margin: 0 0 10px;
  color: #242221;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.16;
}

.catalog-current p {
  margin: 0;
  color: rgba(36, 34, 33, 0.68);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.pro-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -13px 76px;
}

.pro-grid .pro-item {
  position: relative;
  width: calc(33.333% - 26px);
  margin: 0 13px 54px;
  color: #242221;
  text-decoration: none;
}

#pro-page .pro-item-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f8f5f6;
}

#pro-page .pro-item-poster {
  display: block;
  width: 100%;
  height: 380px;
  padding: 28px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

#pro-page .pro-item:hover .pro-item-poster {
  transform: scale(1.04);
}

#pro-page .btn-ico {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #990236;
  transition: transform 0.25s ease, background 0.25s ease;
}

#pro-page .btn-ico::before {
  content: "";
  position: static;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

#pro-page .pro-item:hover .btn-ico {
  background: #242221;
  transform: translateX(2px);
}

#pro-page .pro-item-content {
  padding-top: 16px;
}

#pro-page .pro-item-content h3 {
  margin: 0;
  color: #242221;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  transition: color 0.25s ease;
}

#pro-page .pro-item:hover .pro-item-content h3 {
  color: #990236;
}

#pro-page .pro-item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 16px;
}

#pro-page .pro-item-list-col span {
  display: block;
  margin-bottom: 6px;
  color: rgba(36, 34, 33, 0.58);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}

#pro-page .pro-item-list-col p {
  margin: 0;
  color: #242221;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
}

#pro-page .pro-empty {
  margin: 0 13px 76px;
  padding: 32px;
  border: 1px solid rgba(153, 2, 54, 0.16);
  border-radius: 16px;
  background: #f8f5f6;
  color: #242221;
  font-size: 20px;
  line-height: 1.35;
}

@media (max-width: 999px) {
  #pro-page {
    padding-top: 86px;
  }

  .pro-page-header {
    padding: 38px 0 28px;
  }

  .pro-page-title .title {
    font-size: 46px;
  }

  .pro-nav-item {
    min-width: 160px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 11px;
  }

  .pro-grid {
    margin: 0 -16px 48px;
  }

  .pro-grid .pro-item {
    width: calc(50% - 32px);
    margin: 0 16px 48px;
  }

  #pro-page .pro-item-poster {
    height: 340px;
  }
}

@media (max-width: 767px) {
  #pro-page {
    padding-top: 34px;
  }

  .catalog-container {
    width: calc(100% - 36px);
  }

  .pro-page-title .title {
    font-size: 36px;
  }

  .pro-type-filter {
    gap: 8px;
    margin-top: 20px;
  }

  .pro-type-filter .pro-nav-item {
    width: 100%;
    min-width: 0;
  }

  .catalog-current h2 {
    font-size: 24px;
  }

  .catalog-current p {
    font-size: 16px;
  }

  .pro-grid {
    margin: 0 0 42px;
  }

  .pro-grid .pro-item {
    width: 100%;
    margin: 0 0 32px;
  }

  #pro-page .pro-item-poster {
    height: 300px;
  }
}

/* Brand colors from the current logo */
:root {
  --brand-black: #111111;
  --brand-red: #e51857;
  --brand-red-dark: #a72045;
  --brand-yellow: #fbba05;
  --brand-yellow-dark: #ed731d;
}

.catalog-body {
  background: #ffffff;
  color: var(--brand-black);
}

.catalog-body .site-header {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.catalog-body .site-header__logo img {
  width: 64px;
}

.catalog-body .site-header__link {
  color: var(--brand-black);
}

.catalog-body .site-header__link:hover,
.catalog-body .site-header__link.is-active {
  color: var(--brand-red);
}

.catalog-body .footer {
  background: var(--brand-black);
}

.catalog-body .footer-link:hover {
  color: var(--brand-yellow);
}

#pro-page .bredcrumb,
#pro-page .bredcrumb a {
  color: rgba(17, 17, 17, 0.62);
}

#pro-page .bredcrumb a:hover {
  color: var(--brand-black);
}

#pro-page .pro-page-title .title {
  color: var(--brand-black);
}

#pro-page .pro-nav-item {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

#pro-page .pro-nav-item:hover {
  border-color: var(--brand-black);
  color: var(--brand-black);
}

#pro-page .pro-nav-item.is-active {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

#pro-page .catalog-current h2,
#pro-page .pro-item-content h3,
#pro-page .pro-item-list-col p {
  color: var(--brand-black);
}

#pro-page .catalog-current p,
#pro-page .pro-item-list-col span {
  color: rgba(17, 17, 17, 0.62);
}

#pro-page .pro-item-img {
  background: #f7f7f7;
}

#pro-page .pro-item-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

#pro-page .pro-item-img::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 186, 5, 0.42) 0%, rgba(251, 186, 5, 0) 68%);
  pointer-events: none;
}

#pro-page .btn-ico {
  background: var(--brand-red);
}

#pro-page .pro-item:hover .btn-ico {
  background: var(--brand-black);
}

#pro-page .pro-item:hover .pro-item-content h3 {
  color: var(--brand-red);
}

#pro-page .pro-item:nth-child(3n + 2) .pro-item-img::after {
  background: radial-gradient(circle, rgba(229, 24, 87, 0.18) 0%, rgba(229, 24, 87, 0) 68%);
}

#pro-page .pro-item:nth-child(3n) .pro-item-img::after {
  background: radial-gradient(circle, rgba(237, 115, 29, 0.24) 0%, rgba(237, 115, 29, 0) 68%);
}

#pro-page .pro-empty {
  border-color: rgba(229, 24, 87, 0.18);
  background: #fff7f9;
  color: var(--brand-black);
}

/* Leber-style catalog and product pages */
.catalog-body,
.product-body {
  background: #e3e6ee;
  color: #100f0f;
}

.catalog-body .site-header,
.product-body .site-header {
  border-bottom: 1px solid rgba(16, 15, 15, 0.08);
  background: rgba(227, 230, 238, 0.9);
  box-shadow: none;
}

.catalog-body .site-header__link,
.product-body .site-header__link {
  color: #100f0f;
}

.catalog-body .site-header__link:hover,
.product-body .site-header__link:hover,
.catalog-body .site-header__link.is-active,
.product-body .site-header__link.is-active {
  color: var(--brand-red);
}

.catalog-v2,
.product-v2 {
  background: #e3e6ee;
}

.catalog-v2__container,
.product-v2__container {
  width: calc(100% - 40px);
  max-width: 1520px;
  margin: 0 auto;
}

.catalog-v2__top,
.product-v2__main-block {
  padding: 20px 0 0;
}

.catalog-v2__panel,
.product-v2__bar {
  position: sticky;
  top: 112px;
  z-index: 20;
  display: grid;
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.catalog-v2__crumbs,
.product-v2__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(16, 15, 15, 0.42);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.catalog-v2__crumbs a,
.product-v2__crumbs a {
  color: rgba(16, 15, 15, 0.42);
  transition: color 0.2s ease;
}

.catalog-v2__crumbs a:hover,
.product-v2__crumbs a:hover {
  color: #100f0f;
}

.catalog-v2__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 24px;
  align-items: end;
}

.catalog-v2__eyebrow {
  margin: 0 0 8px;
  color: rgba(16, 15, 15, 0.48);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-v2__head h1 {
  margin: 0;
  color: #100f0f;
  font-size: clamp(48px, 8vw, 118px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.catalog-v2__head p {
  margin: 0;
  color: rgba(16, 15, 15, 0.68);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.25;
}

.catalog-v2__tools {
  display: grid;
  gap: 14px;
}

.catalog-v2__search {
  display: flex;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 999px;
  background: #e3e6ee;
}

.catalog-v2__search input {
  width: min(280px, 52vw);
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #100f0f;
  font: inherit;
  outline: 0;
}

.catalog-v2__search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-left: 1px solid rgba(16, 15, 15, 0.08);
  background: #100f0f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.catalog-v2__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-v2__filter-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #100f0f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.catalog-v2__filter-icon {
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: var(--brand-red);
}

.catalog-v2__filter-item small {
  color: rgba(16, 15, 15, 0.36);
  font-size: 12px;
  font-weight: 800;
}

.catalog-v2__filter-item:hover,
.catalog-v2__filter-item.is-active {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.catalog-v2__filter-item:hover small,
.catalog-v2__filter-item.is-active small,
.catalog-v2__filter-item:hover .catalog-v2__filter-icon,
.catalog-v2__filter-item.is-active .catalog-v2__filter-icon {
  color: #fff;
}

.catalog-v2__products,
.product-v2__detail-block {
  padding: 22px 0 54px;
}

.catalog-v2__group + .catalog-v2__group {
  margin-top: 54px;
}

.catalog-v2__section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.catalog-v2__section-head h2 {
  margin: 0 0 8px;
  color: #100f0f;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.catalog-v2__section-head h2 span {
  color: var(--brand-red);
}

.catalog-v2__section-head p {
  max-width: 620px;
  margin: 0;
  color: rgba(16, 15, 15, 0.58);
  font-size: 18px;
  line-height: 1.35;
}

.catalog-v2__count {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: rgba(16, 15, 15, 0.5);
  font-size: 14px;
  font-weight: 800;
}

.catalog-v2__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-v2__card {
  position: relative;
  display: flex;
  flex: 1 1 calc(33.333% - 12px);
  flex-direction: column;
  min-width: 300px;
  max-width: calc(33.333% - 10px);
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.catalog-v2__image {
  position: relative;
  padding: 18px 18px 0;
}

.catalog-v2__image a {
  display: block;
  aspect-ratio: 1.45;
  border-radius: 18px;
  background: #f4f5f8;
}

.catalog-v2__card--furniture .catalog-v2__image a {
  background: #fff;
}

.catalog-v2__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.catalog-v2__card:hover .catalog-v2__image img {
  transform: scale(1.04);
}

.catalog-v2__badge {
  position: absolute;
  top: 28px;
  left: 28px;
  max-width: calc(100% - 56px);
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: rgba(16, 15, 15, 0.54);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.catalog-v2__card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 20px;
}

.catalog-v2__article {
  grid-column: 1 / -1;
  color: rgba(16, 15, 15, 0.32);
  font-size: 13px;
  font-weight: 800;
}

.catalog-v2__name {
  color: #100f0f;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.catalog-v2__name:hover {
  color: var(--brand-red);
}

.catalog-v2__tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-v2__tags span,
.product-v2__quick a,
.product-v2__quick span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 999px;
  color: rgba(16, 15, 15, 0.52);
  font-size: 13px;
  font-weight: 800;
}

.catalog-v2__plus {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--brand-red);
  border-radius: 50%;
  color: var(--brand-red);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.catalog-v2__card:hover .catalog-v2__plus {
  background: var(--brand-red);
  color: #fff;
}

.catalog-v2__empty {
  width: 100%;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  color: rgba(16, 15, 15, 0.62);
  font-size: 18px;
  font-weight: 700;
}

.product-v2__main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
  gap: 20px;
  margin-top: 20px;
}

.product-v2__gallery,
.product-v2__summary,
.product-v2__config,
.product-v2__specs {
  border-radius: 28px;
  background: #fff;
}

.product-v2__gallery {
  min-height: 620px;
  overflow: hidden;
}

.product-v2__stage {
  min-height: 620px;
  background: #fff;
}

.product-v2__stage--static {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-v2 .product-layer {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-v2__static-image {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.product-v2__summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: 38px;
}

.product-v2__title span,
.product-v2__section-title span {
  display: block;
  margin-bottom: 12px;
  color: rgba(16, 15, 15, 0.32);
  font-size: 15px;
  font-weight: 800;
}

.product-v2__title h1 {
  margin: 0;
  color: #100f0f;
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.product-v2__title p {
  margin: 22px 0 0;
  color: rgba(16, 15, 15, 0.66);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.product-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.product-v2__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--brand-red);
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.product-v2__button:hover,
.product-v2__button--light {
  background: #fff;
  color: var(--brand-red);
}

.product-v2__button--light:hover {
  background: var(--brand-red);
  color: #fff;
}

.product-v2__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-v2__quick a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.product-v2__detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.product-v2__config,
.product-v2__specs {
  padding: 28px;
}

.product-v2__specs--wide {
  width: 100%;
}

.product-v2__section-title h2 {
  margin: 0;
  color: #100f0f;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.product-v2 .option-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.product-v2 .option-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 20px;
  background: #f4f5f8;
  box-shadow: none;
}

.product-v2 .option-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 0 18px;
}

.product-v2 .option-label {
  color: #100f0f;
  font-size: 17px;
  font-weight: 800;
}

.product-v2 .option-current {
  color: rgba(16, 15, 15, 0.42);
  font-size: 13px;
  font-weight: 800;
}

.product-v2 .option-body {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.product-v2 .option-card.is-open .option-body {
  display: grid;
}

.product-v2 .option-item {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 999px;
  background: #fff;
}

.product-v2 .option-item.is-selected {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.product-v2 .option-name {
  font-size: 13px;
  font-weight: 800;
}

.product-v2 .spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.product-v2 .spec-item {
  min-height: 100px;
  padding: 16px;
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 20px;
  background: #f4f5f8;
  box-shadow: none;
}

.product-v2 .spec-name {
  color: rgba(16, 15, 15, 0.42);
  font-size: 12px;
  font-weight: 800;
}

.product-v2 .spec-value {
  color: #100f0f;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800;
}

@media (min-width: 1280px) {
  .catalog-v2__container,
  .product-v2__container {
    width: calc(100% - 100px);
  }
}

@media (max-width: 1100px) {
  .catalog-v2__head,
  .product-v2__main,
  .product-v2__detail-grid {
    grid-template-columns: 1fr;
  }

  .catalog-v2__card {
    max-width: calc(50% - 8px);
  }

  .product-v2__gallery,
  .product-v2__stage,
  .product-v2__summary {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .catalog-v2__container,
  .product-v2__container {
    width: calc(100% - 24px);
  }

  .catalog-v2__panel,
  .product-v2__bar {
    position: static;
    border-radius: 22px;
  }

  .catalog-v2__search,
  .catalog-v2__search input,
  .catalog-v2__search button,
  .catalog-v2__filter-item {
    width: 100%;
  }

  .catalog-v2__search {
    display: grid;
  }

  .catalog-v2__search button {
    border-left: 0;
    border-top: 1px solid rgba(16, 15, 15, 0.08);
  }

  .catalog-v2__section-head {
    display: grid;
  }

  .catalog-v2__count {
    width: fit-content;
  }

  .catalog-v2__card {
    min-width: 100%;
    max-width: 100%;
  }

  .product-v2__gallery,
  .product-v2__stage {
    min-height: 430px;
  }

  .product-v2__summary {
    min-height: auto;
    padding: 24px;
  }

  .product-v2__config,
  .product-v2__specs {
    padding: 20px;
  }

  .product-v2 .option-body,
  .product-v2 .spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .site-header__box {
    width: calc(100% - 24px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .site-header__logo img {
    width: 42px;
  }

  .site-header__nav {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: visible;
  }

  .site-header .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    padding: 0;
  }

  .site-header__link {
    padding: 2px 0 8px;
    font-size: 9px;
    line-height: 1.1;
    letter-spacing: 0.06em;
  }

  .site-header__link.is-active::after,
  .site-header__link.active::after {
    bottom: 1px;
  }

  .catalog-v2,
  .catalog-v2__top,
  .catalog-v2__products,
  .footer {
    width: 100%;
    max-width: 100%;
  }

  .catalog-v2__card {
    width: 100%;
    flex: none;
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    border-radius: 22px;
  }

  .catalog-v2__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .catalog-v2__image {
    padding: 14px 14px 0;
  }

  .catalog-v2__image a {
    border-radius: 16px;
  }

  .catalog-v2__card-body {
    gap: 12px;
    padding: 16px;
  }

  .catalog-v2__name {
    font-size: 24px;
  }
}

/* Final visual alignment: catalog-style system */
body,
.home-page,
.catalog-body,
.product-body {
  background: #e3e6ee;
  color: #100f0f;
}

.site-header,
.catalog-body .site-header,
.product-body .site-header {
  border-bottom: 1px solid rgba(16, 15, 15, 0.08);
  background: rgba(227, 230, 238, 0.92);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.site-header__box {
  min-height: 82px;
  width: calc(100% - 40px);
  max-width: 1520px;
}

.site-header__logo img,
.catalog-body .site-header__logo img {
  width: 64px;
}

.site-header .nav-links {
  gap: 48px;
}

.site-header__link,
.site-header__link:visited,
.catalog-body .site-header__link,
.product-body .site-header__link {
  padding: 30px 0;
  color: #100f0f;
}

.site-header__link:hover,
.site-header__link.is-active,
.site-header__link.active,
.catalog-body .site-header__link:hover,
.product-body .site-header__link:hover,
.catalog-body .site-header__link.is-active,
.product-body .site-header__link.is-active {
  color: var(--brand-red);
}

.site-header__link.is-active::after,
.site-header__link.active::after {
  bottom: 20px;
  background: var(--brand-red);
}

.catalog-v2__head {
  grid-template-columns: 1fr;
}

.home-page main {
  background: #e3e6ee;
}

.home-page .b1,
.home-page .b2,
.home-page .b3,
.home-page .b4 {
  padding: 22px 0 54px;
}

.home-page .b1__box,
.home-page .b2__box,
.home-page .b3__box,
.home-page .b4__box {
  width: calc(100% - 40px);
  max-width: 1520px;
}

.home-page .b1__grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
  padding: 20px 0 0;
}

.home-page .b1__main {
  max-width: none;
  min-height: 520px;
  justify-content: space-between;
  padding: 38px;
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.home-page .b1__title,
.home-page .b2__title,
.home-page .b3__title,
.home-page .b4__title {
  color: #100f0f;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.home-page .b1__title {
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.92;
}

.home-page .b1__text {
  max-width: 560px;
  color: rgba(16, 15, 15, 0.66);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.25;
}

.home-page .btn {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.home-page .btn-light {
  background: #fff;
  color: var(--brand-red);
}

.home-page .b1__cards {
  gap: 16px;
}

.home-page .b1__card,
.home-page .b1__card.is-side,
.home-page .b1__card.is-main,
.home-page .b1__cards.is-open .b1__card,
.home-page .b1__cards.is-open .b1__card.is-active,
.home-page .b1__cards.is-open .b1__card.is-left.is-active,
.home-page .b1__cards.is-open .b1__card.is-right.is-active,
.home-page .b1__cards.is-open .b1__card.is-main.is-active,
.home-page .b1__cards.is-open .b1__card:not(.is-active) {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  min-height: 520px;
  border-radius: 28px;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.home-page .b1__body {
  min-height: 150px;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 68%);
}

.home-page .b1__logo {
  width: 66px;
  height: 66px;
}

.home-page .b1__name {
  font-size: clamp(24px, 2vw, 34px);
}

.home-page .b2__head,
.home-page .b3__head,
.home-page .b4__head {
  margin-bottom: 22px;
  text-align: center;
}

.home-page .b2__video,
.home-page .b3__work,
.home-page .b4__card,
.home-page .b4__card.is-active {
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
}

.home-page .b3__name,
.home-page .b4__name {
  color: #100f0f;
}

.home-page .b3__text {
  color: rgba(16, 15, 15, 0.58);
}

.home-page .b4__list {
  gap: 16px;
}

@media (max-width: 1100px) {
  .home-page .b1__grid {
    grid-template-columns: 1fr;
  }

  .home-page .b1__main,
  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .site-header__box {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 10px 0;
  }

  .site-header .nav-links {
    gap: 22px;
    padding-left: 0;
  }

  .site-header__link {
    padding: 10px 0;
  }

  .site-header__link.is-active::after,
  .site-header__link.active::after {
    bottom: 4px;
  }

  .home-page .b1__box,
  .home-page .b2__box,
  .home-page .b3__box,
  .home-page .b4__box {
    width: calc(100% - 24px);
  }

  .home-page .b1__main {
    min-height: auto;
    padding: 24px;
  }

  .home-page .b1__cards {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main {
    min-height: 320px;
  }
}

.catalog-v2__filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1320px) {
  .catalog-v2__filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.catalog-v2__filter-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 22px;
  background: #f5f6fa;
}

.catalog-v2__filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #100f0f;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.catalog-v2__filter-title small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: rgba(16, 15, 15, 0.44);
  font-size: 12px;
}

.catalog-v2__filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-v2__filter .catalog-v2__filter-item {
  min-height: 42px;
  padding: 0 13px;
  font-size: 14px;
}

.catalog-v2__plus,
.catalog-v2__plus:visited,
.catalog-v2__plus:hover {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .catalog-v2__filter {
    grid-template-columns: 1fr;
  }
}

/* Home b1 repair: light catalog style with restored card motion */
.home-page .b1 {
  padding: 22px 0 54px;
}

.home-page .b1__grid {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: stretch;
  padding: 20px 0 0;
}

.home-page .b1__main {
  min-height: 540px;
  padding: 38px;
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.home-page .b1__title {
  max-width: 760px;
  font-size: clamp(46px, 5.4vw, 92px);
  line-height: 0.92;
}

.home-page .b1__text {
  max-width: 520px;
}

.home-page .b1__cards {
  display: flex;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
}

.home-page .b1__card,
.home-page .b1__card.is-side,
.home-page .b1__card.is-main {
  flex: 1 1 0;
  min-width: 92px;
  height: 540px;
  min-height: 540px;
  border-radius: 28px;
  opacity: 1;
  filter: none;
  transform: none;
  transition: flex 0.36s ease, transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.home-page .b1__card.is-main {
  flex: 1.38 1 0;
}

.home-page .b1__cards.is-open .b1__card {
  opacity: 0.56;
  filter: saturate(0.78);
}

.home-page .b1__cards.is-open .b1__card.is-active {
  flex: 2.25 1 0;
  opacity: 1;
  filter: none;
}

.home-page .b1__cards.is-open .b1__card:not(.is-active) {
  flex: 0.62 1 0;
}

.home-page .b1__cards.is-open .b1__card.is-left.is-active,
.home-page .b1__cards.is-open .b1__card.is-right.is-active,
.home-page .b1__cards.is-open .b1__card.is-main.is-active {
  transform: none;
}

.home-page .b1__card:hover .b1__image {
  transform: scale(1.035);
}

.home-page .b1__body {
  min-height: 150px;
  padding: 24px;
}

@media (max-width: 1280px) {
  .home-page .b1__grid {
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  }

  .home-page .b1__main,
  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main {
    min-height: 480px;
    height: 480px;
  }
}

@media (max-width: 1100px) {
  .home-page .b1__grid {
    grid-template-columns: 1fr;
  }

  .home-page .b1__main {
    min-height: auto;
    height: auto;
  }

  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main {
    min-height: 380px;
    height: 380px;
  }
}

@media (max-width: 760px) {
  .home-page .b1 {
    padding: 12px 0 38px;
  }

  .home-page .b1__main {
    padding: 24px;
    border-radius: 22px;
  }

  .home-page .b1__title {
    font-size: clamp(38px, 13vw, 56px);
  }

  .home-page .b1__actions {
    width: 100%;
  }

  .home-page .b1__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main,
  .home-page .b1__cards.is-open .b1__card,
  .home-page .b1__cards.is-open .b1__card.is-active,
  .home-page .b1__cards.is-open .b1__card:not(.is-active) {
    flex: none;
    min-width: 0;
    min-height: 300px;
    height: 300px;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Home final pass: calm catalog-style layout */
.home-page main {
  background: #e3e6ee;
}

.home-page .b1,
.home-page .b2,
.home-page .b3,
.home-page .b4 {
  padding: 24px 0 58px;
}

.home-page .b1__box,
.home-page .b2__box,
.home-page .b3__box,
.home-page .b4__box {
  width: calc(100% - 40px);
  max-width: 1520px;
  margin: 0 auto;
}

.home-page .b1__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: stretch;
  padding: 0;
}

.home-page .b1__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 560px;
  padding: clamp(28px, 3vw, 46px);
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 30px;
  background: #fff;
}

.home-page .b1__label,
.home-page .b2__label,
.home-page .b3__label,
.home-page .b4__label {
  width: fit-content;
  margin: 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(240, 83, 35, 0.22);
  border-radius: 999px;
  background: rgba(240, 83, 35, 0.08);
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.home-page .b1__label {
  margin-right: 0;
  margin-left: 0;
}

.home-page .b1__title,
.home-page .b2__title,
.home-page .b3__title,
.home-page .b4__title {
  margin: 0;
  color: #100f0f;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.home-page .b1__title {
  max-width: 760px;
  font-size: clamp(46px, 5.6vw, 94px);
}

.home-page .b1__text {
  max-width: 600px;
  margin: 0;
  color: rgba(16, 15, 15, 0.66);
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 600;
  line-height: 1.28;
}

.home-page .b1__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: auto;
  margin: 0;
}

.home-page .btn {
  min-height: 52px;
  padding: 0 22px;
  border-color: var(--brand-red);
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .btn-light {
  background: #fff;
  color: var(--brand-red);
}

.home-page .b1__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.home-page .b1__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(16, 15, 15, 0.1);
  border-radius: 999px;
  color: rgba(16, 15, 15, 0.58);
  font-size: 14px;
  font-weight: 800;
}

.home-page .b1__cards {
  display: flex;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
}

.home-page .b1__card,
.home-page .b1__card.is-side,
.home-page .b1__card.is-main {
  flex: 1 1 0;
  min-width: 94px;
  height: 560px;
  min-height: 560px;
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 30px;
  background: #100f0f;
  opacity: 1;
  filter: none;
  transform: none;
  transition: flex 0.34s ease, opacity 0.28s ease, filter 0.28s ease;
}

.home-page .b1__card.is-main {
  flex: 1.35 1 0;
}

.home-page .b1__cards.is-open .b1__card {
  opacity: 0.58;
  filter: saturate(0.78);
}

.home-page .b1__cards.is-open .b1__card.is-active {
  flex: 2.2 1 0;
  opacity: 1;
  filter: none;
}

.home-page .b1__cards.is-open .b1__card:not(.is-active) {
  flex: 0.64 1 0;
}

.home-page .b1__cards.is-open .b1__card.is-left.is-active,
.home-page .b1__cards.is-open .b1__card.is-right.is-active,
.home-page .b1__cards.is-open .b1__card.is-main.is-active {
  transform: none;
}

.home-page .b1__body {
  min-height: 150px;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 68%);
}

.home-page .b1__logo {
  width: 64px;
  height: 64px;
  box-shadow: none;
}

.home-page .b1__name {
  color: #fff;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 800;
}

.home-page .b1__info {
  color: rgba(255, 255, 255, 0.86);
}

.home-page .b2__head,
.home-page .b3__head,
.home-page .b4__head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 26px;
  padding: 0;
  text-align: center;
}

.home-page .b2__title,
.home-page .b3__title,
.home-page .b4__title {
  max-width: 760px;
  font-size: clamp(36px, 4.6vw, 72px);
}

.home-page .b2__note,
.home-page .b3__note,
.home-page .b4__note {
  max-width: 680px;
  margin: 0;
  color: rgba(16, 15, 15, 0.62);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 600;
  line-height: 1.35;
}

.home-page .b2__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-page .b2__item {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 10px 10px 16px;
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 24px;
  background: #fff;
}

.home-page .b2__video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: 18px;
  background: #100f0f;
  object-fit: cover;
}

.home-page .b2__name {
  margin: 0;
  padding: 0 6px;
  color: #100f0f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.home-page .b3__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-page .b3__work {
  overflow: hidden;
  border: 1px solid rgba(16, 15, 15, 0.08);
  border-radius: 24px;
  background: #fff;
}

.home-page .b3__image {
  aspect-ratio: 1.22;
}

.home-page .b3__body {
  padding: 18px;
}

.home-page .b3__name {
  color: #100f0f;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-page .b3__text {
  color: rgba(16, 15, 15, 0.58);
  font-weight: 600;
}

.home-page .b3__actions {
  margin-top: 28px;
}

.home-page .b4__list {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.home-page .b4__card,
.home-page .b4__card.is-active {
  flex: 1 1 0;
  width: auto;
  height: 390px;
  min-height: 390px;
  margin: 0;
  border: 0;
  border-radius: 24px;
  background: #100f0f;
  cursor: pointer;
  transition: flex 0.32s ease;
}

.home-page .b4__card.is-active {
  flex: 1.85 1 0;
  box-shadow: none;
}

.home-page .b4__card::after {
  background: linear-gradient(180deg, rgba(16, 15, 15, 0.02) 0%, rgba(16, 15, 15, 0.86) 100%);
}

.home-page .b4__body {
  padding: 0 22px 22px;
}

.home-page .b4__name {
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-page .b4__text {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

@media (max-width: 1280px) {
  .home-page .b1__grid {
    grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  }

  .home-page .b1__main,
  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main {
    min-height: 500px;
    height: 500px;
  }
}

@media (max-width: 1100px) {
  .home-page .b1,
  .home-page .b2,
  .home-page .b3,
  .home-page .b4 {
    padding: 18px 0 46px;
  }

  .home-page .b1__grid {
    grid-template-columns: 1fr;
  }

  .home-page .b1__main {
    min-height: auto;
  }

  .home-page .b1__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main,
  .home-page .b1__cards.is-open .b1__card,
  .home-page .b1__cards.is-open .b1__card.is-active,
  .home-page .b1__cards.is-open .b1__card:not(.is-active) {
    flex: none;
    min-width: 0;
    min-height: 360px;
    height: 360px;
    opacity: 1;
    filter: none;
  }

  .home-page .b2__list,
  .home-page .b3__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .b2__video {
    aspect-ratio: 16 / 10;
  }

  .home-page .b4__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .home-page .b4__card,
  .home-page .b4__card.is-active {
    flex: none;
    min-height: 320px;
    height: 320px;
  }

  .home-page .b4__body,
  .home-page .b4__card.is-active .b4__body,
  .home-page .b4__card:not(.is-active) .b4__body {
    transform: none;
  }

  .home-page .b4__text p,
  .home-page .b4__card.is-active .b4__text p {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .home-page .b1__box,
  .home-page .b2__box,
  .home-page .b3__box,
  .home-page .b4__box {
    width: calc(100% - 24px);
  }

  .home-page .b1__main {
    height: auto;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
  }

  .home-page .b1__title {
    font-size: clamp(38px, 12vw, 58px);
  }

  .home-page .b1__text {
    font-size: 17px;
  }

  .home-page .b1__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .btn {
    width: 100%;
  }

  .home-page .b1__cards,
  .home-page .b2__list,
  .home-page .b3__grid,
  .home-page .b4__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main,
  .home-page .b1__cards.is-open .b1__card,
  .home-page .b1__cards.is-open .b1__card.is-active,
  .home-page .b1__cards.is-open .b1__card:not(.is-active) {
    min-height: 290px;
    height: 290px;
    border-radius: 24px;
  }

  .home-page .b1__logo {
    width: 54px;
    height: 54px;
  }

  .home-page .b1__body {
    min-height: 126px;
    padding: 18px;
  }

  .home-page .b1__name {
    font-size: 24px;
  }

  .home-page .b1__info {
    font-size: 14px;
  }

  .home-page .b2__head,
  .home-page .b3__head,
  .home-page .b4__head {
    margin-bottom: 18px;
    gap: 10px;
  }

  .home-page .b2__title,
  .home-page .b3__title,
  .home-page .b4__title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .home-page .b2__note,
  .home-page .b3__note,
  .home-page .b4__note {
    font-size: 16px;
  }

  .home-page .b2__video {
    aspect-ratio: 16 / 10;
  }

  .home-page .b3__image {
    aspect-ratio: 4 / 3;
  }

  .home-page .b4__card,
  .home-page .b4__card.is-active {
    min-height: 280px;
    height: 280px;
  }
}

/* Home adaptive repair after Responsively audit */
.home-page .b2__note,
.home-page .b3__note,
.home-page .b4__note {
  letter-spacing: 0;
  text-transform: none;
}

.home-page .footer-note {
  color: rgba(16, 15, 15, 0.46);
}

@media (min-width: 1101px) {
  .home-page .b1__grid {
    grid-template-columns: minmax(460px, 0.9fr) minmax(0, 1.1fr);
  }

  .home-page .b1__title {
    max-width: 100%;
    font-size: clamp(48px, 4.2vw, 76px);
    line-height: 0.98;
  }

  .home-page .b1__main,
  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main {
    min-height: clamp(480px, 35vw, 540px);
    height: clamp(480px, 35vw, 540px);
  }
}

@media (min-width: 1680px) {
  .home-page .b1__box,
  .home-page .b2__box,
  .home-page .b3__box,
  .home-page .b4__box {
    max-width: 1680px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .home-page .b1__main {
    height: auto;
    gap: 18px;
  }

  .home-page .b1__title {
    font-size: clamp(42px, 6vw, 58px);
  }

  .home-page .b1__facts {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .site-header__box {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header__logo img {
    width: 58px;
    height: 58px;
  }

  .home-page .b1,
  .home-page .b2,
  .home-page .b3,
  .home-page .b4 {
    padding-bottom: 40px;
  }

  .home-page .b1__facts {
    margin-top: 0;
  }

  .home-page .b2__note,
  .home-page .b3__note,
  .home-page .b4__note {
    max-width: 32rem;
    font-size: 15px;
    line-height: 1.45;
  }
}

/* Home cover repair: keep three cards, fix the text panel rhythm */
.home-page .b1 {
  padding-top: clamp(16px, 1.8vw, 28px);
  padding-bottom: clamp(42px, 4vw, 72px);
}

.home-page .b1__grid {
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.home-page .b1__main {
  justify-content: center;
  gap: clamp(16px, 1.5vw, 22px);
  min-height: clamp(460px, 33vw, 540px);
  height: auto;
  align-self: stretch;
  overflow: hidden;
}

.home-page .b1__title {
  max-width: 12ch;
  font-size: clamp(46px, 3.7vw, 70px);
  line-height: 0.97;
}

.home-page .b1__text {
  max-width: 560px;
}

.home-page .b1__facts {
  max-width: 100%;
  margin-top: 0;
  align-content: flex-start;
}

.home-page .b1__facts span {
  max-width: 100%;
  white-space: nowrap;
}

.home-page .b1__cards {
  display: flex;
  gap: 16px;
  min-height: 0;
  height: 100%;
}

.home-page .b1__card,
.home-page .b1__card.is-side,
.home-page .b1__card.is-main {
  display: block;
  height: 100%;
  min-height: 0;
}

@media (min-width: 1680px) {
  .home-page .b1__grid {
    grid-template-columns: minmax(560px, 0.88fr) minmax(0, 1.12fr);
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .home-page .b1__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .b1__main {
    min-height: auto;
    height: auto;
  }

  .home-page .b1__cards,
  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main,
  .home-page .b1__cards.is-open .b1__card,
  .home-page .b1__cards.is-open .b1__card.is-side,
  .home-page .b1__cards.is-open .b1__card.is-main,
  .home-page .b1__cards.is-open .b1__card.is-main.is-active {
    min-height: 360px;
    height: 360px;
  }

  .home-page .b1__title {
    max-width: 15ch;
    font-size: clamp(42px, 6vw, 58px);
  }
}

@media (max-width: 760px) {
  .site-header__logo img {
    width: 52px;
    height: 52px;
  }

  .home-page .b1 {
    padding-top: 12px;
    padding-bottom: 34px;
  }

  .home-page .b1__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .home-page .b1__main {
    gap: 15px;
    padding: 22px;
    height: auto;
    min-height: auto;
  }

  .home-page .b1__label {
    max-width: 100%;
    white-space: normal;
    font-size: 11px;
    line-height: 1.15;
  }

  .home-page .b1__title {
    max-width: 11ch;
    font-size: clamp(34px, 10.6vw, 46px);
    line-height: 0.96;
  }

  .home-page .b1__text {
    font-size: 16px;
    line-height: 1.32;
  }

  .home-page .b1__facts {
    display: none;
  }

  .home-page .b1__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .b1__card,
  .home-page .b1__card.is-side,
  .home-page .b1__card.is-main,
  .home-page .b1__cards.is-open .b1__card,
  .home-page .b1__cards.is-open .b1__card.is-side,
  .home-page .b1__cards.is-open .b1__card.is-main,
  .home-page .b1__cards.is-open .b1__card.is-main.is-active {
    min-height: 270px;
    height: 270px;
    border-radius: 24px;
  }

  .home-page .b1__body {
    min-height: 118px;
    padding: 18px;
  }
}

/* Home reference layout below the cover */
.home-page {
  --ref-red: #e71b5f;
  --ref-orange: #ff7a1a;
  --ref-purple: #251356;
  --ref-green: #69b241;
  --ref-blue: #241f74;
  --ref-text: #171928;
  --ref-muted: #6d7282;
  --ref-border: #ececf4;
  --ref-bg: #ffffff;
}

.home-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #ececf4;
  backdrop-filter: blur(12px);
}

.home-page .site-header__box {
  display: grid;
  grid-template-columns: 260px 1fr 360px;
  align-items: center;
  gap: 18px;
  width: min(100% - 72px, 1440px);
  min-height: 72px;
  margin: 0 auto;
  padding: 0;
}

.home-page .site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ref-text);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  justify-self: start;
}

.home-page .site-header__nav {
  justify-self: center;
}

.home-page .site-header__logo img {
  width: 42px;
  height: 42px;
}

.home-page .nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .site-header__link {
  white-space: nowrap;
  color: var(--ref-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.home-page .site-header__link.is-active,
.home-page .site-header__link:hover {
  color: var(--ref-red);
}

.home-page .site-header__contacts {
  display: grid;
  gap: 2px;
  text-align: right;
}

.home-page .site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  justify-self: end;
}

.home-page .site-header__phone {
  color: var(--ref-text);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.home-page .site-header__contacts span {
  color: var(--ref-muted);
  font-size: 11px;
  font-weight: 700;
}

.home-page .site-header__button {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ref-red), var(--ref-orange));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.home-page .b2,
.home-page .b3,
.home-page .b4,
.home-page .b5,
.home-page .b6,
.home-page .b7 {
  padding: 36px 0 0;
  background: #fff;
}

.home-page .b2__box,
.home-page .b3__box,
.home-page .b4__box,
.home-page .b5__box,
.home-page .b6__box,
.home-page .b7__box {
  width: min(100% - 72px, 1320px);
  margin: 0 auto;
}

.home-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.home-title h2 {
  margin: 0;
  color: var(--ref-text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  position: relative;
}

.home-title h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ref-red), var(--ref-orange));
}

.home-title p {
  margin: 8px 0 0;
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 700;
}

.home-title a,
.b4__subhead a {
  color: #5c3bcc;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.home-title--left {
  justify-content: flex-start;
}

.home-page .b2__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.home-page .b2__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--ref-border);
  box-shadow: 0 18px 44px rgba(25, 24, 46, 0.08);
}

.home-page .b2__image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.home-page .b2__icon {
  position: absolute;
  top: 178px;
  left: 24px;
  width: 54px;
  height: 54px;
  border: 5px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(20, 20, 40, 0.16);
}

.home-page .b2__icon--red {
  background: linear-gradient(135deg, #7432d9, var(--ref-red));
}

.home-page .b2__icon--green {
  background: linear-gradient(135deg, #55c262, #8cc63e);
}

.home-page .b2__icon--orange {
  background: linear-gradient(135deg, #ff9a1f, #ee641d);
}

.home-page .b2__body {
  padding: 38px 24px 24px;
}

.home-page .b2__name {
  margin: 0 0 10px;
  color: var(--ref-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.home-page .b2__text {
  min-height: 64px;
  margin: 0 0 18px;
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.small-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(231, 27, 95, 0.36);
  border-radius: 4px;
  color: var(--ref-red);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.small-button--green {
  border-color: rgba(105, 178, 65, 0.45);
  color: #438c2e;
}

.small-button--orange {
  border-color: rgba(255, 122, 26, 0.45);
  color: #d76213;
}

.home-page .b3__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-page .b3__card {
  position: relative;
  min-height: 190px;
  padding: 28px 24px 22px;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 18, 54, 0.14);
}

.home-page .b3__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.22), transparent 40%);
}

.home-page .b3__card--purple {
  background: linear-gradient(135deg, #7b2ce1, #201250);
}

.home-page .b3__card--orange {
  background: linear-gradient(135deg, #ef7a18, #9b3317);
}

.home-page .b3__card--green {
  background: linear-gradient(135deg, #68b444, #19572f);
}

.home-page .b3__card--blue {
  background: linear-gradient(135deg, #5b31da, #15114d);
}

.home-page .b3__icon,
.home-page .b3__card h3,
.home-page .b3__card p,
.home-page .b3__card a {
  position: relative;
  z-index: 1;
}

.home-page .b3__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  font-size: 22px;
  font-weight: 900;
}

.home-page .b3__card h3 {
  max-width: 250px;
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.home-page .b3__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.home-page .b3__card a {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}

.home-page .b4__grid {
  display: block;
}

.home-page .b4__subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.home-page .b4__subhead h3 {
  margin: 0;
  color: var(--ref-text);
  font-size: 17px;
  font-weight: 900;
}

.home-page .b4__videos,
.home-page .b4__projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-page .b4__video,
.home-page .b4__project {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 12px 28px rgba(20, 20, 40, 0.1);
}

.home-page .b4__video video,
.home-page .b4__project img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}

.home-page .b5__panel {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 36px;
  border-radius: 8px;
  background: #f4f0ff;
}

.home-page .b5__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #7046d8;
  border: 2px dashed rgba(112, 70, 216, 0.45);
  font-size: 34px;
  font-weight: 900;
}

.home-page .b5__text h2 {
  margin: 0 0 8px;
  color: var(--ref-text);
  font-size: 22px;
  font-weight: 900;
}

.home-page .b5__text p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.home-page .b5__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ref-text);
  font-size: 13px;
  font-weight: 700;
}

.home-page .b5__list li::before {
  content: "✓";
  margin-right: 8px;
  color: #7046d8;
}

.home-page .b5__button,
.home-page .b7__form button {
  border: 0;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--ref-red), var(--ref-orange));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.home-page .b6__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 36px;
  align-items: stretch;
}

.home-page .b6__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.home-page .b6__text > p {
  margin: 0;
  color: var(--ref-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.home-page .b6__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-page .b6__stats div {
  padding-left: 14px;
  border-left: 3px solid var(--ref-red);
}

.home-page .b6__stats strong,
.home-page .b6__stats span {
  display: block;
}

.home-page .b6__stats strong {
  color: var(--ref-purple);
  font-size: 18px;
  font-weight: 900;
}

.home-page .b6__stats span {
  color: var(--ref-muted);
  font-size: 12px;
  font-weight: 700;
}

.home-page .b6__image {
  overflow: hidden;
  border-radius: 8px;
  min-height: 260px;
}

.home-page .b6__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .b6__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  color: var(--ref-text);
  font-size: 13px;
  font-weight: 800;
}

.home-page .b6__features div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-page .b6__features span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7046d8;
  background: #f4f0ff;
  font-weight: 900;
}

.home-page .b7 {
  padding-bottom: 54px;
}

.home-page .b7__grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.1fr;
  gap: 24px;
}

.home-page .b7__contacts,
.home-page .b7__form,
.home-page .b7__map {
  min-height: 230px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--ref-border);
}

.home-page .b7__contacts {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  color: var(--ref-text);
  font-size: 15px;
  font-weight: 700;
}

.home-page .b7__contacts a,
.home-page .b7__contacts span {
  color: inherit;
  text-decoration: none;
}

.home-page .b7__form {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.home-page .b7__form input,
.home-page .b7__form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ref-border);
  padding: 0 22px;
  color: var(--ref-text);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.home-page .b7__form input {
  min-height: 58px;
}

.home-page .b7__form textarea {
  min-height: 68px;
  padding-top: 18px;
  resize: vertical;
}

.home-page .b7__form button {
  border-radius: 0;
}

.home-page .b7__map {
  position: relative;
  overflow: hidden;
  background: #edf0e9;
}

.home-page .b7__map iframe {
  width: 100%;
  height: 100%;
  min-height: 230px;
  border: 0;
  display: block;
}

/* Catalog root: product type cards only */
.catalog-v2__grid--types {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-v2__grid--types .catalog-v2__image {
  min-height: 320px;
}

.catalog-v2__grid--types .catalog-v2__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-v2__grid--types .catalog-v2__card-body {
  min-height: 220px;
}

.catalog-v2__grid--types .catalog-v2__tags span {
  white-space: normal;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .catalog-v2__grid--types {
    grid-template-columns: 1fr;
  }
}

.home-page .footer {
  background: #fff;
  color: var(--ref-text);
  padding: 0;
  border-top: 1px solid var(--ref-border);
}

.home-page .footer,
.home-page .footer * {
  color: var(--ref-text);
}

.home-page .footer-box {
  width: min(100% - 72px, 1320px);
  margin: 0 auto;
  padding: 38px 0;
}

.home-page .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

.home-page .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ref-text);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.home-page .footer-logo-img {
  width: 42px;
  height: 42px;
}

.home-page .footer-text,
.home-page .footer-policy,
.home-page .footer-link {
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
}

.home-page .footer-policy {
  display: inline-block;
  margin-top: 10px;
}

.home-page .footer-title {
  margin: 0 0 16px;
  color: var(--ref-text);
  font-size: 15px;
  font-weight: 900;
}

.home-page .footer-col {
  display: grid;
  gap: 8px;
}

.home-page .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-page .footer-social a {
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f0ff;
  color: #7046d8;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.home-page .footer .footer-text,
.home-page .footer .footer-policy,
.home-page .footer .footer-link {
  color: var(--ref-muted);
}

.home-page .footer .footer-title,
.home-page .footer .footer-logo,
.home-page .footer .footer-logo span {
  color: var(--ref-text);
}

@media (max-width: 1180px) {
  .home-page .site-header__box {
    grid-template-columns: auto 1fr auto;
  }

  .home-page .site-header__contacts {
    display: none;
  }

  .home-page .b3__grid,
  .home-page .b6__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .b4__grid,
  .home-page .b6__grid,
  .home-page .b7__grid {
    grid-template-columns: 1fr;
  }

  .home-page .b5__panel {
    grid-template-columns: auto 1fr;
  }

  .home-page .b5__list,
  .home-page .b5__button {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .home-page .site-header__box,
  .home-page .b2__box,
  .home-page .b3__box,
  .home-page .b4__box,
  .home-page .b5__box,
  .home-page .b6__box,
  .home-page .b7__box,
  .home-page .footer-box {
    width: min(100% - 32px, 1320px);
  }

  .home-page .site-header__box {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 14px 0;
  }

  .home-page .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .home-page .site-header__button {
    display: none;
  }

  .home-page .b2__list,
  .home-page .b3__grid {
    grid-template-columns: 1fr;
  }

  .home-page .b4__videos,
  .home-page .b4__projects {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .home-page .b5__panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .home-page .b5__list,
  .home-page .b5__button {
    grid-column: auto;
  }

  .home-page .b6__stats,
  .home-page .b6__features,
  .home-page .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Home reference scale pass */
.home-page .b2,
.home-page .b3,
.home-page .b4,
.home-page .b5,
.home-page .b6,
.home-page .b7 {
  padding-top: clamp(54px, 5vw, 86px);
}

.home-page .b2__box,
.home-page .b3__box,
.home-page .b4__box,
.home-page .b5__box,
.home-page .b6__box,
.home-page .b7__box,
.home-page .footer-box {
  width: min(100% - 72px, 1520px);
}

.home-title {
  margin-bottom: 32px;
}

.home-title h2 {
  font-size: clamp(38px, 3.1vw, 56px);
}

.home-title p {
  font-size: 18px;
}

.home-title a,
.b4__subhead a {
  font-size: 16px;
}

.home-page .b2__list {
  gap: 34px;
}

.home-page .b2__image {
  height: clamp(260px, 17vw, 330px);
}

.home-page .b2__icon {
  top: clamp(224px, 14.4vw, 294px);
  width: 68px;
  height: 68px;
  font-size: 28px;
}

.home-page .b2__body {
  padding: 48px 30px 32px;
}

.home-page .b2__name {
  font-size: clamp(25px, 1.8vw, 32px);
}

.home-page .b2__text {
  min-height: 78px;
  font-size: 17px;
}

.small-button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.home-page .b3__grid {
  gap: 28px;
}

.home-page .b3__card {
  min-height: 250px;
  padding: 34px 30px 28px;
}

.home-page .b3__icon {
  width: 54px;
  height: 54px;
  font-size: 28px;
}

.home-page .b3__card h3 {
  max-width: 340px;
  font-size: clamp(23px, 1.5vw, 29px);
}

.home-page .b3__card p {
  font-size: 16px;
}

.home-page .b4__grid {
  gap: 42px;
}

.home-page .b4__subhead h3 {
  font-size: 22px;
}

.home-page .b4__video video,
.home-page .b4__project img {
  aspect-ratio: 1 / 1.12;
}

.home-page .b5__panel {
  padding: 42px 48px;
}

.home-page .b5__text h2 {
  font-size: clamp(28px, 2vw, 38px);
}

.home-page .b5__text p,
.home-page .b5__list {
  font-size: 17px;
}

.home-page .b5__button,
.home-page .b7__form button {
  min-height: 58px;
  padding: 0 34px;
  font-size: 16px;
}

.home-page .b6__grid {
  grid-template-columns: minmax(360px, 0.52fr) minmax(360px, 0.48fr);
  gap: 42px;
}

.home-page .b6__text > p {
  font-size: 21px;
}

.home-page .b6__stats strong {
  font-size: 25px;
}

.home-page .b6__stats span,
.home-page .b6__features {
  font-size: 15px;
}

.home-page .b6__panel {
  min-height: 330px;
  padding: 46px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 122, 26, 0.18), transparent 34%),
    linear-gradient(135deg, #22183f, #0f1020);
  color: #fff;
  overflow: hidden;
}

.home-page .b6__panel h3 {
  max-width: 620px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 2.4vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-page .b6__panel p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.home-page .b6__features {
  gap: 24px;
  margin-top: 30px;
}

.home-page .b6__features span {
  width: 44px;
  height: 44px;
}

.home-page .b7__contacts,
.home-page .b7__form,
.home-page .b7__map {
  min-height: 300px;
}

.home-page .b7__contacts,
.home-page .b7__form input,
.home-page .b7__form textarea {
  font-size: 17px;
}

.home-page .footer-grid {
  gap: 64px;
}

@media (max-width: 1180px) {
  .home-page .b6__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .home-page .b2__box,
  .home-page .b3__box,
  .home-page .b4__box,
  .home-page .b5__box,
  .home-page .b6__box,
  .home-page .b7__box,
  .home-page .footer-box {
    width: min(100% - 32px, 1520px);
  }

  .home-page .b2,
  .home-page .b3,
  .home-page .b4,
  .home-page .b5,
  .home-page .b6,
  .home-page .b7 {
    padding-top: 46px;
  }

  .home-title {
    align-items: flex-start;
  }

  .home-title h2 {
    font-size: 34px;
  }

  .home-page .b2__image {
    height: 230px;
  }

  .home-page .b2__icon {
    top: 196px;
  }

  .home-page .b3__card {
    min-height: 210px;
  }

  .home-page .b6__panel {
    min-height: 260px;
    padding: 28px;
  }
}

/* Hard header layout fix */
.home-page .site-header__box {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 260px minmax(440px, 1fr) 360px !important;
  align-items: center !important;
  gap: 18px !important;
}

.home-page .site-header__logo {
  position: static !important;
  left: auto !important;
  top: auto !important;
  grid-column: 1 !important;
  justify-self: start !important;
  transform: none !important;
  z-index: 2 !important;
}

.home-page .site-header__nav {
  grid-column: 2 !important;
  justify-self: center !important;
  width: auto !important;
  min-width: 0 !important;
}

.home-page .site-header .nav-links {
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 28px !important;
}

.home-page .site-header__link {
  min-height: 72px !important;
  padding: 0 !important;
}

.home-page .site-header__right {
  grid-column: 3 !important;
  justify-self: end !important;
  min-width: 0 !important;
}

@media (max-width: 1180px) {
  .home-page .site-header__box {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .home-page .site-header__nav {
    justify-self: end !important;
  }
}

@media (max-width: 860px) {
  .home-page .site-header__box {
    grid-template-columns: 1fr !important;
  }

  .home-page .site-header__logo,
  .home-page .site-header__nav,
  .home-page .site-header__right {
    grid-column: 1 !important;
    justify-self: center !important;
  }

  .home-page .site-header__link {
    min-height: auto !important;
  }
}

/* Global site background */
body,
.home-page,
.catalog-body,
.product-body,
.home-page main,
.catalog-body main,
.product-body main {
  background: #fff;
}

.home-page .b2,
.home-page .b3,
.home-page .b4,
.home-page .b5,
.home-page .b6,
.home-page .b7 {
  background: transparent;
}

/* Shared header and footer for every page */
:root {
  --shared-red: #e71b5f;
  --shared-orange: #ff7a1a;
  --shared-text: #171928;
  --shared-muted: #6d7282;
  --shared-border: #ececf4;
}

.site-header,
.catalog-body .site-header,
.product-body .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--shared-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.site-header__box {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 260px minmax(440px, 1fr) 360px !important;
  align-items: center !important;
  gap: 18px !important;
  width: min(100% - 72px, 1440px) !important;
  min-height: 72px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.site-header__logo {
  position: static !important;
  left: auto !important;
  top: auto !important;
  grid-column: 1 !important;
  justify-self: start !important;
  transform: none !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--shared-text) !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  text-decoration: none !important;
}

.site-header__logo img {
  width: 42px !important;
  height: 42px !important;
}

.site-header__nav {
  grid-column: 2 !important;
  justify-self: center !important;
  width: auto !important;
  min-width: 0 !important;
}

.site-header .nav-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.site-header__link,
.site-header__link:visited,
.catalog-body .site-header__link,
.product-body .site-header__link {
  min-height: 72px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  color: var(--shared-text) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.site-header__link:hover,
.site-header__link.is-active,
.site-header__link.active {
  color: var(--shared-red) !important;
}

.site-header__link.is-active::after,
.site-header__link.active::after {
  display: none !important;
}

.site-header__right {
  grid-column: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  justify-self: end !important;
  min-width: 0 !important;
}

.site-header__contacts {
  display: grid !important;
  gap: 2px !important;
  text-align: right !important;
}

.site-header__phone {
  color: var(--shared-text) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.site-header__contacts span {
  color: var(--shared-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.site-header__button {
  min-height: 42px !important;
  padding: 0 22px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--shared-red), var(--shared-orange)) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.footer,
.home-page .footer {
  background: #fff;
  color: var(--shared-text);
  padding: 0;
  border-top: 1px solid var(--shared-border);
}

.footer-box,
.home-page .footer-box {
  width: min(100% - 72px, 1520px);
  margin: 0 auto;
  padding: 38px 0;
}

.footer-grid,
.home-page .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 64px;
  align-items: start;
}

.footer-logo,
.home-page .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--shared-text);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.footer-logo-img,
.home-page .footer-logo-img {
  width: 42px;
  height: 42px;
}

.footer-text,
.footer-policy,
.footer-link,
.home-page .footer-text,
.home-page .footer-policy,
.home-page .footer-link {
  color: var(--shared-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
}

.footer-title,
.home-page .footer-title {
  margin: 0 0 16px;
  color: var(--shared-text);
  font-size: 15px;
  font-weight: 900;
}

.footer-col,
.home-page .footer-col {
  display: grid;
  gap: 8px;
}

.footer-social,
.home-page .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a,
.home-page .footer-social a {
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f0ff;
  color: #7046d8;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.catalog-page__crumbs {
  margin-bottom: 22px;
}

@media (max-width: 1180px) {
  .site-header__box {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .site-header__nav {
    justify-self: end !important;
  }

  .site-header__contacts {
    display: none !important;
  }

  .footer-grid,
  .home-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header__box {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 12px !important;
    width: min(100% - 32px, 1440px) !important;
    padding: 14px 0 !important;
  }

  .site-header__logo,
  .site-header__nav,
  .site-header__right {
    grid-column: 1 !important;
    justify-self: center !important;
  }

  .site-header .nav-links {
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  .site-header__link {
    min-height: auto !important;
  }

  .site-header__button {
    display: none !important;
  }

  .footer-box,
  .home-page .footer-box {
    width: min(100% - 32px, 1520px);
  }

  .footer-grid,
  .home-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Catalog clean cards */
.catalog-v2__card-body {
  min-height: 160px;
}

.catalog-v2__tags {
  display: none !important;
}

/* Catalog promo slider */
.catalog-v2__panel {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 42px;
  background: #111;
}

.promo-slider {
  position: relative;
  overflow: hidden;
  min-height: 364px;
  border-radius: inherit;
}

.promo-slider__track {
  display: flex;
  width: 300%;
  height: 364px;
  transform: translateX(calc(var(--promo-index, 0) * -33.333333%));
  transition: transform 0.35s ease;
}

.promo-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  justify-items: center;
  width: 33.333333%;
  min-width: 33.333333%;
  height: 100%;
  overflow: hidden;
  color: #fff;
}

.promo-slide--one {
  background: #500033;
}

.promo-slide--two {
  background: #000050;
}

.promo-slide--three {
  background: #554d00;
}

.promo-slide__bg {
  position: absolute;
  inset: 0 auto 0 -12%;
  width: 58%;
  transform: skewX(7deg);
  transform-origin: 0 100%;
  background: rgba(0, 0, 0, 0.22);
}

.promo-slide__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: skewX(10deg);
  background: inherit;
}

.promo-slide__details {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  max-width: 600px;
  width: 100%;
  padding: 44px 70px;
}

.promo-slide__details p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.promo-slide__details h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 3.3vw, 52px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.promo-slide__details span {
  display: block;
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.promo-slide__details a {
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff0077;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.promo-slide--two .promo-slide__details a {
  background: #0033ff;
}

.promo-slide--three .promo-slide__details a {
  background: #ff4e00;
}

.promo-slide__shape {
  position: relative;
  z-index: 1;
  justify-self: center;
}

.promo-slide__shape div {
  position: relative;
  width: 210px;
  height: 280px;
  border-radius: 48px;
  transform: skewX(-10deg);
  background: #ff0077;
}

.promo-slide--two .promo-slide__shape div {
  background: #0033ff;
}

.promo-slide--three .promo-slide__shape div {
  background: #ff4e00;
}

.promo-slide__shape div::before,
.promo-slide__shape div::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  opacity: 0.38;
}

.promo-slide__shape div::before {
  transform: translate(36px, -28px);
}

.promo-slide__shape div::after {
  transform: translate(70px, -14px);
}

.promo-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.promo-slider__arrow--prev {
  left: 22px;
}

.promo-slider__arrow--next {
  right: 22px;
}

.promo-slider__trail {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(420px, 60%);
  transform: translateX(-50%);
}

.promo-slider__trail button {
  padding: 14px 0 0;
  border: 0;
  border-top: 3px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0;
  opacity: 0.35;
  cursor: pointer;
}

.promo-slider__trail button.is-active {
  opacity: 1;
}

@media (max-width: 900px) {
  .promo-slider,
  .promo-slider__track {
    height: 520px;
    min-height: 520px;
  }

  .promo-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 0.9fr 1.1fr;
  }

  .promo-slide__bg {
    inset: auto 0 0;
    width: 100%;
    height: 58%;
    transform: none;
  }

  .promo-slide__bg::before {
    transform: none;
  }

  .promo-slide__shape {
    grid-row: 1;
  }

  .promo-slide__shape div {
    width: 190px;
    height: 250px;
  }

  .promo-slide__details {
    grid-row: 2;
    align-self: center;
    max-width: none;
    padding: 22px 42px 74px;
    text-align: center;
  }

  .promo-slide__details h1 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .promo-slide__details span {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .catalog-v2__panel,
  .promo-slider {
    border-radius: 24px;
  }

  .promo-slider,
  .promo-slider__track {
    height: 500px;
    min-height: 500px;
  }

  .promo-slider__arrow {
    display: none;
  }

  .promo-slide__details {
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* Footer final state */
.footer,
.footer *,
.home-page .footer,
.home-page .footer * {
  color: #fff !important;
}

.footer-social {
  display: none !important;
}

/* Catalog viewed products */
.catalog-v2__seen {
  padding: 0 0 72px;
}

.catalog-v2__seen .catalog-v2__container {
  padding-top: 34px;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
}

.catalog-v2__section-head--simple {
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}

.catalog-v2__section-head--simple h2 {
  letter-spacing: -0.04em;
}

.seen-slider {
  position: relative;
}

.seen-slider__viewport {
  overflow: hidden;
}

.seen-slider__track {
  display: flex;
  gap: 22px;
  transform: translateX(calc(var(--seen-index, 0) * (-(25% + 16.5px))));
  transition: transform 0.3s ease;
}

.seen-slider__track .catalog-v2__card {
  flex: 0 0 calc((100% - 66px) / 4);
  background: #fff;
  box-shadow: none;
}

.seen-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ref-text);
  font-size: 31px;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(19, 24, 37, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}

.seen-slider__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.seen-slider__arrow--prev {
  left: -22px;
}

.seen-slider__arrow--next {
  right: -22px;
}

@media (max-width: 1100px) {
  .seen-slider__track {
    transform: translateX(calc(var(--seen-index, 0) * (-(50% + 11px))));
  }

  .seen-slider__track .catalog-v2__card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 620px) {
  .catalog-v2__seen {
    padding-bottom: 46px;
  }

  .catalog-v2__seen .catalog-v2__container {
    padding-top: 24px;
  }

  .seen-slider__track {
    transform: translateX(calc(var(--seen-index, 0) * (-(100% + 22px))));
  }

  .seen-slider__track .catalog-v2__card {
    flex-basis: 100%;
  }

  .seen-slider__arrow {
    width: 40px;
    height: 40px;
  }

  .seen-slider__arrow--prev {
    left: -10px;
  }

  .seen-slider__arrow--next {
    right: -10px;
  }
}
