:root {
  --primary: #180655;
  --primary-dark: #0d0324;
  --secondary: #180655;
  --accent: #ff6900;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --white: #ffffff;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
  --radius: 8px;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
}

.sessions-page {
  display: flex;
  flex-direction: column;
}

.sessions-page main {
  flex: 1;
}

body.dark-mode {
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(255, 255, 255, 0.12);
  --soft: #111827;
  --white: #0b1020;
  background: #0b1020;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 26px 0 18px;
  background: linear-gradient(180deg, rgba(245, 250, 238, 0.96), rgba(255, 255, 255, 0.8));
  border-bottom: 0;
  backdrop-filter: blur(14px);
}

.dark-mode .site-header { background: rgba(11, 16, 32, 0.92); }

.navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 28px;
  border-radius: 18px;
  background: #0d0324;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand strong {
  display: block;
  font-family: "Poppins", sans-serif;
  color: var(--primary);
  font-size: 17px;
  line-height: 1.1;
}
.dark-mode .brand strong { color: #ffffff; }
.brand span { display: block; color: var(--muted); font-size: 12px; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-start;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 9px;
  border-radius: var(--radius);
}

.dark-mode .nav-links a { color: rgba(255, 255, 255, 0.86); }
.nav-links a:hover, .nav-links a.is-active { color: #ffffff; background: rgba(255, 255, 255, 0.08); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 24px rgba(255, 105, 0, 0.24); }
.button-accent { background: var(--accent); color: #ffffff; }
.header-cta {
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 16px;
}
.button-outline { border: 1px solid var(--line); color: var(--primary); background: var(--white); }
.dark-mode .button-outline { color: #fff; }
.button-ghost { background: rgba(79, 70, 229, 0.08); color: var(--secondary); }
.theme-toggle { width: 44px; padding: 0; }

.header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-icon-link svg {
  width: 22px;
  height: 22px;
}

.hero {
  background: #ffffff;
  color: var(--primary);
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
  padding: 78px 0 64px;
}

@media (max-width: 820px) {
  .navbar {
    gap: 18px;
    padding: 0 22px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 8px 6px;
  }

  .header-actions {
    display: flex;
    gap: 6px;
  }

  .header-cta {
    display: none;
  }

  .header-icon-link {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .header-icon-link svg {
    width: 18px;
    height: 18px;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .hero-brand-visual {
    max-width: 440px;
  }
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

h1, h2, h3 {
  font-family: "Poppins", sans-serif;
  margin: 0;
  letter-spacing: 0;
}

h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; max-width: 660px; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; color: var(--primary); }
.dark-mode h2, .dark-mode h3 { color: #fff; }
h3 { color: var(--primary); font-size: 22px; line-height: 1.25; }
p { color: var(--muted); line-height: 1.75; }
.hero p { color: #5b5872; font-size: 17px; max-width: 510px; }

.title-navy,
.title-orange {
  display: inline;
}

.title-navy { color: var(--primary); }
.title-orange { color: var(--accent); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .button-outline { color: #ffffff; border-color: var(--primary); background: var(--primary); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.hero-stats div {
  border: 1px solid rgba(24, 6, 85, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(24, 6, 85, 0.08);
}
.hero-stats strong { display: block; font-size: 24px; color: var(--primary); }
.hero-stats span { color: #6b6682; font-size: 13px; }

.hero-brand-visual {
  justify-self: center;
  width: min(100%, 540px);
  aspect-ratio: 1.45;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-brand-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 22px 30px rgba(24, 6, 85, 0.16));
}

.section { padding: 82px 0; }
.section-soft { background: var(--soft); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading p { max-width: 680px; margin: 12px 0 0; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.program-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.highlight-list, .check-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.highlight-list li, .check-list li {
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.highlight-list li::before, .check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  flex: 0 0 8px;
  border-radius: 99px;
  background: var(--accent);
}
.program-card .button { margin-top: auto; align-self: flex-start; }

.session-card {
  display: grid;
  gap: 14px;
}

.sessions-hero-grid {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.hero-session-slot {
  align-self: start;
}

.sessions-hero .session-card {
  padding: 28px;
  box-shadow: 0 24px 60px rgba(24, 6, 85, 0.12);
}
.session-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.session-meta span {
  display: block;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}
.session-meta strong { display: block; color: var(--primary); font-size: 12px; text-transform: uppercase; }
.dark-mode .session-meta strong { color: #fff; }

.journey {
  counter-reset: journey;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.journey-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  background: var(--white);
  font-weight: 900;
  color: var(--primary);
}
.journey-step::before {
  counter-increment: journey;
  content: counter(journey);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #111827;
}

.testimonial {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
}
.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.page-hero {
  padding: 76px 0 64px;
  color: var(--primary);
  background: #ffffff;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
}
.page-hero h1 { max-width: 760px; }
.page-hero p { color: #5b5872; max-width: 540px; font-size: 17px; }

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label { font-weight: 800; color: var(--primary); font-size: 14px; }
.dark-mode .field label { color: #fff; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
}
.field textarea { min-height: 115px; resize: vertical; }
.form-status { min-height: 24px; color: var(--success); font-weight: 800; }

.tabs {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  margin-bottom: 20px;
}
.tab {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}
.tab.is-active { background: var(--secondary); color: #fff; }
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }

.dashboard-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
}
.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
  align-self: start;
}
.sidebar button, .sidebar a {
  text-align: left;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 900;
}
.sidebar .is-active { background: var(--secondary); color: #fff; }
.dashboard-panel { display: none; }
.dashboard-panel.is-active { display: block; }
.progress-bar {
  height: 10px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}
.progress-bar span { display: block; height: 100%; background: var(--secondary); }

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 46px 0;
  color: #cbd5e1;
  background: var(--primary-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 24px;
}
.site-footer .brand strong { color: #fff; }
.site-footer p, .site-footer a { color: #cbd5e1; }
.footer-links { display: grid; gap: 10px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 14px;
}
.footer-bottom-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

@media (max-width: 560px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 132px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { color: var(--text); }
  .header-actions { display: none; }
  .header-actions .header-cta { display: none; }
  .header-icon-link { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .brand span { display: none; }
  .navbar { min-height: 82px; padding: 0 18px; }
  .brand img { width: 54px; height: 54px; }
  .hero-grid { min-height: auto; padding: 54px 0; }
  .hero-stats, .grid-2, .grid-3, .grid-4, .journey, .footer-grid, .session-meta {
    grid-template-columns: 1fr;
  }
  .section, .page-hero { padding: 58px 0; }
  .section-heading { display: block; }
  .header-actions .button-outline { display: none; }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
