/* Схема «Как устроен экосбор» на главной (build-pages.py → audience_pages.scheme_wide).
   Четыре шага в ряд, детали выбранного способа под рядом. На телефоне столбиком. */
.sch-wrap { --c: #2F8F4E; --cd: #1F6B38; --t: #EAF3EC; --l: #E3EAE5; --m: #545A5F; --g: #23282C; margin: 6px 0 46px; }
.sch-title { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.3px; }
.sch-sub { margin: 0 0 26px; color: var(--m); font-size: 15px; }
.sch-r { position: absolute; opacity: 0; pointer-events: none; }

.sch { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr; gap: 18px; list-style: none; margin: 0; padding: 0; }
.sch::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: linear-gradient(90deg, var(--c), #A9CDB5); }
.sch-step { position: relative; display: flex; flex-direction: column; margin: 0; }
.sch-num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%;
  background: var(--c); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 0 0 6px #fff; }
.sch-step:not(:last-child) .sch-num::after { content: ''; position: absolute; left: calc(100% + 6px); top: 50%; width: 0; height: 0; }
.sch-h { display: block; margin-bottom: 8px; color: var(--g); font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.sch-step p { margin: 0 0 10px; color: #3F4A44; font-size: 14px; line-height: 1.55; }
.sch-step p a { color: var(--cd); font-weight: 700; }
.sch-formula { display: inline-block; padding: 7px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--l); font-weight: 700; font-size: 13px !important; }
.sch-btn { align-self: flex-start; margin-top: 2px; padding: 9px 14px; border-radius: 10px; background: var(--c); color: #fff; font-size: 13.5px; font-weight: 750; text-decoration: none; }
.sch-btn::after { content: ' →'; }
.sch-btn:hover { background: var(--cd); }
.sch-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.sch-mini a { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--l); background: #fff; color: var(--g) !important; font-size: 13px; font-weight: 650 !important; text-decoration: none; }
.sch-mini a:hover { border-color: var(--c); }

.sch-tiles { display: flex; flex-direction: column; gap: 8px; }
.sch-tile { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--l); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.sch-tile:hover { border-color: #A9CDB5; }
.sch-tile svg, .sch-tile img { flex: 0 0 auto; width: 30px; height: 30px; }
.sch-tile-t { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; width: 100%; }
.sch-tile b { font-size: 14px; font-weight: 750; }
.sch-tile em { font-style: normal; font-size: 14px; font-weight: 800; color: var(--g); text-align: right; white-space: nowrap; }
.sch-tile small { grid-column: 1 / -1; color: var(--m); font-size: 12px; }
#hw1:checked ~ .sch [for="hw1"], #hw2:checked ~ .sch [for="hw2"], #hw3:checked ~ .sch [for="hw3"] { border-color: var(--c); background: #F6FBF7; box-shadow: 0 0 0 3px rgba(47, 143, 78, .12); }
#hw1:focus-visible ~ .sch [for="hw1"], #hw2:focus-visible ~ .sch [for="hw2"], #hw3:focus-visible ~ .sch [for="hw3"] { outline: 2px solid var(--c); outline-offset: 2px; }

.sch-panels { margin-top: 18px; }
.sch-panel { display: none; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--l); }
#hw1:checked ~ .sch-panels [data-for="hw1"], #hw2:checked ~ .sch-panels [data-for="hw2"], #hw3:checked ~ .sch-panels [data-for="hw3"] { display: block; }
.sch-panel p { margin: 0 0 10px; font-size: 15px; color: #3F4A44; }
.sch-calc { padding: 9px 12px; border-radius: 10px; background: #F2F4F3; font-size: 14.5px !important; }
.sch-calc a { color: var(--cd); font-weight: 700; }
.sch-flag { position: relative; margin: 0 !important; padding: 10px 12px 10px 44px; border-radius: 10px; font-size: 14px !important; }
.sch-flag span { position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 13px; }
.sch-warn { background: #FFF4E5; color: #6B4508 !important; }
.sch-warn span { background: #E08A1E; }
.sch-info { background: var(--t); color: #23452F !important; }
.sch-info span { background: var(--c); font-family: Georgia, serif; }

@media (max-width: 980px) {
  .sch { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .sch::before { display: none; }
}
@media (max-width: 640px) {
  .sch { grid-template-columns: 1fr; row-gap: 0; }
  .sch-step { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding-bottom: 20px; }
  .sch-step > *:not(.sch-num) { grid-column: 2; }
  .sch-num { grid-row: 1 / span 6; width: 36px; height: 36px; font-size: 15px; box-shadow: none; }
  .sch-step:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: #CFE2D6; }
}

.sch-flag + .sch-flag { margin-top: 8px !important; }
.sch-esg { background: #EEF6FB; color: #1E3F55 !important; }
.sch-esg span { background: #3A86B5; font-size: 12px; }
