﻿/* ============================================================
   SECTIONS B — scholar, timeline, stories, visas, blog, team, cta, footer
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   REVIEWS SLIDER
   ───────────────────────────────────────────────────────────── */
.reviews { background: var(--gray-50); }
.link-blue { color: var(--blue); text-decoration: underline; }
.reviews__slider { overflow: hidden; margin-top: 8px; }
.reviews__track {
  display: flex;
  gap: 24px;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.reviews__card {
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: #fff;
}
.reviews__stars { display: flex; gap: 3px; }
.reviews__text { font-size: 15.5px; line-height: 1.7; color: var(--text); flex: 1; }
.reviews__meta { display: flex; justify-content: space-between; align-items: center; }
.reviews__name { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.reviews__date { font-size: 13px; color: var(--muted); }
.reviews__link { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 600; }
.reviews__link:hover { text-decoration: underline; }
.reviews__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.reviews__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; color: var(--text); }
.reviews__arrow:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.reviews__arrow:disabled { opacity: .35; cursor: default; }
.reviews__dots { display: flex; gap: 8px; }
.reviews__dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.reviews__dot.is-on { background: var(--blue); transform: scale(1.3); }
@media (max-width: 900px) {
  .reviews__card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .reviews__card { flex: 0 0 100%; }
}

/* ─────────────────────────────────────────────────────────────
   VISION & MISSION — бренд-блок из брендбука
   ───────────────────────────────────────────────────────────── */
.vm {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-2) 100%);
}
.vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 760px) { .vm__grid { grid-template-columns: 1fr; gap: 36px; } }

.vm__block .eyebrow { margin-bottom: 16px; }
.vm__h {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.15;
}
.vm__p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
}
.vm__slogan {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 48px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  padding: 32px 0 8px;
  border-top: 1px solid rgba(255,255,255,.1);
  user-select: none;
}


/* ─────────────────────────────────────────────────────────────
   BEYOND DIPLOMA — визуальный bento-grid
   ───────────────────────────────────────────────────────────── */
.beyond {
  padding: 72px 0 80px;
  background: var(--white);
  overflow: hidden;
}

.beyond__head {
  margin-bottom: 36px;
}
.beyond__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.beyond__h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05; color: var(--navy);
}

/* Bento grid — полная ширина без wrap */
.beyond__grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr;
  grid-template-rows: 320px 220px;
  gap: 10px;
  padding: 0 max(16px, calc((100vw - 1280px) / 2));
}

/* Cell base */
.beyond__cell {
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform .4s cubic-bezier(.34,1.3,.64,1),
              box-shadow .4s ease;
}
.beyond__cell:hover {
  transform: scale(1.025);
  box-shadow: 0 24px 60px -12px rgba(10,35,90,.22);
  z-index: 2;
}

/* Gradient backgrounds — заменяются на фото через background-image */
.beyond__cell--travel {
  grid-column: 1; grid-row: 1 / 3;      /* большая левая ячейка */
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(30,100,210,.6), transparent),
    linear-gradient(175deg, #0d2f6e 0%, #0a1c44 55%, #040e28 100%);
}
.beyond__cell--career {
  grid-column: 2; grid-row: 1;
  background: linear-gradient(150deg, #0e3460 0%, #091e3a 100%);
}
.beyond__cell--friends {
  grid-column: 3; grid-row: 1;
  background: linear-gradient(150deg, #1a4f72 0%, #0c2a40 100%);
}
.beyond__cell--network {
  grid-column: 2; grid-row: 2;
  background: linear-gradient(150deg, #1a2e6e 0%, #0d1a44 100%);
}
.beyond__cell--world {
  grid-column: 3; grid-row: 2;
  background: linear-gradient(150deg, #0d4e54 0%, #062e33 100%);
}

/* Background video */
.beyond__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s ease;
}
.beyond__cell:hover .beyond__video { transform: scale(1.06); }

/* Poster photo preview — covers the video until it plays, returns on mouse leave */
.beyond__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1; transition: opacity .4s ease, transform .6s ease;
}
.beyond__poster--hide { opacity: 0; }
.beyond__cell:hover .beyond__poster { transform: scale(1.06); }

/* Dark scrim so the text stays readable over video */
.beyond__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(4,12,36,.9) 0%, rgba(4,12,36,.4) 42%, rgba(4,12,36,.15) 72%, rgba(4,12,36,.05) 100%);
}

/* Subtle grain texture overlay */
.beyond__overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Sound toggle badge */
.beyond__play {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  opacity: .9; transition: opacity .3s, transform .3s, background .3s;
}
.beyond__cell:hover .beyond__play { opacity: 1; transform: scale(1.08); }
.beyond__cell--sound .beyond__play { background: var(--accent); border-color: var(--accent); }

/* Sound hint pill */
.beyond__sound-hint {
  position: absolute; top: 18px; right: 60px; z-index: 4;
  font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(8,20,44,.5); padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.beyond__cell:hover .beyond__sound-hint { opacity: 1; transform: none; }

/* Content pinned to bottom-left */
.beyond__content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 26px;
}

.beyond__emoji {
  font-size: 52px; line-height: 1;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.beyond__cell--travel .beyond__emoji { font-size: 76px; margin-bottom: 18px; }

.beyond__title {
  display: block;
  font-family: var(--font-head); font-weight: 900;
  font-size: 24px; color: #fff; line-height: 1.1;
  letter-spacing: -.01em;
}
.beyond__cell--travel .beyond__title { font-size: 40px; }

.beyond__sub {
  display: block;
  font-size: 14px; color: rgba(255,255,255,.6);
  margin-top: 6px; line-height: 1.4;
}
.beyond__cell--travel .beyond__sub { font-size: 16px; margin-top: 8px; }

/* Mobile */
@media (max-width: 860px) {
  .beyond__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 180px 180px;
    padding: 0 16px;
  }
  .beyond__cell--travel { grid-column: 1 / 3; grid-row: 1; }
  .beyond__cell--career  { grid-column: 1;     grid-row: 2; }
  .beyond__cell--friends { grid-column: 2;     grid-row: 2; }
  .beyond__cell--network { grid-column: 1;     grid-row: 3; }
  .beyond__cell--world   { grid-column: 2;     grid-row: 3; }
  .beyond__cell--travel .beyond__title { font-size: 30px; }
  .beyond__cell--travel .beyond__emoji { font-size: 56px; }
}
@media (max-width: 520px) {
  .beyond__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 180px);
  }
  .beyond__cell--travel { grid-column: 1; grid-row: 1; }
  .beyond__cell--career  { grid-column: 1; grid-row: 2; }
  .beyond__cell--friends { grid-column: 1; grid-row: 3; }
  .beyond__cell--network { grid-column: 1; grid-row: 4; }
  .beyond__cell--world   { grid-column: 1; grid-row: 5; }
}

/* ---------- Scholarships ---------- */
.scholar__filters, .stories__filters, .blog__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.scholar__filter { padding: 9px 17px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); border: 1.5px solid var(--line); transition: all .2s; }
.scholar__filter:hover { border-color: var(--navy); color: var(--navy); }
.scholar__filter.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.scholar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.case { padding: 28px; }
.case__sum {
  font-family: var(--font-head); font-weight: 900; font-size: 40px;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.case__sum-label { font-size: 12.5px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.case__name { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-top: 18px; }
.case__quote { font-size: 15.5px; color: var(--text); margin: 8px 0 14px; font-style: italic; }
.case__uni { font-size: 14px; color: var(--muted); }

.deadline-banner { padding: 0 0 28px; }
.scholar__deadline { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 26px 30px; background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; position: relative; overflow: hidden; }
.scholar__deadline::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 80% 50%, rgba(123,181,220,.18), transparent 70%);
  animation: orbDrift 10s ease-in-out infinite alternate;
}
.scholar__deadline > * { position: relative; }
.scholar__deadline-txt { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 240px; }
.scholar__deadline-ic { font-size: 28px; color: var(--accent-2); }
.scholar__deadline-h { font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.scholar__deadline-sub { font-size: 14px; color: rgba(255,255,255,.66); margin-top: 3px; }
.countdown { display: flex; gap: 10px; }
.countdown__unit { background: rgba(255,255,255,.08); border: 1px solid var(--glass-line); border-radius: 12px; padding: 10px 14px; text-align: center; min-width: 62px; }
.countdown__num { display: flex; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 28px; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown__lab { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }
.countdown__flip { display: inline-block; width: .65em; text-align: center; perspective: 200px; overflow: hidden; position: relative; height: 1em; }
.countdown__flip-in { display: inline-block; animation: cdflip .55s cubic-bezier(.22,.61,.36,1); animation-fill-mode: both; transform-origin: 50% 50%; }
@keyframes cdflip {
  0%   { transform: rotateX(75deg) translateY(-30%); opacity: 0; }
  60%  { transform: rotateX(0)     translateY(0);    opacity: 1; }
  100% { transform: rotateX(0)     translateY(0);    opacity: 1; }
}

/* ---------- Timeline (How we work) ---------- */
.how .timeline { position: relative; max-width: 920px; margin: 0 auto; }
.timeline__line { position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--accent), var(--blue)); opacity: .5; }
.tstep { display: flex; gap: 26px; align-items: flex-start; padding: 14px 0; position: relative; }
.tstep__node {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 900; font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 0 0 6px var(--navy), 0 8px 20px -6px rgba(30,92,149,.6);
  z-index: 2;
}
.tstep__card { flex: 1; padding: 22px 26px; }
.tstep__t { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.tstep__d { font-size: 15.5px; color: rgba(255,255,255,.7); margin-top: 8px; }
.how__cta { text-align: center; margin-top: 44px; }
.how__motto { font-size: 17px; color: rgba(255,255,255,.6); margin-top: 14px; max-width: 560px; line-height: 1.55; }

/* ---------- Stories ---------- */
.story-carousel { margin-bottom: 48px; }
.story-carousel__viewport { overflow: hidden; border-radius: var(--r-lg); }
.story-carousel__track { display: flex; transition: transform .55s var(--ease); }
.story-big { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.story-big__photo { min-height: 320px; position: relative; }
.story-big__photo--video { height: 420px; min-height: unset; }
.story-big__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow-md); }
.story-big__body { padding: 40px; align-self: center; }
.story-big__name { font-family: var(--font-head); font-weight: 900; font-size: 28px; }
.story-big__from { font-size: 14px; color: var(--blue); font-weight: 600; margin-top: 4px; }
.story-big__quote { font-size: 19px; line-height: 1.5; margin: 20px 0; color: var(--text); }
.story-big__uni { font-size: 15px; color: var(--muted); }
.story-big__video { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--blue); }
.story-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; }
.story-carousel__nav > button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 18px; color: var(--navy); transition: all .2s; }
.story-carousel__nav > button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.story-carousel__dots { display: flex; gap: 9px; }
.story-carousel__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: all .25s; }
.story-carousel__dots button.is-on { background: var(--navy); width: 28px; border-radius: 5px; }

/* Student cards grid — photo on top, info always visible, video on hover */
.stories__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.sgrid { overflow: hidden; padding: 0; display: flex; flex-direction: column; cursor: default; }
.sgrid__thumb { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; flex-shrink: 0; background: var(--light-bg); }
.sgrid__img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: opacity .35s; }
.sgrid:hover .sgrid__img { opacity: 0; }
.sgrid__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block;
  opacity: 0; transition: opacity .35s;
}
.sgrid:hover .sgrid__video { opacity: 1; }
.sgrid__play { position: absolute; bottom: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 11px; color: var(--navy); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; }
.sgrid:hover .sgrid__play { opacity: 1; transform: scale(1); }
.sgrid__info { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sgrid__name { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--text); }
.sgrid__uni { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-bottom: 5px; }
.sgrid__meta { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 4px; }
.sgrid__meta .chip { font-size: 11px; padding: 3px 9px; }
.sgrid__sum { font-family: var(--font-head); font-weight: 900; font-size: 17px; color: var(--blue); margin-top: auto; }

/* ---------- Visas ---------- */
.visas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.visa { padding: 26px; }
.visa__name { font-family: var(--font-head); font-weight: 800; font-size: 21px; margin-bottom: 18px; }
.visa__row { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); }
.visa__row span { font-size: 13px; color: var(--muted); }
.visa__row b { font-size: 15px; font-weight: 600; }
.visa__rate { padding: 14px 0; border-top: 1px solid var(--line); }
.visa__rate > span { font-size: 13px; color: var(--muted); }
.visa__rate-bar { height: 8px; border-radius: 99px; background: var(--gray-100); margin: 8px 0; overflow: hidden; }
.visa__rate-bar div { height: 100%; background: linear-gradient(90deg, var(--blue), var(--navy)); border-radius: 99px; }
.visa__rate b { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--navy); }
.visa__link { display: inline-flex; margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--blue); }
.visas__trust { padding: 28px 32px; background: var(--accent-soft); border-color: rgba(123,181,220,.4); }
.visas__trust-h { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.visas__trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.visas__trust-case { display: flex; gap: 12px; align-items: flex-start; }
.visas__trust-ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.visas__trust-case p { font-size: 15px; color: var(--text); }

/* ---------- Blog ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { overflow: hidden; display: flex; flex-direction: column; }
.post__cover { height: 180px; }
.post__body { padding: 22px; }
.post__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); }
.post__t { font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.3; }
.post__link { display: inline-flex; margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--blue); }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.team__photo { height: 420px; border-radius: var(--r-lg); }
.team__content h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 0; }
.team__text { font-size: 17px; color: var(--muted); margin: 20px 0 26px; }
.team__badges { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.team__badge { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.team__badge-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--navy); display: grid; place-items: center; font-size: 14px; }

/* ---------- Final CTA ---------- */
.finalcta { overflow: hidden; }
.finalcta__mesh { position: absolute; inset: -20%; z-index: 0; background: radial-gradient(40% 50% at 20% 30%, rgba(123,181,220,.18), transparent 70%), radial-gradient(40% 50% at 80% 70%, rgba(30,92,149,.45), transparent 70%); filter: blur(10px); animation: meshMove 20s ease-in-out infinite alternate; }
.finalcta__inner { position: relative; z-index: 2; }
.finalcta__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.finalcta__head h2 { font-size: clamp(30px, 4vw, 50px); margin-top: 14px; }
.finalcta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; max-width: 1040px; margin: 0 auto; }
.finalcta__pitches { display: flex; flex-direction: column; gap: 16px; }
.pitch { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--glass-line); }
.pitch--good { background: rgba(123,181,220,.10); }
.pitch--loss { background: rgba(255,255,255,.05); }
.pitch__ic { font-size: 30px; color: var(--accent-2); }
.pitch__t { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 6px; }
.pitch p { font-size: 15px; color: rgba(255,255,255,.72); }
.finalcta__guarantee { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.8); padding: 6px 4px; }
.finalcta__guarantee span { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--navy); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.finalcta__form-wrap { padding: 34px; }
.finalcta__form-t { font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.finalcta__form-sub { font-size: 15px; color: var(--muted); margin: 8px 0 22px; }
.finalcta__form { display: flex; flex-direction: column; gap: 12px; }
.finalcta__form input, .finalcta__form select { padding: 15px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color .2s; background: #fff; color: var(--text); }
.finalcta__form input:focus, .finalcta__form select:focus { border-color: var(--blue); }
.finalcta__micro { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.finalcta__sent { text-align: center; padding: 30px 10px; }
.finalcta__sent-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 30px; display: grid; place-items: center; margin: 0 auto 18px; }
.finalcta__sent h3 { font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.finalcta__sent p { color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 28px; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: footerLine 6s ease-in-out infinite;
}
@keyframes footerLine {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; position: relative; }
.footer__about { font-size: 14px; margin: 18px 0; max-width: 280px; line-height: 1.6; }
.footer__socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__social { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--glass-line); color: rgba(255,255,255,.85); transition: background .2s, color .2s; flex-shrink: 0; }
.footer__social:hover { background: rgba(255,255,255,.15); color: #fff; }
.footer__h { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer__col a { display: block; font-size: 14.5px; padding: 7px 0; color: rgba(255,255,255,.7); transition: color .2s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__all { color: var(--accent-2) !important; font-weight: 700; }
.footer__contact { font-size: 14px; line-height: 1.5; padding: 7px 0; display: block; color: rgba(255,255,255,.78); }
.footer__map { height: 120px; border-radius: 12px; margin-top: 14px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--accent-2); }

/* ---------- Media Feed ---------- */
.mediafeed__scroll-wrap {
  overflow-x: auto;
  padding: 6px 28px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mediafeed__scroll-wrap::-webkit-scrollbar { display: none; width: 0; height: 0; }
.mediafeed__rail { display: flex; gap: 18px; width: max-content; padding-bottom: 4px; }

.vcard {
  width: 210px; flex: 0 0 auto;
  border-radius: 16px; overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vcard:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.vcard__media { position: relative; height: 320px; overflow: hidden; background: #0a2035; }

/* thumb fades out when video starts */
.vcard__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: opacity .35s; z-index: 1; }
.vcard__thumb--hide { opacity: 0; }
.vcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 2; opacity: 0; transition: opacity .3s; }
.vcard--hover .vcard__video { opacity: 1; }

/* subtle dark overlay, lightens on hover */
.vcard__overlay {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(6,20,50,.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background .25s;
}
.vcard:hover .vcard__overlay { background: rgba(6,20,50,.12); }
.vcard--active .vcard__overlay { background: transparent; }

.vcard__play-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.93);
  display: grid; place-items: center;
  font-size: 20px; color: var(--navy);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  transition: transform .2s, box-shadow .2s;
}
.vcard:hover .vcard__play-btn { transform: scale(1.1); box-shadow: 0 10px 32px rgba(0,0,0,.35); }

.vcard__hint {
  margin-top: 10px;
  font-size: 11px; color: #fff;
  font-weight: 700; letter-spacing: .04em;
  background: rgba(0,0,0,.45); padding: 4px 11px; border-radius: 999px;
  animation: fadeIn .2s ease;
}

.vcard__tag {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  background: rgba(6,64,102,.82); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* white info bar below video */
.vcard__footer { display: none; }
.vcard__info { padding: 13px 15px 14px; }
.vcard__name { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--navy); }
.vcard__country { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Video review modal ---------- */
.vmodal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4,10,26,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  animation: fadeIn .22s ease;
}
.vmodal {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: minmax(0, 1fr);
  width: min(1080px, 96vw); height: min(660px, 88vh);
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.6);
  animation: smodalUp .3s cubic-bezier(.34,1.3,.64,1);
}
@keyframes smodalUp { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.vmodal__close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: transform .2s, background .2s;
}
.vmodal__close:hover { transform: rotate(90deg); background: #fff; }

.vmodal__info {
  padding: 44px 38px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(165deg, #fff 0%, #f3f6fc 100%);
  min-height: 0; overflow-y: auto;
}
.vmodal__tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue); background: rgba(30,100,210,.1); padding: 5px 12px; border-radius: 999px;
}
.vmodal__name { font-family: var(--font-head); font-weight: 900; font-size: clamp(26px,3vw,38px); color: var(--navy); margin-top: 16px; line-height: 1.05; }
.vmodal__uni { font-size: 16px; color: var(--navy); font-weight: 600; margin-top: 8px; }
.vmodal__country { font-size: 14px; color: var(--muted); margin-top: 2px; }
.vmodal__money {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 20px; padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; align-self: flex-start;
}
.vmodal__money-val { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--gold, #e8b54a); }
.vmodal__money-lab { font-size: 12px; color: rgba(255,255,255,.7); }
.vmodal__quote { font-size: 16px; line-height: 1.55; color: #2a3550; margin-top: 22px; font-style: italic; }
.vmodal__cta { margin-top: 28px; align-self: flex-start; }

.vmodal__video-wrap { background: #05101f; display: flex; align-items: center; justify-content: center; min-height: 0; min-width: 0; overflow: hidden; order: -1; }
.vmodal__video { width: 100%; height: 100%; object-fit: contain; background: #05101f; }

@media (max-width: 760px) {
  .vmodal { grid-template-columns: 1fr; grid-template-rows: 1.2fr auto; height: min(86vh, 760px); }
  .vmodal__video-wrap { grid-row: 1; }
  .vmodal__info { grid-row: 2; padding: 24px 22px; overflow-y: auto; }
  .vmodal__quote { display: none; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__photo { height: 500px; border-radius: var(--r-xl); width: 100%; }
.about__fc {
  position: absolute; bottom: -24px; right: -24px;
  padding: 20px 26px;
  background: var(--navy); border-color: rgba(123,181,220,.3);
  border-radius: var(--r-lg); color: #fff; min-width: 190px;
}
.about__fc-n { font-family: var(--font-head); font-weight: 900; font-size: 38px; }
.about__fc-l { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; line-height: 1.4; }

/* ICEF accreditation badge as main media */
.about__media--badge {
  display: flex; align-items: center; justify-content: center;
  min-height: 500px;
  background: radial-gradient(circle at 50% 40%, rgba(30,100,210,.08), transparent 70%);
}
.about__badge-big {
  width: auto; height: auto;
  max-width: 360px; max-height: 460px;
  filter: drop-shadow(0 22px 44px rgba(10,35,90,.28));
  animation: badgeFloat 5s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 900px) {
  .about__media--badge { min-height: 340px; }
  .about__badge-big { max-width: 260px; max-height: 340px; }
}
.about__content h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 0; }
.about__text { font-size: 17px; color: var(--muted); margin: 18px 0 28px; line-height: 1.65; }
.about__stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.about__stat { background: var(--light-bg); border-radius: var(--r-md); padding: 16px 12px; text-align: center; }
.about__stat-n { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--navy); }
.about__stat-l { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: pre-line; line-height: 1.35; }
.about__badges { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.about__badge { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.about__badge-ic {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto;
  background: var(--accent-soft); color: var(--navy);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.about__badge-link { margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: underline; white-space: nowrap; }
.about__badge-link:hover { color: var(--navy); }

/* Story video background */
.story-big__photo--video { cursor: pointer; background: #000; }
.story-big__video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }

/* Country desc line */
.country__meta--desc { font-style: italic; color: var(--muted); margin-top: 6px; }

/* Responsive B */
@media (max-width: 900px) {
  .scholar__grid, .visas__grid, .blog__grid { grid-template-columns: 1fr 1fr; }
  .story-big { grid-template-columns: 1fr; }
  .story-big__photo { min-height: 200px; }
  .stories__grid { grid-template-columns: repeat(2, 1fr); }
  .visas__trust-grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; gap: 32px; }
  .team__photo { height: 280px; }
  .finalcta__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { height: 300px; }
  .about__fc { bottom: -16px; right: 16px; }
  .about__stats-row { grid-template-columns: repeat(2, 1fr); }
  .vcard { width: 175px; }
  .vcard__media { height: 280px; }
}
@media (max-width: 768px) {
  .stories__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sgrid__thumb { height: 180px; }
  .beyond__grid { gap: 10px; }
  .beyond__cell { min-height: 180px; }
  .beyond__title { font-size: 16px; }
  .beyond__sub { font-size: 12px; }
  .vmodal { grid-template-columns: 1fr; }
  .vmodal__side { padding: 20px; }
  .finalcta__head h2 { font-size: clamp(22px, 6vw, 34px); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__map { height: 180px; }
  .scholar__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .scholar__grid, .visas__grid, .blog__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .scholar__deadline { flex-direction: column; align-items: flex-start; }
  .countdown__unit { min-width: 56px; }
  .tstep__node { width: 52px; height: 52px; font-size: 18px; }
  .timeline__line { left: 25px; }
  .tstep { gap: 18px; }
  .stories__grid { grid-template-columns: 1fr; }
  .sgrid.card { flex-direction: row; align-items: center; }
  .sgrid__thumb { width: 90px; min-width: 90px; height: 90px; border-radius: 10px; flex-shrink: 0; }
}

/* ============================================================
   ENGLISH LEVEL TEST
   ============================================================ */
.elt { background: var(--light-bg); }
.elt .section-sub { color: var(--muted); font-size: 16px; margin-top: 10px; }

.elt__card {
  max-width: 660px; margin: 0 auto;
  padding: 40px; min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}

/* Intro */
.elt__intro-icon { margin-bottom: 20px; }
.elt__intro-h { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 14px; }
.elt__intro-p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin-bottom: 28px; max-width: 480px; }

/* Questions */
.elt__q { width: 100%; text-align: left; }
.elt__progress { height: 5px; background: var(--gray-100); border-radius: 99px; margin-bottom: 20px; overflow: hidden; }
.elt__progress-bar { height: 100%; background: var(--blue); border-radius: 99px; transition: width .4s var(--ease); }
.elt__step { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.elt__back { font-family: var(--font-body); font-weight: 600; font-size: 13px; text-transform: none; letter-spacing: normal; color: var(--blue); background: none; border: none; cursor: pointer; padding: 0; }
.elt__back:hover { text-decoration: underline; }
.elt__question { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 24px; line-height: 1.4; }
.elt__opts { display: flex; flex-direction: column; gap: 10px; }
.elt__opt {
  text-align: left; padding: 14px 18px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); font-size: 15px; color: var(--text);
  transition: all .2s; background: #fff;
}
.elt__opt:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); background: rgba(30,92,149,.05); }
.elt__opt--chosen { border-color: var(--navy) !important; background: var(--navy) !important; color: #fff !important; }
.elt__opt:disabled { cursor: default; }
.elt__textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-md); font-size: 15px; font-family: var(--font-body); outline: none;
  resize: vertical; margin-bottom: 18px;
}
.elt__textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,92,149,.12); }
.elt__next { width: 100%; }

/* Gate */
.elt__gate { display: flex; flex-direction: column; align-items: center; }
.elt__gate-lock { margin-bottom: 18px; }
.elt__gate-h { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.elt__gate-p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; max-width: 420px; }
.elt__form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.elt__form input { padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); font-size: 16px; font-family: var(--font-body); outline: none; width: 100%; box-sizing: border-box; }
.elt__form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,92,149,.12); }
.elt__gate-micro { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* Result */
.elt__result { display: flex; flex-direction: column; align-items: center; }
.elt__result-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 900; font-size: 28px; color: #fff;
  width: 90px; height: 90px; border-radius: 50%; margin-bottom: 18px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.3);
}
.elt__result-label { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.elt__result-score { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.elt__result-tip { font-size: 15.5px; color: var(--text); line-height: 1.65; max-width: 460px; margin-bottom: 28px; }
.elt__result-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }

/* ============================================================
   UNIS SIMPLE — public universities grid (universities.html)
   ============================================================ */
.unis-simple__note {
  font-size: .95rem; color: var(--muted); margin: -8px 0 32px;
}

/* Controls: search + country filter */
.unis-simple__controls {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
}
.unis-simple__search-wrap {
  position: relative; max-width: 480px;
}
.unis-simple__search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.unis-simple__search {
  width: 100%; padding: 13px 44px 13px 46px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 1rem; font-family: var(--font-body);
  background: #fff; color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.unis-simple__search:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.unis-simple__search-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: .9rem; padding: 4px;
  line-height: 1;
}
.unis-simple__search-clear:hover { color: var(--text); }
.unis-simple__countries {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.unis-simple__ctag {
  padding: 7px 16px; border-radius: 99px;
  border: 1.5px solid var(--border);
  background: #fff; color: var(--text);
  font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  font-family: var(--font-body);
}
.unis-simple__ctag:hover { border-color: var(--blue); color: var(--blue); }
.unis-simple__ctag.is-active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.unis-simple__count {
  font-size: .95rem; color: var(--muted); margin: 0 0 20px;
}
.unis-simple__empty {
  text-align: center; padding: 64px 0;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  color: var(--muted);
}

.unis-simple__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.unisc {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px 18px; border-radius: 14px;
  transition: transform .18s, box-shadow .18s;
}
.unisc:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.10); }
.unisc__head {
  display: flex; align-items: center; gap: 8px;
}
.unisc__flag {
  width: 22px; height: 16px; object-fit: cover;
  border-radius: 3px; flex-shrink: 0;
}
.unisc__country {
  font-size: .8rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.unisc__star {
  margin-left: auto; color: var(--gold);
  font-size: 1rem; line-height: 1;
}
.unisc__name {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin: 0; flex: 1;
}
.unisc__loc {
  font-size: .85rem; color: var(--muted); margin: 0;
}
.unisc__tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px;
}
.unisc__tag {
  font-size: .75rem; font-weight: 600; padding: 3px 10px;
  border-radius: 99px;
}
.unisc__tag--field {
  background: #eef3ff; color: var(--navy);
  border: 1px solid #d0dcf5;
}
.unisc__tag--level {
  background: #f0fdf4; color: #15803d;
  border: 1px solid #bbf7d0;
}
.unisc__price {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 1rem; font-weight: 800; color: var(--navy);
}
.unisc__price span {
  font-size: .8rem; font-weight: 500; color: var(--muted);
}
.unis-simple__more {
  text-align: center; margin-top: 40px;
}
