/* ============================================================
   «ОБЩИЕ СВЕДЕНИЯ»
   Дописать в конец style.css.
   Блок .scheme (раскрывающаяся схема) общий со страницей контактов —
   если style-contacts.css уже подключён, второй раз его не добавлять,
   здесь он в самом низу файла и помечен.
   ============================================================ */

/* ---------- Общая раскладка ---------- */
.general__intro,
.general__block > p,
.general__block > .brands { max-width: 780px; }

.general__intro p { margin: 0 0 16px; }
.general__intro > *:last-child { margin-bottom: 0; }

.general__lead {
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-heading);
}
.general__lead b { font-weight: 800; }

.general__block { margin-top: 56px; }

.general__title {
  margin: 0 0 20px;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--c-heading);
  text-transform: uppercase;
}

.general__block p { margin: 0 0 16px; }
.general__block > *:last-child { margin-bottom: 0; }

/* ---------- Фотополоса ---------- */
.general__hero {
  margin: 0 0 40px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c-bg-soft);
}
.general__hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Цифры ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 26px;
  border-radius: var(--r-card);
  background: var(--c-white);
  box-shadow: var(--shadow-menu);
}

.stat__num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-heading);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__plus { font-size: .6em; vertical-align: super; }

.stat__label {
  font-size: var(--fs-caption);
  line-height: 1.35;
  color: var(--c-text);
  opacity: .75;
}

/* ---------- Миссия ---------- */
.mission-quote {
  margin: 36px 0 0;
  padding: 30px 34px;
  border-radius: var(--r-card);
  background: var(--c-heading);
  color: var(--c-white);
}

.mission-quote__label {
  display: block;
  margin-bottom: 14px;
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}

.mission-quote p {
  margin: 0 0 10px;
  max-width: 720px;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.45;
}
.mission-quote p:last-child { margin-bottom: 0; opacity: .85; }

/* ---------- Торговые марки ---------- */
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.brands__item {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--c-btn-bg);
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--c-heading);
}
.brands__item--line {
  background: none;
  border: 1px solid var(--c-tint);
  font-weight: 500;
  color: var(--c-text);
}

/* ---------- Специальная оценка условий труда ---------- */
.sout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sout__card {
  padding: 26px 28px 22px;
  border-radius: var(--r-card);
  background: var(--c-white);
  box-shadow: var(--shadow-menu);
}

.sout__year {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--c-btn-bg);
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--c-heading);
}

.sout__rows { margin: 0; }

.sout__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-tint);
}
.sout__row:last-child { border-bottom: 0; padding-bottom: 0; }

.sout__row dt {
  font-size: var(--fs-caption);
  line-height: 1.4;
  color: var(--c-text);
}

.sout__row dd {
  margin: 0;
  font-size: var(--fs-h4);
  font-weight: 800;
  color: var(--c-heading);
  font-variant-numeric: tabular-nums;
}

.sout__row--warn dd { color: var(--c-accent, #e63946); }

/* Источник под схемой */
.scheme__source {
  margin: 14px 0 0;
  font-size: var(--fs-caption);
}
.scheme__source a { color: var(--c-heading); text-decoration: underline; }
.scheme__source a:hover { text-decoration: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding: 20px 22px; }
  .stat__num { font-size: 38px; }
  .sout { grid-template-columns: 1fr; }
  .general__block { margin-top: 44px; }
}

@media (max-width: 600px) {
  .mission-quote { padding: 24px; }
  .mission-quote p { font-size: var(--fs-body-sm); }
  .sout__row { flex-direction: row; gap: 12px; }
}


/* ============================================================
   РАСКРЫВАЮЩАЯСЯ СХЕМА
   Тот же блок, что на странице «Контакты».
   ЕСЛИ style-contacts.css уже подключён — этот раздел удалить.
   ============================================================ */
.scheme {
  margin-top: 24px;
  border-radius: var(--r-card);
  background: var(--c-white);
  box-shadow: var(--shadow-menu);
  overflow: hidden;
}

.scheme__toggle {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.scheme__toggle:hover { background: var(--c-bg-soft); }

.scheme__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-btn-bg);
}
.scheme__icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--c-heading);
  stroke-width: 1.8;
}

.scheme__text { display: flex; flex-direction: column; gap: 3px; margin-right: auto; }

.scheme__title {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--c-heading);
}

.scheme__hint {
  font-size: var(--fs-caption);
  color: var(--c-text);
  opacity: .7;
}

.scheme__chevron {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-btn-bg);
  transition: transform var(--dur) var(--ease);
}
.scheme__chevron svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--c-heading);
  stroke-width: 2;
}
.scheme.is-open .scheme__chevron { transform: rotate(180deg); }

.scheme__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.scheme.is-open .scheme__body { grid-template-rows: 1fr; }

.scheme__inner { overflow: hidden; min-height: 0; }

.scheme__link {
  position: relative;
  display: block;
  margin: 0 26px;
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--c-bg-soft);
}

.scheme__image { display: block; width: 100%; height: auto; }

.scheme__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-btn);
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--c-heading);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.scheme__link:hover .scheme__zoom,
.scheme__link:focus-visible .scheme__zoom { opacity: 1; transform: none; }

.scheme .scheme__source { margin: 14px 26px 26px; }

@media (max-width: 600px) {
  .scheme__toggle { gap: 14px; padding: 18px; }
  .scheme__icon { width: 40px; height: 40px; }
  .scheme__link { margin: 0 18px; }
  .scheme .scheme__source { margin: 12px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .scheme__body,
  .scheme__chevron,
  .scheme__zoom { transition: none; }
}
