/* ============================================================
   Global Voices — stylesheet (dark navy + orange/gold theme,
   matched to Dr. Abir's portfolio palette)
   Design tokens first, then shared components, then sections.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand accents (from portfolio) */
  --orange: #ff8a1e;
  --flame: #ff5e3a;
  --coral: #ff5e7e;
  --gold: #ffd27a;
  --navy-glow: #2a6cff;

  /* Surfaces */
  --bg: #05070f;               /* page background                   */
  --bg-2: #0a1326;             /* raised surface                    */
  --panel-grad: linear-gradient(150deg, #13213f, #0a1326);
  --line: rgba(255, 255, 255, 0.10);
  --ink: #dde6f7;              /* main text                         */
  --ink-soft: #a9bbdc;         /* secondary text                    */
  --ink-faint: #8ea0c2;

  --grad: linear-gradient(100deg, var(--orange), var(--coral) 45%, var(--gold));
  --grad-btn: linear-gradient(100deg, var(--orange), var(--flame));
  --grad-soft: linear-gradient(135deg, rgba(255, 138, 30, 0.22), rgba(42, 108, 255, 0.15));

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;

  --shadow-card: 0 14px 34px -14px rgba(0, 0, 0, 0.65);
  --shadow-card-hover: 0 24px 50px -16px rgba(255, 138, 30, 0.28);
  --glow-orange: 0 12px 30px -10px rgba(255, 138, 30, 0.55);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  --container: 75rem;

  color-scheme: dark;          /* native dark form controls */
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

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

a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Gradient text helper */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.nav__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 210, 122, 0.45);
}

.nav__title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.nav__tagline {
  font-size: 0.72rem;
  color: var(--ink-faint);
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 138, 30, 0.4);
  transform: translateY(-1px);
}

.nav__link.is-active {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--glow-orange);
}

.nav__burger {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-radius: 0.6rem;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  line-height: 1;
}

@media (max-width: 920px) {
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #0a0f1c;
    padding: 0.9rem 1.25rem 1.2rem;
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.7);
    border-bottom: 3px solid var(--orange);
  }
  .nav__links.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .nav__link { text-align: center; padding: 0.8rem 1rem; }
}

/* ---------- 4. Page (tab) switching ---------- */
.page { display: none; }
.page.is-active { display: block; animation: fadeIn 0.45s ease both; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page.is-active { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 5. Shared components ---------- */
.section { padding-block: 3.5rem; }

.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}

.card {
  background: var(--panel-grad);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 0;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.btn--grad {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--glow-orange);
}

.btn--grad:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 40px -10px rgba(255, 138, 30, 0.7); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}

.btn--ghost:hover { border-color: var(--orange); color: var(--gold); transform: translateY(-2px); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--glow-orange);
}

.check-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: rgba(255, 138, 30, 0.08);
  border: 1px solid rgba(255, 138, 30, 0.20);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.check-item__tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ---------- 6. HOME ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem 3rem;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 900;
  margin: 0 0 0.6rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero__sub {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
  color: #fff;
}

.hero__sub--accent { color: var(--gold); }

.hero__text {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.hero__figure { display: flex; justify-content: center; }

/* Interactive 3D Earth (NASA embed) in a glowing ring */
.hero__earth {
  width: min(420px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255, 210, 122, 0.35);
  box-shadow: 0 30px 70px -20px rgba(255, 138, 30, 0.4),
              0 0 70px -12px rgba(42, 108, 255, 0.45);
  background: #000;
}

.hero__earth canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: none;        /* smooth drag-rotate on touch screens */
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-bottom: 4.5rem;
}

.feature-card {
  background: var(--panel-grad);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.8rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 138, 30, 0.4);
}

.feature-card__emoji { font-size: 2rem; }

.feature-card__title { font-size: 1.15rem; font-weight: 800; margin: 0.7rem 0 0.4rem; color: #fff; }

.feature-card__text { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2.5rem; }
  .hero__icon { margin-inline: auto; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__figure { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- 7. ABOUT ---------- */
.about-sub {
  text-align: center;
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  font-weight: 800;
  margin: 0 auto 2.6rem;
  max-width: 55rem;
  color: #fff;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 2.6rem;
}

.vision-card { border-top: 5px solid var(--orange); }
.vision-card--pink { border-top-color: var(--gold); }

.vision-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vision-card__title { font-size: 1.7rem; font-weight: 900; margin: 0; }
.vision-card__title--purple { color: var(--orange); }
.vision-card__title--pink { color: var(--gold); }

.vision-card p { color: var(--ink-soft); margin: 0; }

.banner {
  background: var(--grad-btn);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 0 24px 55px -18px rgba(255, 138, 30, 0.45);
  margin-bottom: 2.6rem;
}

.banner__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 1rem;
}

.banner p {
  margin: 0 auto;
  max-width: 62rem;
  font-weight: 600;
  line-height: 1.75;
}

.centered-icon { display: flex; justify-content: center; margin-bottom: 1.1rem; }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.outcome-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }

.outcome-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(42, 108, 255, 0.10);
  border: 1px solid rgba(42, 108, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
}

@media (max-width: 760px) {
  .vision-grid, .audience-grid { grid-template-columns: 1fr; }
}

/* ---------- 8. SESSIONS ---------- */
.sessions-intro {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.sessions-intro__bold {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 0.9rem;
  color: #fff;
}

.sessions-intro__text { color: var(--ink-soft); margin: 0; }

.session-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.session-card {
  /* --c / --c2 are set per-card from js/data.js (SDG colour + darker shade) */
  --c: #ff8a1e;
  --c2: #ff5e3a;
  background: var(--panel-grad);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.4rem 1.6rem;
  min-height: 22.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

/* Hover: card fills with its SDG colour, text flips to white */
.session-card:hover,
.session-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px var(--c2);
  background: linear-gradient(165deg, var(--c), var(--c2));
  border-color: transparent;
}

.session-card__emoji { font-size: 2.6rem; line-height: 1; margin-bottom: 0.4rem; }

.session-card__num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.session-card:hover .session-card__num,
.session-card:focus-visible .session-card__num {
  background: rgba(255, 255, 255, 0.28);
}

.session-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.2rem 0 0;
  color: #fff;
  transition: color 0.3s;
}

.session-card__tagline {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  transition: color 0.3s;
}

.session-card:hover .session-card__title,
.session-card:hover .session-card__tagline,
.session-card:focus-visible .session-card__title,
.session-card:focus-visible .session-card__tagline {
  color: #fff;
}

.session-card__cta {
  margin-top: auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0.7rem 0;
  transition: background 0.3s, color 0.3s;
}

.session-card:hover .session-card__cta,
.session-card:focus-visible .session-card__cta {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

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

/* Session modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 100;
}

.modal-backdrop.is-open { display: flex; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  width: min(660px, 100%);
  max-height: min(88vh, 60rem);
  overflow-y: auto;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease both;
}

.modal__head {
  color: #fff;
  padding: 2rem 2rem 1.6rem;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

.modal__close:hover { background: rgba(255, 255, 255, 0.45); }

.modal__emoji { font-size: 2.6rem; }

.modal__titlebar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.6rem;
}

.modal__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal__title { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 900; margin: 0; }

.modal__tagline { margin: 0.1rem 0 0; font-weight: 600; opacity: 0.95; }

.modal__quote {
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  font-style: italic;
  font-weight: 700;
}

.modal__body { padding: 1.6rem 2rem 2rem; display: grid; gap: 1.1rem; }

.modal__block {
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  border: 1px solid transparent;
}

.modal__block--theme { background: rgba(255, 138, 30, 0.10); border-color: rgba(255, 138, 30, 0.25); }
.modal__block--hook  { background: rgba(42, 108, 255, 0.12); border-color: rgba(42, 108, 255, 0.28); }
.modal__block--act   { background: rgba(255, 94, 126, 0.10); border-color: rgba(255, 94, 126, 0.25); }

.modal__block h4 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.modal__block--theme h4 { color: var(--orange); }
.modal__block--hook h4  { color: #7da2ff; }
.modal__block--act h4   { color: var(--coral); }

.modal__block p { margin: 0; color: var(--ink-soft); }

.modal__footer { padding: 0 2rem 2rem; }

.modal__footer .btn { width: 100%; }

/* ---------- 9. INSTRUCTOR ---------- */
.instructor-head { text-align: center; padding-block: 3.5rem 2.5rem; }

.instructor-head__photo {
  width: 230px;
  height: 230px;
  object-fit: cover;
  object-position: 50% 18%;   /* keep the face centred in the circle */
  border-radius: 50%;
  border: 6px solid rgba(255, 210, 122, 0.35);
  box-shadow: 0 26px 60px -18px rgba(255, 138, 30, 0.45);
  margin: 0 auto 1.8rem;
}

.instructor-head__name {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 900;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.instructor-head__role { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; margin: 0 0 0.7rem; color: var(--gold); }

.instructor-head__stars { font-size: 1.5rem; letter-spacing: 0.3rem; color: var(--gold); }

.profile-card { margin-bottom: 2.4rem; }

.card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.card__title { font-size: 1.65rem; font-weight: 900; margin: 0; color: var(--orange); }

.profile-card p { color: var(--ink-soft); margin: 0 0 1rem; }
.profile-card p:last-child { margin-bottom: 0; }

.competencies {
  background: var(--grad-btn);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  box-shadow: 0 24px 55px -18px rgba(255, 138, 30, 0.45);
  margin-bottom: 2.4rem;
}

.competencies__title { display: flex; align-items: center; gap: 1rem; font-size: 1.9rem; font-weight: 900; margin: 0 0 1.5rem; }

.competencies__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.competency {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  font-weight: 700;
}

.competency .check-item__tick { background: rgba(255, 255, 255, 0.3); margin: 0; }

@media (max-width: 700px) { .competencies__grid { grid-template-columns: 1fr; } }

.xp-list { display: grid; gap: 1.5rem; }

.xp-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.xp-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.xp-card__role { font-size: 1.35rem; font-weight: 900; margin: 0; color: #fff; }

.xp-card__org { color: var(--gold); font-weight: 700; margin: 0.2rem 0 0.9rem; }

.xp-card__dates {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  color: var(--ink);
}

.xp-card__badge {
  position: absolute;
  top: -0.8rem;
  right: 1.4rem;
  background: var(--grad-btn);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--glow-orange);
}

.xp-card ul { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); display: grid; gap: 0.4rem; }

.achievement {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 210, 122, 0.08);
  border: 1px solid rgba(255, 210, 122, 0.22);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.3rem;
  color: var(--ink-soft);
}

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.cred-card h3 { display: flex; align-items: center; gap: 0.8rem; font-size: 1.4rem; font-weight: 900; margin: 0 0 1.2rem; color: var(--orange); }

.cred-item { padding: 0.85rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.14); }
.cred-item:last-child { border-bottom: 0; padding-bottom: 0; }

.cred-item strong { display: block; color: #fff; }

.cred-item span { color: var(--ink-faint); font-size: 0.92rem; }

.lang-bar { background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-pill); height: 10px; overflow: hidden; margin-top: 0.45rem; }

.lang-bar__fill { height: 100%; width: 100%; background: var(--grad); border-radius: inherit; }

.award-banner {
  background: var(--grad-btn);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  padding: 2.2rem;
  margin-top: 2.4rem;
  box-shadow: 0 24px 55px -18px rgba(255, 138, 30, 0.45);
}

.award-banner h3 { font-size: 1.9rem; font-weight: 900; margin: 0 0 0.4rem; }

.award-banner p { font-size: 1.25rem; font-weight: 700; margin: 0; }

@media (max-width: 760px) { .cred-grid { grid-template-columns: 1fr; } }

/* ---------- 10. REGISTER ---------- */
.register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-block: 4rem;
}

.register__title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.register__sub { font-size: 1.2rem; font-weight: 700; margin: 0 0 1.8rem; color: #fff; }

.register__perks { display: grid; gap: 1.1rem; }

.perk {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--panel-grad);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.2rem 1.4rem;
}

.perk__emoji { font-size: 1.7rem; }

.perk strong { display: block; font-size: 1.05rem; color: #fff; }

.perk span { color: var(--ink-soft); font-size: 0.95rem; }

.register__urgency {
  margin-top: 1.6rem;
  background: var(--grad-btn);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 18px 42px -14px rgba(255, 138, 30, 0.5);
}

.register__urgency strong { display: block; font-size: 1.15rem; margin-bottom: 0.2rem; }

.form-card { padding: 2.4rem; }

.form-card__head { text-align: center; margin-bottom: 1.6rem; }

.form-card__title { font-size: 2rem; font-weight: 900; margin: 0.8rem 0 0.3rem; }

.form-card__sub { color: var(--ink-soft); margin: 0; }

.field { margin-bottom: 1.15rem; }

.field label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 138, 30, 0.18);
}

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

.form-note { text-align: center; color: var(--ink-faint); font-size: 0.85rem; margin: 1rem 0 0; }

.form-msg {
  display: none;
  border-radius: 0.8rem;
  padding: 0.95rem 1.2rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.form-msg.is-success { display: block; background: rgba(52, 211, 153, 0.12); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.4); }
.form-msg.is-error   { display: block; background: rgba(255, 94, 94, 0.12); color: #ff8a8a; border: 1px solid rgba(255, 94, 94, 0.4); }

@media (max-width: 920px) {
  .register { grid-template-columns: 1fr; }
}

/* ---------- 11. IB PYP ---------- */
.ib { background: linear-gradient(160deg, var(--bg), #0a1326 55%, #13213f); color: var(--ink); }

.ib-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4.5rem;
}

.ib-hero__chip {
  display: inline-block;
  background: rgba(255, 138, 30, 0.12);
  border: 1px solid rgba(255, 138, 30, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.ib-hero__title {
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.ib-hero__subtitle {
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-weight: 600;
  color: var(--gold);
  margin: 0.3rem 0 1.4rem;
}

.ib-hero__text { color: var(--ink-soft); max-width: 36rem; margin: 0 0 1.8rem; }

.ib-hero__text strong { color: #fff; }

.ib-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.ib-hero__note { color: var(--ink-faint); font-size: 0.9rem; margin-top: 1.4rem; }

.ib-hero__card {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 138, 30, 0.5);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  box-shadow: 0 0 60px -18px rgba(255, 138, 30, 0.5);
}

.ib-hero__card img {
  margin: 0 auto 1rem;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border-radius: 1rem;
}

.ib-hero__card strong { color: #fff; font-size: 1.2rem; display: block; }

.ib-hero__card span { color: var(--ink-faint); font-size: 0.9rem; }

.ib-light {
  background: var(--bg-2);
  color: var(--ink);
  border-radius: 2.5rem 2.5rem 0 0;
  padding-block: 3.5rem;
}

.ib-section-title {
  text-align: center;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-weight: 900;
  margin: 0 0 0.6rem;
  color: #fff;
}

.ib-section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  border-radius: 999px;
  background: var(--grad);
  margin: 0.7rem auto 0;
}

.ib-about-card { max-width: 60rem; margin: 2.2rem auto 0; }

.ib-about-card p { color: var(--ink-soft); }

.ib-cred-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1.4rem; }

.ib-cred-cols h4 { color: var(--orange); font-size: 1.1rem; margin: 0 0 0.6rem; }

.ib-cred-cols ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); display: grid; gap: 0.35rem; font-size: 0.95rem; }

@media (max-width: 700px) { .ib-cred-cols { grid-template-columns: 1fr; } }

/* Accordion */
.ib-dark-section { padding-block: 3.5rem; }

.ib-dark-section .ib-section-sub { text-align: center; color: var(--ink-faint); margin: 0 0 2.2rem; }

.accordion { display: grid; gap: 0.9rem; max-width: 56rem; margin-inline: auto; }

.accordion__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: left;
  padding: 1.15rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.accordion__btn:hover { background: rgba(255, 255, 255, 0.05); }

.accordion__num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.accordion__chev { margin-left: auto; transition: transform 0.3s; color: var(--gold); }

.accordion__item.is-open .accordion__chev { transform: rotate(180deg); }

.accordion__panel {
  display: none;
  padding: 0 1.4rem 1.5rem 1.4rem;
  color: var(--ink-soft);
}

.accordion__item.is-open .accordion__panel { display: block; animation: fadeIn 0.3s ease both; }

.accordion__badge {
  display: inline-block;
  background: rgba(255, 138, 30, 0.16);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  margin-bottom: 0.9rem;
}

.accordion__panel ul { margin: 0.5rem 0 1rem; padding-left: 1.2rem; display: grid; gap: 0.4rem; }

.accordion__outcome {
  background: rgba(42, 108, 255, 0.15);
  border-left: 4px solid var(--orange);
  border-radius: 0.6rem;
  padding: 0.9rem 1.1rem;
}

.accordion__outcome strong { color: var(--gold); }

/* IB value cards */
.ib-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.ib-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.ib-card__emoji { font-size: 2rem; }

.ib-card h3 { color: #fff; font-size: 1.25rem; margin: 0.7rem 0 0.9rem; }

.ib-card ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); display: grid; gap: 0.45rem; font-size: 0.95rem; }

.ib-card .lead { color: var(--gold); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; margin: 0 0 0.6rem; }

@media (max-width: 920px) {
  .ib-hero { grid-template-columns: 1fr; text-align: center; }
  .ib-hero__actions { justify-content: center; }
  .ib-hero__card { max-width: 26rem; margin-inline: auto; }
  .ib-cards { grid-template-columns: 1fr; }
}

/* IB CTA */
.ib-cta { text-align: center; padding-block: 1rem 4.5rem; }

.ib-cta h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 900; margin: 0 0 1.2rem; }

.ib-cta__points { color: var(--ink-soft); display: grid; gap: 0.4rem; margin-bottom: 1.4rem; font-weight: 600; }

.ib-cta__tag { color: var(--ink-faint); font-style: italic; margin-bottom: 1.8rem; }

.btn--whatsapp {
  background: var(--grad-btn);
  color: #fff;
  font-size: 1.15rem;
  padding: 1.15rem 2.8rem;
  box-shadow: 0 0 30px rgba(255, 138, 30, 0.5);
}

.btn--whatsapp:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 55px rgba(255, 138, 30, 0.8); }

/* ---------- 12. FOOTER ---------- */
.footer {
  background: linear-gradient(110deg, #03040a, #0a0f1c 50%, #000);
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer__grid {
  display: grid;
  /* columns never shrink below 230px — they wrap to a new row instead */
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}

/* allow columns to shrink without spilling their content */
.footer__grid > div { min-width: 0; }

.footer h4 { color: #fff; font-size: 1.3rem; font-weight: 900; margin: 0 0 1.2rem; }

.footer__brand-row { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }

.footer__gv {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__brand-name { font-size: 1.4rem; font-weight: 900; }

.footer__tagline { color: var(--gold); font-weight: 600; margin-top: 0.9rem; }

.footer__links { display: grid; gap: 0.7rem; }

.footer__links button,
.footer__links a {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--ink-faint);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links button:hover,
.footer__links a:hover { color: var(--gold); }

.footer__program li { margin-bottom: 0.7rem; font-weight: 600; }

.footer__program { list-style: none; margin: 0; padding: 0; }

.footer__program li::before {
  content: "●";
  color: var(--orange);
  font-size: 0.6rem;
  margin-right: 0.6rem;
  vertical-align: 0.15em;
}

.footer__contact { display: grid; gap: 1rem; }

/* Each row is a strict 2-column grid: 40px icon | text.
   Text can never overlap the icon or stack underneath it. */
.footer__contact a, .footer__contact div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink-faint);
  font-weight: 600;
  transition: color 0.2s;
}

.footer__contact a > span:last-child,
.footer__contact div > span:last-child {
  min-width: 0;
  justify-self: start;
  text-align: left;
  overflow-wrap: anywhere;      /* long emails wrap cleanly */
}

#mailLink > span:last-child  { font-size: 0.92rem; }
#phoneLink > span:last-child { white-space: nowrap; }

.footer__contact a:hover { color: var(--gold); }

.footer__contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  color: #fff;
}

.footer__contact-icon--mail  { background: linear-gradient(135deg, var(--orange), var(--flame)); }
.footer__contact-icon--phone { background: linear-gradient(135deg, var(--gold), var(--orange)); }
.footer__contact-icon--pin   { background: linear-gradient(135deg, #5e8bff, var(--navy-glow)); }

.footer__contact small { color: var(--ink-faint); display: block; font-weight: 500; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.6rem;
}

.footer__social { display: flex; align-items: center; gap: 0.8rem; color: #fff; font-weight: 800; }

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer__social a:hover { transform: translateY(-3px); box-shadow: var(--glow-orange); }

.footer__cta {
  background: linear-gradient(110deg, rgba(255, 138, 30, 0.12), rgba(42, 108, 255, 0.12));
  border: 1px solid rgba(255, 138, 30, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

.footer__cta a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.footer__cta a:hover { text-decoration: underline; }

@media (max-width: 620px) { .footer__bottom { justify-content: center; text-align: center; } }

/* ---------- 13. Back-to-top ---------- */
.to-top {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-btn);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--glow-orange);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 60;
}

.to-top.is-visible { opacity: 1; pointer-events: auto; }

.to-top:hover { transform: translateY(-3px); }

/* The Facebook and LinkedIn marks in the footer. Sized here rather
   than on the svg element so the circle keeps its proportions if the
   button size ever changes; currentColor ties them to the link. */
.social__icon { width: 19px; height: 19px; display: block; }
