/* =========================================
   MBA King – Landing Page Styles
   ========================================= */

:root {
  --navy-950: #071330;
  --navy-900: #0b1d45;
  --navy-800: #12295e;
  --navy-700: #1c3a7d;
  --accent: #f08a00;
  --accent-dark: #d07300;
  --accent-soft: #fff3e2;
  --gold: #ffc35c;
  --text: #1f2a44;
  --muted: #5d6882;
  --border: #e6e8ef;
  --bg: #ffffff;
  --cream: #faf6ef;
  --whatsapp: #25d366;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(11, 29, 69, .06);
  --shadow: 0 14px 40px rgba(11, 29, 69, .09);
  --shadow-lg: 0 28px 70px rgba(11, 29, 69, .18);
  --header-h: 78px;
  --stats-overlap: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
svg { fill: currentColor; }
.i-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--small { padding: 11px 20px; font-size: 14px; }
.btn--small svg { width: 16px; height: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, #ff9d1c, var(--accent) 55%, var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(240, 138, 0, .32);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(240, 138, 0, .45); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--outline-dark { border-color: var(--border); color: var(--navy-900); background: #fff; }
.btn--outline-dark:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.btn--navy { background: var(--navy-900); color: #fff; box-shadow: 0 10px 24px rgba(11, 29, 69, .25); }
.btn--navy:hover { background: var(--navy-800); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light { color: var(--gold); }

.section { padding: 104px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--navy {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(240, 138, 0, .18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(28, 58, 125, .7), transparent 60%),
    var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.section--navy .container { position: relative; }

.section__head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section__head .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 14px;
}
.section__title em, .hero__title em, .cta h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}
.section__head--light .section__title { color: #fff; }
.section__head--light .section__title em { color: var(--gold); }
.section__sub { color: var(--muted); font-size: 17px; }
.section__head--light .section__sub { color: rgba(255,255,255,.75); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.8); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__note { display: flex; align-items: center; gap: 8px; }
.topbar__note svg { width: 17px; height: 17px; color: var(--gold); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__links a:hover { color: var(--gold); }
.topbar__links svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(11, 29, 69, .08); border-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__crown {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  color: var(--gold);
  box-shadow: 0 8px 18px rgba(11, 29, 69, .25), inset 0 0 0 1px rgba(255,255,255,.08);
  flex-shrink: 0;
}
.logo__crown svg { width: 24px; height: 24px; }
.logo__text {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -.3px;
}
.logo__text b { color: var(--accent); font-weight: 700; }
.logo__text small {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  display: block;
}
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: rgba(255,255,255,.55); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--navy-900); background: var(--cream); }
.nav__link.is-active { color: var(--navy-900); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; padding: 12px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 0;
  color: #fff;
  background:
    linear-gradient(180deg, transparent calc(100% - var(--stats-overlap)), #fff calc(100% - var(--stats-overlap))),
    var(--navy-900);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--stats-overlap) 0;
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(240, 138, 0, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 90%, rgba(28, 58, 125, .9), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 var(--stats-overlap) 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(110deg, #000, transparent 55%);
  -webkit-mask-image: linear-gradient(110deg, #000, transparent 55%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 420px; height: 420px;
  right: 8%; top: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 195, 92, .35), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 56px;
  padding-bottom: 70px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 50px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 26px;
}
.pill__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 195, 92, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 195, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 195, 92, 0); }
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero__title em { color: var(--gold); position: relative; white-space: nowrap; }
.hero__title em::after {
  content: "";
  position: absolute;
  left: 2%; right: 2%; bottom: -2px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 50 2, 150 2, 198 8' stroke='%23f08a00' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero__text { font-size: 18.5px; color: rgba(255,255,255,.78); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: rgba(255,255,255,.7); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 195, 92, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc35c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

.hero__visual { position: relative; justify-self: end; width: min(100%, 470px); }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg);
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 19, 48, .45));
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -18px -18px 30px 30px;
  border-radius: 250px 250px 32px 32px;
  border: 2px dashed rgba(255, 195, 92, .45);
  z-index: -1;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 13px;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14.5px; color: var(--navy-900); line-height: 1.25; }
.float-card span:not(.float-card__icon) { font-size: 12.5px; color: var(--muted); }
.float-card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
  flex-shrink: 0;
}
.float-card__icon svg { width: 21px; height: 21px; }
.float-card__icon--gold { background: var(--accent-soft); color: var(--accent-dark); }
.float-card--top { top: 16%; left: -70px; }
.float-card--bottom { bottom: 12%; right: -40px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero__seal {
  position: absolute;
  top: -14px; right: 6px;
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  text-align: center;
  background: linear-gradient(140deg, var(--gold), var(--accent));
  color: var(--navy-950);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(240, 138, 0, .4), inset 0 0 0 5px rgba(255,255,255,.25);
}
.hero__seal svg { width: 22px; height: 22px; }

/* Stats bar */
.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.stats li { padding: 30px 24px; text-align: center; position: relative; }
.stats li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 24%; bottom: 24%;
  width: 1px;
  background: var(--border);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.1;
}
.stats li:nth-child(odd) strong { color: var(--accent); }
.stats span { font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative;
  padding: 32px 26px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  transition: height .45s var(--ease);
  z-index: -1;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.72); }
.service-card:hover .service-card__icon { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.service-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 22px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.service-card__icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 8px; transition: color .35s; }
.service-card p { font-size: 15px; color: var(--muted); transition: color .35s; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 12%; right: 12%;
  border-top: 2px dashed rgba(240, 138, 0, .45);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  position: relative;
  display: grid; place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: 0 0 0 8px var(--cream), var(--shadow-sm);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.step:hover .step__num { background: var(--navy-900); color: var(--gold); transform: scale(1.06); }
.step h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); max-width: 250px; margin-inline: auto; }

/* ---------- Exams ---------- */
.exams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.exam-chip {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
  overflow: hidden;
}
.exam-chip::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 195, 92, .25), transparent 70%);
  transition: transform .4s var(--ease);
}
.exam-chip:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); border-color: rgba(255, 195, 92, .6); }
.exam-chip:hover::after { transform: scale(1.8); }
.exam-chip b {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: .2px;
}
.exam-chip span { font-size: 14.5px; color: rgba(255,255,255,.72); }

/* ---------- Courses ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px 0 44px; }
.filters__btn {
  padding: 11px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.filters__btn:hover { border-color: var(--navy-900); }
.filters__btn.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); box-shadow: 0 8px 20px rgba(11, 29, 69, .2); }

.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.course-card[hidden] { display: none; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-card__img img { transform: scale(1.06); }
.tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 13px;
  border-radius: 50px;
  background: rgba(255,255,255,.95);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  box-shadow: var(--shadow-sm);
}
.tag--hot { background: var(--accent); color: #fff; }
.course-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.course-card h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 10px; line-height: 1.3; }
.course-card p { font-size: 15px; color: var(--muted); margin-bottom: 22px; flex: 1; }
.course-card__actions { display: flex; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); }
.course-card__actions .btn { flex: 1; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.about__media { position: relative; display: grid; place-items: end center; min-height: 520px; }
.about__circle {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  bottom: 0;
  left: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 195, 92, .45), transparent 55%),
    linear-gradient(150deg, var(--navy-700), var(--navy-950));
}
.about__ring {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  bottom: -6%;
  border-radius: 50%;
  border: 2px dashed rgba(240, 138, 0, .45);
  animation: spin 50s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__media img { position: relative; max-height: 540px; width: auto; filter: drop-shadow(0 20px 30px rgba(7, 19, 48, .3)); }
.about__badge {
  position: absolute;
  left: 0; bottom: 70px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-bottom: 4px solid var(--accent);
}
.about__badge strong { display: block; font-family: var(--serif); font-size: 34px; color: var(--navy-900); line-height: 1; }
.about__badge span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.about__chip {
  position: absolute;
  right: 0; top: 70px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.about__chip svg { width: 16px; height: 16px; color: var(--gold); }

.about__lead { font-size: 17px; color: var(--muted); margin-bottom: 24px; }
.checklist { display: grid; gap: 14px; margin-bottom: 32px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy-900); }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 26px; height: 26px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}
.numbers__item {
  padding: 20px 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.numbers__item strong { display: block; font-family: var(--serif); font-size: 36px; color: var(--accent); line-height: 1.1; }
.numbers__item span { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Reviews slider ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; margin: -20px; padding: 20px; touch-action: pan-y; }
.slider__track { display: flex; gap: 28px; transition: transform .6s var(--ease); }
.slider.is-dragging .slider__track { transition: none; }
.slider.is-dragging { cursor: grabbing; user-select: none; }
.review-card {
  position: relative;
  flex: 0 0 calc((100% - 28px) / 2);
  display: flex;
  flex-direction: column;
  padding: 38px 36px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; right: 28px;
  font-family: var(--serif);
  font-size: 130px;
  line-height: 1;
  color: var(--accent-soft);
  pointer-events: none;
}
.review-card__stars { position: relative; color: var(--accent); font-size: 18px; letter-spacing: 3px; margin-bottom: 16px; }
.review-card__text { position: relative; flex: 1; font-size: 16px; color: var(--text); margin-bottom: 26px; }
.review-card__author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--border); }
.review-card__avatar {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-950));
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.review-card__author h3 { font-size: 16.5px; color: var(--navy-900); line-height: 1.3; }
.review-card__author span { font-size: 13.5px; color: var(--muted); }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.slider__btn {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy-900);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.slider__btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.slider__btn svg { width: 22px; height: 22px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 10px;
  border: 0;
  background: var(--border);
  cursor: pointer;
  transition: width .3s var(--ease), background .3s;
}
.slider__dot.is-active { width: 30px; background: var(--accent); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 20px; }
.cta__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 60px 64px;
  border-radius: 32px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 29, 69, .96) 40%, rgba(11, 29, 69, .75)),
    url("../images/banner.jpg") center/cover;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta__box::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 195, 92, .35), transparent 70%);
  pointer-events: none;
}
.cta__text { position: relative; }
.cta h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; margin-bottom: 10px; max-width: 560px; }
.cta h2 em { color: var(--gold); }
.cta p { color: rgba(255,255,255,.78); font-size: 17px; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__cards > .contact-card:last-child { grid-column: 1 / -1; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
a.contact-card:hover { transform: translateY(-4px); background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
.contact-card:last-child { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; }
.contact-card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__icon--wa { background: var(--whatsapp); color: #fff; }
.contact-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); margin-bottom: 4px; }
.contact-card p { font-weight: 700; color: var(--navy-900); word-break: break-word; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; box-shadow: var(--shadow); border: 6px solid #fff; }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: 60px;
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding-top: 80px;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer__brand p { margin: 20px 0 24px; font-size: 15px; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { color: #fff; font-size: 17px; margin-bottom: 8px; position: relative; padding-bottom: 12px; }
.footer__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); }
.footer__col a { font-size: 15px; transition: color .2s, transform .2s; width: fit-content; }
.footer__col a:hover { color: var(--gold); transform: translateX(3px); }
.footer__contact { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.footer__icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: var(--gold);
  flex-shrink: 0;
}
.footer__icon svg { width: 16px; height: 16px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; text-align: center; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 19, 48, .7); backdrop-filter: blur(4px); animation: fade .3s; }
.modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  width: min(820px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  animation: pop .4s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-open { overflow: hidden; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy-900);
  cursor: pointer;
  transition: background .2s, transform .3s var(--ease);
}
.modal__close:hover { background: var(--accent-soft); transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; }
.modal__side {
  position: relative;
  padding: 44px 34px;
  color: #fff;
  background:
    radial-gradient(400px 300px at 100% 0%, rgba(240, 138, 0, .3), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  overflow: hidden;
}
.modal__side .logo__crown { margin-bottom: 26px; background: rgba(255,255,255,.08); }
.modal__side h3 { font-family: var(--serif); font-size: 26px; line-height: 1.25; margin-bottom: 26px; }
.modal__side ul { display: grid; gap: 14px; }
.modal__side li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.85); }
.modal__side li::before {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 195, 92, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc35c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

.lead-form { padding: 44px 38px 38px; }
.lead-form h2 { font-family: var(--serif); font-size: 28px; color: var(--navy-900); line-height: 1.2; margin-bottom: 6px; padding-right: 30px; }
.lead-form > p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 7px; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(240, 138, 0, .14); }
.phone { display: flex; }
.phone__code {
  display: flex; align-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--cream);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
}
.phone input { border-radius: 0 12px 12px 0; }
.field__error { display: block; min-height: 0; color: #d93025; font-size: 13px; margin-top: 5px; }
.field.has-error input { border-color: #d93025; }

/* ---------- Floating buttons ---------- */
.float-call,
.float-wa,
.to-top {
  position: fixed;
  z-index: 90;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
  transition: transform .25s var(--ease), opacity .3s, visibility .3s;
}
.float-call svg, .float-wa svg { width: 26px; height: 26px; }
.float-call:hover, .float-wa:hover { transform: scale(1.08); }
.float-wa { right: 22px; bottom: 22px; width: 58px; height: 58px; background: var(--whatsapp); color: #fff; }
.float-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: ring 2s infinite;
}
@keyframes ring { to { transform: scale(1.5); opacity: 0; } }
.float-call { right: 22px; bottom: 22px; width: 58px; height: 58px; background: var(--accent); color: #fff; }
.to-top {
  right: 28px; bottom: 94px;
  width: 46px; height: 46px;
  border: 0;
  background: var(--navy-900);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 24px; height: 24px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1140px) {
  .nav__link { padding: 10px 10px; font-size: 14.5px; }
  .nav__link::after { left: 10px; right: 10px; }
  .float-card--top { left: -30px; }
  .float-card--bottom { right: -16px; }
}

@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .exams { grid-template-columns: repeat(2, 1fr); }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .cta__box { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
}

@media (max-width: 960px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 16px 24px;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(11, 29, 69, .12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 12px; font-size: 16px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--cream); }
  .nav__cta { margin: 12px 0 0; padding: 15px; }

  .hero { padding-top: 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; text-align: left; }
  .hero__visual { justify-self: center; width: min(100%, 420px); }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about__media { min-height: 0; max-width: 460px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3)::before { display: none; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .review-card { flex-basis: 100%; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 44px; }
  .topbar { display: none; }
  .logo__crown { width: 40px; height: 40px; border-radius: 12px; }
  .logo__crown svg { width: 21px; height: 21px; }
  .logo__text { font-size: 22px; }
  .logo__text small { font-size: 9.5px; letter-spacing: 1.2px; }

  .hero__text { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 14px 10px 10px; gap: 10px; }
  .float-card__icon { width: 36px; height: 36px; }
  .float-card strong { font-size: 13px; }
  .float-card span:not(.float-card__icon) { font-size: 11.5px; }
  .float-card--top { left: -6px; top: 10%; }
  .float-card--bottom { right: -6px; bottom: 8%; }
  .hero__seal { width: 76px; height: 76px; font-size: 10px; right: 0; }
  .stats li { padding: 22px 12px; }
  .stats span { font-size: 13px; }

  .services, .exams, .courses { grid-template-columns: 1fr; }
  .exams { grid-template-columns: 1fr 1fr; gap: 12px; }
  .exam-chip { padding: 20px 16px; }
  .exam-chip b { font-size: 19px; }
  .exam-chip span { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .filters { margin-top: -14px; gap: 8px; }
  .filters__btn { padding: 9px 16px; font-size: 13.5px; }

  .about__badge { left: 0; bottom: 30px; padding: 14px 18px; }
  .about__badge strong { font-size: 28px; }
  .about__chip { top: 30px; font-size: 12.5px; }
  .numbers { gap: 10px; }
  .numbers__item { padding: 16px 8px; }
  .numbers__item strong { font-size: 28px; }
  .numbers__item span { font-size: 12.5px; }

  .review-card { padding: 30px 24px 26px; }
  .cta__box { padding: 40px 24px; border-radius: 24px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact-card { flex-direction: row; align-items: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }

  .modal__dialog { grid-template-columns: 1fr; }
  .modal__side { display: none; }
  .lead-form { padding: 36px 22px 26px; }
  .lead-form h2 { font-size: 24px; }

  .float-call, .float-wa { width: 52px; height: 52px; bottom: 16px; }
  .float-call { right: 16px; }
  .float-wa { right: 16px; }
  .to-top { right: 21px; bottom: 80px; width: 42px; height: 42px; }
}
