/* Legacy Promo-M design system (extracted from the live site) */
/* =========================================================
   HERO MAIN / NO SLIDER
   Главный экран без слайдера
   ========================================================= */

.pm-hero-main,
.pm-hero-main * {
  box-sizing: border-box;
}

.pm-hero-main {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 52px 24px 72px;
  background:
    radial-gradient(circle at 10% 22%, rgba(234, 243, 255, 0.7), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(255, 240, 230, 0.72), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
  overflow: hidden;
}

.pm-hero-main__container {
  width: min(1380px, calc(100vw - 48px));
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 64px;
  align-items: center;
}


/* ===================== CONTENT ===================== */

.pm-hero-main__content {
  min-width: 0;
  max-width: 720px;
}

.pm-hero-main__kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding-left: 22px;
  color: #273c75;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pm-hero-main__kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b3d;
  box-shadow: 0 0 0 6px rgba(255, 107, 61, 0.12);
}

.pm-hero-main__title {
  max-width: 760px;
  margin: 0 0 24px;
  color: #17233f;
  font-size: clamp(50px, 4.2vw, 78px);
  line-height: 1.01;
  letter-spacing: -0.062em;
  font-weight: 900;
}

.pm-hero-main__text {
  max-width: 660px;
  margin: 0 0 28px;
  color: #596273;
  font-size: clamp(19px, 1.35vw, 23px);
  line-height: 1.52;
  font-weight: 450;
}


/* ===================== TAGS ===================== */

.pm-hero-main__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.pm-hero-main__tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #ffffff;
  color: #273c75;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(23, 35, 63, 0.1),
    0 8px 20px rgba(23, 35, 63, 0.05);
}

.pm-hero-main__tags span:nth-child(4) {
  background: #eaf3ff;
}


/* ===================== ACTIONS ===================== */

.pm-hero-main__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.pm-hero-main__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 26px;
  border-radius: 999px;
  color: #17233f;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.pm-hero-main__btn--primary {
  gap: 18px;
  min-width: 285px;
  background: #ff6b3d;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(255, 107, 61, 0.28);
}

.pm-hero-main__btn--primary i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-style: normal;
  font-size: 17px;
  line-height: 1;
}

.pm-hero-main__btn--primary:hover {
  background: #e85a2e;
  color: #ffffff;
  transform: translateY(-2px);
}

.pm-hero-main__btn--light {
  min-width: 210px;
  background: #ffffff;
  color: #17233f;
  box-shadow:
    inset 0 0 0 1px rgba(23, 35, 63, 0.12),
    0 12px 28px rgba(23, 35, 63, 0.06);
}

.pm-hero-main__btn--light:hover {
  color: #17233f;
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(23, 35, 63, 0.16),
    0 16px 34px rgba(23, 35, 63, 0.09);
}


/* ===================== PROOF ===================== */

.pm-hero-main__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  border-top: 1px solid rgba(23, 35, 63, 0.12);
  border-bottom: 1px solid rgba(23, 35, 63, 0.12);
}

.pm-hero-main__proof div {
  padding: 16px 18px 16px 0;
  border-right: 1px solid rgba(23, 35, 63, 0.12);
}

.pm-hero-main__proof div + div {
  padding-left: 18px;
}

.pm-hero-main__proof div:last-child {
  border-right: 0;
}

.pm-hero-main__proof strong {
  display: block;
  margin-bottom: 6px;
  color: #17233f;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.pm-hero-main__proof span {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}


/* ===================== MICRO LINKS ===================== */

.pm-hero-main__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}

.pm-hero-main__links a {
  display: inline-flex;
  align-items: center;
  color: #17233f;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
}

.pm-hero-main__links a::after {
  content: "→";
  margin-left: 8px;
  color: #ff6b3d;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.pm-hero-main__links a:hover::after {
  transform: translateX(3px);
}


/* ===================== VISUAL ===================== */

.pm-hero-main__visual {
  position: relative;
  min-width: 0;
  padding: 0 0 46px 34px;
}

.pm-hero-main__image {
  position: relative;
  height: 520px;
  border-radius: 38px;
  overflow: hidden;
  background: #eaf3ff;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 30px 80px rgba(23, 35, 63, 0.14);
}

.pm-hero-main__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(23, 35, 63, 0.02) 0%,
      rgba(23, 35, 63, 0.62) 100%
    );
  pointer-events: none;
}

.pm-hero-main__image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
}

.pm-hero-main__image-caption {
  position: absolute;
  left: 64px;
  bottom: 88px;
  z-index: 3;
  max-width: 360px;
  padding: 20px 24px;
  border-left: 3px solid #ff6b3d;
  background: rgba(12, 20, 38, 0.52);
  backdrop-filter: blur(12px);
}

.pm-hero-main__image-caption span {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.pm-hero-main__image-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 600;
}


/* ===================== BADGES ===================== */

.pm-hero-main__badge {
  position: absolute;
  z-index: 1;
  min-width: 160px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 42px rgba(23, 35, 63, 0.14);
  backdrop-filter: blur(10px);
}

.pm-hero-main__badge strong {
  display: block;
  margin-bottom: 5px;
  color: #17233f;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.pm-hero-main__badge span {
  display: block;
  color: #667085;
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 700;
}

.pm-hero-main__badge--top {
  top: 34px;
  left: 0;
}

.pm-hero-main__badge--bottom {
  right: 22px;
  bottom: 18px;
}


/* =========================================================
   ADAPTIVE
   ========================================================= */

@media (max-width: 1280px) {
  .pm-hero-main {
    padding-top: 50px;
    padding-bottom: 68px;
  }

  .pm-hero-main__container {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.95fr);
    gap: 42px;
  }

  .pm-hero-main__title {
    font-size: clamp(46px, 4.6vw, 66px);
  }

  .pm-hero-main__image {
    height: 500px;
  }

  .pm-hero-main__visual {
    padding-bottom: 42px;
  }
}

@media (max-width: 1080px) {
  .pm-hero-main__actions {
    flex-wrap: wrap;
  }

  .pm-hero-main__btn--primary {
    min-width: 270px;
  }

  .pm-hero-main__btn--light {
    min-width: 200px;
  }
}

@media (max-width: 980px) {
  .pm-hero-main {
    padding-top: 52px;
  }

  .pm-hero-main__container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .pm-hero-main__content {
    max-width: 820px;
  }

  .pm-hero-main__title,
  .pm-hero-main__text {
    max-width: 820px;
  }

  .pm-hero-main__visual {
    padding-left: 0;
  }

  .pm-hero-main__badge--top {
    left: 24px;
  }

  .pm-hero-main__image-caption {
    left: 34px;
  }
}

@media (max-width: 700px) {
  .pm-hero-main {
    padding: 40px 16px 64px;
  }

  .pm-hero-main__container {
    width: min(100%, calc(100vw - 32px));
    gap: 34px;
  }

  .pm-hero-main__kicker {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .pm-hero-main__title {
    margin-bottom: 20px;
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1;
  }

  .pm-hero-main__text {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.48;
  }

  .pm-hero-main__tags {
    gap: 8px;
    margin-bottom: 26px;
  }

  .pm-hero-main__tags span {
    min-height: 32px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .pm-hero-main__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    margin-bottom: 28px;
  }

  .pm-hero-main__btn {
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    font-size: 16px;
  }

  .pm-hero-main__btn--primary,
  .pm-hero-main__btn--light {
    min-width: 0;
  }

  .pm-hero-main__proof {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .pm-hero-main__proof div {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 35, 63, 0.12);
  }

  .pm-hero-main__proof div + div {
    padding-left: 0;
  }

  .pm-hero-main__proof div:last-child {
    border-bottom: 0;
  }

  .pm-hero-main__proof strong {
    font-size: 20px;
  }

  .pm-hero-main__proof span {
    font-size: 12px;
  }

  .pm-hero-main__links {
    gap: 14px;
  }

  .pm-hero-main__visual {
    padding-bottom: 0;
  }

  .pm-hero-main__image {
    height: auto;
    aspect-ratio: 16 / 11;
    border-radius: 28px;
  }

  .pm-hero-main__image-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
    padding: 16px 18px;
  }

  .pm-hero-main__image-caption span {
    font-size: 21px;
  }

  .pm-hero-main__image-caption p {
    font-size: 13.5px;
  }

  .pm-hero-main__badge {
    display: none;
  }
}

@media (max-width: 420px) {
  .pm-hero-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pm-hero-main__container {
    width: min(100%, calc(100vw - 24px));
  }

  .pm-hero-main__title {
    font-size: 37px;
  }
}

@media (max-width: 700px) {
  .pm-hero-main__image-caption {
    display: none;
  }

  .pm-hero-main__image::after {
    background:
      linear-gradient(
        180deg,
        rgba(23, 35, 63, 0.02) 0%,
        rgba(23, 35, 63, 0.18) 100%
      );
  }
}
@media (max-width: 700px) {
  .pm-hero-main__proof,
  .pm-hero-main__visual {
    display: none;
  }

  .pm-hero-main {
    padding: 36px 16px 44px;
  }

  .pm-hero-main__container {
    gap: 0;
  }

  .pm-hero-main__actions {
    margin-bottom: 22px;
  }

  .pm-hero-main__links {
    margin-top: 0;
  }
}

.pm-hero-main a.pm-hero-main__btn--primary,
.pm-hero-main a.pm-hero-main__btn--primary:visited,
.pm-hero-main a.pm-hero-main__btn--primary:hover,
.pm-hero-main a.pm-hero-main__btn--primary:focus,
.pm-hero-main a.pm-hero-main__btn--primary:active,
.pm-hero-main a.pm-hero-main__btn--primary span {
  color: #fff !important;
}

/* =========================================================
   HERO: АДРЕС + КНОПКИ (по макету)
   ========================================================= */

/* Плашка с адресом */
.pm-hero-main__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #17233f;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 
    inset 0 0 0 1px rgba(23, 35, 63, 0.08),
    0 8px 24px rgba(23, 35, 63, 0.06);
  transition: all 0.22s ease;
}

.pm-hero-main__address:hover {
  background: #f8fbff;
  color: #273c75;
  transform: translateY(-2px);
  box-shadow: 
    inset 0 0 0 1px rgba(39, 60, 117, 0.15),
    0 12px 28px rgba(23, 35, 63, 0.1);
}

.pm-hero-main__address-icon {
  width: 18px;
  height: 18px;
  color: #ff6b3d; /* Оранжевый акцент для иконки */
  flex-shrink: 0;
  margin-top: -1px; /* Легкая оптическая коррекция */
}

/* Ряд с кнопками */
.pm-hero-main__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Базовые стили кнопок */
.pm-hero-main__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

/* Оранжевая кнопка */
.pm-hero-main__btn--primary {
  gap: 14px;
  background: #ff6b3d;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(255, 107, 61, 0.25);
}

.pm-hero-main__btn--primary i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); /* Тот самый полупрозрачный кружок */
  color: #ffffff;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
}

.pm-hero-main__btn--primary:hover {
  background: #e85a2e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 107, 61, 0.35);
}

/* Белая кнопка с ценой */
.pm-hero-main__btn--light {
  background: #ffffff;
  color: #17233f;
  box-shadow: 
    inset 0 0 0 1px rgba(23, 35, 63, 0.1),
    0 12px 26px rgba(23, 35, 63, 0.05);
}

.pm-hero-main__btn--light:hover {
  color: #273c75;
  transform: translateY(-2px);
  box-shadow: 
    inset 0 0 0 1px rgba(39, 60, 117, 0.2),
    0 16px 32px rgba(23, 35, 63, 0.08);
}

/* =========================================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ
   ========================================================= */
@media (max-width: 700px) {
  .pm-hero-main__address {
    margin-bottom: 24px;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal; /* Чтобы длинный адрес переносился на маленьких экранах */
    text-align: left;
  }
  
  .pm-hero-main__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .pm-hero-main__btn {
    width: 100%;
    white-space: normal;
  }
}

/*ЛОГО КРУЖОК*/
.page-header {
    padding-bottom: 40px !important;
}
.branding__logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 104px;
    height: 104px;
    margin: -12px 0;
    padding: 7px;
    overflow: hidden;
    border: 1px solid rgba(39, 60, 117, 0.16);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 15px 32px rgb(31 42 73 / 7%), 0 0 0 7px rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: transform 0.2s ease;
	}
@media (max-width: 700px) {
	.branding__logo {
		width: 54px;
    height: 54px;
	}
	.page-header {
    padding: 0px 10px 0 !important;
}
}

	.page-header {
    padding: 0px 40px 0;
		background-color: #fffdf9;
}

.header-13.header-dark .page-header-inner {
    min-height: 80px;
    margin: 0;
    padding: 0px 4px;
    overflow: visible;
    border: 1px solid rgba(39, 60, 117, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(31, 38, 62, 0.08), 0 2px 8px rgba(31, 38, 62, 0.03);
}

.top-bar-01 a:hover {font-size: 14px !important;}

/* =========================================================
   ACADEMIC PROOF / FACTS + STATUS
   ========================================================= */

.pm-academic-proof,
.pm-academic-proof * {
  box-sizing: border-box;
}

.pm-academic-proof {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 86px 24px 92px;
  background:
    radial-gradient(circle at 12% 18%, rgba(234, 243, 255, 0.68), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
  overflow: hidden;
}

.pm-academic-proof__container {
  width: min(1320px, calc(100vw - 48px));
  max-width: 1320px;
  margin: 0 auto;
}


/* ===================== HEAD ===================== */

.pm-academic-proof__head {
  display: grid;
  grid-template-columns: 240px minmax(0, 650px) minmax(300px, 430px);
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.pm-academic-proof__label {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #b45b3d;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-academic-proof__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b3d;
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-academic-proof__title h2 {
  max-width: 650px;
  margin: 0;
  color: #17233f;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 900;
}

.pm-academic-proof__intro p {
  max-width: 430px;
  margin: 8px 0 22px;
  color: #596273;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 450;
}

.pm-academic-proof__text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #17233f;
  font-size: 15px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
}

.pm-academic-proof__text-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border-radius: 999px;
  background: #17233f;
  color: #ffffff;
  font-size: 15px;
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.pm-academic-proof__text-link:hover span {
  background: #ff6b3d;
  transform: translateX(2px);
}


/* ===================== MAIN FACTS ===================== */

.pm-academic-proof__main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr) minmax(280px, 0.72fr);
  gap: 18px;
  margin-bottom: 18px;
}

.pm-academic-proof__fact {
  position: relative;
  min-height: 300px;
  padding: 34px 32px 32px;
  border-radius: 32px;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 20px 56px rgba(23, 35, 63, 0.07);
}

.pm-academic-proof__fact::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  width: 54px;
  height: 3px;
  background: #ff6b3d;
}

.pm-academic-proof__fact-large {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #17233f 0%, #273c75 100%);
}

.pm-academic-proof__number {
  margin-bottom: 44px;
  color: #17233f;
  font-size: clamp(54px, 5vw, 82px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.pm-academic-proof__fact h3 {
  max-width: 360px;
  margin: 0 0 14px;
  color: #17233f;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.pm-academic-proof__fact p {
  max-width: 390px;
  margin: 0;
  color: #667085;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 430;
}

.pm-academic-proof__fact a {
  display: inline-flex;
  margin-top: 26px;
  color: #17233f;
  font-size: 15px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 35, 63, 0.35);
}

.pm-academic-proof__fact-large .pm-academic-proof__number,
.pm-academic-proof__fact-large h3,
.pm-academic-proof__fact-large a {
  color: #ffffff;
}

.pm-academic-proof__fact-large p {
  color: rgba(255, 255, 255, 0.72);
}

.pm-academic-proof__fact-large a {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}


/* ===================== STATUSES ===================== */

.pm-academic-proof__statuses {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 18px;
}

.pm-academic-status {
  position: relative;
  min-height: 255px;
  padding: 30px 30px 32px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 18px 48px rgba(23, 35, 63, 0.06);
}

.pm-academic-status span {
  display: block;
  margin-bottom: 42px;
  color: rgba(23, 35, 63, 0.38);
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pm-academic-status h3 {
  max-width: 460px;
  margin: 0 0 13px;
  color: #17233f;
  font-size: 23px;
  line-height: 1.14;
  letter-spacing: -0.036em;
  font-weight: 900;
}

.pm-academic-status p {
  max-width: 500px;
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.54;
  font-weight: 430;
}

.pm-academic-status-dark {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 107, 61, 0.16), transparent 28%),
    linear-gradient(135deg, #17233f 0%, #273c75 100%);
}

.pm-academic-status-dark span {
  color: rgba(255, 255, 255, 0.55);
}

.pm-academic-status-dark h3 {
  color: #ffffff;
}

.pm-academic-status-dark p {
  color: rgba(255, 255, 255, 0.72);
}


/* ===================== WP AUTOP PROTECTION ===================== */

.pm-academic-proof br {
  display: none;
}

.pm-academic-proof__main > p,
.pm-academic-proof__statuses > p {
  display: none;
}


/* =========================================================
   ADAPTIVE
   ========================================================= */

@media (max-width: 1280px) {
  .pm-academic-proof__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pm-academic-proof__title h2,
  .pm-academic-proof__intro p {
    max-width: 780px;
  }

  .pm-academic-proof__main {
    grid-template-columns: 1fr;
  }

  .pm-academic-proof__fact {
    min-height: auto;
  }

  .pm-academic-proof__statuses {
    grid-template-columns: 1fr;
  }

  .pm-academic-status {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .pm-academic-proof {
    padding: 62px 16px 72px;
  }

  .pm-academic-proof__container {
    width: min(100%, calc(100vw - 32px));
  }

  .pm-academic-proof__head {
    margin-bottom: 34px;
  }

  .pm-academic-proof__label {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .pm-academic-proof__title h2 {
    font-size: clamp(32px, 9vw, 43px);
    line-height: 1.07;
  }

  .pm-academic-proof__intro p {
    font-size: 16.5px;
    line-height: 1.58;
  }

  .pm-academic-proof__fact {
    padding: 28px 24px;
    border-radius: 28px;
  }

  .pm-academic-proof__number {
    margin-bottom: 34px;
    font-size: clamp(50px, 16vw, 70px);
  }

  .pm-academic-proof__fact h3 {
    font-size: 23px;
  }

  .pm-academic-status {
    padding: 28px 24px;
    border-radius: 28px;
  }

  .pm-academic-status span {
    margin-bottom: 32px;
  }

  .pm-academic-status h3 {
    font-size: 22px;
  }
}

@media (max-width: 420px) {
  .pm-academic-proof {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pm-academic-proof__container {
    width: min(100%, calc(100vw - 24px));
  }
}

/* =========================================================
   ОБРАЗОВАТЕЛЬНЫЕ СТУПЕНИ
   Для HTML-разметки .pm-edu-steps
   ========================================================= */

.pm-edu-steps,
.pm-edu-steps *,
.pm-edu-steps *::before,
.pm-edu-steps *::after {
  box-sizing: border-box;
}

.pm-edu-steps {
  --edu-navy: #17233f;
  --edu-blue: #273c75;
  --edu-orange: #ff6b3d;
  --edu-muted: #667085;

  /*
   * Фон на всю ширину окна, даже если HTML-виджет
   * находится внутри узкого контейнера Elementor.
   */
  display: block;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 86px 24px 96px;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f5ee 100%);
}

.pm-edu-steps__container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

/* =========================================================
   ЗАГОЛОВОК СЕКЦИИ
   ========================================================= */

.pm-edu-steps__head {
  display: grid;
  grid-template-columns:
    minmax(145px, 190px)
    minmax(0, 1.45fr)
    minmax(270px, 0.95fr);
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 54px;
}

.pm-edu-steps__label {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #b45b3d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-edu-steps__label::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--edu-orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-edu-steps .pm-edu-steps__title h2 {
  margin: 0;
  padding: 0;
  color: var(--edu-navy);
  font-size: clamp(38px, 3.8vw, 62px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.045em;
  text-transform: none;
}

.pm-edu-steps .pm-edu-steps__intro p {
  margin: 8px 0 0;
  padding: 0;
  color: #596273;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}

/* =========================================================
   СЕТКА КАРТОЧЕК
   ========================================================= */

.pm-edu-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* =========================================================
   КАРТОЧКА
   ========================================================= */

.pm-edu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

  border: 1px solid rgba(23, 35, 63, 0.08);
  border-radius: 34px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 22px 54px rgba(23, 35, 63, 0.08);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.pm-edu-card:nth-child(2) {
  background: linear-gradient(180deg, #fff 0%, #f7fcf9 100%);
}

.pm-edu-card:nth-child(3) {
  background: linear-gradient(180deg, #fff 0%, #fff9f2 100%);
}

.pm-edu-card:nth-child(4) {
  background: linear-gradient(180deg, #fff 0%, #f8f5ff 100%);
}

.pm-edu-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 78px rgba(23, 35, 63, 0.13);
}

/* =========================================================
   ИЗОБРАЖЕНИЕ
   ========================================================= */

.pm-edu-card__image {
  position: relative;
  flex: 0 0 245px;
  height: 245px;
  overflow: hidden;
  background: #eaf3ff;
}

.pm-edu-card:nth-child(2) .pm-edu-card__image {
  background: #eef8f2;
}

.pm-edu-card:nth-child(3) .pm-edu-card__image {
  background: #fff0e6;
}

.pm-edu-card:nth-child(4) .pm-edu-card__image {
  background: #f1ecff;
}

.pm-edu-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 35, 63, 0.02) 0%,
    rgba(23, 35, 63, 0.18) 100%
  );
  pointer-events: none;
}

.pm-edu-steps .pm-edu-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;

  transform: scale(1.01);
  filter: saturate(0.92) contrast(1.02);

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.pm-edu-card:hover .pm-edu-card__image img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.04);
}

/* =========================================================
   СОДЕРЖИМОЕ КАРТОЧКИ
   ========================================================= */

.pm-edu-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 305px;
  padding: 28px 28px 30px;
}

.pm-edu-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.pm-edu-card__meta span:first-child {
  color: rgba(23, 35, 63, 0.46);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
}

.pm-edu-card__meta span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f5f9;
  color: var(--edu-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.pm-edu-steps .pm-edu-card__body h3 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--edu-navy);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: none;
}

.pm-edu-steps .pm-edu-card__body p {
  margin: 0;
  padding: 0;
  color: var(--edu-muted);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.58;
}

/* =========================================================
   ССЫЛКА «ПОДРОБНЕЕ»
   ========================================================= */

.pm-edu-steps a.pm-edu-card__more,
.pm-edu-steps a.pm-edu-card__more:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 32px;

  color: var(--edu-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.pm-edu-steps a.pm-edu-card__more:hover,
.pm-edu-steps a.pm-edu-card__more:focus-visible {
  color: var(--edu-blue);
  text-decoration: none;
}

.pm-edu-card__more i {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;

  border-radius: 999px;
  background: var(--edu-navy);
  color: #fff;

  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;

  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.pm-edu-steps a.pm-edu-card__more:hover i,
.pm-edu-steps a.pm-edu-card__more:focus-visible i {
  background: var(--edu-orange);
  color: #fff;
  transform: translateX(3px);
}

.pm-edu-steps a.pm-edu-card__more:focus-visible {
  outline: 3px solid var(--edu-orange);
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 1280px) {
  .pm-edu-steps__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pm-edu-steps__title,
  .pm-edu-steps__intro {
    max-width: 760px;
  }

  .pm-edu-steps .pm-edu-steps__intro p {
    margin-top: 0;
  }

  .pm-edu-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-edu-card__image {
    flex-basis: 280px;
    height: 280px;
  }

  .pm-edu-card__body {
    min-height: 270px;
  }
}

@media (max-width: 700px) {
  .pm-edu-steps {
    padding: 62px 16px 72px;
  }

  .pm-edu-steps__head {
    margin-bottom: 32px;
  }

  .pm-edu-steps__label {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .pm-edu-steps .pm-edu-steps__title h2 {
    font-size: clamp(32px, 9vw, 43px);
    line-height: 1.07;
  }

  .pm-edu-steps .pm-edu-steps__intro p {
    font-size: 16.5px;
    line-height: 1.58;
  }

  .pm-edu-steps__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pm-edu-card {
    border-radius: 28px;
  }

  .pm-edu-card__image {
    flex-basis: auto;
    height: auto;
    aspect-ratio: 16 / 10.5;
  }

  .pm-edu-card__body {
    min-height: 0;
    padding: 24px 24px 26px;
  }

  .pm-edu-card__meta {
    margin-bottom: 26px;
  }

  .pm-edu-steps .pm-edu-card__body h3 {
    font-size: 26px;
  }

  .pm-edu-steps a.pm-edu-card__more,
  .pm-edu-steps a.pm-edu-card__more:visited {
    padding-top: 28px;
  }
}

@media (max-width: 420px) {
  .pm-edu-steps {
    padding-right: 12px;
    padding-left: 12px;
  }

  .pm-edu-card__body {
    padding: 22px;
  }

  .pm-edu-steps .pm-edu-card__body h3 {
    font-size: 24px;
  }

  .pm-edu-card__meta span:last-child {
    font-size: 12px;
  }
}

/* =========================================================
   УМЕНЬШЕНИЕ АНИМАЦИИ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .pm-edu-card,
  .pm-edu-card__image img,
  .pm-edu-card__more i {
    transition: none;
  }

  .pm-edu-card:hover,
  .pm-edu-card:hover .pm-edu-card__image img {
    transform: none;
  }
}

/* =========================================================
   LANGUAGE PROGRAM PREMIUM
   Секция: .pm-language-premium
   ========================================================= */

.pm-language-premium,
.pm-language-premium * {
  box-sizing: border-box;
}

.pm-language-premium {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 78px 24px 86px;
  background:
    radial-gradient(circle at 10% 18%, rgba(234, 243, 255, 0.65), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255, 240, 230, 0.68), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
  overflow: hidden;
}

.pm-language-premium__container {
  width: min(1320px, calc(100vw - 48px));
  max-width: 1320px;
  margin: 0 auto;
}

.pm-language-premium p {
  margin-top: 0;
}


/* ===================== HEAD ===================== */

.pm-language-premium__head {
  display: grid;
  grid-template-columns: 240px minmax(0, 650px) minmax(300px, 430px);
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.pm-language-premium__label {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #b45b3d;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-language-premium__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b3d;
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-language-premium__title h2 {
  max-width: 650px;
  margin: 0;
  color: #17233f;
  font-size: clamp(40px, 3.8vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.pm-language-premium__intro p {
  max-width: 430px;
  margin: 8px 0 0;
  color: #596273;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 450;
}


/* ===================== MAIN LANGUAGE CARD ===================== */

.pm-language-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: 0;
  margin-bottom: 22px;
  border-radius: 38px;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 26px 70px rgba(23, 35, 63, 0.1);
}

.pm-language-hero-card__content {
  position: relative;
  padding: 44px 46px 42px;
  background:
    radial-gradient(circle at 96% 8%, rgba(234, 243, 255, 0.9), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pm-language-hero-card__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #273c75;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pm-language-hero-card__content h3 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #17233f;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.052em;
  font-weight: 900;
}

.pm-language-hero-card__content > p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #596273;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 450;
}

.pm-language-hero-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 35, 63, 0.12);
  border-bottom: 1px solid rgba(23, 35, 63, 0.12);
}

.pm-language-feature {
  min-height: 190px;
  padding: 24px 22px 24px 0;
  border-right: 1px solid rgba(23, 35, 63, 0.12);
}

.pm-language-feature + .pm-language-feature {
  padding-left: 22px;
}

.pm-language-feature:last-child {
  border-right: 0;
}

.pm-language-feature span {
  display: block;
  margin-bottom: 28px;
  color: rgba(23, 35, 63, 0.42);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pm-language-feature strong {
  display: block;
  margin-bottom: 12px;
  color: #17233f;
  font-size: 21px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.pm-language-feature p {
  margin: 0;
  color: #667085;
  font-size: 14.2px;
  line-height: 1.48;
  font-weight: 430;
}

.pm-language-hero-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 30px;
}

.pm-language-hero-card__languages {
  max-width: 360px;
}

.pm-language-hero-card__languages strong {
  display: block;
  margin-bottom: 6px;
  color: #17233f;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.pm-language-hero-card__languages span {
  display: block;
  color: #667085;
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 600;
}

.pm-language-hero-card__media {
  position: relative;
  min-height: 520px;
  background: #eaf3ff;
  overflow: hidden;
}

.pm-language-hero-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(23, 35, 63, 0.02) 0%,
      rgba(23, 35, 63, 0.28) 100%
    );
  pointer-events: none;
}

.pm-language-hero-card__media img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}


/* ===================== BUTTONS ===================== */

.pm-language-premium__button,
.pm-language-tournament__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: fit-content;
  min-height: 54px;
  padding: 13px 15px 13px 23px;
  border-radius: 999px;
  background: #17233f;
  color: #ffffff;
  font-size: 15.5px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(23, 35, 63, 0.2);
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.pm-language-premium__button i,
.pm-language-tournament__button i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  border-radius: 999px;
  background: #ff6b3d;
  color: #ffffff;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}

.pm-language-premium__button:hover,
.pm-language-tournament__button:hover {
  background: #273c75;
  color: #ffffff;
  transform: translateY(-2px);
}


/* ===================== TOURNAMENT ===================== */

.pm-language-tournament {
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(0, 1fr);
  gap: 0;
  margin-bottom: 22px;
  border-radius: 38px;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 24px 64px rgba(23, 35, 63, 0.08);
	margin-bottom: 0;
}

.pm-language-tournament__media {
  position: relative;
  min-height: 500px;
  background: #eef1f6;
  overflow: hidden;
}

.pm-language-tournament__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(23, 35, 63, 0.02) 0%,
      rgba(23, 35, 63, 0.3) 100%
    );
  pointer-events: none;
}

.pm-language-tournament__media img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.pm-language-tournament__content {
  padding: 44px 46px 42px;
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 107, 61, 0.12), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
}

.pm-language-tournament__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff0e6;
  color: #b45b3d;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pm-language-tournament h3 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #17233f;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.pm-language-tournament p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #596273;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
}

.pm-language-tournament ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-language-tournament li {
  position: relative;
  padding-left: 20px;
  color: #667085;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 500;
}

.pm-language-tournament li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b3d;
}

.pm-language-tournament__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(23, 35, 63, 0.12);
}

.pm-language-tournament__stat strong {
  display: block;
  margin-bottom: 5px;
  color: #17233f;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.pm-language-tournament__stat span {
  display: block;
  color: #667085;
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 600;
}


/* ===================== PROGRAMS DARK BLOCK ===================== */

.pm-language-premium__programs {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border-radius: 34px;
  background: #17233f;
  box-shadow: 0 26px 70px rgba(23, 35, 63, 0.16);
	margin-bottom: 22px;
}

.pm-language-premium__programs-head {
  padding-right: 8px;
}

.pm-language-premium__programs-head span {
  display: block;
  margin-bottom: 18px;
  color: #ffb199;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-language-premium__programs-head h3 {
  max-width: 280px;
  margin: 0;
  color: #ffffff;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.pm-language-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pm-language-program {
  min-height: 180px;
  padding: 22px 22px 23px;
  background: #17233f;
}

.pm-language-program span {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-language-program h4 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.pm-language-program p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.6px;
  line-height: 1.48;
  font-weight: 430;
}
/* =========================================================
   ADAPTIVE
   ========================================================= */

@media (max-width: 1280px) {
  .pm-language-premium {
    padding: 78px 24px 88px;
  }

  .pm-language-premium__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pm-language-premium__title h2,
  .pm-language-premium__intro p {
    max-width: 780px;
  }

  .pm-language-premium__intro p {
    margin-top: 0;
  }

  .pm-language-hero-card,
  .pm-language-tournament {
    grid-template-columns: 1fr;
  }

  .pm-language-hero-card__media {
    order: -1;
    min-height: 460px;
  }

  .pm-language-hero-card__media img {
    min-height: 460px;
  }

  .pm-language-tournament__media {
    min-height: 460px;
  }

  .pm-language-tournament__media img {
    min-height: 460px;
  }

  .pm-language-premium__programs {
    grid-template-columns: 1fr;
  }

  .pm-language-premium__programs-head h3 {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .pm-language-hero-card__grid {
    grid-template-columns: 1fr;
  }

  .pm-language-feature {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 35, 63, 0.12);
  }

  .pm-language-feature + .pm-language-feature {
    padding-left: 0;
  }

  .pm-language-feature:last-child {
    border-bottom: 0;
  }

  .pm-language-feature span {
    margin-bottom: 18px;
  }

  .pm-language-tournament ul {
    grid-template-columns: 1fr;
  }

  .pm-language-programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pm-language-premium {
    padding: 62px 16px 72px;
  }

  .pm-language-premium__container {
    width: min(100%, calc(100vw - 32px));
  }

  .pm-language-premium__head {
    margin-bottom: 34px;
  }

  .pm-language-premium__label {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .pm-language-premium__title h2 {
    font-size: clamp(32px, 9vw, 43px);
    line-height: 1.07;
  }

  .pm-language-premium__intro p {
    font-size: 16.5px;
    line-height: 1.58;
  }

  .pm-language-hero-card,
  .pm-language-tournament {
    border-radius: 28px;
  }

  .pm-language-hero-card__content,
  .pm-language-tournament__content {
    padding: 28px 24px;
  }

  .pm-language-hero-card__content h3,
  .pm-language-tournament h3 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .pm-language-hero-card__content > p,
  .pm-language-tournament p {
    font-size: 16px;
  }

  .pm-language-hero-card__media,
  .pm-language-tournament__media {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .pm-language-hero-card__media img,
  .pm-language-tournament__media img {
    min-height: 0;
    height: 100%;
  }

  .pm-language-hero-card__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-language-premium__button,
  .pm-language-tournament__button {
    width: 100%;
  }

  .pm-language-tournament__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-language-premium__programs {
    padding: 26px 22px;
    border-radius: 28px;
  }

  .pm-language-premium__programs-head h3 {
    font-size: 30px;
  }

  .pm-language-programs-grid {
    grid-template-columns: 1fr;
  }

  .pm-language-program {
    min-height: auto;
    padding: 24px 0;
  }

  .pm-language-program span {
    margin-bottom: 22px;
  }
}

@media (max-width: 420px) {
  .pm-language-premium {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pm-language-premium__container {
    width: min(100%, calc(100vw - 24px));
  }
}

/* =========================================================
   ALUMNI PROOF / HOME SECTION
   ========================================================= */

.pm-alumni-proof,
.pm-alumni-proof * {
  box-sizing: border-box;
}

.pm-alumni-proof {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 86px 24px 96px;
  background:
    radial-gradient(circle at 10% 18%, rgba(234, 243, 255, 0.7), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255, 240, 230, 0.72), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
  overflow: hidden;
}

.pm-alumni-proof__container {
  width: min(1320px, calc(100vw - 48px));
  max-width: 1320px;
  margin: 0 auto;
}

.pm-alumni-proof p {
  margin-top: 0;
}


/* ===================== HEAD ===================== */

.pm-alumni-proof__head {
  display: grid;
  grid-template-columns: 240px minmax(0, 650px) minmax(300px, 430px);
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.pm-alumni-proof__label {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #b45b3d;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-alumni-proof__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b3d;
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-alumni-proof__title h2 {
  max-width: 690px;
  margin: 0;
  color: #17233f;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 900;
}

.pm-alumni-proof__intro p {
  max-width: 430px;
  margin: 8px 0 22px;
  color: #596273;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 450;
}

.pm-alumni-proof__head-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17233f;
  font-size: 15px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
}

.pm-alumni-proof__head-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border-radius: 999px;
  background: #17233f;
  color: #ffffff;
  font-style: normal;
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.pm-alumni-proof__head-link:hover i {
  background: #ff6b3d;
  transform: translateX(2px);
}


/* ===================== MAIN ===================== */

.pm-alumni-proof__main {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}


/* ===================== HERO FACT ===================== */

.pm-alumni-proof__hero {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 34px 32px 32px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 107, 61, 0.18), transparent 28%),
    linear-gradient(135deg, #17233f 0%, #273c75 100%);
  color: #ffffff;
  box-shadow: 0 26px 70px rgba(23, 35, 63, 0.16);
}

.pm-alumni-proof__number {
  margin-bottom: 30px;
  color: #ffffff;
  font-size: clamp(78px, 7vw, 116px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.075em;
}

.pm-alumni-proof__hero h3 {
  max-width: 280px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.pm-alumni-proof__hero p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 430;
}

.pm-alumni-proof__hero-footer {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pm-alumni-proof__hero-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.pm-alumni-proof__hero-footer span {
  display: block;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 550;
}


/* ===================== GROUPS ===================== */

.pm-alumni-proof__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pm-alumni-group {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 30px 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 20px 56px rgba(23, 35, 63, 0.07);
}

.pm-alumni-group--accent {
  background:
    linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
}

.pm-alumni-group__top span {
  display: block;
  margin-bottom: 38px;
  color: rgba(23, 35, 63, 0.42);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pm-alumni-group__top h3 {
  min-height: 86px;
  margin: 0 0 24px;
  color: #17233f;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 900;
}

.pm-alumni-group__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid rgba(23, 35, 63, 0.12);
}

.pm-alumni-group__list span {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 35, 63, 0.09);
  color: #596273;
  font-size: 14.2px;
  line-height: 1.32;
  font-weight: 560;
}

.pm-alumni-group__list span:last-child {
  border-bottom: 0;
}


/* ===================== RECENT ===================== */

.pm-alumni-proof__recent {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding: 30px;
  border-radius: 34px;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 20px 56px rgba(23, 35, 63, 0.07);
}

.pm-alumni-proof__recent-head span {
  display: block;
  margin-bottom: 18px;
  color: #b45b3d;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-alumni-proof__recent-head h3 {
  max-width: 260px;
  margin: 0;
  color: #17233f;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.pm-alumni-proof__recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 35, 63, 0.12);
  border: 1px solid rgba(23, 35, 63, 0.12);
}

.pm-alumni-recent-card {
  min-height: 190px;
  padding: 24px;
  background: #ffffff;
}

.pm-alumni-recent-card span {
  display: block;
  margin-bottom: 28px;
  color: rgba(23, 35, 63, 0.42);
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.pm-alumni-recent-card h4 {
  margin: 0 0 12px;
  color: #17233f;
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.pm-alumni-recent-card p {
  margin: 0;
  color: #667085;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 430;
}

/* =========================================================
   ADAPTIVE
   ========================================================= */

@media (max-width: 1280px) {
  .pm-alumni-proof__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pm-alumni-proof__title h2,
  .pm-alumni-proof__intro p {
    max-width: 780px;
  }

  .pm-alumni-proof__main {
    grid-template-columns: 1fr;
  }

  .pm-alumni-proof__hero {
    min-height: auto;
  }

  .pm-alumni-proof__groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pm-alumni-group {
    min-height: auto;
  }

  .pm-alumni-proof__recent {
    grid-template-columns: 1fr;
  }

  .pm-alumni-proof__recent-head h3 {
    max-width: 680px;
  }
}

@media (max-width: 1000px) {
  .pm-alumni-proof__groups {
    grid-template-columns: 1fr;
  }

  .pm-alumni-group__top h3 {
    min-height: auto;
  }

  .pm-alumni-proof__recent-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .pm-alumni-proof {
    padding: 62px 16px 72px;
  }

  .pm-alumni-proof__container {
    width: min(100%, calc(100vw - 32px));
  }

  .pm-alumni-proof__head {
    margin-bottom: 34px;
  }

  .pm-alumni-proof__label {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .pm-alumni-proof__title h2 {
    font-size: clamp(32px, 9vw, 43px);
    line-height: 1.07;
  }

  .pm-alumni-proof__intro p {
    font-size: 16.5px;
    line-height: 1.58;
  }

  .pm-alumni-proof__hero {
    padding: 28px 24px;
    border-radius: 28px;
  }

  .pm-alumni-proof__number {
    font-size: clamp(72px, 22vw, 96px);
  }

  .pm-alumni-group {
    padding: 28px 24px;
    border-radius: 28px;
  }

  .pm-alumni-group__top span {
    margin-bottom: 28px;
  }

  .pm-alumni-proof__recent {
    padding: 26px 22px;
    border-radius: 28px;
  }

  .pm-alumni-proof__recent-head h3 {
    font-size: 30px;
  }

  .pm-alumni-recent-card {
    min-height: auto;
    padding: 24px 0;
  }
}

@media (max-width: 420px) {
  .pm-alumni-proof {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pm-alumni-proof__container {
    width: min(100%, calc(100vw - 24px));
  }
}

/* =========================================================
   НАЧАЛЬНАЯ ШКОЛА — PROMO-M
   Все стили ограничены .pm-primary-page
   ========================================================= */

.pm-primary-page,
.pm-primary-page *,
.pm-primary-page *::before,
.pm-primary-page *::after {
  box-sizing: border-box;
}

.pm-primary-page {
  --pm-primary-navy: #17233f;
  --pm-primary-blue: #273c75;
  --pm-primary-orange: #ff6b3d;
  --pm-primary-muted: #596273;
  --pm-primary-line: rgba(23, 35, 63, 0.11);
  --pm-primary-shadow: 0 22px 58px rgba(23, 35, 63, 0.08);

  width: 100%;
  color: var(--pm-primary-navy);
}

.pm-primary-page img {
  display: block;
}

.pm-primary-page h1,
.pm-primary-page h2,
.pm-primary-page h3,
.pm-primary-page p,
.pm-primary-page ul {
  margin-top: 0;
}

.pm-primary-page h1,
.pm-primary-page h2,
.pm-primary-page h3 {
  color: var(--pm-primary-navy);
  text-transform: none;
}

.pm-primary-page section {
  /*
   * Полная ширина фона внутри ограниченного контейнера Elementor.
   */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.pm-primary__container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.pm-primary__eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding-left: 21px;
  color: #a95338;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-primary__eyebrow::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pm-primary-orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-primary__pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--pm-primary-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* =========================================================
   ОБЩИЕ КНОПКИ
   ========================================================= */

.pm-primary__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.pm-primary-page a.pm-primary__button,
.pm-primary-page a.pm-primary__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.pm-primary-page a.pm-primary__button--orange,
.pm-primary-page a.pm-primary__button--orange:visited,
.pm-primary-page a.pm-primary__button--orange:hover,
.pm-primary-page a.pm-primary__button--orange:focus-visible {
  background: var(--pm-primary-orange);
  color: #fff;
  box-shadow: 0 15px 32px rgba(255, 107, 61, 0.24);
}

.pm-primary-page a.pm-primary__button--orange:hover {
  background: #e95a2d;
  transform: translateY(-2px);
}

.pm-primary-page a.pm-primary__button--light,
.pm-primary-page a.pm-primary__button--light:visited {
  background: #fff;
  color: var(--pm-primary-navy);
  box-shadow:
    inset 0 0 0 1px var(--pm-primary-line),
    0 10px 22px rgba(23, 35, 63, 0.05);
}

.pm-primary-page a.pm-primary__button--light:hover {
  color: var(--pm-primary-blue);
  transform: translateY(-2px);
}

.pm-primary__button-arrow {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.pm-primary-page a.pm-primary__button--orange span {
  color: #fff;
}

.pm-primary-page a:focus-visible {
  outline: 3px solid var(--pm-primary-orange);
  outline-offset: 4px;
}

/* =========================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================= */

.pm-primary-section {
  padding: 86px 24px 94px;
}

.pm-primary-section--white {
  background: #fffdf9;
}

.pm-primary-section--cream {
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(234, 243, 255, 0.55),
      transparent 31%
    ),
    linear-gradient(180deg, #fffdf8 0%, #f8f5ee 100%);
}

.pm-primary-section--blue {
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(234, 243, 255, 0.72),
      transparent 27%
    ),
    linear-gradient(180deg, #f7faff 0%, #f9f7f3 100%);
}

.pm-primary__section-head {
  max-width: 930px;
  margin-bottom: 38px;
}

.pm-primary__section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 50px;
  max-width: none;
}

.pm-primary__section-head h2 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(36px, 3.7vw, 58px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.052em;
}

.pm-primary__section-head > p,
.pm-primary__section-head--split > p {
  max-width: 470px;
  margin: 0;
  color: var(--pm-primary-muted);
  font-size: 17px;
  line-height: 1.62;
}

.pm-primary__footnote {
  margin: 20px 0 0;
  color: #737b8c;
  font-size: 13px;
  line-height: 1.55;
}

/* =========================================================
   1. ПЕРВЫЙ ЭКРАН
   ========================================================= */

.pm-primary-hero {
  padding: 58px 24px 80px;
  background:
    radial-gradient(
      circle at 9% 24%,
      rgba(234, 243, 255, 0.78),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 11%,
      rgba(255, 236, 224, 0.7),
      transparent 30%
    ),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
}

.pm-primary-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.pm-primary-hero__content {
  min-width: 0;
}

.pm-primary-hero h1 {
  max-width: 710px;
  margin: 0 0 24px;
  font-size: clamp(46px, 4.5vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.pm-primary-hero__lead {
  max-width: 650px;
  margin-bottom: 25px;
  color: var(--pm-primary-muted);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.53;
}

.pm-primary-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.pm-primary-hero__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid var(--pm-primary-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pm-primary-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.pm-primary-hero__micro {
  margin: 22px 0 0;
  color: #777f8d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.pm-primary-hero__visual {
  position: relative;
  min-width: 0;
  padding: 24px 0 28px 28px;
}

.pm-primary-hero__photo {
  height: 560px;
  overflow: hidden;
  border-radius: 38px;
  background: #eaf3ff;
  box-shadow: 0 28px 70px rgba(23, 35, 63, 0.15);
}

.pm-primary-hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.pm-primary-hero__badge {
  position: absolute;
  max-width: 255px;
  padding: 17px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 35, 63, 0.14);
}

.pm-primary-hero__badge strong {
  display: block;
  margin-bottom: 5px;
  color: var(--pm-primary-navy);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.16;
}

.pm-primary-hero__badge span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.pm-primary-hero__badge--top {
  top: 2px;
  left: 0;
}

.pm-primary-hero__badge--bottom {
  right: -10px;
  bottom: 0;
}

/* =========================================================
   2. ПРЕИМУЩЕСТВА
   ========================================================= */

.pm-primary-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pm-primary-benefit {
  min-width: 0;
  min-height: 270px;
  padding: 28px 25px;
  border: 1px solid rgba(23, 35, 63, 0.07);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--pm-primary-shadow);
}

.pm-primary-benefit__number {
  display: block;
  margin-bottom: 38px;
  color: #aeb5c0;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.pm-primary-benefit h3 {
  margin: 0 0 13px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.pm-primary-benefit p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
}

/* Заголовок блока преимуществ: подпись | заголовок | описание */

.pm-primary-section--benefits .pm-primary__section-head {
  display: grid;
  grid-template-columns:
    minmax(140px, 0.55fr)
    minmax(0, 1.8fr)
    minmax(250px, 1fr);
  align-items: start;
  gap: clamp(20px, 2.8vw, 42px);
  max-width: none;
}

.pm-primary-section--benefits .pm-primary__eyebrow {
  margin-top: 10px;
}

.pm-primary-section--benefits .pm-primary__section-head h2 {
  max-width: 720px;
}

.pm-primary-section--benefits .pm-primary__section-head > p {
  max-width: 380px;
  margin: 8px 0 0;
}

@media (max-width: 1050px) {
  .pm-primary-section--benefits .pm-primary__section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pm-primary-section--benefits .pm-primary__eyebrow {
    margin-top: 0;
  }

  .pm-primary-section--benefits .pm-primary__section-head > p {
    max-width: 680px;
    margin-top: 0;
  }
}

/* =========================================================
   3. ЯЗЫКОВАЯ ПРОГРАММА
   ========================================================= */

.pm-primary-language {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  overflow: hidden;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--pm-primary-shadow);
}

.pm-primary-language__content {
  min-width: 0;
  padding: 42px;
}

.pm-primary-language__content h3 {
  margin: 21px 0 14px;
  font-size: clamp(31px, 2.9vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.pm-primary-language__content > p {
  margin-bottom: 27px;
  color: var(--pm-primary-muted);
  font-size: 16px;
  line-height: 1.6;
}

.pm-primary-language__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--pm-primary-line);
  border-bottom: 1px solid var(--pm-primary-line);
}

.pm-primary-language__features > div {
  min-width: 0;
  padding: 22px 15px 22px 0;
  border-right: 1px solid var(--pm-primary-line);
}

.pm-primary-language__features > div + div {
  padding-left: 15px;
}

.pm-primary-language__features > div:last-child {
  border-right: 0;
}

.pm-primary-language__features span {
  display: block;
  margin-bottom: 23px;
  color: #858d9a;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.pm-primary-language__features strong {
  display: block;
  margin-bottom: 10px;
  color: var(--pm-primary-navy);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.22;
}

.pm-primary-language__features p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.pm-primary-language__note {
  margin-top: 26px;
}

.pm-primary-language__note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 900;
}

.pm-primary-language__note p {
  max-width: 540px;
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.52;
}

.pm-primary-language__visual {
  position: relative;
  min-height: 575px;
  overflow: hidden;
  background: #eaf3ff;
}

.pm-primary-language__visual::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(14, 23, 43, 0.67)
  );
  pointer-events: none;
}

.pm-primary-language__visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.pm-primary-language__caption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 32px;
  left: 30px;
  padding-left: 18px;
  border-left: 3px solid var(--pm-primary-orange);
}

.pm-primary-language__caption strong,
.pm-primary-language__caption span {
  display: block;
  color: #fff;
}

.pm-primary-language__caption strong {
  margin-bottom: 7px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.18;
}

.pm-primary-language__caption span {
  font-size: 14px;
  line-height: 1.4;
}

.pm-primary-language-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(23, 35, 63, 0.16);
}

.pm-primary-language-strip > div {
  min-width: 0;
  min-height: 190px;
  padding: 28px;
  background: var(--pm-primary-navy);
}

.pm-primary-language-strip small {
  display: block;
  margin-bottom: 30px;
  color: #ffb79e;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pm-primary-language-strip strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.18;
}

.pm-primary-language-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================================
   4. ПРОГРАММА
   ========================================================= */

.pm-primary-program {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.pm-primary-program article {
  min-width: 0;
  min-height: 245px;
  padding: 27px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--pm-primary-shadow);
}

.pm-primary-program__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: #eaf3ff;
  color: var(--pm-primary-blue);
  font-size: 13px;
  font-weight: 900;
}

.pm-primary-program h3 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.17;
}

.pm-primary-program p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
}

.pm-primary-program-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
  padding: 26px 30px;
  border-radius: 28px;
  background: var(--pm-primary-blue);
}

.pm-primary-program-facts > div {
  min-width: 0;
}

.pm-primary-program-facts strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
}

.pm-primary-program-facts span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.4;
}

/* =========================================================
   5. КРУЖКИ
   ========================================================= */

.pm-primary-clubs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.pm-primary-club {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--pm-primary-line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(23, 35, 63, 0.05);
}

.pm-primary-club--featured {
  background: linear-gradient(150deg, #f7faff 0%, #fff 100%);
}

.pm-primary-club__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 30px;
}

.pm-primary-club__top span {
  color: #8d6672;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pm-primary-club h3 {
  max-width: 480px;
  margin: 0 0 11px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.pm-primary-club > p {
  max-width: 480px;
  margin-bottom: 24px;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
}

.pm-primary-club__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pm-primary-club__items span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f2f5fa;
  color: var(--pm-primary-blue);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

/* Фото только в карточках творчества и спорта */
.pm-primary-page .pm-primary-club__photo {
  height: 230px;
  margin: 0 0 26px;
  overflow: hidden;
  border-radius: 22px;
  background: #eef1f6;
}

.pm-primary-page .pm-primary-club__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 700px) {
  .pm-primary-page .pm-primary-club__photo {
    height: auto;
    aspect-ratio: 16 / 10;
    margin-bottom: 22px;
    border-radius: 18px;
  }
}

/* Кружки: убираем лишнюю пустоту внутри карточек */

.pm-primary-page .pm-primary-club {
  min-height: 0;
}

.pm-primary-page .pm-primary-club__items {
  margin-top: 24px;
}

/* =========================================================
   6. ПЕДАГОГИ И СОПРОВОЖДЕНИЕ
   ========================================================= */

.pm-primary-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Карточки учителей */

.pm-primary-person {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 63, 0.07);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--pm-primary-shadow);
}

.pm-primary-person__photo {
  height: 260px;
  overflow: hidden;
  background: #eaf3ff;
}

.pm-primary-person__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 25%;
}

.pm-primary-person__body {
  padding: 25px 23px 27px;
}

.pm-primary-person h3 {
  margin: 0 0 11px;
  color: var(--pm-primary-navy);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.pm-primary-person p {
  margin: 0 0 18px;
  color: var(--pm-primary-muted);
  font-size: 14px;
  line-height: 1.45;
}

.pm-primary-person__body > span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--pm-primary-line);
  color: #737d8d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* Тёмный блок сопровождения */

.pm-primary-support {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
  margin-top: 18px;
  padding: 38px;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 93% 9%,
      rgba(255, 107, 61, 0.14),
      transparent 34%
    ),
    linear-gradient(135deg, #17233f 0%, #273c75 100%);
  box-shadow: 0 22px 58px rgba(23, 35, 63, 0.13);
}

.pm-primary-support__intro h3 {
  max-width: 470px;
  margin: 20px 0 13px;
  color: #fff;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.pm-primary-support__intro p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.58;
}

.pm-primary-support__people {
  display: grid;
  gap: 12px;
  min-width: 0;
}

/* Компактные карточки логопеда и психолога */

.pm-primary-support-person {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
}

.pm-primary-support-person__photo {
  width: 88px;
  height: 100px;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.16);
}

.pm-primary-support-person__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 25%;
}

.pm-primary-support-person__text {
  min-width: 0;
  padding-right: 8px;
}

.pm-primary-support-person__text > span {
  display: block;
  margin-bottom: 7px;
  color: #ffb79e;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-primary-support-person h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
}

.pm-primary-support-person p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
}

/* Дополнение к существующему адаптиву страницы */

@media (max-width: 1100px) {
  .pm-primary-support {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 700px) {
  .pm-primary-person__photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .pm-primary-person__body {
    padding: 23px;
  }

  .pm-primary-support {
    padding: 26px;
  }
}

@media (max-width: 420px) {
  .pm-primary-support-person {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
  }

  .pm-primary-support-person__photo {
    width: 74px;
    height: 90px;
  }

  .pm-primary-support-person h4 {
    font-size: 15px;
  }
}
/* =========================================================
   7. ШКОЛЬНАЯ ЖИЗНЬ И ПРОЕКТЫ
   ========================================================= */

.pm-primary-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.pm-primary-story {
  min-width: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--pm-primary-shadow);
}

.pm-primary-story__image {
  height: 280px;
  overflow: hidden;
  background: #eaf3ff;
}

.pm-primary-story__image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.pm-primary-story__body {
  padding: 27px 29px 30px;
}

.pm-primary-story__body > span {
  display: block;
  margin-bottom: 15px;
  color: #a95338;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-primary-story h3 {
  margin: 0 0 10px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
}

.pm-primary-story p {
  max-width: 520px;
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
}

.pm-primary-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-top: 17px;
}

.pm-primary-projects article {
  min-width: 0;
  padding: 31px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(23, 35, 63, 0.05);
}

.pm-primary-projects article:first-child {
  background: #eaf3ff;
}

.pm-primary-projects article > span {
  display: block;
  margin-bottom: 28px;
  color: #a95338;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-primary-projects h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.15;
}

.pm-primary-projects p {
  margin: 0;
  color: var(--pm-primary-muted);
  font-size: 15px;
  line-height: 1.55;
}
.pm-primary-page .pm-primary-stories + .pm-primary-stories {
  margin-top: 17px;
}

/* =========================================================
   8. СТОИМОСТЬ
   ========================================================= */

.pm-primary-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 17px;
}

.pm-primary-pricing__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 37px;
  border-radius: 34px;
  background: linear-gradient(135deg, #17233f, #273c75);
  box-shadow: 0 24px 60px rgba(23, 35, 63, 0.17);
}

.pm-primary-pricing__main > span {
  margin-bottom: 34px;
  color: #ffb79e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pm-primary-pricing__main > strong {
  display: block;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pm-primary-pricing__main > strong small {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.pm-primary-pricing__main > p {
  max-width: 510px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.58;
}

.pm-primary-pricing__details {
  display: grid;
  gap: 17px;
  min-width: 0;
}

.pm-primary-pricing__details > div {
  min-width: 0;
  padding: 28px 31px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--pm-primary-shadow);
}

.pm-primary-pricing__details > div > span {
  display: block;
  margin-bottom: 13px;
  color: #a95338;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-primary-pricing__details > div > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pm-primary-navy);
  font-size: 33px;
  font-weight: 900;
  line-height: 1.1;
}

.pm-primary-pricing__details p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.pm-primary-pricing__details ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-primary-pricing__details li {
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.pm-primary-pricing__details li strong {
  color: var(--pm-primary-blue);
}

/* =========================================================
   9. ФИНАЛЬНЫЙ ПРИЗЫВ
   ========================================================= */

.pm-primary-final {
  padding: 72px 24px 92px;
  background: #fffdf9;
}

.pm-primary-final__card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 55px;
  align-items: center;
  padding: clamp(35px, 5vw, 68px);
  border-radius: 38px;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(234, 243, 255, 0.9),
      transparent 34%
    ),
    linear-gradient(135deg, #fff7ef 0%, #f7faff 100%);
  box-shadow: var(--pm-primary-shadow);
}

.pm-primary-final h2 {
  max-width: 760px;
  margin: 0 0 17px;
  font-size: clamp(34px, 3.4vw, 55px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.pm-primary-final__content > p {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--pm-primary-muted);
  font-size: 17px;
  line-height: 1.57;
}

.pm-primary-final__contact {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23, 35, 63, 0.07);
}

.pm-primary-final__contact > span {
  display: block;
  margin-bottom: 18px;
  color: #8a6870;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-primary-page .pm-primary-final__contact a,
.pm-primary-page .pm-primary-final__contact a:visited {
  display: block;
  margin-bottom: 12px;
  color: var(--pm-primary-navy);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.pm-primary-page .pm-primary-final__contact a:hover {
  color: var(--pm-primary-orange);
}

.pm-primary-final__contact p {
  margin: 17px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   АДАПТИВ — ПЛАНШЕТ
   ========================================================= */

@media (max-width: 1100px) {
  .pm-primary-hero__grid {
    grid-template-columns: 1fr;
  }

  .pm-primary-hero__content {
    max-width: 820px;
  }

  .pm-primary-hero__visual {
    width: min(100%, 800px);
  }

  .pm-primary-hero__photo {
    height: 470px;
  }

  .pm-primary-benefits,
  .pm-primary-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-primary__section-head--split {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .pm-primary-language {
    grid-template-columns: 1fr;
  }

  .pm-primary-language__visual {
    min-height: 400px;
    max-height: 540px;
  }

  .pm-primary-language__visual img {
    min-height: 400px;
  }
}

@media (max-width: 800px) {
  .pm-primary-program {
    grid-template-columns: 1fr;
  }

  .pm-primary-program article {
    min-height: 0;
  }

  .pm-primary-program-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-primary-language-strip {
    grid-template-columns: 1fr;
  }

  .pm-primary-language-strip > div {
    min-height: 0;
  }

  .pm-primary-language-strip small {
    margin-bottom: 12px;
  }

  .pm-primary-support,
  .pm-primary-pricing,
  .pm-primary-final__card {
    grid-template-columns: 1fr;
  }

  .pm-primary-final__card {
    gap: 25px;
  }
}

/* =========================================================
   АДАПТИВ — ТЕЛЕФОН
   ========================================================= */

@media (max-width: 700px) {
  .pm-primary__container {
    width: calc(100% - 32px);
  }

  .pm-primary-section {
    padding: 62px 0 70px;
  }

  .pm-primary-hero {
    padding: 36px 0 60px;
  }

  .pm-primary-hero__grid {
    gap: 30px;
  }

  .pm-primary__eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .pm-primary-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(36px, 10vw, 50px);
    line-height: 1.04;
  }

  .pm-primary-hero__lead {
    font-size: 17px;
  }

  .pm-primary__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pm-primary-page a.pm-primary__button {
    width: 100%;
    min-height: 54px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .pm-primary-hero__visual {
    padding: 0;
  }

  .pm-primary-hero__photo {
    height: auto;
    aspect-ratio: 16 / 11;
    border-radius: 27px;
  }

  .pm-primary-hero__badge {
    display: none;
  }

  .pm-primary__section-head {
    margin-bottom: 28px;
  }

  .pm-primary__section-head h2 {
    font-size: clamp(31px, 8.5vw, 42px);
    line-height: 1.09;
  }

  .pm-primary__section-head > p,
  .pm-primary__section-head--split > p {
    font-size: 16px;
    line-height: 1.56;
  }

  .pm-primary-benefits,
  .pm-primary-team,
  .pm-primary-clubs,
  .pm-primary-stories,
  .pm-primary-projects {
    grid-template-columns: 1fr;
  }

  .pm-primary-benefit {
    min-height: 0;
    padding: 25px;
    border-radius: 25px;
  }

  .pm-primary-benefit__number {
    margin-bottom: 22px;
  }

  .pm-primary-language {
    border-radius: 27px;
  }

  .pm-primary-language__content {
    padding: 27px 23px;
  }

  .pm-primary-language__content h3 {
    font-size: clamp(28px, 7.5vw, 37px);
  }

  .pm-primary-language__features {
    grid-template-columns: 1fr;
  }

  .pm-primary-language__features > div,
  .pm-primary-language__features > div + div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--pm-primary-line);
  }

  .pm-primary-language__features > div:last-child {
    border-bottom: 0;
  }

  .pm-primary-language__features span {
    margin-bottom: 9px;
  }

  .pm-primary-language__visual {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .pm-primary-language__visual img {
    min-height: 0;
    height: 100%;
  }

  .pm-primary-language__caption {
    right: 17px;
    bottom: 18px;
    left: 17px;
  }

  .pm-primary-language__caption strong {
    font-size: 17px;
  }

  .pm-primary-language__caption span {
    font-size: 12px;
  }

  .pm-primary-language-strip {
    border-radius: 25px;
  }

  .pm-primary-language-strip > div {
    padding: 25px;
  }

  .pm-primary-program-facts {
    padding: 24px;
    gap: 22px;
  }

  .pm-primary-club {
    min-height: 0;
    padding: 26px;
    border-radius: 26px;
  }

  .pm-primary-club h3 {
    font-size: 24px;
  }

  .pm-primary-person {
    min-height: 0;
  }

  .pm-primary-support {
    gap: 20px;
    padding: 26px;
    border-radius: 26px;
  }

  .pm-primary-story {
    border-radius: 26px;
  }

  .pm-primary-story__image {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .pm-primary-story__body,
  .pm-primary-projects article {
    padding: 25px;
  }

  .pm-primary-pricing__main {
    padding: 28px;
    border-radius: 27px;
  }

  .pm-primary-pricing__main > strong {
    font-size: clamp(38px, 10vw, 54px);
  }

  .pm-primary-pricing__main > strong small {
    font-size: 15px;
  }

  .pm-primary-pricing__details > div {
    padding: 26px;
    border-radius: 26px;
  }

  .pm-primary-final {
    padding: 0 0 70px;
  }

  .pm-primary-final__card {
    padding: 28px 23px;
    border-radius: 28px;
  }

  .pm-primary-final h2 {
    font-size: clamp(31px, 8.5vw, 42px);
  }

  .pm-primary-final__content > p {
    font-size: 16px;
  }

  .pm-primary-final__contact {
    padding: 23px;
  }
}

@media (max-width: 420px) {
  .pm-primary__container {
    width: calc(100% - 24px);
  }

  .pm-primary-program-facts {
    grid-template-columns: 1fr;
  }

  .pm-primary-hero__tags span {
    font-size: 12px;
  }
}

/* =========================================================
   УМЕНЬШЕНИЕ АНИМАЦИИ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .pm-primary-page *,
  .pm-primary-page *::before,
  .pm-primary-page *::after {
    scroll-behavior: auto;
    transition: none;
  }
}

/* Документы для поступления */

.pm-primary-documents {
  padding: 0 24px 86px;
  background: #fffdf9;
}

.pm-primary-documents__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding: 36px 40px;
  border: 1px solid rgba(23, 35, 63, 0.1);
  border-radius: 32px;
  background: #f7faff;
}

.pm-primary-documents h2 {
  margin: 0 0 14px;
  color: #17233f;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.pm-primary-documents__card > div > p {
  max-width: 500px;
  margin: 0;
  color: #596273;
  font-size: 16px;
  line-height: 1.55;
}

.pm-primary-documents__details {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(23, 35, 63, 0.06);
}

.pm-primary-documents__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #17233f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.pm-primary-documents__details summary::-webkit-details-marker {
  display: none;
}

.pm-primary-documents__details summary span {
  color: #ff6b3d;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.pm-primary-documents__details[open] summary span {
  transform: rotate(45deg);
}

.pm-primary-documents__details summary:focus-visible {
  outline: 3px solid #ff6b3d;
  outline-offset: 3px;
  border-radius: 22px;
}

.pm-primary-documents__list {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(23, 35, 63, 0.09);
}

.pm-primary-documents__list ol {
  margin: 20px 0;
  padding-left: 22px;
}

.pm-primary-documents__list li {
  margin-bottom: 11px;
  padding-left: 4px;
  color: #596273;
  font-size: 15px;
  line-height: 1.5;
}

.pm-primary-documents__list p {
  margin: 0;
  color: #596273;
  font-size: 15px;
  line-height: 1.5;
}

.pm-primary-documents__list strong {
  color: #17233f;
}

@media (max-width: 800px) {
  .pm-primary-documents__card {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 700px) {
  .pm-primary-documents {
    padding: 0 0 70px;
  }

  .pm-primary-documents__card {
    padding: 26px 22px;
    border-radius: 26px;
  }
}

body.page-id-5698 #page-title-bar {
    display: none !important;
}

body.page-id-5533 #page-title-bar {
    display: none !important;
}

body.page-id-5648 #page-title-bar {
    display: none !important;
}

body.page-id-6134 #page-title-bar {
    display: none !important;
}

body.page-id-12936 #page-title-bar {
    display: none !important;
}
body.page-id-5597 #page-title-bar {
    display: none !important;
}
body.page-id-5599 #page-title-bar {
    display: none !important;
}
body.page-id-5601 #page-title-bar {
    display: none !important;
}

/* Скрываем подписи визуально, сохраняя их для скринридеров */
.school-form-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.school-form-field {
    display: block;
    margin-bottom: 14px;
}

.school-form input[type="text"],
.school-form input[type="tel"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    font-size: 16px;
}

.school-form-consent {
    margin: 16px 0;
    font-size: 13px;
    line-height: 1.5;
}

.school-form input[type="submit"] {
    width: 100%;
    min-height: 48px;
    cursor: pointer;
}
/* Отступ между заголовком и формой */
.elementor-element-ad1b101 .school-form {
    padding-top: 24px;
}

/* =========================================================
   ОТЗЫВЫ (REVIEWS)
   ========================================================= */

.pm-reviews {
  /* Выход на всю ширину экрана */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  
  padding: 86px 24px;
  background: 
    radial-gradient(circle at 10% 18%, rgba(234, 243, 255, 0.7), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
  overflow: hidden; /* Чтобы градиенты не создавали горизонтальный скролл */
}

.pm-reviews__container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

/* === Шапка === */
.pm-reviews__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.pm-reviews__kicker {
  position: relative;
  margin-bottom: 16px;
  padding-left: 20px;
  color: #b45b3d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-reviews__kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b3d;
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-reviews__title {
  max-width: 650px;
  margin: 0;
  color: #17233f;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 900;
}

/* === Виджет рейтинга === */
.pm-reviews__rating-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 320px;
  padding: 24px 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 
    inset 0 0 0 1px rgba(23, 35, 63, 0.08),
    0 20px 56px rgba(23, 35, 63, 0.07);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pm-reviews__rating-widget:hover {
  transform: translateY(-3px);
  box-shadow: 
    inset 0 0 0 1px rgba(23, 35, 63, 0.12),
    0 24px 64px rgba(23, 35, 63, 0.1);
}

.pm-reviews__rating-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(23, 35, 63, 0.08);
}

.pm-reviews__rating-stars {
  color: #17233f; /* Черные звезды как на скрине */
  font-size: 14px;
  letter-spacing: 2px;
}

.pm-reviews__rating-top strong {
  color: #17233f;
  font-size: 20px;
  font-weight: 900;
}

.pm-reviews__rating-count {
  flex: 1;
  color: #596273;
  font-size: 13px;
  font-weight: 600;
}

.pm-reviews__rating-top svg {
  color: #17233f;
}

.pm-reviews__rating-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pm-reviews__rating-tags span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #17233f;
  font-size: 14px;
  font-weight: 600;
}

.pm-reviews__rating-tags i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  background: #5fc96c; /* Зеленый плюс как на Яндекс Картах */
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.pm-reviews__rating-tags b {
  color: #8c96a8;
  font-weight: 600;
  margin-left: auto;
}

/* === Сетка отзывов === */
.pm-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* === Карточка отзыва === */
.pm-review-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 20px 56px rgba(23, 35, 63, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pm-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 24px 64px rgba(23, 35, 63, 0.1);
}

.pm-review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.pm-review-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pm-review-card__name {
  color: #17233f;
  font-size: 16px;
  font-weight: 850;
  margin-bottom: 4px;
}

.pm-review-card__status {
  color: #8c96a8;
  font-size: 12px;
  font-weight: 600;
}

.pm-review-card__text {
  flex: 1;
  margin: 0 0 24px;
  color: #596273;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 450;
}

.pm-review-card__source {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 35, 63, 0.08);
  color: #8c96a8;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 1100px) {
  .pm-reviews__head {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .pm-reviews__rating-widget {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .pm-reviews__rating-top {
    border-bottom: 0;
    padding-bottom: 0;
    width: 100%;
    margin-bottom: 10px;
  }

  .pm-reviews__rating-tags {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
  }

  .pm-reviews__rating-tags span {
    gap: 6px;
  }
  
  .pm-reviews__rating-tags b {
    margin-left: 4px;
  }

  .pm-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pm-reviews {
    padding: 62px 16px 72px;
  }

  .pm-reviews__container {
    width: min(100%, calc(100vw - 32px));
  }

  .pm-reviews__head {
    margin-bottom: 32px;
  }

  .pm-reviews__title {
    font-size: clamp(32px, 9vw, 43px);
  }

  .pm-reviews__rating-widget {
    padding: 20px;
    border-radius: 24px;
  }
  
  .pm-reviews__rating-top {
    flex-wrap: wrap;
    gap: 6px;
  }

  .pm-reviews__rating-count {
    width: 100%;
    order: 3;
    margin-top: 4px;
  }
  
  .pm-reviews__rating-top svg {
    display: none;
  }

  .pm-reviews__rating-tags {
    flex-direction: column;
    gap: 10px;
  }

  .pm-reviews__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pm-review-card {
    padding: 24px;
    border-radius: 24px;
  }
}

/* =========================================================
   СТРАНИЦА ПОСТУПЛЕНИЕ (ТАРИФЫ И ФОРМА)
   ========================================================= */

/* =========================================================
   ХАК ДЛЯ ВЫХОДА НА ВСЮ ШИРИНУ ЭКРАНА В ELEMENTOR
   ========================================================= */
.pm-page-wide-wrapper {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden; /* Защита от горизонтального скролла */
  background: #fbf8f2; /* Общий цвет фона для всей страницы */
}

/* =========================================================
   СТРАНИЦА ПОСТУПЛЕНИЕ (ТАРИФЫ И ФОРМА)
   ========================================================= */

/* === СЕКЦИЯ ТАРИФОВ === */
.pm-tuition-section {
  padding: 86px 24px 0; /* Убрал нижний паддинг, так как идет стыковка с формой */
  /* background удален, так как он теперь на обертке */
}

.pm-tuition__container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

/* ... (остальной CSS для карточек и кнопок остается БЕЗ ИЗМЕНЕНИЙ, 
   как в предыдущем сообщении) ... */

/* === СЕКЦИЯ ПОСТУПЛЕНИЯ === */
.pm-admission-section {
  padding: 40px 24px 86px; /* Верхний паддинг для отступа от карточек */
  /* background удален, так как он теперь на обертке */
}

.pm-admission__container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

/* ... (остальной CSS для баннера и формы остается БЕЗ ИЗМЕНЕНИЙ) ... */

/* === СЕКЦИЯ ТАРИФОВ === */
.pm-tuition-section {
  padding: 86px 24px;
  background: #fbf8f2; /* Теплый фон как на главной */
}

.pm-tuition__container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

.pm-tuition__head {
  text-align: center;
  margin-bottom: 50px;
}

.pm-tuition__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 900;
  color: #17233f;
  letter-spacing: -0.04em;
}

.pm-tuition__desc {
  max-width: 600px;
  margin: 0 auto;
  color: #596273;
  font-size: 17px;
  line-height: 1.6;
}

.pm-tuition__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* === КАРТОЧКА ТАРИФА === */
.pm-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(23, 35, 63, 0.05);
  border: 1px solid rgba(23, 35, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm-price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(23, 35, 63, 0.1);
}

/* Выделенная карточка */
.pm-price-card--featured {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border: 2px solid #ff6b3d;
  box-shadow: 0 20px 50px rgba(255, 107, 61, 0.12);
}

.pm-price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b3d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pm-price-card__head {
  margin-bottom: 24px;
}

.pm-price-card__head h3 {
  margin: 0 0 16px;
  color: #17233f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.pm-price-card__price {
  color: #17233f;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.pm-price-card__price span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.pm-price-card__note {
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.pm-price-card__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  flex-grow: 1; /* Прижимает кнопку к низу */
}

.pm-price-card__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: #596273;
  font-size: 14.5px;
  line-height: 1.5;
}

.pm-price-card__list li i {
  position: absolute;
  left: 0;
  top: 2px;
  color: #ff6b3d;
  font-style: normal;
  font-weight: 900;
}

.pm-price-card__list li strong {
  color: #17233f;
}

/* === КНОПКИ === */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pm-btn--outline {
  background: transparent;
  color: #17233f;
  border: 1px solid rgba(23, 35, 63, 0.15);
}

.pm-btn--outline:hover {
  background: #f4f8ff;
  border-color: #17233f;
}

.pm-btn--orange {
  background: #ff6b3d;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(255, 107, 61, 0.25);
  border: none;
}

.pm-btn--orange:hover {
  background: #e85a2e;
  transform: translateY(-2px);
}

.pm-btn--full {
  width: 100%;
  min-height: 60px;
  font-size: 16px;
}

/* === СЕКЦИЯ ПОСТУПЛЕНИЯ === */
.pm-admission-section {
  padding: 0 24px 86px;
  background: #fbf8f2;
}

.pm-admission__container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

/* Тёмный баннер со скидками */
.pm-discount-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 40px 48px;
  background: #17233f;
  border-radius: 34px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(23, 35, 63, 0.15);
}

.pm-discount-banner__content h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pm-discount-banner__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.5;
  max-width: 500px;
}

.pm-discount-banner__stats {
  display: flex;
  gap: 20px;
}

.pm-discount-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-discount-stat strong {
  display: block;
  color: #ff6b3d;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.pm-discount-stat span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

/* Обертка формы */
.pm-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(23, 35, 63, 0.08);
}

.pm-form-info {
  padding: 48px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(234, 243, 255, 0.8), transparent 40%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.pm-form-info__badge {
  display: inline-block;
  padding: 8px 14px;
  background: #eaf3ff;
  color: #273c75;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 24px;
}

.pm-form-info h2 {
  margin: 0 0 16px;
  color: #17233f;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.pm-form-info p {
  margin: 0 0 36px;
  color: #596273;
  font-size: 16px;
  line-height: 1.6;
}

.pm-form-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-form-contacts a {
  color: #17233f;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.pm-form-contacts a:hover {
  color: #ff6b3d;
}

.pm-form-contacts span {
  color: #667085;
  font-size: 14px;
  margin-top: 8px;
}

.pm-form-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

/* Адаптив */
@media (max-width: 1100px) {
  .pm-tuition__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pm-discount-banner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .pm-discount-banner__content p {
    margin: 0 auto;
  }
  .pm-discount-banner__stats {
    justify-content: center;
  }
  .pm-form-wrapper {
    grid-template-columns: 1fr;
  }
  .pm-form-info {
    padding: 40px 30px;
  }
  .pm-form-card {
    padding: 0 30px 40px;
  }
}

@media (max-width: 700px) {
  .pm-tuition-section {
    padding: 60px 16px;
  }
  .pm-tuition__grid {
    grid-template-columns: 1fr;
  }
  .pm-discount-banner {
    padding: 30px 20px;
    border-radius: 24px;
  }
  .pm-discount-banner__stats {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .pm-discount-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
  }
  .pm-discount-stat strong {
    margin-bottom: 0;
    font-size: 28px;
  }
  .pm-form-info h2 {
    font-size: 28px;
  }
  .pm-form-contacts a {
    font-size: 18px;
  }
}
.pm-price-card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.pm-price-card__links a {
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(102, 112, 133, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pm-price-card__links a:hover {
  color: #273c75;
  border-bottom-color: #273c75;
}

/* =========================================================
   СТРАНИЦА КОНТАКТЫ
   ========================================================= */

.pm-contacts-section {
  padding: 86px 24px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(234, 243, 255, 0.5), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
}

.pm-contacts__container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

/* Шапка */
.pm-contacts__head {
  margin-bottom: 48px;
  max-width: 800px;
}

.pm-contacts__title {
  margin: 0 0 16px;
  color: #17233f;
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pm-contacts__desc {
  margin: 0;
  color: #596273;
  font-size: 17px;
  line-height: 1.6;
}

/* Сетка */
.pm-contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

/* Левая колонка - Карточка */
.pm-contacts-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: #ffffff;
  border-radius: 34px;
  box-shadow: 0 20px 56px rgba(23, 35, 63, 0.07);
}

/* Элементы контактов */
.pm-contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.pm-contact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf3ff;
  color: #273c75;
}

.pm-contact-item__icon svg {
  width: 22px;
  height: 22px;
}

.pm-contact-item__label {
  display: block;
  margin-bottom: 8px;
  color: #8c96a8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-contact-item__value {
  margin: 0 0 6px;
  color: #17233f;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.pm-contact-item__meta {
  display: block;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
}

/* Телефоны */
.pm-contact-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.pm-contact-phones a {
  color: #17233f;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.pm-contact-phones a:hover {
  color: #ff6b3d;
}

/* Почта */
.pm-contact-email {
  display: inline-block;
  margin-bottom: 12px;
  color: #17233f;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pm-contact-email:hover {
  color: #ff6b3d;
}

.pm-contact-socials {
  display: flex;
  gap: 16px;
}

.pm-contact-socials a {
  color: #596273;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(89, 98, 115, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pm-contact-socials a:hover {
  color: #273c75;
  border-color: #273c75;
}

/* Кнопки */
.pm-contacts-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto; /* Прижимает кнопки к низу карточки */
  padding-top: 32px;
}

.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.pm-btn--orange {
  background: #ff6b3d;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(255, 107, 61, 0.25);
}

.pm-btn--orange:hover {
  background: #e85a2e;
  transform: translateY(-2px);
}

.pm-btn--outline {
  background: transparent;
  color: #17233f;
  border: 1px solid rgba(23, 35, 63, 0.15);
}

.pm-btn--outline:hover {
  background: #f4f8ff;
  border-color: #17233f;
}

/* Правая колонка - Карта */
.pm-contacts-map {
  overflow: hidden;
  border-radius: 34px;
  background: #eaf3ff;
  box-shadow: 0 20px 56px rgba(23, 35, 63, 0.07);
  min-height: 500px;
}

.pm-contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* АДАПТИВ */
@media (max-width: 1100px) {
  .pm-contacts__grid {
    grid-template-columns: 1fr;
  }
  
  .pm-contacts-map {
    min-height: 400px;
    order: -1; /* Карта будет сверху на планшетах */
  }
}

@media (max-width: 700px) {
  .pm-contacts-section {
    padding: 60px 16px;
  }
  
  .pm-contacts__container {
    width: min(100%, calc(100vw - 32px));
  }
  
  .pm-contacts-card {
    padding: 28px 24px;
    border-radius: 28px;
  }
  
  .pm-contact-item {
    gap: 16px;
    margin-bottom: 28px;
  }
  
  .pm-contact-phones a {
    font-size: 20px;
  }
  
  .pm-contacts-map {
    min-height: 300px;
    border-radius: 28px;
  }
  
  .pm-contacts-actions {
    padding-top: 24px;
  }
}

/* =========================================================
   ALUMNI PAGE (ВЫПУСКНИКИ) - PREMIUM REDESIGN
   ========================================================= */

.pm-alumni-wrapper {
  background: #fbf8f2; /* Теплый фон */
  padding-bottom: 60px;
  font-family: inherit;
}

.pm-alumni-container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

/* === 1. HERO SECTION === */
.pm-alumni-hero {
  padding: 90px 0 70px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(234, 243, 255, 0.6), transparent 40%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
  text-align: center;
}

.pm-alumni-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.pm-alumni-kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #273c75;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-alumni-title {
  margin: 0 0 24px;
  color: #17233f;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pm-alumni-subtitle {
  margin: 0 auto 40px;
  color: #596273;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  font-weight: 450;
  max-width: 680px;
}

/* Статистика */
.pm-alumni-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.pm-alumni-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pm-alumni-stat strong {
  color: #ff6b3d;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pm-alumni-stat span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

/* === 2. TIMELINE SECTION === */
.pm-alumni-timeline-section {
  padding: 40px 0 80px;
  position: relative;
}

/* Карточка года */
.pm-alumni-year-card {
  position: relative;
  margin-bottom: 40px;
  padding: 40px;
  background: #ffffff;
  border-radius: 38px;
  box-shadow: 
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 24px 60px rgba(23, 35, 63, 0.06);
  border: 1px solid rgba(23, 35, 63, 0.04);
}

/* Бейдж с годом */
.pm-alumni-year-badge {
  position: absolute;
  top: -20px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: #17233f;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(23, 35, 63, 0.2);
}

/* Сетка внутри карточки */
.pm-alumni-year-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  margin-top: 10px;
}

/* Фото выпуска */
.pm-alumni-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #eaf3ff;
  aspect-ratio: 4 / 3;
}

.pm-alumni-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pm-alumni-year-card:hover .pm-alumni-photo img {
  transform: scale(1.05);
}

/* Список выпускников */
.pm-alumni-list-wrap {
  padding-top: 10px;
}

.pm-alumni-list {
  margin: 0;
  padding: 0;
  list-style: none;
  
  /* Два столбца для списка на десктопе, чтобы сэкономить место */
  columns: 2;
  column-gap: 30px;
}

.pm-alumni-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  color: #596273;
  font-size: 15px;
  line-height: 1.5;
  break-inside: avoid; /* Чтобы элемент не разрывался между колонками */
}

/* Оранжевая точка-маркер */
.pm-alumni-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b3d;
}

.pm-alumni-list li strong {
  color: #17233f;
  font-weight: 800;
}

/* === 3. CTA SECTION === */
.pm-alumni-cta-section {
  padding: 0 0 60px;
}

.pm-alumni-cta-card {
  padding: 60px;
  background: 
    radial-gradient(circle at 90% 10%, rgba(255, 107, 61, 0.15), transparent 40%),
    linear-gradient(135deg, #17233f 0%, #273c75 100%);
  border-radius: 38px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 30px 80px rgba(23, 35, 63, 0.15);
}

.pm-alumni-cta-card h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.pm-alumni-cta-card p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.5;
  max-width: 600px;
}

/* Кнопка */
.pm-alumni-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 32px;
  background: #ff6b3d;
  color: #ffffff !important;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(255, 107, 61, 0.3);
}

.pm-alumni-btn i {
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 16px;
}

.pm-alumni-btn:hover {
  background: #e85a2e;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(255, 107, 61, 0.4);
}

/* === 4. АДАПТИВНОСТЬ === */
@media (max-width: 992px) {
  .pm-alumni-year-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .pm-alumni-list {
    columns: 1; /* В одну колонку на планшетах */
  }

  .pm-alumni-year-card {
    padding: 40px 30px 30px; /* Увеличили отступ сверху, чтобы освободить место для бейджа */
  }

  .pm-alumni-year-badge {
    left: 30px;
    top: -20px;
    font-size: 20px;
    padding: 8px 20px;
  }

  .pm-alumni-achievement {
    display: block;
    margin: 16px 0 24px 0; /* Убрали отрицательный отступ */
    max-width: 100%; /* Разрешаем плашке занимать всю ширину на мобильных */
  }
}

@media (max-width: 768px) {
  .pm-alumni-hero {
    padding: 60px 0 40px;
  }

  .pm-alumni-stats {
    gap: 24px;
  }

  .pm-alumni-year-card {
    padding: 40px 24px 24px; /* Увеличили отступ сверху */
    border-radius: 28px;
  }

  .pm-alumni-year-badge {
    left: 24px;
    top: -18px;
    font-size: 18px;
    padding: 8px 18px;
  }

  .pm-alumni-photo {
    aspect-ratio: 16 / 9;
  }

  .pm-alumni-achievement {
    margin-top: 16px;
    margin-bottom: 20px;
  }
  
  .pm-alumni-cta-card {
    padding: 40px 24px;
    border-radius: 28px;
  }
  
  .pm-alumni-list li {
    font-size: 14px;
  }
}

/* Плашка с достижениями года */
.pm-alumni-achievement {
  display: block;
  margin: 24px 0 24px 0; /* Добавили отступ сверху, чтобы освободить место для года */
  padding: 10px 18px;
  background: #fff0e6;
  color: #b45b3d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 12px;
  border-left: 4px solid #ff6b3d;
  max-width: fit-content; /* Чтобы плашка не растягивалась на всю ширину, если текст короткий */
}

/* На мобильных плашка будет вставать над фото */
@media (max-width: 992px) {
  .pm-alumni-achievement {
    display: block;
    margin-top: -10px;
  }
}

/* Запрещаем перенос внутри названия бренда */
.pm-nowrap {
  white-space: nowrap;
}

/* Улучшаем типографику заголовка */
.pm-alumni-title {
  text-wrap: balance; /* Балансирует строки */
  max-width: 900px;   /* Чуть увеличим ширину, чтобы было больше воздуха */
  margin-left: auto;
  margin-right: auto;
}
/* Блок с отзывом внутри карточки года */
.pm-alumni-quote-box {
  margin-top: 30px;
  padding: 24px 28px;
  background: #f8fbff;
  border-left: 4px solid #ff6b3d;
  border-radius: 12px;
  position: relative;
}

.pm-alumni-quote-box::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 16px;
  font-family: Georgia, serif;
  font-size: 60px;
  line-height: 1;
  color: rgba(255, 107, 61, 0.15);
  pointer-events: none;
}

.pm-alumni-quote-text {
  position: relative;
  margin: 0 0 16px;
  color: #596273;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  z-index: 1;
}

.pm-alumni-quote-author {
  display: block;
  color: #17233f;
  font-size: 14px;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Адаптив */
@media (max-width: 768px) {
  .pm-alumni-quote-box {
    padding: 20px;
    margin-top: 24px;
  }
  .pm-alumni-quote-box::before {
    font-size: 48px;
    top: 8px;
    left: 12px;
  }
  .pm-alumni-quote-text {
    font-size: 14px;
  }
}

/* Стили для ссылки на лицензию в блоке академических преимуществ */
.pm-license-link {
  flex-wrap: wrap; /* Разрешаем перенос текста на узких экранах */
  gap: 6px; /* Отступ между иконкой и текстом */
  font-size: 14px;
}

.pm-license-link span {
  margin-left: 4px;
}

@media (max-width: 700px) {
  .pm-license-link {
    font-size: 13px;
    align-items: flex-start;
  }
}

/* === БЛОК С ОТЗЫВОМ ВЫПУСКНИКА (FEATURED REVIEW) === */
.pm-alumni-featured-review {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding: 32px;
  background: #f8fbff; /* Нежно-голубой фон, чтобы выделялось */
  border-radius: 24px;
  border: 1px solid rgba(23, 35, 63, 0.06);
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Декоративная кавычка на фоне */
.pm-alumni-featured-review::before {
  content: "“";
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 160px;
  line-height: 1;
  color: rgba(255, 107, 61, 0.08);
  pointer-events: none;
}

.pm-alumni-review-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(23, 35, 63, 0.12);
}

.pm-alumni-review-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pm-alumni-review-content {
  position: relative;
  z-index: 1;
}

.pm-alumni-review-text {
  margin: 0 0 20px;
  color: #273c75;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  font-style: italic;
}

.pm-alumni-review-text strong {
  color: #ff6b3d;
  font-weight: 800;
  font-style: normal;
}

.pm-alumni-review-author {
  display: block;
  color: #17233f;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
}

.pm-alumni-review-uni {
  display: block;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}

/* Адаптив для мобильных */
@media (max-width: 900px) {
  .pm-alumni-featured-review {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .pm-alumni-review-photo {
    max-width: 240px;
    aspect-ratio: 1 / 1; /* На мобильных сделаем квадратным */
  }
}

/* =========================================================
   HISTORY PAGE / СТРАНИЦА ИСТОРИИ ШКОЛЫ
   ========================================================= */

.pm-history-wrapper {
  --pm-h-navy: #17233f;
  --pm-h-blue: #273c75;
  --pm-h-orange: #ff6b3d;
  --pm-h-muted: #596273;
  --pm-h-line: rgba(23, 35, 63, 0.1);
  --pm-h-shadow: 0 22px 58px rgba(23, 35, 63, 0.08);

  background: #fbf8f2;
  color: var(--pm-h-navy);
  font-family: inherit;
}

.pm-history-container {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.pm-history-hero {
  padding: 58px 24px 80px;
  background:
    radial-gradient(circle at 9% 24%, rgba(234, 243, 255, 0.78), transparent 32%),
    radial-gradient(circle at 90% 11%, rgba(255, 236, 224, 0.7), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 100%);
}

.pm-history-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.pm-history-hero__kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding-left: 22px;
  color: var(--pm-h-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pm-history-hero__kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pm-h-orange);
  box-shadow: 0 0 0 6px rgba(255, 107, 61, 0.12);
}

.pm-history-hero__title {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--pm-h-navy);
  font-size: clamp(46px, 4.3vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.pm-history-hero__lead {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--pm-h-muted);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.53;
}

.pm-history-hero__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--pm-h-navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(23, 35, 63, 0.08),
    0 8px 24px rgba(23, 35, 63, 0.06);
  transition: all 0.22s ease;
}

.pm-history-hero__address:hover {
  color: var(--pm-h-blue);
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(39, 60, 117, 0.15),
    0 12px 28px rgba(23, 35, 63, 0.1);
}

.pm-history-hero__address-icon {
  width: 18px;
  height: 18px;
  color: var(--pm-h-orange);
  flex-shrink: 0;
}

.pm-history-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.pm-history-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.pm-history-btn--primary {
  background: var(--pm-h-orange);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 107, 61, 0.25);
}

.pm-history-btn--primary i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-style: normal;
  font-size: 16px;
}

.pm-history-btn--primary:hover {
  background: #e85a2e;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 107, 61, 0.35);
}

.pm-history-btn--light {
  background: #fff;
  color: var(--pm-h-navy);
  box-shadow:
    inset 0 0 0 1px rgba(23, 35, 63, 0.1),
    0 12px 26px rgba(23, 35, 63, 0.05);
}

.pm-history-btn--light:hover {
  color: var(--pm-h-blue);
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(39, 60, 117, 0.2),
    0 16px 32px rgba(23, 35, 63, 0.08);
}

.pm-history-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  border-top: 1px solid var(--pm-h-line);
  border-bottom: 1px solid var(--pm-h-line);
}

.pm-history-hero__stats div {
  padding: 16px 18px 16px 0;
  border-right: 1px solid var(--pm-h-line);
}

.pm-history-hero__stats div + div { padding-left: 18px; }
.pm-history-hero__stats div:last-child { border-right: 0; }

.pm-history-hero__stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--pm-h-navy);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pm-history-hero__stats span {
  display: block;
  color: #667085;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
}

.pm-history-hero__visual {
  position: relative;
  min-width: 0;
  padding: 24px 0 28px 28px;
}

.pm-history-hero__photo {
  height: 560px;
  border-radius: 38px;
  overflow: hidden;
  background: #eaf3ff;
  box-shadow: 0 28px 70px rgba(23, 35, 63, 0.15);
}

.pm-history-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- ЮБИЛЕЙНАЯ ПЕЧАТЬ --- */

.pm-history-seal {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--pm-h-orange),
    0 0 0 10px rgba(255, 107, 61, 0.12),
    0 24px 60px rgba(23, 35, 63, 0.2);
  z-index: 3;
}

.pm-history-seal__year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--pm-h-orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.pm-history-seal__year--top    { top: 22px; }
.pm-history-seal__year--bottom { bottom: 22px; }

.pm-history-seal__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.pm-history-seal__center strong {
  display: block;
  color: var(--pm-h-navy);
  font-size: 76px;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.pm-history-seal__center span {
  display: block;
  margin-top: 6px;
  color: var(--pm-h-navy);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* =========================================================
   СЛОВО ПРЕЗИДЕНТА
   ========================================================= */

.pm-history-quote {
  padding: 0 24px 80px;
  background: #fbf8f2;
}

.pm-history-quote__card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 40px;
  border-radius: 34px;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 20px 56px rgba(23, 35, 63, 0.07);
  position: relative;
  overflow: hidden;
}

.pm-history-quote__card::before {
  content: "“";
  position: absolute;
  top: -20px;
  right: 30px;
  font-family: Georgia, serif;
  font-size: 200px;
  line-height: 1;
  color: rgba(255, 107, 61, 0.08);
  pointer-events: none;
}

.pm-history-quote__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: #eaf3ff;
  box-shadow: 0 12px 30px rgba(23, 35, 63, 0.1);
}

.pm-history-quote__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-history-quote__content {
  position: relative;
  z-index: 1;
}

.pm-history-quote__label {
  display: block;
  margin-bottom: 18px;
  color: #b45b3d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-history-quote__text {
  margin: 0 0 22px;
  color: var(--pm-h-navy);
  font-size: 20px;
  line-height: 1.55;
  font-style: italic;
  font-weight: 500;
}

.pm-history-quote__author {
  display: block;
  margin-bottom: 4px;
  color: var(--pm-h-navy);
  font-size: 17px;
  font-weight: 900;
}

.pm-history-quote__role {
  color: #667085;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
}

/* =========================================================
   ТАЙМЛАЙН / 4 ЭПОХИ
   ========================================================= */

.pm-history-timeline {
  padding: 86px 24px 96px;
  background:
    radial-gradient(circle at 10% 18%, rgba(234, 243, 255, 0.7), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255, 240, 230, 0.72), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.pm-history-timeline__head {
  display: grid;
  grid-template-columns: 240px minmax(0, 650px) minmax(300px, 430px);
  gap: 48px;
  align-items: start;
  margin-bottom: 54px;
}

.pm-history-timeline__label {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #b45b3d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-history-timeline__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pm-h-orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-history-timeline__title {
  max-width: 650px;
  margin: 0;
  color: var(--pm-h-navy);
  font-size: clamp(38px, 3.6vw, 58px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.pm-history-timeline__intro {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--pm-h-muted);
  font-size: 17px;
  line-height: 1.62;
}

/* --- ЭПОХИ --- */

.pm-history-era {
  margin-bottom: 60px;
}

.pm-history-era:last-child {
  margin-bottom: 0;
}

.pm-history-era__head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 0 0 18px;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(23, 35, 63, 0.12);
}

.pm-history-era__num {
  color: var(--pm-h-orange);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pm-history-era__head h3 {
  flex: 1;
  margin: 0;
  color: var(--pm-h-navy);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.pm-history-era__range {
  color: var(--pm-h-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* --- ЛЕНТА ВЕХ --- */

.pm-history-timeline__list {
  position: relative;
  padding-left: 140px;
}

.pm-history-timeline__list::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(23, 35, 63, 0.12) 6%,
    rgba(23, 35, 63, 0.12) 94%,
    transparent 100%
  );
}

.pm-history-milestone {
  position: relative;
  margin-bottom: 22px;
}

.pm-history-milestone__marker {
  position: absolute;
  left: -140px;
  top: 24px;
  width: 120px;
  display: flex;
  justify-content: center;
}

.pm-history-milestone__marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--pm-h-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow:
    0 0 0 6px #fbf8f2,
    0 10px 24px rgba(23, 35, 63, 0.2);
  z-index: 2;
}

.pm-history-milestone__card {
  position: relative;
  padding: 26px 30px 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 18px 48px rgba(23, 35, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm-history-milestone:hover .pm-history-milestone__card {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 24px 60px rgba(23, 35, 63, 0.1);
}

.pm-history-milestone__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #fff0e6;
  color: #b45b3d;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-history-milestone__badge--blue {
  background: #eaf3ff;
  color: var(--pm-h-blue);
}

.pm-history-milestone__badge--gold {
  background: #fef3c7;
  color: #92400e;
}

.pm-history-milestone__badge--green {
  background: #d1fae5;
  color: #047857;
}

.pm-history-milestone__badge--orange {
  background: rgba(255, 107, 61, 0.18);
  color: #ffb79e;
}

.pm-history-milestone__card h3 {
  margin: 0 0 10px;
  color: var(--pm-h-navy);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.pm-history-milestone__card p {
  max-width: 640px;
  margin: 0;
  color: #667085;
  font-size: 15.5px;
  line-height: 1.55;
}

.pm-history-milestone__link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--pm-h-navy);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 35, 63, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pm-history-milestone__link:hover {
  color: var(--pm-h-orange);
  border-bottom-color: var(--pm-h-orange);
}

/* --- АКЦЕНТНЫЕ ВЕХИ --- */

.pm-history-milestone--accent .pm-history-milestone__marker span {
  background: var(--pm-h-blue);
  box-shadow:
    0 0 0 6px #fbf8f2,
    0 0 0 10px rgba(39, 60, 117, 0.12),
    0 10px 24px rgba(39, 60, 117, 0.22);
}

.pm-history-milestone--featured .pm-history-milestone__marker span {
  background: var(--pm-h-orange);
  box-shadow:
    0 0 0 6px #fbf8f2,
    0 0 0 10px rgba(255, 107, 61, 0.14),
    0 10px 24px rgba(255, 107, 61, 0.3);
}

.pm-history-milestone--dark .pm-history-milestone__card {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 107, 61, 0.18), transparent 30%),
    linear-gradient(135deg, #17233f 0%, #273c75 100%);
}

.pm-history-milestone--dark .pm-history-milestone__card h3 {
  color: #fff;
}

.pm-history-milestone--dark .pm-history-milestone__card p {
  color: rgba(255, 255, 255, 0.75);
}

.pm-history-milestone--dark .pm-history-milestone__link {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.pm-history-milestone--dark .pm-history-milestone__marker span {
  background: var(--pm-h-orange);
}

/* =========================================================
   КРОСС-ЛИНКИ
   ========================================================= */

.pm-history-links {
  padding: 86px 24px 96px;
  background: #fbf8f2;
}

.pm-history-links__head {
  display: grid;
  grid-template-columns: 240px minmax(0, 650px) minmax(300px, 430px);
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.pm-history-links__label {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #b45b3d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-history-links__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pm-h-orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 61, 0.12);
}

.pm-history-links__title {
  margin: 0;
  color: var(--pm-h-navy);
  font-size: clamp(38px, 3.6vw, 58px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.pm-history-links__intro {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--pm-h-muted);
  font-size: 17px;
  line-height: 1.62;
}

.pm-history-links__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pm-history-link {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 20px 56px rgba(23, 35, 63, 0.06);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm-history-link:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(23, 35, 63, 0.08),
    0 24px 64px rgba(23, 35, 63, 0.1);
}

.pm-history-link > span {
  display: block;
  margin-bottom: 30px;
  color: #aeb5c0;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.pm-history-link h3 {
  margin: 0 0 8px;
  color: var(--pm-h-navy);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.pm-history-link p {
  margin: 0 0 22px;
  color: #667085;
  font-size: 14.5px;
  line-height: 1.5;
}

.pm-history-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--pm-h-navy);
  color: #fff;
  font-style: normal;
  font-size: 17px;
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.pm-history-link:hover i {
  background: var(--pm-h-orange);
  transform: translateX(3px);
}

/* =========================================================
   CTA
   ========================================================= */

.pm-history-cta {
  padding: 0 24px 92px;
  background: #fbf8f2;
}

.pm-history-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 107, 61, 0.15), transparent 40%),
    linear-gradient(135deg, #17233f 0%, #273c75 100%);
  box-shadow: 0 30px 80px rgba(23, 35, 63, 0.18);
}

.pm-history-cta__content > span {
  display: block;
  margin-bottom: 16px;
  color: #ffb79e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-history-cta h2 {
  max-width: 720px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.pm-history-cta__content p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 1280px) {
  .pm-history-timeline__head,
  .pm-history-links__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pm-history-timeline__title,
  .pm-history-timeline__intro,
  .pm-history-links__title,
  .pm-history-links__intro {
    max-width: 780px;
  }

  .pm-history-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .pm-history-hero__grid {
    grid-template-columns: 1fr;
  }

  .pm-history-hero__photo {
    height: 470px;
  }

  .pm-history-seal {
    width: 170px;
    height: 170px;
    top: -10px;
    right: -10px;
  }

  .pm-history-seal__center strong { font-size: 62px; }
  .pm-history-seal__center span   { font-size: 12px; }
  .pm-history-seal__year          { font-size: 10px; }
  .pm-history-seal__year--top     { top: 18px; }
  .pm-history-seal__year--bottom  { bottom: 18px; }

  .pm-history-cta__card {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 900px) {
  .pm-history-quote__card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .pm-history-quote__photo {
    max-width: 220px;
    aspect-ratio: 1 / 1;
  }

  .pm-history-quote__text {
    font-size: 17px;
  }

  .pm-history-era__head {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .pm-history-era__head h3 {
    flex-basis: 100%;
    order: 3;
  }

  .pm-history-timeline__list {
    padding-left: 0;
  }

  .pm-history-timeline__list::before {
    display: none;
  }

  .pm-history-milestone__marker {
    position: static;
    width: auto;
    margin-bottom: 14px;
  }

  .pm-history-milestone__marker span {
    width: auto;
    height: auto;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(23, 35, 63, 0.18);
  }

  .pm-history-milestone__card {
    padding: 24px;
  }
}

@media (max-width: 700px) {
  .pm-history-hero {
    padding: 40px 16px 56px;
  }

  .pm-history-container {
    width: calc(100vw - 32px);
  }

  .pm-history-hero__kicker {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .pm-history-hero__title {
    margin-bottom: 20px;
    font-size: clamp(38px, 11vw, 52px);
  }

  .pm-history-hero__lead {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .pm-history-hero__address {
    white-space: normal;
    text-align: left;
    font-size: 14px;
    margin-bottom: 24px;
  }

  .pm-history-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    margin-bottom: 26px;
  }

  .pm-history-btn {
    width: 100%;
    white-space: normal;
  }

  .pm-history-hero__stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .pm-history-hero__stats div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--pm-h-line);
  }

  .pm-history-hero__stats div + div { padding-left: 0; }
  .pm-history-hero__stats div:last-child { border-bottom: 0; }

  .pm-history-hero__visual {
    padding: 0;
  }

  .pm-history-hero__photo {
    height: auto;
    aspect-ratio: 16 / 11;
    border-radius: 27px;
  }

  .pm-history-seal {
    width: 130px;
    height: 130px;
    top: 10px;
    right: 10px;
  }

  .pm-history-seal__center strong { font-size: 48px; }
  .pm-history-seal__center span   { font-size: 10px; }
  .pm-history-seal__year          { font-size: 9px; }
  .pm-history-seal__year--top     { top: 14px; }
  .pm-history-seal__year--bottom  { bottom: 14px; }

  .pm-history-quote {
    padding: 0 16px 56px;
  }

  .pm-history-quote__card {
    padding: 22px;
    border-radius: 28px;
  }

  .pm-history-quote__card::before {
    font-size: 120px;
    top: -10px;
    right: 10px;
  }

  .pm-history-timeline,
  .pm-history-links {
    padding: 62px 16px 72px;
  }

  .pm-history-timeline__title,
  .pm-history-links__title {
    font-size: clamp(32px, 9vw, 43px);
  }

  .pm-history-timeline__intro,
  .pm-history-links__intro {
    font-size: 16px;
  }

  .pm-history-era {
    margin-bottom: 40px;
  }

  .pm-history-era__head {
    margin-bottom: 22px;
  }

  .pm-history-era__head h3 {
    font-size: 24px;
  }

  .pm-history-milestone__card h3 {
    font-size: 21px;
  }

  .pm-history-links__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pm-history-cta {
    padding: 0 16px 70px;
  }

  .pm-history-cta__card {
    padding: 28px 22px;
    border-radius: 28px;
  }
}

@media (max-width: 420px) {
  .pm-history-hero {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pm-history-container {
    width: calc(100vw - 24px);
  }
}

/* =========================================================
   УМЕНЬШЕНИЕ АНИМАЦИИ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .pm-history-wrapper *,
  .pm-history-wrapper *::before,
  .pm-history-wrapper *::after {
    transition: none;
  }

  .pm-history-milestone:hover .pm-history-milestone__card,
  .pm-history-link:hover,
  .pm-history-btn:hover,
  .pm-history-hero__address:hover {
    transform: none;
  }
}

.pm-history-wrapper {
  --pm-h-navy: #17233f;
  --pm-h-blue: #273c75;
  --pm-h-orange: #ff6b3d;
  --pm-h-muted: #596273;
  --pm-h-line: rgba(23, 35, 63, 0.1);
  --pm-h-shadow: 0 22px 58px rgba(23, 35, 63, 0.08);  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: hidden; /* Защита от горизонтального скролла */
  background: #fbf8f2;
  color: var(--pm-h-navy);
  font-family: inherit;
}

/* --- ОТЗЫВЫ РОДИТЕЛЕЙ --- */
.pm-primary-reviews-section {
  padding: 86px 24px 94px;
  background: 
    radial-gradient(circle at 8% 15%, rgba(234, 243, 255, 0.55), transparent 31%),
    linear-gradient(180deg, #fffdf8 0%, #f8f5ee 100%);
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.pm-primary-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.pm-review-card {
  display: flex;
  flex-direction: column;
  padding: 28px 25px;
  border: 1px solid rgba(23, 35, 63, 0.07);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(23, 35, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(23, 35, 63, 0.1);
}

.pm-review-card__stars {
  color: #ff6b3d;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.pm-review-card h4 {
  margin: 0 0 12px;
  color: #17233f;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pm-review-card p {
  margin: 0 0 24px;
  color: #596273;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 450;
  flex-grow: 1;
}

.pm-review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 35, 63, 0.08);
}

.pm-review-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf3ff;
  color: #273c75;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.pm-review-card__name {
  color: #17233f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.pm-review-card__status {
  display: block;
  color: #8c96a8;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

@media (max-width: 1200px) {
  .pm-primary-reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pm-primary-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-primary-reviews-section { padding: 62px 24px 70px; }
}

@media (max-width: 700px) {
  .pm-primary-reviews-section { padding: 62px 0 70px; }
  .pm-primary-reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .pm-review-card { padding: 24px; border-radius: 24px; }
}

/* --- ДОБРЫЕ ДЕЛА (БЛАГОТВОРИТЕЛЬНОСТЬ) --- */
.pm-primary-charity-section {
  padding: 86px 24px 94px;
  background: #17233f;
  color: #ffffff;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.pm-charity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.pm-charity-card {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.pm-charity-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.pm-charity-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.pm-charity-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .pm-charity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .pm-charity-grid { grid-template-columns: 1fr; gap: 14px; }
  .pm-primary-charity-section { padding: 62px 24px 70px; }
}

@media (max-width: 700px) {
  .pm-primary-charity-section { padding: 62px 0 70px; }
  .pm-charity-card { padding: 24px; border-radius: 24px; }
}

/* =========================================================
   НОВЫЕ СТИЛИ ДЛЯ БЛОКА "ШКОЛЬНАЯ ЖИЗНЬ"
   ========================================================= */

/* Отступ для второй строки карточек, чтобы убрать inline-стили из HTML */
.pm-primary-stories--spaced {
  margin-top: 17px;
}

/* Блок с экскурсиями */
.pm-primary-excursions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 17px;
}

.pm-excursion-item {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(23, 35, 63, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm-excursion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(23, 35, 63, 0.08);
}

.pm-excursion-item h4 {
  margin: 0 0 8px;
  color: #17233f;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.pm-excursion-item p {
  margin: 0;
  color: #596273;
  font-size: 14px;
  line-height: 1.5;
}

/* Адаптив для экскурсий */
@media (max-width: 1100px) {
  .pm-primary-excursions { 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
  }
}

@media (max-width: 700px) {
  .pm-primary-excursions { 
    grid-template-columns: 1fr; 
    gap: 12px; 
  }
  .pm-excursion-item { 
    padding: 20px; 
    border-radius: 20px; 
  }
}
