
.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dorado);
  box-shadow: 0 0 16px rgba(240,165,0,0.25);
  flex-shrink: 0;
}
.prof-hero {
  background: linear-gradient(135deg, #050d1a 0%, #0f1f3d 60%, #0d2a5e 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.prof-hero::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,165,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.prof-hero-inner {
  max-width: 700px; margin: 0 auto;
  position: relative; z-index: 1;
}

.prof-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; color: #fff;
  line-height: 1.2; margin: 1rem 0;
}

.prof-hero h1 span { color: #F0A500; }

.prof-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem; line-height: 1.7;
}

.nav-active {
  background: rgba(240,165,0,0.12) !important;
  border: 1px solid rgba(240,165,0,0.25) !important;
  border-radius: 6px !important;
  color: #FFB830 !important;
}
.prof-sec { background: #0a1628; }
.prof-sec-alt { background: #050d1a; }
.profes-permanentes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.profe-perm-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}

.profe-perm-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F0A500, #2E8BC0);
  opacity: 0; transition: opacity 0.3s;
}

.profe-perm-card:hover {
  border-color: rgba(240,165,0,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.06);
}

.profe-perm-card:hover::before { opacity: 1; }

.profe-perm-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid #F0A500;
  box-shadow: 0 0 24px rgba(240,165,0,0.25);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}

.profe-perm-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

.profe-perm-nombre {
  font-weight: 800; font-size: 0.95rem;
  color: #fff; margin-bottom: 5px; line-height: 1.3;
}

.profe-perm-curso {
  font-size: 0.8rem; color: #F0A500;
  font-weight: 700; letter-spacing: 0.5px;
}

.profes-temporales-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 800px;
}

.profe-temp-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
}

.profe-temp-item:hover {
  border-color: rgba(240,165,0,0.2);
  background: rgba(255,255,255,0.06);
}

.profe-temp-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #F0A500;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(240,165,0,0.5);
}

.profe-temp-info { flex: 1; }

.profe-temp-nombre {
  font-weight: 700; font-size: 0.9rem; color: #fff;
}

.profe-temp-curso {
  font-size: 0.78rem; color: #94a3b8; margin-top: 2px;
}

.profe-temp-badge {
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  background: rgba(240,165,0,0.1);
  color: #FFB830;
  border: 1px solid rgba(240,165,0,0.2);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .profes-permanentes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .profes-permanentes-grid { grid-template-columns: repeat(2, 1fr); }
  .profes-temporales-lista { grid-template-columns: 1fr; }
  .prof-hero h1 { font-size: 2rem; }
}
.profes-grandes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.profe-card-grande {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.profe-card-grande:hover {
  border-color: rgba(240,165,0,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.06);
}

.profe-avatar-grande {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid #F0A500;
  box-shadow: 0 0 24px rgba(240,165,0,0.25);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profe-avatar-grande img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .profes-grandes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .profes-grandes-grid { grid-template-columns: repeat(2, 1fr); }
}
