/* MSI Global Education: "Skyline" direction. Dark navy, green, gold labels. */
:root {
  --deep: #030b1d;
  --navy: #061634;
  --navy-2: #0c2552;
  --green: #35e08a;
  --green-ink: #03220f;
  --gold: #f2c14e;
  --txt: #e8eefc;
  --mute: #9fb0d2;
  --line: rgba(53, 224, 138, .28);
  --glass: linear-gradient(160deg, rgba(18, 40, 86, .9), rgba(6, 22, 52, .95));
  --r: 18px;
  --wrap: 1200px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; background: var(--deep); color: var(--txt); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mute { color: var(--mute); }
.add { background: rgba(242, 193, 78, .14); color: var(--gold); border: 1px dashed rgba(242, 193, 78, .6); border-radius: 6px; padding: 1px 6px; font-size: .9em; }

/* type */
.kicker { letter-spacing: .3em; font-size: 13px; color: var(--gold); font-weight: 600; text-transform: uppercase; }
h1, h2, h3 { font-family: Oswald, Impact, sans-serif; text-transform: uppercase; line-height: 1; letter-spacing: .01em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(46px, 8vw, 104px); font-weight: 700; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
h3 { font-size: 26px; font-weight: 700; }
.script { font-family: 'Great Vibes', cursive; color: var(--green); text-transform: none; font-weight: 400; line-height: 1; }
.lead { color: var(--mute); font-size: clamp(17px, 1.6vw, 19px); max-width: 640px; }
.label { font-family: Oswald, sans-serif; color: var(--green); letter-spacing: .12em; font-size: 14px; text-transform: uppercase; }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn-green { background: var(--green); color: var(--green-ink); }
.btn-green:hover { background: #5ff0a5; }
.btn-ghost { border-color: rgba(232, 238, 252, .55); color: var(--txt); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.row { display: flex; gap: 14px; flex-wrap: wrap; }

/* header */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 20px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: Oswald, sans-serif; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.logo img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(53, 224, 138, .35); }
.logo b { color: var(--green); font-weight: 500; }
.nav nav { display: flex; gap: 22px; margin-inline-start: auto; }
/* Nothing in the bar may shrink into its neighbour: a longer language then
   overflows for real, and the language pack scales the bar down to fit. */
.nav > * { flex-shrink: 0; }
.nav nav a { white-space: nowrap; text-decoration: none; font-size: 15px; color: var(--txt); opacity: .85; }
.nav nav a:hover, .nav nav a[aria-current] { opacity: 1; color: var(--green); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6, 22, 52, .7); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--txt); border-radius: 2px; }

/* hero */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; flex-direction: column; justify-content: space-between; text-align: center; padding: 140px 24px 56px; background: url(/assets/img/photo-kl.jpg) center 62% / cover no-repeat; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 11, 29, .82) 0%, rgba(3, 11, 29, .25) 34%, rgba(3, 11, 29, .05) 55%, rgba(3, 11, 29, .7) 80%, var(--deep) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin-top: 18px; }
.hero .script { font-size: clamp(44px, 6vw, 78px); margin-top: -4px; }
/* The handwriting font is Latin only; other scripts fall back to a taller
   face, so the second line needs room of its own. */
html:is([lang="ar"], [lang="he"], [lang="hi"], [lang="ja"], [lang="ko"], [lang="zh"], [lang="el"], [lang="ru"], [lang="uk"]) :is(h1, h2) { line-height: 1.2; }
html:is([lang="ar"], [lang="he"], [lang="hi"], [lang="ja"], [lang="ko"], [lang="zh"], [lang="el"], [lang="ru"], [lang="uk"]) .script { margin-top: .25em !important; font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: .7em; }
html:is([lang="ar"], [lang="he"], [lang="hi"], [lang="ja"], [lang="ko"], [lang="zh"], [lang="el"], [lang="ru"], [lang="uk"]) .hero .script { font-size: clamp(34px, 4.4vw, 58px); }
.hero .lead { margin: 0 auto 26px; }
.hero .row { justify-content: center; }
.hero.sub { min-height: 460px; justify-content: flex-end; padding-bottom: 64px; background-position: center 55%; }
.hero.sub::after { background: linear-gradient(180deg, rgba(3, 11, 29, .9) 0%, rgba(3, 11, 29, .55) 50%, var(--deep) 100%); }
.hero.sub h1 { font-size: clamp(40px, 6vw, 76px); }
.hero.sub .lead { margin: 16px auto 0; }

/* sections */
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head p { max-width: 520px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g5 .card { padding: 24px; }
.g5 .card h3 { font-size: 22px; }
.dest .label { position: relative; z-index: 1; }
.card { border-radius: var(--r); padding: 28px; background: var(--glass); border: 1px solid var(--line); }
.card h3 { margin: 8px 0 10px; }
.card p { color: var(--mute); font-size: 15px; }
.card .more { display: inline-block; margin-top: 16px; color: var(--green); font-weight: 600; text-decoration: none; font-size: 15px; }
.card .more:hover { text-decoration: underline; }
.chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(53, 224, 138, .12); color: var(--green); }
.lift { margin-top: -40px; position: relative; z-index: 3; }

.dest { position: relative; overflow: hidden; }
.dest .code { font-family: Oswald, sans-serif; font-size: 64px; line-height: 1; color: rgba(53, 224, 138, .16); position: absolute; right: 18px; top: 10px; }
.dest.hot { border-color: rgba(242, 193, 78, .55); }
.dest.hot .label { color: var(--gold); }

.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(53, 224, 138, .12); color: var(--green); }
.icon svg { width: 24px; height: 24px; }

.band { background: linear-gradient(180deg, var(--deep), var(--navy) 50%, var(--deep)); }

.steps { counter-reset: s; }
.step { counter-increment: s; position: relative; padding-top: 70px; }
.step::before { content: counter(s, decimal-leading-zero); position: absolute; top: 22px; left: 28px; font-family: Oswald, sans-serif; font-size: 34px; color: var(--green); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.photo { border-radius: 22px; min-height: 420px; background: url(/assets/img/photo-grad.jpg) 70% center / cover; border: 1px solid var(--line); }

.cta { text-align: center; border-radius: 28px; padding: 64px 28px; background: radial-gradient(120% 140% at 50% 0%, rgba(53, 224, 138, .18), transparent 60%), var(--glass); border: 1px solid var(--line); }
.cta .lead { margin: 16px auto 28px; }
.cta .row { justify-content: center; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.facts div { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.facts b { display: block; font-family: Oswald, sans-serif; font-size: 20px; text-transform: uppercase; color: var(--green); }
.facts span { color: var(--mute); font-size: 14px; }

a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: rgba(53, 224, 138, .6); }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.list li { padding: 12px 14px; border-radius: 12px; background: rgba(3, 11, 29, .45); border: 1px solid rgba(53, 224, 138, .16); font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.list em { font-style: normal; color: var(--gold); font-size: 13px; white-space: nowrap; }
.note { margin-top: 14px; color: var(--mute); font-size: 14px; }
.post-img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.post-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.uni .post-img { margin-bottom: 20px; }
.ig-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ig-strip a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.ig-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-strip a:hover img { transform: scale(1.03); }

/* contact */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--mute); }
.split > *, .grid > *, .form > *, .form .two > * { min-width: 0; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; font: inherit; color: var(--txt); background: rgba(3, 11, 29, .6); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--mute); }
.contact-list { display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; }
.contact-list a:hover { border-color: var(--green); }
.contact-list small { display: block; color: var(--mute); }

/* footer */
.foot { border-top: 1px solid rgba(53, 224, 138, .15); padding: 64px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid p { margin-top: 16px; max-width: 340px; font-size: 15px; }
.foot h4 { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--gold); margin-bottom: 12px; }
.foot-grid > div:not(:first-child) a { display: block; text-decoration: none; color: var(--mute); padding: 4px 0; font-size: 15px; }
.foot-grid a:hover { color: var(--green); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(232, 238, 252, .08); font-size: 13px; color: var(--mute); }
.foot-base a { color: var(--green); text-decoration: none; }

/* floating chat button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(53, 224, 138, .6); }
.wa-float svg { width: 24px; height: 24px; }

/* responsive */
@media (max-width: 1320px) {
  .nav nav, .nav-cta { display: none; }
  .burger { display: flex; margin-inline-start: 10px; }
  .lang-slot { margin-inline-start: auto; }
  .nav.open nav { display: flex; position: absolute; top: 88px; left: 16px; right: 16px; flex-direction: column; gap: 0; padding: 10px; border-radius: 18px; background: rgba(6, 22, 52, .97); border: 1px solid var(--line); }
  .nav.open nav a { padding: 14px 12px; border-bottom: 1px solid rgba(232, 238, 252, .06); }
}
@media (max-width: 1080px) {
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .ig-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .nav { padding: 16px; gap: 10px; }
  .nav .logo { flex-shrink: 1; min-width: 0; gap: 10px; }
  .logo span { font-size: 15px; white-space: normal; line-height: 1.15; }
  .logo img { width: 44px; height: 44px; }
  .hero { padding: 120px 16px 40px; }
  .hero.sub { min-height: 380px; }
  .hero.sub h1 { font-size: 34px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .g5, .facts, .foot-grid, .form .two { grid-template-columns: 1fr; }
  .photo { min-height: 300px; }
  .ig-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
