/*
 * Dynamic Web Pages — Modern CSS
 * PHP-Zertifizierung in Deutschland, Österreich und der Schweiz
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --primary:       #0f2d4a;
  --primary-mid:   #1a4570;
  --primary-light: #2563a8;
  --red:           #dc2626;
  --red-dark:      #b91c1c;
  --red-light:     #fee2e2;
  --bg:            #f1f5f9;
  --white:         #ffffff;
  --text:          #1e293b;
  --muted:         #64748b;
  --border:        #cbd5e1;
  --shadow-sm:     0 1px 2px rgba(0,0,0,.05);
  --shadow:        0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:     0 20px 25px rgba(0,0,0,.10), 0 10px 10px rgba(0,0,0,.04);
  --radius-sm:     4px;
  --radius:        8px;
  --radius-lg:     12px;
  --radius-xl:     20px;
  --ease:          150ms ease;
  --ease-md:       250ms ease;
  --max-w:         1100px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   Layout helpers
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 7px 0;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-brand {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .3px;
}
.topbar-links {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: .8rem;
}
.topbar-links a {
  color: rgba(255,255,255,.65);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: color var(--ease);
}
.topbar-links a:hover { color: #fff; }
.topbar-links .sep { color: rgba(255,255,255,.25); padding: 0 2px; }

/* ============================================================
   Site Header
   ============================================================ */
.site-header {
  background: var(--primary-mid);
  border-bottom: 3px solid var(--red);
  padding: 14px 0;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo img   { height: 44px; width: auto; }
.site-claim img  { height: 36px; width: auto; opacity: .9; }
.partner-badge a { display: block; }
.partner-badge img { height: 50px; width: auto; border-radius: var(--radius-sm); }

/* ============================================================
   Main Navigation
   ============================================================ */
.main-nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  position: relative;
}
.nav-list {
  display: flex;
  align-items: stretch;
}
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px 15px;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  border-bottom: 3px solid transparent;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-bottom-color: var(--red);
}
.nav-link .caret {
  font-size: .65rem;
  opacity: .65;
  transition: transform var(--ease);
  display: inline-block;
}
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 205px;
  background: var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--ease-md), visibility var(--ease-md), transform var(--ease-md);
  z-index: 1000;
  overflow: hidden;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 11px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: background var(--ease);
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--red-dark); color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  padding: 12px 14px;
  color: #fff;
  margin-left: auto;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: all var(--ease-md);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* ============================================================
   Hero (homepage)
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 60%, #1a3d6b 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,38,38,.25);
  color: #fca5a5;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 2.375rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 580px;
}
.hero-sub {
  font-size: .9375rem;
  color: rgba(255,255,255,.58);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-badge img { max-width: 130px; margin: 0 auto; }
.hero-badge-label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
  text-align: center;
}

/* ============================================================
   Page Banner (inner pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  padding: 44px 0;
}
.page-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.page-banner h1 {
  font-size: 2.0rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8375rem;
  color: rgba(255,255,255,.55);
}
.breadcrumb a { color: rgba(255,255,255,.75); transition: color var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--ease-md);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: .875rem; }

/* ============================================================
   Course Cards (homepage)
   ============================================================ */
.courses-section {
  background: #fff;
  padding: 72px 0;
}
.courses-header {
  margin-bottom: 40px;
}
.courses-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.courses-header p {
  color: var(--muted);
  font-size: 1.0625rem;
}
.courses-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr;
  gap: 24px;
}
.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease-md), transform var(--ease-md);
}
.course-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}
.course-card-top {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 26px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.course-card-top::after {
  content: '</>';
  position: absolute;
  right: 16px;
  bottom: -8px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.07);
  line-height: 1;
}
.course-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.course-card-top h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.course-card-top .course-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
}
.course-card-body {
  padding: 24px;
  flex: 1;
}
.course-card-body p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.course-instructors {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 8px;
  font-size: .875rem;
  color: var(--muted);
}
.course-instructors strong { color: var(--text); }
.course-card-footer {
  padding: 16px 24px;
  background: #fafbfc;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--red);
  transition: gap var(--ease), color var(--ease);
}
.cta-link::before { content: '→'; }
.cta-link:hover { color: var(--red-dark); gap: 8px; }

/* ============================================================
   External Promo Block
   ============================================================ */
.promo-block {
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-left: 4px solid #6366f1;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .875rem;
  color: var(--muted);
  margin: 28px 0;
}
.promo-block a { color: #6366f1; font-weight: 600; }
.promo-block a:hover { text-decoration: underline; }

/* ============================================================
   Customers
   ============================================================ */
.customers-section {
  padding: 56px 0;
  background: var(--bg);
}
.customers-section h2 {
  text-align: center;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.customers-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}
.customers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.customer-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 130px;
  min-height: 72px;
  transition: all var(--ease-md);
  box-shadow: var(--shadow-sm);
}
.customer-tile:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.customer-tile img {
  max-height: 38px;
  max-width: 110px;
  filter: grayscale(1);
  opacity: .65;
  transition: all var(--ease-md);
  margin: 0 auto;
}
.customer-tile:hover img { filter: grayscale(0); opacity: 1; }
.customer-tile-name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.customers-more { text-align: center; margin-top: 28px; }

/* ============================================================
   Content Layout (inner pages)
   ============================================================ */
.content-wrap {
  padding: 52px 0 72px;
}
.content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 264px;
  gap: 44px;
}
.content-inner.full { grid-template-columns: 1fr; }

/* Prose */
.prose h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}
.prose p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.prose p strong { color: var(--text); font-weight: 600; }
.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0 20px;
}
.prose ul li {
  font-size: .9375rem;
  color: var(--muted);
  margin-bottom: 7px;
  line-height: 1.6;
}
.prose ol {
  list-style: decimal;
  padding-left: 22px;
  margin: 12px 0 20px;
}
.prose ol li {
  font-size: .9375rem;
  color: var(--muted);
  margin-bottom: 7px;
}
.prose a { color: var(--primary-light); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* Info boxes */
.box-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
}
.box-info p { font-size: .9375rem; color: #1e40af; margin: 0; line-height: 1.6; }
.box-warn {
  background: var(--red-light);
  border: 1px solid #fca5a5;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
}
.box-warn p { font-size: .9375rem; color: #991b1b; margin: 0; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.feature-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-icon.red { background: var(--red); }
.feature-text h4 {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.feature-text p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-head {
  background: var(--primary);
  padding: 14px 18px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.sidebar-widget-head.red { background: var(--red); }
.sidebar-widget-body { padding: 18px; }
.sidebar-widget-body p {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.6;
}
.sidebar-nav a {
  display: block;
  padding: 8px 12px;
  font-size: .875rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all var(--ease);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--bg);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--red);
}

/* ============================================================
   Zend Partner Banner
   ============================================================ */
.partner-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0c2038 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
}
.partner-banner::after {
  content: 'PHP';
  position: absolute;
  right: 24px;
  bottom: -16px;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
}
.partner-banner img { height: 60px; width: auto; flex-shrink: 0; }
.partner-banner-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.partner-banner-text p {
  font-size: .9375rem;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}

/* ============================================================
   Tables
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 20px 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .9375rem;
}
.data-table thead { background: var(--primary); color: #fff; }
.data-table th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .875rem;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--bg); }

/* ============================================================
   Forms
   ============================================================ */
.form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-label .req { color: var(--red); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: .9375rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,168,.15);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: .8125rem; color: var(--muted); margin-top: 5px; }

/* ============================================================
   Steps (Wie buche ich)
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 0; margin: 28px 0; }
.step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step:last-child::before { display: none; }
.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9375rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  padding-top: 8px;
}
.step-content p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--ease);
}
.faq-item summary:hover { background: var(--bg); }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--muted);
  transition: transform var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-body { padding: 0 20px 18px; font-size: .9375rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   Instructor card
   ============================================================ */
.instructor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 24px 0;
}
.instructor-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  flex-shrink: 0;
}
.instructor-card .placeholder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
  border: 3px solid var(--border);
}
.instructor-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.instructor-role {
  font-size: .875rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 10px;
}
.instructor-bio { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
  background: var(--primary);
  padding: 56px 0 0;
  margin-top: 80px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
}
.footer-brand img { height: 38px; opacity: .9; margin-bottom: 14px; }
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color var(--ease); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.75); }

/* ============================================================
   Utility
   ============================================================ */
.mt-0  { margin-top:  0;    }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-6  { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .courses-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .content-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partner-banner { flex-direction: column; text-align: center; gap: 20px; }
  .partner-banner::after { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 8px 0 16px;
    z-index: 9999;
    box-shadow: 0 8px 16px rgba(0,0,0,.3);
  }
  .nav-list.open { display: flex; }
  .nav-inner { flex-wrap: wrap; position: relative; }
  .nav-link { width: 100%; padding: 12px 20px; border-bottom: none; border-left: 3px solid transparent; }
  .nav-link:hover { border-left-color: var(--red); border-bottom-color: transparent; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0,0,0,.25);
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown a { padding-left: 32px; }
  .hero-title { font-size: 1.875rem; }
  .page-banner h1 { font-size: 1.625rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .site-claim, .partner-badge { display: none; }
  .hero { padding: 48px 0; }
  .topbar-brand { display: none; }
  .section { padding: 44px 0; }
  .form-wrap { padding: 24px; }
}
