@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --ink: #0b1a33;
  --text: #33415c;
  --muted: #6b7a93;
  --line: #e3e9f2;
  --brand: #12377e;
  --brand-600: #1a4a9e;
  --red: #e0342a;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --pill: 999px;

  --wrap: min(1200px, calc(100% - 48px));
  --shadow-sm: 0 1px 2px rgba(11, 26, 51, 0.06), 0 2px 6px rgba(11, 26, 51, 0.04);
  --shadow-md: 0 18px 40px -24px rgba(11, 26, 51, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(11, 26, 51, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(18, 55, 126, 0.35);
  outline-offset: 3px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  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;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn span[aria-hidden] {
  transition: transform 0.25s var(--ease);
}

.btn:hover span[aria-hidden] {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-600), var(--brand));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(18, 55, 126, 0.75);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(18, 55, 126, 0.8);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: rgba(18, 55, 126, 0.3);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.45);
}

.btn-light:hover {
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.83rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.link-arrow span {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(227, 233, 242, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.site-nav a {
  padding: 6px 0;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

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

.site-nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch a {
  position: relative;
  display: inline-flex;
  padding: 10px 6px;
  border-radius: 4px;
}

.lang-switch a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  background: var(--ink);
}

.lang-switch .flag {
  display: block;
  width: 36px;
  height: 24px;
  border: 1px solid rgba(11, 26, 51, 0.18);
  border-radius: 3px;
}

.home .site-header:not(.is-scrolled) .lang-switch a[aria-current="true"]::after {
  background: #fff;
}

.home .site-header:not(.is-scrolled) .lang-switch .flag {
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle-bars {
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.display em {
  font-style: normal;
  color: var(--red);
}

.lead {
  max-width: 52ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.7;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- Home header over hero ---------- */

.brand-logo-light {
  display: none;
}

.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.home .site-header .brand-name,
.home .site-header .brand-sub {
  transition: color 0.3s var(--ease);
}

.home .site-header:not(.is-scrolled) .brand-logo-dark {
  display: none;
}

.home .site-header:not(.is-scrolled) .brand-logo-light {
  display: block;
}

.home .site-header:not(.is-scrolled) .brand-name {
  color: #fff;
}

.home .site-header:not(.is-scrolled) .brand-sub {
  color: rgba(255, 255, 255, 0.66);
}

.home .site-header:not(.is-scrolled) .site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.home .site-header:not(.is-scrolled) .site-nav a:hover {
  background: none;
  color: #fff;
}

.home .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
  background: none;
  color: #fff;
}

.home .site-header:not(.is-scrolled) .header-cta {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.6);
}

.home .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.home .site-header:not(.is-scrolled) .nav-toggle-bars {
  background: #fff;
}

.home .site-header:not(.is-scrolled) .nav-toggle-bars::before,
.home .site-header:not(.is-scrolled) .nav-toggle-bars::after {
  background: #fff;
}

.home .site-header:not(.is-scrolled).nav-open .nav-toggle-bars {
  background: transparent;
}

.home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

/* ---------- Hero ---------- */

.hero-big {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92svh, 880px);
  padding-top: 140px;
  overflow: hidden;
  background: #0a1830;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 14, 30, 0.72) 0%, rgba(6, 14, 30, 0.22) 40%, rgba(6, 14, 30, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 14, 30, 0.72) 0%, rgba(6, 14, 30, 0.24) 58%, rgba(6, 14, 30, 0.08) 100%);
}

.hero-big-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(24px, 3vw, 40px);
}

.hero-copy {
  max-width: 780px;
}

.hero-title {
  max-width: 14ch;
  font-size: clamp(2.9rem, 6.2vw, 5.3rem);
  letter-spacing: -0.045em;
  line-height: 1.01;
  color: #fff;
}

.hero-title em {
  font-style: normal;
  color: #ff6a5c;
}

.hero-sub {
  max-width: 54ch;
  margin-top: 20px;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: -1px;
  padding: 18px 0 6px;
  border-top: 2px solid transparent;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hero-tab span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.46);
  transition: color 0.2s var(--ease);
}

.hero-tab strong {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 600;
}

.hero-tab:hover {
  color: #fff;
  border-top-color: #fff;
}

.hero-tab:hover span {
  color: #ff6a5c;
}

/* ---------- Stats ---------- */

.stats-band {
  padding: 32px 0 clamp(28px, 4vw, 48px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border-radius: 18px;
}

.stat-index {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 14px;
}

.stat-value {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.stat-note {
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section-surface {
  background: var(--surface);
}

.section-dark {
  padding: clamp(16px, 3vw, 32px) 0;
  background: transparent;
  color: #fff;
}

.section-dark .wrap {
  padding: clamp(34px, 5vw, 68px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0a1830 0%, #12377e 62%, #1b4a9e 100%);
  box-shadow: var(--shadow-lg);
}

.section-dark h2 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  max-width: none;
  align-items: end;
}

.section-head.split > .link-arrow {
  justify-self: end;
  text-align: right;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  max-width: 22ch;
}

.section-desc {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--text);
}

.section-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
  padding-bottom: 6px;
}

.section-note-light {
  color: rgba(255, 255, 255, 0.62);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label span {
  display: inline;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--red);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.6);
}

.section-label-light span {
  background: none;
  color: #ff8a7d;
}

/* ---------- Programs ---------- */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 55, 126, 0.22);
  box-shadow: var(--shadow-md);
}

.program-card:hover h3 {
  color: var(--brand);
}

.card-index {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}

.card-tag {
  display: inline;
  align-self: auto;
  width: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.program-card h3 {
  margin-top: 6px;
  min-height: 2.2em;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  max-width: 16ch;
  transition: color 0.25s var(--ease);
}

.program-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
}

.card-link span {
  transition: transform 0.3s var(--ease);
}

.program-card:hover .card-link span {
  transform: translateX(5px);
}

/* ---------- Benefits ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.why-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  max-width: 14ch;
}

.why-copy p {
  margin-top: 18px;
  max-width: 42ch;
}

.why-copy .btn {
  margin-top: 28px;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.benefit-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.benefit-num {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #ff8a7d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-top: 4px;
}

.benefit-list h3 {
  font-size: 1.02rem;
}

.benefit-list p {
  margin-top: 6px;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 12px;
  border-radius: 0;
  background: none;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.step h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Teachers ---------- */

.teacher-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.teacher-copy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 14ch;
}

.teacher-copy p {
  margin-top: 14px;
  max-width: 38ch;
  font-size: 0.92rem;
  color: var(--text);
}

.teacher-copy .link-arrow {
  margin-top: 22px;
}

.teacher-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.teacher-strip li {
  display: flex;
  flex-direction: column;
}

.teacher-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: var(--surface-2);
  transition: transform 0.35s var(--ease);
}

.teacher-strip li:hover img {
  transform: translateY(-4px);
}

.teacher-strip li span {
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Gallery ---------- */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-strip figure,
.gallery-item {
  position: relative;
}

.gallery-strip img,
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: var(--surface-2);
  transition: transform 0.5s var(--ease);
}

.gallery-strip figure {
  overflow: hidden;
  border-radius: 18px;
}

.gallery-strip figure:hover img {
  transform: scale(1.04);
}

.gallery-strip figcaption,
.gallery-item figcaption {
  padding-top: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 18px;
}

.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
}

.lightbox-trigger img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.lightbox-trigger:hover img {
  transform: scale(1.03);
}

.lightbox {
  width: min(1000px, 92vw);
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.lightbox::backdrop {
  background: rgba(11, 26, 51, 0.72);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-caption {
  padding: 10px 4px 2px;
  font-size: 0.82rem;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Branches ---------- */

.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.branch-grid h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 16ch;
}

.branch-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
}

.branch-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  font-weight: 600;
}

.branch-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ---------- CTA ---------- */

.cta {
  padding: clamp(16px, 3vw, 32px) 0 clamp(48px, 6vw, 80px);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #12377e 0%, #0a1830 62%, #1b4a9e 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-inner::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 52, 42, 0.5), transparent 65%);
  pointer-events: none;
}

.cta-inner h2 {
  position: relative;
  z-index: 1;
  max-width: 20ch;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  color: #fff;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-note {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  max-width: 52ch;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

.cta .section-label {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.65);
}

.cta .section-label span {
  background: none;
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: clamp(48px, 6vw, 72px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #0a1830;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 0.9fr 0.7fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand img {
  height: auto;
  width: 132px;
  margin-bottom: 16px;
}

.footer-tagline {
  max-width: 30ch;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal {
  margin-top: 14px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-title {
  margin-bottom: 14px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
}

.footer-col address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a:hover {
  color: #fff;
}

/* ---------- Page head ---------- */

.page-head {
  padding: clamp(36px, 5vw, 60px) 0 clamp(24px, 3vw, 40px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.74rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb span[aria-hidden] {
  opacity: 0.45;
}

.page-head .display {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
}

/* ---------- Program rows ---------- */

.program-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-row {
  display: grid;
  grid-template-columns: 64px 1fr max-content;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  align-items: start;
}

.row-index {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-top: 4px;
}

.row-main h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.row-main h2 a:hover {
  color: var(--brand);
}

.row-main p {
  max-width: 62ch;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 16px;
}

.tag-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 0.8rem;
  color: var(--text);
}

.tag-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.row-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 4px;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s;
}

.row-link:hover {
  background: none;
  border-bottom-color: var(--brand);
}

/* ---------- Detail ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.detail-body h2 {
  margin: 36px 0 10px;
  font-size: 1.3rem;
}

.detail-body h2:first-child {
  margin-top: 0;
}

.detail-body p {
  max-width: 64ch;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 28px;
}

.chip-grid li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 600;
}

.small-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

.detail-aside {
  position: sticky;
  top: 108px;
}

.aside-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.aside-title {
  margin-bottom: 16px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.aside-card .btn + .btn {
  margin-top: 10px;
}

.aside-note {
  margin-top: 14px;
  font-size: 0.73rem;
  line-height: 1.55;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}

.field-grid li {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  transition: border-color 0.25s;
}

.field-grid li:hover {
  border-color: var(--red-bright);
}

.field-grid span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-figure figcaption {
  padding-top: 10px;
  font-size: 0.74rem;
  color: var(--muted);
}

.about-copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  margin-bottom: 14px;
}

.about-copy p {
  max-width: 54ch;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text);
}

.about-copy p + p {
  margin-top: 12px;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  margin-top: 24px;
  padding: 6px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.fact-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.fact-list dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.fact-list dd {
  font-size: 0.9rem;
  font-weight: 600;
}

.visi-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
}

.visi-grid h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.24;
  max-width: 24ch;
}

.misi ol {
  counter-reset: misi;
  margin-top: 6px;
}

.misi li {
  counter-increment: misi;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.misi li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.misi li::before {
  content: "0" counter(misi);
  font-size: 0.64rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 3px;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.teacher-grid li {
  display: flex;
  flex-direction: column;
}

.teacher-grid img,
.teacher-initial {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  background: var(--surface-2);
}

.teacher-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: rgba(11, 26, 51, 0.28);
}

.teacher-name {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.teacher-role {
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-band h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 16ch;
  margin-bottom: 16px;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.contact-band .link-arrow {
  margin-top: 18px;
}

.contact-mini {
  display: flex;
  flex-direction: column;
  padding: 6px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-mini li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-mini li:last-child {
  border-bottom: 0;
}

.mini-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-mini a {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-mini a:hover {
  color: var(--brand);
}

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: 14px;
}

.contact-info .link-arrow {
  margin-top: 16px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-list dd {
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--brand);
}

.contact-form-wrap {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-size: 0.93rem;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(18, 55, 126, 0.4);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(18, 55, 126, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #98a4b8;
}

.has-error input,
.has-error textarea {
  border-color: rgba(224, 52, 42, 0.55);
  background: #fff7f6;
}

.field-error {
  font-size: 0.75rem;
  color: var(--red);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
}

.alert-success {
  background: #eaf7ef;
  color: #1f6b3f;
}

.alert-error {
  background: #fff0ee;
  color: #a6231a;
}

.alert strong {
  font-weight: 700;
}

/* ---------- 404 ---------- */

.notfound {
  padding: clamp(60px, 9vw, 120px) 0;
  min-height: 55vh;
}

.notfound .lead {
  max-width: 46ch;
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  transform: translateY(20px);
  transition: transform 0.65s var(--ease);
}

.js [data-reveal].is-visible {
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .field-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
  }

  .footer-col:last-child .footer-title {
    width: 100%;
    margin-bottom: 0;
  }
}

@media (max-width: 1024px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.96rem;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home .site-header:not(.is-scrolled) .site-nav a {
    color: var(--ink);
  }

  .home .site-header:not(.is-scrolled) .site-nav a:hover {
    background: none;
    color: var(--ink);
  }

  .home .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
    background: none;
    color: var(--brand);
  }
}

@media (max-width: 900px) {
  .hero-big {
    min-height: 86svh;
  }

  .hero-title {
    max-width: 16ch;
  }

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

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

  .why-grid,
  .teacher-band,
  .branch-grid,
  .about-grid,
  .visi-grid,
  .contact-band,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-head.split > .link-arrow {
    justify-self: start;
    text-align: left;
  }

  .program-row {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .row-link {
    justify-self: start;
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  .header-inner {
    min-height: 72px;
  }

  .hero-big {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-big-inner {
    padding-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8.6vw, 3.3rem);
  }

  .hero-sub {
    font-size: 0.96rem;
  }

  .hero-tabs {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
    border-top: 0;
  }

  .hero-tab {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

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

  .program-grid,
  .program-grid-2,
  .gallery-grid,
  .teacher-grid,
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-dark .wrap {
    border-radius: var(--radius-lg);
  }

  .cta-inner {
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 520px) {
  .display {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid,
  .program-grid,
  .program-grid-2,
  .gallery-grid,
  .teacher-grid,
  .field-grid,
  .branch-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    padding: 8px;
  }

  .stat {
    padding: 18px 20px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    flex-direction: column;
    align-items: flex-start;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list div:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .fact-list div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
