/* Памятка к статье — экран и печать в PDF.
   Палитра сайта, A4, поля под подшивку. */

.pm__body { background: #e8e2d5; padding: 0 0 60px; }

.pm__bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  background: var(--olive); color: var(--on-olive);
  padding: 14px 22px; font-size: 14.5px; text-align: center;
}
.pm__bar .btn { padding: 11px 26px; font-size: 12.5px; }

.pm {
  width: 210mm; max-width: 100%;
  margin: 26px auto 0; padding: 16mm 15mm 14mm;
  background: #fdfaf3; color: #37322a;
  box-shadow: 0 16px 50px rgba(70, 60, 40, .18);
}

/* шапка */
.pm__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; border-bottom: 2px solid #4d5940; margin-bottom: 22px;
}
.pm__brand { display: flex; align-items: center; gap: 11px; }
.pm__mark { width: 34px; height: 34px; color: #6f7f58; flex: 0 0 auto; }
.pm__mark svg { width: 34px; height: 34px; stroke: #6f7f58; }
.pm__name {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 19px; font-weight: 600; line-height: 1.1;
}
.pm__role { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #6b6357; margin-top: 2px; }
.pm__site { font-size: 13px; color: #4f5c3d; font-weight: 700; letter-spacing: .4px; }

/* заголовок */
.pm__title {
  font-family: 'Playfair Display', Georgia, serif; font-size: 27px;
  line-height: 1.2; margin-bottom: 10px;
}
.pm__lead {
  font-size: 14px; line-height: 1.6; color: #554e43;
  padding-bottom: 18px; border-bottom: 1px solid #e2d7c3; margin-bottom: 22px;
}

/* группы */
.pm__group { margin-bottom: 22px; break-inside: avoid; }
.pm__group h2 {
  font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; color: #8f4e2f; margin-bottom: 12px;
}
.pm__group p { font-size: 14px; line-height: 1.6; color: #4c463c; }

.pm__check { list-style: none; margin: 0; }
.pm__check li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
  font-size: 14px; line-height: 1.55; color: #3f3931; break-inside: avoid;
}
.pm__check li::before {
  content: ''; position: absolute; left: 0; top: 1px;
  width: 15px; height: 15px; border: 1.4px solid #6f7f58; border-radius: 4px; background: #fff;
}

.pm__num { list-style: none; counter-reset: pn; margin: 0; }
.pm__num li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
  font-size: 14px; line-height: 1.55; color: #3f3931; break-inside: avoid;
}
.pm__num li::before {
  counter-increment: pn; content: counter(pn);
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: #eee3d0; color: #4d5940;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* предложение */
.pm__offer {
  background: #f2ece0; border-radius: 12px; padding: 18px 20px;
  margin: 26px 0 22px; break-inside: avoid;
}
.pm__offer h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 18px;
  text-transform: none; letter-spacing: 0; color: #37322a; margin-bottom: 8px;
}
.pm__offer p { font-size: 13.5px; line-height: 1.6; color: #4c463c; margin-bottom: 12px; }
.pm__prices { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.pm__prices td { padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid #e2d7c3; }
.pm__prices td:last-child { text-align: right; font-weight: 700; color: #4d5940; white-space: nowrap; }
.pm__small { font-size: 12px; color: #6b6357; margin: 0; }

/* подвал */
.pm__foot {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 2px solid #4d5940; padding-top: 12px; font-size: 12.5px; color: #554e43;
}
.pm__footname {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 15px; color: #37322a;
}
.pm__contacts { text-align: right; line-height: 1.7; }

@media (max-width: 680px) {
  .pm { padding: 22px 18px; margin-top: 14px; }
  .pm__title { font-size: 22px; }
  .pm__contacts { text-align: left; }
}

/* ---------- печать ---------- */
@page { size: A4; margin: 12mm 12mm 10mm; }

@media print {
  .pm__bar { display: none; }
  .pm__body { background: #fff; padding: 0; }
  .pm {
    width: auto; margin: 0; padding: 0;
    box-shadow: none; background: #fff;
  }
  .pm__offer { background: #f4efe4; }
  a { text-decoration: none; color: inherit; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
