/* ============================================================
   iMedical — Surgical Courses
   Shared stylesheet — design system + components.
   Palette: deep navy (primary) + iMedical brand orange (accent)
   on a cool light slate. The custom-property slot names below are
   kept for stability across pages; --teal now holds the navy and
   --gold the brand orange.
   Type: IBM Plex Serif (headings) + IBM Plex Sans (body/UI).
   ============================================================ */

:root {
  --teal: #1f4e79;
  --teal-dark: #14324f;
  --teal-light: #e6eef6;
  --gold: #ef7d1c;
  --gold-light: #fdeede;
  --cream: #eef2f7;
  --charcoal: #122236;
  --text: #1f2b3a;
  --muted: #5a6675;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #081320 0%, #0e2238 40%, #173a5e 70%, #1f4e79 100%);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(239,125,28,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, rgba(31,78,121,0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Geometric decoration */
.hero-geo {
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border: 1px solid rgba(239,125,28,0.2);
  border-radius: 50%;
  pointer-events: none;
}
.hero-geo::after {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(239,125,28,0.1);
  border-radius: 50%;
}

/* ─── TOPBAR ─── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #f3a05a);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--charcoal);
  flex-shrink: 0;
}
.brand-name {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.brand-name span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Brand logo image — transparent-background PNG (light wordmark/tagline)
   so it blends straight into the dark navy bars with no white pill. */
.brand-img {
  display: block;
  height: 184px;
  width: auto;
}
.footer-brand .brand-img { height: 144px; }

.topbar-badge {
  background: rgba(239,125,28,0.15);
  border: 1px solid rgba(239,125,28,0.4);
  color: #f3a05a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.topbar-link:hover { color: var(--white); }

.topbar-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all 0.25s;
}
.topbar-register:hover {
  background: #f3a05a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239,125,28,0.4);
}
.topbar-register .tr-icon { font-size: 15px; }

/* ─── HERO CONTENT ─── */
.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 60px 80px;
  position: relative;
  z-index: 5;
}

.hero-left {
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f3a05a;
}

.hero-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.05;
  color: var(--white);
  font-weight: 900;
  margin-bottom: 12px;
}

.hero-title .accent {
  color: #6fb0e0;
  display: block;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: #f3a05a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239,125,28,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* ─── HERO RIGHT (image stack) ─── */
.hero-right {
  position: relative;
  height: 480px;
  animation: fadeIn 1.2s ease both;
}

.img-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.img-card-main {
  width: 360px;
  height: 480px;
  top: 0;
  right: 0;
  border: 2px solid rgba(255,255,255,0.08);
  background: var(--white);
}

.img-card-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img-badge {
  position: absolute;
  top: 20px;
  left: -10px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(239,125,28,0.4);
  z-index: 2;
}

/* ─── DATE STRIP ─── */
.date-strip {
  background: var(--gold);
  padding: 18px 60px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.date-icon {
  font-size: 18px;
}

.date-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(18,34,54,0.4);
}

/* ─── SECTIONS ─── */
section { padding: 90px 60px; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--charcoal);
  line-height: 1.2;
}

.section-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ─── OVERVIEW ─── */
.overview {
  background: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.overview-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}

.overview-text .highlight-quote {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  font-style: italic;
  color: var(--teal-dark);
  font-weight: 600;
  line-height: 1.6;
  margin-top: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(31,78,121,0.12);
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,78,121,0.12);
}

.stat-number {
  font-family: 'IBM Plex Serif', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── TOPICS ─── */
.topics {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.topics::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31,78,121,0.15), transparent 70%);
  pointer-events: none;
}

.topics .section-title { color: var(--white); }
.topics .section-eyebrow { color: #6fb0e0; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.topic-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s;
  transform-origin: left;
}

.topic-card:hover {
  background: rgba(31,78,121,0.12);
  border-color: rgba(31,78,121,0.4);
  transform: translateY(-6px);
}
.topic-card:hover::before { transform: scaleX(1); }

.topic-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.topic-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.topic-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ─── HIGHLIGHTS ─── */
.highlights {
  background: var(--cream);
}

.highlights-grid {
  max-width: 800px;
  margin: 0 auto;
}

.highlights-list {
  list-style: none;
}

.highlight-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(31,78,121,0.1);
  align-items: flex-start;
}
.highlight-item:first-child { border-top: 1px solid rgba(31,78,121,0.1); }

.highlight-num {
  font-family: 'IBM Plex Serif', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.highlight-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.highlight-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── AGENDA ─── */
.agenda {
  background: var(--white);
}

.agenda-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.agenda-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 2px 10px rgba(31,78,121,0.25);
}
.agenda-download-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(31,78,121,0.35);
}
.agenda-download-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.agenda-tabs {
  display: flex;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 50px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--teal);
}

.agenda-tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  background: var(--white);
  color: var(--teal);
  border: none;
  font-family: 'IBM Plex Sans', sans-serif;
}

.agenda-tab.active {
  background: var(--teal);
  color: var(--white);
}

.agenda-content {
  max-width: 900px;
  margin: 0 auto;
  display: none;
}

.agenda-content.active { display: block; }

.agenda-day-title {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 20px 32px;
  border-radius: 10px 10px 0 0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.agenda-day-date {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 1px;
}

.agenda-table {
  background: var(--cream);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.agenda-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid rgba(31,78,121,0.1);
  transition: background 0.2s;
}
.agenda-row:last-child { border-bottom: none; }
.agenda-row:hover { background: var(--teal-light); }

.agenda-row.break {
  background: rgba(239,125,28,0.06);
}

.agenda-time {
  padding: 18px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.5px;
  border-right: 2px solid rgba(31,78,121,0.12);
  display: flex;
  align-items: center;
}

.agenda-session {
  padding: 18px 24px;
}

.agenda-session-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.agenda-speaker {
  font-size: 13px;
  font-weight: 400;
  color: var(--teal-dark);
  margin-top: 2px;
  margin-bottom: 2px;
  font-style: italic;
}

.agenda-session-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 4px;
}

.type-lab {
  background: rgba(31,78,121,0.12);
  color: var(--teal-dark);
}

.type-lecture {
  background: rgba(239,125,28,0.15);
  color: #9a4a10;
}

.type-break {
  background: rgba(90,102,117,0.1);
  color: var(--muted);
}

/* ─── FACULTY ─── */
.faculty {
  background: var(--cream);
}

.faculty-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.faculty-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  width: 260px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(31,78,121,0.1);
  transition: all 0.35s;
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(31,78,121,0.15);
  border-color: var(--teal);
}

.faculty-card.is-guest {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(239,125,28,0.18);
}

.faculty-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Serif', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  border: 3px solid var(--teal);
  overflow: hidden;
}
.faculty-card.is-guest .faculty-avatar {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), #f3a05a);
  color: var(--charcoal);
}

.faculty-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.faculty-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.faculty-card.is-guest .faculty-role {
  color: #9a4a10;
  background: var(--gold-light);
}

.faculty-inst {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── REGISTER ─── */
.register {
  background: linear-gradient(135deg, #081320 0%, #0e2238 50%, #173a5e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.register::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239,125,28,0.1), transparent 65%);
  pointer-events: none;
}

.register .section-title { color: var(--white); }
.register .section-eyebrow { color: #6fb0e0; }

.register-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  max-width: 700px;
  margin: 40px auto 0;
  padding: 52px 48px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.register-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.register-info-item {
  text-align: center;
}

.register-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.register-info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.register-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
  margin: 0 8px;
}

/* fee table */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 8px 0 32px;
}
.fee-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px 16px;
}
.fee-amount {
  font-family: 'IBM Plex Serif', serif;
  font-size: 26px;
  font-weight: 900;
  color: #f3a05a;
  line-height: 1;
  margin-bottom: 8px;
}
.fee-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

.contact-info {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.contact-intro {
  margin: 0 0 18px;
}

.contact-list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: baseline;
}

.contact-row dt {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,0.4);
}

.contact-row dd {
  margin: 0;
  color: rgba(255,255,255,0.7);
}

.contact-phones {
  display: grid;
  gap: 6px;
}

.contact-phones > span {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: baseline;
}

.contact-region {
  color: rgba(255,255,255,0.45);
}

@media (max-width: 560px) {
  .contact-row,
  .contact-phones > span {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.contact-info a {
  color: #6fb0e0;
  text-decoration: none;
  font-weight: 600;
}

/* ─── FOOTER ─── */
footer {
  background: #06101c;
  padding: 56px 60px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about .footer-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--white);
}
.footer-about .footer-tagline {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
}

.footer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.footer-contact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer-contact-icon {
  font-size: 20px;
  line-height: 1.3;
  flex-shrink: 0;
}
.footer-contact-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-contact-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}
.footer-contact-text a {
  color: #f3a05a;
  text-decoration: none;
  word-break: break-word;
}
.footer-contact-text a:hover { text-decoration: underline; }

.footer-disclaimer {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-disclaimer-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.footer-disclaimer p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 880px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.footer-legal {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 880px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  section { padding: 70px 28px; }
  .topbar { padding: 20px 28px; flex-wrap: wrap; gap: 16px; }
  .hero-body { grid-template-columns: 1fr; padding: 40px 28px 60px; }
  .hero-right { display: none; }
  .overview-grid { grid-template-columns: 1fr; gap: 40px; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .date-strip { padding: 18px 28px; }
  footer { padding: 40px 28px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-contacts { gap: 24px; }
}

@media (max-width: 600px) {
  .topics-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .agenda-row { grid-template-columns: 110px 1fr; }
  .agenda-time { padding: 14px 12px; font-size: 12px; }
  .footer-contacts { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME / COURSE INDEX
   ============================================================ */
.home-hero {
  background: linear-gradient(135deg, #081320 0%, #0e2238 40%, #173a5e 75%, #1f4e79 100%);
  position: relative;
  overflow: hidden;
  padding: 0 0 80px;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 20%, rgba(239,125,28,0.14) 0%, transparent 55%),
              radial-gradient(ellipse at 5% 90%, rgba(31,78,121,0.32) 0%, transparent 50%);
  pointer-events: none;
}
.home-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 28px 20px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s ease both;
}
.home-hero h1 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(40px, 5.5vw, 76px);
  color: var(--white);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}
.home-hero h1 .accent { color: #6fb0e0; display: block; }
.home-hero p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto;
}

/* course listing */
.courses {
  background: var(--cream);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 30px rgba(30,40,50,0.08);
  border: 1px solid rgba(31,78,121,0.12);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(30,40,50,0.18);
  border-color: var(--teal);
}

.course-card-media {
  position: relative;
  height: 230px;
  background: var(--charcoal);
  overflow: hidden;
}
.course-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s;
}
.course-card:hover .course-card-media img { transform: scale(1.05); }
.course-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 2;
}
.course-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,19,32,0.55) 100%);
}

.course-card-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-card-name {
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 14px;
}
.course-card-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.course-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.course-meta-row .cm-icon { font-size: 15px; flex-shrink: 0; }
.course-meta-row strong { color: var(--text); font-weight: 700; }

.course-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.course-card-cta .arrow { transition: transform 0.3s; }
.course-card:hover .course-card-cta .arrow { transform: translateX(5px); }

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