/* Отраслевая секция лендинга (единственный блок, сохранивший прежнюю вёрстку). */
.reference-section-shell {
  padding: 58px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.reference-section-shell,
.reference-section-shell * { min-width: 0; }

.reference-section-shell p,
.reference-section-shell li { overflow-wrap: anywhere; }

.reference-industries-section h2,
.reference-industries-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.reference-industries-section .reference-section-shell > h2 {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

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

/* Доступная отрасль — главная карточка; «Скоро» отступает на второй план,
   как и остальные будущие возможности на странице. Раньше было наоборот:
   тёмная карточка «Скоро» перетягивала внимание на себя. */
.reference-industries-grid article {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.reference-industries-grid article.is-live {
  border-color: #e0d2bd;
  box-shadow: var(--shadow);
}

.reference-industries-grid article.is-soon {
  border-style: dashed;
  background: rgb(252 250 246 / 60%);
}

.reference-industries-grid article > p { color: var(--muted); }

.reference-industries-grid article.is-soon h3,
.reference-industries-grid article.is-soon li { color: var(--muted); }

.reference-industries-grid h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.15;
}

.reference-industries-grid article > p { margin: 0; line-height: 1.55; }

.reference-industries-grid ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.reference-industries-grid li { color: var(--muted); line-height: 1.5; }

.reference-industries-grid .button { margin-top: auto; width: fit-content; max-width: 100%; }


.reference-next-industries {
  margin: 34px 0 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .reference-section-shell { padding: 44px 30px; }
  .reference-industries-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .reference-section-shell { padding: 28px 16px; }
  .reference-industries-grid h3 { font-size: 1.55rem; }
  .reference-industries-grid article { margin-bottom: 0; }
}
