/* Стиль справочных страниц: ставки, нормативы, сроки.
   Палитра и шрифт те же, что на главной, чтобы страницы не выглядели чужими. */

:root {
  --graphite: #23282C;
  --green: #2F8F4E;
  --green-d: #1F6B38;
  --tint: #EAF3EC;
  --muted: #545A5F;
  --red: #D94F3E;
  --light: #F2F4F3;
  --line: #E3EAE5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--graphite);
  font: 16px/1.6 Manrope, -apple-system, "Segoe UI", Arial, sans-serif;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* шапка и подвал */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { color: var(--green); font-size: 18px; font-weight: 800; letter-spacing: .5px; text-decoration: none; }
.logo span { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.top .phone { color: var(--graphite); font-size: 15px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.top .phone:hover { color: var(--green); }

.crumbs { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--green-d); }

h1 {
  margin: 14px 0 14px;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.1;
}
.lead { margin-bottom: 26px; color: var(--muted); font-size: 17px; }
h2 { margin: 38px 0 12px; font-size: clamp(21px, 2.6vw, 27px); font-weight: 750; letter-spacing: -.3px; }
h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 750; }
p { margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 20px; }
li { margin-bottom: 7px; }
a { color: var(--green-d); }

.note {
  margin: 20px 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  background: var(--light);
  font-size: 14.5px;
  color: #3C4A42;
}
.note b { color: var(--graphite); }

/* таблицы справочника */
.tbl-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
thead th {
  position: sticky; top: 0;
  padding: 11px 13px;
  background: #F4F7F5;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}
thead th:first-child { text-align: left; }
tbody td {
  padding: 10px 13px;
  border-bottom: 1px solid #EFF3F0;
  text-align: right;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
tbody td:first-child { text-align: left; white-space: normal; min-width: 220px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #F8FBF9; }
.gid { color: var(--muted); font-weight: 750; }
.rate { font-weight: 700; }
.sub { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.src { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* призыв */
.cta {
  margin: 34px 0;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--tint);
}
.cta h2 { margin: 0 0 8px; font-size: 21px; }
.cta p { margin: 0 0 16px; color: #3C4A42; font-size: 15px; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.btn:hover { background: var(--green-d); }
.btn.ghost { background: #fff; color: var(--green-d); border: 1px solid #CBDDD1; margin-left: 8px; }

/* вопросы */
.faq { margin-top: 34px; }
.faq details { padding: 15px 0; border-top: 1px solid var(--line); }
.faq summary { font-weight: 750; cursor: pointer; }
.faq p { margin: 9px 0 0; color: var(--muted); }

.more { margin: 34px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.more a { display: block; margin-bottom: 8px; font-weight: 650; }

footer { margin-top: 44px; padding: 28px 0 40px; border-top: 1px solid var(--line); background: var(--light); }
footer .wrap { color: var(--muted); font-size: 13px; }
footer a { color: var(--green-d); }
footer p { margin-bottom: 8px; }

@media (max-width: 640px) {
  .top .wrap { height: 60px; }
  .logo { font-size: 16px; }
  .cta { padding: 20px 18px; }
  .btn.ghost { margin: 8px 0 0; }
}
