:root{
  --purple:#A993F1;
  --pink:#D8425C;
  --lime:#C2D158;
  --bg:#FFFFFF;
  --bg2:#F8F9FA;
  --text:#1F1B24;
  --muted:#5D5566;
  --border:rgba(31,27,36,.10);
  --shadow:0 14px 30px rgba(19, 12, 26, .10);
  --shadow2:0 10px 22px rgba(19, 12, 26, .08);
  --radius:22px;
  --radiusSm:16px;
  --ring:0 0 0 4px rgba(169,147,241,.25);
  --headerH:120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Montserrat", "Open Sans", sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, #fff 0%, #fff 40%, var(--bg2) 100%);
  line-height:1.55;
}
img,svg{max-width:100%; height:auto}
a{color:inherit; text-decoration:none}
button,input,select,textarea{font:inherit}

.sr-only{
  position:absolute!important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

.skip-link{
  position:fixed;
  left:16px; top:16px;
  padding:10px 12px;
  border-radius:12px;
  background:#000;
  color:#fff;
  transform:translateY(-140%);
  transition:transform .2s ease;
  z-index:9999;
}
.skip-link:focus{transform:translateY(0)}

.container{
  width:min(1120px, calc(100% - 40px));
  margin-inline:auto;
}

/* Header */
.header{
  position:fixed;
  inset:0 0 auto 0;
  height:var(--headerH);
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  z-index:1000;
}
.header__inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.header__inner{
  padding-block:10px;
}
.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  min-width:0;
  max-width:min(300px, 38vw);
}
.brand__logo{
  display:block;
  height:clamp(48px, 7.5vw, 72px);
  width:auto;
  max-width:100%;
  object-fit:contain;
  object-position:left center;
}
.brand:focus-visible{outline:none; border-radius:12px; box-shadow:var(--ring)}

.nav{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:1 1 auto;
  justify-content:center;
}
.nav__menu > li{min-width:0}
.nav__toggle{
  display:none;
  width:44px; height:44px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease;
}
.nav__toggle:active{transform:scale(.98)}
.nav__toggle:focus-visible{outline:none; box-shadow:var(--shadow2), var(--ring)}
.nav__toggleLines{
  width:18px; height:12px;
  display:block;
  margin-inline:auto;
  background:
    linear-gradient(var(--text),var(--text)) 0 0/100% 2px no-repeat,
    linear-gradient(var(--text),var(--text)) 0 50%/100% 2px no-repeat,
    linear-gradient(var(--text),var(--text)) 0 100%/100% 2px no-repeat;
  opacity:.85;
  border-radius:2px;
}
.nav__menu{
  list-style:none;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
  column-gap:14px;
  row-gap:10px;
  padding:0;
  margin:0;
}
.nav__link{
  display:inline-flex;
  padding:12px 14px;
  border-radius:14px;
  color:var(--muted);
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
  text-align:center;
  transition:background .2s ease, color .2s ease, transform .15s ease;
}
.nav__link--long{
  font-size:13px;
  padding:10px 10px;
  letter-spacing:-0.01em;
  white-space:normal;
  max-width:260px;
}
.nav__item--dropdown{
  position:relative;
}
.nav__link--dropdown{
  font:inherit;
  cursor:pointer;
  border:0;
  background:transparent;
  align-items:center;
  gap:6px;
  color:#4b3d6e;
  font-weight:700;
}
.nav__link--svedTitle{
  white-space:normal;
  max-width:min(300px, 36vw);
  text-align:left;
  line-height:1.25;
  font-size:12px;
  padding:10px 12px;
}
.nav__link--dropdown:hover{background:rgba(169,147,241,.16); color:var(--text)}
.nav__caret{
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid currentColor;
  opacity:.75;
  transition:transform .2s ease;
}
.nav__item--dropdown.is-open .nav__caret{transform:rotate(180deg)}
.nav__submenu{
  list-style:none;
  margin:0;
  padding:6px 0;
  position:absolute;
  z-index:1100;
  left:50%;
  transform:translateX(-50%);
  top:calc(100% + 6px);
  min-width:min(420px, 92vw);
  max-width:92vw;
  max-height:min(72vh, 520px);
  overflow-y:auto;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:0 18px 40px rgba(19,12,26,.14);
}
.nav__submenu li{margin:0}
.nav__sublink{
  display:block;
  padding:12px 18px;
  font-weight:700;
  font-size:14px;
  line-height:1.35;
  color:#1F1B24;
  border-bottom:1px solid rgba(31,27,36,.08);
  white-space:normal;
  text-align:left;
  transition:background .15s ease;
}
.nav__submenu li:last-child .nav__sublink{border-bottom:0}
.nav__sublink:hover{background:rgba(169,147,241,.12); color:var(--text)}
.nav__sublink:focus-visible{outline:none; box-shadow:inset var(--ring)}
.nav__link:hover{background:rgba(169,147,241,.16); color:var(--text)}
.nav__link:active{transform:scale(.99)}
.nav__link:focus-visible{outline:none; box-shadow:var(--ring)}

.header__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:260px;
  flex:0 0 auto;
}
.iconBtn{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  box-shadow:var(--shadow2);
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.iconBtn:hover{background:rgba(216,66,92,.06)}
.iconBtn:active{transform:scale(.98)}
.iconBtn:focus-visible{outline:none; box-shadow:var(--shadow2), var(--ring)}

.chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
  transition:transform .15s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.chip:hover{transform:translateY(-1px)}
.chip:focus-visible{outline:none; box-shadow:var(--shadow2), var(--ring)}
.chip__text{font-weight:700; font-size:14px}
.iconLink{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.iconLink:hover{transform:translateY(-1px); background:rgba(194,209,88,.10)}
.iconLink:focus-visible{outline:none; box-shadow:var(--shadow2), var(--ring)}

main{padding-top:calc(var(--headerH) + 14px)}
.header--doc .header__inner{justify-content:space-between; gap:12px}
.docHeader__back{
  flex-shrink:0;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:800;
  font-size:14px;
  color:var(--text);
  box-shadow:var(--shadow2);
  transition:background .2s ease, transform .15s ease;
}
.docHeader__back:hover{background:rgba(169,147,241,.12)}
.docPage{padding-bottom:64px}
.docPage__crumb{
  font-size:14px;
  color:var(--muted);
  margin:0 0 18px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}
.docPage__crumb a{text-decoration:underline; text-underline-offset:3px}
.docPage__crumbSep{opacity:.45}
.docPage__title{margin:0}
.docPage__lead{margin:12px 0 0; color:var(--muted); max-width:62ch; line-height:1.55}
.docPage__lead a{color:var(--purple); text-decoration:underline; text-underline-offset:3px; font-weight:700}
.docPage__slot{
  margin-top:28px;
  padding:24px;
  min-height:140px;
  border-radius:var(--radius);
  border:1px dashed rgba(31,27,36,.22);
  background:var(--bg2);
}
.docPdfList{
  margin-top:24px;
  max-width:920px;
  display:grid;
  gap:12px;
}
.docPdfItem{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.docPdfItem__summary{
  padding:14px 18px;
  cursor:pointer;
  font-weight:800;
  list-style:none;
  user-select:none;
  transition:background .15s ease;
}
.docPdfItem__summary::-webkit-details-marker{display:none}
.docPdfItem__summary::marker{content:""}
.docPdfItem__summary:hover{background:rgba(169,147,241,.08)}
.docPdfItem__body{padding:0 14px 16px}
.docPdfFrame{
  display:block;
  width:100%;
  min-height:min(68vh, 760px);
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--bg2);
}
.docPdfDownload{
  display:inline-flex;
  margin-top:12px;
  padding:8px 0;
  font-weight:800;
  color:var(--purple);
  text-decoration:underline;
  text-underline-offset:3px;
}
.docPdfDownload:hover{color:var(--pink)}
.footer--doc{padding:32px 0}
.footer__bottom--doc{margin-top:0; padding-top:20px; border-top:1px solid rgba(255,255,255,.12)}
.docInfo{
  margin-top:8px;
  max-width:760px;
}
.docInfo--wide{max-width:960px}
.docTableWrap{
  margin-top:12px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:var(--radiusSm);
  border:1px solid var(--border);
  background:#fff;
}
.docTable{
  width:100%;
  min-width:520px;
  border-collapse:collapse;
  font-size:14px;
  line-height:1.45;
}
.docTable th,
.docTable td{
  border:1px solid rgba(31,27,36,.12);
  padding:10px 12px;
  text-align:left;
  vertical-align:top;
  color:var(--muted);
}
.docTable thead th{
  background:var(--bg2);
  color:var(--text);
  font-weight:800;
  font-size:13px;
}
.docTable tbody td:first-child + td{color:var(--text); font-weight:600}
.docTable__num{
  width:44px;
  text-align:center;
  font-weight:800;
  color:var(--text);
  white-space:nowrap;
}
.docInfo__block{margin-top:26px}
.docInfo__block:first-of-type{margin-top:14px}
.docInfo__label{
  margin:0 0 10px;
  font-size:clamp(16px, 1.45vw, 19px);
  font-weight:800;
  color:var(--text);
  letter-spacing:-0.02em;
}
.docInfo__label--long{font-size:clamp(15px, 1.35vw, 17px); line-height:1.35}
.docInfo__status{
  margin:6px 0 0;
  font-weight:800;
  font-size:16px;
  color:rgba(93,85,102,.95);
}
.docInfo__status[data-status="none"]{color:rgba(93,85,102,.85)}
.docInfo__text{margin:0; color:var(--muted); line-height:1.65}
.docInfo__text--cite{font-style:italic; color:rgba(31,27,36,.88)}
.docInfo__titleFull{
  margin:14px 0 0;
  font-size:clamp(14px, 1.25vw, 17px);
  font-weight:900;
  letter-spacing:.04em;
  line-height:1.4;
  color:var(--text);
}
.docInfo__list{margin:10px 0 0; padding-left:22px; color:var(--muted); line-height:1.65}
.docInfo__list li{padding:4px 0}
.docInfo__list--marked{
  list-style:disc;
  padding-left:1.35em;
}
.docInfo__sublist{
  margin:10px 0 6px;
  padding-left:1.35em;
  list-style:disc;
  color:var(--muted);
}
.docInfo__sublist li{padding:3px 0}
.docInfo__contacts{list-style:none; margin:8px 0 0; padding:0}
.docInfo__contacts li{padding:4px 0}
.docInfo a{font-weight:800; color:var(--purple)}
.docInfo a:hover{text-decoration:underline}

/* Вакантные места (раздел СВО) */
.vacantBlock{
  margin:8px auto 0;
  max-width:560px;
  text-align:center;
}
.vacantBlock__title{
  margin:0;
  font-size:clamp(18px, 1.9vw, 26px);
  font-weight:900;
  letter-spacing:.06em;
  line-height:1.3;
  text-transform:uppercase;
  color:var(--text);
}
.vacantBlock__lead{
  margin:16px 0 20px;
  color:var(--text);
  line-height:1.55;
  font-size:clamp(15px, 1.35vw, 17px);
}
.vacantTableWrap{
  margin:0 auto;
  max-width:520px;
  border:1px solid rgba(31,27,36,.35);
  border-radius:var(--radiusSm);
  overflow:hidden;
  background:#fff;
}
.vacantTable{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  line-height:1.4;
}
.vacantTable th,
.vacantTable td{
  border:1px solid rgba(31,27,36,.22);
  padding:14px 16px;
  text-align:center;
  vertical-align:middle;
}
.vacantTable th{
  width:50%;
  background:#6a2a8c;
  color:#fff;
  font-weight:700;
}
.vacantTable td{
  background:#fff;
  color:var(--text);
  font-weight:600;
}

/* Sections */
.section{padding:72px 0}
.section--alt{background:var(--bg2)}
.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.sectionTitle{
  margin:0;
  font-size:clamp(24px, 2.4vw, 34px);
  letter-spacing:-.02em;
}
.sectionNote{margin:0; color:var(--muted); max-width:56ch}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(169,147,241,.16);
  color:rgba(31,27,36,.92);
  font-weight:700;
  width:fit-content;
}

/* Hero */
.hero{
  position:relative;
  padding:64px 0 72px;
  overflow:hidden;
}
.heroCarousel{
  position:absolute;
  inset:-80px -80px auto -80px;
  height:520px;
  border-radius:44px;
  overflow:hidden;
  z-index:-2;
  filter:saturate(1.05);
}
.heroCarousel__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.56) 38%, rgba(255,255,255,.34) 62%, rgba(255,255,255,.18)),
    radial-gradient(closest-side at 18% 30%, rgba(169,147,241,.22), transparent 70%),
    radial-gradient(closest-side at 70% 22%, rgba(216,66,92,.16), transparent 70%),
    radial-gradient(closest-side at 60% 78%, rgba(194,209,88,.14), transparent 72%);
  z-index:2;
}
.heroCarousel__slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.06);
  animation:heroSlide 18s infinite;
  z-index:1;
}
.heroCarousel__slide--1{
  background-image:url("./assets/hero-1.png");
  animation-delay:0s;
}
.heroCarousel__slide--2{
  background-image:url("./assets/hero-2.png");
  animation-delay:6s;
}
.heroCarousel__slide--3{
  background-image:url("./assets/hero-3.png");
  animation-delay:12s;
}

@keyframes heroSlide{
  0%{opacity:0; transform:scale(1.08)}
  6%{opacity:1}
  28%{opacity:1; transform:scale(1.03)}
  34%{opacity:0}
  100%{opacity:0; transform:scale(1.06)}
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:center;
}
.hero__title{
  margin:14px 0 0;
  font-size:clamp(30px, 4vw, 52px);
  line-height:1.08;
  letter-spacing:-.03em;
}
.hero__subtitle{
  margin:12px 0 0;
  font-size:clamp(16px, 1.6vw, 20px);
  color:var(--muted);
  max-width:50ch;
}
.hero__actions{display:flex; gap:12px; margin-top:20px; flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:18px;
  border:1px solid transparent;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{transform:scale(.99)}
.btn:focus-visible{outline:none; box-shadow:var(--ring)}
.btn--primary{
  background:linear-gradient(135deg, var(--purple), var(--pink));
  color:#fff;
  box-shadow:0 18px 36px rgba(169,147,241,.22), 0 12px 26px rgba(216,66,92,.12);
}
.btn--primary:hover{transform:translateY(-1px)}
.btn--ghost{
  background:#fff;
  border-color:var(--border);
  color:var(--text);
  box-shadow:var(--shadow2);
}
.btn--ghost:hover{background:rgba(169,147,241,.10)}
.btn--wide{width:100%}

.hero__stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:22px;
}
.stat{
  padding:14px 14px;
  border-radius:20px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.70);
  box-shadow:var(--shadow2);
}
.stat__num{font-weight:900}
.stat__label{font-size:13px; color:var(--muted); margin-top:4px}

.hero__art{
  position:relative;
  width:100%;
  max-width:520px;
  min-height:280px;
  margin-inline:auto 0;
  pointer-events:none;
}
.heroStar{
  position:absolute;
  display:block;
  clip-path:polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  opacity:.42;
}
.heroStar--purple{background:rgba(169,147,241,.55)}
.heroStar--pink{background:rgba(216,66,92,.48)}
.heroStar--lime{background:rgba(194,209,88,.52)}
.heroStar--white{background:rgba(255,255,255,.55); opacity:.32}
.heroStar:nth-child(1){width:38px;height:38px;top:4%;left:8%;transform:rotate(-12deg)}
.heroStar:nth-child(2){width:26px;height:26px;top:18%;left:52%;transform:rotate(18deg);opacity:.36}
.heroStar:nth-child(3){width:32px;height:32px;top:42%;left:6%;transform:rotate(8deg)}
.heroStar:nth-child(4){width:22px;height:22px;top:12%;left:72%;transform:rotate(-22deg);opacity:.38}
.heroStar:nth-child(5){width:34px;height:34px;top:58%;left:38%;transform:rotate(14deg)}
.heroStar:nth-child(6){width:28px;height:28px;top:72%;left:68%;transform:rotate(-6deg);opacity:.4}
.heroStar:nth-child(7){width:18px;height:18px;top:28%;left:28%;transform:rotate(35deg);opacity:.28}
.heroStar:nth-child(8){width:24px;height:24px;top:50%;left:78%;transform:rotate(-18deg)}
.heroStar:nth-child(9){width:30px;height:30px;top:8%;left:38%;transform:rotate(6deg);opacity:.35}
.heroStar:nth-child(10){width:20px;height:20px;top:66%;left:18%;transform:rotate(22deg)}
.heroStar:nth-child(11){width:16px;height:16px;top:38%;left:88%;transform:rotate(-30deg);opacity:.26}
.heroStar:nth-child(12){width:36px;height:36px;top:82%;left:42%;transform:rotate(-10deg);opacity:.38}
.heroStar:nth-child(13){width:26px;height:26px;top:32%;left:58%;transform:rotate(12deg)}
.heroStar:nth-child(14){width:22px;height:22px;top:52%;left:92%;transform:rotate(-14deg);opacity:.34}

/* Leopard block */
.leopard{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:26px;
  align-items:center;
}
.leopard__media{
  border-radius:var(--radius);
  background:linear-gradient(145deg, rgba(169,147,241,.18), rgba(194,209,88,.12));
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:260px;
  display:grid;
  place-items:center;
}
.leopardSvg{width:min(460px, 100%); padding:10px}
.quote{
  margin:16px 0 0;
  padding:16px 18px;
  border-radius:22px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
}
.quote p{margin:0; font-size:18px}
.leopard__chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.leopard__reviewQr{margin-top:22px}
.reviewQr{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
.reviewQr__img{
  display:block;
  width:min(200px, 72vw);
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
  border-radius:12px;
  border:1px solid var(--border);
  box-shadow:var(--shadow2);
  background:#fff;
}
.reviewQr__caption{
  margin:0;
  font-size:15px;
  font-weight:800;
  color:rgba(31,27,36,.90);
  letter-spacing:-0.01em;
}
.tag{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(216,66,92,.10);
  border:1px solid rgba(216,66,92,.18);
  font-weight:700;
  color:rgba(31,27,36,.90);
}

/* Cards */
.cards3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.cards2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.card{
  padding:18px 18px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow);
}
.card--soft{box-shadow:var(--shadow2)}
.card--purple{background:linear-gradient(165deg, rgba(169,147,241,.30), rgba(255,255,255,.90))}
.card--pink{background:linear-gradient(165deg, rgba(216,66,92,.20), rgba(255,255,255,.92))}
.card--lime{background:linear-gradient(165deg, rgba(194,209,88,.26), rgba(255,255,255,.92))}
.card__title{margin:0; font-size:20px}
.card__text{margin:8px 0 0; color:var(--muted)}
.list{margin:14px 0 0; padding-left:18px; color:rgba(31,27,36,.88)}
.list li{margin:6px 0}

.card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.badge{
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
  border:1px solid var(--border);
  background:#fff;
}
.badge--purple{background:rgba(169,147,241,.16)}
.badge--pink{background:rgba(216,66,92,.12)}

.schedule{
  margin-top:12px;
  display:grid;
  gap:8px;
}
.schedule__row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(248,249,250,.85);
}
.schedule__row span:first-child{font-weight:900; color:rgba(31,27,36,.88); white-space:nowrap}
.schedule__row span:last-child{color:var(--muted)}

/* Teachers */
.teacherGrid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
.tCard{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
  overflow:hidden;
  transition:transform .15s ease, box-shadow .2s ease;
}
.tCard:hover{transform:translateY(-2px); box-shadow:var(--shadow)}
.tCard__photo{
  height:150px;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(169,147,241,.35), transparent 70%),
    radial-gradient(closest-side at 70% 40%, rgba(216,66,92,.22), transparent 70%),
    linear-gradient(180deg, rgba(248,249,250,1), rgba(248,249,250,1));
}
.tCard__photo--alt{
  background:
    radial-gradient(closest-side at 20% 30%, rgba(194,209,88,.38), transparent 70%),
    radial-gradient(closest-side at 70% 20%, rgba(169,147,241,.26), transparent 70%),
    linear-gradient(180deg, rgba(248,249,250,1), rgba(248,249,250,1));
}
.tCard__photo--alt2{
  background:
    radial-gradient(closest-side at 20% 30%, rgba(216,66,92,.24), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(194,209,88,.26), transparent 70%),
    linear-gradient(180deg, rgba(248,249,250,1), rgba(248,249,250,1));
}
.tCard__photo--alt3{
  background:
    radial-gradient(closest-side at 30% 50%, rgba(169,147,241,.30), transparent 70%),
    radial-gradient(closest-side at 70% 30%, rgba(194,209,88,.22), transparent 70%),
    linear-gradient(180deg, rgba(248,249,250,1), rgba(248,249,250,1));
}
.tCard__body{padding:14px 14px 16px}
.tCard__name{margin:0; font-size:18px}
.tCard__role{margin:6px 0 0; color:rgba(216,66,92,.92); font-weight:800}
.tCard__exp{margin:4px 0 0; font-size:13px; font-weight:700; color:var(--muted)}
.tCard__desc{margin:8px 0 0; color:var(--muted)}

/* Gallery */
.galleryGrid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:12px;
}
.gItem{
  margin:0;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow2);
  min-height:170px;
  position:relative;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(169,147,241,.25), transparent 70%),
    radial-gradient(closest-side at 80% 30%, rgba(216,66,92,.18), transparent 70%),
    radial-gradient(closest-side at 60% 80%, rgba(194,209,88,.20), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg2));
}
.gItem figcaption{
  position:absolute;
  inset:auto 12px 12px 12px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
  font-weight:800;
  box-shadow:var(--shadow2);
}
.gItem--1{grid-column:span 7}
.gItem--2{grid-column:span 5}
.gItem--3{grid-column:span 4}
.gItem--4{grid-column:span 4}
.gItem--5{grid-column:span 4}
.gItem--6{grid-column:span 12; min-height:220px}

/* Activities */
.activityList{display:grid; gap:14px}
.aRow{
  display:grid;
  grid-template-areas:"badge content visual";
  grid-template-columns: 62px 1fr 220px;
  align-items:center;
  gap:14px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
  padding:16px 16px;
}
.aRow--reverse{
  grid-template-areas:"visual content badge";
  grid-template-columns: 220px 1fr 62px;
}
.aRow__badge{
  grid-area:badge;
  width:56px; height:56px;
  display:grid; place-items:center;
  border-radius:18px;
  font-weight:1000;
  color:#fff;
  box-shadow:var(--shadow2);
}
.aRow__badge--purple{background:linear-gradient(135deg, var(--purple), rgba(169,147,241,.65))}
.aRow__badge--pink{background:linear-gradient(135deg, var(--pink), rgba(216,66,92,.55))}
.aRow__badge--lime{background:linear-gradient(135deg, var(--lime), rgba(194,209,88,.65))}
.aRow__content h3{margin:0; font-size:20px}
.aRow__content p{margin:6px 0 0; color:var(--muted)}
.aRow__content{grid-area:content}
.aRow__visual{
  grid-area:visual;
  height:88px;
  border-radius:22px;
  border:1px solid var(--border);
  background:rgba(248,249,250,.95);
  overflow:hidden;
  position:relative;
}
.aRow__visual::before{
  content:"";
  position:absolute; inset:-40px -40px;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(169,147,241,.35), transparent 70%),
    radial-gradient(closest-side at 80% 40%, rgba(216,66,92,.22), transparent 70%),
    radial-gradient(closest-side at 60% 80%, rgba(194,209,88,.26), transparent 72%);
}
.aRow__visual--pink::before{
  background:
    radial-gradient(closest-side at 20% 30%, rgba(216,66,92,.28), transparent 70%),
    radial-gradient(closest-side at 80% 40%, rgba(169,147,241,.22), transparent 70%),
    radial-gradient(closest-side at 60% 80%, rgba(194,209,88,.22), transparent 72%);
}
.aRow__visual--lime::before{
  background:
    radial-gradient(closest-side at 20% 30%, rgba(194,209,88,.34), transparent 70%),
    radial-gradient(closest-side at 80% 40%, rgba(169,147,241,.22), transparent 70%),
    radial-gradient(closest-side at 60% 80%, rgba(216,66,92,.18), transparent 72%);
}
.aRow__visual--purple2::before{
  background:
    radial-gradient(closest-side at 20% 30%, rgba(169,147,241,.35), transparent 70%),
    radial-gradient(closest-side at 80% 40%, rgba(194,209,88,.22), transparent 70%),
    radial-gradient(closest-side at 60% 80%, rgba(216,66,92,.18), transparent 72%);
}
.aRow__visual--fizkultura,
.aRow__visual--eng,
.aRow__visual--rech,
.aRow__visual--izobraz{
  background:#e8edf5;
}
.aRow__visual--fizkultura::before,
.aRow__visual--eng::before,
.aRow__visual--rech::before,
.aRow__visual--izobraz::before{
  display:none;
}
.aRow__visual--fizkultura img,
.aRow__visual--eng img,
.aRow__visual--rech img,
.aRow__visual--izobraz img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 35%;
}
.aRow__visual--eng img{object-position:center 32%}
.aRow__visual--rech img{object-position:center 30%}
.aRow__visual--izobraz img{object-position:center 40%}

/* Trial (jungle-like background) */
.trial{
  position:relative;
  color:#fff;
  overflow:hidden;
}
.trial__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side at 18% 22%, rgba(194,209,88,.35), transparent 70%),
    radial-gradient(closest-side at 80% 30%, rgba(169,147,241,.38), transparent 70%),
    radial-gradient(closest-side at 60% 82%, rgba(216,66,92,.25), transparent 72%),
    linear-gradient(180deg, rgba(20,18,26,.92), rgba(20,18,26,.92));
  z-index:-2;
}
.trial::before{
  content:"";
  position:absolute;
  inset:-60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.10' stroke-width='2'%3E%3Cpath d='M30 180c40-65 80-82 120-50'/%3E%3Cpath d='M24 60c44 26 70 56 78 94'/%3E%3Cpath d='M190 40c-54 34-84 74-96 120'/%3E%3Cpath d='M160 200c-32-36-62-58-92-66'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' fill-opacity='.08'%3E%3Cellipse cx='64' cy='78' rx='24' ry='10'/%3E%3Cellipse cx='156' cy='140' rx='20' ry='9'/%3E%3C/g%3E%3C/svg%3E");
  background-size:220px 220px;
  filter: blur(.1px);
  z-index:-1;
  opacity:.9;
}
.trial__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.sectionTitle--onDark{color:#fff}
.trial__note{margin:12px 0 0; color:rgba(255,255,255,.82); max-width:60ch}
.trial__bullets{margin:16px 0 0; padding-left:18px; color:rgba(255,255,255,.88)}
.trial__bullets li{margin:6px 0}
.card--glass{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
  box-shadow:none;
  backdrop-filter: blur(10px);
}

.form{padding:18px}
.form__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.field{display:grid; gap:8px; margin:0 0 12px}
.field__label{font-weight:900; color:rgba(255,255,255,.90)}
.field__input{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:#fff;
  padding:12px 12px;
  outline:none;
  transition:box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.field__input::placeholder{color:rgba(255,255,255,.70)}
.field__input:focus{box-shadow:0 0 0 4px rgba(255,255,255,.20); border-color:rgba(255,255,255,.38)}
.field__textarea{resize:vertical; min-height:110px}
.form__fineprint{
  margin:10px 0 0;
  color:rgba(255,255,255,.70);
  font-size:12px;
}
.form__result{
  margin:10px 0 0;
  font-weight:900;
  color:#fff;
  min-height:1.2em;
}

/* FAQ */
.faq{display:grid; gap:12px}
.faqItem{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.faqQ{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px;
  background:transparent;
  border:0;
  cursor:pointer;
  font-weight:900;
  text-align:left;
}
.faqQ:focus-visible{outline:none; box-shadow:inset var(--ring)}
.faqIcon{
  width:18px; height:18px;
  border-radius:8px;
  border:1px solid var(--border);
  background:
    linear-gradient(var(--text),var(--text)) 50% 50%/12px 2px no-repeat,
    linear-gradient(var(--text),var(--text)) 50% 50%/2px 12px no-repeat;
  opacity:.7;
  transition:transform .2s ease, background .2s ease;
  flex:0 0 auto;
}
.faqItem[data-open="true"] .faqIcon{
  background:
    linear-gradient(var(--text),var(--text)) 50% 50%/12px 2px no-repeat;
  transform:rotate(180deg);
}
.faqA{
  padding:0 16px 16px;
  color:var(--muted);
}

/* Footer */
.footer{
  padding:56px 0 22px;
  background:#0f0d14;
  color:#fff;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap:16px;
  align-items:start;
}
.footer__map iframe{
  width:100%;
  height:260px;
  border:0;
  border-radius:26px;
  box-shadow:0 18px 38px rgba(0,0,0,.28);
}
.footer__title{margin:0; font-size:18px}
.footer__text{margin:10px 0 0; color:rgba(255,255,255,.80)}
.footer__text a{color:rgba(255,255,255,.92)}
.footer__icons{display:flex; gap:10px; margin-top:12px}
.footer .iconLink--footer{
  background:transparent;
  border:1px solid rgba(255,255,255,.42);
  color:#fff;
  box-shadow:none;
}
.footer .iconLink--footer:hover{
  background:#fff;
  color:#0f0d14;
  border-color:#fff;
  transform:translateY(-2px);
}
.footer .iconLink--footer:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(255,255,255,.45);
}
.footer__nav{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  display:grid;
  gap:8px;
}
.footer__nav a{color:rgba(255,255,255,.82)}
.footer__nav a:hover{color:#fff}
.footer__bottom{
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:rgba(255,255,255,.70);
  font-weight:700;
}
.toTop{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  background:rgba(255,255,255,.08);
}
.toTop:hover{background:rgba(255,255,255,.12)}

/* Intro text animation */
.fadeInUp{
  opacity:0;
  transform:translateY(10px);
  animation:fadeInUp .7s ease-out forwards;
}
.fadeInUp--d1{animation-delay:.12s}
.fadeInUp--d2{animation-delay:.24s}
.fadeInUp--d3{animation-delay:.36s}

@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(12px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Responsive */
@media (max-width: 980px){
  .header__actions{min-width:auto}
  .chip__text{display:none}
  .hero__grid{grid-template-columns:1fr; gap:18px}
  .hero__art{max-width:560px}
  .leopard{grid-template-columns:1fr; gap:16px}
  .teacherGrid{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .trial__grid{grid-template-columns:1fr; gap:14px}
  .footer__grid{grid-template-columns:1fr; gap:14px}
}
@media (max-width: 760px){
  :root{--headerH:80px}
  body{overflow-x:hidden}
  .section{padding:56px 0}
  .sectionHead{flex-direction:column; align-items:flex-start}
  .header__inner{
    gap:8px;
    flex-wrap:nowrap;
    align-items:center;
  }
  .brand{
    flex:1 1 auto;
    min-width:0;
    max-width:min(200px, 58vw);
  }
  .brand__logo{height:44px}
  .nav{
    position:relative;
    z-index:50;
    flex:0 0 auto;
    justify-content:flex-end;
    min-width:44px;
  }
  .header__actions{
    position:relative;
    z-index:40;
    flex:0 0 auto;
    min-width:0;
    gap:6px;
  }
  .nav__toggle{
    display:inline-grid;
    place-items:center;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }
  /* Панель на всю ширину экрана (не к узкой колонке с «бургером») */
  .nav__menu{
    position:fixed;
    top:calc(var(--headerH) + 10px);
    left:20px;
    right:20px;
    width:auto;
    max-width:none;
    margin:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:10px;
    gap:2px;
    border-radius:22px;
    background:rgba(255,255,255,.96);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    z-index:2000;
    max-height:min(70vh, 520px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .nav__menu.is-open{display:flex}
  .nav__link{padding:12px 12px}
  .nav__link--dropdown{
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }
  .nav__item--dropdown{width:100%}
  .nav__link--dropdown{width:100%; justify-content:space-between; text-align:left}
  .nav__link--svedTitle{max-width:100%; font-size:14px}
  .nav__submenu{
    position:static;
    transform:none;
    left:auto;
    top:auto;
    min-width:100%;
    max-height:min(50vh, 360px);
    margin:4px 0 0;
    box-shadow:none;
    border-radius:14px;
    z-index:auto;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .cards3{grid-template-columns:1fr}
  .cards2{grid-template-columns:1fr}
  .hero__stats{grid-template-columns:1fr}
  .galleryGrid{grid-template-columns:1fr}
  .gItem{grid-column:auto!important}
  .aRow{
    grid-template-columns: 54px 1fr;
    grid-template-areas:
      "badge content"
      "visual visual";
  }
  .aRow__badge{grid-area:badge}
  .aRow__content{grid-area:content}
  .aRow__visual{grid-area:visual}
  .form__row{grid-template-columns:1fr}
}

/* High contrast mode */
body.high-contrast{
  background:#000 !important;
  color:#ff0 !important;
  font-size:18px;
}
body.high-contrast .header{
  background:#000 !important;
  border-bottom:2px solid #ff0 !important;
  backdrop-filter:none !important;
}
body.high-contrast .brand{padding:4px; border-radius:12px; outline:2px solid #ff0 !important}
body.high-contrast .brand__logo{filter:grayscale(1) contrast(1.15)}
body.high-contrast a, body.high-contrast button{color:#ff0 !important}
body.high-contrast .nav__link{color:#ff0 !important}
body.high-contrast .nav__link:hover{background:#111 !important}
body.high-contrast .nav__submenu{background:#000 !important; border:2px solid #ff0 !important}
body.high-contrast .nav__sublink{color:#ff0 !important; border-color:#ff0 !important}
body.high-contrast .nav__sublink:hover{background:#111 !important}
body.high-contrast .docInfo__label{color:#fff !important}
body.high-contrast .docInfo__text,
body.high-contrast .docInfo__text--cite,
body.high-contrast .docInfo__list,
body.high-contrast .docInfo__titleFull{color:#ff0 !important}
body.high-contrast .docInfo a{color:#ff0 !important}
body.high-contrast .docInfo__status{color:#ff0 !important}
body.high-contrast .docPdfItem{background:#000 !important; border:2px solid #ff0 !important; box-shadow:none !important}
body.high-contrast .docPdfItem__summary{color:#ff0 !important}
body.high-contrast .docPdfItem__summary:hover{background:#111 !important}
body.high-contrast .docPdfFrame{border-color:#ff0 !important; background:#000 !important}
body.high-contrast .docPdfDownload{color:#ff0 !important}
body.high-contrast .docTableWrap{border-color:#ff0 !important; background:#000 !important}
body.high-contrast .docTable th,
body.high-contrast .docTable td{border-color:#ff0 !important; color:#ff0 !important}
body.high-contrast .docTable thead th{background:#000 !important; color:#fff !important}
body.high-contrast .vacantTableWrap{border-color:#ff0 !important; background:#000 !important}
body.high-contrast .vacantBlock__title,
body.high-contrast .vacantBlock__lead{color:#ff0 !important}
body.high-contrast .vacantTable th{
  background:#000 !important;
  color:#ff0 !important;
  border-color:#ff0 !important;
}
body.high-contrast .vacantTable td{
  background:#000 !important;
  color:#ff0 !important;
  border-color:#ff0 !important;
}
body.high-contrast .section--alt{background:#000 !important}
body.high-contrast .pill{background:#111 !important; color:#ff0 !important}
body.high-contrast .card,
body.high-contrast .tCard,
body.high-contrast .faqItem,
body.high-contrast .chip,
body.high-contrast .iconLink,
body.high-contrast .iconBtn,
body.high-contrast .stat,
body.high-contrast .quote,
body.high-contrast .leopard__media,
body.high-contrast .aRow,
body.high-contrast .gItem{
  background:#000 !important;
  border:2px solid #ff0 !important;
  box-shadow:none !important;
}
body.high-contrast .reviewQr__img{background:#fff !important; border:2px solid #ff0 !important; box-shadow:none !important}
body.high-contrast .reviewQr__caption{color:#ff0 !important}
body.high-contrast .footer .iconLink--footer:hover{
  background:#ff0 !important;
  color:#000 !important;
  border-color:#ff0 !important;
}
body.high-contrast .card__text,
body.high-contrast .sectionNote,
body.high-contrast .tCard__desc,
body.high-contrast .tCard__exp,
body.high-contrast .faqA,
body.high-contrast .schedule__row span:last-child,
body.high-contrast .hero__subtitle,
body.high-contrast .stat__label,
body.high-contrast .footer__text{
  color:#ff0 !important;
}
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3{
  color:#fff !important;
  font-weight:1000 !important;
}
body.high-contrast .btn--primary{
  background:#fff !important;
  color:#000 !important;
  box-shadow:none !important;
}
body.high-contrast .btn--ghost{
  background:#000 !important;
  color:#ff0 !important;
  border:2px solid #ff0 !important;
  box-shadow:none !important;
}
body.high-contrast .schedule__row{
  background:#000 !important;
  border:2px solid #ff0 !important;
}
body.high-contrast .trial__bg,
body.high-contrast .heroCarousel,
body.high-contrast .trial::before{
  display:none !important;
}

@media (prefers-reduced-motion: reduce){
  .heroCarousel__slide{animation:none; opacity:0}
  .heroCarousel__slide--1{opacity:1; transform:none}
}
body.high-contrast .footer{background:#000 !important}
