body { background: #fff; font-size: 16px; }
.wrap { width: min(1460px, 100% - 64px); margin-inline: auto; }
section[id], footer[id] { scroll-margin-top: 104px; }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--display); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); font-weight: 700; line-height: 1.5; color: var(--navy-700); }
h3 { font-weight: 700; color: var(--navy-800); line-height: 1.5; }
.lead { font-size: 1.08rem; line-height: 1.95; color: var(--ink-2); max-width: 34em; }
.head { margin-bottom: 32px; }
.head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.head--split .lead { justify-self: end; }
.head--row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.link i { transition: transform .5s var(--ease); }
.link:hover i { transform: translateX(-5px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 30px; border-radius: 12px;
  font-weight: 700; font-size: 1.05rem; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.btn i { font-size: 1.3em; transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { background: linear-gradient(180deg, #f2b53a, var(--gold-500)); color: var(--navy-950); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 26px -12px rgba(227, 161, 28, .8); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 20px 30px -12px rgba(227, 161, 28, .9); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); background: rgba(11, 23, 56, .3); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }
.btn--outline { color: var(--navy-800); box-shadow: inset 0 0 0 1.5px var(--navy-800); min-height: 44px; padding: 0 22px; font-size: .98rem; border-radius: 10px; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--outline:hover i { transform: translateX(-4px); }
.btn--line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); min-height: 38px; padding: 0 22px; font-size: .92rem; font-weight: 500; min-width: 170px; border-radius: 9px; }
.btn--line:hover { background: #fff; color: var(--navy-800); }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(to left, var(--navy-800), var(--navy-900)); color: #dbe5f8; font-size: .86rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar__portals, .topbar__contact { display: flex; align-items: center; gap: 22px; }
.btn-login {
  display: inline-flex; align-items: center; gap: 8px; height: 30px;
  background: linear-gradient(180deg, #f2b53a, var(--gold-500)); color: var(--navy-950);
  font-weight: 700; padding: 0 16px; border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.btn-login:hover { transform: translateY(-1px); filter: brightness(1.06); }
.portal-links { display: flex; }
.portal-links a { padding-inline: 12px; border-inline-start: 1px solid rgba(255, 255, 255, .3); line-height: 1.1; }
.portal-links a:first-child { border: 0; padding-inline-start: 0; }
.topbar a:not(.btn-login), .topbar button { transition: color .3s var(--ease); }
.topbar a:not(.btn-login):hover, .topbar button:hover { color: #fff; }
.topbar__contact > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar__contact i { font-size: 1.1rem; color: #fff; }
.topbar__search i { font-size: 1.2rem; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .4s var(--ease); }
.header.is-stuck { box-shadow: 0 12px 30px -20px rgba(11, 23, 56, .5); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; transition: min-height .5s var(--ease); }
.header.is-stuck .header__in { min-height: 76px; }
.brand { display: flex; align-items: center; gap: 16px; flex: none; white-space: nowrap; }
.brand__logo {
  width: 108px; height: 108px; margin-block: -2px -24px; flex: none;
  display: grid; place-items: center; background: #fff; border-radius: 50%;
  position: relative; z-index: 2; box-shadow: 0 14px 24px -16px rgba(11, 23, 56, .5);
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), box-shadow .5s var(--ease);
}
.header.is-stuck .brand__logo { width: 64px; height: 64px; margin-block: 0; box-shadow: none; }
.brand__logo img { width: 90%; height: 90%; }
.brand__text { display: grid; line-height: 1.35; }
.brand__text strong { font-family: var(--display); font-size: 1.42rem; font-weight: 700; color: var(--navy-700); }
.brand__text small { font-size: 1.08rem; font-weight: 500; color: var(--blue-600); justify-self: start; }
.nav { display: flex; gap: clamp(14px, 2vw, 38px); font-weight: 500; font-size: 1rem; }
.nav a { position: relative; padding-block: 10px; color: var(--navy-800); white-space: nowrap; transition: color .3s var(--ease); }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--gold-500); transform: scaleX(0); transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--gold-600); font-weight: 700; }
.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); flex: none; }
.burger span { position: absolute; inset-inline: 13px; height: 2px; border-radius: 2px; background: var(--navy-800); transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-800); border-start-end-radius: 64px;
  min-height: clamp(380px, 25vw, 460px);
  display: grid; align-items: center; padding-block: 30px 82px;
}
.hero__img { position: absolute; inset-block: 0; left: 0; width: 74%; height: 100%; object-fit: cover; object-position: 8% 24%; z-index: -3; animation: settle 1.8s var(--ease-out) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(560px 380px at 88% 0%, rgba(47, 111, 234, .35), transparent 70%),
    linear-gradient(to left, var(--navy-800) 0%, var(--navy-800) 26%, rgba(16, 32, 77, .86) 38%, rgba(16, 32, 77, .3) 56%, transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: 0 0 0 55%; z-index: -1; background: var(--pattern) right top / 76px; opacity: .05; mask-image: linear-gradient(to left, #000 20%, transparent); -webkit-mask-image: linear-gradient(to left, #000 20%, transparent); }
.hero__copy { max-width: 640px; color: #fff; }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.7rem); font-weight: 700; line-height: 1.28; color: #fff; text-shadow: 0 2px 20px rgba(8, 16, 41, .35); }
.hero h1 span { display: block; color: var(--gold-400); }
.hero__copy > p { margin-block: 10px 22px; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); line-height: 1.7; color: #eef3fd; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.js .hero__copy > * { animation: rise 1.1s var(--ease-out) both; }
.js .hero__copy > p { animation-delay: .12s; }
.js .hero__copy > .hero__cta { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
@keyframes settle { from { transform: scale(1.07); } }

/* ---------- Feature strip ---------- */
.features {
  position: relative; z-index: 3; margin-top: -54px;
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: #fff; border-radius: 20px; padding: 18px 8px;
  box-shadow: var(--shadow-float);
  animation: rise 1.1s var(--ease-out) .35s both;
}
.features li { display: flex; align-items: center; gap: 14px; padding: 4px 16px; }
.features p { font-weight: 500; font-size: .98rem; line-height: 1.55; color: var(--navy-800); white-space: nowrap; }
.fi { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 1.85rem; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 8px 14px -10px currentColor; transition: transform .6s var(--ease); }
.features li:hover .fi, .programs__list li:hover .fi { transform: scale(1.08) rotate(-6deg); }
.fi--blue { background: linear-gradient(160deg, #eef4ff, #dbe7fd); color: var(--blue-600); }
.fi--navy { background: linear-gradient(160deg, #edf1f9, #dde5f4); color: var(--navy-800); }
.fi--gold { background: linear-gradient(160deg, #fff8e6, #fdebc2); color: var(--gold-500); }
.fi--red { background: linear-gradient(160deg, #fff1f1, #fbdede); color: var(--red-500); }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr) minmax(0, 1.45fr);
  gap: 40px; align-items: center; padding-block: 30px 22px;
}
.vmv { display: grid; gap: 10px; }
.vmv li {
  display: flex; gap: 16px; align-items: center;
  padding: 13px 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.vmv li:hover { transform: translateX(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-soft); }
.vmv > li > i { font-size: 2.2rem; color: var(--gold-500); flex: none; }
.vmv h3 { font-size: 1.06rem; }
.vmv p { font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.about__text h2 { font-size: clamp(1.45rem, 1rem + 1vw, 1.8rem); }
.about__text p { margin-block: 10px 18px; font-size: 1.08rem; line-height: 1.9; color: var(--ink-2); }
.about__video { position: relative; display: block; width: 100%; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9.2; box-shadow: var(--shadow-float); }
.about__video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__video:hover img { transform: scale(1.05); }
.about__play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-size: 1.6rem;
  display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 0 0 14px rgba(255, 255, 255, .25), 0 14px 28px rgba(8, 16, 41, .5);
  transition: transform .6s var(--ease), background-color .4s var(--ease);
}
.about__play i { transform: translateX(2px); }
.about__video:hover .about__play { transform: scale(1.1); background: var(--blue-600); }
.about__label {
  position: absolute; inset-block-end: 16px; inset-inline-start: 50%; transform: translateX(50%);
  background: rgba(11, 23, 56, .88); color: #fff; backdrop-filter: blur(6px); padding: 7px 24px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; white-space: nowrap;
}

/* ---------- Doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.door { position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; min-height: 176px; background: var(--navy-800); color: #fff; display: flex; box-shadow: var(--shadow-soft); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.door:hover img { transform: scale(1.06); }
.door::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, var(--navy-800) 0%, rgba(16, 32, 77, .96) 42%, rgba(16, 32, 77, .4) 70%, transparent 90%);
}
.door__body { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; align-content: center; padding: 20px 28px; max-width: 64%; }
.door__body > i { grid-row: span 2; font-size: 3rem; align-self: start; }
.door__body h3 { font-family: var(--display); font-size: 1.16rem; color: #fff; line-height: 1.55; }
.door__body p { grid-column: 2; font-size: .86rem; line-height: 1.65; color: #e3ebfb; }
.door__body .btn { grid-column: 2; justify-self: start; margin-top: 10px; }

/* ---------- Numbers ---------- */
.numbers { padding-bottom: 96px; }
.numbers__in {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; align-items: center;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: #fff; border-radius: 24px; padding: 44px clamp(24px, 4vw, 56px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 50px -30px rgba(8, 16, 41, .7);
}
.numbers__in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) left top / 76px; opacity: .06; mask-image: linear-gradient(to right, #000, transparent 70%); -webkit-mask-image: linear-gradient(to right, #000, transparent 70%); }
.numbers h2 { color: #fff; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__grid > div { padding-inline: 28px; border-inline-start: 1px solid rgba(255, 255, 255, .16); display: grid; }
.numbers dd { font-family: var(--display); font-size: clamp(2rem, 1.3rem + 2vw, 3rem); font-weight: 700; line-height: 1.3; color: var(--gold-400); justify-self: start; }
.numbers dt { font-size: 1rem; color: #cfd9ee; }

/* ---------- Programs ---------- */
.programs { background: var(--bg); padding-block: 96px; }
.programs__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.programs__side .lead { margin-block: 10px 28px; }
.programs__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 3.3; box-shadow: var(--shadow-float); }
.programs__photo img { width: 100%; height: 100%; object-fit: cover; }
.programs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.programs__list li { display: grid; gap: 8px; align-content: start; background: #fff; border-radius: 18px; padding: 28px 26px 30px; box-shadow: var(--shadow-soft); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.programs__list li:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
.programs__list .fi { margin-bottom: 10px; }
.programs__list h3 { font-size: 1.18rem; }
.programs__list p { font-size: .98rem; line-height: 1.9; color: var(--ink-2); }

/* ---------- School life ---------- */
.life { padding-block: 96px; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 250px); gap: 16px; }
.shot { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; background: var(--navy-900); display: flex; align-items: flex-end; box-shadow: var(--shadow-soft); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 23, 56, .92) 0%, rgba(11, 23, 56, .5) 34%, transparent 62%); }
.shot figcaption { display: grid; gap: 2px; padding: 22px 24px; color: #fff; width: 100%; }
.shot h3 { color: #fff; font-size: 1.14rem; }
.shot p { color: #d6dff2; font-size: .93rem; line-height: 1.8; }
.shot--a { grid-column: span 6; grid-row: span 2; }
.shot--a h3 { font-family: var(--display); font-size: 1.4rem; }
.shot--b { grid-column: span 3; grid-row: span 2; }
.shot--c, .shot--d { grid-column: span 3; }

/* ---------- Events + notices ---------- */
.happenings { background: var(--bg); padding-block: 96px; }
.happenings__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.events__list { display: grid; gap: 12px; }
.events__list li { display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.events__list li:hover { transform: translateX(-4px); box-shadow: var(--shadow-float); }
.events__list img { width: 112px; height: 80px; border-radius: 12px; object-fit: cover; flex: none; }
.events__body { flex: 1; min-width: 0; }
.events__body h3 { font-size: 1.16rem; }
.events__body p { color: var(--muted); display: flex; align-items: center; gap: 7px; font-size: .94rem; }
.date-chip { flex: none; width: 70px; padding: 9px 4px; border-radius: 12px; text-align: center; background: var(--red-50); color: var(--red-500); line-height: 1.25; display: grid; }
.date-chip b { font-family: var(--display); font-size: 1.45rem; font-weight: 700; justify-self: center; }
.date-chip span { font-size: .82rem; font-weight: 500; }
.date-chip--blue { background: var(--blue-50); color: var(--blue-600); }
.notices { background: #fff; border-radius: 20px; padding: 26px 26px 14px; box-shadow: var(--shadow-soft); }
.notices h2 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 8px; }
.notices h2 i { font-size: 1.8rem; color: var(--blue-600); }
.notices li { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.notices li + li { border-top: 1px solid var(--line); }
.notices li p { font-size: 1rem; font-weight: 500; line-height: 1.7; }

/* ---------- Portals ---------- */
.portals { padding-block: 96px 0; }
.portals__in {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; border-radius: 28px;
  padding: clamp(36px, 5vw, 72px); padding-inline-end: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.portals__in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) right top / 76px; opacity: .05; mask-image: linear-gradient(to left, #000, transparent 60%); -webkit-mask-image: linear-gradient(to left, #000, transparent 60%); }
.portals__in::after { content: ""; position: absolute; z-index: -1; left: 6%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 111, 234, .4), transparent); }
.portals h2 { color: #fff; }
.portals .lead { color: #cfd9ee; margin-block: 10px 22px; }
.portals__list { display: grid; gap: 6px; margin-bottom: 28px; }
.portals__list li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; transition: background-color .5s var(--ease); }
.portals__list li:hover { background: rgba(255, 255, 255, .05); }
.portals__list li.is-live { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.portals__list .fi { width: 46px; height: 46px; font-size: 1.45rem; background: rgba(255, 255, 255, .1); color: #a9c3fb; box-shadow: none; }
.portals__list .is-live .fi { color: var(--gold-400); }
.portals__list div { flex: 1; min-width: 0; }
.portals__list h3 { color: #fff; font-size: 1.02rem; }
.portals__list p { color: #a9b8d8; font-size: .9rem; }
.badge { flex: none; height: 26px; padding: 0 10px; border-radius: 8px; font-size: .78rem; font-weight: 500; display: inline-flex; align-items: center; color: #a9b8d8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.badge--live { background: rgba(74, 222, 128, .14); color: #86efac; box-shadow: none; }
.browser {
  display: block; align-self: end; margin-bottom: clamp(-72px, -5vw, -36px); margin-inline-end: -40px;
  padding: 8px 8px 0; border-radius: 20px 20px 0 0; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -30px rgba(0, 0, 0, .7);
  transition: transform 1.1s var(--ease);
}
.browser:hover { transform: translateY(-10px); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 32px; padding-inline: 12px; direction: ltr; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.browser__bar b { margin-inline: auto; font-size: .76rem; font-weight: 500; color: #cfd9ee; background: rgba(255, 255, 255, .08); padding: 4px 26px; border-radius: 999px; transform: translateX(-24px); }
.browser img { width: 100%; height: auto; border-radius: 14px 14px 0 0; }

/* ---------- Register ---------- */
.register { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: 96px; }
.register .lead { margin-block: 8px 28px; }
.steps { display: grid; }
.steps li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 22px; top: 50px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line-2); }
.steps b {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--gold-50); color: var(--gold-600); font-family: var(--display); font-size: 1.1rem; font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(227, 161, 28, .5);
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-2); font-size: .96rem; }
.register__form { background: #fff; border-radius: 22px; padding: 32px 30px 26px; display: grid; gap: 16px; box-shadow: var(--shadow-float); }
.register__form h3 { font-family: var(--display); font-size: 1.3rem; color: var(--navy-700); }
.register__form label { display: grid; gap: 7px; font-weight: 500; font-size: .92rem; color: var(--ink-2); }
.register__form input, .register__form select {
  width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 12px; background: #f8fafe; font-size: 1rem; color: var(--ink);
  box-shadow: inset 0 0 0 1px #cfdaee; transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.register__form input::placeholder { color: var(--faint); }
.register__form input[dir="ltr"] { text-align: right; }
.register__form select {
  appearance: none; padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2a60' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 16px center; background-size: 14px;
}
.register__form input:focus, .register__form select:focus { outline: 0; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue-600), 0 0 0 4px rgba(21, 86, 214, .12); }
.register__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.register__error { color: var(--red-600); font-weight: 500; font-size: .92rem; }
.register__done { display: flex; gap: 10px; align-items: flex-start; background: var(--green-50); color: var(--green-600); border-radius: 12px; padding: 14px 16px; font-weight: 500; font-size: .94rem; }
.register__done[hidden], .register__error[hidden] { display: none; }
.register__done i { font-size: 1.35rem; flex: none; margin-top: 2px; }
.register__note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .84rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b3c1de; font-size: .95rem; position: relative; isolation: isolate; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 280px; z-index: -1; background: var(--pattern) center top / 76px; opacity: .04; mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.footer__in { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 60px 44px; }
.footer__brand { display: flex; gap: 16px; align-items: center; align-self: start; }
.footer__brand img { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 3px; flex: none; }
.footer__brand strong { display: block; color: #fff; font-family: var(--display); font-size: 1.18rem; font-weight: 700; }
.footer__col { display: grid; gap: 11px; align-content: start; justify-items: start; }
.footer__col h3 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.footer__col a { transition: color .4s var(--ease); }
.footer__col a:hover { color: var(--gold-400); }
.footer__col > a, .footer__col > span { display: inline-flex; align-items: center; gap: 9px; }
.footer__col i { color: var(--gold-400); font-size: 1.15rem; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer__base .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .brand__logo { width: 92px; height: 92px; margin-block: -2px -18px; }
  .brand__text strong { font-size: 1.22rem; }
  .brand__text small { font-size: .95rem; }
  .nav { font-size: .95rem; gap: clamp(12px, 1.55vw, 30px); }
  .features li { padding-inline: 10px; gap: 12px; }
  .features p { font-size: .92rem; }
  .fi { width: 54px; height: 54px; font-size: 1.6rem; }
}
@media (max-width: 1320px) {
  .topbar__contact > span:first-child, .topbar__contact > a:nth-child(2) { display: none; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; padding: 6px 32px 22px;
    box-shadow: 0 30px 40px -24px rgba(11, 23, 56, .45);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding-block: 13px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border: 0; }
  .nav a::after { display: none; }
  .burger { display: block; }
  .features { grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
  .about { grid-template-columns: 1fr 1fr; }
  .about__video { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .door__body { max-width: 76%; }
  .programs__in { grid-template-columns: 1fr; }
  .programs__photo { aspect-ratio: 16 / 7; }
  .numbers__in { grid-template-columns: 1fr; gap: 22px; }
  .numbers__grid > div:first-child { border: 0; padding-inline-start: 0; }
  .gallery { grid-template-rows: 300px 240px; }
  .shot--a { grid-column: span 7; grid-row: auto; }
  .shot--b { grid-column: span 5; grid-row: auto; }
  .shot--c, .shot--d { grid-column: span 6; }
  .portals__in { grid-template-columns: 1fr; padding-inline-end: clamp(36px, 5vw, 72px); }
  .browser { margin-inline-end: 0; }
}
@media (max-width: 900px) {
  .portal-links { display: none; }
  .hero { border-start-end-radius: 36px; padding-block: 250px 88px; align-items: end; min-height: 0; }
  .hero__img { width: 100%; height: 64%; inset-block: 0 auto; object-position: 22% 16%; }
  .hero::before { background: linear-gradient(to top, var(--navy-800) 42%, rgba(16, 32, 77, .7) 56%, transparent 80%); }
  .hero::after { display: none; }
  .doors, .happenings__in, .register, .head--split { grid-template-columns: 1fr; }
  .head--split { gap: 8px; }
  .head--split .lead { justify-self: start; }
  .door__body { max-width: 84%; }
  .programs, .life, .happenings, .register { padding-block: 72px; }
  .numbers { padding-bottom: 72px; }
  .portals { padding-top: 72px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar__contact > a { display: none; }
  .header__in, .header.is-stuck .header__in { min-height: 72px; }
  .brand { gap: 10px; }
  .brand__logo, .header.is-stuck .brand__logo { width: 56px; height: 56px; margin-block: 0; box-shadow: none; }
  .brand__text strong { font-size: 1rem; }
  .brand__text small { font-size: .78rem; }
  .features { grid-template-columns: 1fr 1fr; padding: 14px 4px; border-radius: 16px; }
  .features li { padding: 6px 10px; gap: 10px; }
  .features p { font-size: .82rem; white-space: normal; }
  .fi { width: 46px; height: 46px; font-size: 1.4rem; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about__video { aspect-ratio: 16 / 10; }
  .numbers__grid { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .numbers__grid > div { padding-inline: 16px; }
  .numbers__grid > div:nth-child(odd) { border: 0; padding-inline-start: 0; }
  .programs__list, .register__row { grid-template-columns: 1fr; }
  .gallery { grid-template-rows: none; grid-auto-rows: 240px; gap: 12px; }
  .shot--a, .shot--b, .shot--c, .shot--d { grid-column: span 12; }
  .events__list img { width: 72px; height: 62px; }
  .events__list li { gap: 12px; }
  .head--row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .notices { padding: 22px 18px 10px; }
  .portals__in { padding: 32px 20px 0; padding-inline-end: 20px; border-radius: 22px; }
  .browser { margin-bottom: 0; padding: 6px 6px 0; border-radius: 16px 16px 0 0; }
  .browser img { border-radius: 10px 10px 0 0; }
  .badge { display: none; }
  .register__form { padding: 24px 20px 20px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer__in { grid-template-columns: 1fr; }
}
