/* Дополнения к исходному виду: текст в шапке главной и внутренние страницы. */

body.pm .main-information .pm-kicker {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

body.pm .main-information__subtitle {
  max-width: 720px;
  margin: 14px auto 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

body.pm .pm-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 15px 64px;
  color: #333;
}

body.pm .pm-page__hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 8px;
  padding: 28px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
}

body.pm .pm-page .pm-kicker {
  margin: 0 0 8px;
  color: #007fa6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.pm .pm-page__hero h1,
body.pm .pm-block h2 {
  margin: 0 0 12px;
  color: #007fa6;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

body.pm .pm-page__hero p,
body.pm .pm-block p,
body.pm .pm-steps,
body.pm .pm-faq p {
  color: #333;
  font-size: 16px;
  line-height: 1.55;
}

body.pm .pm-page__hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

body.pm .pm-page__hero .main-information__btn {
  margin-top: 16px;
}

body.pm .pm-crumbs {
  margin: 14px 0 0;
  color: #777;
  font-size: 14px;
}

body.pm .pm-crumbs a {
  color: #007fa6;
  text-decoration: none;
}

body.pm .pm-crumbs span {
  margin-left: 8px;
}

body.pm .pm-crumbs span:before {
  content: "/ ";
  color: #aaa;
}

body.pm .pm-block {
  margin-top: 28px;
  padding: 8px 4px 0;
}

body.pm .pm-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

body.pm .pm-cards article {
  padding: 16px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
}

body.pm .pm-cards h3,
body.pm .pm-faq h3 {
  margin: 0 0 8px;
  color: #212121;
  font-size: 16px;
  font-weight: 700;
}

body.pm .pm-steps {
  margin: 0;
  padding-left: 20px;
}

body.pm .pm-steps li + li,
body.pm .pm-faq h3 {
  margin-top: 12px;
}

body.pm .pm-cta {
  margin-top: 32px;
  padding: 24px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
}

body.pm .pm-cta .btn-blue,
body.pm .pm-phone {
  margin-top: 8px;
  margin-right: 16px;
}

body.pm .pm-phone {
  color: #212121;
  font-weight: 700;
  text-decoration: none;
}

body.pm .pm-page a {
  color: #007fa6;
}

body.pm .main-information__btn,
body.pm .btn-blue,
body.pm .btn-secondary-blue,
body.pm .js-sendform {
  display: inline-block;
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  background: #b42334;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(180, 35, 52, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.pm .btn-blue,
body.pm .btn-secondary-blue,
body.pm .js-sendform {
  background: #005f7a;
  box-shadow: 0 8px 18px rgba(0, 95, 122, 0.22);
}

body.pm .main-information__btn:hover,
body.pm .main-information__btn:focus {
  background: #8e1a28;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(142, 26, 40, 0.28);
}

body.pm .btn-blue:hover,
body.pm .btn-blue:focus,
body.pm .btn-secondary-blue:hover,
body.pm .btn-secondary-blue:focus,
body.pm .js-sendform:hover,
body.pm .js-sendform:focus {
  background: #004e66;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 78, 102, 0.28);
}

body.pm .main-information__btn:active,
body.pm .btn-blue:active,
body.pm .btn-secondary-blue:active,
body.pm .js-sendform:active {
  transform: translateY(0);
  box-shadow: none;
}

body.pm .main-information__btn:focus,
body.pm .btn-blue:focus,
body.pm .btn-secondary-blue:focus,
body.pm .js-sendform:focus,
body.pm .withoutModel__btn:focus {
  outline: 3px solid #0b1f33;
  outline-offset: 3px;
}

body.pm .withoutModel__btn {
  border: 1px solid #5c6b7a;
  border-radius: 8px;
  color: #102033;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.pm .withoutModel__btn:hover,
body.pm .withoutModel__btn:focus {
  background: #e8f4f8;
  border-color: #005f7a;
  color: #102033;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 32, 51, 0.12);
}

body.pm .pm-phone {
  display: inline-block;
  padding: 14px 8px;
  color: #005f7a;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.pm .pm-phone:hover,
body.pm .pm-phone:focus {
  color: #00384a;
  text-decoration: underline;
}

@media (max-width: 991px) {
  body.pm .pm-page__hero,
  body.pm .pm-cards {
    grid-template-columns: 1fr;
  }

  body.pm .pm-page__hero h1 {
    font-size: 26px;
  }

  body.pm .pm-page__hero img {
    height: 200px;
  }
}
