* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Montserrat';
  font-weight: 400;
  transition: 0.6s;
  text-decoration: none;
  list-style: none;
}

body {
  color: #1A1A1A;
  background: #fff;
  overflow-x: hidden;
}

:root {
  --accent-color: #0344C2;
  --color-primary: #0344C2;
  --color-surface: #ffffff;
  --color-text: #1A1A1A;
  --color-text-secondary: rgba(31, 41, 51, 0.7);
}

@font-face {
  font-family: 'Montserrat';
  src: url(../fonts/Montserrat-Black.ttf);
  font-weight: 900;
}

@font-face {
  font-family: 'Montserrat';
  src: url(../fonts/Montserrat-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: 'Montserrat';
  src: url(../fonts/Montserrat-Light.ttf);
  font-weight: 200;
}

@font-face {
  font-family: 'Montserrat';
  src: url(../fonts/Montserrat-Medium.ttf);
  font-weight: 500;
}

@font-face {
  font-family: 'Montserrat';
  src: url(../fonts/Montserrat-Regular.ttf);
  font-weight: 400;
}

/* ── CONTAINER ── */
.container {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── HERO ── */
/* ── HERO ── */
/* секция */
/* HERO */
.hero-banner {
  position: relative;
  min-height: 80vh;
  background: #eef1f5;
  overflow: hidden;
}

/* фото справа */
.hero-banner__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* синяя плашка слева — с анимацией раскрытия */
.hero-banner__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 58%;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, calc(100% - 140px) 100%, 0 100%);
  z-index: 2;
  transform-origin: left center;
  animation: heroPanelReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-banner__inner {
  position: relative;
  z-index: 3;
  animation: heroContentFade 0.7s ease 0.6s both;
}

@keyframes heroPanelReveal {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes heroContentFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* контент внутри синей части */
.hero-banner__content {
  width: 100%;
  max-width: 580px;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 52px 0 64px;
  color: #ffffff;
}

/* контакты */
.hero-banner__contacts {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.hero-banner__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.hero-banner__contact:hover {
  opacity: 0.85;
}

.hero-banner__contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* логоблок */
.hero-banner__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 430px;
  font-weight: 900;
  margin-top: 12px;
}

.hero-banner__logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-banner__brand-text {
  display: flex;
  flex-direction: column;
}

.hero-banner__brand-title {
  font-weight: 700;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 6px;
}

.hero-banner__brand-subtitle {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  max-width: 320px;
}

/* текст */
.hero-banner__text {
  max-width: 540px;
  margin-top: auto;
}

.hero-banner__eyebrow {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-banner__title {
  font-weight: 700;
  font-size: clamp(50px, 6vw, 82px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
  max-width: 560px;
  font-weight: 900;
}

.quick-links-section {
  margin-top: 20px;
}

.quick-links {
  border-radius: 30px;
  background: #f6f7fb;
  padding: 32px;
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.quick-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 116px;
  padding: 24px;
  border-radius: 20px;
  background: var(--accent-color);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
  background: white;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.quick-link-card img {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.admission-steps {
  position: relative;
  margin-top: 28px;
  padding: 0 0 80px;
  background: transparent;
  overflow: hidden;
}

.admission-steps__panel {
  position: relative;
  z-index: 0;
  background: #f6f7fb;
  border-radius: 30px;
  padding: 88px 56px 96px;
  overflow: hidden;
}

.admission-steps__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0f172a 1px, transparent 1.6px);
  background-size: 32px 32px;
  opacity: 0.05;
  pointer-events: none;
}

.admission-steps__panel::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 68, 194, 0.18), transparent 70%);
  pointer-events: none;
  animation: admissionBlobFloat 14s ease-in-out infinite;
}

@keyframes admissionBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.12); }
}

.admission-steps__panel>* {
  position: relative;
  z-index: 1;
}

.admission-steps__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.admission-steps__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(3, 68, 194, 0.08);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.admission-steps__kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(3, 68, 194, 0.2);
  animation: admissionKickerPulse 1.8s ease-in-out infinite;
}

@keyframes admissionKickerPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(3, 68, 194, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(3, 68, 194, 0); }
}

.admission-steps__title {
  margin: 18px 0 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.admission-steps__lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: #475569;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Инфо-блок со сроками (не шаг) ── */
.admission-notice {
  position: relative;
  max-width: 960px;
  margin: 0 auto 56px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  border-radius: 22px;
  color: #ffffff;
  box-shadow: 0 22px 44px rgba(3, 68, 194, 0.28);
  overflow: hidden;
}

.admission-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 10% 110%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.admission-notice::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  animation: admissionRingSpin 26s linear infinite;
  pointer-events: none;
}

@keyframes admissionRingSpin {
  to { transform: rotate(360deg); }
}

.admission-notice__icon {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  backdrop-filter: blur(6px);
  animation: admissionIconBob 3.6s ease-in-out infinite;
}

.admission-notice__icon svg {
  width: 34px;
  height: 34px;
}

@keyframes admissionIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.admission-notice__body {
  position: relative;
}

.admission-notice__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 6px;
}

.admission-notice__title {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #ffffff;
}

.admission-notice__dates {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admission-notice__dates li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14.5px;
  color: #ffffff;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.admission-notice__dates li:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.admission-notice__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-color);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Шаги ── */
.admission-flow {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
}

.admission-flow::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(3, 68, 194, 0.35), rgba(3, 68, 194, 0.1));
  z-index: 0;
}

.admission-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 28px;
  padding: 18px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 1) * 90ms);
}

.admission-flow__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.admission-flow__marker {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.admission-flow__num {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 26px rgba(3, 68, 194, 0.35);
  transform: rotate(-6deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.admission-flow__ring {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px dashed rgba(3, 68, 194, 0.45);
  animation: admissionRingSpin 18s linear infinite;
}

.admission-flow__item:hover .admission-flow__num {
  transform: rotate(0deg) scale(1.08);
}

.admission-flow__card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  padding: 30px 34px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.admission-flow__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color), #3a6ef5);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.admission-flow__card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 68, 194, 0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.admission-flow__item:hover .admission-flow__card {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(3, 68, 194, 0.2);
}

.admission-flow__item:hover .admission-flow__card::before {
  transform: scaleY(1);
}

.admission-flow__item:hover .admission-flow__card::after {
  opacity: 1;
}

.admission-flow__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.admission-flow__card h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #0f172a;
}

.admission-flow__card p {
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.admission-flow__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.admission-flow__checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  line-height: 1.45;
  color: #334155;
  border-bottom: 1px dotted rgba(15, 23, 42, 0.1);
}

.admission-flow__checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  transform: rotate(-45deg);
}

.admission-flow__checklist em {
  font-style: normal;
  color: #94a3b8;
  font-size: 13px;
  margin-left: 4px;
}

.admission-flow__actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admission-flow__btn {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--accent-color);
  background: var(--accent-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.admission-flow__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.admission-flow__btn:hover {
  transform: translateY(-2px);
  background: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.2);
}

.admission-flow__btn:hover::before {
  transform: translateX(120%);
}

.admission-flow__btn--ghost {
  background: transparent;
  color: var(--accent-color);
}

.admission-flow__btn--ghost:hover {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

.admission-flow__btn--inline {
  margin-top: 22px;
}

.admission-flow__note {
  position: relative;
  margin-top: 20px;
  padding: 16px 18px 16px 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(3, 68, 194, 0.06), rgba(3, 68, 194, 0.02));
  border: 1px dashed rgba(3, 68, 194, 0.35);
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}

.admission-flow__note::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-color);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(3, 68, 194, 0.35);
}

.admission-flow__item--finish .admission-flow__card {
  background:
    linear-gradient(135deg, rgba(3, 68, 194, 0.06), transparent 55%),
    #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .admission-flow__item {
    opacity: 1 !important;
    transform: none !important;
  }

  .admission-steps__panel::after,
  .admission-notice__icon,
  .admission-steps__kicker::before,
  .admission-flow__ring,
  .admission-notice::after {
    animation: none !important;
  }
}

/* планшеты */
@media (max-width: 1200px) {
  .hero-banner {
    min-height: 620px;
  }

  .hero-banner__content {
    min-height: 620px;
    max-width: 520px;
  }

  .hero-banner__title {
    font-size: clamp(48px, 5vw, 72px);
  }

  .hero-banner__brand {
    margin-bottom: 52px;
  }

  .quick-links {
    padding: 28px;
  }

  .quick-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .quick-link-card {
    min-height: 108px;
    padding: 22px;
    font-size: 18px;
  }

  .admission-steps {
    margin-top: 24px;
    padding: 0 0 64px;
  }

  .admission-steps__panel {
    padding: 64px 28px 72px;
    border-radius: 26px;
  }

  .admission-steps__head {
    margin-bottom: 36px;
  }

  .admission-notice {
    padding: 24px 26px;
    margin-bottom: 44px;
  }

  .admission-flow__card {
    padding: 26px 26px;
  }

  .admission-flow__checklist {
    grid-template-columns: 1fr;
  }
}

/* мобильные */
@media (max-width: 768px) {
  .container {
    max-width: 700px;
  }

  .hero-banner {
    min-height: auto;
    background: var(--accent-color);
  }

  .hero-banner__photo {
    display: none;
  }

  .hero-banner__panel {
    position: static;
    width: 100%;
    clip-path: none;
    animation: none;
  }

  .hero-banner__inner {
    animation: none;
  }

  .hero-banner__content {
    max-width: 100%;
    min-height: auto;
    padding: 28px 0 36px;
  }

  .hero-banner__contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-banner__brand {
    margin-bottom: 32px;
    gap: 14px;
    margin-top: 10px;
  }

  .hero-banner__logo {
    width: 56px;
    height: 56px;
  }

  .hero-banner__brand-title {
    font-size: 26px;
  }

  .hero-banner__brand-subtitle {
    font-size: 11px;
    max-width: 260px;
  }

  .hero-banner__eyebrow {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .hero-banner__title {
    font-size: 42px;
    line-height: 1;
    text-transform: none;
    max-width: 100%;
  }

  .quick-links {
    padding: 16px;
    border-radius: 22px;
  }

  .quick-links__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quick-link-card {
    min-height: 92px;
    padding: 18px;
    border-radius: 16px;
    font-size: 16px;
  }

  .quick-link-card img {
    width: 32px;
    height: 32px;
  }

  .admission-steps {
    margin-top: 18px;
    padding: 0 0 48px;
  }

  .admission-steps__panel {
    padding: 48px 16px 56px;
    border-radius: 22px;
  }

  .admission-steps__head {
    margin-bottom: 28px;
  }

  .admission-notice {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
    margin-bottom: 36px;
    border-radius: 18px;
  }

  .admission-notice__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .admission-notice__icon svg {
    width: 28px;
    height: 28px;
  }

  .admission-notice__dates {
    flex-direction: column;
    gap: 8px;
  }

  .admission-notice__dates li {
    width: 100%;
    font-size: 13.5px;
  }

  .admission-flow::before {
    left: 25px;
  }

  .admission-flow__item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
  }

  .admission-flow__marker {
    width: 52px;
    height: 52px;
  }

  .admission-flow__num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
  }

  .admission-flow__ring {
    border-radius: 18px;
  }

  .admission-flow__card {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .admission-flow__card h3 {
    margin-bottom: 12px;
  }

  .admission-flow__checklist {
    grid-template-columns: 1fr;
  }

  .admission-flow__actions {
    margin-top: 16px;
    flex-direction: column;
    gap: 10px;
  }

  .admission-flow__btn {
    width: 100%;
    justify-content: center;
  }

  .admission-flow__btn--inline {
    margin-top: 16px;
  }

  .admission-flow__note {
    margin-top: 16px;
    padding: 14px 16px 14px 52px;
  }
}

/* ── CONTACTS PAGE ── */
.contacts-page {
  padding: 24px 0 72px;
}

.contact-cards {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  position: relative;
  padding: 32px 28px 30px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #3a6ef5);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 68, 194, 0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.1);
  border-color: rgba(3, 68, 194, 0.22);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover::after {
  opacity: 1;
}

.contact-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(3, 68, 194, 0.12), rgba(3, 68, 194, 0.04));
  color: var(--accent-color);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    color 0.35s ease;
}

.contact-card__icon svg {
  width: 28px;
  height: 28px;
}

.contact-card:hover .contact-card__icon {
  transform: rotate(-8deg) scale(1.05);
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  color: #ffffff;
}

.contact-card__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.contact-card__value {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #0f172a;
}

.contact-card__value a {
  color: inherit;
  font-weight: inherit;
  transition: color 0.25s ease;
}

.contact-card__value a:hover {
  color: var(--accent-color);
}

.contact-card__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-color);
  padding-bottom: 2px;
}

.contact-card__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent-color);
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-card__link:hover::after {
  transform: scaleX(1);
}

.contacts-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 40px;
  align-items: stretch;
}

.admission-notice--page {
  max-width: none;
  margin: 0;
  align-self: stretch;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 32px;
}

.admission-notice--page .admission-notice__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.admission-notice--page .admission-notice__dates {
  justify-content: center;
}

/* ── Расписание ── */
.schedule-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  padding: 32px 32px 28px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 68, 194, 0.09), transparent 70%);
  pointer-events: none;
}

.schedule-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.schedule-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 22px rgba(3, 68, 194, 0.28);
  animation: scheduleIconPulse 3.6s ease-in-out infinite;
}

.schedule-card__icon svg {
  width: 30px;
  height: 30px;
}

@keyframes scheduleIconPulse {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-4deg); }
}

.schedule-card__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.schedule-card__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

.schedule-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #f6f7fb;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 14px;
}

.schedule-list__days {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.schedule-list__hours {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(3, 68, 194, 0.08);
}

.schedule-list__item--off .schedule-list__hours {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.15);
  text-transform: lowercase;
}

.schedule-list__item--off .schedule-list__days {
  color: #64748b;
}

.schedule-card__note {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 48px;
  background: linear-gradient(135deg, rgba(3, 68, 194, 0.06), rgba(3, 68, 194, 0.02));
  border: 1px dashed rgba(3, 68, 194, 0.35);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

.schedule-card__note::before {
  content: "i";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent-color);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
}

/* ── Карта ── */
.map-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  padding: 32px 32px 32px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.map-card__head {
  max-width: 640px;
  margin-bottom: 22px;
}

.map-card__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.map-card__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.map-card__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.map-card__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.map-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1200px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-row {
    grid-template-columns: 1fr;
  }

  .map-card__frame {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .contacts-page {
    padding: 16px 0 56px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

  .contact-card {
    padding: 26px 22px 24px;
    border-radius: 18px;
  }

  .contact-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .contact-card__value {
    font-size: 16px;
  }

  .contacts-row {
    gap: 16px;
    margin-bottom: 28px;
  }

  .schedule-card,
  .map-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .schedule-card__head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .schedule-card__icon {
    width: 50px;
    height: 50px;
  }

  .schedule-list__item {
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .schedule-list__days,
  .schedule-list__hours {
    font-size: 14px;
  }

  .map-card__frame {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-card__icon {
    animation: none !important;
  }
}

.footer {
  margin-top: 32px;
  background: var(--accent-color);
  color: #ffffff;
}

.footer__inner {
  padding: 48px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 320px);
  gap: 28px 24px;
  align-items: start;
}

.footer__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.brand--footer {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.brand--footer .brand__logo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.brand--footer .brand__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand--footer .brand__text {
  display: block;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand--footer .brand__subtitle {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 230px;
}

.footer-links,
.contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li+li {
  margin-top: 10px;
}

.footer-links a {
  font-size: 16px;
  line-height: 1.5;
  color: white;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.contacts li+li {
  margin-top: 10px;
}

.contacts img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contacts a {
  color: inherit;
}

.contacts a:hover,
.contacts a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__bottom {
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .footer__inner {
    padding: 40px 0 28px;
  }

  .footer__top {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 18px;
  }

  .footer__col:first-child {
    grid-column: 1 / -1;
  }

  .brand--footer {
    max-width: 100%;
  }

  .brand--footer .brand__text {
    font-size: 24px;
  }

  .brand--footer .brand__subtitle {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    margin-top: 24px;
  }

  .footer__inner {
    padding: 32px 0 22px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .brand--footer {
    gap: 12px;
  }

  .brand--footer .brand__logo {
    width: 60px;
    height: 60px;
  }

  .brand--footer .brand__text {
    font-size: 20px;
  }

  .brand--footer .brand__subtitle {
    font-size: 12px;
  }

  .footer__title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .footer-links a,
  .contacts li {
    font-size: 15px;
  }

  .contacts li {
    gap: 10px;
  }

  .footer__bottom {
    margin-top: 24px;
    padding-top: 16px;
    font-size: 14px;
  }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admission-notice.reveal {
  transform: translateY(24px) scale(0.98);
}

.admission-notice.reveal.is-visible {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── SITE HEADER (specialities page) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
}

.site-header__brand img {
  flex-shrink: 0;
}

.site-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  position: relative;
  padding: 6px 0;
}

.site-nav a:hover {
  color: var(--accent-color);
}

.site-nav__link--active {
  color: var(--accent-color) !important;
}

.site-nav__link--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

.site-header__cta {
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--accent-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-header__cta:hover {
  background: #0f172a;
}

.site-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-burger:hover {
  border-color: var(--accent-color);
}

.site-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.site-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── SPECIALITIES HERO ── */
.specialties-hero {
  padding: 40px 0 28px;
}

.specialties-hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 64px 56px;
  background: var(--accent-color);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.specialties-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ffffff 1px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.08;
  pointer-events: none;
}

.specialties-hero__text {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.specialties-hero__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.specialties-hero__lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
}

.specialties-hero__badge {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
}

.specialties-hero__badge img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* ── SPECIALITIES SECTION ── */
.specialties-section {
  padding: 32px 0 64px;
}

.specialties-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.specialties-filter {
  position: sticky;
  top: 96px;
  z-index: 10;
  border-radius: 30px;
  background: #ffffff;
  padding: 32px 28px;
  border: 1px solid rgba(31, 41, 51, 0.08);
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.04);
}

.specialties-list {
  min-width: 0;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .specialties-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .specialties-filter {
    position: static;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
}

.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* левая акцентная полоса */
.spec-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--accent-color);
  border-radius: 0 4px 4px 0;
  z-index: 1;
}

/* декоративный круг справа сверху */
.spec-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 68, 194, 0.1), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.spec-card:hover {
  transform: translateY(-6px);
  border-color: rgba(3, 68, 194, 0.3);
  box-shadow: 0 24px 48px rgba(3, 68, 194, 0.18);
}

/* декоративный градиентный блоб в углу */
.spec-card__watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(3, 68, 194, 0.14), rgba(3, 68, 194, 0.02) 65%);
  font-size: 0;
  color: transparent;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.5s ease, background 0.5s ease;
}

.spec-card__watermark::after {
  content: "";
  position: absolute;
  right: 45px;
  top: 45px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px dashed rgba(3, 68, 194, 0.18);
  transition: transform 0.6s ease;
}

.spec-card:hover .spec-card__watermark {
  transform: scale(1.15);
  background: radial-gradient(circle at 30% 30%, rgba(3, 68, 194, 0.22), rgba(3, 68, 194, 0.04) 65%);
}

.spec-card:hover .spec-card__watermark::after {
  transform: rotate(90deg);
}

.spec-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.spec-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(3, 68, 194, 0.3);
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

.spec-card__icon svg {
  width: 28px;
  height: 28px;
}

.spec-card:hover .spec-card__icon {
  transform: rotate(0deg) scale(1.05);
}

.spec-card__codebox {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.spec-card__codelabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 2px;
}

.spec-card__code {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-color);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.spec-card__title {
  position: relative;
  z-index: 2;
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.spec-card__meta {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 36px;
  border-radius: 999px;
  background: #f1f5fb;
  border: 1px solid rgba(3, 68, 194, 0.12);
  font-size: 13px;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.spec-chip:hover {
  background: rgba(3, 68, 194, 0.08);
  border-color: rgba(3, 68, 194, 0.3);
}

.spec-chip__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.spec-chip__value {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.spec-chip::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.spec-chip--time::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='8' stroke='%230344C2' stroke-width='2'/%3E%3Cpath d='M10 5.5V10L13 11.8' stroke='%230344C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.spec-chip--level::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M2 7.5 10 4l8 3.5-8 3.5L2 7.5Z' stroke='%230344C2' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M5 9.2V12c0 1.7 2.4 3 5 3s5-1.3 5-3V9.2' stroke='%230344C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.spec-chip--form::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z' stroke='%230344C2' stroke-width='2'/%3E%3Cpath d='M4 16c.9-2 3-3 6-3s5.1 1 6 3' stroke='%230344C2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.spec-card__link {
  margin-top: auto;
  position: relative;
  z-index: 2;
  align-self: flex-start;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--accent-color);
  background: var(--accent-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.spec-card__link:hover {
  transform: translateY(-1px);
  background: #0f172a;
  border-color: #0f172a;
}

.spec-card__arrow {
  display: inline-flex;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.spec-card__link:hover .spec-card__arrow {
  transform: translateX(3px);
}

/* ── Категорийные варианты иконки/бордера ── */
.spec-card[data-category="law"] .spec-card__icon {
  background: linear-gradient(135deg, #7c3aed, #4338ca);
  box-shadow: 0 8px 20px rgba(76, 29, 149, 0.3);
}

.spec-card[data-category="security"] .spec-card__icon {
  background: linear-gradient(135deg, #0ea5e9, #0344C2);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.spec-card[data-category="econ"] .spec-card__icon {
  background: linear-gradient(135deg, #059669, #0344C2);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

/* ── АДАПТИВ ── */
@media (max-width: 1024px) {
  .specialties-hero__panel {
    padding: 52px 40px;
    gap: 28px;
  }

  .specialties-hero__badge {
    width: 160px;
    height: 160px;
  }

  .specialties-hero__badge img {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    gap: 12px;
    padding: 12px 0;
  }

  .site-burger {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    z-index: 60;
    transform-origin: top right;
    transform: translateY(-12px) scaleY(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease,
                visibility 0s linear 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease,
                visibility 0s linear 0s;
  }

  .site-nav a {
    padding: 10px 14px;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: rgba(3, 68, 194, 0.08);
  }

  .site-nav__link--active {
    background: rgba(3, 68, 194, 0.1);
  }

  .site-nav__link--active::after {
    display: none;
  }

  .specialties-hero {
    padding: 28px 0 20px;
  }

  .specialties-hero__panel {
    padding: 40px 32px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .specialties-hero__badge {
    width: 120px;
    height: 120px;
    justify-self: start;
  }

  .specialties-hero__badge img {
    width: 90px;
    height: 90px;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spec-card {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .spec-card__watermark {
    width: 170px;
    height: 170px;
    right: -50px;
    bottom: -50px;
  }
}

@media (max-width: 600px) {
  .site-header__brand img {
    width: 40px;
    height: 40px;
  }

  .site-header__cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .specialties-hero {
    padding: 20px 0 12px;
  }

  .specialties-hero__panel {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .specialties-hero__title {
    font-size: clamp(26px, 7.5vw, 40px);
  }

  .specialties-hero__lead {
    font-size: 14px;
  }

  .specialties-hero__badge {
    display: none;
  }

  .specialties-section {
    padding: 20px 0 40px;
  }

  .spec-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .spec-card::before {
    width: 4px;
  }

  .spec-card__top {
    gap: 12px;
    margin-bottom: 18px;
  }

  .spec-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .spec-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .spec-card__code {
    font-size: 17px;
  }

  .spec-card__title {
    font-size: 20px;
  }

  .spec-card__subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .spec-card__meta {
    gap: 6px;
    margin-bottom: 22px;
  }

  .spec-chip {
    padding: 6px 12px 6px 32px;
    font-size: 12px;
  }

  .spec-chip__label {
    font-size: 10px;
  }

  .spec-chip__value {
    font-size: 12px;
  }

  .spec-chip::before {
    left: 8px;
    width: 16px;
    height: 16px;
  }

  .spec-card__link {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 12px;
  }

  .spec-card__watermark {
    width: 130px;
    height: 130px;
    right: -40px;
    bottom: -40px;
  }
}

@media (max-width: 380px) {
  .site-header__inner {
    gap: 8px;
  }

  .spec-card__title {
    font-size: 18px;
  }

  .spec-chip {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

/* legacy — kept empty intentionally */
.specialties-page {
  display: block;
}

.filter-block+.filter-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 41, 51, 0.08);
}

.filter-block__title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-text);
}

.filter-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(31, 41, 51, 0.76);
  cursor: pointer;
  position: relative;
}

.filter-check+.filter-check {
  margin-top: 12px;
}

.filter-check__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1.5px solid rgba(31, 41, 51, 0.18);
  background: var(--color-surface);
}

.filter-check__input:checked+.filter-check__box {
  position: relative;
  border-color: var(--color-primary);
}

.filter-check__input:checked+.filter-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
}

.filter-check__input:focus-visible+.filter-check__box {
  outline: 2px solid rgba(3, 68, 194, 0.25);
  outline-offset: 2px;
}

.specialties-list {
  min-width: 0;
}

.specialties-list__title {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.specialty-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px;
  border-radius: 32px;
  background: var(--color-surface);
  border: 1px solid rgba(31, 41, 51, 0.12);
  box-shadow: 0 12px 32px rgba(31, 41, 51, 0.05);
}

.specialty-card__code {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-primary);
}

.specialty-card__title {
  margin: 18px 0 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
  color: var(--color-primary-dark);
}

.specialty-card__title--small {
  font-size: 30px;
  line-height: 1.15;
  color: var(--color-primary-dark);
}

.specialty-card__meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.specialty-card__meta-item {
  position: relative;
  padding-left: 34px;
}

.specialty-card__meta-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

.specialty-card__meta-item--time::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='8' stroke='%23418F9A' stroke-width='2'/%3E%3Cpath d='M10 5.5V10L13 11.8' stroke='%23418F9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.specialty-card__meta-item--level::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M2 7.5 10 4l8 3.5-8 3.5L2 7.5Z' stroke='%23418F9A' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M5 9.2V12c0 1.7 2.4 3 5 3s5-1.3 5-3V9.2' stroke='%23418F9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.specialty-card__meta-item--form::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z' stroke='%23418F9A' stroke-width='2'/%3E%3Cpath d='M4 16c.9-2 3-3 6-3s5.1 1 6 3' stroke='%23418F9A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.specialty-card__link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--color-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}

.specialty-card__link:hover,
.specialty-card__link:focus-visible {
  background: var(--color-primary-dark);
}

.specialty-card__tag {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

/* ─────────────────────────────────────────────
   SPECIALTY PAGE
   ───────────────────────────────────────────── */
.sp-main {
  padding: 40px 0 80px;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(3, 68, 194, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(3, 68, 194, 0.05), transparent 60%),
    #f5f7fb;
}

.sp-main>*+* {
  margin-top: 56px;
}

@keyframes sp-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sp-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes sp-float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes sp-spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ── HERO ─────────────────────────────── */
.sp-hero {
  position: relative;
}

.sp-hero__back {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(11, 26, 58, 0.55);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.sp-hero__back-arrow {
  margin-right: 4px;
  letter-spacing: -2px;
}

.sp-hero__card {
  position: relative;
  animation: sp-rise .7s ease-out both;
}

.sp-hero__head {
  position: relative;
  max-width: 760px;
  padding: 10px 0 40px;
}

.sp-hero__title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.sp-hero__code {
  margin: 28px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: #0B1A3A;
  letter-spacing: 0.02em;
}

.sp-hero__dept {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(11, 26, 58, 0.58);
}

.sp-hero__illustration {
  position: absolute;
  top: -10px;
  right: 0;
  width: clamp(220px, 28vw, 360px);
  pointer-events: none;
  animation: sp-float 7s ease-in-out infinite;
  z-index: 0;
}

.sp-hero__illustration img {
  width: 100%;
  height: auto;
}

/* metrics — отдельные карточки */
.sp-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(160px, auto);
  gap: 16px;
}

.sp-metric {
  position: relative;
  padding: 26px 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(11, 26, 58, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.sp-metric::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-color);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}

.sp-metric:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 68, 194, 0.25);
  box-shadow: 0 18px 40px rgba(3, 68, 194, 0.1);
}

.sp-metric:hover::after {
  transform: scaleY(1);
}

.sp-metric--wide {
  grid-row: span 2;
  grid-column: span 1;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}

.sp-metric--wide .sp-metric__value {
  font-size: clamp(54px, 5vw, 78px);
  font-weight: 900;
}

.sp-metric__value {
  display: block;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #0B1A3A;
}

.sp-metric__label {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(11, 26, 58, 0.55);
}

/* ── COMMON SECTION ──────────────────── */
.sp-section {
  position: relative;
  animation: sp-rise .7s ease-out both;
}

.sp-section__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 56px 48px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(11, 26, 58, 0.06);
  box-shadow: 0 16px 40px rgba(11, 26, 58, 0.05);
}

.sp-section__title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0B1A3A;
}

.sp-section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-color), #3a6ef5);
}

/* ── О ПРОГРАММЕ ─────────────────────── */
.sp-about__lead {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: #0B1A3A;
}

.sp-about__text {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(11, 26, 58, 0.72);
  padding-left: 20px;
  border-left: 3px solid rgba(3, 68, 194, 0.2);
}

.sp-about__tags {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-about__tags li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(3, 68, 194, 0.06);
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  transition: background .3s ease, transform .3s ease;
}

.sp-about__tags li:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

/* ── ТЫ НАУЧИШЬСЯ ────────────────────── */
.sp-learn__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  counter-reset: learn;
}

.sp-learn__card {
  position: relative;
  padding: 26px 24px 26px 26px;
  border-radius: 20px;
  background: #f5f7fb;
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: sp-rise .6s ease-out forwards;
  animation-delay: calc(var(--i) * .08s + .15s);
  transition: background .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.sp-learn__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}

.sp-learn__card:hover {
  background: #ffffff;
  border-color: rgba(3, 68, 194, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(3, 68, 194, 0.1);
}

.sp-learn__card:hover::before {
  transform: scaleY(1);
}

.sp-learn__num {
  display: inline-block;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(3, 68, 194, 0.35);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  transition: color .35s ease, -webkit-text-stroke-color .35s ease;
}

.sp-learn__card:hover .sp-learn__num {
  color: var(--accent-color);
  -webkit-text-stroke-color: var(--accent-color);
}

.sp-learn__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(11, 26, 58, 0.78);
}

/* ── КАРЬЕРА ─────────────────────────── */
.sp-career__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sp-career__chip {
  position: relative;
  padding: 14px 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid rgba(3, 68, 194, 0.16);
  color: #0B1A3A;
  font-size: 15px;
  font-weight: 600;
  cursor: default;
  overflow: hidden;
  transition: color .35s ease, border-color .35s ease, transform .35s ease;
}

.sp-career__chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  z-index: -1;
}

.sp-career__chip:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.sp-career__chip:hover::before {
  transform: scaleX(1);
}

/* ── ПРЕДМЕТЫ ────────────────────────── */
.sp-subjects__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-subjects__card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f5f7fb;
  border: 1px solid transparent;
  font-size: 15px;
  color: #0B1A3A;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.sp-subjects__card:hover {
  background: #ffffff;
  border-color: rgba(3, 68, 194, 0.2);
  transform: translateX(4px);
}

.sp-subjects__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(3, 68, 194, 0.1);
  color: var(--accent-color);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: background .3s ease, color .3s ease;
}

.sp-subjects__card:hover .sp-subjects__num {
  background: var(--accent-color);
  color: #fff;
}

/* ── ПРЕПОДАВАТЕЛИ ───────────────────── */
.sp-section.sp-staff .sp-section__inner {
  gap: 48px;
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(58, 110, 245, 0.12), transparent 70%),
    radial-gradient(600px 320px at 100% 100%, rgba(3, 68, 194, 0.08), transparent 70%),
    #ffffff;
  overflow: hidden;
  position: relative;
}

.sp-section.sp-staff .sp-section__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(3, 68, 194, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.sp-staff__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.sp-person {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(11, 26, 58, 0.08);
  text-align: center;
  overflow: hidden;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.sp-person::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  background: linear-gradient(135deg, rgba(58, 110, 245, 0.14), rgba(3, 68, 194, 0.06));
  z-index: 0;
  transition: height .45s ease;
}

.sp-person:hover {
  transform: translateY(-8px);
  border-color: rgba(3, 68, 194, 0.25);
  box-shadow: 0 28px 60px rgba(3, 68, 194, 0.14);
}

.sp-person:hover::before {
  height: 120px;
}

.sp-person--featured::before {
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  height: 110px;
}

.sp-person--featured:hover::before {
  height: 140px;
}

.sp-person__photo-wrap {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: visible;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  margin-top: 20px;
}

.sp-person--featured .sp-person__photo-wrap {
  background: linear-gradient(135deg, #ffffff, #cfe0ff);
  margin-top: 36px;
}

.sp-person__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  transition: transform .6s ease;
}

.sp-person:hover .sp-person__photo {
  transform: scale(1.06);
}

.sp-person__badge {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-color);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(3, 68, 194, 0.35);
}

.sp-person__body {
  position: relative;
  z-index: 1;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
}

.sp-person__name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0B1A3A;
  order: 1;
}

.sp-person__role {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(11, 26, 58, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  order: 2;
}

.sp-person__links {
  margin-top: 22px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px dashed rgba(11, 26, 58, 0.14);
  order: 3;
}

.sp-person__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--accent-color);
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}

.sp-person__link img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.sp-person__link em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 1100px) {
  .sp-hero__illustration {
    position: static;
    width: 220px;
    margin: 0 0 20px auto;
    display: block;
  }

  .sp-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 32px;
  }

  .sp-section__head {
    position: static;
  }

  .sp-metrics {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(140px, auto);
  }

  .sp-metric--wide {
    grid-row: span 1;
  }

  .sp-metric--wide .sp-metric__value {
    font-size: 40px;
  }

  .sp-staff__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-person--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .sp-main {
    padding: 24px 0 60px;
  }

  .sp-main>*+* {
    margin-top: 32px;
  }

  .sp-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sp-metric {
    padding: 20px;
    min-height: 0;
  }

  .sp-section__inner {
    padding: 32px 22px;
    border-radius: 26px;
  }

  .sp-learn__grid,
  .sp-subjects__grid {
    grid-template-columns: 1fr;
  }

  .sp-staff__grid {
    grid-template-columns: 1fr;
  }

  .sp-person--featured {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {

  .sp-hero__card,
  .sp-section,
  .sp-learn__card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .sp-hero__illustration {
    animation: none;
  }
}

/* ── FAQ ─────────────────────────────── */
.faq-section {
  padding: 48px 0 96px;
}
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(3, 68, 194, 0.12);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.faq-item:hover {
  border-color: rgba(3, 68, 194, 0.28);
  box-shadow: 0 14px 32px rgba(3, 68, 194, 0.08);
}
.faq-details[open] {
  border-color: var(--accent-color);
}
.faq-details[open] + * {}
.faq-item:has(.faq-details[open]) {
  border-color: var(--accent-color);
  box-shadow: 0 18px 40px rgba(3, 68, 194, 0.12);
}
.faq-summary {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-num {
  font-size: 30px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(3, 68, 194, 0.4);
  letter-spacing: -0.02em;
  transition: color .3s ease, -webkit-text-stroke-color .3s ease;
}
.faq-details[open] .faq-num {
  color: var(--accent-color);
  -webkit-text-stroke-color: var(--accent-color);
}
.faq-question {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #0B1A3A;
  letter-spacing: -0.01em;
}
.faq-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(3, 68, 194, 0.08);
  transition: background .3s ease, transform .3s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .35s ease, background .3s ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-details[open] .faq-icon {
  background: var(--accent-color);
}
.faq-details[open] .faq-icon::before,
.faq-details[open] .faq-icon::after {
  background: #ffffff;
}
.faq-details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq-answer {
  padding: 0 28px 26px 112px;
  animation: faq-fade .55s cubic-bezier(.22, 1, .36, 1);
}
.faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(11, 26, 58, 0.72);
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .faq-summary {
    grid-template-columns: 44px 1fr 32px;
    gap: 14px;
    padding: 18px 18px;
  }
  .faq-question { font-size: 15px; }
  .faq-icon { width: 32px; height: 32px; }
  .faq-answer { padding: 0 18px 22px 76px; }
}

/* ── ЦИФРЫ ПРИЕМА ─────────────────────── */
.nums-hero__subtitle {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}
.nums-section {
  padding: 48px 0 96px;
}
.nums-table-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(3, 68, 194, 0.12);
  box-shadow: 0 10px 30px rgba(3, 68, 194, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nums-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 14.5px;
  color: #0B1A3A;
}
.nums-table thead th {
  position: sticky;
  top: 0;
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 16px 18px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.nums-table thead th.nums-th--num { text-align: right; }
.nums-table thead th.nums-th--n { width: 56px; }
.nums-table tbody tr {
  transition: background .25s ease;
}
.nums-table tbody tr:nth-child(even) {
  background: rgba(3, 68, 194, 0.03);
}
.nums-table tbody tr:hover {
  background: rgba(3, 68, 194, 0.07);
}
.nums-table td {
  padding: 16px 18px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(11, 26, 58, 0.06);
  line-height: 1.45;
}
.nums-td--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.nums-td--total {
  color: var(--accent-color);
}
.nums-td--zero {
  color: rgba(11, 26, 58, 0.35);
  font-weight: 600;
}
.nums-code {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(3, 68, 194, 0.08);
  color: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nums-total {
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5) !important;
  color: #ffffff;
}
.nums-total td {
  padding: 20px 18px;
  border-bottom: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.nums-total__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nums-total__value {
  font-size: 18px;
}

.nums-summary {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nums-summary__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(3, 68, 194, 0.12);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nums-summary__item:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 68, 194, 0.3);
  box-shadow: 0 14px 32px rgba(3, 68, 194, 0.08);
}
.nums-summary__item--budget {
  background: linear-gradient(135deg, var(--accent-color), #3a6ef5);
  border-color: transparent;
  color: #ffffff;
}
.nums-summary__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(11, 26, 58, 0.55);
  font-weight: 600;
}
.nums-summary__item--budget .nums-summary__label {
  color: rgba(255, 255, 255, 0.85);
}
.nums-summary__value {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0B1A3A;
}
.nums-summary__item--budget .nums-summary__value {
  color: #ffffff;
}

@media (max-width: 900px) {
  .nums-summary { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nums-section { padding: 32px 0 64px; }
  .nums-table-wrap {
    border-radius: 18px;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .nums-table { min-width: 0; display: block; }
  .nums-table thead { display: none; }
  .nums-table tbody, .nums-table tfoot { display: block; }
  .nums-table tr {
    display: block;
    margin-bottom: 14px;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(3, 68, 194, 0.12);
  }
  .nums-table tbody tr:nth-child(even) { background: #ffffff; }
  .nums-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(11, 26, 58, 0.08);
    text-align: right;
  }
  .nums-table td:last-child { border-bottom: none; }
  .nums-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: rgba(11, 26, 58, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    text-align: left;
    flex-shrink: 0;
  }
  .nums-td--num { text-align: right; }
  .nums-total {
    background: linear-gradient(135deg, var(--accent-color), #3a6ef5) !important;
    border: none;
  }
  .nums-total td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .nums-total td:last-child { border-bottom: none; }
  .nums-total td::before {
    color: rgba(255, 255, 255, 0.75);
  }
  .nums-total__label { display: none; }
}

/* ── НОРМАТИВНЫЕ ДОКУМЕНТЫ ──────────── */
.docs-section {
  padding: 48px 0 96px;
}
.docs-grid {
  list-style: none;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.doc-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 26px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(3, 68, 194, 0.12);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.doc-card:hover {
  transform: translateX(4px);
  border-color: rgba(3, 68, 194, 0.32);
  box-shadow: 0 14px 32px rgba(3, 68, 194, 0.08);
}
.doc-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.doc-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.doc-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #0B1A3A;
  letter-spacing: -0.01em;
}
.doc-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(3, 68, 194, 0.08);
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}
.doc-card__btn:hover {
  background: var(--accent-color);
  color: #ffffff;
}
.doc-card__btn-arrow {
  transition: transform .3s ease;
}
.doc-card__btn:hover .doc-card__btn-arrow {
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .doc-card {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 18px 20px;
  }
  .doc-card__icon { width: 40px; height: 40px; }
  .doc-card__title { font-size: 15px; }
  .doc-card__btn {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 12px 16px;
  }
}