/* Первый экран главной и закреплённая панель на телефоне. */

.ps-home-hero {
  padding: 8px 0 20px;
}

.ps-home-hero__title {
  margin: 0 0 8px;
  max-width: none;
  width: 100%;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  color: #2e2560;
  text-align: left;
}

.ps-home-hero__lead {
  margin: 0 0 16px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.45;
  color: #3d355f;
}

.ps-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ps-home-hero__call,
html[data-design='new'] .ps-home-hero__call {
  background: #fff;
  color: #922c88;
  border: 1px solid #922c88;
}

.ps-not-found {
  padding: 48px 0 64px;
}

.ps-not-found h1 {
  margin: 0 0 12px;
  color: #2e2560;
}

.ps-not-found p {
  margin: 0 0 12px;
}

.ps-not-found a {
  color: #922c88;
}

.ps-not-found form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ps-not-found input[type="search"] {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid #d9d0e6;
  border-radius: 8px;
}

.ps-mobile-bar {
  display: none;
}

@media (max-width: 959px) {
  .ps-mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 6px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #e6dff0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }

  .ps-mobile-bar a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    padding: 10px 4px;
    border-radius: 999px;
    color: #2e2560;
  }

  .ps-mobile-bar a:last-child {
    background: #922c88;
    color: #fff;
  }

  body {
    padding-bottom: 72px;
  }
}
