/* physwithme: подвал сайта (pwm-footer-v1) */
.pwm-foot { background: var(--navy-deep); color: #c9cdfb; font-size: 15px; position: relative; overflow: hidden; }
.pwm-foot::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px; }
.pwm-foot::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(123, 92, 255, .35), transparent 65%); }
.pwm-foot__in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 56px 16px 24px; }
.pwm-foot a { color: #fff; text-decoration: none; }
.pwm-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pwm-foot__top { display: grid; grid-template-columns: minmax(260px, 1.1fr) 2.4fr; gap: 48px; }
.pwm-foot__brand .logo { font-size: 30px; }
.pwm-foot__brand p { margin: 12px 0 20px; max-width: 340px; line-height: 1.55; }
.pwm-foot__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.pwm-foot__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 14px; font-weight: 800; background: var(--blue-bright); color: #fff !important; border: 2px solid var(--blue-bright); }
.pwm-foot__btn:hover { text-decoration: none !important; background: var(--violet); border-color: var(--violet); }
.pwm-foot__btn--ghost { background: transparent; border-color: rgba(255,255,255,.28); }
.pwm-foot__btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.pwm-foot__cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 28px; }
.pwm-foot__col a[href^="mailto"] { overflow-wrap: normal; word-break: normal; font-size: 14px; }
.pwm-foot__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pwm-foot__col h3 { margin: 0 0 4px; font-family: var(--head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8f95e8; font-weight: 700; }
.pwm-foot__col a { overflow-wrap: anywhere; }
.pwm-foot__pay { font-size: 13px; color: #a9aee8; margin-top: 4px; }
.pwm-foot__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: #a9aee8; }
.pwm-foot__meta { display: flex; gap: 20px; }
.pwm-foot__meta a { color: #a9aee8; }

/* «Выезжающий» подвал: контент страницы уезжает вверх и открывает подвал под ним */
@media (min-width: 900px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  body:has(> .pwm-foot) > main#app { position: relative; z-index: 1; background: var(--bg); border-radius: 0 0 32px 32px;
    box-shadow: 0 30px 50px -28px rgba(10, 19, 102, .45); padding-bottom: 8px; }
  body > .pwm-foot { position: sticky; bottom: 0; z-index: 0; }
}
@media (max-width: 960px) {
  .pwm-foot__top { grid-template-columns: 1fr; gap: 36px; }
  .pwm-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .pwm-foot__in { padding-top: 40px; }
  .pwm-foot__cols { gap: 26px 18px; }
  .pwm-foot__col:last-child { grid-column: 1 / -1; }
  .pwm-foot__btn { flex: 1 1 100%; justify-content: center; }
}
@media print { .pwm-foot { display: none !important; } }
