/* =============================================================
   rotreatment.css — страница «Обратный осмос»
   ============================================================= */

body { background: #1e3c72; }
.ro-main { background: #F4F1EA; padding-top: 40px; padding-bottom: 48px; }

/* ── Хиро ──────────────────────────────────────────────────── */
.ro-hero {
  background: var(--dark);
  color: #fff;
  padding: 24px 0 48px;
}
.ro-hero__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
}
.ro-hero__sub {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ── Вводный абзац ───────────────────────────────────────────── */
.ro-intro {
  margin: 0 0 40px;
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.6;

  padding-top: 8px;
}

/* ── Секции ──────────────────────────────────────────────────── */
.ro-section {
  margin-bottom: 56px;
}
.ro-section__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--dark);
}
.ro-section__lead {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
  margin: -12px 0 24px;
}

/* ── Фото с подписью ─────────────────────────────────────────── */
.ro-figure {
  margin: 24px 0 32px;
}
.ro-figure__img {
  width: 100%;
  border-radius: var(--r-md);
  display: block;
}
.ro-figure__caption {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-style: italic;
  margin-top: 8px;
  text-align: center;
}

/* ── Два столбца (осмос vs дистилляция) ──────────────────────── */
.ro-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .ro-two-col { grid-template-columns: 1fr 1fr; }
}

.ro-method-card {
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
}
.ro-method-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

/* ── Заметка (обычный текст) ─────────────────────────────────── */
.ro-note-plain {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}
.ro-note-plain strong { color: var(--dark); }

/* ── Заголовок таблицы ───────────────────────────────────────── */
.ro-table-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--dark);
}

/* ── Таблица ─────────────────────────────────────────────────── */
.ro-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
}
.ro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
  min-width: 480px;
}
.ro-table thead th {
  padding: 10px 16px;
  background: #F4F1EA;
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1.5px solid var(--border);
  text-align: left;
}
.ro-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #edeae4;
  vertical-align: middle;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: #2c3e50;
  background: #fff;
}
.ro-table tbody tr:last-child td { border-bottom: none; }
.ro-table tbody td:first-child {
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  text-align: center;
}

/* таблица минералов */
.ro-table--minerals { min-width: 0; width: 100%; }
.ro-table--minerals th:first-child,
.ro-table--minerals td:first-child { width: 25%; white-space: normal; }
.ro-table--minerals th:nth-child(2),
.ro-table--minerals td:nth-child(2) { width: 25%; }
.ro-table--minerals th:nth-child(3),
.ro-table--minerals td:nth-child(3) { width: 50%; text-align: center; white-space: normal; }
.ro-table--minerals .ro-food-imgs { justify-content: center; }

/* суточная норма под названием элемента */
.ro-norm {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

/* выделенные значения количества воды */
.ro-highlight {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* ── Фото продуктов в таблице ────────────────────────────────── */
.ro-food-imgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.ro-food-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ro-food-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.ro-food-label {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
  text-align: center;
}

/* ── Картинки во втором столбце (ведро/ванна/цистерна) ──────── */
.ro-water-img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto 4px;
}
.ro-water-imgs {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}
.ro-water-imgs .ro-water-img {
  width: 28px;
  height: 28px;
  margin: 0;
}
.ro-table--minerals td:nth-child(2) {
  text-align: center;
  vertical-align: middle;
}

/* подпись к таблице */
.ro-table-note {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* ── Факты (карточки-аргументы) ──────────────────────────────── */
.ro-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .ro-facts { grid-template-columns: 1fr 1fr; }
}

.ro-fact {
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
}
.ro-fact__head {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

/* ── Заголовки групп ступеней ────────────────────────────────── */
.ro-steps-group__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 32px 0 8px;
}
.ro-steps-group__lead {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}

/* ── Ступени без карточки (1–3) ──────────────────────────────── */
.ro-plain-item {
  margin-bottom: 16px;
}
.ro-step--wide .ro-plain-item:first-of-type {
  margin-top: 12px;
}
.ro-plain-item__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 4px;
}
.ro-plain-item__text {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ── Блок-группа шагов ───────────────────────────────────────── */
.ro-group-block {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 20px 12px;
}
.ro-group-block__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.ro-group-block__lead {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}
.ro-group-block__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ro-group-block .ro-step {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
}
.ro-step__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.ro-step--wide {
  flex-direction: column;
  gap: 6px;
}
.ro-step--wide .ro-step__title {
  display: block;
}
.ro-step__text {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ── Шаги (ступени осмоса) ───────────────────────────────────── */
.ro-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.ro-step {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.ro-step--key {
  border-color: var(--blue);
  background: #f0f6ff;
}
.ro-step--option {
  border-style: dashed;
}

.ro-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ro-step--key .ro-step__num {
  background: var(--blue);
}
.ro-step--option .ro-step__num {
  background: var(--muted);
}

.ro-step__body {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--muted);
}
.ro-step--key .ro-step__body { color: #1a3a5c; }

.ro-step__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ro-step--key .ro-step__title { color: var(--blue); }

.ro-step__sub {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.ro-step__badge {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--muted);
  background: #edeae4;
  border-radius: var(--r-sm);
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Итог ────────────────────────────────────────────────────── */
.ro-result {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-size: var(--fs-base);
  line-height: 1.7;
}
.ro-result strong { color: #fff; }

/* ── Нюансы ──────────────────────────────────────────────────── */
.ro-nuances {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ro-nuance {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
}
.ro-nuance__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px;
}
.ro-nuance p {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ── Источники ──────────────────────────────────────────────── */
.ro-sources {
  padding: 0 0 40px;
}
.ro-sources__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0 0 20px;
}
.ro-sources__block {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.ro-sources__block:last-child { border-bottom: 1px solid var(--border); }
.ro-sources__doc-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.ro-sources__doc-text {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 10px;
}
.ro-sources__link {
  font-size: var(--fs-base);
  color: var(--blue);
  text-decoration: none;
}
.ro-sources__link:hover { text-decoration: underline; }

/* ── CTA ──────────────────────────────────────────────────────── */
.ro-cta {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  color: #fff;
  margin-bottom: 0;
}
.ro-cta__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0 0 12px;
}
.ro-cta__sub {
  font-size: var(--fs-base);
  color: rgba(255,255,255,.7);
  margin: 0 0 20px;
}
.ro-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ro-cta__link {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: background var(--tr);
}
.ro-cta__link:hover { background: rgba(255,255,255,.2); }

/* ── Адаптив ─────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .ro-hero { padding: 64px 0 56px; }
  .ro-steps { gap: 10px; }
}
