:root {
  --primary: #0b2d4a;   /* navy */
  --secondary: #b00020; /* institutional red accent */
  --bg: #f6f8fb;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 14px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
               "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--secondary);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
}

.button:hover {
  text-decoration: none;
  filter: brightness(0.95);
}

.button:focus-visible {
  outline: 3px solid rgba(176, 0, 32, 0.35);
  outline-offset: 3px;
}

header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-inner img {
  max-height: 72px;
  width: auto;
  display: block;
}

.header-partners {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.15rem 1.5rem 0.9rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
}

.header-partners img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 520px) {
  .header-partners img { height: 48px; }
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero {
  padding: 3rem 1.5rem 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hero h1 {
  font-size: clamp(2.0rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem 0;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  box-shadow: var(--shadow);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(229, 231, 235, 0.9);
}

.hero-card li:last-child { border-bottom: none; }

.hero-card strong { color: var(--primary); }

section {
  padding: 2.2rem 1.5rem;
}

section h2 {
  font-size: 1.65rem;
  margin: 0 0 0.85rem 0;
  color: var(--primary);
  letter-spacing: -0.01em;
}

section p {
  margin: 0;
  color: #374151;
  max-width: 85ch;
}

.grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem 0;
  color: var(--secondary);
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: #4b5563;
}

.schedule {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.schedule th,
.schedule td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

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

.schedule th {
  text-align: left;
  font-size: 0.95rem;
  color: var(--primary);
  background: rgba(11, 45, 74, 0.04);
}

.schedule td.time {
  width: 9.5rem;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 600;
}

.schedule .meta {
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-inner p { margin: 0.35rem 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .header-inner img { max-height: 60px; }
}

.instructors-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.instructor-card {
  padding: 1rem;
}

.instructor-photo {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  display: block;
}

.instructor-name {
  margin: 0 0 0.25rem 0;
  font-size: 1.05rem;
}

.instructor-affiliation {
  margin: 0 0 0.4rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.instructor-desc {
  margin: 0;
  font-size: 0.95rem;
}
