:root {
  --ink: #0f1b3d;
  --mut: #5a6785;
  --navy: #16265a;
  --band: #2b4a8c;
  --blue: #1f5fb3;
  --teal: #2a9ba3;
  --green: #22a671;
  --mint: #4cc38a;
  --line: #e1e7f3;
  --tint: #f3f6fc;
  --sh: 0 18px 40px -22px rgba(15, 27, 61, 0.35);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    17px/1.65 Onest,
    Manrope,
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 4vw, 46px);
}
h3 {
  font-size: 22px;
}
.hl {
  color: var(--blue);
}
.w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 860px;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}
/* header */
.hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    color 0.3s;
}
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
}
.topbar .w {
  display: flex;
  gap: 30px;
  height: 44px;
  align-items: center;
}
.topbar a {
  text-decoration: none;
}
.bar .w {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
  font-weight: 600;
  font-size: 16px;
}
nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}
.lang {
  display: flex;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 3px;
}
.lang button {
  background: none;
  border: 0;
  color: inherit;
  padding: 5px 10px;
  border-radius: 7px;
  font:
    700 13px Onest,
    Arial,
    sans-serif;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
}
.hd.scrolled {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 8px 28px -14px rgba(15, 27, 61, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hd.scrolled .topbar {
  display: none;
}
.hd.scrolled nav a:hover {
  background: var(--tint);
}
.hd.scrolled .lang {
  border-color: var(--line);
}
.hd.scrolled .lang button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}
/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn i {
  font-style: normal;
}
.btn:hover {
  transform: translateY(-2px);
}
.grad {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow:
    0 4px 0 rgba(79, 195, 230, 0.55),
    0 14px 28px -14px rgba(31, 95, 179, 0.8);
}
/* hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 190px 0 150px;
  background:
    radial-gradient(
      45% 55% at 85% 20%,
      rgba(42, 155, 163, 0.35),
      transparent 70%
    ),
    radial-gradient(
      45% 55% at 10% 90%,
      rgba(31, 95, 179, 0.45),
      transparent 70%
    ),
    linear-gradient(160deg, #0a1630, #102349 60%, #0d3050);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1.2px,
    transparent 1.2px
  );
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin-bottom: 0.4em;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--mint), #5b8fd6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 19px;
  color: #d4dcee;
  max-width: 560px;
  margin: 0 0 26px;
}
.hero-cards {
  display: grid;
  gap: 16px;
}
.hc {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s;
}
.hc:hover {
  transform: translateX(-6px);
}
.hc .ib {
  flex: 0 0 62px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hc svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hc .tx {
  flex: 1;
}
.hc b {
  display: block;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}
.hc small {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}
.hc > i {
  font-style: normal;
  font-size: 22px;
}
.c1 {
  background: linear-gradient(135deg, #3aa9ad, #2a8a95);
}
.c2 {
  background: linear-gradient(135deg, #1f5fb3, #2a74cc);
}
.c3 {
  background: linear-gradient(135deg, #2bb67f, #1f9a69);
}
.c4 {
  background: linear-gradient(135deg, #4d78c4, #6e93d8);
}
.c5 {
  background: linear-gradient(135deg, #4a5fb0, #33458f);
}
/* stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}
.stats .w {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: calc(100% - 48px);
  max-width: 1080px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--sh);
}
.stats .w > div {
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}
.stats .w > div:last-child {
  border: 0;
}
.stats b {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
}
.stats .w > div:nth-child(1) b {
  color: var(--teal);
}
.stats .w > div:nth-child(2) b {
  color: var(--blue);
}
.stats .w > div:nth-child(3) b {
  color: var(--green);
}
.stats .w > div:nth-child(4) b {
  color: var(--band);
}
.stats span {
  font-size: 14px;
  color: var(--mut);
}
/* sections */
section {
  padding: 100px 0;
}
section.alt {
  background: var(--tint);
}
.lead {
  color: var(--mut);
  font-size: 18px;
  max-width: 640px;
}
.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.sub {
  margin-top: 44px;
}
.strip {
  overflow: hidden;
  padding: 12px 0 22px;
  margin-top: 36px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.track {
  display: flex;
  width: max-content;
  animation: slide 50s linear infinite;
}
.strip:hover .track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.tile {
  position: relative;
  overflow: hidden;
  flex: 0 0 300px;
  margin-right: 18px;
  height: 230px;
  border-radius: 22px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  transition: transform 0.35s;
}
.tile:hover {
  transform: translateY(-8px);
}
.tile::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  right: -50px;
  top: -60px;
  background: rgba(255, 255, 255, 0.16);
}
.tile:nth-child(4n + 1) {
  background: linear-gradient(135deg, #2f9fa5, #1f5fb3);
}
.tile:nth-child(4n + 2) {
  background: linear-gradient(135deg, #1f5fb3, #16265a);
}
.tile:nth-child(4n + 3) {
  background: linear-gradient(135deg, #27ae7a, #2a9ba3);
}
.tile:nth-child(4n) {
  background: linear-gradient(135deg, #6a8fd4, #2b4a8c);
}
/* gallery tiles with video */
.tile .tl {
  position: relative;
  z-index: 2;
}
.tile .tv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.tile.has-v::before {
  display: none;
}
.tile.has-v::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 20, 50, 0.7), rgba(10, 20, 50, 0) 55%);
  pointer-events: none;
}
/* pastel cards */
.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  align-items: start;
}
.pc {
  display: block;
  position: relative;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid;
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.pc:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
}
.pc h3 {
  font-size: 25px;
  margin: 0 56px 6px 0;
}
.pc p {
  margin: 0;
  font-size: 17px;
}
.pc .pi {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pc .more {
  display: block;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  color: var(--ink);
  font-weight: 500;
}
.p0 {
  background: linear-gradient(180deg, #d3eef0, #eaf8f7);
  border-color: #bfe3e6;
  color: #1f8e97;
}
.p1 {
  background: linear-gradient(180deg, #cdd9f0, #e9eefb);
  border-color: #bccaea;
  color: #1f5fb3;
}
.p2 {
  background: linear-gradient(180deg, #cdeee0, #e8f8f1);
  border-color: #b9e3d2;
  color: #1f9a69;
}
.p3 {
  background: linear-gradient(180deg, #c9d4ee, #e9eefa);
  border-color: #b8c6e6;
  color: #3c5fb0;
}
.pc h3 {
  color: var(--ink);
}
ul.chips {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
ul.chips li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
ul.chips li:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
/* schedule */
.tabs {
  display: inline-flex;
  gap: 4px;
  margin: 28px 0 16px;
  padding: 5px;
  border-radius: 14px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.tabs button {
  background: none;
  border: 0;
  color: var(--mut);
  padding: 10px 24px;
  border-radius: 10px;
  font:
    700 15px Onest,
    Arial,
    sans-serif;
  cursor: pointer;
}
.tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
}
table {
  width: 100%;
  max-width: 560px;
  display: table;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh);
}
th,
td {
  padding: 15px 22px;
  text-align: left;
}
th {
  background: #e9eefb;
  color: var(--band);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
td {
  border-top: 1px solid var(--line);
  font-weight: 500;
}
tr:hover td {
  background: var(--tint);
}
/* graduates */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--sh);
}
.row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--mut);
}
.row b {
  color: var(--ink);
  font-weight: 800;
}
.bar2,
.pbar {
  height: 10px;
  background: var(--tint);
  border-radius: 99px;
  margin: 8px 0 20px;
  overflow: hidden;
}
.pbar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}
.pbar i.g {
  background: linear-gradient(90deg, var(--green), var(--mint));
}
/* counselor band */
.uni {
  color: #fff;
  background: linear-gradient(135deg, #2b4a8c, #243f7c);
  position: relative;
  overflow: hidden;
}
.uni::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1.5px,
    transparent 1.5px
  );
  background-size: 34px 34px;
}
.uni .w {
  position: relative;
}
.uni h2 {
  color: #fff;
}
.uni h2 .hl {
  color: var(--mint);
}
.uni .lead {
  color: #d4dcf0;
}
/* faq */
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 24px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: var(--teal);
}
details[open] summary::after {
  content: "–";
}
details p {
  color: var(--mut);
  margin: 0 0 16px;
}
/* footer */
footer {
  background: var(--navy);
  color: #c9d2ea;
  padding: 64px 0 28px;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.fb {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}
footer h3 {
  color: #fff;
  font-size: 18px;
}
footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
/* school map in the footer */
.mapw {
  margin-top: 44px;
}
.mapbox {
  position: relative;
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(76, 195, 138, 0.28), transparent 55%),
    radial-gradient(circle at 75% 60%, rgba(31, 95, 179, 0.4), transparent 55%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mapbox iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.mapph {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}
.mapph p {
  margin: 0;
  font-size: 14px;
  max-width: 340px;
}
.mappin {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--teal), var(--mint));
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
  position: relative;
}
.mappin::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}
.mapgo {
  border: 0;
  cursor: pointer;
  color: #fff;
  font: 700 16px Onest, Arial, sans-serif;
  padding: 13px 26px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  transition: transform 0.2s;
}
.mapgo:hover {
  transform: translateY(-2px);
}
.mapopen {
  display: inline-block;
  margin-top: 16px;
}
.mapopen:hover {
  text-decoration: underline;
}
.copy {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}
/* slide-in */
.rv {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rv-l {
  transform: translateX(-80px);
}
.rv-r {
  transform: translateX(80px);
}
.rv-u {
  transform: translateY(40px);
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .hero {
    padding: 170px 0 120px;
  }
  .hero-grid,
  .g2,
  .fgrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cards4 {
    grid-template-columns: 1fr 1fr;
  }
  .stats .w {
    grid-template-columns: 1fr 1fr;
  }
  .stats .w > div:nth-child(2) {
    border-right: 0;
  }
  .stats .w > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .topbar {
    display: none;
  }
  .bar .w {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-top: 10px;
    padding-bottom: 6px;
    min-height: 0;
  }
  .brand {
    max-width: 200px;
    font-size: 15px;
  }
  .lang {
    margin-left: auto;
  }
  .hd .btn {
    padding: 9px 14px;
    font-size: 14px;
  }
  nav {
    order: 5;
    width: 100%;
    margin: 0;
    overflow-x: auto;
  }
  .hero {
    padding-top: 200px;
  }
  section {
    padding: 72px 0;
  }
}
@media (max-width: 560px) {
  .cards4 {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .strip {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .track {
    animation: none;
  }
  .track > span {
    display: none !important;
  }
  .btn,
  .tile,
  .hc,
  .pc {
    transition: none;
  }
}

/* classes group pages */
[hidden]{display:none!important}
.hero.mini{padding:170px 0 80px}
.hero.mini .w{position:relative}
.hero.mini h1{font-size:clamp(36px,5.5vw,64px)}
.hero.mini h1 .hl{background:linear-gradient(90deg,var(--mint),#5b8fd6);-webkit-background-clip:text;background-clip:text;color:transparent}
.gs{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 28px}
.gs span{padding:10px 20px;border-radius:99px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);font-weight:600}
.gs b{font-size:22px;margin-right:6px}
.hero .btn i{font-style:normal}
.gb{background:var(--tint);border:1px solid var(--line);border-radius:28px;padding:28px;margin-bottom:26px}
.gh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.gh h3{margin:0;font-size:30px}
.gh span{padding:6px 16px;border-radius:99px;background:#fff;border:1px solid var(--line);color:var(--band);font-weight:700;font-size:15px}
.gb .cards4{margin-top:0}
.pc .info{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid currentColor}
.pc .info .row{color:var(--mut)}
.pc .info .row b{color:var(--ink);text-align:right}
#gw .gb{animation:gin .7s both}
#gw .cards4>*:nth-child(odd){animation:gl .8s both}
#gw .cards4>*:nth-child(even){animation:gr .8s both}
@keyframes gin{from{opacity:0;transform:translateY(40px)}}
@keyframes gl{from{opacity:0;transform:translateX(-80px)}}
@keyframes gr{from{opacity:0;transform:translateX(80px)}}
@media(max-width:900px){.hero.mini{padding:200px 0 70px}.gb{padding:20px}}
@media(prefers-reduced-motion:reduce){#gw .gb,#gw .cards4>*{animation:none!important}}

/* why choose us: carousel + floating doodles, replays on scroll down and up */
.why{position:relative;overflow:hidden;padding:100px 0 90px;background:linear-gradient(135deg,#eef5ff,#e8f8f1)}
.wy,.cwrap,.dots{position:relative;z-index:1}
.wy{max-width:760px;margin:0 auto;padding:0 24px;text-align:center}
.wy .lead{margin:0 auto}
.cwrap{margin-top:44px}
.ctrack{display:flex;gap:24px;overflow-x:auto;position:relative;scroll-snap-type:x proximity;padding:20px calc(50% - min(190px,39vw)) 34px;scrollbar-width:none}
.ctrack::-webkit-scrollbar{display:none}
.wcard{flex:0 0 min(380px,78vw);scroll-snap-align:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px 30px;box-shadow:var(--sh);opacity:.55;transform:scale(.94);transition:opacity .4s,transform .4s}
.wcard.on{opacity:1;transform:none}
.wi{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;margin-bottom:26px;box-shadow:0 12px 24px -12px rgba(15,27,61,.45)}
.wi svg{width:32px;height:32px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wcard h3{font-size:25px;margin-bottom:10px}
.wcard p{margin:0 0 22px;color:var(--mut);font-size:17px}
.wcard a{font-size:17px;font-weight:700;color:var(--blue);text-decoration:none}
.cb{position:absolute;top:50%;transform:translateY(-60%);z-index:3;width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:var(--ink);font-size:30px;line-height:1;cursor:pointer;box-shadow:var(--sh)}
.cb.prev{left:24px}.cb.next{right:24px}
.dots{display:flex;justify-content:center;gap:10px}
.dots button{width:10px;height:10px;padding:0;border:0;border-radius:99px;background:#c3d0e8;cursor:pointer;transition:.3s}
.dots button.on{width:34px;background:linear-gradient(90deg,var(--blue),var(--teal))}
.doodles{position:absolute;inset:0;z-index:0;pointer-events:none}
.dd{position:absolute}
.dd svg{display:block;width:100%;fill:currentColor;fill-opacity:.16;stroke:currentColor;stroke-width:1.9;filter:drop-shadow(0 5px 8px color-mix(in srgb,currentColor 40%,transparent));stroke-linecap:round;stroke-linejoin:round;animation:wf 6s ease-in-out infinite alternate}
@keyframes wf{from{transform:translateY(0) rotate(var(--r))}to{transform:translateY(-14px) rotate(calc(var(--r) + 8deg))}}
@keyframes wup{from{opacity:0;transform:translateY(46px)}}
@keyframes dpop{from{opacity:0;transform:scale(.2) rotate(-60deg)}}
.why.arm:not(.in) .wr,.why.arm:not(.in) .wcard{opacity:0}
.why.arm .wr{transition:opacity .6s}
.why.in .wr{animation:wup .8s ease backwards}
.why.in .wcard{animation:wup .9s ease backwards;animation-delay:calc(var(--i)*90ms + 150ms)}
@media(max-width:700px){.cb{display:none}.dd:nth-child(n+8),.dd:nth-child(1),.dd:nth-child(2),.dd:nth-child(4),.dd:nth-child(11){display:none}.why{padding:80px 0 70px}}
@media(prefers-reduced-motion:reduce){.why.in .wr,.why.in .wcard,.dd svg{animation:none!important}.why.arm:not(.in) .wr,.why.arm:not(.in) .wcard{opacity:1}.doodles .dd{transition:none!important;opacity:1!important;transform:none!important}}

/* school icons (book, pen, globe...) in every section: pop in on scroll, fade away after a few seconds */
main section,main .hero{position:relative;overflow:hidden}
main section .w,main .hero .w{position:relative;z-index:1}
.doodles .dd{transition:opacity .7s,transform .9s cubic-bezier(.3,1.5,.5,1);transition-delay:calc(var(--i)*60ms)}
.doodles:not(.on) .dd{opacity:0;transform:scale(.2) rotate(-60deg);transition-delay:0ms}
.doodles.on .dd{opacity:.95}
@media(max-width:700px){main .doodles:not(#doodles) .dd:nth-child(n+4){display:none}}

/* colorful icons: soft round glow behind each one */
.dd::before{content:"";position:absolute;inset:-26%;border-radius:50%;background:radial-gradient(circle,currentColor 0,transparent 70%);opacity:.18;z-index:-1}

/* subject chips are links to the teachers page */
#subs li{padding:0}
#subs li a{display:block;padding:8px 18px;border-radius:99px;text-decoration:none}
#subs li a::after{content:" →";opacity:.4;transition:opacity .2s}
#subs li:hover a::after{opacity:1}
.hint{margin:6px 0 0;font-size:16px}

/* clubs: chips are buttons, pressing one opens information, leader and registration blocks */
#clubs-l li{padding:0;overflow:hidden}
#clubs-l button{display:block;padding:8px 18px;border:0;border-radius:99px;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer}
#clubs-l button::after{content:" +";opacity:.4}
#clubs-l button[aria-pressed="true"]{background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff}
#clubs-l button[aria-pressed="true"]::after{content:" –";opacity:.8}
.cpanel{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px;align-items:start}
.kh{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.kh h3{margin:0;font-size:clamp(26px,3vw,34px)}
.kx{border:1px solid var(--line);background:#fff;color:var(--mut);padding:8px 16px;border-radius:99px;font:600 14px Onest,Arial,sans-serif;cursor:pointer}
.kx:hover{border-color:var(--teal)}
.kcol{display:grid;gap:20px}
.kb{padding:26px;border-radius:22px;border:1px solid;color:var(--ink)}
.kb h3{font-size:22px;margin:0 0 12px}
.kb p{margin:0 0 16px}
.kb .row{padding-top:14px;border-top:1px solid currentColor;color:var(--mut)}
.ldr{display:flex;align-items:center;gap:16px}
.ldr .av{display:grid;place-items:center;flex:0 0 64px;height:64px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;font-weight:800;font-size:22px;box-shadow:0 12px 24px -12px rgba(15,27,61,.5)}
.ldr b{display:block;font-size:19px}
.ldr a{display:block;color:var(--blue);font-weight:600;text-decoration:none;word-break:break-all}
.kb form label{display:grid;gap:6px;margin-bottom:14px;font-weight:600;font-size:14px;color:var(--mut)}
.kb input:not([type=checkbox]),.kb textarea{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:500 16px Onest,Arial,sans-serif}
.kb input:focus,.kb textarea:focus{outline:3px solid var(--mint);outline-offset:1px}
.kb label.chk{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:14px;line-height:1.45}
.kb label.chk input{margin-top:3px;width:18px;height:18px;flex:0 0 18px}
.kb .hp{position:absolute;left:-9999px;opacity:0}
.kb button.btn{border:0;font:700 16px Onest,Arial,sans-serif;cursor:pointer}
.kb button.btn:disabled{opacity:.6;cursor:wait}
.kb .ok{margin:0;padding:18px;border-radius:14px;background:#fff;color:#1f7a55;font-weight:700}
.kb .err{margin:12px 0 0;color:#b3261e;font-weight:600}
.cpanel.anim .k1{animation:gl .7s both}.cpanel.anim .k2{animation:gl .7s .12s both}.cpanel.anim .k3{animation:gr .7s .06s both}
@media(max-width:900px){.cpanel{grid-template-columns:1fr}.kx span{display:none}}
@media(prefers-reduced-motion:reduce){.cpanel.anim .kb{animation:none}}

/* registration: seats, confirmation */
.kb .seats{margin:0 0 14px;color:var(--mut);font-weight:600}
.kb .seats b{color:var(--green);font-size:18px}
.kb .seats.full{color:#a5651a}
.done{display:grid;justify-items:center;gap:14px;text-align:center;padding:10px 0}
.done p{margin:0;font-weight:600}
.tick{width:84px;height:84px}
.tick circle{fill:#fff;stroke:var(--green);stroke-width:3;stroke-dasharray:151;stroke-dashoffset:151;animation:tdraw .7s .1s forwards}
.tick path{fill:none;stroke:var(--green);stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:tdraw .5s .7s forwards}
@keyframes tdraw{to{stroke-dashoffset:0}}
.refn{background:#fff;border-radius:16px;padding:12px 26px;border:1px dashed var(--green)}
.refn span{display:block;font-size:13px;color:var(--mut);font-weight:600}
.refn b{font-size:28px;letter-spacing:.06em;color:var(--navy)}
@media(prefers-reduced-motion:reduce){.tick circle,.tick path{animation:none;stroke-dashoffset:0}}

/* header fits long languages (Russian, German) */
.bar .w { max-width: 1560px; gap: 14px; }
.brand { max-width: 215px; font-size: 15px; flex: none; }
nav { gap: 0; font-size: 14.5px; }
nav a { padding: 8px 9px; }
.lang button { padding: 6px 9px; }
.hd .btn { padding: 11px 16px; font-size: 14.5px; gap: 8px; flex: none; }
/* when the screen is too narrow for one row: menu goes to a second row */
@media (max-width: 1599px) {
  .bar .w { flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; padding-bottom: 4px; min-height: 0; }
  .lang { margin-left: auto; }
  nav { order: 5; width: 100%; margin: 0; overflow-x: auto; justify-content: flex-start; }
  .hero { padding-top: 210px; }
  .hero.mini { padding-top: 195px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 200px; }
  .hero.mini { padding-top: 190px; }
}
