/* =============================================================
   Note-card — разделы пояснительной записки («Информация»).
   Та же карточка, что «Почему мы»: голубая на белом блоке,
   водяной знак логотипа в углу, синяя подсветка при наведении.
   ============================================================= */

.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.note-card {
  position: relative;
  padding: 25px 30px;
  border-radius: var(--border-radius-card);
  background: var(--color-why-card-bg);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s ease;
}

.note-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 171px;
  height: 110px;
  background: url('/images/logo-watermark.svg') no-repeat right top;
  background-size: contain;
  pointer-events: none;
}

/* Иконки — векторизованные PNG заказчика, приведённые к цвету и толщине
   линий иконок «Почему мы»; поэтому и подсветка у них та же */
.note-card__icon {
  position: relative; /* над водяным знаком */
  z-index: 1;
  display: block;
  width: 80px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 16px;
}

.note-card__title,
.note-card__text {
  position: relative;
  z-index: 1;
  color: var(--color-primary);
  line-height: var(--line-height-base);
}

.note-card__title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  margin: 0 0 12px;
}

.note-card__text {
  font-size: var(--font-size-base);
  margin: 0;
}

/* Hover — как у «Почему мы»: синяя карточка, белый текст и иконка */
.note-card:hover {
  background: var(--color-secondary);
}

.note-card:hover .note-card__title,
.note-card:hover .note-card__text {
  color: var(--color-text-inverse);
}

.note-card:hover::after {
  opacity: 0.15;
}

.note-card:hover .note-card__icon {
  filter: brightness(0) invert(1);
}

/* === Планшет === */
@media (max-width: 1023px) {
  .note-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* === Mobile === как карточки «Почему мы»: иконка слева, без знака */
@media (max-width: 767px) {
  .note-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .note-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 15px;
    padding: 15px;
  }

  .note-card::after {
    display: none;
  }

  .note-card__icon {
    grid-row: span 2;
    width: 60px;
    height: 56px;
    margin-bottom: 0;
  }

  .note-card__title {
    font-size: 0.875rem; /* 14px */
    margin-bottom: 6px;
  }

  .note-card__text {
    font-size: 0.75rem; /* 12px */
  }
}
