/* ====================== EDUIMPACT HUB — GLOBAL STYLES ====================== */
:root {
  --navy: #1B2A4A;
  --navy-2: #2A3F6A;
  --navy-deep: #131F38;
  --gold: #C9A84C;
  --gold-bright: #F5A623;
  --gold-soft: rgba(201,168,76,0.12);
  --white: #FFFFFF;
  --off-white: #F7F6F1;
  --paper: #FAF8F2;
  --gray-900: #1B2A4A;
  --gray-700: #4A5568;
  --gray-500: #6B7280;
  --gray-300: #C7CCD4;
  --gray-200: #E5E7EB;
  --gray-100: #EEF0F4;

  --display: 'Montserrat', sans-serif;
  --body: 'Open Sans', sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(27,42,74,0.06);
  --shadow: 0 4px 16px rgba(27,42,74,0.08);
  --shadow-lg: 0 12px 40px rgba(27,42,74,0.12);
}

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

html, body { height: 100%; }

body {
  font-family: var(--body);
  background: var(--off-white);
  color: var(--gray-900);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: inherit; }

/* ====================== APP LAYOUT ====================== */
.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

/* ----- Sidebar ----- */
.sidebar {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-brand svg { width: 44px; height: 44px; flex-shrink: 0; }

.sidebar-brand .b-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.sidebar-brand .b-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  margin-top: 2px;
  text-transform: uppercase;
}

.sidebar-section-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 22px 24px 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
  font-family: var(--body);
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  font-weight: 500;
}

.nav-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.nav-item.active {
  background: rgba(201,168,76,0.08);
  border-left-color: var(--gold-bright);
  color: var(--white);
}

.nav-item .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  color: var(--gold);
  width: 20px;
  flex-shrink: 0;
}

.sidebar-footer {
  margin-top: 24px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

.sidebar-footer .wa {
  display: block;
  color: var(--gold-bright);
  font-weight: 600;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

/* ----- Main content ----- */
.main {
  padding: 48px 56px 96px;
  min-width: 0;
  background: var(--off-white);
}

.app {
  background: var(--off-white);
}

.main-header {
  margin-bottom: 40px;
}

.crumb {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.section-h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.7em;
  display: block;
  margin-top: 6px;
  letter-spacing: 0;
}

.section-lede {
  font-size: 17px;
  color: var(--gray-700);
  max-width: 760px;
  margin-top: 14px;
  line-height: 1.55;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
  margin-bottom: 20px;
}

h2.block-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  margin: 56px 0 6px;
}

h2.block-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.7em;
  margin-left: 8px;
}

.block-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

h3.sub-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

/* ====================== UTILITY ====================== */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tag.dark {
  background: var(--navy);
  color: var(--gold-bright);
}

.tag.bright {
  background: var(--gold-bright);
  color: var(--navy);
}

.tag.muted {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* ====================== CARDS ====================== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

.card-dark {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}

.card-dark .eyebrow { color: var(--gold-bright); }

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

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
/* ====================== MOBILE HEADER BAR ====================== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--navy);
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 2px solid var(--gold);
}

.mobile-header .mh-brand {
  display: flex; align-items: center; gap: 8px;
}
.mobile-header .mh-brand svg { width: 32px; height: 32px; }
.mobile-header .mh-brand span {
  font-family: var(--display); font-weight: 800;
  font-size: 12px; letter-spacing: 1.5px; color: #FFF;
}

.hamburger {
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #FFF; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay {
  display: none; position: fixed;
  inset: 0; background: rgba(0,0,0,0.5);
  z-index: 999;
}

/* ====================== FLOATING WHATSAPP CTA ====================== */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366; color: #FFF;
  border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer; z-index: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.wa-fab svg { width: 28px; height: 28px; fill: #FFF; }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .mobile-header { display: flex; }
  .sidebar {
    position: fixed; top: 56px; left: -300px;
    width: 280px; height: calc(100vh - 56px);
    z-index: 1001; transition: left 0.3s ease;
  }
  .sidebar.open { left: 0; }
  .sidebar-overlay.open { display: block; }
  .main { padding: 72px 16px 80px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-h1 { font-size: 24px; }
  .section-lede { font-size: 15px; }
  h2.block-title { font-size: 18px; margin-top: 36px; }
  .callout { flex-direction: column; padding: 24px 20px; text-align: center; gap: 16px; }
  .callout .c-h { font-size: 18px; }
  .wa-fab { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .wa-fab svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .main { padding: 64px 12px 72px; }
  .card { padding: 16px; }
  .section-h1 { font-size: 22px; }
  .stat-num { font-size: 28px; }
}

/* ====================== STAT / KPI ====================== */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  color: var(--gold-bright);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
  line-height: 1.3;
}

.stat-sub {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ====================== TABLES ====================== */
table.dt {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  font-size: 13.5px;
}

table.dt th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
}

table.dt td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

table.dt tr:last-child td { border-bottom: none; }

table.dt tr:nth-child(even) td { background: var(--off-white); }

table.dt .price {
  font-family: var(--display);
  font-weight: 700;
  color: var(--gold);
}

/* ====================== FOOTER BANDS ====================== */
.callout {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.callout .c-text {
  flex: 1;
}

.callout .c-eye {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.callout .c-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  margin-top: 6px;
  line-height: 1.2;
}

.callout .c-p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  max-width: 580px;
}

.callout .c-cta {
  background: var(--gold-bright);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.callout .c-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245,166,35,0.3);
}

/* ====================== LOADING / EMPTY ====================== */
.loading {
  text-align: center;
  padding: 80px 0;
  color: var(--gray-500);
  font-size: 14px;
}

/* ====================== DOWNLOAD BUTTONS ====================== */
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}
.dl-btn:hover {
  background: var(--navy);
  color: var(--gold-bright);
  border-color: var(--navy);
  transform: translateY(-1px);
}
.dl-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.dl-btn.primary {
  background: var(--gold-bright);
  color: var(--navy);
  border-color: var(--gold-bright);
}
.dl-btn.primary:hover {
  background: var(--navy);
  color: var(--gold-bright);
}
.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}
