.how-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: 28px;
}
.how-gallery article { min-width: 0; }
.how-screen {
  overflow: hidden;
  padding: 20px 18px 0;
  background: #e3eef9;
  border-radius: 18px;
}
.how-screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 3px 15px #17355324;
}
.how-inventory { background: #d9eee7; }
.how-inventory img { object-position: 50% 25%; }
.how-reminder { background: #e7e6f6; }
.how-reminder img { object-position: 50% 96%; }
.how-gallery h3, .how-prices h3, .how-advice h3, .how-source h3 {
  margin: 18px 0 7px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
}
.how-features p, .how-catalogue p, .how-leaflet p {
  color: var(--fg-soft);
  margin: 0;
  line-height: 1.6;
}
.how-gallery .button-link, .how-leaflet .button-link { margin-top: 12px; }
.how-prices {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.how-prices h3, .how-source h3, .how-advice h3 { margin: 0; }
.page-shell .how-catalogue, .page-shell .how-leaflet { padding-top: 0; }
.how-catalogue-panel, .how-leaflet {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.how-catalogue-panel {
  padding: clamp(24px, 4vw, 52px);
  background: #eaf4f2;
  border-radius: 20px;
}
.how-catalogue-panel h2, .page-shell .how-leaflet h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  margin: 0 0 16px;
}
.how-source { border-left: 1px solid #bdcfc9; padding-left: clamp(20px, 3vw, 38px); }
.how-source h3 { font-size: 1rem; }
.how-source a { display: inline-block; margin: 7px 0 14px; color: #155777; text-decoration: underline; text-underline-offset: 3px; }
.how-source dl { display: grid; gap: 7px; margin: 0; font-size: .9rem; }
.how-source dl div { display: flex; gap: 6px 16px; flex-wrap: wrap; justify-content: space-between; }
.how-source dd { margin: 0; font-weight: 700; }
.how-leaflet-body { max-width: 60ch; }
.how-leaflet p + p { margin-top: 12px; }
.how-advice { padding: 0 0 0 24px; border-left: 3px solid #68a59a; }
.how-advice h3 { margin-bottom: 12px; }
@media (max-width: 800px) {
  .how-prices { grid-template-columns: 1fr; gap: 8px; }
  .how-catalogue-panel, .how-leaflet { grid-template-columns: minmax(0, 1fr); }
  .how-source { border-left: 0; padding: 18px 0 0; border-top: 1px solid #bdcfc9; }
}
@media (max-width: 700px) {
  .how-gallery { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .how-screen img { max-width: 380px; margin: auto; }
}
