/* =========================================================
   CATALOG PAGE
   Hero
   ========================================================= */

.uled-catalog-hero {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;

  display: flex;
  align-items: center;

  min-height: calc(100svh - var(--header-height));
  padding: clamp(36px, 5vw, 64px) 0;

  color: var(--scheme-white-color);

  background:
    linear-gradient(
      rgba(var(--scheme-deepblue-rgb), 0.68),
      rgba(var(--scheme-deepblue-rgb), 0.72)
    ),
    radial-gradient(
      circle at 18% 12%,
      rgba(var(--scheme-blue-rgb), 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(var(--scheme-orange-rgb), 0.13),
      transparent 22%
    ),
    url("/assets/mine.gmg/imgs/bg/dark.03.jpg")
      center center / cover no-repeat;
}


/* Фоновая техническая сетка */

.uled-catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(var(--scheme-white-rgb), 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(var(--scheme-white-rgb), 0.025) 1px,
      transparent 1px
    );

  background-size: 42px 42px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(var(--scheme-black-rgb), 0.8),
      rgba(var(--scheme-black-rgb), 0.12)
    );

  pointer-events: none;
}


/* Оранжевое свечение справа */

.uled-catalog-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background:
    rgba(var(--scheme-orange-rgb), 0.16);

  filter: blur(34px);
  pointer-events: none;
}


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


/* Основная сетка */

.uled-catalog-hero__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(360px, 0.95fr);

  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}


.uled-catalog-hero__content {
  min-width: 0;
}


/* Заголовок */

.uled-catalog-hero h1 {
  max-width: 780px;
  margin: 0;

  color: var(--scheme-white-color);

  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.06em;
}


/* Основной текст */

.uled-catalog-hero__content > p {
  max-width: 760px;
  margin: 26px 0 0;

  color: rgba(var(--scheme-white-rgb), 0.88);

  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
}


/* Кнопки */

.uled-catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 32px;
}


/* Нижние информационные карточки */

.uled-catalog-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;

  max-width: 760px;
  margin-top: 36px;
}


.uled-catalog-hero__meta div {
  position: relative;
  overflow: hidden;

  padding: 18px 20px;

  border: 1px solid
    rgba(var(--scheme-white-rgb), 0.13);

  border-radius: 22px;

  background:
    rgba(var(--scheme-white-rgb), 0.07);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.uled-catalog-hero__meta div::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;

  width: 3px;

  border-radius: 999px;

  background:
    var(--scheme-orange-color);
}


.uled-catalog-hero__meta strong {
  display: block;

  color: var(--scheme-white-color);

  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}


.uled-catalog-hero__meta span {
  display: block;

  margin-top: 6px;

  color:
    rgba(var(--scheme-white-rgb), 0.64);

  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   Hero visual
   ========================================================= */

.uled-catalog-hero__visual {
  position: relative;
  overflow: hidden;

  justify-self: end;

  width: min(100%, 520px);
  aspect-ratio: 1 / 1;

  padding: 10px;

  border: 1px solid
    rgba(var(--scheme-white-rgb), 0.18);

  border-radius: 38px;

  background:
    linear-gradient(
      135deg,
      rgba(var(--scheme-white-rgb), 0.28),
      rgba(var(--scheme-white-rgb), 0.06)
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(var(--scheme-orange-rgb), 0.26),
      transparent 36%
    );

  box-shadow:
    0 34px 100px
    rgba(var(--scheme-black-rgb), 0.34);
}


.uled-catalog-hero__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -90px;
  right: -90px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    rgba(var(--scheme-orange-rgb), 0.22);

  filter: blur(18px);
  pointer-events: none;
}


.uled-catalog-hero__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -130px;
  left: -120px;

  width: 260px;
  height: 260px;

  border-radius: 50%;

  background:
    rgba(var(--scheme-blue-rgb), 0.28);

  filter: blur(22px);
  pointer-events: none;
}


/* Изображение */

.uled-catalog-hero__image {
  position: relative;
  z-index: 2;
  overflow: hidden;

  height: 100%;

  border-radius: 30px;

  background:
    rgba(var(--scheme-white-rgb), 0.08);
}


.uled-catalog-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(var(--scheme-black-rgb), 0.02) 0%,
      rgba(var(--scheme-black-rgb), 0.18) 48%,
      rgba(var(--scheme-black-rgb), 0.78) 100%
    );

  pointer-events: none;
}


.uled-catalog-hero__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1.05);
}


/* Подпись поверх изображения */

.uled-catalog-hero__badge {
  position: absolute;
  right: 32px;
  bottom: 32px;
  left: 32px;
  z-index: 3;

  padding: 20px 22px;

  border: 1px solid
    rgba(var(--scheme-white-rgb), 0.18);

  border-radius: 24px;

  color: var(--scheme-white-color);

  background:
    rgba(var(--scheme-black-rgb), 0.66);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 18px 50px
    rgba(var(--scheme-black-rgb), 0.24);
}


.uled-catalog-hero__badge span {
  display: block;

  margin-bottom: 7px;

  color:
    rgba(var(--scheme-white-rgb), 0.68);

  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


.uled-catalog-hero__badge strong {
  display: block;

  color: var(--scheme-white-color);

  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1199px) {

  .uled-catalog-hero__grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(320px, 0.8fr);

    gap: 32px;
  }


  .uled-catalog-hero__visual {
    width: min(100%, 460px);
  }

}


@media (max-width: 991px) {

  .uled-catalog-hero {
    min-height: auto;
    padding: 80px 0 64px;
  }


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


  .uled-catalog-hero__visual {
    justify-self: center;
    width: min(100%, 560px);
  }

}


@media (max-width: 767px) {

  .uled-catalog-hero {
    padding: 72px 0 54px;
  }


  .uled-catalog-hero__actions {
    flex-direction: column;
  }


  .uled-catalog-hero__meta {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }


  .uled-catalog-hero__visual {
    border-radius: 30px;
  }


  .uled-catalog-hero__image {
    border-radius: 24px;
  }


  .uled-catalog-hero__badge {
    right: 22px;
    bottom: 22px;
    left: 22px;

    padding: 18px;
    border-radius: 20px;
  }

}


@media (max-width: 575px) {

  .uled-catalog-hero h1 {
    font-size: 40px;
  }


  .uled-catalog-hero__content > p {
    font-size: 15px;
  }


  .uled-catalog-hero__visual {
    padding: 8px;
  }

}


/* =========================================================
   CATALOG CATEGORY
   Общая конструкция секций каталога
   ========================================================= */

.uled-catalog-category {
  position: relative;
  overflow: hidden;

  padding: 90px 0;

  scroll-margin-top: calc(var(--header-height, 50px) + 24px);
}

.uled-catalog-category > .container {
  position: relative;
  z-index: 1;
}

.uled-catalog-category__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(0, 1.08fr);

  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}


/* =========================================================
   Светлая секция
   ========================================================= */

.uled-catalog-category--light {
  color: var(--scheme-black-color);

  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(var(--scheme-blue-rgb), 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 80%,
      rgba(var(--scheme-orange-rgb), 0.08),
      transparent 25%
    ),
    var(--scheme-white-color);
}

.uled-catalog-category--light::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(var(--scheme-blue-rgb), 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(var(--scheme-blue-rgb), 0.035) 1px,
      transparent 1px
    );

  background-size: 46px 46px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      transparent 82%
    );

  pointer-events: none;
}

.uled-catalog-category--light::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -210px;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background: rgba(var(--scheme-blue-rgb), 0.1);

  filter: blur(34px);
  pointer-events: none;
}


/* =========================================================
   Текстовая часть
   ========================================================= */

.uled-catalog-category__content {
  min-width: 0;
}

.uled-catalog-category__content h2 {
  max-width: 720px;
  margin: 0;

  color: var(--scheme-deepblue-color);

  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.uled-catalog-category__lead {
  max-width: 680px;
  margin: 26px 0 0;

  color: var(--scheme-black-color);

  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.55;
  font-weight: 650;
}

.uled-catalog-category__text {
  max-width: 680px;
  margin: 18px 0 0;

  color: var(--scheme-muted-color);

  font-size: 16px;
  line-height: 1.82;
}


/* =========================================================
   Характеристики раздела
   ========================================================= */

.uled-catalog-category__features {
  display: grid;
  gap: 10px;

  margin: 30px 0 0;
  padding: 0;

  list-style: none;
}

.uled-catalog-category__features li {
  position: relative;

  padding: 15px 18px 15px 48px;

  border: 1px solid
    rgba(var(--scheme-deepblue-rgb), 0.1);

  border-radius: 18px;

  background: rgba(var(--scheme-white-rgb), 0.72);

  box-shadow:
    0 10px 30px
    rgba(var(--scheme-deepblue-rgb), 0.045);
}

.uled-catalog-category__features li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 20px;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--scheme-orange-color);

  box-shadow:
    0 0 0 6px
    rgba(var(--scheme-orange-rgb), 0.12);
}

.uled-catalog-category__features strong {
  display: block;

  color: var(--scheme-deepblue-color);

  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.uled-catalog-category__features span {
  display: block;
  margin-top: 3px;

  color: var(--scheme-muted-color);

  font-size: 13px;
  line-height: 1.5;
}

.uled-catalog-category__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 32px;
}


/* =========================================================
   Изображение
   ========================================================= */

.uled-catalog-category__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: block;
  min-width: 0;
  min-height: 560px;

  border: 1px solid
    rgba(var(--scheme-deepblue-rgb), 0.12);

  border-radius: 38px;

  background: var(--scheme-deepblue-color);

  box-shadow:
    0 34px 90px
    rgba(var(--scheme-deepblue-rgb), 0.18);
}

.uled-catalog-category__visual img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.7s ease;
}

.uled-catalog-category__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(var(--scheme-black-rgb), 0.02) 20%,
      rgba(var(--scheme-black-rgb), 0.16) 55%,
      rgba(var(--scheme-black-rgb), 0.86) 100%
    );

  pointer-events: none;
}

.uled-catalog-category__visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;

  border: 1px solid
    rgba(var(--scheme-white-rgb), 0.18);

  border-radius: 29px;

  pointer-events: none;
}

.uled-catalog-category__visual:focus-visible {
  outline: 3px solid var(--scheme-blue-color);
  outline-offset: 5px;
}

@media (hover: hover) {

  .uled-catalog-category__visual:hover img {
    transform: scale(1.045);
  }

}


/* =========================================================
   Подпись на изображении
   ========================================================= */

.uled-catalog-category__caption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  z-index: 3;

  padding: 22px 24px;

  border: 1px solid
    rgba(var(--scheme-white-rgb), 0.18);

  border-radius: 24px;

  color: var(--scheme-white-color);

  background: rgba(var(--scheme-black-rgb), 0.66);

  box-shadow:
    0 18px 50px
    rgba(var(--scheme-black-rgb), 0.24);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.uled-catalog-category__caption span {
  display: block;
  margin-bottom: 7px;

  color: rgba(var(--scheme-white-rgb), 0.68);

  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.uled-catalog-category__caption strong {
  display: block;

  color: var(--scheme-white-color);

  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
}


/* =========================================================
   Шахматная компоновка
   Модификатор для секций с изображением слева
   ========================================================= */

@media (min-width: 992px) {

  .uled-catalog-category--reverse .uled-catalog-category__grid {
    grid-template-columns:
      minmax(0, 1.08fr)
      minmax(0, 0.92fr);
  }

  .uled-catalog-category--reverse .uled-catalog-category__visual {
    grid-column: 1;
    grid-row: 1;
  }

  .uled-catalog-category--reverse .uled-catalog-category__content {
    grid-column: 2;
    grid-row: 1;
  }

}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1199px) {

  .uled-catalog-category__grid {
    gap: 40px;
  }

  .uled-catalog-category__visual {
    min-height: 500px;
  }

}

@media (max-width: 991px) {

  .uled-catalog-category {
    padding: 75px 0;
  }

  .uled-catalog-category__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .uled-catalog-category__visual {
    width: 100%;
    min-height: 480px;
  }

}

@media (max-width: 767px) {

  .uled-catalog-category {
    padding: 64px 0;
  }

  .uled-catalog-category__grid {
    gap: 32px;
  }

  .uled-catalog-category__content h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .uled-catalog-category__lead {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.55;
  }

  .uled-catalog-category__text {
    font-size: 15px;
    line-height: 1.72;
  }

  .uled-catalog-category__visual {
    min-height: 420px;
    border-radius: 30px;
  }

  .uled-catalog-category__visual::after {
    border-radius: 22px;
  }

  .uled-catalog-category__caption {
    right: 20px;
    bottom: 20px;
    left: 20px;

    padding: 18px;
    border-radius: 20px;
  }

}

@media (max-width: 575px) {

  .uled-catalog-category__visual {
    min-height: 370px;
  }

  .uled-catalog-category__features li {
    padding-right: 15px;
  }

}

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

  .uled-catalog-category__visual img {
    transition: none;
    transform: none;
  }

}


/* =========================================================
   CATALOG CATEGORY
   Тёмная секция
   ========================================================= */

.uled-catalog-category--dark {
  color: var(--scheme-white-color);

  background-color: var(--scheme-deepblue-color);

  background-image:
    linear-gradient(
      rgba(var(--scheme-deepblue-rgb), 0.72),
      rgba(var(--scheme-deepblue-rgb), 0.78)
    ),
    radial-gradient(
      circle at 20% 10%,
      rgba(var(--scheme-blue-rgb), 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(var(--scheme-orange-rgb), 0.1),
      transparent 26%
    ),
    url("/assets/mine.gmg/imgs/bg/dark.03.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


/* Техническая сетка */

.uled-catalog-category--dark::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(var(--scheme-white-rgb), 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(var(--scheme-white-rgb), 0.025) 1px,
      transparent 1px
    );

  background-size: 46px 46px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      transparent 82%
    );

  pointer-events: none;
}


/* Мягкое оранжевое свечение */

.uled-catalog-category--dark::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -210px;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background: rgba(var(--scheme-orange-rgb), 0.14);

  filter: blur(34px);
  pointer-events: none;
}


/* Текст */

.uled-catalog-category--dark
.uled-catalog-category__content h2 {
  color: var(--scheme-white-color);
}

.uled-catalog-category--dark
.uled-catalog-category__lead {
  color: var(--scheme-white-color);
}

.uled-catalog-category--dark
.uled-catalog-category__text {
  color: rgba(var(--scheme-white-rgb), 0.72);
}


/* Характеристики */

.uled-catalog-category--dark
.uled-catalog-category__features li {
  border-color: rgba(var(--scheme-white-rgb), 0.13);

  background:
    linear-gradient(
      180deg,
      rgba(var(--scheme-white-rgb), 0.08),
      rgba(var(--scheme-white-rgb), 0.04)
    );

  box-shadow:
    0 10px 30px
    rgba(var(--scheme-black-rgb), 0.12);
}

.uled-catalog-category--dark
.uled-catalog-category__features strong {
  color: var(--scheme-white-color);
}

.uled-catalog-category--dark
.uled-catalog-category__features span {
  color: rgba(var(--scheme-white-rgb), 0.68);
}


/* Изображение */

.uled-catalog-category--dark
.uled-catalog-category__visual {
  border-color: rgba(var(--scheme-white-rgb), 0.18);

  box-shadow:
    0 34px 90px
    rgba(var(--scheme-black-rgb), 0.32);
}

.uled-catalog-category--dark
.uled-catalog-category__visual:focus-visible {
  outline-color: var(--scheme-white-color);
}


/* =========================================================
   CATALOG CTA
   ========================================================= */

.uled-catalog-cta__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.uled-catalog-cta__heading,
.uled-catalog-cta__content {
  min-width: 0;
}

.uled-catalog-cta__heading h2 {
  max-width: 720px;
  margin: 0;

  color: var(--scheme-deepblue-color);

  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.uled-catalog-cta__content {
  padding-left: 25px;
  border-left: 2px solid var(--scheme-orange-color);
}

.uled-catalog-cta__content p {
  margin: 0 0 18px;

  color: var(--scheme-muted-color);

  font-size: 16px;
  line-height: 1.82;
}

.uled-catalog-cta__content p:last-of-type {
  margin-bottom: 0;
}

.uled-catalog-cta__content .uled-catalog-cta__lead {
  color: var(--scheme-black-color);

  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.55;
  font-weight: 650;
}

.uled-catalog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 30px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

  .uled-catalog-cta__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}

@media (max-width: 767px) {

  .uled-catalog-cta__heading h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .uled-catalog-cta__content {
    padding-left: 20px;
  }

  .uled-catalog-cta__content p {
    font-size: 15px;
    line-height: 1.72;
  }

  .uled-catalog-cta__content .uled-catalog-cta__lead {
    font-size: 18px;
    line-height: 1.55;
  }

}

@media (max-width: 575px) {

  .uled-catalog-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

}

