/* Посадочные страницы (deploy/pages.py). Поверх style.css: те же шрифты, цвета, кнопки, FAQ, подвал. */
.pg-head { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 48px); padding-block: clamp(16px, 2vw, 36px); border-bottom: 1px solid var(--line); }
.pg-nav { display: flex; gap: clamp(16px, 2vw, 40px); margin-left: auto; font-size: clamp(14px, .95vw, 18px); color: var(--muted); }
.pg-nav a:hover { color: var(--ink); }
.pg-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.pg-tel svg { width: 18px; height: 18px; }
.pg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 18px 0; font-size: var(--fs-small); color: var(--muted); }
.pg-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.pg-crumbs a:hover { color: var(--ink); }
.pg-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 96px); align-items: center; padding-block: clamp(28px, 4vw, 90px); }
.pg-hero-noimg { grid-template-columns: minmax(0, 1fr); }
.pg h1 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 72px); line-height: 1.08; max-width: 18ch; color: var(--ink); overflow-wrap: break-word; }
.pg-lead { margin-top: clamp(16px, 1.6vw, 28px); font-size: clamp(17px, 1.3vw, 24px); line-height: 1.45; color: var(--text); max-width: 46ch; }
.pg-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.2vw, 40px); }
.pg-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow); }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.pg-facts li { padding: 20px 16px 20px 0; }
.pg-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.pg-facts b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.3vw, 28px); color: var(--accent); }
.pg-facts span { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-small); }
.pg-sec { padding-top: clamp(48px, 6vw, 130px); }
.pg-sec h2, .pg-final h2 { max-width: 26ch; font-size: clamp(22px, 2.2vw, 48px); }
.pg-text { margin-top: clamp(18px, 1.8vw, 32px); max-width: 72ch; color: var(--muted); }
.pg-text p + p, .pg-text p + ul, .pg-text ul + p, .pg-text p + .pg-table-wrap, .pg-text .pg-table-wrap + p { margin-top: 1em; }
.pg-text b { color: var(--ink); font-weight: 600; }
.pg-text ul { list-style: none; display: grid; gap: 12px; }
.pg-text ul li { position: relative; padding-left: 28px; }
.pg-text ul li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pg-num { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.pg-num li { counter-increment: n; position: relative; padding-left: 44px; }
.pg-num li::before { content: counter(n); position: absolute; left: 0; top: -.1em; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--paper); font-weight: 600; font-size: 14px; }
.pg-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.pg-table { width: 100%; border-collapse: collapse; font-size: clamp(14px, .95vw, 17px); }
.pg-table th, .pg-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pg-table th { color: var(--muted); font-weight: 600; font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; }
.pg-table td { color: var(--text); }
.pg-table td:last-child { white-space: nowrap; color: var(--accent); font-weight: 600; }
.pg-table tr:last-child td { border-bottom: 0; }
.pg-note { font-size: var(--fs-small); color: var(--muted); }
.pg-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.pg-steps li { counter-increment: s; padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.pg-steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.pg-steps b { display: block; color: var(--ink); }
.pg-steps span { display: block; margin-top: 6px; font-size: clamp(14px, .9vw, 16px); }
.pg-text:has(.pg-steps) { max-width: none; }
.pg-faq { margin-top: clamp(18px, 1.8vw, 32px); max-width: 900px; }
.pg-related { list-style: none; margin-top: clamp(18px, 1.8vw, 32px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pg-related a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: clamp(20px, 2vw, 32px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.pg-related a:hover { border-color: var(--accent-2); box-shadow: var(--shadow); }
.pg-related b { font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.1vw, 22px); color: var(--ink); }
.pg-related span { color: var(--muted); font-size: clamp(14px, .9vw, 16px); }
.pg-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); max-width: 900px; }
.pg-contacts div { padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.pg-contacts span { display: block; font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-contacts a, .pg-contacts b { display: inline-block; margin-top: 6px; font-size: clamp(17px, 1.3vw, 24px); color: var(--ink); font-weight: 600; }
.pg-contacts a:hover { color: var(--accent); }
.pg-final { margin-top: clamp(56px, 7vw, 150px); padding-block: clamp(40px, 5vw, 100px); border-top: 1px solid var(--line); }
.pg-final p { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.pg footer.site { margin-top: 0; }
@media (max-width: 1100px) {
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .pg-nav { display: none; }
  .pg-tel { margin-left: auto; }
  .pg-hero { grid-template-columns: minmax(0, 1fr); }
  .pg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pg-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pg-tel span { display: none; }
  .pg-tel { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); }
  .pg-steps, .pg-contacts { grid-template-columns: minmax(0, 1fr); }
  .pg-cta .btn { width: 100%; }
  .pg-table th, .pg-table td { padding: 12px; }
  .pg h1 { font-size: clamp(18px, 6vw, 30px); overflow-wrap: normal; }
  .pg-sec h2, .pg-final h2 { font-size: clamp(17px, 5.2vw, 26px); overflow-wrap: normal; }
  .pg-facts b { font-size: 15px; }
  .pg-table td:last-child { white-space: normal; min-width: 96px; }
}
