@charset "UTF-8";
/* Указываем box sizing */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы и маркеры списков с нулевой специфичностью */
:where(ul[class], ol[class]) {
  padding: 0;
  list-style: none;
}

/* Убираем внешние отступы с нулевой специфичностью */
:where(body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd) {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  display: block;
}

/* Автоотступы только для простых текстовых <article> без классов, чтобы не сдвигать карточки */
:where(article:not([class]) > * + *) {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

/* Удаляем все анимации и переходы для людей, которые предпочитают их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Запас прокрутки под фиксированную шапку с воздухом под рамку подсветки */
[id] {
  scroll-margin-top: 14rem;
}

@keyframes anchorHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0.32);
    outline: 2px solid #0e63ae;
    outline-offset: 8px;
  }
  45% {
    box-shadow: 0 0 0 10px rgba(14, 99, 174, 0.1);
    outline: 2px solid #0e63ae;
    outline-offset: 8px;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0);
    outline: 2px solid transparent;
    outline-offset: 8px;
  }
}
@keyframes anchorFramePulse {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0.24);
  }
  18% {
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(14, 99, 174, 0.08);
  }
  70% {
    opacity: 1;
    box-shadow: 0 0 0 12px rgba(14, 99, 174, 0.03);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(14, 99, 174, 0);
  }
}
/* Подсветка для отдельных карточек (у которых уже есть padding со всех сторон) */
.is-anchor-highlight {
  border-radius: 2.4rem;
  animation: anchorHighlightPulse 2.2s ease-out;
}

/* Подсветка для секций (.container): равный воздух 1.6rem сверху, снизу и по бокам без сдвига макета */
.container.is-anchor-highlight {
  position: relative;
  animation: none;
  outline: none;
  box-shadow: none;
}
.container.is-anchor-highlight::after {
  content: "";
  position: absolute;
  inset: -1.6rem 0.4rem;
  border: 2px solid rgba(14, 99, 174, 0.85);
  border-radius: 2.8rem;
  background: rgba(14, 99, 174, 0.025);
  pointer-events: none;
  animation: anchorFramePulse 2.2s ease-out forwards;
}

/* Мгновенный плавный возврат иконки + при закрытии анимированного <details> */
details.is-closing .adm-faq__icon,
details.is-closing .rat-item__plus,
details.is-closing .edu-program-row__plus {
  transform: rotate(0deg) !important;
}

.header {
  position: fixed;
  width: 100%;
  top: 1.4rem;
  left: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: top 0.25s ease;
}
.header__container {
  max-width: 144rem !important;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2.2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 0 2.6rem !important;
}

.bar-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 7.4rem;
  padding: 1rem 0;
}
.bar-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.bar-header__logo img {
  height: 4.8rem;
  width: auto;
  display: block;
}
.bar-header__search {
  display: flex;
  align-items: center;
}
.bar-header__search a {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: #eef5fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.bar-header__search a:hover {
  background: rgba(14, 99, 174, 0.16);
  transform: translateY(-1px);
}
.bar-header__search img {
  width: 1.8rem;
  height: 1.8rem;
  margin: 0;
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.menu__body {
  margin-right: 2rem;
}
.menu__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
}
.menu__item {
  position: relative;
  margin-right: 0;
}
.menu__item-row {
  display: flex;
  align-items: center;
}
.menu__link {
  color: #0f172a;
  font-size: 1.52rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  padding: 0.9rem 1.25rem;
  border-radius: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.menu__link.active {
  color: #0e63ae;
  background: #eef5fc;
  font-weight: 600;
}
.menu__link:hover {
  color: #0e63ae;
  background: rgba(14, 99, 174, 0.07);
}
.menu__caret {
  font-size: 1.1rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.menu__toggle {
  display: none;
}
.menu__dropdown {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 24rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(14, 99, 174, 0.15);
  border-radius: 1.8rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}
.menu__dropdown::before {
  content: "";
  position: absolute;
  top: -1.2rem;
  left: 0;
  right: 0;
  height: 1.2rem;
}
.menu__dropdown li {
  margin: 0;
}
.menu__dropdown a {
  display: block;
  padding: 0.95rem 1.3rem;
  border-radius: 1.1rem;
  font-size: 1.42rem;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.menu__dropdown a:hover {
  background: #eef5fc;
  color: #0e63ae;
}
.menu__item--right .menu__dropdown {
  left: auto;
  right: 0;
}

@media (min-width: 1161px) {
  .menu__item--has-sub:hover .menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .menu__item--has-sub:hover .menu__caret {
    transform: rotate(180deg);
  }
}
.language-switcher {
  position: relative;
  cursor: pointer;
}
.language-switcher__icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.3rem;
  border-radius: 99rem;
  background: #eef5fc;
  border: 1px solid rgba(14, 99, 174, 0.16);
  transition: background-color 0.2s ease;
}
.language-switcher__icon:hover {
  background: rgba(14, 99, 174, 0.14);
}
.language-switcher__icon img {
  width: 2rem;
  height: 1.8rem;
  border-radius: 2px;
}
.language-switcher span {
  font-size: 1.45rem;
  color: #0e63ae;
  margin: 0;
  font-weight: 600;
  display: inline-block;
}
.language-switcher__menu {
  display: none;
  border-radius: 1.6rem;
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  left: auto;
  min-width: 11rem;
  padding: 0.8rem;
  background-color: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  z-index: 60;
}
.language-switcher__menu._active {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.language-switcher__item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  margin: 0;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.language-switcher__item:hover {
  background: #eef5fc;
}
.language-switcher__item span {
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 600;
}
.language-switcher__item img {
  width: 2rem;
  height: 1.8rem;
}

.burger-menu {
  display: none;
}

@media (max-width: 1360.98px) {
  .menu__link {
    font-size: 1.42rem;
    padding: 0.8rem 0.95rem;
  }
}
@media (max-width: 1160.98px) {
  [id] {
    scroll-margin-top: 12.4rem;
  }
  .header {
    top: 1rem;
    padding: 0 1.4rem;
  }
  .header__container {
    padding: 0 1.8rem !important;
    border-radius: 1.8rem;
  }
  .menu {
    gap: 0.8rem;
  }
  .menu__body {
    position: absolute;
    top: -600%;
    left: 0;
    width: 100%;
    margin-right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .menu__body._active {
    z-index: 5;
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    padding: 1.6rem;
    opacity: 1;
    pointer-events: auto;
    background-color: #ffffff;
    border: 1px solid rgba(14, 99, 174, 0.16);
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  }
  .menu__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .menu__item {
    width: 100%;
  }
  .menu__item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
  }
  .menu__link {
    flex: 1;
    padding: 1.1rem 1.4rem;
    font-size: 1.6rem;
  }
  .menu__caret {
    display: none;
  }
  .menu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(14, 99, 174, 0.18);
    background: #eef5fc;
    color: #0e63ae;
    font-size: 1.3rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }
  .menu__dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #eef5fc;
    border-radius: 1.4rem;
    margin: 0.4rem 0 0.8rem;
    padding: 0.6rem;
  }
  .menu__dropdown::before {
    display: none;
  }
  .menu__item._open .menu__dropdown {
    display: block;
  }
  .menu__item._open .menu__toggle {
    transform: rotate(180deg);
  }
  .burger-menu {
    z-index: 5;
    display: block;
    position: relative;
    width: 3.8rem;
    height: 3.8rem;
    cursor: pointer;
    background: #eef5fc;
    border: 1px solid rgba(14, 99, 174, 0.18);
    border-radius: 1.2rem;
    margin-left: 0.8rem;
  }
  .burger-menu span,
  .burger-menu::before,
  .burger-menu::after {
    left: 0.9rem;
    position: absolute;
    height: 2px;
    width: 1.8rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    background-color: #0e63ae;
  }
  .burger-menu::before,
  .burger-menu::after {
    content: "";
  }
  .burger-menu::before {
    top: 1.1rem;
  }
  .burger-menu::after {
    bottom: 1.1rem;
  }
  .burger-menu span {
    top: 50%;
    transform: scale(1) translate(0, -50%);
  }
  .burger-menu._active span {
    transform: scale(0) translate(0, -50%);
  }
  .burger-menu._active::before {
    top: 48%;
    transform: rotate(-45deg) translate(0, -50%);
  }
  .burger-menu._active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
  }
}
@media (max-width: 499.98px) {
  .bar-header {
    min-height: 6.4rem;
  }
  .bar-header__logo img {
    height: 4rem;
    width: auto;
  }
  .bar-header__search a {
    margin-right: 0.6rem;
    width: 3.4rem;
    height: 3.4rem;
  }
}
html,
body {
  height: 100%;
  line-height: 1;
  font-size: 62.5%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

.wrapper {
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  font-size: 1.8rem;
  flex: 1 1 auto;
}

.container {
  max-width: 148rem;
  width: 100%;
  margin: 0 auto;
  padding: 0rem 2rem;
}

.image-text {
  margin-top: 6rem;
  color: #0e63ae;
}
.image-text__title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 2rem;
}
.image-text__title a {
  color: #0e63ae;
  text-decoration: none;
}

.image-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6rem;
}
.image-text-block__text {
  color: #0e63ae;
  text-decoration: none;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.3;
  transition: all 0.2s ease;
}
.image-text-block__text a {
  color: #0e63ae;
  text-decoration: none;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 24px;
  transition: all 0.1s ease;
}
.image-text-block__text a:hover {
  margin-left: 0.5rem;
  font-weight: 600;
}
.image-text-block__image {
  max-height: 51rem;
}
.image-text-block__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.image-text-block li, .image-text-block p {
  margin-bottom: 1rem;
}

/* ============================== */
.brochure {
  margin: 6rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 99, 174, 0.5);
  border-radius: 40px;
}

.button-brochure {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 10rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  width: 100%;
  padding: 1rem 0;
}

.button-brochure span {
  font-size: 2rem;
  font-weight: 400;
  line-height: 39px;
  text-align: center;
}

.button-brochure:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 26, 48, 0.9);
  border-radius: 10rem;
  z-index: -2;
}

.button-brochure:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(0, 23, 43, 0.9);
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}

.button-brochure:hover {
  color: #fff;
}

.button-brochure:hover:before {
  width: 100%;
}

.title {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 2rem;
}
.title a {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 2rem;
  color: #0e63ae;
  text-decoration: none;
}

/* ============================== */
.start {
  margin-top: 10rem !important;
}
.start__block {
  position: relative;
}
.start__image img {
  height: 50svh;
  width: 100%;
  max-height: 90svh;
  object-fit: cover;
  border-radius: 20px;
}

.text-start {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  width: 100%;
  padding: 1rem 1rem 0rem;
  max-width: 92.5rem;
  background-color: #ffffff;
  border-radius: 40px;
  width: auto;
}
.text-start__title {
  color: #0e63ae;
  font-size: 3.2rem;
  line-height: 39px;
  font-weight: 600;
}
.text-start__text {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 29px;
}

/* ============================== */
.training-programs {
  margin-top: 2rem;
}
.training-programs h3 {
  font-size: 2.4rem;
}
.training-programs li {
  list-style-type: none;
  margin-left: -4rem;
}
.training-programs li a {
  color: #0e63ae;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 40px;
  text-decoration: none;
}

.want-details {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border: 1px solid #0e63ae;
  border-radius: 20px;
  text-decoration: none;
  transition: font-weight 100ms linear;
  will-change: font-weight;
}
.want-details:hover span {
  font-weight: 500;
}
.want-details span {
  color: #0e63ae;
  font-size: 2rem;
  font-weight: 400;
  line-height: 24px;
}

.button-back a {
  font-size: 2.2rem;
  color: #000;
  text-decoration: none;
  transition: margin-left 0.3s ease;
}
.button-back a:hover {
  font-weight: 500;
  margin-left: 0.5rem;
}

/* PC + LAPTOP*/
@media (max-width: 1281.98px) {
  .container {
    max-width: 108rem;
  }
  .text-start {
    max-width: 90%;
    padding: 1rem 1rem 0rem;
  }
  .text-start__title {
    font-size: 2.4rem;
  }
  .text-start__text {
    font-size: 2rem;
  }
  .training-programs h3 {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .training-programs ul {
    margin: 0;
  }
  .training-programs li a {
    font-size: 1.6rem;
  }
  .image-text-block__text {
    font-size: 2.2rem;
  }
}
@media (max-width: 1038.98px) {
  .title {
    font-size: 2.2rem;
  }
  .image-text-block {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 2rem;
  }
  .image-text-block__text {
    font-size: 2rem;
  }
}
/* TABLET */
@media (max-width: 860.98px) {
  .container {
    max-width: none;
  }
  .image-text-block {
    gap: 2rem;
  }
  .image-text-block__text {
    font-size: 2rem !important;
  }
  .start__image img {
    height: 100% !important;
    object-fit: contain !important;
  }
  .text-start {
    max-width: 90%;
    padding: 1rem 1rem 1rem;
    left: 2rem;
    bottom: 2rem;
  }
  .text-start__title {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .text-start__text {
    font-size: 1.6rem;
  }
}
@media (max-width: 668.98px) {
  .text-start {
    left: 1rem;
    bottom: 1rem;
    padding: 1rem 1rem 1rem 2rem;
  }
  .text-start__title {
    margin-bottom: 1rem;
  }
  .text-start__text {
    line-height: 1.8rem;
  }
  .want-details span {
    font-size: 1.6rem;
  }
}
/* MOBILE */
@media (max-width: 499.98px) {
  .text-start__title {
    margin-bottom: 0rem;
    font-size: 1.4rem;
    line-height: 1;
  }
  .text-start__text {
    line-height: 1.2rem;
    font-size: 1.2rem;
    display: none;
  }
  .brochure span {
    font-size: 1.6rem;
    line-height: 24px;
  }
  .title {
    font-size: 2rem;
  }
  .image-text-block__text {
    font-size: 1.6rem !important;
    max-width: 90vw;
  }
  .image-text-block__image {
    max-width: 90vw;
  }
  .want-details img {
    display: none;
  }
}
.wrapper {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body {
  background-color: #f7f8fa;
  color: #0f172a;
}

.srch-main {
  padding-top: 11.8rem;
  padding-bottom: 6.4rem;
  min-height: 70vh;
}

/* 1. ШАПКА ПОИСКА */
.srch-hero {
  background: linear-gradient(135deg, #0e63ae 0%, #09447a 100%);
  border-radius: 3rem;
  padding: 4rem 4.6rem;
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(14, 99, 174, 0.2);
  margin-bottom: 3rem;
}
.srch-hero__eyebrow {
  display: inline-block;
  padding: 0.45rem 1.3rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.srch-hero__title {
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #ffffff;
}
.srch-hero__lead {
  font-size: 1.56rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 72rem;
  margin: 0 0 2.6rem;
}

.srch-form {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  max-width: 82rem;
}
.srch-form__field {
  position: relative;
  flex: 1;
}
.srch-form__field svg {
  position: absolute;
  left: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  color: #475569;
  pointer-events: none;
}
.srch-form__field input {
  width: 100%;
  height: 5.4rem;
  border-radius: 99rem;
  border: 2px solid transparent;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.6rem;
  padding: 0 2.2rem 0 5rem;
  outline: none;
  box-shadow: 0 10px 26px rgba(7, 34, 61, 0.16);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.srch-form__field input::placeholder {
  color: #94a3b8;
}
.srch-form__field input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24);
}
.srch-form__btn {
  height: 5.4rem;
  padding: 0 2.8rem;
  border-radius: 99rem;
  border: none;
  background: #ffffff;
  color: #0e63ae;
  font-size: 1.52rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(7, 34, 61, 0.16);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.srch-form__btn:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.srch-suggestions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.srch-suggestions__label {
  font-size: 1.32rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-right: 0.4rem;
}
.srch-suggestions__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.35rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  font-size: 1.32rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.srch-suggestions__pill:hover {
  background: #ffffff;
  color: #0e63ae;
  transform: translateY(-1px);
}

/* 2. ТАБЫ И СЧЁТЧИК */
.srch-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}
.srch-bar__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.srch-bar__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  border-radius: 99rem;
  border: 1px solid rgba(14, 99, 174, 0.14);
  background: #ffffff;
  color: #475569;
  font-size: 1.38rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.srch-bar__tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  border-radius: 99rem;
  background: #eef5fc;
  color: #0e63ae;
  font-size: 1.2rem;
  font-weight: 700;
}
.srch-bar__tab:hover {
  border-color: rgba(14, 99, 174, 0.3);
  color: #0e63ae;
}
.srch-bar__tab._active {
  background: #0e63ae;
  border-color: #0e63ae;
  color: #ffffff;
}
.srch-bar__tab._active span {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.srch-bar__summary {
  font-size: 1.44rem;
  font-weight: 600;
  color: #475569;
}
.srch-bar__summary strong {
  color: #0f172a;
}

/* 3. СПИСОК РЕЗУЛЬТАТОВ */
.srch-results {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.srch-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2.2rem;
  padding: 2.2rem 2.6rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.srch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 99, 174, 0.36);
  box-shadow: 0 14px 30px rgba(14, 99, 174, 0.09);
}
.srch-card:hover .srch-card__title {
  color: #0e63ae;
}
.srch-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}
.srch-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 1.05rem;
  border-radius: 99rem;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.srch-card__badge--pages {
  background: #eef5fc;
  color: #0e63ae;
}
.srch-card__badge--edu {
  background: #ede9fe;
  color: #5b21b6;
}
.srch-card__badge--media {
  background: #dcfce7;
  color: #166534;
}
.srch-card__badge--people {
  background: #fef3c7;
  color: #92400e;
}
.srch-card__submeta {
  font-size: 1.3rem;
  font-weight: 600;
  color: #475569;
}
.srch-card__title {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 0.6rem;
  transition: color 0.18s ease;
}
.srch-card__excerpt {
  font-size: 1.46rem;
  line-height: 1.58;
  color: #475569;
  margin: 0;
  overflow-wrap: break-word;
}
.srch-card mark {
  background: #fef08a;
  color: #0f172a;
  padding: 0 0.25rem;
  border-radius: 0.35rem;
}

/* 4. ПУСТОЕ СОСТОЯНИЕ И НАЧАЛЬНЫЕ КАРТОЧКИ */
.srch-empty {
  background: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2.6rem;
  padding: 4.4rem 3rem;
  text-align: center;
}
.srch-empty h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.8rem;
}
.srch-empty p {
  font-size: 1.52rem;
  color: #475569;
  max-width: 56rem;
  margin: 0 auto;
  line-height: 1.55;
}

.srch-explore {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.srch-explore__card {
  background: #ffffff;
  border: 1px solid rgba(14, 99, 174, 0.14);
  border-radius: 2.2rem;
  padding: 2.4rem 2.6rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.srch-explore__card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 99, 174, 0.34);
  box-shadow: 0 14px 30px rgba(14, 99, 174, 0.09);
}
.srch-explore__card strong {
  font-size: 1.78rem;
  font-weight: 700;
  color: #0f172a;
}
.srch-explore__card span {
  font-size: 1.42rem;
  line-height: 1.5;
  color: #475569;
}

@media (max-width: 1160.98px) {
  .srch-main {
    padding-top: 9.8rem;
  }
  .srch-explore {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768.98px) {
  .srch-hero {
    padding: 2.8rem 2.2rem;
    border-radius: 2.2rem;
  }
  .srch-form {
    flex-direction: column;
    align-items: stretch;
  }
  .srch-form__btn {
    width: 100%;
  }
  .srch-explore {
    grid-template-columns: 1fr;
  }
  .srch-card {
    padding: 1.8rem 2rem;
    border-radius: 1.8rem;
  }
}