:root {
  --dark: #0b1220;
  --light: #f5f7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--light);
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.site-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.hero-section {
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.section-has-bg {
  position: relative;
  overflow: hidden;
}

.section-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
  z-index: 1;
  pointer-events: none;
}

.section-has-bg > .container,
.section-has-bg > .hero-content {
  position: relative;
  z-index: 2;
}

.hero-section.section-has-bg .section-bg-overlay {
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.55));
}

.section-has-bg:not(.hero-section) {
  color: #fff;
}

.section-has-bg:not(.hero-section) .text-muted,
.section-has-bg:not(.hero-section) .agenda-speaker-position {
  color: rgba(255, 255, 255, 0.82) !important;
}

.section-has-bg:not(.hero-section) .direction-card,
.section-has-bg:not(.hero-section) .materials-card,
.section-has-bg:not(.hero-section) .speaker-card,
.section-has-bg:not(.hero-section) .card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.section-has-bg:not(.hero-section) .agenda-item {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.section-has-bg:not(.hero-section) .agenda-time {
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

.hero-meta {
  opacity: 0.9;
}

.section-block {
  padding: 4rem 0;
}

.section-muted {
  background: #fff;
}

.section-title {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.section-text {
  max-width: 760px;
  font-size: 1.05rem;
}

.direction-card,
.materials-card,
.speaker-card {
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.speaker-photo {
  width: 120px;
  height: 120px;
  border-radius: 1rem;
  object-fit: cover;
}

.speaker-position {
  margin-bottom: 0.25rem;
}

@media (max-width: 767.98px) {
  .speaker-photo {
    width: 100px;
    height: 100px;
  }
}

.direction-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 87, 255, 0.1);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.direction-icon .bi {
  font-size: 1.5rem;
  line-height: 1;
}

.direction-icon img {
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}

.agenda-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.agenda-time {
  font-weight: 700;
  color: var(--primary);
}

.agenda-speaker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.agenda-speaker-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.agenda-speaker-name {
  font-weight: 600;
}

.agenda-speaker-position {
  color: var(--muted);
}

.materials-card {
  max-width: 720px;
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
}

.site-footer {
  background: var(--dark);
  color: #cbd5e1;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 767px) {
  .agenda-item {
    grid-template-columns: 1fr;
  }

  .materials-card {
    padding: 1.25rem;
  }
}
